diff --git a/docs/blueprint-landing.css b/docs/blueprint-landing.css index 20c0858a8f..89c0ed75d9 100644 --- a/docs/blueprint-landing.css +++ b/docs/blueprint-landing.css @@ -4940,7 +4940,7 @@ span.pt-icon { .pt-icon-paragraph::before { content: "\E76C"; } -.pt-icon-banl-account::before { +.pt-icon-bank-account::before { content: "\E76F"; } .pt-icon-cell-tower::before { diff --git a/docs/blueprint-landing.js b/docs/blueprint-landing.js index db2f3b794b..9d5b149902 100644 --- a/docs/blueprint-landing.js +++ b/docs/blueprint-landing.js @@ -42,14 +42,14 @@ /************************************************************************/ /******/ ([ /* 0 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(1); -/***/ }, +/***/ }), /* 1 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -62,13 +62,13 @@ __webpack_require__(17); -/***/ }, +/***/ }), /* 2 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { // removed by extract-text-webpack-plugin -/***/ }, +/***/ }), /* 3 */, /* 4 */, /* 5 */, @@ -84,7 +84,7 @@ /* 15 */, /* 16 */, /* 17 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -93,6 +93,7 @@ * and https://github.com/palantir/blueprint/blob/master/PATENTS */ "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(18); core_1.FocusStyleManager.onlyShowFocusOnTabs(); var Logo = __webpack_require__(290); @@ -103,9 +104,9 @@ document.querySelector(copyright).innerHTML = "\u00A9 2014\u2013" + new Date().getFullYear() + " Palantir Technologies"; -/***/ }, +/***/ }), /* 18 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -125,9 +126,9 @@ //# sourceMappingURL=index.js.map -/***/ }, +/***/ }), /* 19 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -145,9 +146,9 @@ //# sourceMappingURL=index.js.map -/***/ }, +/***/ }), /* 20 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -180,9 +181,9 @@ //# sourceMappingURL=focusStyleManager.js.map -/***/ }, +/***/ }), /* 21 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -244,9 +245,9 @@ //# sourceMappingURL=interactionMode.js.map -/***/ }, +/***/ }), /* 22 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -280,9 +281,9 @@ //# sourceMappingURL=index.js.map -/***/ }, +/***/ }), /* 23 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -360,9 +361,9 @@ //# sourceMappingURL=abstractComponent.js.map -/***/ }, +/***/ }), /* 24 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(global) {/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. @@ -547,8 +548,8 @@ __asyncDelegator = function (o) { var i, p; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n) { if (o[n]) i[n] = function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : v; }; } + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { if (o[n]) i[n] = function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; }; } }; __asyncValues = function (o) { @@ -576,18 +577,18 @@ }); /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) -/***/ }, +/***/ }), /* 25 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { 'use strict'; module.exports = __webpack_require__(26); -/***/ }, +/***/ }), /* 26 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -694,9 +695,9 @@ module.exports = React; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 27 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { // shim for using process in browser var process = module.exports = {}; @@ -884,9 +885,9 @@ process.umask = function() { return 0; }; -/***/ }, +/***/ }), /* 28 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /* object-assign @@ -980,9 +981,9 @@ }; -/***/ }, +/***/ }), /* 29 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -1175,9 +1176,9 @@ module.exports = ReactChildren; -/***/ }, +/***/ }), /* 30 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -1292,9 +1293,9 @@ module.exports = PooledClass; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 31 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -1335,9 +1336,9 @@ module.exports = reactProdInvariant; -/***/ }, +/***/ }), /* 32 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright (c) 2013-present, Facebook, Inc. @@ -1396,9 +1397,9 @@ module.exports = invariant; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 33 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2014-present, Facebook, Inc. @@ -1742,9 +1743,9 @@ module.exports = ReactElement; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 34 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -1777,9 +1778,9 @@ module.exports = ReactCurrentOwner; -/***/ }, +/***/ }), /* 35 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2014-2015, Facebook, Inc. @@ -1805,53 +1806,51 @@ var warning = emptyFunction; if (process.env.NODE_ENV !== 'production') { - (function () { - var printWarning = function printWarning(format) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - var argIndex = 0; - var message = 'Warning: ' + format.replace(/%s/g, function () { - return args[argIndex++]; - }); - if (typeof console !== 'undefined') { - console.error(message); - } - try { - // --- Welcome to debugging React --- - // This error was thrown as a convenience so that you can use this stack - // to find the callsite that caused this warning to fire. - throw new Error(message); - } catch (x) {} - }; + var printWarning = function printWarning(format) { + for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } - warning = function warning(condition, format) { - if (format === undefined) { - throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument'); - } + var argIndex = 0; + var message = 'Warning: ' + format.replace(/%s/g, function () { + return args[argIndex++]; + }); + if (typeof console !== 'undefined') { + console.error(message); + } + try { + // --- Welcome to debugging React --- + // This error was thrown as a convenience so that you can use this stack + // to find the callsite that caused this warning to fire. + throw new Error(message); + } catch (x) {} + }; - if (format.indexOf('Failed Composite propType: ') === 0) { - return; // Ignore CompositeComponent proptype check. - } + warning = function warning(condition, format) { + if (format === undefined) { + throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument'); + } - if (!condition) { - for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { - args[_key2 - 2] = arguments[_key2]; - } + if (format.indexOf('Failed Composite propType: ') === 0) { + return; // Ignore CompositeComponent proptype check. + } - printWarning.apply(undefined, [format].concat(args)); + if (!condition) { + for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { + args[_key2 - 2] = arguments[_key2]; } - }; - })(); + + printWarning.apply(undefined, [format].concat(args)); + } + }; } module.exports = warning; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 36 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { "use strict"; @@ -1892,9 +1891,9 @@ module.exports = emptyFunction; -/***/ }, +/***/ }), /* 37 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -1923,9 +1922,9 @@ module.exports = canDefineProperty; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 38 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2014-present, Facebook, Inc. @@ -1947,9 +1946,9 @@ module.exports = REACT_ELEMENT_TYPE; -/***/ }, +/***/ }), /* 39 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -2128,9 +2127,9 @@ module.exports = traverseAllChildren; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 40 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -2173,9 +2172,9 @@ module.exports = getIteratorFn; -/***/ }, +/***/ }), /* 41 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -2236,9 +2235,9 @@ module.exports = KeyEscapeUtils; -/***/ }, +/***/ }), /* 42 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -2359,9 +2358,9 @@ module.exports = ReactComponent; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 43 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2015-present, Facebook, Inc. @@ -2460,9 +2459,9 @@ module.exports = ReactNoopUpdateQueue; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 44 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright (c) 2013-present, Facebook, Inc. @@ -2485,9 +2484,9 @@ module.exports = emptyObject; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 45 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -2531,9 +2530,9 @@ module.exports = ReactPureComponent; -/***/ }, +/***/ }), /* 46 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -3259,9 +3258,9 @@ module.exports = ReactClass; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 47 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -3289,9 +3288,9 @@ module.exports = ReactPropTypeLocationNames; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 48 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -3464,9 +3463,9 @@ module.exports = ReactDOMFactories; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 49 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2014-present, Facebook, Inc. @@ -3722,9 +3721,9 @@ module.exports = ReactElementValidator; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 50 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2016-present, Facebook, Inc. @@ -4061,9 +4060,9 @@ module.exports = ReactComponentTreeHook; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 51 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -4153,9 +4152,9 @@ module.exports = checkReactTypeSpec; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 52 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -4174,9 +4173,9 @@ module.exports = ReactPropTypesSecret; -/***/ }, +/***/ }), /* 53 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -4197,9 +4196,9 @@ module.exports = factory(isValidElement); -/***/ }, +/***/ }), /* 54 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -4224,9 +4223,9 @@ }; -/***/ }, +/***/ }), /* 55 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -4743,9 +4742,9 @@ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 56 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -4763,9 +4762,9 @@ module.exports = ReactPropTypesSecret; -/***/ }, +/***/ }), /* 57 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -4831,9 +4830,9 @@ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 58 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -4849,9 +4848,9 @@ module.exports = '15.5.1'; -/***/ }, +/***/ }), /* 59 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -4892,9 +4891,9 @@ module.exports = onlyChild; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 60 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -5041,9 +5040,9 @@ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 61 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -5096,9 +5095,9 @@ //# sourceMappingURL=errors.js.map -/***/ }, +/***/ }), /* 62 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -5201,9 +5200,9 @@ //# sourceMappingURL=colors.js.map -/***/ }, +/***/ }), /* 63 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -5228,9 +5227,9 @@ //# sourceMappingURL=intent.js.map -/***/ }, +/***/ }), /* 64 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -5271,9 +5270,9 @@ //# sourceMappingURL=position.js.map -/***/ }, +/***/ }), /* 65 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -5326,9 +5325,9 @@ //# sourceMappingURL=props.js.map -/***/ }, +/***/ }), /* 66 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -5410,9 +5409,9 @@ //# sourceMappingURL=tetherUtils.js.map -/***/ }, +/***/ }), /* 67 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -5589,9 +5588,9 @@ //# sourceMappingURL=classes.js.map -/***/ }, +/***/ }), /* 68 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -5616,9 +5615,9 @@ //# sourceMappingURL=keys.js.map -/***/ }, +/***/ }), /* 69 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /* * Copyright 2015-present Palantir Technologies, Inc. All rights reserved. @@ -6023,7 +6022,7 @@ PERCENTAGE: "pt-icon-percentage", SATELLITE: "pt-icon-satellite", PARAGRAPH: "pt-icon-paragraph", - BANL_ACCOUNT: "pt-icon-banl-account", + BANK_ACCOUNT: "pt-icon-bank-account", CELL_TOWER: "pt-icon-cell-tower", ID_NUMBER: "pt-icon-id-number", IP_ADDRESS: "pt-icon-ip-address", @@ -6041,9 +6040,9 @@ //# sourceMappingURL=iconClasses.js.map -/***/ }, +/***/ }), /* 70 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /* * Copyright 2015-present Palantir Technologies, Inc. All rights reserved. @@ -6448,7 +6447,7 @@ PERCENTAGE: "\ue76a", SATELLITE: "\ue76b", PARAGRAPH: "\ue76c", - BANL_ACCOUNT: "\ue76f", + BANK_ACCOUNT: "\ue76f", CELL_TOWER: "\ue770", ID_NUMBER: "\ue771", IP_ADDRESS: "\ue772", @@ -6466,9 +6465,9 @@ //# sourceMappingURL=iconStrings.js.map -/***/ }, +/***/ }), /* 71 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -6533,9 +6532,9 @@ //# sourceMappingURL=index.js.map -/***/ }, +/***/ }), /* 72 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /*! Copyright (C) 2013-2015 by Andrea Giammarchi - @WebReflection @@ -7521,9 +7520,9 @@ }(self)); -/***/ }, +/***/ }), /* 73 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -7625,18 +7624,18 @@ //# sourceMappingURL=contextMenu.js.map -/***/ }, +/***/ }), /* 74 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { 'use strict'; module.exports = __webpack_require__(75); -/***/ }, +/***/ }), /* 75 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -7750,9 +7749,9 @@ module.exports = ReactDOM; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 76 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -7950,9 +7949,9 @@ module.exports = ReactDOMComponentTree; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 77 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -7993,9 +7992,9 @@ module.exports = reactProdInvariant; -/***/ }, +/***/ }), /* 78 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -8208,9 +8207,9 @@ module.exports = DOMProperty; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 79 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2015-present, Facebook, Inc. @@ -8230,9 +8229,9 @@ module.exports = ReactDOMComponentFlags; -/***/ }, +/***/ }), /* 80 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -8320,9 +8319,9 @@ inject: inject }; -/***/ }, +/***/ }), /* 81 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -8398,9 +8397,9 @@ module.exports = ARIADOMPropertyConfig; -/***/ }, +/***/ }), /* 82 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present Facebook, Inc. @@ -8787,9 +8786,9 @@ module.exports = BeforeInputEventPlugin; -/***/ }, +/***/ }), /* 83 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -8926,9 +8925,9 @@ module.exports = EventPropagators; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 84 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -9209,9 +9208,9 @@ module.exports = EventPluginHub; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 85 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -9469,9 +9468,9 @@ module.exports = EventPluginRegistry; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 86 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -9700,9 +9699,9 @@ module.exports = EventPluginUtils; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 87 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -9781,9 +9780,9 @@ module.exports = ReactErrorUtils; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 88 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2014-present, Facebook, Inc. @@ -9844,9 +9843,9 @@ module.exports = accumulateInto; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 89 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -9879,9 +9878,9 @@ module.exports = forEachAccumulated; -/***/ }, +/***/ }), /* 90 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -9919,9 +9918,9 @@ module.exports = ExecutionEnvironment; -/***/ }, +/***/ }), /* 91 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -10018,9 +10017,9 @@ module.exports = FallbackCompositionState; -/***/ }, +/***/ }), /* 92 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -10135,9 +10134,9 @@ module.exports = PooledClass; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 93 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -10172,9 +10171,9 @@ module.exports = getTextContentAccessor; -/***/ }, +/***/ }), /* 94 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -10212,9 +10211,9 @@ module.exports = SyntheticCompositionEvent; -/***/ }, +/***/ }), /* 95 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -10485,9 +10484,9 @@ } /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 96 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -10526,9 +10525,9 @@ module.exports = SyntheticInputEvent; -/***/ }, +/***/ }), /* 97 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -10876,9 +10875,9 @@ module.exports = ChangeEventPlugin; -/***/ }, +/***/ }), /* 98 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -11132,9 +11131,9 @@ module.exports = ReactUpdates; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 99 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -11256,9 +11255,9 @@ module.exports = PooledClass.addPoolingTo(CallbackQueue); /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 100 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -11282,9 +11281,9 @@ module.exports = ReactFeatureFlags; -/***/ }, +/***/ }), /* 101 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -11455,9 +11454,9 @@ module.exports = ReactReconciler; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 102 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -11548,9 +11547,9 @@ module.exports = ReactRef; -/***/ }, +/***/ }), /* 103 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -11647,9 +11646,9 @@ module.exports = ReactOwner; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 104 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2016-present, Facebook, Inc. @@ -11676,9 +11675,9 @@ module.exports = { debugTool: debugTool }; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 105 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2016-present, Facebook, Inc. @@ -12040,9 +12039,9 @@ module.exports = ReactDebugTool; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 106 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2016-present, Facebook, Inc. @@ -12082,9 +12081,9 @@ module.exports = ReactInvalidSetStateWarningHook; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 107 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2016-present, Facebook, Inc. @@ -12120,9 +12119,9 @@ module.exports = ReactHostOperationHistoryHook; -/***/ }, +/***/ }), /* 108 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -12158,9 +12157,9 @@ module.exports = performanceNow; -/***/ }, +/***/ }), /* 109 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -12185,9 +12184,9 @@ module.exports = performance || {}; -/***/ }, +/***/ }), /* 110 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -12415,9 +12414,9 @@ module.exports = TransactionImpl; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 111 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -12454,9 +12453,9 @@ module.exports = getEventTarget; -/***/ }, +/***/ }), /* 112 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -12518,9 +12517,9 @@ module.exports = isEventSupported; -/***/ }, +/***/ }), /* 113 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -12573,9 +12572,9 @@ module.exports = isTextInputElement; -/***/ }, +/***/ }), /* 114 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -12603,9 +12602,9 @@ module.exports = DefaultEventPluginOrder; -/***/ }, +/***/ }), /* 115 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -12707,9 +12706,9 @@ module.exports = EnterLeaveEventPlugin; -/***/ }, +/***/ }), /* 116 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -12783,9 +12782,9 @@ module.exports = SyntheticMouseEvent; -/***/ }, +/***/ }), /* 117 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -12846,9 +12845,9 @@ module.exports = SyntheticUIEvent; -/***/ }, +/***/ }), /* 118 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -12877,9 +12876,9 @@ module.exports = ViewportMetrics; -/***/ }, +/***/ }), /* 119 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -12924,9 +12923,9 @@ module.exports = getEventModifierState; -/***/ }, +/***/ }), /* 120 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -13164,9 +13163,9 @@ module.exports = HTMLDOMPropertyConfig; -/***/ }, +/***/ }), /* 121 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -13198,9 +13197,9 @@ module.exports = ReactComponentBrowserEnvironment; -/***/ }, +/***/ }), /* 122 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -13428,9 +13427,9 @@ module.exports = DOMChildrenOperations; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 123 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2015-present, Facebook, Inc. @@ -13550,9 +13549,9 @@ module.exports = DOMLazyTree; -/***/ }, +/***/ }), /* 124 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -13574,9 +13573,9 @@ module.exports = DOMNamespaces; -/***/ }, +/***/ }), /* 125 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -13676,9 +13675,9 @@ module.exports = setInnerHTML; -/***/ }, +/***/ }), /* 126 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -13712,9 +13711,9 @@ module.exports = createMicrosoftUnsafeLocalFunction; -/***/ }, +/***/ }), /* 127 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -13768,9 +13767,9 @@ module.exports = setTextContent; -/***/ }, +/***/ }), /* 128 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2016-present, Facebook, Inc. @@ -13895,9 +13894,9 @@ module.exports = escapeTextContentForBrowser; -/***/ }, +/***/ }), /* 129 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -13948,9 +13947,9 @@ module.exports = Danger; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 130 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {'use strict'; @@ -14037,9 +14036,9 @@ module.exports = createNodesFromMarkup; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 131 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {'use strict'; @@ -14169,9 +14168,9 @@ module.exports = createArrayFromMixed; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 132 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {'use strict'; @@ -14269,9 +14268,9 @@ module.exports = getMarkupWrap; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 133 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -14307,9 +14306,9 @@ module.exports = ReactDOMIDOperations; -/***/ }, +/***/ }), /* 134 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -15313,9 +15312,9 @@ module.exports = ReactDOMComponent; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 135 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -15341,9 +15340,9 @@ module.exports = AutoFocusUtils; -/***/ }, +/***/ }), /* 136 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -15372,9 +15371,9 @@ module.exports = focusNode; -/***/ }, +/***/ }), /* 137 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -15586,9 +15585,9 @@ module.exports = CSSPropertyOperations; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 138 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -15738,9 +15737,9 @@ module.exports = CSSProperty; -/***/ }, +/***/ }), /* 139 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -15782,9 +15781,9 @@ module.exports = camelizeStyleName; -/***/ }, +/***/ }), /* 140 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { "use strict"; @@ -15818,9 +15817,9 @@ module.exports = camelize; -/***/ }, +/***/ }), /* 141 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -15902,9 +15901,9 @@ module.exports = dangerousStyleValue; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 142 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -15945,9 +15944,9 @@ module.exports = hyphenateStyleName; -/***/ }, +/***/ }), /* 143 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { 'use strict'; @@ -15982,9 +15981,9 @@ module.exports = hyphenate; -/***/ }, +/***/ }), /* 144 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -16016,9 +16015,9 @@ module.exports = memoizeStringOnly; -/***/ }, +/***/ }), /* 145 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -16258,9 +16257,9 @@ module.exports = DOMPropertyOperations; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 146 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -16288,9 +16287,9 @@ module.exports = quoteAttributeValueForBrowser; -/***/ }, +/***/ }), /* 147 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -16620,9 +16619,9 @@ module.exports = ReactBrowserEventEmitter; -/***/ }, +/***/ }), /* 148 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -16657,9 +16656,9 @@ module.exports = ReactEventEmitterMixin; -/***/ }, +/***/ }), /* 149 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -16762,9 +16761,9 @@ module.exports = getVendorPrefixedEventName; -/***/ }, +/***/ }), /* 150 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -17052,9 +17051,9 @@ module.exports = ReactDOMInput; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 151 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -17195,9 +17194,9 @@ module.exports = LinkedValueUtils; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 152 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -17216,9 +17215,9 @@ module.exports = ReactPropTypesSecret; -/***/ }, +/***/ }), /* 153 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -17344,9 +17343,9 @@ module.exports = ReactDOMOption; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 154 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -17549,9 +17548,9 @@ module.exports = ReactDOMSelect; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 155 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -17714,9 +17713,9 @@ module.exports = ReactDOMTextarea; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 156 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -18169,9 +18168,9 @@ module.exports = ReactMultiChild; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 157 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2014-present, Facebook, Inc. @@ -18220,9 +18219,9 @@ module.exports = ReactComponentEnvironment; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 158 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -18272,9 +18271,9 @@ module.exports = ReactInstanceMap; -/***/ }, +/***/ }), /* 159 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2014-present, Facebook, Inc. @@ -18431,9 +18430,9 @@ module.exports = ReactChildReconciler; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 160 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -18565,9 +18564,9 @@ module.exports = instantiateReactComponent; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 161 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -19472,9 +19471,9 @@ module.exports = ReactCompositeComponent; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 162 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -19517,9 +19516,9 @@ module.exports = ReactNodeTypes; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 163 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -19609,9 +19608,9 @@ module.exports = checkReactTypeSpec; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 164 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -19639,9 +19638,9 @@ module.exports = ReactPropTypeLocationNames; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 165 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -19711,9 +19710,9 @@ module.exports = shallowEqual; -/***/ }, +/***/ }), /* 166 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -19757,9 +19756,9 @@ module.exports = shouldUpdateReactComponent; -/***/ }, +/***/ }), /* 167 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2014-present, Facebook, Inc. @@ -19791,9 +19790,9 @@ module.exports = ReactEmptyComponent; -/***/ }, +/***/ }), /* 168 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2014-present, Facebook, Inc. @@ -19864,9 +19863,9 @@ module.exports = ReactHostComponent; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 169 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -19889,9 +19888,9 @@ module.exports = getNextDebugID; -/***/ }, +/***/ }), /* 170 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -19952,9 +19951,9 @@ module.exports = KeyEscapeUtils; -/***/ }, +/***/ }), /* 171 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -20133,9 +20132,9 @@ module.exports = traverseAllChildren; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 172 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2014-present, Facebook, Inc. @@ -20157,9 +20156,9 @@ module.exports = REACT_ELEMENT_TYPE; -/***/ }, +/***/ }), /* 173 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -20202,9 +20201,9 @@ module.exports = getIteratorFn; -/***/ }, +/***/ }), /* 174 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -20283,9 +20282,9 @@ module.exports = flattenChildren; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 175 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2014-present, Facebook, Inc. @@ -20378,9 +20377,9 @@ module.exports = ReactServerRenderingTransaction; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 176 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2015-present, Facebook, Inc. @@ -20522,9 +20521,9 @@ module.exports = ReactServerUpdateQueue; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 177 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2015-present, Facebook, Inc. @@ -20763,9 +20762,9 @@ module.exports = ReactUpdateQueue; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 178 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2015-present, Facebook, Inc. @@ -21145,9 +21144,9 @@ module.exports = validateDOMNesting; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 179 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2014-present, Facebook, Inc. @@ -21209,9 +21208,9 @@ module.exports = ReactDOMEmptyComponent; -/***/ }, +/***/ }), /* 180 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2015-present, Facebook, Inc. @@ -21350,9 +21349,9 @@ }; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 181 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -21519,9 +21518,9 @@ module.exports = ReactDOMTextComponent; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 182 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -21591,9 +21590,9 @@ module.exports = ReactDefaultBatchingStrategy; -/***/ }, +/***/ }), /* 183 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -21750,26 +21749,19 @@ module.exports = ReactEventListener; -/***/ }, +/***/ }), /* 184 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {'use strict'; /** * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. * * @typechecks */ @@ -21839,9 +21831,9 @@ module.exports = EventListener; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 185 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -21882,9 +21874,9 @@ module.exports = getUnboundedScrollPosition; -/***/ }, +/***/ }), /* 186 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -21920,9 +21912,9 @@ module.exports = ReactInjection; -/***/ }, +/***/ }), /* 187 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -22103,9 +22095,9 @@ module.exports = ReactReconcileTransaction; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 188 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -22231,9 +22223,9 @@ module.exports = ReactInputSelection; -/***/ }, +/***/ }), /* 189 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -22447,9 +22439,9 @@ module.exports = ReactDOMSelection; -/***/ }, +/***/ }), /* 190 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -22525,9 +22517,9 @@ module.exports = getNodeForCharacterOffset; -/***/ }, +/***/ }), /* 191 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -22569,9 +22561,9 @@ module.exports = containsNode; -/***/ }, +/***/ }), /* 192 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -22598,9 +22590,9 @@ module.exports = isTextNode; -/***/ }, +/***/ }), /* 193 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { 'use strict'; @@ -22627,9 +22619,9 @@ module.exports = isNode; -/***/ }, +/***/ }), /* 194 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { 'use strict'; @@ -22670,9 +22662,9 @@ module.exports = getActiveElement; -/***/ }, +/***/ }), /* 195 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -22976,9 +22968,9 @@ module.exports = SVGDOMPropertyConfig; -/***/ }, +/***/ }), /* 196 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -23171,9 +23163,9 @@ module.exports = SelectEventPlugin; -/***/ }, +/***/ }), /* 197 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -23404,9 +23396,9 @@ module.exports = SimpleEventPlugin; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 198 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -23447,9 +23439,9 @@ module.exports = SyntheticAnimationEvent; -/***/ }, +/***/ }), /* 199 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -23489,9 +23481,9 @@ module.exports = SyntheticClipboardEvent; -/***/ }, +/***/ }), /* 200 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -23529,9 +23521,9 @@ module.exports = SyntheticFocusEvent; -/***/ }, +/***/ }), /* 201 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -23617,9 +23609,9 @@ module.exports = SyntheticKeyboardEvent; -/***/ }, +/***/ }), /* 202 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -23671,9 +23663,9 @@ module.exports = getEventCharCode; -/***/ }, +/***/ }), /* 203 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -23777,9 +23769,9 @@ module.exports = getEventKey; -/***/ }, +/***/ }), /* 204 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -23817,9 +23809,9 @@ module.exports = SyntheticDragEvent; -/***/ }, +/***/ }), /* 205 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -23866,9 +23858,9 @@ module.exports = SyntheticTouchEvent; -/***/ }, +/***/ }), /* 206 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -23909,9 +23901,9 @@ module.exports = SyntheticTransitionEvent; -/***/ }, +/***/ }), /* 207 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -23967,9 +23959,9 @@ module.exports = SyntheticWheelEvent; -/***/ }, +/***/ }), /* 208 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -24510,9 +24502,9 @@ module.exports = ReactMount; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 209 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -24548,9 +24540,9 @@ module.exports = ReactDOMContainerInfo; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 210 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -24571,9 +24563,9 @@ module.exports = ReactDOMFeatureFlags; -/***/ }, +/***/ }), /* 211 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -24625,9 +24617,9 @@ module.exports = ReactMarkupChecksum; -/***/ }, +/***/ }), /* 212 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -24673,9 +24665,9 @@ module.exports = adler32; -/***/ }, +/***/ }), /* 213 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -24691,9 +24683,9 @@ module.exports = '15.5.1'; -/***/ }, +/***/ }), /* 214 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -24756,9 +24748,9 @@ module.exports = findDOMNode; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 215 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -24790,9 +24782,9 @@ module.exports = getHostComponentFromComposite; -/***/ }, +/***/ }), /* 216 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -24810,9 +24802,9 @@ module.exports = ReactMount.renderSubtreeIntoContainer; -/***/ }, +/***/ }), /* 217 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -24927,9 +24919,9 @@ module.exports = ReactDOMUnknownPropertyHook; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 218 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -24975,9 +24967,9 @@ module.exports = ReactDOMNullInputValuePropHook; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 219 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -25073,9 +25065,9 @@ module.exports = ReactDOMInvalidARIAHook; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 220 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -25507,9 +25499,9 @@ //# sourceMappingURL=popover.js.map -/***/ }, +/***/ }), /* 221 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! Copyright (c) 2016 Jed Watson. @@ -25561,9 +25553,9 @@ }()); -/***/ }, +/***/ }), /* 222 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * @author Félix Girault @@ -25633,9 +25625,9 @@ module.exports = pureRenderDecorator; -/***/ }, +/***/ }), /* 223 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! tether 1.4.0 */ @@ -27450,9 +27442,9 @@ })); -/***/ }, +/***/ }), /* 224 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -27683,15 +27675,15 @@ //# sourceMappingURL=overlay.js.map -/***/ }, +/***/ }), /* 225 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(226); -/***/ }, +/***/ }), /* 226 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -27800,9 +27792,9 @@ module.exports = ReactCSSTransitionGroup; -/***/ }, +/***/ }), /* 227 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -28036,9 +28028,9 @@ module.exports = ReactTransitionGroup; -/***/ }, +/***/ }), /* 228 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -28144,9 +28136,9 @@ module.exports = ReactTransitionChildMapping; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 229 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -28225,9 +28217,9 @@ module.exports = flattenChildren; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 230 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -28414,9 +28406,9 @@ module.exports = ReactCSSTransitionGroupChild; -/***/ }, +/***/ }), /* 231 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -28456,9 +28448,9 @@ } /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 232 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2016-present, Facebook, Inc. @@ -28962,9 +28954,9 @@ module.exports = ReactPerfAnalysis; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 233 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -29389,9 +29381,9 @@ module.exports = ReactTestUtils; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 234 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -29485,9 +29477,9 @@ module.exports = EventConstants; -/***/ }, +/***/ }), /* 235 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -29635,9 +29627,9 @@ module.exports = ReactShallowRenderer; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 236 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {'use strict'; @@ -29762,9 +29754,9 @@ module.exports = CSSCore; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(27))) -/***/ }, +/***/ }), /* 237 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -29839,9 +29831,9 @@ module.exports = ReactTransitionEvents; -/***/ }, +/***/ }), /* 238 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -29908,9 +29900,9 @@ //# sourceMappingURL=portal.js.map -/***/ }, +/***/ }), /* 239 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -29960,9 +29952,9 @@ //# sourceMappingURL=tooltip.js.map -/***/ }, +/***/ }), /* 240 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -30042,9 +30034,9 @@ //# sourceMappingURL=arrows.js.map -/***/ }, +/***/ }), /* 241 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -30102,9 +30094,9 @@ //# sourceMappingURL=alert.js.map -/***/ }, +/***/ }), /* 242 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -30152,9 +30144,9 @@ //# sourceMappingURL=buttons.js.map -/***/ }, +/***/ }), /* 243 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -30253,9 +30245,9 @@ //# sourceMappingURL=abstractButton.js.map -/***/ }, +/***/ }), /* 244 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -30307,9 +30299,9 @@ //# sourceMappingURL=icon.js.map -/***/ }, +/***/ }), /* 245 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -30354,9 +30346,9 @@ pathLength: PATH_LENGTH, style: style, }); - return this.renderContainer(classes, React.createElement("svg", { viewBox: classes.indexOf(Classes.SMALL) >= 0 ? "-15 -15 130 130" : "0 0 100 100" }, + return this.renderContainer(classes, (React.createElement("svg", { viewBox: classes.indexOf(Classes.SMALL) >= 0 ? "-15 -15 130 130" : "0 0 100 100" }, React.createElement("path", { className: "pt-spinner-track", d: SPINNER_TRACK }), - headElement)); + headElement))); }; // abstract away the container elements so SVGSpinner can do its own thing Spinner.prototype.renderContainer = function (classes, content) { @@ -30375,9 +30367,9 @@ //# sourceMappingURL=spinner.js.map -/***/ }, +/***/ }), /* 246 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -30460,9 +30452,9 @@ //# sourceMappingURL=dialog.js.map -/***/ }, +/***/ }), /* 247 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -30486,9 +30478,9 @@ //# sourceMappingURL=breadcrumb.js.map -/***/ }, +/***/ }), /* 248 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -30595,11 +30587,12 @@ transform: displayWithTransform ? "translateY(0)" : "translateY(-" + this.height + "px)", transition: isAutoHeight ? "none" : undefined, }; - // quick type cast because there's no single overload that supports all three ReactTypes (str | Cmp | SFC) + // HACKHACK: type cast because there's no single overload that supports all + // three ReactTypes (string | ComponentClass | StatelessComponent) return React.createElement(this.props.component, { className: classNames(Classes.COLLAPSE, this.props.className), style: containerStyle, - }, React.createElement("div", { className: "pt-collapse-body", ref: this.contentsRefHandler, style: contentsStyle }, showContents ? this.props.children : null)); + }, (React.createElement("div", { className: "pt-collapse-body", ref: this.contentsRefHandler, style: contentsStyle }, showContents ? this.props.children : null))); }; Collapse.prototype.componentDidMount = function () { this.forceUpdate(); @@ -30645,9 +30638,9 @@ //# sourceMappingURL=collapse.js.map -/***/ }, +/***/ }), /* 249 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -30737,9 +30730,9 @@ //# sourceMappingURL=collapsibleList.js.map -/***/ }, +/***/ }), /* 250 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -30770,9 +30763,9 @@ //# sourceMappingURL=menu.js.map -/***/ }, +/***/ }), /* 251 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -30943,9 +30936,9 @@ //# sourceMappingURL=menuItem.js.map -/***/ }, +/***/ }), /* 252 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -30999,9 +30992,9 @@ //# sourceMappingURL=contextMenuTarget.js.map -/***/ }, +/***/ }), /* 253 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -31270,9 +31263,9 @@ //# sourceMappingURL=editableText.js.map -/***/ }, +/***/ }), /* 254 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -31290,9 +31283,9 @@ //# sourceMappingURL=index.js.map -/***/ }, +/***/ }), /* 255 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -31317,9 +31310,9 @@ //# sourceMappingURL=browser.js.map -/***/ }, +/***/ }), /* 256 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -31431,9 +31424,9 @@ //# sourceMappingURL=controls.js.map -/***/ }, +/***/ }), /* 257 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -31511,9 +31504,9 @@ //# sourceMappingURL=inputGroup.js.map -/***/ }, +/***/ }), /* 258 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -31904,9 +31897,9 @@ //# sourceMappingURL=numericInput.js.map -/***/ }, +/***/ }), /* 259 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -31980,9 +31973,9 @@ //# sourceMappingURL=radioGroup.js.map -/***/ }, +/***/ }), /* 260 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -32059,9 +32052,9 @@ //# sourceMappingURL=hotkeys.js.map -/***/ }, +/***/ }), /* 261 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -32108,9 +32101,9 @@ //# sourceMappingURL=hotkey.js.map -/***/ }, +/***/ }), /* 262 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -32167,9 +32160,9 @@ //# sourceMappingURL=keyCombo.js.map -/***/ }, +/***/ }), /* 263 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -32441,9 +32434,9 @@ //# sourceMappingURL=hotkeyParser.js.map -/***/ }, +/***/ }), /* 264 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -32520,9 +32513,9 @@ //# sourceMappingURL=hotkeysTarget.js.map -/***/ }, +/***/ }), /* 265 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -32643,9 +32636,9 @@ //# sourceMappingURL=hotkeysEvents.js.map -/***/ }, +/***/ }), /* 266 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -32784,9 +32777,9 @@ //# sourceMappingURL=hotkeysDialog.js.map -/***/ }, +/***/ }), /* 267 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -32826,9 +32819,9 @@ //# sourceMappingURL=menuDivider.js.map -/***/ }, +/***/ }), /* 268 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -32898,9 +32891,9 @@ //# sourceMappingURL=nonIdealState.js.map -/***/ }, +/***/ }), /* 269 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -32958,9 +32951,9 @@ //# sourceMappingURL=text.js.map -/***/ }, +/***/ }), /* 270 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -32989,9 +32982,9 @@ //# sourceMappingURL=svgPopover.js.map -/***/ }, +/***/ }), /* 271 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -33032,9 +33025,9 @@ //# sourceMappingURL=progressBar.js.map -/***/ }, +/***/ }), /* 272 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -33063,9 +33056,9 @@ //# sourceMappingURL=svgTooltip.js.map -/***/ }, +/***/ }), /* 273 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -33183,9 +33176,9 @@ //# sourceMappingURL=rangeSlider.js.map -/***/ }, +/***/ }), /* 274 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -33276,7 +33269,11 @@ } }; CoreSlider.prototype.maybeRenderAxis = function () { - var _a = this.props, max = _a.max, min = _a.min, labelStepSize = _a.labelStepSize; + // explicit typedefs are required because tsc (rightly) assumes that props might be overriden with different + // types in subclasses + var max = this.props.max; + var min = this.props.min; + var labelStepSize = this.props.labelStepSize; if (this.props.renderLabel === false) { return undefined; } @@ -33317,9 +33314,9 @@ //# sourceMappingURL=coreSlider.js.map -/***/ }, +/***/ }), /* 275 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -33472,9 +33469,9 @@ //# sourceMappingURL=handle.js.map -/***/ }, +/***/ }), /* 276 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -33541,9 +33538,9 @@ //# sourceMappingURL=slider.js.map -/***/ }, +/***/ }), /* 277 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -33576,9 +33573,9 @@ //# sourceMappingURL=svgSpinner.js.map -/***/ }, +/***/ }), /* 278 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -33617,9 +33614,9 @@ //# sourceMappingURL=tab.js.map -/***/ }, +/***/ }), /* 279 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -33927,9 +33924,9 @@ //# sourceMappingURL=tabs.js.map -/***/ }, +/***/ }), /* 280 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -33978,9 +33975,9 @@ //# sourceMappingURL=tabList.js.map -/***/ }, +/***/ }), /* 281 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -34015,9 +34012,9 @@ //# sourceMappingURL=tabPanel.js.map -/***/ }, +/***/ }), /* 282 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -34059,9 +34056,9 @@ //# sourceMappingURL=tab2.js.map -/***/ }, +/***/ }), /* 283 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -34256,9 +34253,9 @@ //# sourceMappingURL=tabs2.js.map -/***/ }, +/***/ }), /* 284 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -34305,9 +34302,9 @@ //# sourceMappingURL=tabTitle.js.map -/***/ }, +/***/ }), /* 285 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -34359,9 +34356,9 @@ //# sourceMappingURL=tag.js.map -/***/ }, +/***/ }), /* 286 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -34449,9 +34446,9 @@ //# sourceMappingURL=toast.js.map -/***/ }, +/***/ }), /* 287 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -34582,9 +34579,9 @@ //# sourceMappingURL=toaster.js.map -/***/ }, +/***/ }), /* 288 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -34675,9 +34672,9 @@ //# sourceMappingURL=tree.js.map -/***/ }, +/***/ }), /* 289 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -34754,9 +34751,9 @@ //# sourceMappingURL=treeNode.js.map -/***/ }, +/***/ }), /* 290 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -34765,11 +34762,17 @@ * and https://github.com/palantir/blueprint/blob/master/PATENTS */ "use strict"; - var __extends = (this && this.__extends) || function (d, b) { - for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; + var __extends = (this && this.__extends) || (function () { + var extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; + })(); + Object.defineProperty(exports, "__esModule", { value: true }); // tslint:disable var LOGO_Y_OFFSET = 250; var SHADOW_DEPTH = 0.3; @@ -35580,6 +35583,7 @@ this.ctx.globalCompositeOperation = "source-over"; this.ctx.fillStyle = face.fill; this.ctx.fill(); + // this.debugFaceRenderOrder(face); } // composite overlays if (face.overlays != null) { @@ -35602,6 +35606,7 @@ this.ctx.globalCompositeOperation = "source-over"; this.ctx.lineDashOffset = 0; this.ctx.setLineDash([]); + // this.debugFaceRenderOrder(face); } }; SceneRenderer.prototype.debugFaceRenderOrder = function (face) { @@ -35848,9 +35853,9 @@ }; -/***/ }, +/***/ }), /* 291 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -35859,6 +35864,7 @@ * and https://github.com/palantir/blueprint/blob/master/PATENTS */ "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); // tslint:disable no-var-requires var HERO_SVGS = { "alert": __webpack_require__(292), @@ -35890,89 +35896,89 @@ }; -/***/ }, +/***/ }), /* 292 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { module.exports = "\n \n ALERT\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" -/***/ }, +/***/ }), /* 293 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { module.exports = "\n \n BUTTONS\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" -/***/ }, +/***/ }), /* 294 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { module.exports = "\n \n CALENDAR\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" -/***/ }, +/***/ }), /* 295 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { module.exports = "\n \n CHECKBOXES\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" -/***/ }, +/***/ }), /* 296 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { module.exports = "\n \n UPLOAD\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" -/***/ }, +/***/ }), /* 297 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { module.exports = "\n \n INPUTS\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" -/***/ }, +/***/ }), /* 298 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { module.exports = "\n \n INPUTS\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" -/***/ }, +/***/ }), /* 299 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { module.exports = "\n \n LABELS\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" -/***/ }, +/***/ }), /* 300 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { module.exports = "\n \n RADIOS\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" -/***/ }, +/***/ }), /* 301 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { module.exports = "\n \n SELECT MENUS\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" -/***/ }, +/***/ }), /* 302 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { module.exports = "\n \n SLIDERS\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" -/***/ }, +/***/ }), /* 303 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { module.exports = "\n \n SWITCHES\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" -/***/ }, +/***/ }), /* 304 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { module.exports = "\n \n TIME SELECTIONS\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" -/***/ }, +/***/ }), /* 305 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { module.exports = "\n \n TOGGLES\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" -/***/ } +/***/ }) /******/ ]); \ No newline at end of file diff --git a/docs/docs/site-docs.css b/docs/docs/site-docs.css index e611a3c19a..10dd51f601 100644 --- a/docs/docs/site-docs.css +++ b/docs/docs/site-docs.css @@ -7,67 +7,76 @@ and https://github.com/palantir/blueprint/blob/master/PATENTS */ /** - * 1. Change the default font family in all browsers (opinionated). - * 2. Prevent adjustments of font size after orientation changes in IE and iOS. + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in + * IE on Windows Phone and in iOS. */ html { - font-family: sans-serif; + line-height: 1.15; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } + /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } - /** * Add the correct display in IE 9-. - * 1. Add the correct display in Edge, IE, and Firefox. - * 2. Add the correct display in IE. */ article, aside, -details, -figcaption, -figure, footer, header, -main, -menu, nav, -section, -summary { - +section { display: block; } +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ +h1 { + font-size: 2em; + margin: 0.67em 0; } + /** * Add the correct display in IE 9-. + * 1. Add the correct display in IE. */ -audio, -canvas, -progress, -video { - display: inline-block; } +figcaption, +figure, +main { + + display: block; } /** - * Add the correct display in iOS 4-7. + * Add the correct margin in IE 8. */ -audio:not([controls]) { - display: none; - height: 0; } +figure { + margin: 1em 40px; } /** - * Add the correct vertical alignment in Chrome, Firefox, and Opera. + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. */ -progress { - vertical-align: baseline; } +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + + height: 0; + + overflow: visible; + } /** - * Add the correct display in IE 10-. - * 1. Add the correct display in IE. + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. */ -template, -[hidden] { - display: none; } +pre { + font-family: monospace, monospace; + + font-size: 1em; + } /** * 1. Remove the gray background on active links in IE 10. @@ -79,15 +88,7 @@ a { -webkit-text-decoration-skip: objects; } /** - * Remove the outline on focused links when they are also active or hovered - * in all browsers (opinionated). - */ -a:active, -a:hover { - outline-width: 0; } - -/** - * 1. Remove the bottom border in Firefox 39-. + * 1. Remove the bottom border in Chrome 57- and Firefox 39-. * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. */ abbr[title] { @@ -111,18 +112,22 @@ strong { b, strong { font-weight: bolder; } +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ +code, +kbd, +samp { + font-family: monospace, monospace; + + font-size: 1em; + } /** * Add the correct font style in Android 4.3-. */ dfn { font-style: italic; } -/** - * Correct the font size and margin on `h1` elements within `section` and - * `article` contexts in Chrome, Firefox, and Safari. - */ -h1 { - font-size: 2em; - margin: 0.67em 0; } /** * Add the correct background and color in IE 9-. */ @@ -149,6 +154,18 @@ sub { sup { top: -0.5em; } +/** + * Add the correct display in IE 9-. + */ +audio, +video { + display: inline-block; } +/** + * Add the correct display in iOS 4-7. + */ +audio:not([controls]) { + display: none; + height: 0; } /** * Remove the border on images inside links in IE 10-. */ @@ -161,52 +178,22 @@ svg:not(:root) { overflow: hidden; } /** - * 1. Correct the inheritance and scaling of font size in all browsers. - * 2. Correct the odd `em` font sizing in all browsers. - */ -code, -kbd, -pre, -samp { - font-family: monospace, monospace; - - font-size: 1em; - } -/** - * Add the correct margin in IE 8. - */ -figure { - margin: 1em 40px; } -/** - * 1. Add the correct box sizing in Firefox. - * 2. Show the overflow in Edge and IE. - */ -hr { - -moz-box-sizing: content-box; - box-sizing: content-box; - - height: 0; - - overflow: visible; - } - -/** - * 1. Change font properties to `inherit` in all browsers (opinionated). + * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. */ button, input, +optgroup, select, textarea { - font: inherit; + font-family: sans-serif; + + font-size: 100%; + + line-height: 1.15; margin: 0; } -/** - * Restore the font weight unset by the previous rule. - */ -optgroup { - font-weight: bold; } /** * Show the overflow in IE. * 1. Show the overflow in Edge. @@ -252,12 +239,10 @@ button:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; } /** - * Change the border, margin, and padding in all browsers (opinionated). + * Correct the padding in Firefox. */ fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; } + padding: 0.35em 0.75em 0.625em; } /** * 1. Correct the text wrapping in Edge and IE. * 2. Correct the color inheritance from `fieldset` elements in IE. @@ -278,6 +263,15 @@ legend { white-space: normal; } +/** + * 1. Add the correct display in IE 9-. + * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ +progress { + display: inline-block; + + vertical-align: baseline; + } /** * Remove the default vertical scrollbar in IE. */ @@ -310,17 +304,11 @@ textarea { outline-offset: -2px; } /** - * Remove the inner padding and cancel buttons in Chrome and Safari on OS X. + * Remove the inner padding and cancel buttons in Chrome and Safari on macOS. */ [type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } -/** - * Correct the text style of placeholders in Chrome, Edge, and Safari. - */ -::-webkit-input-placeholder { - color: inherit; - opacity: 0.54; } /** * 1. Correct the inability to style clickable types in iOS and Safari. * 2. Change font properties to `inherit` in Safari. @@ -330,6 +318,30 @@ textarea { font: inherit; } + +details, +menu { + display: block; } + +summary { + display: list-item; } + +/** + * Add the correct display in IE 9-. + */ +canvas { + display: inline-block; } +/** + * Add the correct display in IE. + */ +template { + display: none; } + +/** + * Add the correct display in IE 10-. + */ +[hidden] { + display: none; } /** * Copyright 2015 Palantir Technologies, Inc. All rights reserved. * Licensed under the BSD-3 License as modified (the “License”); you may obtain a copy @@ -4722,7 +4734,7 @@ span.pt-icon::before { content: ""; } .pt-icon-paragraph::before { content: ""; } -.pt-icon-banl-account::before { +.pt-icon-bank-account::before { content: ""; } .pt-icon-cell-tower::before { content: ""; } diff --git a/docs/docs/site-docs.js b/docs/docs/site-docs.js index 429311daab..325609a6e7 100644 --- a/docs/docs/site-docs.js +++ b/docs/docs/site-docs.js @@ -42,7 +42,7 @@ /************************************************************************/ /******/ ([ /* 0 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -50,17 +50,17 @@ __webpack_require__(2); var React = __webpack_require__(3); var ReactDOM = __webpack_require__(33); - var docs_1 = __webpack_require__(171); - var blueprintDocs_1 = __webpack_require__(290); - var ReactDocs = __webpack_require__(324); - var reactExamples_1 = __webpack_require__(333); - var docs = __webpack_require__(604); - var releases = __webpack_require__(605) + var docs_1 = __webpack_require__(172); + var blueprintDocs_1 = __webpack_require__(298); + var ReactDocs = __webpack_require__(332); + var reactExamples_1 = __webpack_require__(341); + var docs = __webpack_require__(623); + var releases = __webpack_require__(624) .map(function (pkg) { pkg.url = "https://www.npmjs.com/package/" + pkg.name; return pkg; }); - var versions = __webpack_require__(606) + var versions = __webpack_require__(625) .map(function (version) { return ({ url: "https://palantir.github.io/blueprint/docs/" + version, version: version, @@ -71,9 +71,9 @@ ReactDOM.render(React.createElement(blueprintDocs_1.BlueprintDocs, tslib_1.__assign({}, { docs: docs, tagRenderers: tagRenderers, releases: releases, versions: versions }, { defaultPageId: "blueprint" })), document.query("#blueprint-documentation")); -/***/ }, +/***/ }), /* 1 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(global) {/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. @@ -98,6 +98,14 @@ var __metadata; var __awaiter; var __generator; + var __exportStar; + var __values; + var __read; + var __spread; + var __await; + var __asyncGenerator; + var __asyncDelegator; + var __asyncValues; (function (factory) { var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {}; if (true) { @@ -167,8 +175,8 @@ }; __generator = function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t; - return { next: verb(0), "throw": verb(1), "return": verb(2) }; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -194,6 +202,72 @@ } }; + __exportStar = function (m, exports) { + for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; + }; + + __values = function (o) { + var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0; + if (m) return m.call(o); + return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + }; + + __read = function (o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; + }; + + __spread = function () { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; + }; + + __await = function (v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); + }; + + __asyncGenerator = function (thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; + function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } + }; + + __asyncDelegator = function (o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { if (o[n]) i[n] = function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; }; } + }; + + __asyncValues = function (o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator]; + return m ? m.call(o) : typeof __values === "function" ? __values(o) : o[Symbol.iterator](); + }; + exporter("__extends", __extends); exporter("__assign", __assign); exporter("__rest", __rest); @@ -202,13 +276,20 @@ exporter("__metadata", __metadata); exporter("__awaiter", __awaiter); exporter("__generator", __generator); - }); - + exporter("__exportStar", __exportStar); + exporter("__values", __values); + exporter("__read", __read); + exporter("__spread", __spread); + exporter("__await", __await); + exporter("__asyncGenerator", __asyncGenerator); + exporter("__asyncDelegator", __asyncDelegator); + exporter("__asyncValues", __asyncValues); + }); /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) -/***/ }, +/***/ }), /* 2 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /*! Copyright (C) 2013-2015 by Andrea Giammarchi - @WebReflection @@ -1194,18 +1275,18 @@ }(self)); -/***/ }, +/***/ }), /* 3 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { 'use strict'; module.exports = __webpack_require__(4); -/***/ }, +/***/ }), /* 4 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -1221,23 +1302,22 @@ var _assign = __webpack_require__(5); - var ReactChildren = __webpack_require__(6); - var ReactComponent = __webpack_require__(19); - var ReactPureComponent = __webpack_require__(22); - var ReactClass = __webpack_require__(23); - var ReactDOMFactories = __webpack_require__(25); - var ReactElement = __webpack_require__(10); - var ReactPropTypes = __webpack_require__(26); - var ReactVersion = __webpack_require__(31); + var ReactBaseClasses = __webpack_require__(6); + var ReactChildren = __webpack_require__(15); + var ReactDOMFactories = __webpack_require__(23); + var ReactElement = __webpack_require__(17); + var ReactPropTypes = __webpack_require__(24); + var ReactVersion = __webpack_require__(29); + var createReactClass = __webpack_require__(30); var onlyChild = __webpack_require__(32); - var warning = __webpack_require__(12); var createElement = ReactElement.createElement; var createFactory = ReactElement.createFactory; var cloneElement = ReactElement.cloneElement; if (false) { + var lowPriorityWarning = require('./lowPriorityWarning'); var canDefineProperty = require('./canDefineProperty'); var ReactElementValidator = require('./ReactElementValidator'); var didWarnPropTypesDeprecated = false; @@ -1247,18 +1327,27 @@ } var __spread = _assign; + var createMixin = function (mixin) { + return mixin; + }; if (false) { - var warned = false; + var warnedForSpread = false; + var warnedForCreateMixin = false; __spread = function () { - process.env.NODE_ENV !== 'production' ? warning(warned, 'React.__spread is deprecated and should not be used. Use ' + 'Object.assign directly or another helper function with similar ' + 'semantics. You may be seeing this warning due to your compiler. ' + 'See https://fb.me/react-spread-deprecation for more details.') : void 0; - warned = true; + lowPriorityWarning(warnedForSpread, 'React.__spread is deprecated and should not be used. Use ' + 'Object.assign directly or another helper function with similar ' + 'semantics. You may be seeing this warning due to your compiler. ' + 'See https://fb.me/react-spread-deprecation for more details.'); + warnedForSpread = true; return _assign.apply(null, arguments); }; + + createMixin = function (mixin) { + lowPriorityWarning(warnedForCreateMixin, 'React.createMixin is deprecated and should not be used. ' + 'In React v16.0, it will be removed. ' + 'You can use this mixin directly instead. ' + 'See https://fb.me/createmixin-was-never-implemented for more info.'); + warnedForCreateMixin = true; + return mixin; + }; } var React = { - // Modern Children: { @@ -1269,8 +1358,8 @@ only: onlyChild }, - Component: ReactComponent, - PureComponent: ReactPureComponent, + Component: ReactBaseClasses.Component, + PureComponent: ReactBaseClasses.PureComponent, createElement: createElement, cloneElement: cloneElement, @@ -1279,12 +1368,9 @@ // Classic PropTypes: ReactPropTypes, - createClass: ReactClass.createClass, + createClass: createReactClass, createFactory: createFactory, - createMixin: function (mixin) { - // Currently a noop. Will be used to validate and trace mixins. - return mixin; - }, + createMixin: createMixin, // This looks DOM specific but these are actually isomorphic helpers // since they are just generating DOM strings. @@ -1296,24 +1382,47 @@ __spread: __spread }; - // TODO: Fix tests so that this deprecation warning doesn't cause failures. if (false) { + var warnedForCreateClass = false; if (canDefineProperty) { Object.defineProperty(React, 'PropTypes', { get: function () { - process.env.NODE_ENV !== 'production' ? warning(didWarnPropTypesDeprecated, 'Accessing PropTypes via the main React package is deprecated. Use ' + 'the prop-types package from npm instead.') : void 0; + lowPriorityWarning(didWarnPropTypesDeprecated, 'Accessing PropTypes via the main React package is deprecated,' + ' and will be removed in React v16.0.' + ' Use the latest available v15.* prop-types package from npm instead.' + ' For info on usage, compatibility, migration and more, see ' + 'https://fb.me/prop-types-docs'); didWarnPropTypesDeprecated = true; return ReactPropTypes; } }); + + Object.defineProperty(React, 'createClass', { + get: function () { + lowPriorityWarning(warnedForCreateClass, 'Accessing createClass via the main React package is deprecated,' + ' and will be removed in React v16.0.' + " Use a plain JavaScript class instead. If you're not yet " + 'ready to migrate, create-react-class v15.* is available ' + 'on npm as a temporary, drop-in replacement. ' + 'For more info see https://fb.me/react-create-class'); + warnedForCreateClass = true; + return createReactClass; + } + }); } + + // React.DOM factories are deprecated. Wrap these methods so that + // invocations of the React.DOM namespace and alert users to switch + // to the `react-dom-factories` package. + React.DOM = {}; + var warnedForFactories = false; + Object.keys(ReactDOMFactories).forEach(function (factory) { + React.DOM[factory] = function () { + if (!warnedForFactories) { + lowPriorityWarning(false, 'Accessing factories like React.DOM.%s has been deprecated ' + 'and will be removed in v16.0+. Use the ' + 'react-dom-factories package instead. ' + ' Version 1.0 provides a drop-in replacement.' + ' For more info, see https://fb.me/react-dom-factories', factory); + warnedForFactories = true; + } + return ReactDOMFactories[factory].apply(ReactDOMFactories, arguments); + }; + }); } module.exports = React; -/***/ }, +/***/ }), /* 5 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /* object-assign @@ -1407,9 +1516,9 @@ }; -/***/ }, +/***/ }), /* 6 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -1423,304 +1532,140 @@ 'use strict'; - var PooledClass = __webpack_require__(7); - var ReactElement = __webpack_require__(10); - - var emptyFunction = __webpack_require__(13); - var traverseAllChildren = __webpack_require__(16); + var _prodInvariant = __webpack_require__(7), + _assign = __webpack_require__(5); - var twoArgumentPooler = PooledClass.twoArgumentPooler; - var fourArgumentPooler = PooledClass.fourArgumentPooler; + var ReactNoopUpdateQueue = __webpack_require__(8); - var userProvidedKeyEscapeRegex = /\/+/g; - function escapeUserProvidedKey(text) { - return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/'); - } + var canDefineProperty = __webpack_require__(11); + var emptyObject = __webpack_require__(12); + var invariant = __webpack_require__(13); + var lowPriorityWarning = __webpack_require__(14); /** - * PooledClass representing the bookkeeping associated with performing a child - * traversal. Allows avoiding binding callbacks. - * - * @constructor ForEachBookKeeping - * @param {!function} forEachFunction Function to perform traversal with. - * @param {?*} forEachContext Context to perform context with. + * Base class helpers for the updating state of a component. */ - function ForEachBookKeeping(forEachFunction, forEachContext) { - this.func = forEachFunction; - this.context = forEachContext; - this.count = 0; + function ReactComponent(props, context, updater) { + this.props = props; + this.context = context; + this.refs = emptyObject; + // We initialize the default updater but the real one gets injected by the + // renderer. + this.updater = updater || ReactNoopUpdateQueue; } - ForEachBookKeeping.prototype.destructor = function () { - this.func = null; - this.context = null; - this.count = 0; - }; - PooledClass.addPoolingTo(ForEachBookKeeping, twoArgumentPooler); - function forEachSingleChild(bookKeeping, child, name) { - var func = bookKeeping.func, - context = bookKeeping.context; - - func.call(context, child, bookKeeping.count++); - } + ReactComponent.prototype.isReactComponent = {}; /** - * Iterates through children that are typically specified as `props.children`. + * Sets a subset of the state. Always use this to mutate + * state. You should treat `this.state` as immutable. * - * See https://facebook.github.io/react/docs/top-level-api.html#react.children.foreach + * There is no guarantee that `this.state` will be immediately updated, so + * accessing `this.state` after calling this method may return the old value. * - * The provided forEachFunc(child, index) will be called for each - * leaf child. + * There is no guarantee that calls to `setState` will run synchronously, + * as they may eventually be batched together. You can provide an optional + * callback that will be executed when the call to setState is actually + * completed. * - * @param {?*} children Children tree container. - * @param {function(*, int)} forEachFunc - * @param {*} forEachContext Context for forEachContext. - */ - function forEachChildren(children, forEachFunc, forEachContext) { - if (children == null) { - return children; - } - var traverseContext = ForEachBookKeeping.getPooled(forEachFunc, forEachContext); - traverseAllChildren(children, forEachSingleChild, traverseContext); - ForEachBookKeeping.release(traverseContext); - } - - /** - * PooledClass representing the bookkeeping associated with performing a child - * mapping. Allows avoiding binding callbacks. + * When a function is provided to setState, it will be called at some point in + * the future (not synchronously). It will be called with the up to date + * component arguments (state, props, context). These values can be different + * from this.* because your function may be called after receiveProps but before + * shouldComponentUpdate, and this new state, props, and context will not yet be + * assigned to this. * - * @constructor MapBookKeeping - * @param {!*} mapResult Object containing the ordered map of results. - * @param {!function} mapFunction Function to perform mapping with. - * @param {?*} mapContext Context to perform mapping with. + * @param {object|function} partialState Next partial state or function to + * produce next partial state to be merged with current state. + * @param {?function} callback Called after state is updated. + * @final + * @protected */ - function MapBookKeeping(mapResult, keyPrefix, mapFunction, mapContext) { - this.result = mapResult; - this.keyPrefix = keyPrefix; - this.func = mapFunction; - this.context = mapContext; - this.count = 0; - } - MapBookKeeping.prototype.destructor = function () { - this.result = null; - this.keyPrefix = null; - this.func = null; - this.context = null; - this.count = 0; - }; - PooledClass.addPoolingTo(MapBookKeeping, fourArgumentPooler); - - function mapSingleChildIntoContext(bookKeeping, child, childKey) { - var result = bookKeeping.result, - keyPrefix = bookKeeping.keyPrefix, - func = bookKeeping.func, - context = bookKeeping.context; - - - var mappedChild = func.call(context, child, bookKeeping.count++); - if (Array.isArray(mappedChild)) { - mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, emptyFunction.thatReturnsArgument); - } else if (mappedChild != null) { - if (ReactElement.isValidElement(mappedChild)) { - mappedChild = ReactElement.cloneAndReplaceKey(mappedChild, - // Keep both the (mapped) and old keys if they differ, just as - // traverseAllChildren used to do for objects as children - keyPrefix + (mappedChild.key && (!child || child.key !== mappedChild.key) ? escapeUserProvidedKey(mappedChild.key) + '/' : '') + childKey); - } - result.push(mappedChild); - } - } - - function mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) { - var escapedPrefix = ''; - if (prefix != null) { - escapedPrefix = escapeUserProvidedKey(prefix) + '/'; + ReactComponent.prototype.setState = function (partialState, callback) { + !(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null) ? false ? invariant(false, 'setState(...): takes an object of state variables to update or a function which returns an object of state variables.') : _prodInvariant('85') : void 0; + this.updater.enqueueSetState(this, partialState); + if (callback) { + this.updater.enqueueCallback(this, callback, 'setState'); } - var traverseContext = MapBookKeeping.getPooled(array, escapedPrefix, func, context); - traverseAllChildren(children, mapSingleChildIntoContext, traverseContext); - MapBookKeeping.release(traverseContext); - } + }; /** - * Maps children that are typically specified as `props.children`. + * Forces an update. This should only be invoked when it is known with + * certainty that we are **not** in a DOM transaction. * - * See https://facebook.github.io/react/docs/top-level-api.html#react.children.map + * You may want to call this when you know that some deeper aspect of the + * component's state has changed but `setState` was not called. * - * The provided mapFunction(child, key, index) will be called for each - * leaf child. + * This will not invoke `shouldComponentUpdate`, but it will invoke + * `componentWillUpdate` and `componentDidUpdate`. * - * @param {?*} children Children tree container. - * @param {function(*, int)} func The map function. - * @param {*} context Context for mapFunction. - * @return {object} Object containing the ordered map of results. + * @param {?function} callback Called after update is complete. + * @final + * @protected */ - function mapChildren(children, func, context) { - if (children == null) { - return children; + ReactComponent.prototype.forceUpdate = function (callback) { + this.updater.enqueueForceUpdate(this); + if (callback) { + this.updater.enqueueCallback(this, callback, 'forceUpdate'); } - var result = []; - mapIntoWithKeyPrefixInternal(children, result, null, func, context); - return result; - } - - function forEachSingleChildDummy(traverseContext, child, name) { - return null; - } + }; /** - * Count the number of children that are typically specified as - * `props.children`. - * - * See https://facebook.github.io/react/docs/top-level-api.html#react.children.count - * - * @param {?*} children Children tree container. - * @return {number} The number of children. + * Deprecated APIs. These APIs used to exist on classic React classes but since + * we would like to deprecate them, we're not going to move them over to this + * modern base class. Instead, we define a getter that warns if it's accessed. */ - function countChildren(children, context) { - return traverseAllChildren(children, forEachSingleChildDummy, null); + if (false) { + var deprecatedAPIs = { + isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'], + replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).'] + }; + var defineDeprecationWarning = function (methodName, info) { + if (canDefineProperty) { + Object.defineProperty(ReactComponent.prototype, methodName, { + get: function () { + lowPriorityWarning(false, '%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]); + return undefined; + } + }); + } + }; + for (var fnName in deprecatedAPIs) { + if (deprecatedAPIs.hasOwnProperty(fnName)) { + defineDeprecationWarning(fnName, deprecatedAPIs[fnName]); + } + } } /** - * Flatten a children object (typically specified as `props.children`) and - * return an array with appropriately re-keyed children. - * - * See https://facebook.github.io/react/docs/top-level-api.html#react.children.toarray + * Base class helpers for the updating state of a component. */ - function toArray(children) { - var result = []; - mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument); - return result; + function ReactPureComponent(props, context, updater) { + // Duplicated from ReactComponent. + this.props = props; + this.context = context; + this.refs = emptyObject; + // We initialize the default updater but the real one gets injected by the + // renderer. + this.updater = updater || ReactNoopUpdateQueue; } - var ReactChildren = { - forEach: forEachChildren, - map: mapChildren, - mapIntoWithKeyPrefixInternal: mapIntoWithKeyPrefixInternal, - count: countChildren, - toArray: toArray - }; - - module.exports = ReactChildren; - -/***/ }, -/* 7 */ -/***/ function(module, exports, __webpack_require__) { - - /** - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * - */ - - 'use strict'; - - var _prodInvariant = __webpack_require__(8); - - var invariant = __webpack_require__(9); - - /** - * Static poolers. Several custom versions for each potential number of - * arguments. A completely generic pooler is easy to implement, but would - * require accessing the `arguments` object. In each of these, `this` refers to - * the Class itself, not an instance. If any others are needed, simply add them - * here, or in their own files. - */ - var oneArgumentPooler = function (copyFieldsFrom) { - var Klass = this; - if (Klass.instancePool.length) { - var instance = Klass.instancePool.pop(); - Klass.call(instance, copyFieldsFrom); - return instance; - } else { - return new Klass(copyFieldsFrom); - } - }; - - var twoArgumentPooler = function (a1, a2) { - var Klass = this; - if (Klass.instancePool.length) { - var instance = Klass.instancePool.pop(); - Klass.call(instance, a1, a2); - return instance; - } else { - return new Klass(a1, a2); - } - }; - - var threeArgumentPooler = function (a1, a2, a3) { - var Klass = this; - if (Klass.instancePool.length) { - var instance = Klass.instancePool.pop(); - Klass.call(instance, a1, a2, a3); - return instance; - } else { - return new Klass(a1, a2, a3); - } - }; - - var fourArgumentPooler = function (a1, a2, a3, a4) { - var Klass = this; - if (Klass.instancePool.length) { - var instance = Klass.instancePool.pop(); - Klass.call(instance, a1, a2, a3, a4); - return instance; - } else { - return new Klass(a1, a2, a3, a4); - } - }; - - var standardReleaser = function (instance) { - var Klass = this; - !(instance instanceof Klass) ? false ? invariant(false, 'Trying to release an instance into a pool of a different type.') : _prodInvariant('25') : void 0; - instance.destructor(); - if (Klass.instancePool.length < Klass.poolSize) { - Klass.instancePool.push(instance); - } - }; - - var DEFAULT_POOL_SIZE = 10; - var DEFAULT_POOLER = oneArgumentPooler; - - /** - * Augments `CopyConstructor` to be a poolable class, augmenting only the class - * itself (statically) not adding any prototypical fields. Any CopyConstructor - * you give this may have a `poolSize` property, and will look for a - * prototypical `destructor` on instances. - * - * @param {Function} CopyConstructor Constructor that can be used to reset. - * @param {Function} pooler Customizable pooler. - */ - var addPoolingTo = function (CopyConstructor, pooler) { - // Casting as any so that flow ignores the actual implementation and trusts - // it to match the type we declared - var NewKlass = CopyConstructor; - NewKlass.instancePool = []; - NewKlass.getPooled = pooler || DEFAULT_POOLER; - if (!NewKlass.poolSize) { - NewKlass.poolSize = DEFAULT_POOL_SIZE; - } - NewKlass.release = standardReleaser; - return NewKlass; - }; + function ComponentDummy() {} + ComponentDummy.prototype = ReactComponent.prototype; + ReactPureComponent.prototype = new ComponentDummy(); + ReactPureComponent.prototype.constructor = ReactPureComponent; + // Avoid an extra prototype jump for these methods. + _assign(ReactPureComponent.prototype, ReactComponent.prototype); + ReactPureComponent.prototype.isPureReactComponent = true; - var PooledClass = { - addPoolingTo: addPoolingTo, - oneArgumentPooler: oneArgumentPooler, - twoArgumentPooler: twoArgumentPooler, - threeArgumentPooler: threeArgumentPooler, - fourArgumentPooler: fourArgumentPooler + module.exports = { + Component: ReactComponent, + PureComponent: ReactPureComponent }; - - module.exports = PooledClass; -/***/ }, -/* 8 */ -/***/ function(module, exports) { +/***/ }), +/* 7 */ +/***/ (function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -1761,9 +1706,276 @@ module.exports = reactProdInvariant; -/***/ }, +/***/ }), +/* 8 */ +/***/ (function(module, exports, __webpack_require__) { + + /** + * Copyright 2015-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var warning = __webpack_require__(9); + + function warnNoop(publicInstance, callerName) { + if (false) { + var constructor = publicInstance.constructor; + process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, constructor && (constructor.displayName || constructor.name) || 'ReactClass') : void 0; + } + } + + /** + * This is the abstract API for an update queue. + */ + var ReactNoopUpdateQueue = { + /** + * Checks whether or not this composite component is mounted. + * @param {ReactClass} publicInstance The instance we want to test. + * @return {boolean} True if mounted, false otherwise. + * @protected + * @final + */ + isMounted: function (publicInstance) { + return false; + }, + + /** + * Enqueue a callback that will be executed after all the pending updates + * have processed. + * + * @param {ReactClass} publicInstance The instance to use as `this` context. + * @param {?function} callback Called after state is updated. + * @internal + */ + enqueueCallback: function (publicInstance, callback) {}, + + /** + * Forces an update. This should only be invoked when it is known with + * certainty that we are **not** in a DOM transaction. + * + * You may want to call this when you know that some deeper aspect of the + * component's state has changed but `setState` was not called. + * + * This will not invoke `shouldComponentUpdate`, but it will invoke + * `componentWillUpdate` and `componentDidUpdate`. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @internal + */ + enqueueForceUpdate: function (publicInstance) { + warnNoop(publicInstance, 'forceUpdate'); + }, + + /** + * Replaces all of the state. Always use this or `setState` to mutate state. + * You should treat `this.state` as immutable. + * + * There is no guarantee that `this.state` will be immediately updated, so + * accessing `this.state` after calling this method may return the old value. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @param {object} completeState Next state. + * @internal + */ + enqueueReplaceState: function (publicInstance, completeState) { + warnNoop(publicInstance, 'replaceState'); + }, + + /** + * Sets a subset of the state. This only exists because _pendingState is + * internal. This provides a merging strategy that is not available to deep + * properties which is confusing. TODO: Expose pendingState or don't use it + * during the merge. + * + * @param {ReactClass} publicInstance The instance that should rerender. + * @param {object} partialState Next partial state to be merged with state. + * @internal + */ + enqueueSetState: function (publicInstance, partialState) { + warnNoop(publicInstance, 'setState'); + } + }; + + module.exports = ReactNoopUpdateQueue; + +/***/ }), /* 9 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { + + /** + * Copyright 2014-2015, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var emptyFunction = __webpack_require__(10); + + /** + * Similar to invariant but only logs a warning if the condition is not met. + * This can be used to log issues in development environments in critical + * paths. Removing the logging code for production environments will keep the + * same logic and follow the same code paths. + */ + + var warning = emptyFunction; + + if (false) { + (function () { + var printWarning = function printWarning(format) { + for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + + var argIndex = 0; + var message = 'Warning: ' + format.replace(/%s/g, function () { + return args[argIndex++]; + }); + if (typeof console !== 'undefined') { + console.error(message); + } + try { + // --- Welcome to debugging React --- + // This error was thrown as a convenience so that you can use this stack + // to find the callsite that caused this warning to fire. + throw new Error(message); + } catch (x) {} + }; + + warning = function warning(condition, format) { + if (format === undefined) { + throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument'); + } + + if (format.indexOf('Failed Composite propType: ') === 0) { + return; // Ignore CompositeComponent proptype check. + } + + if (!condition) { + for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { + args[_key2 - 2] = arguments[_key2]; + } + + printWarning.apply(undefined, [format].concat(args)); + } + }; + })(); + } + + module.exports = warning; + +/***/ }), +/* 10 */ +/***/ (function(module, exports) { + + "use strict"; + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + function makeEmptyFunction(arg) { + return function () { + return arg; + }; + } + + /** + * This function accepts and discards inputs; it has no side effects. This is + * primarily useful idiomatically for overridable function endpoints which + * always need to be callable, since JS lacks a null-call idiom ala Cocoa. + */ + var emptyFunction = function emptyFunction() {}; + + emptyFunction.thatReturns = makeEmptyFunction; + emptyFunction.thatReturnsFalse = makeEmptyFunction(false); + emptyFunction.thatReturnsTrue = makeEmptyFunction(true); + emptyFunction.thatReturnsNull = makeEmptyFunction(null); + emptyFunction.thatReturnsThis = function () { + return this; + }; + emptyFunction.thatReturnsArgument = function (arg) { + return arg; + }; + + module.exports = emptyFunction; + +/***/ }), +/* 11 */ +/***/ (function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ + + 'use strict'; + + var canDefineProperty = false; + if (false) { + try { + // $FlowFixMe https://github.com/facebook/flow/issues/285 + Object.defineProperty({}, 'x', { get: function () {} }); + canDefineProperty = true; + } catch (x) { + // IE will fail on defineProperty + } + } + + module.exports = canDefineProperty; + +/***/ }), +/* 12 */ +/***/ (function(module, exports, __webpack_require__) { + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var emptyObject = {}; + + if (false) { + Object.freeze(emptyObject); + } + + module.exports = emptyObject; + +/***/ }), +/* 13 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -1821,12 +2033,12 @@ module.exports = invariant; -/***/ }, -/* 10 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 14 */ +/***/ (function(module, exports, __webpack_require__) { /** - * Copyright 2014-present, Facebook, Inc. + * Copyright 2014-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the @@ -1837,515 +2049,373 @@ 'use strict'; - var _assign = __webpack_require__(5); - - var ReactCurrentOwner = __webpack_require__(11); - - var warning = __webpack_require__(12); - var canDefineProperty = __webpack_require__(14); - var hasOwnProperty = Object.prototype.hasOwnProperty; - - var REACT_ELEMENT_TYPE = __webpack_require__(15); - - var RESERVED_PROPS = { - key: true, - ref: true, - __self: true, - __source: true - }; + /** + * Forked from fbjs/warning: + * https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js + * + * Only change is we use console.warn instead of console.error, + * and do nothing when 'console' is not supported. + * This really simplifies the code. + * --- + * Similar to invariant but only logs a warning if the condition is not met. + * This can be used to log issues in development environments in critical + * paths. Removing the logging code for production environments will keep the + * same logic and follow the same code paths. + */ - var specialPropKeyWarningShown, specialPropRefWarningShown; + var lowPriorityWarning = function () {}; - function hasValidRef(config) { - if (false) { - if (hasOwnProperty.call(config, 'ref')) { - var getter = Object.getOwnPropertyDescriptor(config, 'ref').get; - if (getter && getter.isReactWarning) { - return false; - } + if (false) { + var printWarning = function (format) { + for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; } - } - return config.ref !== undefined; - } - function hasValidKey(config) { - if (false) { - if (hasOwnProperty.call(config, 'key')) { - var getter = Object.getOwnPropertyDescriptor(config, 'key').get; - if (getter && getter.isReactWarning) { - return false; - } + var argIndex = 0; + var message = 'Warning: ' + format.replace(/%s/g, function () { + return args[argIndex++]; + }); + if (typeof console !== 'undefined') { + console.warn(message); } - } - return config.key !== undefined; - } + try { + // --- Welcome to debugging React --- + // This error was thrown as a convenience so that you can use this stack + // to find the callsite that caused this warning to fire. + throw new Error(message); + } catch (x) {} + }; - function defineKeyPropWarningGetter(props, displayName) { - var warnAboutAccessingKey = function () { - if (!specialPropKeyWarningShown) { - specialPropKeyWarningShown = true; - false ? warning(false, '%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName) : void 0; + lowPriorityWarning = function (condition, format) { + if (format === undefined) { + throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument'); } - }; - warnAboutAccessingKey.isReactWarning = true; - Object.defineProperty(props, 'key', { - get: warnAboutAccessingKey, - configurable: true - }); - } + if (!condition) { + for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { + args[_key2 - 2] = arguments[_key2]; + } - function defineRefPropWarningGetter(props, displayName) { - var warnAboutAccessingRef = function () { - if (!specialPropRefWarningShown) { - specialPropRefWarningShown = true; - false ? warning(false, '%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName) : void 0; + printWarning.apply(undefined, [format].concat(args)); } }; - warnAboutAccessingRef.isReactWarning = true; - Object.defineProperty(props, 'ref', { - get: warnAboutAccessingRef, - configurable: true - }); } + module.exports = lowPriorityWarning; + +/***/ }), +/* 15 */ +/***/ (function(module, exports, __webpack_require__) { + /** - * Factory method to create a new React element. This no longer adheres to - * the class pattern, so do not use new to call it. Also, no instanceof check - * will work. Instead test $$typeof field against Symbol.for('react.element') to check - * if something is a React Element. + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. * - * @param {*} type - * @param {*} key - * @param {string|object} ref - * @param {*} self A *temporary* helper to detect places where `this` is - * different from the `owner` when React.createElement is called, so that we - * can warn. We want to get rid of owner and replace string `ref`s with arrow - * functions, and as long as `this` and owner are the same, there will be no - * change in behavior. - * @param {*} source An annotation object (added by a transpiler or otherwise) - * indicating filename, line number, and/or other information. - * @param {*} owner - * @param {*} props - * @internal */ - var ReactElement = function (type, key, ref, self, source, owner, props) { - var element = { - // This tag allow us to uniquely identify this as a React Element - $$typeof: REACT_ELEMENT_TYPE, - // Built-in properties that belong on the element - type: type, - key: key, - ref: ref, - props: props, + 'use strict'; - // Record the component responsible for creating this element. - _owner: owner - }; + var PooledClass = __webpack_require__(16); + var ReactElement = __webpack_require__(17); - if (false) { - // The validation flag is currently mutative. We put it on - // an external backing store so that we can freeze the whole object. - // This can be replaced with a WeakMap once they are implemented in - // commonly used development environments. - element._store = {}; + var emptyFunction = __webpack_require__(10); + var traverseAllChildren = __webpack_require__(20); - // To make comparing ReactElements easier for testing purposes, we make - // the validation flag non-enumerable (where possible, which should - // include every environment we run tests in), so the test framework - // ignores it. - if (canDefineProperty) { - Object.defineProperty(element._store, 'validated', { - configurable: false, - enumerable: false, - writable: true, - value: false - }); - // self and source are DEV only properties. - Object.defineProperty(element, '_self', { - configurable: false, - enumerable: false, - writable: false, - value: self - }); - // Two elements created in two different places should be considered - // equal for testing purposes and therefore we hide it from enumeration. - Object.defineProperty(element, '_source', { - configurable: false, - enumerable: false, - writable: false, - value: source - }); - } else { - element._store.validated = false; - element._self = self; - element._source = source; - } - if (Object.freeze) { - Object.freeze(element.props); - Object.freeze(element); - } - } + var twoArgumentPooler = PooledClass.twoArgumentPooler; + var fourArgumentPooler = PooledClass.fourArgumentPooler; - return element; - }; + var userProvidedKeyEscapeRegex = /\/+/g; + function escapeUserProvidedKey(text) { + return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/'); + } /** - * Create and return a new ReactElement of the given type. - * See https://facebook.github.io/react/docs/top-level-api.html#react.createelement + * PooledClass representing the bookkeeping associated with performing a child + * traversal. Allows avoiding binding callbacks. + * + * @constructor ForEachBookKeeping + * @param {!function} forEachFunction Function to perform traversal with. + * @param {?*} forEachContext Context to perform context with. */ - ReactElement.createElement = function (type, config, children) { - var propName; - - // Reserved names are extracted - var props = {}; + function ForEachBookKeeping(forEachFunction, forEachContext) { + this.func = forEachFunction; + this.context = forEachContext; + this.count = 0; + } + ForEachBookKeeping.prototype.destructor = function () { + this.func = null; + this.context = null; + this.count = 0; + }; + PooledClass.addPoolingTo(ForEachBookKeeping, twoArgumentPooler); - var key = null; - var ref = null; - var self = null; - var source = null; + function forEachSingleChild(bookKeeping, child, name) { + var func = bookKeeping.func, + context = bookKeeping.context; - if (config != null) { - if (hasValidRef(config)) { - ref = config.ref; - } - if (hasValidKey(config)) { - key = '' + config.key; - } + func.call(context, child, bookKeeping.count++); + } - self = config.__self === undefined ? null : config.__self; - source = config.__source === undefined ? null : config.__source; - // Remaining properties are added to a new props object - for (propName in config) { - if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { - props[propName] = config[propName]; - } - } + /** + * Iterates through children that are typically specified as `props.children`. + * + * See https://facebook.github.io/react/docs/top-level-api.html#react.children.foreach + * + * The provided forEachFunc(child, index) will be called for each + * leaf child. + * + * @param {?*} children Children tree container. + * @param {function(*, int)} forEachFunc + * @param {*} forEachContext Context for forEachContext. + */ + function forEachChildren(children, forEachFunc, forEachContext) { + if (children == null) { + return children; } - - // Children can be more than one argument, and those are transferred onto - // the newly allocated props object. - var childrenLength = arguments.length - 2; - if (childrenLength === 1) { - props.children = children; - } else if (childrenLength > 1) { - var childArray = Array(childrenLength); - for (var i = 0; i < childrenLength; i++) { - childArray[i] = arguments[i + 2]; - } - if (false) { - if (Object.freeze) { - Object.freeze(childArray); - } - } - props.children = childArray; - } - - // Resolve default props - if (type && type.defaultProps) { - var defaultProps = type.defaultProps; - for (propName in defaultProps) { - if (props[propName] === undefined) { - props[propName] = defaultProps[propName]; - } - } - } - if (false) { - if (key || ref) { - if (typeof props.$$typeof === 'undefined' || props.$$typeof !== REACT_ELEMENT_TYPE) { - var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type; - if (key) { - defineKeyPropWarningGetter(props, displayName); - } - if (ref) { - defineRefPropWarningGetter(props, displayName); - } - } - } - } - return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props); - }; + var traverseContext = ForEachBookKeeping.getPooled(forEachFunc, forEachContext); + traverseAllChildren(children, forEachSingleChild, traverseContext); + ForEachBookKeeping.release(traverseContext); + } /** - * Return a function that produces ReactElements of a given type. - * See https://facebook.github.io/react/docs/top-level-api.html#react.createfactory + * PooledClass representing the bookkeeping associated with performing a child + * mapping. Allows avoiding binding callbacks. + * + * @constructor MapBookKeeping + * @param {!*} mapResult Object containing the ordered map of results. + * @param {!function} mapFunction Function to perform mapping with. + * @param {?*} mapContext Context to perform mapping with. */ - ReactElement.createFactory = function (type) { - var factory = ReactElement.createElement.bind(null, type); - // Expose the type on the factory and the prototype so that it can be - // easily accessed on elements. E.g. `.type === Foo`. - // This should not be named `constructor` since this may not be the function - // that created the element, and it may not even be a constructor. - // Legacy hook TODO: Warn if this is accessed - factory.type = type; - return factory; - }; - - ReactElement.cloneAndReplaceKey = function (oldElement, newKey) { - var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props); - - return newElement; + function MapBookKeeping(mapResult, keyPrefix, mapFunction, mapContext) { + this.result = mapResult; + this.keyPrefix = keyPrefix; + this.func = mapFunction; + this.context = mapContext; + this.count = 0; + } + MapBookKeeping.prototype.destructor = function () { + this.result = null; + this.keyPrefix = null; + this.func = null; + this.context = null; + this.count = 0; }; + PooledClass.addPoolingTo(MapBookKeeping, fourArgumentPooler); - /** - * Clone and return a new ReactElement using element as the starting point. - * See https://facebook.github.io/react/docs/top-level-api.html#react.cloneelement - */ - ReactElement.cloneElement = function (element, config, children) { - var propName; - - // Original props are copied - var props = _assign({}, element.props); - - // Reserved names are extracted - var key = element.key; - var ref = element.ref; - // Self is preserved since the owner is preserved. - var self = element._self; - // Source is preserved since cloneElement is unlikely to be targeted by a - // transpiler, and the original source is probably a better indicator of the - // true owner. - var source = element._source; - - // Owner will be preserved, unless ref is overridden - var owner = element._owner; + function mapSingleChildIntoContext(bookKeeping, child, childKey) { + var result = bookKeeping.result, + keyPrefix = bookKeeping.keyPrefix, + func = bookKeeping.func, + context = bookKeeping.context; - if (config != null) { - if (hasValidRef(config)) { - // Silently steal the ref from the parent. - ref = config.ref; - owner = ReactCurrentOwner.current; - } - if (hasValidKey(config)) { - key = '' + config.key; - } - // Remaining properties override existing props - var defaultProps; - if (element.type && element.type.defaultProps) { - defaultProps = element.type.defaultProps; - } - for (propName in config) { - if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { - if (config[propName] === undefined && defaultProps !== undefined) { - // Resolve default props - props[propName] = defaultProps[propName]; - } else { - props[propName] = config[propName]; - } - } + var mappedChild = func.call(context, child, bookKeeping.count++); + if (Array.isArray(mappedChild)) { + mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, emptyFunction.thatReturnsArgument); + } else if (mappedChild != null) { + if (ReactElement.isValidElement(mappedChild)) { + mappedChild = ReactElement.cloneAndReplaceKey(mappedChild, + // Keep both the (mapped) and old keys if they differ, just as + // traverseAllChildren used to do for objects as children + keyPrefix + (mappedChild.key && (!child || child.key !== mappedChild.key) ? escapeUserProvidedKey(mappedChild.key) + '/' : '') + childKey); } + result.push(mappedChild); } + } - // Children can be more than one argument, and those are transferred onto - // the newly allocated props object. - var childrenLength = arguments.length - 2; - if (childrenLength === 1) { - props.children = children; - } else if (childrenLength > 1) { - var childArray = Array(childrenLength); - for (var i = 0; i < childrenLength; i++) { - childArray[i] = arguments[i + 2]; - } - props.children = childArray; + function mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) { + var escapedPrefix = ''; + if (prefix != null) { + escapedPrefix = escapeUserProvidedKey(prefix) + '/'; } - - return ReactElement(element.type, key, ref, self, source, owner, props); - }; + var traverseContext = MapBookKeeping.getPooled(array, escapedPrefix, func, context); + traverseAllChildren(children, mapSingleChildIntoContext, traverseContext); + MapBookKeeping.release(traverseContext); + } /** - * Verifies the object is a ReactElement. - * See https://facebook.github.io/react/docs/top-level-api.html#react.isvalidelement - * @param {?object} object - * @return {boolean} True if `object` is a valid component. - * @final + * Maps children that are typically specified as `props.children`. + * + * See https://facebook.github.io/react/docs/top-level-api.html#react.children.map + * + * The provided mapFunction(child, key, index) will be called for each + * leaf child. + * + * @param {?*} children Children tree container. + * @param {function(*, int)} func The map function. + * @param {*} context Context for mapFunction. + * @return {object} Object containing the ordered map of results. */ - ReactElement.isValidElement = function (object) { - return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; - }; + function mapChildren(children, func, context) { + if (children == null) { + return children; + } + var result = []; + mapIntoWithKeyPrefixInternal(children, result, null, func, context); + return result; + } + + function forEachSingleChildDummy(traverseContext, child, name) { + return null; + } - module.exports = ReactElement; - -/***/ }, -/* 11 */ -/***/ function(module, exports) { - /** - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. + * Count the number of children that are typically specified as + * `props.children`. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * See https://facebook.github.io/react/docs/top-level-api.html#react.children.count * - * + * @param {?*} children Children tree container. + * @return {number} The number of children. */ - - 'use strict'; + function countChildren(children, context) { + return traverseAllChildren(children, forEachSingleChildDummy, null); + } /** - * Keeps track of the current owner. + * Flatten a children object (typically specified as `props.children`) and + * return an array with appropriately re-keyed children. * - * The current owner is the component who should own any components that are - * currently being constructed. + * See https://facebook.github.io/react/docs/top-level-api.html#react.children.toarray */ - var ReactCurrentOwner = { - - /** - * @internal - * @type {ReactComponent} - */ - current: null + function toArray(children) { + var result = []; + mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument); + return result; + } + var ReactChildren = { + forEach: forEachChildren, + map: mapChildren, + mapIntoWithKeyPrefixInternal: mapIntoWithKeyPrefixInternal, + count: countChildren, + toArray: toArray }; - module.exports = ReactCurrentOwner; + module.exports = ReactChildren; -/***/ }, -/* 12 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 16 */ +/***/ (function(module, exports, __webpack_require__) { /** - * Copyright 2014-2015, Facebook, Inc. + * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * + * */ 'use strict'; - var emptyFunction = __webpack_require__(13); - - /** - * Similar to invariant but only logs a warning if the condition is not met. - * This can be used to log issues in development environments in critical - * paths. Removing the logging code for production environments will keep the - * same logic and follow the same code paths. - */ - - var warning = emptyFunction; - - if (false) { - var printWarning = function printWarning(format) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - var argIndex = 0; - var message = 'Warning: ' + format.replace(/%s/g, function () { - return args[argIndex++]; - }); - if (typeof console !== 'undefined') { - console.error(message); - } - try { - // --- Welcome to debugging React --- - // This error was thrown as a convenience so that you can use this stack - // to find the callsite that caused this warning to fire. - throw new Error(message); - } catch (x) {} - }; - - warning = function warning(condition, format) { - if (format === undefined) { - throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument'); - } - - if (format.indexOf('Failed Composite propType: ') === 0) { - return; // Ignore CompositeComponent proptype check. - } - - if (!condition) { - for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { - args[_key2 - 2] = arguments[_key2]; - } - - printWarning.apply(undefined, [format].concat(args)); - } - }; - } + var _prodInvariant = __webpack_require__(7); - module.exports = warning; - -/***/ }, -/* 13 */ -/***/ function(module, exports) { - - "use strict"; + var invariant = __webpack_require__(13); /** - * Copyright (c) 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * + * Static poolers. Several custom versions for each potential number of + * arguments. A completely generic pooler is easy to implement, but would + * require accessing the `arguments` object. In each of these, `this` refers to + * the Class itself, not an instance. If any others are needed, simply add them + * here, or in their own files. */ + var oneArgumentPooler = function (copyFieldsFrom) { + var Klass = this; + if (Klass.instancePool.length) { + var instance = Klass.instancePool.pop(); + Klass.call(instance, copyFieldsFrom); + return instance; + } else { + return new Klass(copyFieldsFrom); + } + }; - function makeEmptyFunction(arg) { - return function () { - return arg; - }; - } + var twoArgumentPooler = function (a1, a2) { + var Klass = this; + if (Klass.instancePool.length) { + var instance = Klass.instancePool.pop(); + Klass.call(instance, a1, a2); + return instance; + } else { + return new Klass(a1, a2); + } + }; - /** - * This function accepts and discards inputs; it has no side effects. This is - * primarily useful idiomatically for overridable function endpoints which - * always need to be callable, since JS lacks a null-call idiom ala Cocoa. - */ - var emptyFunction = function emptyFunction() {}; + var threeArgumentPooler = function (a1, a2, a3) { + var Klass = this; + if (Klass.instancePool.length) { + var instance = Klass.instancePool.pop(); + Klass.call(instance, a1, a2, a3); + return instance; + } else { + return new Klass(a1, a2, a3); + } + }; - emptyFunction.thatReturns = makeEmptyFunction; - emptyFunction.thatReturnsFalse = makeEmptyFunction(false); - emptyFunction.thatReturnsTrue = makeEmptyFunction(true); - emptyFunction.thatReturnsNull = makeEmptyFunction(null); - emptyFunction.thatReturnsThis = function () { - return this; + var fourArgumentPooler = function (a1, a2, a3, a4) { + var Klass = this; + if (Klass.instancePool.length) { + var instance = Klass.instancePool.pop(); + Klass.call(instance, a1, a2, a3, a4); + return instance; + } else { + return new Klass(a1, a2, a3, a4); + } }; - emptyFunction.thatReturnsArgument = function (arg) { - return arg; + + var standardReleaser = function (instance) { + var Klass = this; + !(instance instanceof Klass) ? false ? invariant(false, 'Trying to release an instance into a pool of a different type.') : _prodInvariant('25') : void 0; + instance.destructor(); + if (Klass.instancePool.length < Klass.poolSize) { + Klass.instancePool.push(instance); + } }; - module.exports = emptyFunction; - -/***/ }, -/* 14 */ -/***/ function(module, exports, __webpack_require__) { - + var DEFAULT_POOL_SIZE = 10; + var DEFAULT_POOLER = oneArgumentPooler; + /** - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * Augments `CopyConstructor` to be a poolable class, augmenting only the class + * itself (statically) not adding any prototypical fields. Any CopyConstructor + * you give this may have a `poolSize` property, and will look for a + * prototypical `destructor` on instances. * - * + * @param {Function} CopyConstructor Constructor that can be used to reset. + * @param {Function} pooler Customizable pooler. */ - - 'use strict'; - - var canDefineProperty = false; - if (false) { - try { - // $FlowFixMe https://github.com/facebook/flow/issues/285 - Object.defineProperty({}, 'x', { get: function () {} }); - canDefineProperty = true; - } catch (x) { - // IE will fail on defineProperty + var addPoolingTo = function (CopyConstructor, pooler) { + // Casting as any so that flow ignores the actual implementation and trusts + // it to match the type we declared + var NewKlass = CopyConstructor; + NewKlass.instancePool = []; + NewKlass.getPooled = pooler || DEFAULT_POOLER; + if (!NewKlass.poolSize) { + NewKlass.poolSize = DEFAULT_POOL_SIZE; } - } + NewKlass.release = standardReleaser; + return NewKlass; + }; - module.exports = canDefineProperty; + var PooledClass = { + addPoolingTo: addPoolingTo, + oneArgumentPooler: oneArgumentPooler, + twoArgumentPooler: twoArgumentPooler, + threeArgumentPooler: threeArgumentPooler, + fourArgumentPooler: fourArgumentPooler + }; + + module.exports = PooledClass; -/***/ }, -/* 15 */ -/***/ function(module, exports) { +/***/ }), +/* 17 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2014-present, Facebook, Inc. @@ -2355,1328 +2425,624 @@ * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * - * */ 'use strict'; - // The Symbol used to tag the ReactElement type. If there is no native Symbol - // nor polyfill, then a plain number is used for performance. - - var REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7; + var _assign = __webpack_require__(5); - module.exports = REACT_ELEMENT_TYPE; - -/***/ }, -/* 16 */ -/***/ function(module, exports, __webpack_require__) { - - /** - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - */ + var ReactCurrentOwner = __webpack_require__(18); - 'use strict'; + var warning = __webpack_require__(9); + var canDefineProperty = __webpack_require__(11); + var hasOwnProperty = Object.prototype.hasOwnProperty; - var _prodInvariant = __webpack_require__(8); + var REACT_ELEMENT_TYPE = __webpack_require__(19); - var ReactCurrentOwner = __webpack_require__(11); - var REACT_ELEMENT_TYPE = __webpack_require__(15); + var RESERVED_PROPS = { + key: true, + ref: true, + __self: true, + __source: true + }; - var getIteratorFn = __webpack_require__(17); - var invariant = __webpack_require__(9); - var KeyEscapeUtils = __webpack_require__(18); - var warning = __webpack_require__(12); + var specialPropKeyWarningShown, specialPropRefWarningShown; - var SEPARATOR = '.'; - var SUBSEPARATOR = ':'; + function hasValidRef(config) { + if (false) { + if (hasOwnProperty.call(config, 'ref')) { + var getter = Object.getOwnPropertyDescriptor(config, 'ref').get; + if (getter && getter.isReactWarning) { + return false; + } + } + } + return config.ref !== undefined; + } - /** - * This is inlined from ReactElement since this file is shared between - * isomorphic and renderers. We could extract this to a - * - */ + function hasValidKey(config) { + if (false) { + if (hasOwnProperty.call(config, 'key')) { + var getter = Object.getOwnPropertyDescriptor(config, 'key').get; + if (getter && getter.isReactWarning) { + return false; + } + } + } + return config.key !== undefined; + } - /** - * TODO: Test that a single child and an array with one item have the same key - * pattern. - */ + function defineKeyPropWarningGetter(props, displayName) { + var warnAboutAccessingKey = function () { + if (!specialPropKeyWarningShown) { + specialPropKeyWarningShown = true; + false ? warning(false, '%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName) : void 0; + } + }; + warnAboutAccessingKey.isReactWarning = true; + Object.defineProperty(props, 'key', { + get: warnAboutAccessingKey, + configurable: true + }); + } - var didWarnAboutMaps = false; + function defineRefPropWarningGetter(props, displayName) { + var warnAboutAccessingRef = function () { + if (!specialPropRefWarningShown) { + specialPropRefWarningShown = true; + false ? warning(false, '%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName) : void 0; + } + }; + warnAboutAccessingRef.isReactWarning = true; + Object.defineProperty(props, 'ref', { + get: warnAboutAccessingRef, + configurable: true + }); + } /** - * Generate a key string that identifies a component within a set. - * - * @param {*} component A component that could contain a manual key. - * @param {number} index Index that is used if a manual key is not provided. - * @return {string} - */ - function getComponentKey(component, index) { - // Do some typechecking here since we call this blindly. We want to ensure - // that we don't block potential future ES APIs. - if (component && typeof component === 'object' && component.key != null) { - // Explicit key - return KeyEscapeUtils.escape(component.key); - } - // Implicit key determined by the index in the set - return index.toString(36); - } - - /** - * @param {?*} children Children tree container. - * @param {!string} nameSoFar Name of the key path so far. - * @param {!function} callback Callback to invoke with each child found. - * @param {?*} traverseContext Used to pass information throughout the traversal - * process. - * @return {!number} The number of children in this subtree. - */ - function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) { - var type = typeof children; - - if (type === 'undefined' || type === 'boolean') { - // All of the above are perceived as null. - children = null; - } - - if (children === null || type === 'string' || type === 'number' || - // The following is inlined from ReactElement. This means we can optimize - // some checks. React Fiber also inlines this logic for similar purposes. - type === 'object' && children.$$typeof === REACT_ELEMENT_TYPE) { - callback(traverseContext, children, - // If it's the only child, treat the name as if it was wrapped in an array - // so that it's consistent if the number of children grows. - nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar); - return 1; - } - - var child; - var nextName; - var subtreeCount = 0; // Count of children found in the current subtree. - var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR; - - if (Array.isArray(children)) { - for (var i = 0; i < children.length; i++) { - child = children[i]; - nextName = nextNamePrefix + getComponentKey(child, i); - subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); - } - } else { - var iteratorFn = getIteratorFn(children); - if (iteratorFn) { - var iterator = iteratorFn.call(children); - var step; - if (iteratorFn !== children.entries) { - var ii = 0; - while (!(step = iterator.next()).done) { - child = step.value; - nextName = nextNamePrefix + getComponentKey(child, ii++); - subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); - } - } else { - if (false) { - var mapsAsChildrenAddendum = ''; - if (ReactCurrentOwner.current) { - var mapsAsChildrenOwnerName = ReactCurrentOwner.current.getName(); - if (mapsAsChildrenOwnerName) { - mapsAsChildrenAddendum = ' Check the render method of `' + mapsAsChildrenOwnerName + '`.'; - } - } - process.env.NODE_ENV !== 'production' ? warning(didWarnAboutMaps, 'Using Maps as children is not yet fully supported. It is an ' + 'experimental feature that might be removed. Convert it to a ' + 'sequence / iterable of keyed ReactElements instead.%s', mapsAsChildrenAddendum) : void 0; - didWarnAboutMaps = true; - } - // Iterator will provide entry [k,v] tuples rather than values. - while (!(step = iterator.next()).done) { - var entry = step.value; - if (entry) { - child = entry[1]; - nextName = nextNamePrefix + KeyEscapeUtils.escape(entry[0]) + SUBSEPARATOR + getComponentKey(child, 0); - subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); - } - } - } - } else if (type === 'object') { - var addendum = ''; - if (false) { - addendum = ' If you meant to render a collection of children, use an array ' + 'instead or wrap the object using createFragment(object) from the ' + 'React add-ons.'; - if (children._isReactElement) { - addendum = ' It looks like you\'re using an element created by a different ' + 'version of React. Make sure to use only one copy of React.'; - } - if (ReactCurrentOwner.current) { - var name = ReactCurrentOwner.current.getName(); - if (name) { - addendum += ' Check the render method of `' + name + '`.'; - } - } - } - var childrenString = String(children); - true ? false ? invariant(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : _prodInvariant('31', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : void 0; - } - } - - return subtreeCount; - } - - /** - * Traverses children that are typically specified as `props.children`, but - * might also be specified through attributes: - * - * - `traverseAllChildren(this.props.children, ...)` - * - `traverseAllChildren(this.props.leftPanelChildren, ...)` - * - * The `traverseContext` is an optional argument that is passed through the - * entire traversal. It can be used to store accumulations or anything else that - * the callback might find relevant. - * - * @param {?*} children Children tree object. - * @param {!function} callback To invoke upon traversing each child. - * @param {?*} traverseContext Context for traversal. - * @return {!number} The number of children in this subtree. - */ - function traverseAllChildren(children, callback, traverseContext) { - if (children == null) { - return 0; - } - - return traverseAllChildrenImpl(children, '', callback, traverseContext); - } - - module.exports = traverseAllChildren; - -/***/ }, -/* 17 */ -/***/ function(module, exports) { - - /** - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * - */ - - 'use strict'; - - /* global Symbol */ - - var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator; - var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec. - - /** - * Returns the iterator method function contained on the iterable object. - * - * Be sure to invoke the function with the iterable as context: - * - * var iteratorFn = getIteratorFn(myIterable); - * if (iteratorFn) { - * var iterator = iteratorFn.call(myIterable); - * ... - * } - * - * @param {?object} maybeIterable - * @return {?function} - */ - function getIteratorFn(maybeIterable) { - var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]); - if (typeof iteratorFn === 'function') { - return iteratorFn; - } - } - - module.exports = getIteratorFn; - -/***/ }, -/* 18 */ -/***/ function(module, exports) { - - /** - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * - */ - - 'use strict'; - - /** - * Escape and wrap key so it is safe to use as a reactid + * Factory method to create a new React element. This no longer adheres to + * the class pattern, so do not use new to call it. Also, no instanceof check + * will work. Instead test $$typeof field against Symbol.for('react.element') to check + * if something is a React Element. * - * @param {string} key to be escaped. - * @return {string} the escaped key. + * @param {*} type + * @param {*} key + * @param {string|object} ref + * @param {*} self A *temporary* helper to detect places where `this` is + * different from the `owner` when React.createElement is called, so that we + * can warn. We want to get rid of owner and replace string `ref`s with arrow + * functions, and as long as `this` and owner are the same, there will be no + * change in behavior. + * @param {*} source An annotation object (added by a transpiler or otherwise) + * indicating filename, line number, and/or other information. + * @param {*} owner + * @param {*} props + * @internal */ + var ReactElement = function (type, key, ref, self, source, owner, props) { + var element = { + // This tag allow us to uniquely identify this as a React Element + $$typeof: REACT_ELEMENT_TYPE, - function escape(key) { - var escapeRegex = /[=:]/g; - var escaperLookup = { - '=': '=0', - ':': '=2' - }; - var escapedString = ('' + key).replace(escapeRegex, function (match) { - return escaperLookup[match]; - }); - - return '$' + escapedString; - } + // Built-in properties that belong on the element + type: type, + key: key, + ref: ref, + props: props, - /** - * Unescape and unwrap key for human-readable display - * - * @param {string} key to unescape. - * @return {string} the unescaped key. - */ - function unescape(key) { - var unescapeRegex = /(=0|=2)/g; - var unescaperLookup = { - '=0': '=', - '=2': ':' + // Record the component responsible for creating this element. + _owner: owner }; - var keySubstring = key[0] === '.' && key[1] === '$' ? key.substring(2) : key.substring(1); - - return ('' + keySubstring).replace(unescapeRegex, function (match) { - return unescaperLookup[match]; - }); - } - - var KeyEscapeUtils = { - escape: escape, - unescape: unescape - }; - - module.exports = KeyEscapeUtils; - -/***/ }, -/* 19 */ -/***/ function(module, exports, __webpack_require__) { - - /** - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - */ - - 'use strict'; - - var _prodInvariant = __webpack_require__(8); - - var ReactNoopUpdateQueue = __webpack_require__(20); - - var canDefineProperty = __webpack_require__(14); - var emptyObject = __webpack_require__(21); - var invariant = __webpack_require__(9); - var warning = __webpack_require__(12); - - /** - * Base class helpers for the updating state of a component. - */ - function ReactComponent(props, context, updater) { - this.props = props; - this.context = context; - this.refs = emptyObject; - // We initialize the default updater but the real one gets injected by the - // renderer. - this.updater = updater || ReactNoopUpdateQueue; - } - - ReactComponent.prototype.isReactComponent = {}; - - /** - * Sets a subset of the state. Always use this to mutate - * state. You should treat `this.state` as immutable. - * - * There is no guarantee that `this.state` will be immediately updated, so - * accessing `this.state` after calling this method may return the old value. - * - * There is no guarantee that calls to `setState` will run synchronously, - * as they may eventually be batched together. You can provide an optional - * callback that will be executed when the call to setState is actually - * completed. - * - * When a function is provided to setState, it will be called at some point in - * the future (not synchronously). It will be called with the up to date - * component arguments (state, props, context). These values can be different - * from this.* because your function may be called after receiveProps but before - * shouldComponentUpdate, and this new state, props, and context will not yet be - * assigned to this. - * - * @param {object|function} partialState Next partial state or function to - * produce next partial state to be merged with current state. - * @param {?function} callback Called after state is updated. - * @final - * @protected - */ - ReactComponent.prototype.setState = function (partialState, callback) { - !(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null) ? false ? invariant(false, 'setState(...): takes an object of state variables to update or a function which returns an object of state variables.') : _prodInvariant('85') : void 0; - this.updater.enqueueSetState(this, partialState); - if (callback) { - this.updater.enqueueCallback(this, callback, 'setState'); - } - }; - /** - * Forces an update. This should only be invoked when it is known with - * certainty that we are **not** in a DOM transaction. - * - * You may want to call this when you know that some deeper aspect of the - * component's state has changed but `setState` was not called. - * - * This will not invoke `shouldComponentUpdate`, but it will invoke - * `componentWillUpdate` and `componentDidUpdate`. - * - * @param {?function} callback Called after update is complete. - * @final - * @protected - */ - ReactComponent.prototype.forceUpdate = function (callback) { - this.updater.enqueueForceUpdate(this); - if (callback) { - this.updater.enqueueCallback(this, callback, 'forceUpdate'); - } - }; + if (false) { + // The validation flag is currently mutative. We put it on + // an external backing store so that we can freeze the whole object. + // This can be replaced with a WeakMap once they are implemented in + // commonly used development environments. + element._store = {}; - /** - * Deprecated APIs. These APIs used to exist on classic React classes but since - * we would like to deprecate them, we're not going to move them over to this - * modern base class. Instead, we define a getter that warns if it's accessed. - */ - if (false) { - var deprecatedAPIs = { - isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'], - replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).'] - }; - var defineDeprecationWarning = function (methodName, info) { + // To make comparing ReactElements easier for testing purposes, we make + // the validation flag non-enumerable (where possible, which should + // include every environment we run tests in), so the test framework + // ignores it. if (canDefineProperty) { - Object.defineProperty(ReactComponent.prototype, methodName, { - get: function () { - process.env.NODE_ENV !== 'production' ? warning(false, '%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]) : void 0; - return undefined; - } + Object.defineProperty(element._store, 'validated', { + configurable: false, + enumerable: false, + writable: true, + value: false }); + // self and source are DEV only properties. + Object.defineProperty(element, '_self', { + configurable: false, + enumerable: false, + writable: false, + value: self + }); + // Two elements created in two different places should be considered + // equal for testing purposes and therefore we hide it from enumeration. + Object.defineProperty(element, '_source', { + configurable: false, + enumerable: false, + writable: false, + value: source + }); + } else { + element._store.validated = false; + element._self = self; + element._source = source; } - }; - for (var fnName in deprecatedAPIs) { - if (deprecatedAPIs.hasOwnProperty(fnName)) { - defineDeprecationWarning(fnName, deprecatedAPIs[fnName]); + if (Object.freeze) { + Object.freeze(element.props); + Object.freeze(element); } } - } - - module.exports = ReactComponent; - -/***/ }, -/* 20 */ -/***/ function(module, exports, __webpack_require__) { - - /** - * Copyright 2015-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - */ - - 'use strict'; - - var warning = __webpack_require__(12); - - function warnNoop(publicInstance, callerName) { - if (false) { - var constructor = publicInstance.constructor; - process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, constructor && (constructor.displayName || constructor.name) || 'ReactClass') : void 0; - } - } - - /** - * This is the abstract API for an update queue. - */ - var ReactNoopUpdateQueue = { - - /** - * Checks whether or not this composite component is mounted. - * @param {ReactClass} publicInstance The instance we want to test. - * @return {boolean} True if mounted, false otherwise. - * @protected - * @final - */ - isMounted: function (publicInstance) { - return false; - }, - - /** - * Enqueue a callback that will be executed after all the pending updates - * have processed. - * - * @param {ReactClass} publicInstance The instance to use as `this` context. - * @param {?function} callback Called after state is updated. - * @internal - */ - enqueueCallback: function (publicInstance, callback) {}, - - /** - * Forces an update. This should only be invoked when it is known with - * certainty that we are **not** in a DOM transaction. - * - * You may want to call this when you know that some deeper aspect of the - * component's state has changed but `setState` was not called. - * - * This will not invoke `shouldComponentUpdate`, but it will invoke - * `componentWillUpdate` and `componentDidUpdate`. - * - * @param {ReactClass} publicInstance The instance that should rerender. - * @internal - */ - enqueueForceUpdate: function (publicInstance) { - warnNoop(publicInstance, 'forceUpdate'); - }, - - /** - * Replaces all of the state. Always use this or `setState` to mutate state. - * You should treat `this.state` as immutable. - * - * There is no guarantee that `this.state` will be immediately updated, so - * accessing `this.state` after calling this method may return the old value. - * - * @param {ReactClass} publicInstance The instance that should rerender. - * @param {object} completeState Next state. - * @internal - */ - enqueueReplaceState: function (publicInstance, completeState) { - warnNoop(publicInstance, 'replaceState'); - }, - /** - * Sets a subset of the state. This only exists because _pendingState is - * internal. This provides a merging strategy that is not available to deep - * properties which is confusing. TODO: Expose pendingState or don't use it - * during the merge. - * - * @param {ReactClass} publicInstance The instance that should rerender. - * @param {object} partialState Next partial state to be merged with state. - * @internal - */ - enqueueSetState: function (publicInstance, partialState) { - warnNoop(publicInstance, 'setState'); - } + return element; }; - module.exports = ReactNoopUpdateQueue; - -/***/ }, -/* 21 */ -/***/ function(module, exports, __webpack_require__) { - - /** - * Copyright (c) 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - */ - - 'use strict'; - - var emptyObject = {}; - - if (false) { - Object.freeze(emptyObject); - } - - module.exports = emptyObject; - -/***/ }, -/* 22 */ -/***/ function(module, exports, __webpack_require__) { - - /** - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - */ - - 'use strict'; - - var _assign = __webpack_require__(5); - - var ReactComponent = __webpack_require__(19); - var ReactNoopUpdateQueue = __webpack_require__(20); - - var emptyObject = __webpack_require__(21); - - /** - * Base class helpers for the updating state of a component. - */ - function ReactPureComponent(props, context, updater) { - // Duplicated from ReactComponent. - this.props = props; - this.context = context; - this.refs = emptyObject; - // We initialize the default updater but the real one gets injected by the - // renderer. - this.updater = updater || ReactNoopUpdateQueue; - } - - function ComponentDummy() {} - ComponentDummy.prototype = ReactComponent.prototype; - ReactPureComponent.prototype = new ComponentDummy(); - ReactPureComponent.prototype.constructor = ReactPureComponent; - // Avoid an extra prototype jump for these methods. - _assign(ReactPureComponent.prototype, ReactComponent.prototype); - ReactPureComponent.prototype.isPureReactComponent = true; - - module.exports = ReactPureComponent; - -/***/ }, -/* 23 */ -/***/ function(module, exports, __webpack_require__) { - - /** - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - */ - - 'use strict'; - - var _prodInvariant = __webpack_require__(8), - _assign = __webpack_require__(5); - - var ReactComponent = __webpack_require__(19); - var ReactElement = __webpack_require__(10); - var ReactPropTypeLocationNames = __webpack_require__(24); - var ReactNoopUpdateQueue = __webpack_require__(20); - - var emptyObject = __webpack_require__(21); - var invariant = __webpack_require__(9); - var warning = __webpack_require__(12); - - var MIXINS_KEY = 'mixins'; - - // Helper function to allow the creation of anonymous functions which do not - // have .name set to the name of the variable being assigned to. - function identity(fn) { - return fn; - } - - /** - * Policies that describe methods in `ReactClassInterface`. - */ - - - var injectedMixins = []; - /** - * Composite components are higher-level components that compose other composite - * or host components. - * - * To create a new type of `ReactClass`, pass a specification of - * your new class to `React.createClass`. The only requirement of your class - * specification is that you implement a `render` method. - * - * var MyComponent = React.createClass({ - * render: function() { - * return
Hello World
; - * } - * }); - * - * The class specification supports a specific protocol of methods that have - * special meaning (e.g. `render`). See `ReactClassInterface` for - * more the comprehensive protocol. Any other properties and methods in the - * class specification will be available on the prototype. - * - * @interface ReactClassInterface - * @internal + * Create and return a new ReactElement of the given type. + * See https://facebook.github.io/react/docs/top-level-api.html#react.createelement */ - var ReactClassInterface = { - - /** - * An array of Mixin objects to include when defining your component. - * - * @type {array} - * @optional - */ - mixins: 'DEFINE_MANY', - - /** - * An object containing properties and methods that should be defined on - * the component's constructor instead of its prototype (static methods). - * - * @type {object} - * @optional - */ - statics: 'DEFINE_MANY', - - /** - * Definition of prop types for this component. - * - * @type {object} - * @optional - */ - propTypes: 'DEFINE_MANY', - - /** - * Definition of context types for this component. - * - * @type {object} - * @optional - */ - contextTypes: 'DEFINE_MANY', - - /** - * Definition of context types this component sets for its children. - * - * @type {object} - * @optional - */ - childContextTypes: 'DEFINE_MANY', - - // ==== Definition methods ==== - - /** - * Invoked when the component is mounted. Values in the mapping will be set on - * `this.props` if that prop is not specified (i.e. using an `in` check). - * - * This method is invoked before `getInitialState` and therefore cannot rely - * on `this.state` or use `this.setState`. - * - * @return {object} - * @optional - */ - getDefaultProps: 'DEFINE_MANY_MERGED', - - /** - * Invoked once before the component is mounted. The return value will be used - * as the initial value of `this.state`. - * - * getInitialState: function() { - * return { - * isOn: false, - * fooBaz: new BazFoo() - * } - * } - * - * @return {object} - * @optional - */ - getInitialState: 'DEFINE_MANY_MERGED', - - /** - * @return {object} - * @optional - */ - getChildContext: 'DEFINE_MANY_MERGED', - - /** - * Uses props from `this.props` and state from `this.state` to render the - * structure of the component. - * - * No guarantees are made about when or how often this method is invoked, so - * it must not have side effects. - * - * render: function() { - * var name = this.props.name; - * return
Hello, {name}!
; - * } - * - * @return {ReactComponent} - * @required - */ - render: 'DEFINE_ONCE', - - // ==== Delegate methods ==== - - /** - * Invoked when the component is initially created and about to be mounted. - * This may have side effects, but any external subscriptions or data created - * by this method must be cleaned up in `componentWillUnmount`. - * - * @optional - */ - componentWillMount: 'DEFINE_MANY', - - /** - * Invoked when the component has been mounted and has a DOM representation. - * However, there is no guarantee that the DOM node is in the document. - * - * Use this as an opportunity to operate on the DOM when the component has - * been mounted (initialized and rendered) for the first time. - * - * @param {DOMElement} rootNode DOM element representing the component. - * @optional - */ - componentDidMount: 'DEFINE_MANY', - - /** - * Invoked before the component receives new props. - * - * Use this as an opportunity to react to a prop transition by updating the - * state using `this.setState`. Current props are accessed via `this.props`. - * - * componentWillReceiveProps: function(nextProps, nextContext) { - * this.setState({ - * likesIncreasing: nextProps.likeCount > this.props.likeCount - * }); - * } - * - * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop - * transition may cause a state change, but the opposite is not true. If you - * need it, you are probably looking for `componentWillUpdate`. - * - * @param {object} nextProps - * @optional - */ - componentWillReceiveProps: 'DEFINE_MANY', - - /** - * Invoked while deciding if the component should be updated as a result of - * receiving new props, state and/or context. - * - * Use this as an opportunity to `return false` when you're certain that the - * transition to the new props/state/context will not require a component - * update. - * - * shouldComponentUpdate: function(nextProps, nextState, nextContext) { - * return !equal(nextProps, this.props) || - * !equal(nextState, this.state) || - * !equal(nextContext, this.context); - * } - * - * @param {object} nextProps - * @param {?object} nextState - * @param {?object} nextContext - * @return {boolean} True if the component should update. - * @optional - */ - shouldComponentUpdate: 'DEFINE_ONCE', - - /** - * Invoked when the component is about to update due to a transition from - * `this.props`, `this.state` and `this.context` to `nextProps`, `nextState` - * and `nextContext`. - * - * Use this as an opportunity to perform preparation before an update occurs. - * - * NOTE: You **cannot** use `this.setState()` in this method. - * - * @param {object} nextProps - * @param {?object} nextState - * @param {?object} nextContext - * @param {ReactReconcileTransaction} transaction - * @optional - */ - componentWillUpdate: 'DEFINE_MANY', - - /** - * Invoked when the component's DOM representation has been updated. - * - * Use this as an opportunity to operate on the DOM when the component has - * been updated. - * - * @param {object} prevProps - * @param {?object} prevState - * @param {?object} prevContext - * @param {DOMElement} rootNode DOM element representing the component. - * @optional - */ - componentDidUpdate: 'DEFINE_MANY', - - /** - * Invoked when the component is about to be removed from its parent and have - * its DOM representation destroyed. - * - * Use this as an opportunity to deallocate any external resources. - * - * NOTE: There is no `componentDidUnmount` since your component will have been - * destroyed by that point. - * - * @optional - */ - componentWillUnmount: 'DEFINE_MANY', - - // ==== Advanced methods ==== + ReactElement.createElement = function (type, config, children) { + var propName; - /** - * Updates the component's currently mounted DOM representation. - * - * By default, this implements React's rendering and reconciliation algorithm. - * Sophisticated clients may wish to override this. - * - * @param {ReactReconcileTransaction} transaction - * @internal - * @overridable - */ - updateComponent: 'OVERRIDE_BASE' + // Reserved names are extracted + var props = {}; - }; + var key = null; + var ref = null; + var self = null; + var source = null; - /** - * Mapping from class specification keys to special processing functions. - * - * Although these are declared like instance properties in the specification - * when defining classes using `React.createClass`, they are actually static - * and are accessible on the constructor instead of the prototype. Despite - * being static, they must be defined outside of the "statics" key under - * which all other static methods are defined. - */ - var RESERVED_SPEC_KEYS = { - displayName: function (Constructor, displayName) { - Constructor.displayName = displayName; - }, - mixins: function (Constructor, mixins) { - if (mixins) { - for (var i = 0; i < mixins.length; i++) { - mixSpecIntoComponent(Constructor, mixins[i]); - } + if (config != null) { + if (hasValidRef(config)) { + ref = config.ref; } - }, - childContextTypes: function (Constructor, childContextTypes) { - if (false) { - validateTypeDef(Constructor, childContextTypes, 'childContext'); + if (hasValidKey(config)) { + key = '' + config.key; } - Constructor.childContextTypes = _assign({}, Constructor.childContextTypes, childContextTypes); - }, - contextTypes: function (Constructor, contextTypes) { - if (false) { - validateTypeDef(Constructor, contextTypes, 'context'); + + self = config.__self === undefined ? null : config.__self; + source = config.__source === undefined ? null : config.__source; + // Remaining properties are added to a new props object + for (propName in config) { + if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { + props[propName] = config[propName]; + } } - Constructor.contextTypes = _assign({}, Constructor.contextTypes, contextTypes); - }, - /** - * Special case getDefaultProps which should move into statics but requires - * automatic merging. - */ - getDefaultProps: function (Constructor, getDefaultProps) { - if (Constructor.getDefaultProps) { - Constructor.getDefaultProps = createMergedResultFunction(Constructor.getDefaultProps, getDefaultProps); - } else { - Constructor.getDefaultProps = getDefaultProps; + } + + // Children can be more than one argument, and those are transferred onto + // the newly allocated props object. + var childrenLength = arguments.length - 2; + if (childrenLength === 1) { + props.children = children; + } else if (childrenLength > 1) { + var childArray = Array(childrenLength); + for (var i = 0; i < childrenLength; i++) { + childArray[i] = arguments[i + 2]; } - }, - propTypes: function (Constructor, propTypes) { if (false) { - validateTypeDef(Constructor, propTypes, 'prop'); + if (Object.freeze) { + Object.freeze(childArray); + } } - Constructor.propTypes = _assign({}, Constructor.propTypes, propTypes); - }, - statics: function (Constructor, statics) { - mixStaticSpecIntoComponent(Constructor, statics); - }, - autobind: function () {} }; + props.children = childArray; + } - function validateTypeDef(Constructor, typeDef, location) { - for (var propName in typeDef) { - if (typeDef.hasOwnProperty(propName)) { - // use a warning instead of an invariant so components - // don't show up in prod but only in __DEV__ - false ? warning(typeof typeDef[propName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', Constructor.displayName || 'ReactClass', ReactPropTypeLocationNames[location], propName) : void 0; + // Resolve default props + if (type && type.defaultProps) { + var defaultProps = type.defaultProps; + for (propName in defaultProps) { + if (props[propName] === undefined) { + props[propName] = defaultProps[propName]; + } } } - } - - function validateMethodOverride(isAlreadyDefined, name) { - var specPolicy = ReactClassInterface.hasOwnProperty(name) ? ReactClassInterface[name] : null; - - // Disallow overriding of base class methods unless explicitly allowed. - if (ReactClassMixin.hasOwnProperty(name)) { - !(specPolicy === 'OVERRIDE_BASE') ? false ? invariant(false, 'ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.', name) : _prodInvariant('73', name) : void 0; - } - - // Disallow defining methods more than once unless explicitly allowed. - if (isAlreadyDefined) { - !(specPolicy === 'DEFINE_MANY' || specPolicy === 'DEFINE_MANY_MERGED') ? false ? invariant(false, 'ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.', name) : _prodInvariant('74', name) : void 0; + if (false) { + if (key || ref) { + if (typeof props.$$typeof === 'undefined' || props.$$typeof !== REACT_ELEMENT_TYPE) { + var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type; + if (key) { + defineKeyPropWarningGetter(props, displayName); + } + if (ref) { + defineRefPropWarningGetter(props, displayName); + } + } + } } - } + return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props); + }; /** - * Mixin helper which handles policy validation and reserved - * specification keys when building React classes. + * Return a function that produces ReactElements of a given type. + * See https://facebook.github.io/react/docs/top-level-api.html#react.createfactory */ - function mixSpecIntoComponent(Constructor, spec) { - if (!spec) { - if (false) { - var typeofSpec = typeof spec; - var isMixinValid = typeofSpec === 'object' && spec !== null; + ReactElement.createFactory = function (type) { + var factory = ReactElement.createElement.bind(null, type); + // Expose the type on the factory and the prototype so that it can be + // easily accessed on elements. E.g. `.type === Foo`. + // This should not be named `constructor` since this may not be the function + // that created the element, and it may not even be a constructor. + // Legacy hook TODO: Warn if this is accessed + factory.type = type; + return factory; + }; - process.env.NODE_ENV !== 'production' ? warning(isMixinValid, '%s: You\'re attempting to include a mixin that is either null ' + 'or not an object. Check the mixins included by the component, ' + 'as well as any mixins they include themselves. ' + 'Expected object but got %s.', Constructor.displayName || 'ReactClass', spec === null ? null : typeofSpec) : void 0; - } + ReactElement.cloneAndReplaceKey = function (oldElement, newKey) { + var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props); - return; - } + return newElement; + }; - !(typeof spec !== 'function') ? false ? invariant(false, 'ReactClass: You\'re attempting to use a component class or function as a mixin. Instead, just use a regular object.') : _prodInvariant('75') : void 0; - !!ReactElement.isValidElement(spec) ? false ? invariant(false, 'ReactClass: You\'re attempting to use a component as a mixin. Instead, just use a regular object.') : _prodInvariant('76') : void 0; + /** + * Clone and return a new ReactElement using element as the starting point. + * See https://facebook.github.io/react/docs/top-level-api.html#react.cloneelement + */ + ReactElement.cloneElement = function (element, config, children) { + var propName; - var proto = Constructor.prototype; - var autoBindPairs = proto.__reactAutoBindPairs; + // Original props are copied + var props = _assign({}, element.props); - // By handling mixins before any other properties, we ensure the same - // chaining order is applied to methods with DEFINE_MANY policy, whether - // mixins are listed before or after these methods in the spec. - if (spec.hasOwnProperty(MIXINS_KEY)) { - RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins); - } + // Reserved names are extracted + var key = element.key; + var ref = element.ref; + // Self is preserved since the owner is preserved. + var self = element._self; + // Source is preserved since cloneElement is unlikely to be targeted by a + // transpiler, and the original source is probably a better indicator of the + // true owner. + var source = element._source; - for (var name in spec) { - if (!spec.hasOwnProperty(name)) { - continue; - } + // Owner will be preserved, unless ref is overridden + var owner = element._owner; - if (name === MIXINS_KEY) { - // We have already handled mixins in a special case above. - continue; + if (config != null) { + if (hasValidRef(config)) { + // Silently steal the ref from the parent. + ref = config.ref; + owner = ReactCurrentOwner.current; + } + if (hasValidKey(config)) { + key = '' + config.key; } - var property = spec[name]; - var isAlreadyDefined = proto.hasOwnProperty(name); - validateMethodOverride(isAlreadyDefined, name); - - if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) { - RESERVED_SPEC_KEYS[name](Constructor, property); - } else { - // Setup methods on prototype: - // The following member methods should not be automatically bound: - // 1. Expected ReactClass methods (in the "interface"). - // 2. Overridden methods (that were mixed in). - var isReactClassMethod = ReactClassInterface.hasOwnProperty(name); - var isFunction = typeof property === 'function'; - var shouldAutoBind = isFunction && !isReactClassMethod && !isAlreadyDefined && spec.autobind !== false; - - if (shouldAutoBind) { - autoBindPairs.push(name, property); - proto[name] = property; - } else { - if (isAlreadyDefined) { - var specPolicy = ReactClassInterface[name]; - - // These cases should already be caught by validateMethodOverride. - !(isReactClassMethod && (specPolicy === 'DEFINE_MANY_MERGED' || specPolicy === 'DEFINE_MANY')) ? false ? invariant(false, 'ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.', specPolicy, name) : _prodInvariant('77', specPolicy, name) : void 0; - - // For methods which are defined more than once, call the existing - // methods before calling the new property, merging if appropriate. - if (specPolicy === 'DEFINE_MANY_MERGED') { - proto[name] = createMergedResultFunction(proto[name], property); - } else if (specPolicy === 'DEFINE_MANY') { - proto[name] = createChainedFunction(proto[name], property); - } + // Remaining properties override existing props + var defaultProps; + if (element.type && element.type.defaultProps) { + defaultProps = element.type.defaultProps; + } + for (propName in config) { + if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { + if (config[propName] === undefined && defaultProps !== undefined) { + // Resolve default props + props[propName] = defaultProps[propName]; } else { - proto[name] = property; - if (false) { - // Add verbose displayName to the function, which helps when looking - // at profiling tools. - if (typeof property === 'function' && spec.displayName) { - proto[name].displayName = spec.displayName + '_' + name; - } - } + props[propName] = config[propName]; } } } } - } - function mixStaticSpecIntoComponent(Constructor, statics) { - if (!statics) { - return; - } - for (var name in statics) { - var property = statics[name]; - if (!statics.hasOwnProperty(name)) { - continue; + // Children can be more than one argument, and those are transferred onto + // the newly allocated props object. + var childrenLength = arguments.length - 2; + if (childrenLength === 1) { + props.children = children; + } else if (childrenLength > 1) { + var childArray = Array(childrenLength); + for (var i = 0; i < childrenLength; i++) { + childArray[i] = arguments[i + 2]; } - - var isReserved = name in RESERVED_SPEC_KEYS; - !!isReserved ? false ? invariant(false, 'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.', name) : _prodInvariant('78', name) : void 0; - - var isInherited = name in Constructor; - !!isInherited ? false ? invariant(false, 'ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.', name) : _prodInvariant('79', name) : void 0; - Constructor[name] = property; + props.children = childArray; } - } + + return ReactElement(element.type, key, ref, self, source, owner, props); + }; /** - * Merge two objects, but throw if both contain the same key. - * - * @param {object} one The first object, which is mutated. - * @param {object} two The second object - * @return {object} one after it has been mutated to contain everything in two. + * Verifies the object is a ReactElement. + * See https://facebook.github.io/react/docs/top-level-api.html#react.isvalidelement + * @param {?object} object + * @return {boolean} True if `object` is a valid component. + * @final */ - function mergeIntoWithNoDuplicateKeys(one, two) { - !(one && two && typeof one === 'object' && typeof two === 'object') ? false ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.') : _prodInvariant('80') : void 0; - - for (var key in two) { - if (two.hasOwnProperty(key)) { - !(one[key] === undefined) ? false ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.', key) : _prodInvariant('81', key) : void 0; - one[key] = two[key]; - } - } - return one; - } + ReactElement.isValidElement = function (object) { + return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; + }; + module.exports = ReactElement; + +/***/ }), +/* 18 */ +/***/ (function(module, exports) { + /** - * Creates a function that invokes two functions and merges their return values. + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. * - * @param {function} one Function to invoke first. - * @param {function} two Function to invoke second. - * @return {function} Function that invokes the two argument functions. - * @private + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * */ - function createMergedResultFunction(one, two) { - return function mergedResult() { - var a = one.apply(this, arguments); - var b = two.apply(this, arguments); - if (a == null) { - return b; - } else if (b == null) { - return a; - } - var c = {}; - mergeIntoWithNoDuplicateKeys(c, a); - mergeIntoWithNoDuplicateKeys(c, b); - return c; - }; - } + + 'use strict'; /** - * Creates a function that invokes two functions and ignores their return vales. + * Keeps track of the current owner. * - * @param {function} one Function to invoke first. - * @param {function} two Function to invoke second. - * @return {function} Function that invokes the two argument functions. - * @private + * The current owner is the component who should own any components that are + * currently being constructed. */ - function createChainedFunction(one, two) { - return function chainedFunction() { - one.apply(this, arguments); - two.apply(this, arguments); - }; - } + var ReactCurrentOwner = { + /** + * @internal + * @type {ReactComponent} + */ + current: null + }; + module.exports = ReactCurrentOwner; + +/***/ }), +/* 19 */ +/***/ (function(module, exports) { + /** - * Binds a method to the component. + * Copyright 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. * - * @param {object} component Component whose method is going to be bound. - * @param {function} method Method to be bound. - * @return {function} The bound method. + * */ - function bindAutoBindMethod(component, method) { - var boundMethod = method.bind(component); - if (false) { - boundMethod.__reactBoundContext = component; - boundMethod.__reactBoundMethod = method; - boundMethod.__reactBoundArguments = null; - var componentName = component.constructor.displayName; - var _bind = boundMethod.bind; - boundMethod.bind = function (newThis) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - // User is trying to bind() an autobound method; we effectively will - // ignore the value of "this" that the user is trying to use, so - // let's warn. - if (newThis !== component && newThis !== null) { - process.env.NODE_ENV !== 'production' ? warning(false, 'bind(): React component methods may only be bound to the ' + 'component instance. See %s', componentName) : void 0; - } else if (!args.length) { - process.env.NODE_ENV !== 'production' ? warning(false, 'bind(): You are binding a component method to the component. ' + 'React does this for you automatically in a high-performance ' + 'way, so you can safely remove this call. See %s', componentName) : void 0; - return boundMethod; - } - var reboundMethod = _bind.apply(boundMethod, arguments); - reboundMethod.__reactBoundContext = component; - reboundMethod.__reactBoundMethod = method; - reboundMethod.__reactBoundArguments = args; - return reboundMethod; - }; - } - return boundMethod; - } + 'use strict'; + + // The Symbol used to tag the ReactElement type. If there is no native Symbol + // nor polyfill, then a plain number is used for performance. + var REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7; + + module.exports = REACT_ELEMENT_TYPE; + +/***/ }), +/* 20 */ +/***/ (function(module, exports, __webpack_require__) { + /** - * Binds all auto-bound methods in a component. + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. * - * @param {object} component Component whose method is going to be bound. */ - function bindAutoBindMethods(component) { - var pairs = component.__reactAutoBindPairs; - for (var i = 0; i < pairs.length; i += 2) { - var autoBindKey = pairs[i]; - var method = pairs[i + 1]; - component[autoBindKey] = bindAutoBindMethod(component, method); - } - } - /** - * Add more to the ReactClass base class. These are all legacy features and - * therefore not already part of the modern ReactComponent. - */ - var ReactClassMixin = { + 'use strict'; - /** - * TODO: This will be deprecated because state should always keep a consistent - * type signature and the only use case for this, is to avoid that. - */ - replaceState: function (newState, callback) { - this.updater.enqueueReplaceState(this, newState); - if (callback) { - this.updater.enqueueCallback(this, callback, 'replaceState'); - } - }, + var _prodInvariant = __webpack_require__(7); - /** - * Checks whether or not this composite component is mounted. - * @return {boolean} True if mounted, false otherwise. - * @protected - * @final - */ - isMounted: function () { - return this.updater.isMounted(this); - } - }; + var ReactCurrentOwner = __webpack_require__(18); + var REACT_ELEMENT_TYPE = __webpack_require__(19); - var ReactClassComponent = function () {}; - _assign(ReactClassComponent.prototype, ReactComponent.prototype, ReactClassMixin); + var getIteratorFn = __webpack_require__(21); + var invariant = __webpack_require__(13); + var KeyEscapeUtils = __webpack_require__(22); + var warning = __webpack_require__(9); - var didWarnDeprecated = false; + var SEPARATOR = '.'; + var SUBSEPARATOR = ':'; /** - * Module for creating composite components. + * This is inlined from ReactElement since this file is shared between + * isomorphic and renderers. We could extract this to a * - * @class ReactClass */ - var ReactClass = { - /** - * Creates a composite component class given a class specification. - * See https://facebook.github.io/react/docs/top-level-api.html#react.createclass - * - * @param {object} spec Class specification (which must define `render`). - * @return {function} Component constructor function. - * @public - */ - createClass: function (spec) { - if (false) { - process.env.NODE_ENV !== 'production' ? warning(didWarnDeprecated, '%s: React.createClass is deprecated and will be removed in version 16. ' + 'Use plain JavaScript classes instead. If you\'re not yet ready to ' + 'migrate, create-react-class is available on npm as a ' + 'drop-in replacement.', spec && spec.displayName || 'A Component') : void 0; - didWarnDeprecated = true; - } + /** + * TODO: Test that a single child and an array with one item have the same key + * pattern. + */ - // To keep our warnings more understandable, we'll use a little hack here to - // ensure that Constructor.name !== 'Constructor'. This makes sure we don't - // unnecessarily identify a class without displayName as 'Constructor'. - var Constructor = identity(function (props, context, updater) { - // This constructor gets overridden by mocks. The argument is used - // by mocks to assert on what gets mounted. + var didWarnAboutMaps = false; - if (false) { - process.env.NODE_ENV !== 'production' ? warning(this instanceof Constructor, 'Something is calling a React component directly. Use a factory or ' + 'JSX instead. See: https://fb.me/react-legacyfactory') : void 0; - } + /** + * Generate a key string that identifies a component within a set. + * + * @param {*} component A component that could contain a manual key. + * @param {number} index Index that is used if a manual key is not provided. + * @return {string} + */ + function getComponentKey(component, index) { + // Do some typechecking here since we call this blindly. We want to ensure + // that we don't block potential future ES APIs. + if (component && typeof component === 'object' && component.key != null) { + // Explicit key + return KeyEscapeUtils.escape(component.key); + } + // Implicit key determined by the index in the set + return index.toString(36); + } - // Wire up auto-binding - if (this.__reactAutoBindPairs.length) { - bindAutoBindMethods(this); - } + /** + * @param {?*} children Children tree container. + * @param {!string} nameSoFar Name of the key path so far. + * @param {!function} callback Callback to invoke with each child found. + * @param {?*} traverseContext Used to pass information throughout the traversal + * process. + * @return {!number} The number of children in this subtree. + */ + function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) { + var type = typeof children; - this.props = props; - this.context = context; - this.refs = emptyObject; - this.updater = updater || ReactNoopUpdateQueue; + if (type === 'undefined' || type === 'boolean') { + // All of the above are perceived as null. + children = null; + } - this.state = null; + if (children === null || type === 'string' || type === 'number' || + // The following is inlined from ReactElement. This means we can optimize + // some checks. React Fiber also inlines this logic for similar purposes. + type === 'object' && children.$$typeof === REACT_ELEMENT_TYPE) { + callback(traverseContext, children, + // If it's the only child, treat the name as if it was wrapped in an array + // so that it's consistent if the number of children grows. + nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar); + return 1; + } - // ReactClasses doesn't have constructors. Instead, they use the - // getInitialState and componentWillMount methods for initialization. + var child; + var nextName; + var subtreeCount = 0; // Count of children found in the current subtree. + var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR; - var initialState = this.getInitialState ? this.getInitialState() : null; + if (Array.isArray(children)) { + for (var i = 0; i < children.length; i++) { + child = children[i]; + nextName = nextNamePrefix + getComponentKey(child, i); + subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); + } + } else { + var iteratorFn = getIteratorFn(children); + if (iteratorFn) { + var iterator = iteratorFn.call(children); + var step; + if (iteratorFn !== children.entries) { + var ii = 0; + while (!(step = iterator.next()).done) { + child = step.value; + nextName = nextNamePrefix + getComponentKey(child, ii++); + subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); + } + } else { + if (false) { + var mapsAsChildrenAddendum = ''; + if (ReactCurrentOwner.current) { + var mapsAsChildrenOwnerName = ReactCurrentOwner.current.getName(); + if (mapsAsChildrenOwnerName) { + mapsAsChildrenAddendum = ' Check the render method of `' + mapsAsChildrenOwnerName + '`.'; + } + } + process.env.NODE_ENV !== 'production' ? warning(didWarnAboutMaps, 'Using Maps as children is not yet fully supported. It is an ' + 'experimental feature that might be removed. Convert it to a ' + 'sequence / iterable of keyed ReactElements instead.%s', mapsAsChildrenAddendum) : void 0; + didWarnAboutMaps = true; + } + // Iterator will provide entry [k,v] tuples rather than values. + while (!(step = iterator.next()).done) { + var entry = step.value; + if (entry) { + child = entry[1]; + nextName = nextNamePrefix + KeyEscapeUtils.escape(entry[0]) + SUBSEPARATOR + getComponentKey(child, 0); + subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); + } + } + } + } else if (type === 'object') { + var addendum = ''; if (false) { - // We allow auto-mocks to proceed as if they're returning null. - if (initialState === undefined && this.getInitialState._isMockFunction) { - // This is probably bad practice. Consider warning here and - // deprecating this convenience. - initialState = null; + addendum = ' If you meant to render a collection of children, use an array ' + 'instead or wrap the object using createFragment(object) from the ' + 'React add-ons.'; + if (children._isReactElement) { + addendum = " It looks like you're using an element created by a different " + 'version of React. Make sure to use only one copy of React.'; + } + if (ReactCurrentOwner.current) { + var name = ReactCurrentOwner.current.getName(); + if (name) { + addendum += ' Check the render method of `' + name + '`.'; + } } } - !(typeof initialState === 'object' && !Array.isArray(initialState)) ? false ? invariant(false, '%s.getInitialState(): must return an object or null', Constructor.displayName || 'ReactCompositeComponent') : _prodInvariant('82', Constructor.displayName || 'ReactCompositeComponent') : void 0; - - this.state = initialState; - }); - Constructor.prototype = new ReactClassComponent(); - Constructor.prototype.constructor = Constructor; - Constructor.prototype.__reactAutoBindPairs = []; - - injectedMixins.forEach(mixSpecIntoComponent.bind(null, Constructor)); + var childrenString = String(children); + true ? false ? invariant(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : _prodInvariant('31', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : void 0; + } + } - mixSpecIntoComponent(Constructor, spec); + return subtreeCount; + } - // Initialize the defaultProps property after all mixins have been merged. - if (Constructor.getDefaultProps) { - Constructor.defaultProps = Constructor.getDefaultProps(); - } + /** + * Traverses children that are typically specified as `props.children`, but + * might also be specified through attributes: + * + * - `traverseAllChildren(this.props.children, ...)` + * - `traverseAllChildren(this.props.leftPanelChildren, ...)` + * + * The `traverseContext` is an optional argument that is passed through the + * entire traversal. It can be used to store accumulations or anything else that + * the callback might find relevant. + * + * @param {?*} children Children tree object. + * @param {!function} callback To invoke upon traversing each child. + * @param {?*} traverseContext Context for traversal. + * @return {!number} The number of children in this subtree. + */ + function traverseAllChildren(children, callback, traverseContext) { + if (children == null) { + return 0; + } - if (false) { - // This is a tag to indicate that the use of these method names is ok, - // since it's used with createClass. If it's not, then it's likely a - // mistake so we'll warn you to use the static property, property - // initializer or constructor respectively. - if (Constructor.getDefaultProps) { - Constructor.getDefaultProps.isReactClassApproved = {}; - } - if (Constructor.prototype.getInitialState) { - Constructor.prototype.getInitialState.isReactClassApproved = {}; - } - } + return traverseAllChildrenImpl(children, '', callback, traverseContext); + } - !Constructor.prototype.render ? false ? invariant(false, 'createClass(...): Class specification must implement a `render` method.') : _prodInvariant('83') : void 0; + module.exports = traverseAllChildren; + +/***/ }), +/* 21 */ +/***/ (function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * + */ - if (false) { - process.env.NODE_ENV !== 'production' ? warning(!Constructor.prototype.componentShouldUpdate, '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', spec.displayName || 'A component') : void 0; - process.env.NODE_ENV !== 'production' ? warning(!Constructor.prototype.componentWillRecieveProps, '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', spec.displayName || 'A component') : void 0; - } + 'use strict'; - // Reduce time spent doing lookups by setting these on the prototype. - for (var methodName in ReactClassInterface) { - if (!Constructor.prototype[methodName]) { - Constructor.prototype[methodName] = null; - } - } + /* global Symbol */ - return Constructor; - }, + var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator; + var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec. - injection: { - injectMixin: function (mixin) { - injectedMixins.push(mixin); - } + /** + * Returns the iterator method function contained on the iterable object. + * + * Be sure to invoke the function with the iterable as context: + * + * var iteratorFn = getIteratorFn(myIterable); + * if (iteratorFn) { + * var iterator = iteratorFn.call(myIterable); + * ... + * } + * + * @param {?object} maybeIterable + * @return {?function} + */ + function getIteratorFn(maybeIterable) { + var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]); + if (typeof iteratorFn === 'function') { + return iteratorFn; } + } - }; - - module.exports = ReactClass; + module.exports = getIteratorFn; -/***/ }, -/* 24 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 22 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -3691,21 +3057,55 @@ 'use strict'; - var ReactPropTypeLocationNames = {}; + /** + * Escape and wrap key so it is safe to use as a reactid + * + * @param {string} key to be escaped. + * @return {string} the escaped key. + */ - if (false) { - ReactPropTypeLocationNames = { - prop: 'prop', - context: 'context', - childContext: 'child context' + function escape(key) { + var escapeRegex = /[=:]/g; + var escaperLookup = { + '=': '=0', + ':': '=2' + }; + var escapedString = ('' + key).replace(escapeRegex, function (match) { + return escaperLookup[match]; + }); + + return '$' + escapedString; + } + + /** + * Unescape and unwrap key for human-readable display + * + * @param {string} key to unescape. + * @return {string} the unescaped key. + */ + function unescape(key) { + var unescapeRegex = /(=0|=2)/g; + var unescaperLookup = { + '=0': '=', + '=2': ':' }; + var keySubstring = key[0] === '.' && key[1] === '$' ? key.substring(2) : key.substring(1); + + return ('' + keySubstring).replace(unescapeRegex, function (match) { + return unescaperLookup[match]; + }); } - module.exports = ReactPropTypeLocationNames; + var KeyEscapeUtils = { + escape: escape, + unescape: unescape + }; + + module.exports = KeyEscapeUtils; -/***/ }, -/* 25 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 23 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -3719,7 +3119,7 @@ 'use strict'; - var ReactElement = __webpack_require__(10); + var ReactElement = __webpack_require__(17); /** * Create a factory that creates HTML tag elements. @@ -3734,7 +3134,6 @@ /** * Creates a mapping from supported HTML tags to `ReactDOMComponent` classes. - * This is also accessible via `React.DOM`. * * @public */ @@ -3877,9 +3276,9 @@ module.exports = ReactDOMFactories; -/***/ }, -/* 26 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 24 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -3893,16 +3292,16 @@ 'use strict'; - var _require = __webpack_require__(10), + var _require = __webpack_require__(17), isValidElement = _require.isValidElement; - var factory = __webpack_require__(27); + var factory = __webpack_require__(25); module.exports = factory(isValidElement); -/***/ }, -/* 27 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 25 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -3919,7 +3318,7 @@ // Therefore we re-export development-only version with all the PropTypes checks here. // However if one is migrating to the `prop-types` npm library, they will go through the // `index.js` entry point, and it will branch depending on the environment. - var factory = __webpack_require__(28); + var factory = __webpack_require__(26); module.exports = function(isValidElement) { // It is still allowed in 15.5. var throwOnDirectAccess = false; @@ -3927,9 +3326,9 @@ }; -/***/ }, -/* 28 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 26 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -3942,12 +3341,12 @@ 'use strict'; - var emptyFunction = __webpack_require__(13); - var invariant = __webpack_require__(9); - var warning = __webpack_require__(12); + var emptyFunction = __webpack_require__(10); + var invariant = __webpack_require__(13); + var warning = __webpack_require__(9); - var ReactPropTypesSecret = __webpack_require__(29); - var checkPropTypes = __webpack_require__(30); + var ReactPropTypesSecret = __webpack_require__(27); + var checkPropTypes = __webpack_require__(28); module.exports = function(isValidElement, throwOnDirectAccess) { /* global Symbol */ @@ -4445,9 +3844,9 @@ }; -/***/ }, -/* 29 */ -/***/ function(module, exports) { +/***/ }), +/* 27 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -4465,9 +3864,9 @@ module.exports = ReactPropTypesSecret; -/***/ }, -/* 30 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 28 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -4532,9 +3931,54 @@ module.exports = checkPropTypes; -/***/ }, +/***/ }), +/* 29 */ +/***/ (function(module, exports) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + module.exports = '15.6.1'; + +/***/ }), +/* 30 */ +/***/ (function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var _require = __webpack_require__(6), + Component = _require.Component; + + var _require2 = __webpack_require__(17), + isValidElement = _require2.isValidElement; + + var ReactNoopUpdateQueue = __webpack_require__(8); + var factory = __webpack_require__(31); + + module.exports = factory(Component, isValidElement, ReactNoopUpdateQueue); + +/***/ }), /* 31 */ -/***/ function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -4548,11 +3992,871 @@ 'use strict'; - module.exports = '15.5.1'; + var _assign = __webpack_require__(5); + + var emptyObject = __webpack_require__(12); + var _invariant = __webpack_require__(13); + + if (false) { + var warning = require('fbjs/lib/warning'); + } + + var MIXINS_KEY = 'mixins'; + + // Helper function to allow the creation of anonymous functions which do not + // have .name set to the name of the variable being assigned to. + function identity(fn) { + return fn; + } + + var ReactPropTypeLocationNames; + if (false) { + ReactPropTypeLocationNames = { + prop: 'prop', + context: 'context', + childContext: 'child context' + }; + } else { + ReactPropTypeLocationNames = {}; + } + + function factory(ReactComponent, isValidElement, ReactNoopUpdateQueue) { + /** + * Policies that describe methods in `ReactClassInterface`. + */ + + var injectedMixins = []; + + /** + * Composite components are higher-level components that compose other composite + * or host components. + * + * To create a new type of `ReactClass`, pass a specification of + * your new class to `React.createClass`. The only requirement of your class + * specification is that you implement a `render` method. + * + * var MyComponent = React.createClass({ + * render: function() { + * return
Hello World
; + * } + * }); + * + * The class specification supports a specific protocol of methods that have + * special meaning (e.g. `render`). See `ReactClassInterface` for + * more the comprehensive protocol. Any other properties and methods in the + * class specification will be available on the prototype. + * + * @interface ReactClassInterface + * @internal + */ + var ReactClassInterface = { + /** + * An array of Mixin objects to include when defining your component. + * + * @type {array} + * @optional + */ + mixins: 'DEFINE_MANY', + + /** + * An object containing properties and methods that should be defined on + * the component's constructor instead of its prototype (static methods). + * + * @type {object} + * @optional + */ + statics: 'DEFINE_MANY', + + /** + * Definition of prop types for this component. + * + * @type {object} + * @optional + */ + propTypes: 'DEFINE_MANY', + + /** + * Definition of context types for this component. + * + * @type {object} + * @optional + */ + contextTypes: 'DEFINE_MANY', + + /** + * Definition of context types this component sets for its children. + * + * @type {object} + * @optional + */ + childContextTypes: 'DEFINE_MANY', + + // ==== Definition methods ==== + + /** + * Invoked when the component is mounted. Values in the mapping will be set on + * `this.props` if that prop is not specified (i.e. using an `in` check). + * + * This method is invoked before `getInitialState` and therefore cannot rely + * on `this.state` or use `this.setState`. + * + * @return {object} + * @optional + */ + getDefaultProps: 'DEFINE_MANY_MERGED', + + /** + * Invoked once before the component is mounted. The return value will be used + * as the initial value of `this.state`. + * + * getInitialState: function() { + * return { + * isOn: false, + * fooBaz: new BazFoo() + * } + * } + * + * @return {object} + * @optional + */ + getInitialState: 'DEFINE_MANY_MERGED', + + /** + * @return {object} + * @optional + */ + getChildContext: 'DEFINE_MANY_MERGED', + + /** + * Uses props from `this.props` and state from `this.state` to render the + * structure of the component. + * + * No guarantees are made about when or how often this method is invoked, so + * it must not have side effects. + * + * render: function() { + * var name = this.props.name; + * return
Hello, {name}!
; + * } + * + * @return {ReactComponent} + * @required + */ + render: 'DEFINE_ONCE', + + // ==== Delegate methods ==== + + /** + * Invoked when the component is initially created and about to be mounted. + * This may have side effects, but any external subscriptions or data created + * by this method must be cleaned up in `componentWillUnmount`. + * + * @optional + */ + componentWillMount: 'DEFINE_MANY', + + /** + * Invoked when the component has been mounted and has a DOM representation. + * However, there is no guarantee that the DOM node is in the document. + * + * Use this as an opportunity to operate on the DOM when the component has + * been mounted (initialized and rendered) for the first time. + * + * @param {DOMElement} rootNode DOM element representing the component. + * @optional + */ + componentDidMount: 'DEFINE_MANY', + + /** + * Invoked before the component receives new props. + * + * Use this as an opportunity to react to a prop transition by updating the + * state using `this.setState`. Current props are accessed via `this.props`. + * + * componentWillReceiveProps: function(nextProps, nextContext) { + * this.setState({ + * likesIncreasing: nextProps.likeCount > this.props.likeCount + * }); + * } + * + * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop + * transition may cause a state change, but the opposite is not true. If you + * need it, you are probably looking for `componentWillUpdate`. + * + * @param {object} nextProps + * @optional + */ + componentWillReceiveProps: 'DEFINE_MANY', + + /** + * Invoked while deciding if the component should be updated as a result of + * receiving new props, state and/or context. + * + * Use this as an opportunity to `return false` when you're certain that the + * transition to the new props/state/context will not require a component + * update. + * + * shouldComponentUpdate: function(nextProps, nextState, nextContext) { + * return !equal(nextProps, this.props) || + * !equal(nextState, this.state) || + * !equal(nextContext, this.context); + * } + * + * @param {object} nextProps + * @param {?object} nextState + * @param {?object} nextContext + * @return {boolean} True if the component should update. + * @optional + */ + shouldComponentUpdate: 'DEFINE_ONCE', + + /** + * Invoked when the component is about to update due to a transition from + * `this.props`, `this.state` and `this.context` to `nextProps`, `nextState` + * and `nextContext`. + * + * Use this as an opportunity to perform preparation before an update occurs. + * + * NOTE: You **cannot** use `this.setState()` in this method. + * + * @param {object} nextProps + * @param {?object} nextState + * @param {?object} nextContext + * @param {ReactReconcileTransaction} transaction + * @optional + */ + componentWillUpdate: 'DEFINE_MANY', + + /** + * Invoked when the component's DOM representation has been updated. + * + * Use this as an opportunity to operate on the DOM when the component has + * been updated. + * + * @param {object} prevProps + * @param {?object} prevState + * @param {?object} prevContext + * @param {DOMElement} rootNode DOM element representing the component. + * @optional + */ + componentDidUpdate: 'DEFINE_MANY', + + /** + * Invoked when the component is about to be removed from its parent and have + * its DOM representation destroyed. + * + * Use this as an opportunity to deallocate any external resources. + * + * NOTE: There is no `componentDidUnmount` since your component will have been + * destroyed by that point. + * + * @optional + */ + componentWillUnmount: 'DEFINE_MANY', + + // ==== Advanced methods ==== + + /** + * Updates the component's currently mounted DOM representation. + * + * By default, this implements React's rendering and reconciliation algorithm. + * Sophisticated clients may wish to override this. + * + * @param {ReactReconcileTransaction} transaction + * @internal + * @overridable + */ + updateComponent: 'OVERRIDE_BASE' + }; + + /** + * Mapping from class specification keys to special processing functions. + * + * Although these are declared like instance properties in the specification + * when defining classes using `React.createClass`, they are actually static + * and are accessible on the constructor instead of the prototype. Despite + * being static, they must be defined outside of the "statics" key under + * which all other static methods are defined. + */ + var RESERVED_SPEC_KEYS = { + displayName: function(Constructor, displayName) { + Constructor.displayName = displayName; + }, + mixins: function(Constructor, mixins) { + if (mixins) { + for (var i = 0; i < mixins.length; i++) { + mixSpecIntoComponent(Constructor, mixins[i]); + } + } + }, + childContextTypes: function(Constructor, childContextTypes) { + if (false) { + validateTypeDef(Constructor, childContextTypes, 'childContext'); + } + Constructor.childContextTypes = _assign( + {}, + Constructor.childContextTypes, + childContextTypes + ); + }, + contextTypes: function(Constructor, contextTypes) { + if (false) { + validateTypeDef(Constructor, contextTypes, 'context'); + } + Constructor.contextTypes = _assign( + {}, + Constructor.contextTypes, + contextTypes + ); + }, + /** + * Special case getDefaultProps which should move into statics but requires + * automatic merging. + */ + getDefaultProps: function(Constructor, getDefaultProps) { + if (Constructor.getDefaultProps) { + Constructor.getDefaultProps = createMergedResultFunction( + Constructor.getDefaultProps, + getDefaultProps + ); + } else { + Constructor.getDefaultProps = getDefaultProps; + } + }, + propTypes: function(Constructor, propTypes) { + if (false) { + validateTypeDef(Constructor, propTypes, 'prop'); + } + Constructor.propTypes = _assign({}, Constructor.propTypes, propTypes); + }, + statics: function(Constructor, statics) { + mixStaticSpecIntoComponent(Constructor, statics); + }, + autobind: function() {} + }; + + function validateTypeDef(Constructor, typeDef, location) { + for (var propName in typeDef) { + if (typeDef.hasOwnProperty(propName)) { + // use a warning instead of an _invariant so components + // don't show up in prod but only in __DEV__ + if (false) { + warning( + typeof typeDef[propName] === 'function', + '%s: %s type `%s` is invalid; it must be a function, usually from ' + + 'React.PropTypes.', + Constructor.displayName || 'ReactClass', + ReactPropTypeLocationNames[location], + propName + ); + } + } + } + } + + function validateMethodOverride(isAlreadyDefined, name) { + var specPolicy = ReactClassInterface.hasOwnProperty(name) + ? ReactClassInterface[name] + : null; + + // Disallow overriding of base class methods unless explicitly allowed. + if (ReactClassMixin.hasOwnProperty(name)) { + _invariant( + specPolicy === 'OVERRIDE_BASE', + 'ReactClassInterface: You are attempting to override ' + + '`%s` from your class specification. Ensure that your method names ' + + 'do not overlap with React methods.', + name + ); + } + + // Disallow defining methods more than once unless explicitly allowed. + if (isAlreadyDefined) { + _invariant( + specPolicy === 'DEFINE_MANY' || specPolicy === 'DEFINE_MANY_MERGED', + 'ReactClassInterface: You are attempting to define ' + + '`%s` on your component more than once. This conflict may be due ' + + 'to a mixin.', + name + ); + } + } + + /** + * Mixin helper which handles policy validation and reserved + * specification keys when building React classes. + */ + function mixSpecIntoComponent(Constructor, spec) { + if (!spec) { + if (false) { + var typeofSpec = typeof spec; + var isMixinValid = typeofSpec === 'object' && spec !== null; + + if (process.env.NODE_ENV !== 'production') { + warning( + isMixinValid, + "%s: You're attempting to include a mixin that is either null " + + 'or not an object. Check the mixins included by the component, ' + + 'as well as any mixins they include themselves. ' + + 'Expected object but got %s.', + Constructor.displayName || 'ReactClass', + spec === null ? null : typeofSpec + ); + } + } + + return; + } + + _invariant( + typeof spec !== 'function', + "ReactClass: You're attempting to " + + 'use a component class or function as a mixin. Instead, just use a ' + + 'regular object.' + ); + _invariant( + !isValidElement(spec), + "ReactClass: You're attempting to " + + 'use a component as a mixin. Instead, just use a regular object.' + ); + + var proto = Constructor.prototype; + var autoBindPairs = proto.__reactAutoBindPairs; + + // By handling mixins before any other properties, we ensure the same + // chaining order is applied to methods with DEFINE_MANY policy, whether + // mixins are listed before or after these methods in the spec. + if (spec.hasOwnProperty(MIXINS_KEY)) { + RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins); + } + + for (var name in spec) { + if (!spec.hasOwnProperty(name)) { + continue; + } + + if (name === MIXINS_KEY) { + // We have already handled mixins in a special case above. + continue; + } + + var property = spec[name]; + var isAlreadyDefined = proto.hasOwnProperty(name); + validateMethodOverride(isAlreadyDefined, name); + + if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) { + RESERVED_SPEC_KEYS[name](Constructor, property); + } else { + // Setup methods on prototype: + // The following member methods should not be automatically bound: + // 1. Expected ReactClass methods (in the "interface"). + // 2. Overridden methods (that were mixed in). + var isReactClassMethod = ReactClassInterface.hasOwnProperty(name); + var isFunction = typeof property === 'function'; + var shouldAutoBind = + isFunction && + !isReactClassMethod && + !isAlreadyDefined && + spec.autobind !== false; + + if (shouldAutoBind) { + autoBindPairs.push(name, property); + proto[name] = property; + } else { + if (isAlreadyDefined) { + var specPolicy = ReactClassInterface[name]; + + // These cases should already be caught by validateMethodOverride. + _invariant( + isReactClassMethod && + (specPolicy === 'DEFINE_MANY_MERGED' || + specPolicy === 'DEFINE_MANY'), + 'ReactClass: Unexpected spec policy %s for key %s ' + + 'when mixing in component specs.', + specPolicy, + name + ); + + // For methods which are defined more than once, call the existing + // methods before calling the new property, merging if appropriate. + if (specPolicy === 'DEFINE_MANY_MERGED') { + proto[name] = createMergedResultFunction(proto[name], property); + } else if (specPolicy === 'DEFINE_MANY') { + proto[name] = createChainedFunction(proto[name], property); + } + } else { + proto[name] = property; + if (false) { + // Add verbose displayName to the function, which helps when looking + // at profiling tools. + if (typeof property === 'function' && spec.displayName) { + proto[name].displayName = spec.displayName + '_' + name; + } + } + } + } + } + } + } + + function mixStaticSpecIntoComponent(Constructor, statics) { + if (!statics) { + return; + } + for (var name in statics) { + var property = statics[name]; + if (!statics.hasOwnProperty(name)) { + continue; + } + + var isReserved = name in RESERVED_SPEC_KEYS; + _invariant( + !isReserved, + 'ReactClass: You are attempting to define a reserved ' + + 'property, `%s`, that shouldn\'t be on the "statics" key. Define it ' + + 'as an instance property instead; it will still be accessible on the ' + + 'constructor.', + name + ); + + var isInherited = name in Constructor; + _invariant( + !isInherited, + 'ReactClass: You are attempting to define ' + + '`%s` on your component more than once. This conflict may be ' + + 'due to a mixin.', + name + ); + Constructor[name] = property; + } + } + + /** + * Merge two objects, but throw if both contain the same key. + * + * @param {object} one The first object, which is mutated. + * @param {object} two The second object + * @return {object} one after it has been mutated to contain everything in two. + */ + function mergeIntoWithNoDuplicateKeys(one, two) { + _invariant( + one && two && typeof one === 'object' && typeof two === 'object', + 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.' + ); + + for (var key in two) { + if (two.hasOwnProperty(key)) { + _invariant( + one[key] === undefined, + 'mergeIntoWithNoDuplicateKeys(): ' + + 'Tried to merge two objects with the same key: `%s`. This conflict ' + + 'may be due to a mixin; in particular, this may be caused by two ' + + 'getInitialState() or getDefaultProps() methods returning objects ' + + 'with clashing keys.', + key + ); + one[key] = two[key]; + } + } + return one; + } + + /** + * Creates a function that invokes two functions and merges their return values. + * + * @param {function} one Function to invoke first. + * @param {function} two Function to invoke second. + * @return {function} Function that invokes the two argument functions. + * @private + */ + function createMergedResultFunction(one, two) { + return function mergedResult() { + var a = one.apply(this, arguments); + var b = two.apply(this, arguments); + if (a == null) { + return b; + } else if (b == null) { + return a; + } + var c = {}; + mergeIntoWithNoDuplicateKeys(c, a); + mergeIntoWithNoDuplicateKeys(c, b); + return c; + }; + } + + /** + * Creates a function that invokes two functions and ignores their return vales. + * + * @param {function} one Function to invoke first. + * @param {function} two Function to invoke second. + * @return {function} Function that invokes the two argument functions. + * @private + */ + function createChainedFunction(one, two) { + return function chainedFunction() { + one.apply(this, arguments); + two.apply(this, arguments); + }; + } + + /** + * Binds a method to the component. + * + * @param {object} component Component whose method is going to be bound. + * @param {function} method Method to be bound. + * @return {function} The bound method. + */ + function bindAutoBindMethod(component, method) { + var boundMethod = method.bind(component); + if (false) { + boundMethod.__reactBoundContext = component; + boundMethod.__reactBoundMethod = method; + boundMethod.__reactBoundArguments = null; + var componentName = component.constructor.displayName; + var _bind = boundMethod.bind; + boundMethod.bind = function(newThis) { + for ( + var _len = arguments.length, + args = Array(_len > 1 ? _len - 1 : 0), + _key = 1; + _key < _len; + _key++ + ) { + args[_key - 1] = arguments[_key]; + } + + // User is trying to bind() an autobound method; we effectively will + // ignore the value of "this" that the user is trying to use, so + // let's warn. + if (newThis !== component && newThis !== null) { + if (process.env.NODE_ENV !== 'production') { + warning( + false, + 'bind(): React component methods may only be bound to the ' + + 'component instance. See %s', + componentName + ); + } + } else if (!args.length) { + if (process.env.NODE_ENV !== 'production') { + warning( + false, + 'bind(): You are binding a component method to the component. ' + + 'React does this for you automatically in a high-performance ' + + 'way, so you can safely remove this call. See %s', + componentName + ); + } + return boundMethod; + } + var reboundMethod = _bind.apply(boundMethod, arguments); + reboundMethod.__reactBoundContext = component; + reboundMethod.__reactBoundMethod = method; + reboundMethod.__reactBoundArguments = args; + return reboundMethod; + }; + } + return boundMethod; + } + + /** + * Binds all auto-bound methods in a component. + * + * @param {object} component Component whose method is going to be bound. + */ + function bindAutoBindMethods(component) { + var pairs = component.__reactAutoBindPairs; + for (var i = 0; i < pairs.length; i += 2) { + var autoBindKey = pairs[i]; + var method = pairs[i + 1]; + component[autoBindKey] = bindAutoBindMethod(component, method); + } + } + + var IsMountedPreMixin = { + componentDidMount: function() { + this.__isMounted = true; + } + }; + + var IsMountedPostMixin = { + componentWillUnmount: function() { + this.__isMounted = false; + } + }; + + /** + * Add more to the ReactClass base class. These are all legacy features and + * therefore not already part of the modern ReactComponent. + */ + var ReactClassMixin = { + /** + * TODO: This will be deprecated because state should always keep a consistent + * type signature and the only use case for this, is to avoid that. + */ + replaceState: function(newState, callback) { + this.updater.enqueueReplaceState(this, newState, callback); + }, + + /** + * Checks whether or not this composite component is mounted. + * @return {boolean} True if mounted, false otherwise. + * @protected + * @final + */ + isMounted: function() { + if (false) { + warning( + this.__didWarnIsMounted, + '%s: isMounted is deprecated. Instead, make sure to clean up ' + + 'subscriptions and pending requests in componentWillUnmount to ' + + 'prevent memory leaks.', + (this.constructor && this.constructor.displayName) || + this.name || + 'Component' + ); + this.__didWarnIsMounted = true; + } + return !!this.__isMounted; + } + }; + + var ReactClassComponent = function() {}; + _assign( + ReactClassComponent.prototype, + ReactComponent.prototype, + ReactClassMixin + ); + + /** + * Creates a composite component class given a class specification. + * See https://facebook.github.io/react/docs/top-level-api.html#react.createclass + * + * @param {object} spec Class specification (which must define `render`). + * @return {function} Component constructor function. + * @public + */ + function createClass(spec) { + // To keep our warnings more understandable, we'll use a little hack here to + // ensure that Constructor.name !== 'Constructor'. This makes sure we don't + // unnecessarily identify a class without displayName as 'Constructor'. + var Constructor = identity(function(props, context, updater) { + // This constructor gets overridden by mocks. The argument is used + // by mocks to assert on what gets mounted. + + if (false) { + warning( + this instanceof Constructor, + 'Something is calling a React component directly. Use a factory or ' + + 'JSX instead. See: https://fb.me/react-legacyfactory' + ); + } + + // Wire up auto-binding + if (this.__reactAutoBindPairs.length) { + bindAutoBindMethods(this); + } + + this.props = props; + this.context = context; + this.refs = emptyObject; + this.updater = updater || ReactNoopUpdateQueue; + + this.state = null; + + // ReactClasses doesn't have constructors. Instead, they use the + // getInitialState and componentWillMount methods for initialization. + + var initialState = this.getInitialState ? this.getInitialState() : null; + if (false) { + // We allow auto-mocks to proceed as if they're returning null. + if ( + initialState === undefined && + this.getInitialState._isMockFunction + ) { + // This is probably bad practice. Consider warning here and + // deprecating this convenience. + initialState = null; + } + } + _invariant( + typeof initialState === 'object' && !Array.isArray(initialState), + '%s.getInitialState(): must return an object or null', + Constructor.displayName || 'ReactCompositeComponent' + ); + + this.state = initialState; + }); + Constructor.prototype = new ReactClassComponent(); + Constructor.prototype.constructor = Constructor; + Constructor.prototype.__reactAutoBindPairs = []; + + injectedMixins.forEach(mixSpecIntoComponent.bind(null, Constructor)); + + mixSpecIntoComponent(Constructor, IsMountedPreMixin); + mixSpecIntoComponent(Constructor, spec); + mixSpecIntoComponent(Constructor, IsMountedPostMixin); + + // Initialize the defaultProps property after all mixins have been merged. + if (Constructor.getDefaultProps) { + Constructor.defaultProps = Constructor.getDefaultProps(); + } + + if (false) { + // This is a tag to indicate that the use of these method names is ok, + // since it's used with createClass. If it's not, then it's likely a + // mistake so we'll warn you to use the static property, property + // initializer or constructor respectively. + if (Constructor.getDefaultProps) { + Constructor.getDefaultProps.isReactClassApproved = {}; + } + if (Constructor.prototype.getInitialState) { + Constructor.prototype.getInitialState.isReactClassApproved = {}; + } + } + + _invariant( + Constructor.prototype.render, + 'createClass(...): Class specification must implement a `render` method.' + ); + + if (false) { + warning( + !Constructor.prototype.componentShouldUpdate, + '%s has a method called ' + + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + + 'The name is phrased as a question because the function is ' + + 'expected to return a value.', + spec.displayName || 'A component' + ); + warning( + !Constructor.prototype.componentWillRecieveProps, + '%s has a method called ' + + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', + spec.displayName || 'A component' + ); + } + + // Reduce time spent doing lookups by setting these on the prototype. + for (var methodName in ReactClassInterface) { + if (!Constructor.prototype[methodName]) { + Constructor.prototype[methodName] = null; + } + } + + return Constructor; + } + + return createClass; + } + + module.exports = factory; -/***/ }, + +/***/ }), /* 32 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -4565,11 +4869,11 @@ */ 'use strict'; - var _prodInvariant = __webpack_require__(8); + var _prodInvariant = __webpack_require__(7); - var ReactElement = __webpack_require__(10); + var ReactElement = __webpack_require__(17); - var invariant = __webpack_require__(9); + var invariant = __webpack_require__(13); /** * Returns the first child in a collection of children and verifies that there @@ -4592,18 +4896,18 @@ module.exports = onlyChild; -/***/ }, +/***/ }), /* 33 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { 'use strict'; module.exports = __webpack_require__(34); -/***/ }, +/***/ }), /* 34 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -4621,15 +4925,15 @@ var ReactDOMComponentTree = __webpack_require__(35); var ReactDefaultInjection = __webpack_require__(39); - var ReactMount = __webpack_require__(162); + var ReactMount = __webpack_require__(163); var ReactReconciler = __webpack_require__(60); var ReactUpdates = __webpack_require__(57); - var ReactVersion = __webpack_require__(167); + var ReactVersion = __webpack_require__(168); - var findDOMNode = __webpack_require__(168); - var getHostComponentFromComposite = __webpack_require__(169); - var renderSubtreeIntoContainer = __webpack_require__(170); - var warning = __webpack_require__(12); + var findDOMNode = __webpack_require__(169); + var getHostComponentFromComposite = __webpack_require__(170); + var renderSubtreeIntoContainer = __webpack_require__(171); + var warning = __webpack_require__(9); ReactDefaultInjection.inject(); @@ -4642,6 +4946,7 @@ /* eslint-disable camelcase */ unstable_batchedUpdates: ReactUpdates.batchedUpdates, unstable_renderSubtreeIntoContainer: renderSubtreeIntoContainer + /* eslint-enable camelcase */ }; // Inject the runtime into a devtools global hook regardless of browser. @@ -4670,7 +4975,6 @@ if (false) { var ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment'); if (ExecutionEnvironment.canUseDOM && window.top === window.self) { - // First check if devtools is not installed if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined') { // If we're in Chrome or Firefox, provide a download link if not installed. @@ -4682,7 +4986,7 @@ } var testFunc = function testFn() {}; - process.env.NODE_ENV !== 'production' ? warning((testFunc.name || testFunc.toString()).indexOf('testFn') !== -1, 'It looks like you\'re using a minified copy of the development build ' + 'of React. When deploying React apps to production, make sure to use ' + 'the production build which skips development warnings and is faster. ' + 'See https://fb.me/react-minification for more details.') : void 0; + process.env.NODE_ENV !== 'production' ? warning((testFunc.name || testFunc.toString()).indexOf('testFn') !== -1, "It looks like you're using a minified copy of the development build " + 'of React. When deploying React apps to production, make sure to use ' + 'the production build which skips development warnings and is faster. ' + 'See https://fb.me/react-minification for more details.') : void 0; // If we're in IE8, check to see if we are in compatibility mode and provide // information on preventing compatibility mode @@ -4716,9 +5020,9 @@ module.exports = ReactDOM; -/***/ }, +/***/ }), /* 35 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -4737,7 +5041,7 @@ var DOMProperty = __webpack_require__(37); var ReactDOMComponentFlags = __webpack_require__(38); - var invariant = __webpack_require__(9); + var invariant = __webpack_require__(13); var ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME; var Flags = ReactDOMComponentFlags; @@ -4915,9 +5219,9 @@ module.exports = ReactDOMComponentTree; -/***/ }, +/***/ }), /* 36 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -4958,9 +5262,9 @@ module.exports = reactProdInvariant; -/***/ }, +/***/ }), /* 37 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -4976,7 +5280,7 @@ var _prodInvariant = __webpack_require__(36); - var invariant = __webpack_require__(9); + var invariant = __webpack_require__(13); function checkMask(value, bitmask) { return (value & bitmask) === bitmask; @@ -5100,7 +5404,6 @@ * @see http://jsperf.com/key-missing */ var DOMProperty = { - ID_ATTRIBUTE_NAME: 'data-reactid', ROOT_ATTRIBUTE_NAME: 'data-reactroot', @@ -5172,9 +5475,9 @@ module.exports = DOMProperty; -/***/ }, +/***/ }), /* 38 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2015-present, Facebook, Inc. @@ -5194,9 +5497,9 @@ module.exports = ReactDOMComponentFlags; -/***/ }, +/***/ }), /* 39 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -5213,22 +5516,22 @@ var ARIADOMPropertyConfig = __webpack_require__(40); var BeforeInputEventPlugin = __webpack_require__(41); var ChangeEventPlugin = __webpack_require__(56); - var DefaultEventPluginOrder = __webpack_require__(68); - var EnterLeaveEventPlugin = __webpack_require__(69); - var HTMLDOMPropertyConfig = __webpack_require__(74); - var ReactComponentBrowserEnvironment = __webpack_require__(75); - var ReactDOMComponent = __webpack_require__(88); + var DefaultEventPluginOrder = __webpack_require__(69); + var EnterLeaveEventPlugin = __webpack_require__(70); + var HTMLDOMPropertyConfig = __webpack_require__(75); + var ReactComponentBrowserEnvironment = __webpack_require__(76); + var ReactDOMComponent = __webpack_require__(89); var ReactDOMComponentTree = __webpack_require__(35); - var ReactDOMEmptyComponent = __webpack_require__(133); - var ReactDOMTreeTraversal = __webpack_require__(134); - var ReactDOMTextComponent = __webpack_require__(135); - var ReactDefaultBatchingStrategy = __webpack_require__(136); - var ReactEventListener = __webpack_require__(137); - var ReactInjection = __webpack_require__(140); - var ReactReconcileTransaction = __webpack_require__(141); - var SVGDOMPropertyConfig = __webpack_require__(149); - var SelectEventPlugin = __webpack_require__(150); - var SimpleEventPlugin = __webpack_require__(151); + var ReactDOMEmptyComponent = __webpack_require__(134); + var ReactDOMTreeTraversal = __webpack_require__(135); + var ReactDOMTextComponent = __webpack_require__(136); + var ReactDefaultBatchingStrategy = __webpack_require__(137); + var ReactEventListener = __webpack_require__(138); + var ReactInjection = __webpack_require__(141); + var ReactReconcileTransaction = __webpack_require__(142); + var SVGDOMPropertyConfig = __webpack_require__(150); + var SelectEventPlugin = __webpack_require__(151); + var SimpleEventPlugin = __webpack_require__(152); var alreadyInjected = false; @@ -5284,9 +5587,9 @@ inject: inject }; -/***/ }, +/***/ }), /* 40 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -5362,9 +5665,9 @@ module.exports = ARIADOMPropertyConfig; -/***/ }, +/***/ }), /* 41 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present Facebook, Inc. @@ -5741,7 +6044,6 @@ * `composition` event types. */ var BeforeInputEventPlugin = { - eventTypes: eventTypes, extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) { @@ -5751,9 +6053,9 @@ module.exports = BeforeInputEventPlugin; -/***/ }, +/***/ }), /* 42 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -5772,7 +6074,7 @@ var accumulateInto = __webpack_require__(47); var forEachAccumulated = __webpack_require__(48); - var warning = __webpack_require__(12); + var warning = __webpack_require__(9); var getListener = EventPluginHub.getListener; @@ -5889,9 +6191,9 @@ module.exports = EventPropagators; -/***/ }, +/***/ }), /* 43 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -5913,7 +6215,7 @@ var accumulateInto = __webpack_require__(47); var forEachAccumulated = __webpack_require__(48); - var invariant = __webpack_require__(9); + var invariant = __webpack_require__(13); /** * Internal store for event listeners @@ -6000,12 +6302,10 @@ * @public */ var EventPluginHub = { - /** * Methods for injecting dependencies. */ injection: { - /** * @param {array} InjectedEventPluginOrder * @public @@ -6016,7 +6316,6 @@ * @param {object} injectedNamesToPlugins Map from names to plugin modules. */ injectEventPluginsByName: EventPluginRegistry.injectEventPluginsByName - }, /** @@ -6166,14 +6465,13 @@ __getListenerBank: function () { return listenerBank; } - }; module.exports = EventPluginHub; -/***/ }, +/***/ }), /* 44 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -6190,7 +6488,7 @@ var _prodInvariant = __webpack_require__(36); - var invariant = __webpack_require__(9); + var invariant = __webpack_require__(13); /** * Injectable ordering of event plugins. @@ -6285,7 +6583,6 @@ * @see {EventPluginHub} */ var EventPluginRegistry = { - /** * Ordered list of injected plugins. */ @@ -6425,14 +6722,13 @@ } } } - }; module.exports = EventPluginRegistry; -/***/ }, +/***/ }), /* 45 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -6450,8 +6746,8 @@ var ReactErrorUtils = __webpack_require__(46); - var invariant = __webpack_require__(9); - var warning = __webpack_require__(12); + var invariant = __webpack_require__(13); + var warning = __webpack_require__(9); /** * Injected dependencies: @@ -6660,9 +6956,9 @@ module.exports = EventPluginUtils; -/***/ }, +/***/ }), /* 46 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -6740,9 +7036,9 @@ module.exports = ReactErrorUtils; -/***/ }, +/***/ }), /* 47 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2014-present, Facebook, Inc. @@ -6759,7 +7055,7 @@ var _prodInvariant = __webpack_require__(36); - var invariant = __webpack_require__(9); + var invariant = __webpack_require__(13); /** * Accumulates items that must not be null or undefined into the first one. This @@ -6802,9 +7098,9 @@ module.exports = accumulateInto; -/***/ }, +/***/ }), /* 48 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -6837,9 +7133,9 @@ module.exports = forEachAccumulated; -/***/ }, +/***/ }), /* 49 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -6877,9 +7173,9 @@ module.exports = ExecutionEnvironment; -/***/ }, +/***/ }), /* 50 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -6976,9 +7272,9 @@ module.exports = FallbackCompositionState; -/***/ }, +/***/ }), /* 51 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -6995,7 +7291,7 @@ var _prodInvariant = __webpack_require__(36); - var invariant = __webpack_require__(9); + var invariant = __webpack_require__(13); /** * Static poolers. Several custom versions for each potential number of @@ -7092,9 +7388,9 @@ module.exports = PooledClass; -/***/ }, +/***/ }), /* 52 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -7129,9 +7425,9 @@ module.exports = getTextContentAccessor; -/***/ }, +/***/ }), /* 53 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -7169,9 +7465,9 @@ module.exports = SyntheticCompositionEvent; -/***/ }, +/***/ }), /* 54 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -7189,8 +7485,8 @@ var PooledClass = __webpack_require__(51); - var emptyFunction = __webpack_require__(13); - var warning = __webpack_require__(12); + var emptyFunction = __webpack_require__(10); + var warning = __webpack_require__(9); var didWarnForAddedNewProperty = false; var isProxySupported = typeof Proxy === 'function'; @@ -7277,7 +7573,6 @@ } _assign(SyntheticEvent.prototype, { - preventDefault: function () { this.defaultPrevented = true; var event = this.nativeEvent; @@ -7287,8 +7582,8 @@ if (event.preventDefault) { event.preventDefault(); + // eslint-disable-next-line valid-typeof } else if (typeof event.returnValue !== 'unknown') { - // eslint-disable-line valid-typeof event.returnValue = false; } this.isDefaultPrevented = emptyFunction.thatReturnsTrue; @@ -7302,8 +7597,8 @@ if (event.stopPropagation) { event.stopPropagation(); + // eslint-disable-next-line valid-typeof } else if (typeof event.cancelBubble !== 'unknown') { - // eslint-disable-line valid-typeof // The ChangeEventPlugin registers a "propertychange" event for // IE. This event does not support bubbling or cancelling, and // any references to cancelBubble throw "Member not found". A @@ -7352,7 +7647,6 @@ Object.defineProperty(this, 'stopPropagation', getPooledWarningPropertyDefinition('stopPropagation', emptyFunction)); } } - }); SyntheticEvent.Interface = EventInterface; @@ -7368,7 +7662,7 @@ return new Proxy(constructor.apply(that, args), { set: function (target, prop, value) { if (prop !== 'isPersistent' && !target.constructor.Interface.hasOwnProperty(prop) && shouldBeReleasedProperties.indexOf(prop) === -1) { - process.env.NODE_ENV !== 'production' ? warning(didWarnForAddedNewProperty || target.isPersistent(), 'This synthetic event is reused for performance reasons. If you\'re ' + 'seeing this, you\'re adding a new property in the synthetic event object. ' + 'The property is never released. See ' + 'https://fb.me/react-event-pooling for more information.') : void 0; + process.env.NODE_ENV !== 'production' ? warning(didWarnForAddedNewProperty || target.isPersistent(), "This synthetic event is reused for performance reasons. If you're " + "seeing this, you're adding a new property in the synthetic event object. " + 'The property is never released. See ' + 'https://fb.me/react-event-pooling for more information.') : void 0; didWarnForAddedNewProperty = true; } target[prop] = value; @@ -7437,13 +7731,13 @@ function warn(action, result) { var warningCondition = false; - false ? warning(warningCondition, 'This synthetic event is reused for performance reasons. If you\'re seeing this, ' + 'you\'re %s `%s` on a released/nullified synthetic event. %s. ' + 'If you must keep the original synthetic event around, use event.persist(). ' + 'See https://fb.me/react-event-pooling for more information.', action, propName, result) : void 0; + false ? warning(warningCondition, "This synthetic event is reused for performance reasons. If you're seeing this, " + "you're %s `%s` on a released/nullified synthetic event. %s. " + 'If you must keep the original synthetic event around, use event.persist(). ' + 'See https://fb.me/react-event-pooling for more information.', action, propName, result) : void 0; } } -/***/ }, +/***/ }), /* 55 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -7482,9 +7776,9 @@ module.exports = SyntheticInputEvent; -/***/ }, +/***/ }), /* 56 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -7505,9 +7799,10 @@ var ReactUpdates = __webpack_require__(57); var SyntheticEvent = __webpack_require__(54); - var getEventTarget = __webpack_require__(65); - var isEventSupported = __webpack_require__(66); - var isTextInputElement = __webpack_require__(67); + var inputValueTracking = __webpack_require__(65); + var getEventTarget = __webpack_require__(66); + var isEventSupported = __webpack_require__(67); + var isTextInputElement = __webpack_require__(68); var eventTypes = { change: { @@ -7519,13 +7814,17 @@ } }; + function createAndAccumulateChangeEvent(inst, nativeEvent, target) { + var event = SyntheticEvent.getPooled(eventTypes.change, inst, nativeEvent, target); + event.type = 'change'; + EventPropagators.accumulateTwoPhaseDispatches(event); + return event; + } /** * For IE shims */ var activeElement = null; var activeElementInst = null; - var activeElementValue = null; - var activeElementValueProp = null; /** * SECTION: handle `change` event @@ -7542,8 +7841,7 @@ } function manualDispatchChangeEvent(nativeEvent) { - var event = SyntheticEvent.getPooled(eventTypes.change, activeElementInst, nativeEvent, getEventTarget(nativeEvent)); - EventPropagators.accumulateTwoPhaseDispatches(event); + var event = createAndAccumulateChangeEvent(activeElementInst, nativeEvent, getEventTarget(nativeEvent)); // If change and propertychange bubbled, we'd just bind to it like all the // other events and have it go through ReactBrowserEventEmitter. Since it @@ -7579,11 +7877,21 @@ activeElementInst = null; } + function getInstIfValueChanged(targetInst, nativeEvent) { + var updated = inputValueTracking.updateValueIfChanged(targetInst); + var simulated = nativeEvent.simulated === true && ChangeEventPlugin._allowSimulatedPassThrough; + + if (updated || simulated) { + return targetInst; + } + } + function getTargetInstForChangeEvent(topLevelType, targetInst) { if (topLevelType === 'topChange') { return targetInst; } } + function handleEventsForChangeEventIE8(topLevelType, target, targetInst) { if (topLevelType === 'topFocus') { // stopWatching() should be a noop here but we call it just in case we @@ -7602,105 +7910,54 @@ if (ExecutionEnvironment.canUseDOM) { // IE9 claims to support the input event but fails to trigger it when // deleting text, so we ignore its input events. - // IE10+ fire input events to often, such when a placeholder - // changes or when an input with a placeholder is focused. - isInputEventSupported = isEventSupported('input') && (!document.documentMode || document.documentMode > 11); - } - /** - * (For IE <=11) Replacement getter/setter for the `value` property that gets - * set on the active element. - */ - var newValueProp = { - get: function () { - return activeElementValueProp.get.call(this); - }, - set: function (val) { - // Cast to a string so we can do equality checks. - activeElementValue = '' + val; - activeElementValueProp.set.call(this, val); - } - }; + isInputEventSupported = isEventSupported('input') && (!('documentMode' in document) || document.documentMode > 9); + } /** - * (For IE <=11) Starts tracking propertychange events on the passed-in element + * (For IE <=9) Starts tracking propertychange events on the passed-in element * and override the value property so that we can distinguish user events from * value changes in JS. */ function startWatchingForValueChange(target, targetInst) { activeElement = target; activeElementInst = targetInst; - activeElementValue = target.value; - activeElementValueProp = Object.getOwnPropertyDescriptor(target.constructor.prototype, 'value'); - - // Not guarded in a canDefineProperty check: IE8 supports defineProperty only - // on DOM elements - Object.defineProperty(activeElement, 'value', newValueProp); - if (activeElement.attachEvent) { - activeElement.attachEvent('onpropertychange', handlePropertyChange); - } else { - activeElement.addEventListener('propertychange', handlePropertyChange, false); - } + activeElement.attachEvent('onpropertychange', handlePropertyChange); } /** - * (For IE <=11) Removes the event listeners from the currently-tracked element, + * (For IE <=9) Removes the event listeners from the currently-tracked element, * if any exists. */ function stopWatchingForValueChange() { if (!activeElement) { return; } - - // delete restores the original property definition - delete activeElement.value; - - if (activeElement.detachEvent) { - activeElement.detachEvent('onpropertychange', handlePropertyChange); - } else { - activeElement.removeEventListener('propertychange', handlePropertyChange, false); - } + activeElement.detachEvent('onpropertychange', handlePropertyChange); activeElement = null; activeElementInst = null; - activeElementValue = null; - activeElementValueProp = null; } /** - * (For IE <=11) Handles a propertychange event, sending a `change` event if + * (For IE <=9) Handles a propertychange event, sending a `change` event if * the value of the active element has changed. */ function handlePropertyChange(nativeEvent) { if (nativeEvent.propertyName !== 'value') { return; } - var value = nativeEvent.srcElement.value; - if (value === activeElementValue) { - return; - } - activeElementValue = value; - - manualDispatchChangeEvent(nativeEvent); - } - - /** - * If a `change` event should be fired, returns the target's ID. - */ - function getTargetInstForInputEvent(topLevelType, targetInst) { - if (topLevelType === 'topInput') { - // In modern browsers (i.e., not IE8 or IE9), the input event is exactly - // what we want so fall through here and trigger an abstract event - return targetInst; + if (getInstIfValueChanged(activeElementInst, nativeEvent)) { + manualDispatchChangeEvent(nativeEvent); } } - function handleEventsForInputEventIE(topLevelType, target, targetInst) { + function handleEventsForInputEventPolyfill(topLevelType, target, targetInst) { if (topLevelType === 'topFocus') { // In IE8, we can capture almost all .value changes by adding a // propertychange handler and looking for events with propertyName // equal to 'value' - // In IE9-11, propertychange fires for most input events but is buggy and + // In IE9, propertychange fires for most input events but is buggy and // doesn't fire when text is deleted, but conveniently, selectionchange // appears to fire in all of the remaining cases so we catch those and // forward the event if the value has changed @@ -7718,7 +7975,7 @@ } // For IE8 and IE9. - function getTargetInstForInputEventIE(topLevelType, targetInst) { + function getTargetInstForInputEventPolyfill(topLevelType, targetInst, nativeEvent) { if (topLevelType === 'topSelectionChange' || topLevelType === 'topKeyUp' || topLevelType === 'topKeyDown') { // On the selectionchange event, the target is just document which isn't // helpful for us so just check activeElement instead. @@ -7730,10 +7987,7 @@ // keystroke if user does a key repeat (it'll be a little delayed: right // before the second keystroke). Other input methods (e.g., paste) seem to // fire selectionchange normally. - if (activeElement && activeElement.value !== activeElementValue) { - activeElementValue = activeElement.value; - return activeElementInst; - } + return getInstIfValueChanged(activeElementInst, nativeEvent); } } @@ -7744,12 +7998,19 @@ // Use the `click` event to detect changes to checkbox and radio inputs. // This approach works across all browsers, whereas `change` does not fire // until `blur` in IE8. - return elem.nodeName && elem.nodeName.toLowerCase() === 'input' && (elem.type === 'checkbox' || elem.type === 'radio'); + var nodeName = elem.nodeName; + return nodeName && nodeName.toLowerCase() === 'input' && (elem.type === 'checkbox' || elem.type === 'radio'); } - function getTargetInstForClickEvent(topLevelType, targetInst) { + function getTargetInstForClickEvent(topLevelType, targetInst, nativeEvent) { if (topLevelType === 'topClick') { - return targetInst; + return getInstIfValueChanged(targetInst, nativeEvent); + } + } + + function getTargetInstForInputOrChangeEvent(topLevelType, targetInst, nativeEvent) { + if (topLevelType === 'topInput' || topLevelType === 'topChange') { + return getInstIfValueChanged(targetInst, nativeEvent); } } @@ -7784,9 +8045,11 @@ * - select */ var ChangeEventPlugin = { - eventTypes: eventTypes, + _allowSimulatedPassThrough: true, + _isInputEventSupported: isInputEventSupported, + extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) { var targetNode = targetInst ? ReactDOMComponentTree.getNodeFromInstance(targetInst) : window; @@ -7799,21 +8062,19 @@ } } else if (isTextInputElement(targetNode)) { if (isInputEventSupported) { - getTargetInstFunc = getTargetInstForInputEvent; + getTargetInstFunc = getTargetInstForInputOrChangeEvent; } else { - getTargetInstFunc = getTargetInstForInputEventIE; - handleEventFunc = handleEventsForInputEventIE; + getTargetInstFunc = getTargetInstForInputEventPolyfill; + handleEventFunc = handleEventsForInputEventPolyfill; } } else if (shouldUseClickEvent(targetNode)) { getTargetInstFunc = getTargetInstForClickEvent; } if (getTargetInstFunc) { - var inst = getTargetInstFunc(topLevelType, targetInst); + var inst = getTargetInstFunc(topLevelType, targetInst, nativeEvent); if (inst) { - var event = SyntheticEvent.getPooled(eventTypes.change, inst, nativeEvent, nativeEventTarget); - event.type = 'change'; - EventPropagators.accumulateTwoPhaseDispatches(event); + var event = createAndAccumulateChangeEvent(inst, nativeEvent, nativeEventTarget); return event; } } @@ -7827,14 +8088,13 @@ handleControlledInputBlur(targetInst, targetNode); } } - }; module.exports = ChangeEventPlugin; -/***/ }, +/***/ }), /* 57 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -7857,7 +8117,7 @@ var ReactReconciler = __webpack_require__(60); var Transaction = __webpack_require__(64); - var invariant = __webpack_require__(9); + var invariant = __webpack_require__(13); var dirtyComponents = []; var updateBatchNumber = 0; @@ -8087,9 +8347,9 @@ module.exports = ReactUpdates; -/***/ }, +/***/ }), /* 58 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -8110,7 +8370,7 @@ var PooledClass = __webpack_require__(51); - var invariant = __webpack_require__(9); + var invariant = __webpack_require__(13); /** * A specialized pseudo-event module to help keep track of components waiting to @@ -8210,9 +8470,9 @@ module.exports = PooledClass.addPoolingTo(CallbackQueue); -/***/ }, +/***/ }), /* 59 */ -/***/ function(module, exports) { +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -8236,9 +8496,9 @@ module.exports = ReactFeatureFlags; -/***/ }, +/***/ }), /* 60 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -8255,7 +8515,7 @@ var ReactRef = __webpack_require__(61); var ReactInstrumentation = __webpack_require__(63); - var warning = __webpack_require__(12); + var warning = __webpack_require__(9); /** * Helper to call ReactRef.attachRefs with this composite component, split out @@ -8266,7 +8526,6 @@ } var ReactReconciler = { - /** * Initializes the component, renders markup, and registers event listeners. * @@ -8278,8 +8537,8 @@ * @final * @internal */ - mountComponent: function (internalInstance, transaction, hostParent, hostContainerInfo, context, parentDebugID // 0 in production and for roots - ) { + mountComponent: function (internalInstance, transaction, hostParent, hostContainerInfo, context, parentDebugID) // 0 in production and for roots + { if (false) { if (internalInstance._debugID !== 0) { ReactInstrumentation.debugTool.onBeforeMountComponent(internalInstance._debugID, internalInstance._currentElement, parentDebugID); @@ -8403,14 +8662,13 @@ } } } - }; module.exports = ReactReconciler; -/***/ }, +/***/ }), /* 61 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -8501,9 +8759,9 @@ module.exports = ReactRef; -/***/ }, +/***/ }), /* 62 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -8520,7 +8778,7 @@ var _prodInvariant = __webpack_require__(36); - var invariant = __webpack_require__(9); + var invariant = __webpack_require__(13); /** * @param {?object} object @@ -8594,14 +8852,13 @@ owner.detachRef(ref); } } - }; module.exports = ReactOwner; -/***/ }, +/***/ }), /* 63 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2016-present, Facebook, Inc. @@ -8627,9 +8884,9 @@ module.exports = { debugTool: debugTool }; -/***/ }, +/***/ }), /* 64 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -8646,7 +8903,7 @@ var _prodInvariant = __webpack_require__(36); - var invariant = __webpack_require__(9); + var invariant = __webpack_require__(13); var OBSERVED_ERROR = {}; @@ -8741,6 +8998,8 @@ return !!this._isInTransaction; }, + /* eslint-disable space-before-function-paren */ + /** * Executes the function within a safety window. Use this for the top level * methods that result in large amounts of computation/mutations that would @@ -8759,6 +9018,7 @@ * @return {*} Return value from `method`. */ perform: function (method, scope, a, b, c, d, e, f) { + /* eslint-enable space-before-function-paren */ !!this.isInTransaction() ? false ? invariant(false, 'Transaction.perform(...): Cannot initialize a transaction when there is already an outstanding transaction.') : _prodInvariant('27') : void 0; var errorThrown; var ret; @@ -8856,9 +9116,136 @@ module.exports = TransactionImpl; -/***/ }, +/***/ }), /* 65 */ -/***/ function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var ReactDOMComponentTree = __webpack_require__(35); + + function isCheckable(elem) { + var type = elem.type; + var nodeName = elem.nodeName; + return nodeName && nodeName.toLowerCase() === 'input' && (type === 'checkbox' || type === 'radio'); + } + + function getTracker(inst) { + return inst._wrapperState.valueTracker; + } + + function attachTracker(inst, tracker) { + inst._wrapperState.valueTracker = tracker; + } + + function detachTracker(inst) { + delete inst._wrapperState.valueTracker; + } + + function getValueFromNode(node) { + var value; + if (node) { + value = isCheckable(node) ? '' + node.checked : node.value; + } + return value; + } + + var inputValueTracking = { + // exposed for testing + _getTrackerFromNode: function (node) { + return getTracker(ReactDOMComponentTree.getInstanceFromNode(node)); + }, + + + track: function (inst) { + if (getTracker(inst)) { + return; + } + + var node = ReactDOMComponentTree.getNodeFromInstance(inst); + var valueField = isCheckable(node) ? 'checked' : 'value'; + var descriptor = Object.getOwnPropertyDescriptor(node.constructor.prototype, valueField); + + var currentValue = '' + node[valueField]; + + // if someone has already defined a value or Safari, then bail + // and don't track value will cause over reporting of changes, + // but it's better then a hard failure + // (needed for certain tests that spyOn input values and Safari) + if (node.hasOwnProperty(valueField) || typeof descriptor.get !== 'function' || typeof descriptor.set !== 'function') { + return; + } + + Object.defineProperty(node, valueField, { + enumerable: descriptor.enumerable, + configurable: true, + get: function () { + return descriptor.get.call(this); + }, + set: function (value) { + currentValue = '' + value; + descriptor.set.call(this, value); + } + }); + + attachTracker(inst, { + getValue: function () { + return currentValue; + }, + setValue: function (value) { + currentValue = '' + value; + }, + stopTracking: function () { + detachTracker(inst); + delete node[valueField]; + } + }); + }, + + updateValueIfChanged: function (inst) { + if (!inst) { + return false; + } + var tracker = getTracker(inst); + + if (!tracker) { + inputValueTracking.track(inst); + return true; + } + + var lastValue = tracker.getValue(); + var nextValue = getValueFromNode(ReactDOMComponentTree.getNodeFromInstance(inst)); + + if (nextValue !== lastValue) { + tracker.setValue(nextValue); + return true; + } + + return false; + }, + stopTracking: function (inst) { + var tracker = getTracker(inst); + if (tracker) { + tracker.stopTracking(); + } + } + }; + + module.exports = inputValueTracking; + +/***/ }), +/* 66 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -8895,9 +9282,9 @@ module.exports = getEventTarget; -/***/ }, -/* 66 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 67 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -8959,9 +9346,9 @@ module.exports = isEventSupported; -/***/ }, -/* 67 */ -/***/ function(module, exports) { +/***/ }), +/* 68 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -8981,21 +9368,21 @@ */ var supportedInputTypes = { - 'color': true, - 'date': true, - 'datetime': true, + color: true, + date: true, + datetime: true, 'datetime-local': true, - 'email': true, - 'month': true, - 'number': true, - 'password': true, - 'range': true, - 'search': true, - 'tel': true, - 'text': true, - 'time': true, - 'url': true, - 'week': true + email: true, + month: true, + number: true, + password: true, + range: true, + search: true, + tel: true, + text: true, + time: true, + url: true, + week: true }; function isTextInputElement(elem) { @@ -9014,9 +9401,9 @@ module.exports = isTextInputElement; -/***/ }, -/* 68 */ -/***/ function(module, exports) { +/***/ }), +/* 69 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -9044,9 +9431,9 @@ module.exports = DefaultEventPluginOrder; -/***/ }, -/* 69 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 70 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -9062,7 +9449,7 @@ var EventPropagators = __webpack_require__(42); var ReactDOMComponentTree = __webpack_require__(35); - var SyntheticMouseEvent = __webpack_require__(70); + var SyntheticMouseEvent = __webpack_require__(71); var eventTypes = { mouseEnter: { @@ -9076,7 +9463,6 @@ }; var EnterLeaveEventPlugin = { - eventTypes: eventTypes, /** @@ -9143,14 +9529,13 @@ return [leave, enter]; } - }; module.exports = EnterLeaveEventPlugin; -/***/ }, -/* 70 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 71 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -9164,10 +9549,10 @@ 'use strict'; - var SyntheticUIEvent = __webpack_require__(71); - var ViewportMetrics = __webpack_require__(72); + var SyntheticUIEvent = __webpack_require__(72); + var ViewportMetrics = __webpack_require__(73); - var getEventModifierState = __webpack_require__(73); + var getEventModifierState = __webpack_require__(74); /** * @interface MouseEvent @@ -9224,9 +9609,9 @@ module.exports = SyntheticMouseEvent; -/***/ }, -/* 71 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 72 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -9242,7 +9627,7 @@ var SyntheticEvent = __webpack_require__(54); - var getEventTarget = __webpack_require__(65); + var getEventTarget = __webpack_require__(66); /** * @interface UIEvent @@ -9287,9 +9672,9 @@ module.exports = SyntheticUIEvent; -/***/ }, -/* 72 */ -/***/ function(module, exports) { +/***/ }), +/* 73 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -9304,7 +9689,6 @@ 'use strict'; var ViewportMetrics = { - currentScrollLeft: 0, currentScrollTop: 0, @@ -9313,14 +9697,13 @@ ViewportMetrics.currentScrollLeft = scrollPosition.x; ViewportMetrics.currentScrollTop = scrollPosition.y; } - }; module.exports = ViewportMetrics; -/***/ }, -/* 73 */ -/***/ function(module, exports) { +/***/ }), +/* 74 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -9340,10 +9723,10 @@ */ var modifierKeyToProp = { - 'Alt': 'altKey', - 'Control': 'ctrlKey', - 'Meta': 'metaKey', - 'Shift': 'shiftKey' + Alt: 'altKey', + Control: 'ctrlKey', + Meta: 'metaKey', + Shift: 'shiftKey' }; // IE8 does not implement getModifierState so we simply map it to the only @@ -9365,9 +9748,9 @@ module.exports = getEventModifierState; -/***/ }, -/* 74 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 75 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -9605,9 +9988,9 @@ module.exports = HTMLDOMPropertyConfig; -/***/ }, -/* 75 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 76 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -9621,8 +10004,8 @@ 'use strict'; - var DOMChildrenOperations = __webpack_require__(76); - var ReactDOMIDOperations = __webpack_require__(87); + var DOMChildrenOperations = __webpack_require__(77); + var ReactDOMIDOperations = __webpack_require__(88); /** * Abstracts away all functionality of the reconciler that requires knowledge of @@ -9630,18 +10013,16 @@ * need for this injection. */ var ReactComponentBrowserEnvironment = { - processChildrenUpdates: ReactDOMIDOperations.dangerouslyProcessChildrenUpdates, replaceNodeWithMarkup: DOMChildrenOperations.dangerouslyReplaceNodeWithMarkup - }; module.exports = ReactComponentBrowserEnvironment; -/***/ }, -/* 76 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 77 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -9655,14 +10036,14 @@ 'use strict'; - var DOMLazyTree = __webpack_require__(77); - var Danger = __webpack_require__(83); + var DOMLazyTree = __webpack_require__(78); + var Danger = __webpack_require__(84); var ReactDOMComponentTree = __webpack_require__(35); var ReactInstrumentation = __webpack_require__(63); - var createMicrosoftUnsafeLocalFunction = __webpack_require__(80); - var setInnerHTML = __webpack_require__(79); - var setTextContent = __webpack_require__(81); + var createMicrosoftUnsafeLocalFunction = __webpack_require__(81); + var setInnerHTML = __webpack_require__(80); + var setTextContent = __webpack_require__(82); function getNodeAfter(parentNode, node) { // Special case for text components, which return [open, close] comments @@ -9790,7 +10171,6 @@ * Operations for updating with DOM children. */ var DOMChildrenOperations = { - dangerouslyReplaceNodeWithMarkup: dangerouslyReplaceNodeWithMarkup, replaceDelimitedText: replaceDelimitedText, @@ -9816,7 +10196,10 @@ ReactInstrumentation.debugTool.onHostOperation({ instanceID: parentNodeDebugID, type: 'insert child', - payload: { toIndex: update.toIndex, content: update.content.toString() } + payload: { + toIndex: update.toIndex, + content: update.content.toString() + } }); } break; @@ -9863,14 +10246,13 @@ } } } - }; module.exports = DOMChildrenOperations; -/***/ }, -/* 77 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 78 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2015-present, Facebook, Inc. @@ -9884,11 +10266,11 @@ 'use strict'; - var DOMNamespaces = __webpack_require__(78); - var setInnerHTML = __webpack_require__(79); + var DOMNamespaces = __webpack_require__(79); + var setInnerHTML = __webpack_require__(80); - var createMicrosoftUnsafeLocalFunction = __webpack_require__(80); - var setTextContent = __webpack_require__(81); + var createMicrosoftUnsafeLocalFunction = __webpack_require__(81); + var setTextContent = __webpack_require__(82); var ELEMENT_NODE_TYPE = 1; var DOCUMENT_FRAGMENT_NODE_TYPE = 11; @@ -9990,9 +10372,9 @@ module.exports = DOMLazyTree; -/***/ }, -/* 78 */ -/***/ function(module, exports) { +/***/ }), +/* 79 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -10014,9 +10396,9 @@ module.exports = DOMNamespaces; -/***/ }, -/* 79 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 80 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -10031,12 +10413,12 @@ 'use strict'; var ExecutionEnvironment = __webpack_require__(49); - var DOMNamespaces = __webpack_require__(78); + var DOMNamespaces = __webpack_require__(79); var WHITESPACE_TEST = /^[ \r\n\t\f]/; var NONVISIBLE_TEST = /<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/; - var createMicrosoftUnsafeLocalFunction = __webpack_require__(80); + var createMicrosoftUnsafeLocalFunction = __webpack_require__(81); // SVG temp container for IE lacking innerHTML var reusableSVGContainer; @@ -10096,7 +10478,7 @@ // in hopes that this is preserved even if "\uFEFF" is transformed to // the actual Unicode character (by Babel, for example). // https://github.com/mishoo/UglifyJS2/blob/v2.4.20/lib/parse.js#L216 - node.innerHTML = String.fromCharCode(0xFEFF) + html; + node.innerHTML = String.fromCharCode(0xfeff) + html; // deleteData leaves an empty `TextNode` which offsets the index of all // children. Definitely want to avoid this. @@ -10116,9 +10498,9 @@ module.exports = setInnerHTML; -/***/ }, -/* 80 */ -/***/ function(module, exports) { +/***/ }), +/* 81 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -10152,9 +10534,9 @@ module.exports = createMicrosoftUnsafeLocalFunction; -/***/ }, -/* 81 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 82 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -10169,8 +10551,8 @@ 'use strict'; var ExecutionEnvironment = __webpack_require__(49); - var escapeTextContentForBrowser = __webpack_require__(82); - var setInnerHTML = __webpack_require__(79); + var escapeTextContentForBrowser = __webpack_require__(83); + var setInnerHTML = __webpack_require__(80); /** * Set the textContent property of a node, ensuring that whitespace is preserved @@ -10208,9 +10590,9 @@ module.exports = setTextContent; -/***/ }, -/* 82 */ -/***/ function(module, exports) { +/***/ }), +/* 83 */ +/***/ (function(module, exports) { /** * Copyright 2016-present, Facebook, Inc. @@ -10316,7 +10698,6 @@ } // end code copied and modified from escape-html - /** * Escapes text to prevent scripting attacks. * @@ -10335,9 +10716,9 @@ module.exports = escapeTextContentForBrowser; -/***/ }, -/* 83 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 84 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -10353,15 +10734,14 @@ var _prodInvariant = __webpack_require__(36); - var DOMLazyTree = __webpack_require__(77); + var DOMLazyTree = __webpack_require__(78); var ExecutionEnvironment = __webpack_require__(49); - var createNodesFromMarkup = __webpack_require__(84); - var emptyFunction = __webpack_require__(13); - var invariant = __webpack_require__(9); + var createNodesFromMarkup = __webpack_require__(85); + var emptyFunction = __webpack_require__(10); + var invariant = __webpack_require__(13); var Danger = { - /** * Replaces a node with a string of markup at its current position within its * parent. The markup must render into a single root node. @@ -10382,14 +10762,13 @@ DOMLazyTree.replaceChildWithTree(oldChild, markup); } } - }; module.exports = Danger; -/***/ }, -/* 84 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 85 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -10408,9 +10787,9 @@ var ExecutionEnvironment = __webpack_require__(49); - var createArrayFromMixed = __webpack_require__(85); - var getMarkupWrap = __webpack_require__(86); - var invariant = __webpack_require__(9); + var createArrayFromMixed = __webpack_require__(86); + var getMarkupWrap = __webpack_require__(87); + var invariant = __webpack_require__(13); /** * Dummy container used to render all markup. @@ -10475,9 +10854,9 @@ module.exports = createNodesFromMarkup; -/***/ }, -/* 85 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 86 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -10492,7 +10871,7 @@ * @typechecks */ - var invariant = __webpack_require__(9); + var invariant = __webpack_require__(13); /** * Convert array-like objects to arrays. @@ -10606,9 +10985,9 @@ module.exports = createArrayFromMixed; -/***/ }, -/* 86 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 87 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -10626,7 +11005,7 @@ var ExecutionEnvironment = __webpack_require__(49); - var invariant = __webpack_require__(9); + var invariant = __webpack_require__(13); /** * Dummy container used to detect which wraps are necessary. @@ -10705,9 +11084,9 @@ module.exports = getMarkupWrap; -/***/ }, -/* 87 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 88 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -10721,14 +11100,13 @@ 'use strict'; - var DOMChildrenOperations = __webpack_require__(76); + var DOMChildrenOperations = __webpack_require__(77); var ReactDOMComponentTree = __webpack_require__(35); /** * Operations used to process updates to DOM nodes. */ var ReactDOMIDOperations = { - /** * Updates a component's children by processing a series of updates. * @@ -10743,9 +11121,9 @@ module.exports = ReactDOMIDOperations; -/***/ }, -/* 88 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 89 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -10764,32 +11142,33 @@ var _prodInvariant = __webpack_require__(36), _assign = __webpack_require__(5); - var AutoFocusUtils = __webpack_require__(89); - var CSSPropertyOperations = __webpack_require__(91); - var DOMLazyTree = __webpack_require__(77); - var DOMNamespaces = __webpack_require__(78); + var AutoFocusUtils = __webpack_require__(90); + var CSSPropertyOperations = __webpack_require__(92); + var DOMLazyTree = __webpack_require__(78); + var DOMNamespaces = __webpack_require__(79); var DOMProperty = __webpack_require__(37); - var DOMPropertyOperations = __webpack_require__(99); + var DOMPropertyOperations = __webpack_require__(100); var EventPluginHub = __webpack_require__(43); var EventPluginRegistry = __webpack_require__(44); - var ReactBrowserEventEmitter = __webpack_require__(101); + var ReactBrowserEventEmitter = __webpack_require__(102); var ReactDOMComponentFlags = __webpack_require__(38); var ReactDOMComponentTree = __webpack_require__(35); - var ReactDOMInput = __webpack_require__(104); - var ReactDOMOption = __webpack_require__(107); - var ReactDOMSelect = __webpack_require__(108); - var ReactDOMTextarea = __webpack_require__(109); + var ReactDOMInput = __webpack_require__(105); + var ReactDOMOption = __webpack_require__(108); + var ReactDOMSelect = __webpack_require__(109); + var ReactDOMTextarea = __webpack_require__(110); var ReactInstrumentation = __webpack_require__(63); - var ReactMultiChild = __webpack_require__(110); - var ReactServerRenderingTransaction = __webpack_require__(129); - - var emptyFunction = __webpack_require__(13); - var escapeTextContentForBrowser = __webpack_require__(82); - var invariant = __webpack_require__(9); - var isEventSupported = __webpack_require__(66); - var shallowEqual = __webpack_require__(118); - var validateDOMNesting = __webpack_require__(132); - var warning = __webpack_require__(12); + var ReactMultiChild = __webpack_require__(111); + var ReactServerRenderingTransaction = __webpack_require__(130); + + var emptyFunction = __webpack_require__(10); + var escapeTextContentForBrowser = __webpack_require__(83); + var invariant = __webpack_require__(13); + var isEventSupported = __webpack_require__(67); + var shallowEqual = __webpack_require__(119); + var inputValueTracking = __webpack_require__(65); + var validateDOMNesting = __webpack_require__(133); + var warning = __webpack_require__(9); var Flags = ReactDOMComponentFlags; var deleteListener = EventPluginHub.deleteListener; @@ -10798,7 +11177,7 @@ var registrationNameModules = EventPluginRegistry.registrationNameModules; // For quickly matching children type, to test if can be treated as content. - var CONTENT_TYPES = { 'string': true, 'number': true }; + var CONTENT_TYPES = { string: true, number: true }; var STYLE = 'style'; var HTML = '__html'; @@ -10907,7 +11286,7 @@ if (false) { // IE8 has no API for event capturing and the `onScroll` event doesn't // bubble. - process.env.NODE_ENV !== 'production' ? warning(registrationName !== 'onScroll' || isEventSupported('scroll', true), 'This browser doesn\'t support the `onScroll` event') : void 0; + process.env.NODE_ENV !== 'production' ? warning(registrationName !== 'onScroll' || isEventSupported('scroll', true), "This browser doesn't support the `onScroll` event") : void 0; } var containerInfo = inst._hostContainerInfo; var isDocumentFragment = containerInfo._node && containerInfo._node.nodeType === DOC_FRAGMENT_TYPE; @@ -10997,6 +11376,10 @@ topWaiting: 'waiting' }; + function trackInputValue() { + inputValueTracking.track(this); + } + function trapBubbledEventsLocal() { var inst = this; // If a component renders to null or if another component fatals and causes @@ -11012,7 +11395,6 @@ break; case 'video': case 'audio': - inst._wrapperState.listeners = []; // Create listener for each media event for (var event in mediaEvents) { @@ -11046,34 +11428,35 @@ // those special-case tags. var omittedCloseTags = { - 'area': true, - 'base': true, - 'br': true, - 'col': true, - 'embed': true, - 'hr': true, - 'img': true, - 'input': true, - 'keygen': true, - 'link': true, - 'meta': true, - 'param': true, - 'source': true, - 'track': true, - 'wbr': true + area: true, + base: true, + br: true, + col: true, + embed: true, + hr: true, + img: true, + input: true, + keygen: true, + link: true, + meta: true, + param: true, + source: true, + track: true, + wbr: true + // NOTE: menuitem's close tag should be omitted, but that causes problems. }; var newlineEatingTags = { - 'listing': true, - 'pre': true, - 'textarea': true + listing: true, + pre: true, + textarea: true }; // For HTML, certain tags cannot have children. This has the same purpose as // `omittedCloseTags` except that `menuitem` should still have its closing tag. var voidElementTags = _assign({ - 'menuitem': true + menuitem: true }, omittedCloseTags); // We accept any tag to be rendered but since this gets injected into arbitrary @@ -11137,7 +11520,6 @@ ReactDOMComponent.displayName = 'ReactDOMComponent'; ReactDOMComponent.Mixin = { - /** * Generates root tag markup then recurses. This method has side effects and * is not idempotent. @@ -11174,6 +11556,7 @@ case 'input': ReactDOMInput.mountWrapper(this, props, hostParent); props = ReactDOMInput.getHostProps(this, props); + transaction.getReactMountReady().enqueue(trackInputValue, this); transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this); break; case 'option': @@ -11188,6 +11571,7 @@ case 'textarea': ReactDOMTextarea.mountWrapper(this, props, hostParent); props = ReactDOMTextarea.getHostProps(this, props); + transaction.getReactMountReady().enqueue(trackInputValue, this); transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this); break; } @@ -11713,6 +12097,10 @@ } } break; + case 'input': + case 'textarea': + inputValueTracking.stopTracking(this); + break; case 'html': case 'head': case 'body': @@ -11741,16 +12129,15 @@ getPublicInstance: function () { return getNode(this); } - }; _assign(ReactDOMComponent.prototype, ReactDOMComponent.Mixin, ReactMultiChild.Mixin); module.exports = ReactDOMComponent; -/***/ }, -/* 89 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 90 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -11766,7 +12153,7 @@ var ReactDOMComponentTree = __webpack_require__(35); - var focusNode = __webpack_require__(90); + var focusNode = __webpack_require__(91); var AutoFocusUtils = { focusDOMComponent: function () { @@ -11776,9 +12163,9 @@ module.exports = AutoFocusUtils; -/***/ }, -/* 90 */ -/***/ function(module, exports) { +/***/ }), +/* 91 */ +/***/ (function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -11807,9 +12194,9 @@ module.exports = focusNode; -/***/ }, -/* 91 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 92 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -11823,15 +12210,15 @@ 'use strict'; - var CSSProperty = __webpack_require__(92); + var CSSProperty = __webpack_require__(93); var ExecutionEnvironment = __webpack_require__(49); var ReactInstrumentation = __webpack_require__(63); - var camelizeStyleName = __webpack_require__(93); - var dangerousStyleValue = __webpack_require__(95); - var hyphenateStyleName = __webpack_require__(96); - var memoizeStringOnly = __webpack_require__(98); - var warning = __webpack_require__(12); + var camelizeStyleName = __webpack_require__(94); + var dangerousStyleValue = __webpack_require__(96); + var hyphenateStyleName = __webpack_require__(97); + var memoizeStringOnly = __webpack_require__(99); + var warning = __webpack_require__(9); var processStyleName = memoizeStringOnly(function (styleName) { return hyphenateStyleName(styleName); @@ -11888,7 +12275,7 @@ } warnedStyleValues[value] = true; - process.env.NODE_ENV !== 'production' ? warning(false, 'Style property values shouldn\'t contain a semicolon.%s ' + 'Try "%s: %s" instead.', checkRenderMessage(owner), name, value.replace(badStyleValueWithSemicolonPattern, '')) : void 0; + process.env.NODE_ENV !== 'production' ? warning(false, "Style property values shouldn't contain a semicolon.%s " + 'Try "%s: %s" instead.', checkRenderMessage(owner), name, value.replace(badStyleValueWithSemicolonPattern, '')) : void 0; }; var warnStyleValueIsNaN = function (name, value, owner) { @@ -11938,7 +12325,6 @@ * Operations for dealing with CSS properties. */ var CSSPropertyOperations = { - /** * Serializes a mapping of style properties for use as inline styles: * @@ -11958,13 +12344,16 @@ if (!styles.hasOwnProperty(styleName)) { continue; } + var isCustomProperty = styleName.indexOf('--') === 0; var styleValue = styles[styleName]; if (false) { - warnValidStyle(styleName, styleValue, component); + if (!isCustomProperty) { + warnValidStyle(styleName, styleValue, component); + } } if (styleValue != null) { serialized += processStyleName(styleName) + ':'; - serialized += dangerousStyleValue(styleName, styleValue, component) + ';'; + serialized += dangerousStyleValue(styleName, styleValue, component, isCustomProperty) + ';'; } } return serialized || null; @@ -11992,14 +12381,19 @@ if (!styles.hasOwnProperty(styleName)) { continue; } + var isCustomProperty = styleName.indexOf('--') === 0; if (false) { - warnValidStyle(styleName, styles[styleName], component); + if (!isCustomProperty) { + warnValidStyle(styleName, styles[styleName], component); + } } - var styleValue = dangerousStyleValue(styleName, styles[styleName], component); + var styleValue = dangerousStyleValue(styleName, styles[styleName], component, isCustomProperty); if (styleName === 'float' || styleName === 'cssFloat') { styleName = styleFloatAccessor; } - if (styleValue) { + if (isCustomProperty) { + style.setProperty(styleName, styleValue); + } else if (styleValue) { style[styleName] = styleValue; } else { var expansion = hasShorthandPropertyBug && CSSProperty.shorthandPropertyExpansions[styleName]; @@ -12015,14 +12409,13 @@ } } } - }; module.exports = CSSPropertyOperations; -/***/ }, -/* 92 */ -/***/ function(module, exports) { +/***/ }), +/* 93 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -12056,7 +12449,13 @@ flexNegative: true, flexOrder: true, gridRow: true, + gridRowEnd: true, + gridRowSpan: true, + gridRowStart: true, gridColumn: true, + gridColumnEnd: true, + gridColumnSpan: true, + gridColumnStart: true, fontWeight: true, lineClamp: true, lineHeight: true, @@ -12172,9 +12571,9 @@ module.exports = CSSProperty; -/***/ }, -/* 93 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 94 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -12189,7 +12588,7 @@ 'use strict'; - var camelize = __webpack_require__(94); + var camelize = __webpack_require__(95); var msPattern = /^-ms-/; @@ -12216,9 +12615,9 @@ module.exports = camelizeStyleName; -/***/ }, -/* 94 */ -/***/ function(module, exports) { +/***/ }), +/* 95 */ +/***/ (function(module, exports) { "use strict"; @@ -12252,9 +12651,9 @@ module.exports = camelize; -/***/ }, -/* 95 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 96 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -12268,8 +12667,8 @@ 'use strict'; - var CSSProperty = __webpack_require__(92); - var warning = __webpack_require__(12); + var CSSProperty = __webpack_require__(93); + var warning = __webpack_require__(9); var isUnitlessNumber = CSSProperty.isUnitlessNumber; var styleWarnings = {}; @@ -12284,7 +12683,7 @@ * @param {ReactDOMComponent} component * @return {string} Normalized style value with dimensions applied. */ - function dangerousStyleValue(name, value, component) { + function dangerousStyleValue(name, value, component, isCustomProperty) { // Note that we've removed escapeTextForBrowser() calls here since the // whole string will be escaped when the attribute is injected into // the markup. If you provide unsafe user data here they can inject @@ -12301,7 +12700,7 @@ } var isNonNumeric = isNaN(value); - if (isNonNumeric || value === 0 || isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name]) { + if (isCustomProperty || isNonNumeric || value === 0 || isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name]) { return '' + value; // cast to string } @@ -12335,9 +12734,9 @@ module.exports = dangerousStyleValue; -/***/ }, -/* 96 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 97 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -12352,7 +12751,7 @@ 'use strict'; - var hyphenate = __webpack_require__(97); + var hyphenate = __webpack_require__(98); var msPattern = /^ms-/; @@ -12378,9 +12777,9 @@ module.exports = hyphenateStyleName; -/***/ }, -/* 97 */ -/***/ function(module, exports) { +/***/ }), +/* 98 */ +/***/ (function(module, exports) { 'use strict'; @@ -12415,9 +12814,9 @@ module.exports = hyphenate; -/***/ }, -/* 98 */ -/***/ function(module, exports) { +/***/ }), +/* 99 */ +/***/ (function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -12449,9 +12848,9 @@ module.exports = memoizeStringOnly; -/***/ }, -/* 99 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 100 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -12469,8 +12868,8 @@ var ReactDOMComponentTree = __webpack_require__(35); var ReactInstrumentation = __webpack_require__(63); - var quoteAttributeValueForBrowser = __webpack_require__(100); - var warning = __webpack_require__(12); + var quoteAttributeValueForBrowser = __webpack_require__(101); + var warning = __webpack_require__(9); var VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + DOMProperty.ATTRIBUTE_NAME_START_CHAR + '][' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$'); var illegalAttributeNameCache = {}; @@ -12500,7 +12899,6 @@ * Operations for dealing with DOM properties. */ var DOMPropertyOperations = { - /** * Creates markup for the ID property. * @@ -12685,14 +13083,13 @@ }); } } - }; module.exports = DOMPropertyOperations; -/***/ }, -/* 100 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 101 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -12706,7 +13103,7 @@ 'use strict'; - var escapeTextContentForBrowser = __webpack_require__(82); + var escapeTextContentForBrowser = __webpack_require__(83); /** * Escapes attribute value to prevent scripting attacks. @@ -12720,9 +13117,9 @@ module.exports = quoteAttributeValueForBrowser; -/***/ }, -/* 101 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 102 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -12739,11 +13136,11 @@ var _assign = __webpack_require__(5); var EventPluginRegistry = __webpack_require__(44); - var ReactEventEmitterMixin = __webpack_require__(102); - var ViewportMetrics = __webpack_require__(72); + var ReactEventEmitterMixin = __webpack_require__(103); + var ViewportMetrics = __webpack_require__(73); - var getVendorPrefixedEventName = __webpack_require__(103); - var isEventSupported = __webpack_require__(66); + var getVendorPrefixedEventName = __webpack_require__(104); + var isEventSupported = __webpack_require__(67); /** * Summary of `ReactBrowserEventEmitter` event handling: @@ -12901,7 +13298,6 @@ * @internal */ var ReactBrowserEventEmitter = _assign({}, ReactEventEmitterMixin, { - /** * Injectable event backend */ @@ -12975,14 +13371,12 @@ ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topWheel', 'DOMMouseScroll', mountAt); } } else if (dependency === 'topScroll') { - if (isEventSupported('scroll', true)) { ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent('topScroll', 'scroll', mountAt); } else { ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topScroll', 'scroll', ReactBrowserEventEmitter.ReactEventListener.WINDOW_HANDLE); } } else if (dependency === 'topFocus' || dependency === 'topBlur') { - if (isEventSupported('focus', true)) { ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent('topFocus', 'focus', mountAt); ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent('topBlur', 'blur', mountAt); @@ -13047,14 +13441,13 @@ isMonitoringScrollValue = true; } } - }); module.exports = ReactBrowserEventEmitter; -/***/ }, -/* 102 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 103 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -13076,7 +13469,6 @@ } var ReactEventEmitterMixin = { - /** * Streams a fired top-level event to `EventPluginHub` where plugins have the * opportunity to create `ReactEvent`s to be dispatched. @@ -13089,9 +13481,9 @@ module.exports = ReactEventEmitterMixin; -/***/ }, -/* 103 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 104 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -13194,9 +13586,9 @@ module.exports = getVendorPrefixedEventName; -/***/ }, -/* 104 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 105 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -13213,13 +13605,13 @@ var _prodInvariant = __webpack_require__(36), _assign = __webpack_require__(5); - var DOMPropertyOperations = __webpack_require__(99); - var LinkedValueUtils = __webpack_require__(105); + var DOMPropertyOperations = __webpack_require__(100); + var LinkedValueUtils = __webpack_require__(106); var ReactDOMComponentTree = __webpack_require__(35); var ReactUpdates = __webpack_require__(57); - var invariant = __webpack_require__(9); - var warning = __webpack_require__(12); + var invariant = __webpack_require__(13); + var warning = __webpack_require__(9); var didWarnValueLink = false; var didWarnCheckedLink = false; @@ -13350,14 +13742,16 @@ // Simulate `input.valueAsNumber`. IE9 does not support it var valueAsNumber = parseFloat(node.value, 10) || 0; + if ( // eslint-disable-next-line - if (value != valueAsNumber) { + value != valueAsNumber || + // eslint-disable-next-line + value == valueAsNumber && node.value != value) { // Cast `value` to a string to ensure the value is set correctly. While // browsers typically do this as necessary, jsdom doesn't. node.value = '' + value; } - // eslint-disable-next-line - } else if (value != node.value) { + } else if (node.value !== '' + value) { // Cast `value` to a string to ensure the value is set correctly. While // browsers typically do this as necessary, jsdom doesn't. node.value = '' + value; @@ -13483,9 +13877,9 @@ module.exports = ReactDOMInput; -/***/ }, -/* 105 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 106 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -13501,23 +13895,23 @@ var _prodInvariant = __webpack_require__(36); - var ReactPropTypesSecret = __webpack_require__(106); - var propTypesFactory = __webpack_require__(27); + var ReactPropTypesSecret = __webpack_require__(107); + var propTypesFactory = __webpack_require__(25); var React = __webpack_require__(4); var PropTypes = propTypesFactory(React.isValidElement); - var invariant = __webpack_require__(9); - var warning = __webpack_require__(12); + var invariant = __webpack_require__(13); + var warning = __webpack_require__(9); var hasReadOnlyValue = { - 'button': true, - 'checkbox': true, - 'image': true, - 'hidden': true, - 'radio': true, - 'reset': true, - 'submit': true + button: true, + checkbox: true, + image: true, + hidden: true, + radio: true, + reset: true, + submit: true }; function _assertSingleLink(inputProps) { @@ -13625,9 +14019,9 @@ module.exports = LinkedValueUtils; -/***/ }, -/* 106 */ -/***/ function(module, exports) { +/***/ }), +/* 107 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -13646,9 +14040,9 @@ module.exports = ReactPropTypesSecret; -/***/ }, -/* 107 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 108 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -13666,9 +14060,9 @@ var React = __webpack_require__(4); var ReactDOMComponentTree = __webpack_require__(35); - var ReactDOMSelect = __webpack_require__(108); + var ReactDOMSelect = __webpack_require__(109); - var warning = __webpack_require__(12); + var warning = __webpack_require__(9); var didWarnInvalidOptionChildren = false; function flattenChildren(children) { @@ -13768,14 +14162,13 @@ return hostProps; } - }; module.exports = ReactDOMOption; -/***/ }, -/* 108 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 109 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -13791,11 +14184,11 @@ var _assign = __webpack_require__(5); - var LinkedValueUtils = __webpack_require__(105); + var LinkedValueUtils = __webpack_require__(106); var ReactDOMComponentTree = __webpack_require__(35); var ReactUpdates = __webpack_require__(57); - var warning = __webpack_require__(12); + var warning = __webpack_require__(9); var didWarnValueLink = false; var didWarnValueDefaultValue = false; @@ -13977,9 +14370,9 @@ module.exports = ReactDOMSelect; -/***/ }, -/* 109 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 110 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -13996,12 +14389,12 @@ var _prodInvariant = __webpack_require__(36), _assign = __webpack_require__(5); - var LinkedValueUtils = __webpack_require__(105); + var LinkedValueUtils = __webpack_require__(106); var ReactDOMComponentTree = __webpack_require__(35); var ReactUpdates = __webpack_require__(57); - var invariant = __webpack_require__(9); - var warning = __webpack_require__(12); + var invariant = __webpack_require__(13); + var warning = __webpack_require__(9); var didWarnValueLink = false; var didWarnValDefaultVal = false; @@ -14141,9 +14534,9 @@ module.exports = ReactDOMTextarea; -/***/ }, -/* 110 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 111 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -14159,17 +14552,17 @@ var _prodInvariant = __webpack_require__(36); - var ReactComponentEnvironment = __webpack_require__(111); - var ReactInstanceMap = __webpack_require__(112); + var ReactComponentEnvironment = __webpack_require__(112); + var ReactInstanceMap = __webpack_require__(113); var ReactInstrumentation = __webpack_require__(63); - var ReactCurrentOwner = __webpack_require__(11); + var ReactCurrentOwner = __webpack_require__(18); var ReactReconciler = __webpack_require__(60); - var ReactChildReconciler = __webpack_require__(113); + var ReactChildReconciler = __webpack_require__(114); - var emptyFunction = __webpack_require__(13); - var flattenChildren = __webpack_require__(128); - var invariant = __webpack_require__(9); + var emptyFunction = __webpack_require__(10); + var flattenChildren = __webpack_require__(129); + var invariant = __webpack_require__(13); /** * Make an update for markup to be rendered and inserted at a supplied index. @@ -14315,7 +14708,6 @@ * @internal */ var ReactMultiChild = { - /** * Provides common functionality for components that must reconcile multiple * children. This is used by `ReactDOMComponent` to mount, update, and @@ -14324,7 +14716,6 @@ * @lends {ReactMultiChild.prototype} */ Mixin: { - _reconcilerInstantiateChildren: function (nestedChildren, transaction, context) { if (false) { var selfDebugID = getDebugID(this); @@ -14588,16 +14979,14 @@ child._mountIndex = null; return update; } - } - }; module.exports = ReactMultiChild; -/***/ }, -/* 111 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 112 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2014-present, Facebook, Inc. @@ -14614,12 +15003,11 @@ var _prodInvariant = __webpack_require__(36); - var invariant = __webpack_require__(9); + var invariant = __webpack_require__(13); var injected = false; var ReactComponentEnvironment = { - /** * Optionally injectable hook for swapping out mount images in the middle of * the tree. @@ -14640,14 +15028,13 @@ injected = true; } } - }; module.exports = ReactComponentEnvironment; -/***/ }, -/* 112 */ -/***/ function(module, exports) { +/***/ }), +/* 113 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -14671,7 +15058,6 @@ // TODO: Replace this with ES6: var ReactInstanceMap = new Map(); var ReactInstanceMap = { - /** * This API should be called `delete` but we'd have to make sure to always * transform these to strings for IE support. When this transform is fully @@ -14692,14 +15078,13 @@ set: function (key, value) { key._reactInternalInstance = value; } - }; module.exports = ReactInstanceMap; -/***/ }, -/* 113 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 114 */ +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2014-present, Facebook, Inc. @@ -14715,11 +15100,11 @@ var ReactReconciler = __webpack_require__(60); - var instantiateReactComponent = __webpack_require__(115); - var KeyEscapeUtils = __webpack_require__(123); - var shouldUpdateReactComponent = __webpack_require__(119); - var traverseAllChildren = __webpack_require__(124); - var warning = __webpack_require__(12); + var instantiateReactComponent = __webpack_require__(116); + var KeyEscapeUtils = __webpack_require__(124); + var shouldUpdateReactComponent = __webpack_require__(120); + var traverseAllChildren = __webpack_require__(125); + var warning = __webpack_require__(9); var ReactComponentTreeHook; @@ -14729,7 +15114,7 @@ // https://github.com/facebook/react/issues/7240 // Remove the inline requires when we don't need them anymore: // https://github.com/facebook/react/pull/7178 - ReactComponentTreeHook = __webpack_require__(127); + ReactComponentTreeHook = __webpack_require__(128); } function instantiateChild(childInstances, child, name, selfDebugID) { @@ -14762,8 +15147,8 @@ * @return {?object} A set of child instances. * @internal */ - instantiateChildren: function (nestedChildNodes, transaction, context, selfDebugID // 0 in production and for roots - ) { + instantiateChildren: function (nestedChildNodes, transaction, context, selfDebugID) // 0 in production and for roots + { if (nestedChildNodes == null) { return null; } @@ -14789,8 +15174,8 @@ * @return {?object} A new set of child instances. * @internal */ - updateChildren: function (prevChildren, nextChildren, mountImages, removedNodes, transaction, hostParent, hostContainerInfo, context, selfDebugID // 0 in production and for roots - ) { + updateChildren: function (prevChildren, nextChildren, mountImages, removedNodes, transaction, hostParent, hostContainerInfo, context, selfDebugID) // 0 in production and for roots + { // We currently don't have a way to track moves here but if we use iterators // instead of for..in we can zip the iterators and check if an item has // moved. @@ -14850,15 +15235,14 @@ } } } - }; module.exports = ReactChildReconciler; - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(114))) + /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(115))) -/***/ }, -/* 114 */ -/***/ function(module, exports) { +/***/ }), +/* 115 */ +/***/ (function(module, exports) { // shim for using process in browser var process = module.exports = {}; @@ -15046,9 +15430,9 @@ process.umask = function() { return 0; }; -/***/ }, -/* 115 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 116 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -15065,13 +15449,13 @@ var _prodInvariant = __webpack_require__(36), _assign = __webpack_require__(5); - var ReactCompositeComponent = __webpack_require__(116); - var ReactEmptyComponent = __webpack_require__(120); - var ReactHostComponent = __webpack_require__(121); + var ReactCompositeComponent = __webpack_require__(117); + var ReactEmptyComponent = __webpack_require__(121); + var ReactHostComponent = __webpack_require__(122); - var getNextDebugID = __webpack_require__(122); - var invariant = __webpack_require__(9); - var warning = __webpack_require__(12); + var getNextDebugID = __webpack_require__(123); + var invariant = __webpack_require__(13); + var warning = __webpack_require__(9); // To avoid a cyclic dependency, we create the final class in this module var ReactCompositeComponentWrapper = function (element) { @@ -15119,7 +15503,7 @@ var info = ''; if (false) { if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) { - info += ' You likely forgot to export your component from the file ' + 'it\'s defined in.'; + info += ' You likely forgot to export your component from the file ' + "it's defined in."; } } info += getDeclarationErrorAddendum(element._owner); @@ -15179,9 +15563,9 @@ module.exports = instantiateReactComponent; -/***/ }, -/* 116 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 117 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -15199,23 +15583,23 @@ _assign = __webpack_require__(5); var React = __webpack_require__(4); - var ReactComponentEnvironment = __webpack_require__(111); - var ReactCurrentOwner = __webpack_require__(11); + var ReactComponentEnvironment = __webpack_require__(112); + var ReactCurrentOwner = __webpack_require__(18); var ReactErrorUtils = __webpack_require__(46); - var ReactInstanceMap = __webpack_require__(112); + var ReactInstanceMap = __webpack_require__(113); var ReactInstrumentation = __webpack_require__(63); - var ReactNodeTypes = __webpack_require__(117); + var ReactNodeTypes = __webpack_require__(118); var ReactReconciler = __webpack_require__(60); if (false) { var checkReactTypeSpec = require('./checkReactTypeSpec'); } - var emptyObject = __webpack_require__(21); - var invariant = __webpack_require__(9); - var shallowEqual = __webpack_require__(118); - var shouldUpdateReactComponent = __webpack_require__(119); - var warning = __webpack_require__(12); + var emptyObject = __webpack_require__(12); + var invariant = __webpack_require__(13); + var shallowEqual = __webpack_require__(119); + var shouldUpdateReactComponent = __webpack_require__(120); + var warning = __webpack_require__(9); var CompositeTypes = { ImpureClass: 0, @@ -15302,7 +15686,6 @@ * @lends {ReactCompositeComponent.prototype} */ var ReactCompositeComponent = { - /** * Base constructor for all composite component. * @@ -15398,7 +15781,7 @@ var propsMutated = inst.props !== publicProps; var componentName = Component.displayName || Component.name || 'Component'; - process.env.NODE_ENV !== 'production' ? warning(inst.props === undefined || !propsMutated, '%s(...): When calling super() in `%s`, make sure to pass ' + 'up the same props that your component\'s constructor was passed.', componentName, componentName) : void 0; + process.env.NODE_ENV !== 'production' ? warning(inst.props === undefined || !propsMutated, '%s(...): When calling super() in `%s`, make sure to pass ' + "up the same props that your component's constructor was passed.", componentName, componentName) : void 0; } // These should be set up in the constructor, but as a convenience for @@ -16080,14 +16463,13 @@ // Stub _instantiateReactComponent: null - }; module.exports = ReactCompositeComponent; -/***/ }, -/* 117 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 118 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -16106,7 +16488,7 @@ var React = __webpack_require__(4); - var invariant = __webpack_require__(9); + var invariant = __webpack_require__(13); var ReactNodeTypes = { HOST: 0, @@ -16129,9 +16511,9 @@ module.exports = ReactNodeTypes; -/***/ }, -/* 118 */ -/***/ function(module, exports) { +/***/ }), +/* 119 */ +/***/ (function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -16201,9 +16583,9 @@ module.exports = shallowEqual; -/***/ }, -/* 119 */ -/***/ function(module, exports) { +/***/ }), +/* 120 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -16247,9 +16629,9 @@ module.exports = shouldUpdateReactComponent; -/***/ }, -/* 120 */ -/***/ function(module, exports) { +/***/ }), +/* 121 */ +/***/ (function(module, exports) { /** * Copyright 2014-present, Facebook, Inc. @@ -16281,9 +16663,9 @@ module.exports = ReactEmptyComponent; -/***/ }, -/* 121 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 122 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2014-present, Facebook, Inc. @@ -16299,7 +16681,7 @@ var _prodInvariant = __webpack_require__(36); - var invariant = __webpack_require__(9); + var invariant = __webpack_require__(13); var genericComponentClass = null; var textComponentClass = null; @@ -16353,9 +16735,9 @@ module.exports = ReactHostComponent; -/***/ }, -/* 122 */ -/***/ function(module, exports) { +/***/ }), +/* 123 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -16378,9 +16760,9 @@ module.exports = getNextDebugID; -/***/ }, -/* 123 */ -/***/ function(module, exports) { +/***/ }), +/* 124 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -16441,9 +16823,9 @@ module.exports = KeyEscapeUtils; -/***/ }, -/* 124 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 125 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -16459,13 +16841,13 @@ var _prodInvariant = __webpack_require__(36); - var ReactCurrentOwner = __webpack_require__(11); - var REACT_ELEMENT_TYPE = __webpack_require__(125); + var ReactCurrentOwner = __webpack_require__(18); + var REACT_ELEMENT_TYPE = __webpack_require__(126); - var getIteratorFn = __webpack_require__(126); - var invariant = __webpack_require__(9); - var KeyEscapeUtils = __webpack_require__(123); - var warning = __webpack_require__(12); + var getIteratorFn = __webpack_require__(127); + var invariant = __webpack_require__(13); + var KeyEscapeUtils = __webpack_require__(124); + var warning = __webpack_require__(9); var SEPARATOR = '.'; var SUBSEPARATOR = ':'; @@ -16578,7 +16960,7 @@ if (false) { addendum = ' If you meant to render a collection of children, use an array ' + 'instead or wrap the object using createFragment(object) from the ' + 'React add-ons.'; if (children._isReactElement) { - addendum = ' It looks like you\'re using an element created by a different ' + 'version of React. Make sure to use only one copy of React.'; + addendum = " It looks like you're using an element created by a different " + 'version of React. Make sure to use only one copy of React.'; } if (ReactCurrentOwner.current) { var name = ReactCurrentOwner.current.getName(); @@ -16621,9 +17003,9 @@ module.exports = traverseAllChildren; -/***/ }, -/* 125 */ -/***/ function(module, exports) { +/***/ }), +/* 126 */ +/***/ (function(module, exports) { /** * Copyright 2014-present, Facebook, Inc. @@ -16645,9 +17027,9 @@ module.exports = REACT_ELEMENT_TYPE; -/***/ }, -/* 126 */ -/***/ function(module, exports) { +/***/ }), +/* 127 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -16690,9 +17072,9 @@ module.exports = getIteratorFn; -/***/ }, -/* 127 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 128 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2016-present, Facebook, Inc. @@ -16707,12 +17089,12 @@ 'use strict'; - var _prodInvariant = __webpack_require__(8); + var _prodInvariant = __webpack_require__(7); - var ReactCurrentOwner = __webpack_require__(11); + var ReactCurrentOwner = __webpack_require__(18); - var invariant = __webpack_require__(9); - var warning = __webpack_require__(12); + var invariant = __webpack_require__(13); + var warning = __webpack_require__(9); function isNative(fn) { // Based on isNative() from Lodash @@ -16720,11 +17102,11 @@ var hasOwnProperty = Object.prototype.hasOwnProperty; var reIsNative = RegExp('^' + funcToString // Take an example native function source for comparison - .call(hasOwnProperty) + .call(hasOwnProperty // Strip regex characters so we can use it for regex - .replace(/[\\^$.*+?()[\]{}|]/g, '\\$&') + ).replace(/[\\^$.*+?()[\]{}|]/g, '\\$&' // Remove hasOwnProperty from the template to make it generic - .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'); + ).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'); try { var source = funcToString.call(fn); return reIsNative.test(source); @@ -17023,14 +17405,59 @@ getRootIDs: getRootIDs, - getRegisteredIDs: getItemIDs + getRegisteredIDs: getItemIDs, + + pushNonStandardWarningStack: function (isCreatingElement, currentSource) { + if (typeof console.reactStack !== 'function') { + return; + } + + var stack = []; + var currentOwner = ReactCurrentOwner.current; + var id = currentOwner && currentOwner._debugID; + + try { + if (isCreatingElement) { + stack.push({ + name: id ? ReactComponentTreeHook.getDisplayName(id) : null, + fileName: currentSource ? currentSource.fileName : null, + lineNumber: currentSource ? currentSource.lineNumber : null + }); + } + + while (id) { + var element = ReactComponentTreeHook.getElement(id); + var parentID = ReactComponentTreeHook.getParentID(id); + var ownerID = ReactComponentTreeHook.getOwnerID(id); + var ownerName = ownerID ? ReactComponentTreeHook.getDisplayName(ownerID) : null; + var source = element && element._source; + stack.push({ + name: ownerName, + fileName: source ? source.fileName : null, + lineNumber: source ? source.lineNumber : null + }); + id = parentID; + } + } catch (err) { + // Internal state is messed up. + // Stop building the stack (it's just a nice to have). + } + + console.reactStack(stack); + }, + popNonStandardWarningStack: function () { + if (typeof console.reactStackEnd !== 'function') { + return; + } + console.reactStackEnd(); + } }; module.exports = ReactComponentTreeHook; -/***/ }, -/* 128 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 129 */ +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/** * Copyright 2013-present, Facebook, Inc. @@ -17045,9 +17472,9 @@ 'use strict'; - var KeyEscapeUtils = __webpack_require__(123); - var traverseAllChildren = __webpack_require__(124); - var warning = __webpack_require__(12); + var KeyEscapeUtils = __webpack_require__(124); + var traverseAllChildren = __webpack_require__(125); + var warning = __webpack_require__(9); var ReactComponentTreeHook; @@ -17057,7 +17484,7 @@ // https://github.com/facebook/react/issues/7240 // Remove the inline requires when we don't need them anymore: // https://github.com/facebook/react/pull/7178 - ReactComponentTreeHook = __webpack_require__(127); + ReactComponentTreeHook = __webpack_require__(128); } /** @@ -17107,11 +17534,11 @@ } module.exports = flattenChildren; - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(114))) + /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(115))) -/***/ }, -/* 129 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 130 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2014-present, Facebook, Inc. @@ -17130,7 +17557,7 @@ var PooledClass = __webpack_require__(51); var Transaction = __webpack_require__(64); var ReactInstrumentation = __webpack_require__(63); - var ReactServerUpdateQueue = __webpack_require__(130); + var ReactServerUpdateQueue = __webpack_require__(131); /** * Executed within the scope of the `Transaction` instance. Consider these as @@ -17203,9 +17630,9 @@ module.exports = ReactServerRenderingTransaction; -/***/ }, -/* 130 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 131 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2015-present, Facebook, Inc. @@ -17222,9 +17649,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - var ReactUpdateQueue = __webpack_require__(131); + var ReactUpdateQueue = __webpack_require__(132); - var warning = __webpack_require__(12); + var warning = __webpack_require__(9); function warnNoop(publicInstance, callerName) { if (false) { @@ -17346,9 +17773,9 @@ module.exports = ReactServerUpdateQueue; -/***/ }, -/* 131 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 132 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2015-present, Facebook, Inc. @@ -17364,13 +17791,13 @@ var _prodInvariant = __webpack_require__(36); - var ReactCurrentOwner = __webpack_require__(11); - var ReactInstanceMap = __webpack_require__(112); + var ReactCurrentOwner = __webpack_require__(18); + var ReactInstanceMap = __webpack_require__(113); var ReactInstrumentation = __webpack_require__(63); var ReactUpdates = __webpack_require__(57); - var invariant = __webpack_require__(9); - var warning = __webpack_require__(12); + var invariant = __webpack_require__(13); + var warning = __webpack_require__(9); function enqueueUpdate(internalInstance) { ReactUpdates.enqueueUpdate(internalInstance); @@ -17403,7 +17830,7 @@ } if (false) { - process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, '%s(...): Cannot update during an existing state transition (such as ' + 'within `render` or another component\'s constructor). Render methods ' + 'should be a pure function of props and state; constructor ' + 'side-effects are an anti-pattern, but can be moved to ' + '`componentWillMount`.', callerName) : void 0; + process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, '%s(...): Cannot update during an existing state transition (such as ' + "within `render` or another component's constructor). Render methods " + 'should be a pure function of props and state; constructor ' + 'side-effects are an anti-pattern, but can be moved to ' + '`componentWillMount`.', callerName) : void 0; } return internalInstance; @@ -17414,7 +17841,6 @@ * reconciliation step. */ var ReactUpdateQueue = { - /** * Checks whether or not this composite component is mounted. * @param {ReactClass} publicInstance The instance we want to test. @@ -17581,14 +18007,13 @@ validateCallback: function (callback, callerName) { !(!callback || typeof callback === 'function') ? false ? invariant(false, '%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.', callerName, formatUnexpectedArgument(callback)) : _prodInvariant('122', callerName, formatUnexpectedArgument(callback)) : void 0; } - }; module.exports = ReactUpdateQueue; -/***/ }, -/* 132 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 133 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2015-present, Facebook, Inc. @@ -17604,8 +18029,8 @@ var _assign = __webpack_require__(5); - var emptyFunction = __webpack_require__(13); - var warning = __webpack_require__(12); + var emptyFunction = __webpack_require__(10); + var warning = __webpack_require__(9); var validateDOMNesting = emptyFunction; @@ -17713,7 +18138,6 @@ // but case 'option': return tag === '#text'; - // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intd // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incaption // No special behavior since these rules fall back to "in body" mode for @@ -17722,25 +18146,20 @@ // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intr case 'tr': return tag === 'th' || tag === 'td' || tag === 'style' || tag === 'script' || tag === 'template'; - // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intbody case 'tbody': case 'thead': case 'tfoot': return tag === 'tr' || tag === 'style' || tag === 'script' || tag === 'template'; - // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incolgroup case 'colgroup': return tag === 'col' || tag === 'template'; - // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intable case 'table': return tag === 'caption' || tag === 'colgroup' || tag === 'tbody' || tag === 'tfoot' || tag === 'thead' || tag === 'style' || tag === 'script' || tag === 'template'; - // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inhead case 'head': return tag === 'base' || tag === 'basefont' || tag === 'bgsound' || tag === 'link' || tag === 'meta' || tag === 'title' || tag === 'noscript' || tag === 'noframes' || tag === 'style' || tag === 'script' || tag === 'template'; - // https://html.spec.whatwg.org/multipage/semantics.html#the-html-element case 'html': return tag === 'head' || tag === 'body'; @@ -17936,7 +18355,7 @@ tagDisplayName = 'Text nodes'; } else { tagDisplayName = 'Whitespace text nodes'; - whitespaceInfo = ' Make sure you don\'t have any extra whitespace between tags on ' + 'each line of your source code.'; + whitespaceInfo = " Make sure you don't have any extra whitespace between tags on " + 'each line of your source code.'; } } else { tagDisplayName = '<' + childTag + '>'; @@ -17967,9 +18386,9 @@ module.exports = validateDOMNesting; -/***/ }, -/* 133 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 134 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2014-present, Facebook, Inc. @@ -17985,7 +18404,7 @@ var _assign = __webpack_require__(5); - var DOMLazyTree = __webpack_require__(77); + var DOMLazyTree = __webpack_require__(78); var ReactDOMComponentTree = __webpack_require__(35); var ReactDOMEmptyComponent = function (instantiate) { @@ -18031,9 +18450,9 @@ module.exports = ReactDOMEmptyComponent; -/***/ }, -/* 134 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 135 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2015-present, Facebook, Inc. @@ -18049,7 +18468,7 @@ var _prodInvariant = __webpack_require__(36); - var invariant = __webpack_require__(9); + var invariant = __webpack_require__(13); /** * Return the lowest common ancestor of A and B, or null if they are in @@ -18171,9 +18590,9 @@ traverseEnterLeave: traverseEnterLeave }; -/***/ }, -/* 135 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 136 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -18190,13 +18609,13 @@ var _prodInvariant = __webpack_require__(36), _assign = __webpack_require__(5); - var DOMChildrenOperations = __webpack_require__(76); - var DOMLazyTree = __webpack_require__(77); + var DOMChildrenOperations = __webpack_require__(77); + var DOMLazyTree = __webpack_require__(78); var ReactDOMComponentTree = __webpack_require__(35); - var escapeTextContentForBrowser = __webpack_require__(82); - var invariant = __webpack_require__(9); - var validateDOMNesting = __webpack_require__(132); + var escapeTextContentForBrowser = __webpack_require__(83); + var invariant = __webpack_require__(13); + var validateDOMNesting = __webpack_require__(133); /** * Text nodes violate a couple assumptions that React makes about components: @@ -18229,7 +18648,6 @@ }; _assign(ReactDOMTextComponent.prototype, { - /** * Creates the markup for this text node. This node is not intended to have * any features besides containing text content. @@ -18334,14 +18752,13 @@ this._commentNodes = null; ReactDOMComponentTree.uncacheNode(this); } - }); module.exports = ReactDOMTextComponent; -/***/ }, -/* 136 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 137 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -18360,7 +18777,7 @@ var ReactUpdates = __webpack_require__(57); var Transaction = __webpack_require__(64); - var emptyFunction = __webpack_require__(13); + var emptyFunction = __webpack_require__(10); var RESET_BATCHED_UPDATES = { initialize: emptyFunction, @@ -18411,9 +18828,9 @@ module.exports = ReactDefaultBatchingStrategy; -/***/ }, -/* 137 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 138 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -18429,14 +18846,14 @@ var _assign = __webpack_require__(5); - var EventListener = __webpack_require__(138); + var EventListener = __webpack_require__(139); var ExecutionEnvironment = __webpack_require__(49); var PooledClass = __webpack_require__(51); var ReactDOMComponentTree = __webpack_require__(35); var ReactUpdates = __webpack_require__(57); - var getEventTarget = __webpack_require__(65); - var getUnboundedScrollPosition = __webpack_require__(139); + var getEventTarget = __webpack_require__(66); + var getUnboundedScrollPosition = __webpack_require__(140); /** * Find the deepest React component completely containing the root of the @@ -18570,24 +18987,31 @@ module.exports = ReactEventListener; -/***/ }, -/* 138 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 139 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; /** * Copyright (c) 2013-present, Facebook, Inc. - * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * * @typechecks */ - var emptyFunction = __webpack_require__(13); + var emptyFunction = __webpack_require__(10); /** * Upstream version of event listener. Does not take into account specific @@ -18651,9 +19075,9 @@ module.exports = EventListener; -/***/ }, -/* 139 */ -/***/ function(module, exports) { +/***/ }), +/* 140 */ +/***/ (function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -18694,9 +19118,9 @@ module.exports = getUnboundedScrollPosition; -/***/ }, -/* 140 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 141 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -18713,10 +19137,10 @@ var DOMProperty = __webpack_require__(37); var EventPluginHub = __webpack_require__(43); var EventPluginUtils = __webpack_require__(45); - var ReactComponentEnvironment = __webpack_require__(111); - var ReactEmptyComponent = __webpack_require__(120); - var ReactBrowserEventEmitter = __webpack_require__(101); - var ReactHostComponent = __webpack_require__(121); + var ReactComponentEnvironment = __webpack_require__(112); + var ReactEmptyComponent = __webpack_require__(121); + var ReactBrowserEventEmitter = __webpack_require__(102); + var ReactHostComponent = __webpack_require__(122); var ReactUpdates = __webpack_require__(57); var ReactInjection = { @@ -18732,9 +19156,9 @@ module.exports = ReactInjection; -/***/ }, -/* 141 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 142 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -18752,11 +19176,11 @@ var CallbackQueue = __webpack_require__(58); var PooledClass = __webpack_require__(51); - var ReactBrowserEventEmitter = __webpack_require__(101); - var ReactInputSelection = __webpack_require__(142); + var ReactBrowserEventEmitter = __webpack_require__(102); + var ReactInputSelection = __webpack_require__(143); var ReactInstrumentation = __webpack_require__(63); var Transaction = __webpack_require__(64); - var ReactUpdateQueue = __webpack_require__(131); + var ReactUpdateQueue = __webpack_require__(132); /** * Ensures that, when possible, the selection range (currently selected text @@ -18914,9 +19338,9 @@ module.exports = ReactReconcileTransaction; -/***/ }, -/* 142 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 143 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -18930,11 +19354,11 @@ 'use strict'; - var ReactDOMSelection = __webpack_require__(143); + var ReactDOMSelection = __webpack_require__(144); - var containsNode = __webpack_require__(145); - var focusNode = __webpack_require__(90); - var getActiveElement = __webpack_require__(148); + var containsNode = __webpack_require__(146); + var focusNode = __webpack_require__(91); + var getActiveElement = __webpack_require__(149); function isInDocument(node) { return containsNode(document.documentElement, node); @@ -18947,7 +19371,6 @@ * Input selection module for React. */ var ReactInputSelection = { - hasSelectionCapabilities: function (elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); return nodeName && (nodeName === 'input' && elem.type === 'text' || nodeName === 'textarea' || elem.contentEditable === 'true'); @@ -19042,9 +19465,9 @@ module.exports = ReactInputSelection; -/***/ }, -/* 143 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 144 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -19060,7 +19483,7 @@ var ExecutionEnvironment = __webpack_require__(49); - var getNodeForCharacterOffset = __webpack_require__(144); + var getNodeForCharacterOffset = __webpack_require__(145); var getTextContentAccessor = __webpack_require__(52); /** @@ -19258,9 +19681,9 @@ module.exports = ReactDOMSelection; -/***/ }, -/* 144 */ -/***/ function(module, exports) { +/***/ }), +/* 145 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -19336,9 +19759,9 @@ module.exports = getNodeForCharacterOffset; -/***/ }, -/* 145 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 146 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -19353,7 +19776,7 @@ * */ - var isTextNode = __webpack_require__(146); + var isTextNode = __webpack_require__(147); /*eslint-disable no-bitwise */ @@ -19380,9 +19803,9 @@ module.exports = containsNode; -/***/ }, -/* 146 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 147 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -19397,7 +19820,7 @@ * @typechecks */ - var isNode = __webpack_require__(147); + var isNode = __webpack_require__(148); /** * @param {*} object The object to check. @@ -19409,9 +19832,9 @@ module.exports = isTextNode; -/***/ }, -/* 147 */ -/***/ function(module, exports) { +/***/ }), +/* 148 */ +/***/ (function(module, exports) { 'use strict'; @@ -19438,9 +19861,9 @@ module.exports = isNode; -/***/ }, -/* 148 */ -/***/ function(module, exports) { +/***/ }), +/* 149 */ +/***/ (function(module, exports) { 'use strict'; @@ -19481,9 +19904,9 @@ module.exports = getActiveElement; -/***/ }, -/* 149 */ -/***/ function(module, exports) { +/***/ }), +/* 150 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -19787,9 +20210,9 @@ module.exports = SVGDOMPropertyConfig; -/***/ }, -/* 150 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 151 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -19806,12 +20229,12 @@ var EventPropagators = __webpack_require__(42); var ExecutionEnvironment = __webpack_require__(49); var ReactDOMComponentTree = __webpack_require__(35); - var ReactInputSelection = __webpack_require__(142); + var ReactInputSelection = __webpack_require__(143); var SyntheticEvent = __webpack_require__(54); - var getActiveElement = __webpack_require__(148); - var isTextInputElement = __webpack_require__(67); - var shallowEqual = __webpack_require__(118); + var getActiveElement = __webpack_require__(149); + var isTextInputElement = __webpack_require__(68); + var shallowEqual = __webpack_require__(119); var skipSelectionChangeEvent = ExecutionEnvironment.canUseDOM && 'documentMode' in document && document.documentMode <= 11; @@ -19916,7 +20339,6 @@ * - Fires after user input. */ var SelectEventPlugin = { - eventTypes: eventTypes, extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) { @@ -19940,7 +20362,6 @@ activeElementInst = null; lastSelection = null; break; - // Don't fire the event while the user is dragging. This matches the // semantics of the native select event. case 'topMouseDown': @@ -19950,7 +20371,6 @@ case 'topMouseUp': mouseDown = false; return constructSelectEvent(nativeEvent, nativeEventTarget); - // Chrome and IE fire non-standard event when selection is changed (and // sometimes when it hasn't). IE's event fires out of order with respect // to key and input events on deletion, so we discard it. @@ -19982,9 +20402,9 @@ module.exports = SelectEventPlugin; -/***/ }, -/* 151 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 152 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -20001,24 +20421,24 @@ var _prodInvariant = __webpack_require__(36); - var EventListener = __webpack_require__(138); + var EventListener = __webpack_require__(139); var EventPropagators = __webpack_require__(42); var ReactDOMComponentTree = __webpack_require__(35); - var SyntheticAnimationEvent = __webpack_require__(152); - var SyntheticClipboardEvent = __webpack_require__(153); + var SyntheticAnimationEvent = __webpack_require__(153); + var SyntheticClipboardEvent = __webpack_require__(154); var SyntheticEvent = __webpack_require__(54); - var SyntheticFocusEvent = __webpack_require__(154); - var SyntheticKeyboardEvent = __webpack_require__(155); - var SyntheticMouseEvent = __webpack_require__(70); - var SyntheticDragEvent = __webpack_require__(158); - var SyntheticTouchEvent = __webpack_require__(159); - var SyntheticTransitionEvent = __webpack_require__(160); - var SyntheticUIEvent = __webpack_require__(71); - var SyntheticWheelEvent = __webpack_require__(161); + var SyntheticFocusEvent = __webpack_require__(155); + var SyntheticKeyboardEvent = __webpack_require__(156); + var SyntheticMouseEvent = __webpack_require__(71); + var SyntheticDragEvent = __webpack_require__(159); + var SyntheticTouchEvent = __webpack_require__(160); + var SyntheticTransitionEvent = __webpack_require__(161); + var SyntheticUIEvent = __webpack_require__(72); + var SyntheticWheelEvent = __webpack_require__(162); - var emptyFunction = __webpack_require__(13); - var getEventCharCode = __webpack_require__(156); - var invariant = __webpack_require__(9); + var emptyFunction = __webpack_require__(10); + var getEventCharCode = __webpack_require__(157); + var invariant = __webpack_require__(13); /** * Turns @@ -20069,7 +20489,6 @@ } var SimpleEventPlugin = { - eventTypes: eventTypes, extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) { @@ -20209,14 +20628,13 @@ delete onClickListeners[key]; } } - }; module.exports = SimpleEventPlugin; -/***/ }, -/* 152 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 153 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -20257,9 +20675,9 @@ module.exports = SyntheticAnimationEvent; -/***/ }, -/* 153 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 154 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -20299,9 +20717,9 @@ module.exports = SyntheticClipboardEvent; -/***/ }, -/* 154 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 155 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -20315,7 +20733,7 @@ 'use strict'; - var SyntheticUIEvent = __webpack_require__(71); + var SyntheticUIEvent = __webpack_require__(72); /** * @interface FocusEvent @@ -20339,9 +20757,9 @@ module.exports = SyntheticFocusEvent; -/***/ }, -/* 155 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 156 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -20355,11 +20773,11 @@ 'use strict'; - var SyntheticUIEvent = __webpack_require__(71); + var SyntheticUIEvent = __webpack_require__(72); - var getEventCharCode = __webpack_require__(156); - var getEventKey = __webpack_require__(157); - var getEventModifierState = __webpack_require__(73); + var getEventCharCode = __webpack_require__(157); + var getEventKey = __webpack_require__(158); + var getEventModifierState = __webpack_require__(74); /** * @interface KeyboardEvent @@ -20427,9 +20845,9 @@ module.exports = SyntheticKeyboardEvent; -/***/ }, -/* 156 */ -/***/ function(module, exports) { +/***/ }), +/* 157 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -20481,9 +20899,9 @@ module.exports = getEventCharCode; -/***/ }, -/* 157 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 158 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -20497,25 +20915,25 @@ 'use strict'; - var getEventCharCode = __webpack_require__(156); + var getEventCharCode = __webpack_require__(157); /** * Normalization of deprecated HTML5 `key` values * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names */ var normalizeKey = { - 'Esc': 'Escape', - 'Spacebar': ' ', - 'Left': 'ArrowLeft', - 'Up': 'ArrowUp', - 'Right': 'ArrowRight', - 'Down': 'ArrowDown', - 'Del': 'Delete', - 'Win': 'OS', - 'Menu': 'ContextMenu', - 'Apps': 'ContextMenu', - 'Scroll': 'ScrollLock', - 'MozPrintableKey': 'Unidentified' + Esc: 'Escape', + Spacebar: ' ', + Left: 'ArrowLeft', + Up: 'ArrowUp', + Right: 'ArrowRight', + Down: 'ArrowDown', + Del: 'Delete', + Win: 'OS', + Menu: 'ContextMenu', + Apps: 'ContextMenu', + Scroll: 'ScrollLock', + MozPrintableKey: 'Unidentified' }; /** @@ -20545,8 +20963,18 @@ 40: 'ArrowDown', 45: 'Insert', 46: 'Delete', - 112: 'F1', 113: 'F2', 114: 'F3', 115: 'F4', 116: 'F5', 117: 'F6', - 118: 'F7', 119: 'F8', 120: 'F9', 121: 'F10', 122: 'F11', 123: 'F12', + 112: 'F1', + 113: 'F2', + 114: 'F3', + 115: 'F4', + 116: 'F5', + 117: 'F6', + 118: 'F7', + 119: 'F8', + 120: 'F9', + 121: 'F10', + 122: 'F11', + 123: 'F12', 144: 'NumLock', 145: 'ScrollLock', 224: 'Meta' @@ -20587,9 +21015,9 @@ module.exports = getEventKey; -/***/ }, -/* 158 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 159 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -20603,7 +21031,7 @@ 'use strict'; - var SyntheticMouseEvent = __webpack_require__(70); + var SyntheticMouseEvent = __webpack_require__(71); /** * @interface DragEvent @@ -20627,9 +21055,9 @@ module.exports = SyntheticDragEvent; -/***/ }, -/* 159 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 160 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -20643,9 +21071,9 @@ 'use strict'; - var SyntheticUIEvent = __webpack_require__(71); + var SyntheticUIEvent = __webpack_require__(72); - var getEventModifierState = __webpack_require__(73); + var getEventModifierState = __webpack_require__(74); /** * @interface TouchEvent @@ -20676,9 +21104,9 @@ module.exports = SyntheticTouchEvent; -/***/ }, -/* 160 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 161 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -20719,9 +21147,9 @@ module.exports = SyntheticTransitionEvent; -/***/ }, -/* 161 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 162 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -20735,7 +21163,7 @@ 'use strict'; - var SyntheticMouseEvent = __webpack_require__(70); + var SyntheticMouseEvent = __webpack_require__(71); /** * @interface WheelEvent @@ -20743,15 +21171,12 @@ */ var WheelEventInterface = { deltaX: function (event) { - return 'deltaX' in event ? event.deltaX : - // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive). + return 'deltaX' in event ? event.deltaX : // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive). 'wheelDeltaX' in event ? -event.wheelDeltaX : 0; }, deltaY: function (event) { - return 'deltaY' in event ? event.deltaY : - // Fallback to `wheelDeltaY` for Webkit and normalize (down is positive). - 'wheelDeltaY' in event ? -event.wheelDeltaY : - // Fallback to `wheelDelta` for IE<9 and normalize (down is positive). + return 'deltaY' in event ? event.deltaY : // Fallback to `wheelDeltaY` for Webkit and normalize (down is positive). + 'wheelDeltaY' in event ? -event.wheelDeltaY : // Fallback to `wheelDelta` for IE<9 and normalize (down is positive). 'wheelDelta' in event ? -event.wheelDelta : 0; }, deltaZ: null, @@ -20777,9 +21202,9 @@ module.exports = SyntheticWheelEvent; -/***/ }, -/* 162 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 163 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -20795,28 +21220,28 @@ var _prodInvariant = __webpack_require__(36); - var DOMLazyTree = __webpack_require__(77); + var DOMLazyTree = __webpack_require__(78); var DOMProperty = __webpack_require__(37); var React = __webpack_require__(4); - var ReactBrowserEventEmitter = __webpack_require__(101); - var ReactCurrentOwner = __webpack_require__(11); + var ReactBrowserEventEmitter = __webpack_require__(102); + var ReactCurrentOwner = __webpack_require__(18); var ReactDOMComponentTree = __webpack_require__(35); - var ReactDOMContainerInfo = __webpack_require__(163); - var ReactDOMFeatureFlags = __webpack_require__(164); + var ReactDOMContainerInfo = __webpack_require__(164); + var ReactDOMFeatureFlags = __webpack_require__(165); var ReactFeatureFlags = __webpack_require__(59); - var ReactInstanceMap = __webpack_require__(112); + var ReactInstanceMap = __webpack_require__(113); var ReactInstrumentation = __webpack_require__(63); - var ReactMarkupChecksum = __webpack_require__(165); + var ReactMarkupChecksum = __webpack_require__(166); var ReactReconciler = __webpack_require__(60); - var ReactUpdateQueue = __webpack_require__(131); + var ReactUpdateQueue = __webpack_require__(132); var ReactUpdates = __webpack_require__(57); - var emptyObject = __webpack_require__(21); - var instantiateReactComponent = __webpack_require__(115); - var invariant = __webpack_require__(9); - var setInnerHTML = __webpack_require__(79); - var shouldUpdateReactComponent = __webpack_require__(119); - var warning = __webpack_require__(12); + var emptyObject = __webpack_require__(12); + var instantiateReactComponent = __webpack_require__(116); + var invariant = __webpack_require__(13); + var setInnerHTML = __webpack_require__(80); + var shouldUpdateReactComponent = __webpack_require__(120); + var warning = __webpack_require__(9); var ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME; var ROOT_ATTR_NAME = DOMProperty.ROOT_ATTRIBUTE_NAME; @@ -21039,7 +21464,6 @@ * Inside of `container`, the first element rendered is the "reactRoot". */ var ReactMount = { - TopLevelWrapper: TopLevelWrapper, /** @@ -21128,13 +21552,14 @@ _renderSubtreeIntoContainer: function (parentComponent, nextElement, container, callback) { ReactUpdateQueue.validateCallback(callback, 'ReactDOM.render'); - !React.isValidElement(nextElement) ? false ? invariant(false, 'ReactDOM.render(): Invalid component element.%s', typeof nextElement === 'string' ? ' Instead of passing a string like \'div\', pass ' + 'React.createElement(\'div\') or
.' : typeof nextElement === 'function' ? ' Instead of passing a class like Foo, pass ' + 'React.createElement(Foo) or .' : - // Check if it quacks like an element - nextElement != null && nextElement.props !== undefined ? ' This may be caused by unintentionally loading two independent ' + 'copies of React.' : '') : _prodInvariant('39', typeof nextElement === 'string' ? ' Instead of passing a string like \'div\', pass ' + 'React.createElement(\'div\') or
.' : typeof nextElement === 'function' ? ' Instead of passing a class like Foo, pass ' + 'React.createElement(Foo) or .' : nextElement != null && nextElement.props !== undefined ? ' This may be caused by unintentionally loading two independent ' + 'copies of React.' : '') : void 0; + !React.isValidElement(nextElement) ? false ? invariant(false, 'ReactDOM.render(): Invalid component element.%s', typeof nextElement === 'string' ? " Instead of passing a string like 'div', pass " + "React.createElement('div') or
." : typeof nextElement === 'function' ? ' Instead of passing a class like Foo, pass ' + 'React.createElement(Foo) or .' : // Check if it quacks like an element + nextElement != null && nextElement.props !== undefined ? ' This may be caused by unintentionally loading two independent ' + 'copies of React.' : '') : _prodInvariant('39', typeof nextElement === 'string' ? " Instead of passing a string like 'div', pass " + "React.createElement('div') or
." : typeof nextElement === 'function' ? ' Instead of passing a class like Foo, pass ' + 'React.createElement(Foo) or .' : nextElement != null && nextElement.props !== undefined ? ' This may be caused by unintentionally loading two independent ' + 'copies of React.' : '') : void 0; false ? warning(!container || !container.tagName || container.tagName.toUpperCase() !== 'BODY', 'render(): Rendering components directly into document.body is ' + 'discouraged, since its children are often manipulated by third-party ' + 'scripts and browser extensions. This may lead to subtle ' + 'reconciliation issues. Try rendering into a container element created ' + 'for your app.') : void 0; - var nextWrappedElement = React.createElement(TopLevelWrapper, { child: nextElement }); + var nextWrappedElement = React.createElement(TopLevelWrapper, { + child: nextElement + }); var nextContext; if (parentComponent) { @@ -21223,7 +21648,7 @@ !isValidContainer(container) ? false ? invariant(false, 'unmountComponentAtNode(...): Target container is not a DOM element.') : _prodInvariant('40') : void 0; if (false) { - process.env.NODE_ENV !== 'production' ? warning(!nodeIsRenderedByOtherInstance(container), 'unmountComponentAtNode(): The node you\'re attempting to unmount ' + 'was rendered by another copy of React.') : void 0; + process.env.NODE_ENV !== 'production' ? warning(!nodeIsRenderedByOtherInstance(container), "unmountComponentAtNode(): The node you're attempting to unmount " + 'was rendered by another copy of React.') : void 0; } var prevComponent = getTopLevelWrapperInContainer(container); @@ -21236,7 +21661,7 @@ var isContainerReactRoot = container.nodeType === 1 && container.hasAttribute(ROOT_ATTR_NAME); if (false) { - process.env.NODE_ENV !== 'production' ? warning(!containerHasNonRootReactChild, 'unmountComponentAtNode(): The node you\'re attempting to unmount ' + 'was rendered by React and is not a top-level container. %s', isContainerReactRoot ? 'You may have accidentally passed in a React root node instead ' + 'of its container.' : 'Instead, have the parent component update its state and ' + 'rerender in order to remove this component.') : void 0; + process.env.NODE_ENV !== 'production' ? warning(!containerHasNonRootReactChild, "unmountComponentAtNode(): The node you're attempting to unmount " + 'was rendered by React and is not a top-level container. %s', isContainerReactRoot ? 'You may have accidentally passed in a React root node instead ' + 'of its container.' : 'Instead, have the parent component update its state and ' + 'rerender in order to remove this component.') : void 0; } return false; @@ -21319,9 +21744,9 @@ module.exports = ReactMount; -/***/ }, -/* 163 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 164 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -21335,7 +21760,7 @@ 'use strict'; - var validateDOMNesting = __webpack_require__(132); + var validateDOMNesting = __webpack_require__(133); var DOC_NODE_TYPE = 9; @@ -21356,9 +21781,9 @@ module.exports = ReactDOMContainerInfo; -/***/ }, -/* 164 */ -/***/ function(module, exports) { +/***/ }), +/* 165 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -21379,9 +21804,9 @@ module.exports = ReactDOMFeatureFlags; -/***/ }, -/* 165 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 166 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -21395,7 +21820,7 @@ 'use strict'; - var adler32 = __webpack_require__(166); + var adler32 = __webpack_require__(167); var TAG_END = /\/?>/; var COMMENT_START = /^<\!\-\-/; @@ -21433,9 +21858,9 @@ module.exports = ReactMarkupChecksum; -/***/ }, -/* 166 */ -/***/ function(module, exports) { +/***/ }), +/* 167 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -21481,9 +21906,9 @@ module.exports = adler32; -/***/ }, -/* 167 */ -/***/ function(module, exports) { +/***/ }), +/* 168 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -21497,11 +21922,11 @@ 'use strict'; - module.exports = '15.5.1'; + module.exports = '15.6.1'; -/***/ }, -/* 168 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 169 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -21517,13 +21942,13 @@ var _prodInvariant = __webpack_require__(36); - var ReactCurrentOwner = __webpack_require__(11); + var ReactCurrentOwner = __webpack_require__(18); var ReactDOMComponentTree = __webpack_require__(35); - var ReactInstanceMap = __webpack_require__(112); + var ReactInstanceMap = __webpack_require__(113); - var getHostComponentFromComposite = __webpack_require__(169); - var invariant = __webpack_require__(9); - var warning = __webpack_require__(12); + var getHostComponentFromComposite = __webpack_require__(170); + var invariant = __webpack_require__(13); + var warning = __webpack_require__(9); /** * Returns the DOM node rendered by this element. @@ -21563,9 +21988,9 @@ module.exports = findDOMNode; -/***/ }, -/* 169 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 170 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -21579,7 +22004,7 @@ 'use strict'; - var ReactNodeTypes = __webpack_require__(117); + var ReactNodeTypes = __webpack_require__(118); function getHostComponentFromComposite(inst) { var type; @@ -21597,9 +22022,9 @@ module.exports = getHostComponentFromComposite; -/***/ }, -/* 170 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 171 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -21613,13 +22038,13 @@ 'use strict'; - var ReactMount = __webpack_require__(162); + var ReactMount = __webpack_require__(163); module.exports = ReactMount.renderSubtreeIntoContainer; -/***/ }, -/* 171 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 172 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -21633,16 +22058,16 @@ } Object.defineProperty(exports, "__esModule", { value: true }); __webpack_require__(2); - __export(__webpack_require__(172)); - __export(__webpack_require__(175)); - __export(__webpack_require__(278)); - __export(__webpack_require__(280)); + __export(__webpack_require__(173)); + __export(__webpack_require__(176)); + __export(__webpack_require__(286)); + __export(__webpack_require__(288)); -/***/ }, -/* 172 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 173 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -21652,8 +22077,8 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(173); - var classNames = __webpack_require__(174); + var tslib_1 = __webpack_require__(174); + var classNames = __webpack_require__(175); var React = __webpack_require__(3); /** * Starter class for all React example components. @@ -21713,9 +22138,9 @@ -/***/ }, -/* 173 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 174 */ +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(global) {/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. @@ -21929,9 +22354,9 @@ }); /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) -/***/ }, -/* 174 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 175 */ +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! Copyright (c) 2016 Jed Watson. @@ -21983,9 +22408,9 @@ }()); -/***/ }, -/* 175 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 176 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -21995,15 +22420,15 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(173); - var classNames = __webpack_require__(174); - var client_1 = __webpack_require__(176); + var tslib_1 = __webpack_require__(174); + var classNames = __webpack_require__(175); + var client_1 = __webpack_require__(177); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var utils_1 = __webpack_require__(267); - var navigator_1 = __webpack_require__(268); - var navMenu_1 = __webpack_require__(275); - var page_1 = __webpack_require__(276); + var core_1 = __webpack_require__(179); + var utils_1 = __webpack_require__(275); + var navigator_1 = __webpack_require__(276); + var navMenu_1 = __webpack_require__(283); + var page_1 = __webpack_require__(284); var Documentation = (function (_super) { tslib_1.__extends(Documentation, _super); function Documentation(props) { @@ -22171,9 +22596,9 @@ -/***/ }, -/* 176 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 177 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -22186,12 +22611,12 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(177)); + __export(__webpack_require__(178)); -/***/ }, -/* 177 */ -/***/ function(module, exports) { +/***/ }), +/* 178 */ +/***/ (function(module, exports) { /** * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -22227,9 +22652,9 @@ exports.isPageNode = isPageNode; -/***/ }, -/* 178 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 179 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -22242,15 +22667,15 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(179)); - __export(__webpack_require__(182)); - __export(__webpack_require__(196)); + __export(__webpack_require__(180)); + __export(__webpack_require__(183)); + __export(__webpack_require__(197)); -/***/ }, -/* 179 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 180 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -22263,13 +22688,13 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(180)); + __export(__webpack_require__(181)); -/***/ }, -/* 180 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 181 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -22279,7 +22704,7 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var interactionMode_1 = __webpack_require__(181); + var interactionMode_1 = __webpack_require__(182); exports.FOCUS_DISABLED_CLASS = "pt-focus-disabled"; /* istanbul ignore next */ var fakeFocusEngine = { @@ -22301,9 +22726,9 @@ -/***/ }, -/* 181 */ -/***/ function(module, exports) { +/***/ }), +/* 182 */ +/***/ (function(module, exports) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -22364,9 +22789,9 @@ -/***/ }, -/* 182 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 183 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -22379,29 +22804,29 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(183)); - __export(__webpack_require__(187)); + __export(__webpack_require__(184)); __export(__webpack_require__(188)); __export(__webpack_require__(189)); __export(__webpack_require__(190)); __export(__webpack_require__(191)); - var classes = __webpack_require__(192); - var keys = __webpack_require__(193); - var utils = __webpack_require__(185); + __export(__webpack_require__(192)); + var classes = __webpack_require__(193); + var keys = __webpack_require__(194); + var utils = __webpack_require__(186); exports.Classes = classes; exports.Keys = keys; exports.Utils = utils; // NOTE: Errors is not exported in public API - var iconClasses_1 = __webpack_require__(194); + var iconClasses_1 = __webpack_require__(195); exports.IconClasses = iconClasses_1.IconClasses; - var iconStrings_1 = __webpack_require__(195); + var iconStrings_1 = __webpack_require__(196); exports.IconContents = iconStrings_1.IconContents; -/***/ }, -/* 183 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 184 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -22411,9 +22836,9 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var utils_1 = __webpack_require__(185); + var utils_1 = __webpack_require__(186); /** * An abstract component that Blueprint components can extend * in order to add some common functionality like runtime props validation. @@ -22478,9 +22903,9 @@ -/***/ }, -/* 184 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 185 */ +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(global) {/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. @@ -22694,9 +23119,9 @@ }); /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) -/***/ }, -/* 185 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 186 */ +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {/* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -22706,7 +23131,7 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var errors_1 = __webpack_require__(186); + var errors_1 = __webpack_require__(187); /** Returns whether `process.env.NODE_ENV` exists and equals `env`. */ function isNodeEnv(env) { return typeof process !== "undefined" && ({"NODE_ENV":"production"}) && ("production") === env; @@ -22840,11 +23265,11 @@ } - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(114))) + /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(115))) -/***/ }, -/* 186 */ -/***/ function(module, exports) { +/***/ }), +/* 187 */ +/***/ (function(module, exports) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -22896,9 +23321,9 @@ -/***/ }, -/* 187 */ -/***/ function(module, exports) { +/***/ }), +/* 188 */ +/***/ (function(module, exports) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -23000,9 +23425,9 @@ -/***/ }, -/* 188 */ -/***/ function(module, exports) { +/***/ }), +/* 189 */ +/***/ (function(module, exports) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -23026,9 +23451,9 @@ -/***/ }, -/* 189 */ -/***/ function(module, exports) { +/***/ }), +/* 190 */ +/***/ (function(module, exports) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -23068,9 +23493,9 @@ -/***/ }, -/* 190 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 191 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -23080,7 +23505,7 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); /** A collection of curated prop keys used across our Components which are not valid HTMLElement props. */ var INVALID_PROPS = [ "active", @@ -23122,9 +23547,9 @@ -/***/ }, -/* 191 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 192 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -23134,8 +23559,8 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var position_1 = __webpack_require__(189); + var tslib_1 = __webpack_require__(185); + var position_1 = __webpack_require__(190); // per https://github.com/HubSpot/tether/pull/204, Tether now exposes a `bodyElement` option that, // when present, gets the tethered element injected into *it* instead of into the document body. // but both approaches still cause React to freak out, because it loses its handle on the DOM @@ -23205,9 +23630,9 @@ -/***/ }, -/* 192 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 193 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -23217,7 +23642,7 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var intent_1 = __webpack_require__(188); + var intent_1 = __webpack_require__(189); // modifiers exports.DARK = "pt-dark"; exports.ACTIVE = "pt-active"; @@ -23383,9 +23808,9 @@ -/***/ }, -/* 193 */ -/***/ function(module, exports) { +/***/ }), +/* 194 */ +/***/ (function(module, exports) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -23409,9 +23834,9 @@ -/***/ }, -/* 194 */ -/***/ function(module, exports) { +/***/ }), +/* 195 */ +/***/ (function(module, exports) { /* * Copyright 2015-present Palantir Technologies, Inc. All rights reserved. @@ -23816,7 +24241,7 @@ PERCENTAGE: "pt-icon-percentage", SATELLITE: "pt-icon-satellite", PARAGRAPH: "pt-icon-paragraph", - BANL_ACCOUNT: "pt-icon-banl-account", + BANK_ACCOUNT: "pt-icon-bank-account", CELL_TOWER: "pt-icon-cell-tower", ID_NUMBER: "pt-icon-id-number", IP_ADDRESS: "pt-icon-ip-address", @@ -23833,9 +24258,9 @@ -/***/ }, -/* 195 */ -/***/ function(module, exports) { +/***/ }), +/* 196 */ +/***/ (function(module, exports) { /* * Copyright 2015-present Palantir Technologies, Inc. All rights reserved. @@ -24240,7 +24665,7 @@ PERCENTAGE: "\ue76a", SATELLITE: "\ue76b", PARAGRAPH: "\ue76c", - BANL_ACCOUNT: "\ue76f", + BANK_ACCOUNT: "\ue76f", CELL_TOWER: "\ue770", ID_NUMBER: "\ue771", IP_ADDRESS: "\ue772", @@ -24257,9 +24682,9 @@ -/***/ }, -/* 196 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 197 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -24277,55 +24702,55 @@ __webpack_require__(2); // only import actual dom4 if we're in the browser (not server-compatible) // we'll still need dom4 types for the TypeScript to compile, these are included in package.json } - var contextMenu = __webpack_require__(197); + var contextMenu = __webpack_require__(198); exports.ContextMenu = contextMenu; - __export(__webpack_require__(218)); - __export(__webpack_require__(224)); - __export(__webpack_require__(219)); - __export(__webpack_require__(225)); __export(__webpack_require__(226)); - __export(__webpack_require__(229)); - __export(__webpack_require__(223)); - __export(__webpack_require__(230)); + __export(__webpack_require__(232)); + __export(__webpack_require__(227)); __export(__webpack_require__(233)); __export(__webpack_require__(234)); - __export(__webpack_require__(235)); - __export(__webpack_require__(236)); __export(__webpack_require__(237)); - __export(__webpack_require__(221)); - __export(__webpack_require__(227)); + __export(__webpack_require__(231)); + __export(__webpack_require__(238)); + __export(__webpack_require__(241)); + __export(__webpack_require__(242)); + __export(__webpack_require__(243)); __export(__webpack_require__(244)); - __export(__webpack_require__(228)); __export(__webpack_require__(245)); - __export(__webpack_require__(205)); - __export(__webpack_require__(246)); - __export(__webpack_require__(198)); - __export(__webpack_require__(247)); - __export(__webpack_require__(215)); - __export(__webpack_require__(248)); - __export(__webpack_require__(249)); - __export(__webpack_require__(250)); + __export(__webpack_require__(229)); + __export(__webpack_require__(235)); + __export(__webpack_require__(252)); + __export(__webpack_require__(236)); __export(__webpack_require__(253)); - __export(__webpack_require__(222)); + __export(__webpack_require__(206)); __export(__webpack_require__(254)); + __export(__webpack_require__(199)); __export(__webpack_require__(255)); + __export(__webpack_require__(223)); __export(__webpack_require__(256)); __export(__webpack_require__(257)); __export(__webpack_require__(258)); - __export(__webpack_require__(259)); - __export(__webpack_require__(260)); + __export(__webpack_require__(261)); + __export(__webpack_require__(230)); __export(__webpack_require__(262)); __export(__webpack_require__(263)); __export(__webpack_require__(264)); - __export(__webpack_require__(216)); __export(__webpack_require__(265)); __export(__webpack_require__(266)); + __export(__webpack_require__(267)); + __export(__webpack_require__(268)); + __export(__webpack_require__(270)); + __export(__webpack_require__(271)); + __export(__webpack_require__(272)); + __export(__webpack_require__(224)); + __export(__webpack_require__(273)); + __export(__webpack_require__(274)); -/***/ }, -/* 197 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 198 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -24335,14 +24760,14 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); var ReactDOM = __webpack_require__(33); - var abstractComponent_1 = __webpack_require__(183); - var Classes = __webpack_require__(192); - var position_1 = __webpack_require__(189); - var utils_1 = __webpack_require__(185); - var popover_1 = __webpack_require__(198); + var abstractComponent_1 = __webpack_require__(184); + var Classes = __webpack_require__(193); + var position_1 = __webpack_require__(190); + var utils_1 = __webpack_require__(186); + var popover_1 = __webpack_require__(199); var TETHER_OPTIONS = { constraints: [ { attachment: "together", pin: true, to: "window" }, @@ -24426,9 +24851,9 @@ -/***/ }, -/* 198 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 199 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -24438,21 +24863,21 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); var react_dom_1 = __webpack_require__(33); - var Tether = __webpack_require__(204); - var abstractComponent_1 = __webpack_require__(183); - var Classes = __webpack_require__(192); - var Errors = __webpack_require__(186); - var PosUtils = __webpack_require__(189); - var TetherUtils = __webpack_require__(191); - var Utils = __webpack_require__(185); - var overlay_1 = __webpack_require__(205); - var tooltip_1 = __webpack_require__(216); - var Arrows = __webpack_require__(217); + var Tether = __webpack_require__(205); + var abstractComponent_1 = __webpack_require__(184); + var Classes = __webpack_require__(193); + var Errors = __webpack_require__(187); + var PosUtils = __webpack_require__(190); + var TetherUtils = __webpack_require__(192); + var Utils = __webpack_require__(186); + var overlay_1 = __webpack_require__(206); + var tooltip_1 = __webpack_require__(224); + var Arrows = __webpack_require__(225); var SVG_SHADOW_PATH = "M8.11 6.302c1.015-.936 1.887-2.922 1.887-4.297v26c0-1.378" + "-.868-3.357-1.888-4.297L.925 17.09c-1.237-1.14-1.233-3.034 0-4.17L8.11 6.302z"; var SVG_ARROW_PATH = "M8.787 7.036c1.22-1.125 2.21-3.376 2.21-5.03V0v30-2.005" + @@ -24859,9 +25284,9 @@ -/***/ }, -/* 199 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 200 */ +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! Copyright (c) 2016 Jed Watson. @@ -24913,9 +25338,9 @@ }()); -/***/ }, -/* 200 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 201 */ +/***/ (function(module, exports, __webpack_require__) { /** * @author Félix Girault @@ -24923,8 +25348,8 @@ */ 'use strict'; - var warning = __webpack_require__(201); - var shallowEqual = __webpack_require__(203); + var warning = __webpack_require__(202); + var shallowEqual = __webpack_require__(204); @@ -24985,9 +25410,9 @@ module.exports = pureRenderDecorator; -/***/ }, -/* 201 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 202 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2014-2015, Facebook, Inc. @@ -25001,7 +25426,7 @@ 'use strict'; - var emptyFunction = __webpack_require__(202); + var emptyFunction = __webpack_require__(203); /** * Similar to invariant but only logs a warning if the condition is not met. @@ -25013,52 +25438,50 @@ var warning = emptyFunction; if (false) { - (function () { - var printWarning = function printWarning(format) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - var argIndex = 0; - var message = 'Warning: ' + format.replace(/%s/g, function () { - return args[argIndex++]; - }); - if (typeof console !== 'undefined') { - console.error(message); - } - try { - // --- Welcome to debugging React --- - // This error was thrown as a convenience so that you can use this stack - // to find the callsite that caused this warning to fire. - throw new Error(message); - } catch (x) {} - }; + var printWarning = function printWarning(format) { + for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } - warning = function warning(condition, format) { - if (format === undefined) { - throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument'); - } + var argIndex = 0; + var message = 'Warning: ' + format.replace(/%s/g, function () { + return args[argIndex++]; + }); + if (typeof console !== 'undefined') { + console.error(message); + } + try { + // --- Welcome to debugging React --- + // This error was thrown as a convenience so that you can use this stack + // to find the callsite that caused this warning to fire. + throw new Error(message); + } catch (x) {} + }; - if (format.indexOf('Failed Composite propType: ') === 0) { - return; // Ignore CompositeComponent proptype check. - } + warning = function warning(condition, format) { + if (format === undefined) { + throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument'); + } - if (!condition) { - for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { - args[_key2 - 2] = arguments[_key2]; - } + if (format.indexOf('Failed Composite propType: ') === 0) { + return; // Ignore CompositeComponent proptype check. + } - printWarning.apply(undefined, [format].concat(args)); + if (!condition) { + for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { + args[_key2 - 2] = arguments[_key2]; } - }; - })(); + + printWarning.apply(undefined, [format].concat(args)); + } + }; } module.exports = warning; -/***/ }, -/* 202 */ -/***/ function(module, exports) { +/***/ }), +/* 203 */ +/***/ (function(module, exports) { "use strict"; @@ -25099,9 +25522,9 @@ module.exports = emptyFunction; -/***/ }, -/* 203 */ -/***/ function(module, exports) { +/***/ }), +/* 204 */ +/***/ (function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -25171,9 +25594,9 @@ module.exports = shallowEqual; -/***/ }, -/* 204 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 205 */ +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! tether 1.4.0 */ @@ -26988,9 +27411,9 @@ })); -/***/ }, -/* 205 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 206 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -27000,15 +27423,15 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var CSSTransitionGroup = __webpack_require__(206); - var Classes = __webpack_require__(192); - var Keys = __webpack_require__(193); - var utils_1 = __webpack_require__(185); - var portal_1 = __webpack_require__(215); + var CSSTransitionGroup = __webpack_require__(207); + var Classes = __webpack_require__(193); + var Keys = __webpack_require__(194); + var utils_1 = __webpack_require__(186); + var portal_1 = __webpack_require__(223); var Overlay = Overlay_1 = (function (_super) { tslib_1.__extends(Overlay, _super); function Overlay(props, context) { @@ -27220,15 +27643,9 @@ -/***/ }, -/* 206 */ -/***/ function(module, exports, __webpack_require__) { - - module.exports = __webpack_require__(207); - -/***/ }, +/***/ }), /* 207 */ -/***/ function(module, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -27237,68 +27654,80 @@ * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. - * */ 'use strict'; - var _assign = __webpack_require__(5); + module.exports = __webpack_require__(208); + + +/***/ }), +/* 208 */ +/***/ (function(module, exports, __webpack_require__) { + + 'use strict'; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + exports.__esModule = true; - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + var _react = __webpack_require__(3); - var React = __webpack_require__(4); - var propTypesFactory = __webpack_require__(27); - var PropTypes = propTypesFactory(React.isValidElement); + var _react2 = _interopRequireDefault(_react); - var ReactTransitionGroup = __webpack_require__(208); - var ReactCSSTransitionGroupChild = __webpack_require__(211); + var _propTypes = __webpack_require__(209); - function createTransitionTimeoutPropValidator(transitionType) { - var timeoutPropName = 'transition' + transitionType + 'Timeout'; - var enabledPropName = 'transition' + transitionType; + var _propTypes2 = _interopRequireDefault(_propTypes); - return function (props) { - // If the transition is enabled - if (props[enabledPropName]) { - // If no timeout duration is provided - if (props[timeoutPropName] == null) { - return new Error(timeoutPropName + ' wasn\'t supplied to ReactCSSTransitionGroup: ' + 'this can cause unreliable animations and won\'t be supported in ' + 'a future version of React. See ' + 'https://fb.me/react-animation-transition-group-timeout for more ' + 'information.'); + var _TransitionGroup = __webpack_require__(211); - // If the duration isn't a number - } else if (typeof props[timeoutPropName] !== 'number') { - return new Error(timeoutPropName + ' must be a number (in milliseconds)'); - } - } - }; - } + var _TransitionGroup2 = _interopRequireDefault(_TransitionGroup); - /** - * An easy way to perform CSS transitions and animations when a React component - * enters or leaves the DOM. - * See https://facebook.github.io/react/docs/animation.html#high-level-api-reactcsstransitiongroup - */ + var _CSSTransitionGroupChild = __webpack_require__(215); + + var _CSSTransitionGroupChild2 = _interopRequireDefault(_CSSTransitionGroupChild); + + var _PropTypes = __webpack_require__(222); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var propTypes = { + transitionName: _PropTypes.nameShape.isRequired, + + transitionAppear: _propTypes2.default.bool, + transitionEnter: _propTypes2.default.bool, + transitionLeave: _propTypes2.default.bool, + transitionAppearTimeout: (0, _PropTypes.transitionTimeout)('Appear'), + transitionEnterTimeout: (0, _PropTypes.transitionTimeout)('Enter'), + transitionLeaveTimeout: (0, _PropTypes.transitionTimeout)('Leave') + }; + + var defaultProps = { + transitionAppear: false, + transitionEnter: true, + transitionLeave: true + }; - var ReactCSSTransitionGroup = function (_React$Component) { - _inherits(ReactCSSTransitionGroup, _React$Component); + var CSSTransitionGroup = function (_React$Component) { + _inherits(CSSTransitionGroup, _React$Component); - function ReactCSSTransitionGroup() { + function CSSTransitionGroup() { var _temp, _this, _ret; - _classCallCheck(this, ReactCSSTransitionGroup); + _classCallCheck(this, CSSTransitionGroup); for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this._wrapChild = function (child) { - // We need to provide this childFactory so that - // ReactCSSTransitionGroupChild can receive updates to name, enter, and - // leave while it is leaving. - return React.createElement(ReactCSSTransitionGroupChild, { + return _react2.default.createElement(_CSSTransitionGroupChild2.default, { name: _this.props.transitionName, appear: _this.props.transitionAppear, enter: _this.props.transitionEnter, @@ -27310,36 +27739,30 @@ }, _temp), _possibleConstructorReturn(_this, _ret); } - ReactCSSTransitionGroup.prototype.render = function render() { - return React.createElement(ReactTransitionGroup, _assign({}, this.props, { childFactory: this._wrapChild })); + // We need to provide this childFactory so that + // ReactCSSTransitionGroupChild can receive updates to name, enter, and + // leave while it is leaving. + + + CSSTransitionGroup.prototype.render = function render() { + return _react2.default.createElement(_TransitionGroup2.default, _extends({}, this.props, { childFactory: this._wrapChild })); }; - return ReactCSSTransitionGroup; - }(React.Component); + return CSSTransitionGroup; + }(_react2.default.Component); - ReactCSSTransitionGroup.displayName = 'ReactCSSTransitionGroup'; - ReactCSSTransitionGroup.propTypes = { - transitionName: ReactCSSTransitionGroupChild.propTypes.name, + CSSTransitionGroup.displayName = 'CSSTransitionGroup'; - transitionAppear: PropTypes.bool, - transitionEnter: PropTypes.bool, - transitionLeave: PropTypes.bool, - transitionAppearTimeout: createTransitionTimeoutPropValidator('Appear'), - transitionEnterTimeout: createTransitionTimeoutPropValidator('Enter'), - transitionLeaveTimeout: createTransitionTimeoutPropValidator('Leave') - }; - ReactCSSTransitionGroup.defaultProps = { - transitionAppear: false, - transitionEnter: true, - transitionLeave: true - }; + CSSTransitionGroup.propTypes = false ? propTypes : {}; + CSSTransitionGroup.defaultProps = defaultProps; - module.exports = ReactCSSTransitionGroup; + exports.default = CSSTransitionGroup; + module.exports = exports['default']; -/***/ }, -/* 208 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 209 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -27348,202 +27771,345 @@ * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. + */ + + if (false) { + var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' && + Symbol.for && + Symbol.for('react.element')) || + 0xeac7; + + var isValidElement = function(object) { + return typeof object === 'object' && + object !== null && + object.$$typeof === REACT_ELEMENT_TYPE; + }; + + // By explicitly using `prop-types` you are opting into new development behavior. + // http://fb.me/prop-types-in-prod + var throwOnDirectAccess = true; + module.exports = require('./factoryWithTypeCheckers')(isValidElement, throwOnDirectAccess); + } else { + // By explicitly using `prop-types` you are opting into new production behavior. + // http://fb.me/prop-types-in-prod + module.exports = __webpack_require__(210)(); + } + + +/***/ }), +/* 210 */ +/***/ (function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. */ 'use strict'; - var _assign = __webpack_require__(5); + var emptyFunction = __webpack_require__(10); + var invariant = __webpack_require__(13); + var ReactPropTypesSecret = __webpack_require__(27); - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + module.exports = function() { + function shim(props, propName, componentName, location, propFullName, secret) { + if (secret === ReactPropTypesSecret) { + // It is still safe when called from React. + return; + } + invariant( + false, + 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' + + 'Use PropTypes.checkPropTypes() to call them. ' + + 'Read more at http://fb.me/use-check-prop-types' + ); + }; + shim.isRequired = shim; + function getShim() { + return shim; + }; + // Important! + // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`. + var ReactPropTypes = { + array: shim, + bool: shim, + func: shim, + number: shim, + object: shim, + string: shim, + symbol: shim, - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + any: shim, + arrayOf: getShim, + element: shim, + instanceOf: getShim, + node: shim, + objectOf: getShim, + oneOf: getShim, + oneOfType: getShim, + shape: getShim + }; - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + ReactPropTypes.checkPropTypes = emptyFunction; + ReactPropTypes.PropTypes = ReactPropTypes; - var React = __webpack_require__(4); - var ReactTransitionChildMapping = __webpack_require__(209); + return ReactPropTypes; + }; + + +/***/ }), +/* 211 */ +/***/ (function(module, exports, __webpack_require__) { + + 'use strict'; - var propTypesFactory = __webpack_require__(27); - var PropTypes = propTypesFactory(React.isValidElement); + exports.__esModule = true; - var emptyFunction = __webpack_require__(13); + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - /** - * A basis for animations. When children are declaratively added or removed, - * special lifecycle hooks are called. - * See https://facebook.github.io/react/docs/animation.html#low-level-api-reacttransitiongroup - */ + var _chainFunction = __webpack_require__(212); - var ReactTransitionGroup = function (_React$Component) { - _inherits(ReactTransitionGroup, _React$Component); + var _chainFunction2 = _interopRequireDefault(_chainFunction); - function ReactTransitionGroup() { - var _temp, _this, _ret; + var _react = __webpack_require__(3); - _classCallCheck(this, ReactTransitionGroup); + var _react2 = _interopRequireDefault(_react); - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } + var _propTypes = __webpack_require__(209); - return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = { - // TODO: can we get useful debug information to show at this point? - children: ReactTransitionChildMapping.getChildMapping(_this.props.children) - }, _this.performAppear = function (key) { - _this.currentlyTransitioningKeys[key] = true; + var _propTypes2 = _interopRequireDefault(_propTypes); - var component = _this.refs[key]; + var _warning = __webpack_require__(213); + + var _warning2 = _interopRequireDefault(_warning); + + var _ChildMapping = __webpack_require__(214); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var propTypes = { + component: _propTypes2.default.any, + childFactory: _propTypes2.default.func, + children: _propTypes2.default.node + }; + + var defaultProps = { + component: 'span', + childFactory: function childFactory(child) { + return child; + } + }; + + var TransitionGroup = function (_React$Component) { + _inherits(TransitionGroup, _React$Component); + + function TransitionGroup(props, context) { + _classCallCheck(this, TransitionGroup); + + var _this = _possibleConstructorReturn(this, _React$Component.call(this, props, context)); + + _this.performAppear = function (key, component) { + _this.currentlyTransitioningKeys[key] = true; if (component.componentWillAppear) { - component.componentWillAppear(_this._handleDoneAppearing.bind(_this, key)); + component.componentWillAppear(_this._handleDoneAppearing.bind(_this, key, component)); } else { - _this._handleDoneAppearing(key); + _this._handleDoneAppearing(key, component); } - }, _this._handleDoneAppearing = function (key) { - var component = _this.refs[key]; + }; + + _this._handleDoneAppearing = function (key, component) { if (component.componentDidAppear) { component.componentDidAppear(); } delete _this.currentlyTransitioningKeys[key]; - var currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children); + var currentChildMapping = (0, _ChildMapping.getChildMapping)(_this.props.children); if (!currentChildMapping || !currentChildMapping.hasOwnProperty(key)) { // This was removed before it had fully appeared. Remove it. - _this.performLeave(key); + _this.performLeave(key, component); } - }, _this.performEnter = function (key) { - _this.currentlyTransitioningKeys[key] = true; + }; - var component = _this.refs[key]; + _this.performEnter = function (key, component) { + _this.currentlyTransitioningKeys[key] = true; if (component.componentWillEnter) { - component.componentWillEnter(_this._handleDoneEntering.bind(_this, key)); + component.componentWillEnter(_this._handleDoneEntering.bind(_this, key, component)); } else { - _this._handleDoneEntering(key); + _this._handleDoneEntering(key, component); } - }, _this._handleDoneEntering = function (key) { - var component = _this.refs[key]; + }; + + _this._handleDoneEntering = function (key, component) { if (component.componentDidEnter) { component.componentDidEnter(); } delete _this.currentlyTransitioningKeys[key]; - var currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children); + var currentChildMapping = (0, _ChildMapping.getChildMapping)(_this.props.children); if (!currentChildMapping || !currentChildMapping.hasOwnProperty(key)) { // This was removed before it had fully entered. Remove it. - _this.performLeave(key); + _this.performLeave(key, component); } - }, _this.performLeave = function (key) { + }; + + _this.performLeave = function (key, component) { _this.currentlyTransitioningKeys[key] = true; - var component = _this.refs[key]; if (component.componentWillLeave) { - component.componentWillLeave(_this._handleDoneLeaving.bind(_this, key)); + component.componentWillLeave(_this._handleDoneLeaving.bind(_this, key, component)); } else { // Note that this is somewhat dangerous b/c it calls setState() // again, effectively mutating the component before all the work // is done. - _this._handleDoneLeaving(key); + _this._handleDoneLeaving(key, component); } - }, _this._handleDoneLeaving = function (key) { - var component = _this.refs[key]; + }; + _this._handleDoneLeaving = function (key, component) { if (component.componentDidLeave) { component.componentDidLeave(); } delete _this.currentlyTransitioningKeys[key]; - var currentChildMapping = ReactTransitionChildMapping.getChildMapping(_this.props.children); + var currentChildMapping = (0, _ChildMapping.getChildMapping)(_this.props.children); if (currentChildMapping && currentChildMapping.hasOwnProperty(key)) { // This entered again before it fully left. Add it again. - _this.performEnter(key); + _this.keysToEnter.push(key); } else { _this.setState(function (state) { - var newChildren = _assign({}, state.children); + var newChildren = _extends({}, state.children); delete newChildren[key]; return { children: newChildren }; }); } - }, _temp), _possibleConstructorReturn(_this, _ret); + }; + + _this.childRefs = Object.create(null); + + _this.state = { + children: (0, _ChildMapping.getChildMapping)(props.children) + }; + return _this; } - ReactTransitionGroup.prototype.componentWillMount = function componentWillMount() { + TransitionGroup.prototype.componentWillMount = function componentWillMount() { this.currentlyTransitioningKeys = {}; this.keysToEnter = []; this.keysToLeave = []; }; - ReactTransitionGroup.prototype.componentDidMount = function componentDidMount() { + TransitionGroup.prototype.componentDidMount = function componentDidMount() { var initialChildMapping = this.state.children; for (var key in initialChildMapping) { if (initialChildMapping[key]) { - this.performAppear(key); + this.performAppear(key, this.childRefs[key]); } } }; - ReactTransitionGroup.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) { - var nextChildMapping = ReactTransitionChildMapping.getChildMapping(nextProps.children); + TransitionGroup.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) { + var nextChildMapping = (0, _ChildMapping.getChildMapping)(nextProps.children); var prevChildMapping = this.state.children; this.setState({ - children: ReactTransitionChildMapping.mergeChildMappings(prevChildMapping, nextChildMapping) + children: (0, _ChildMapping.mergeChildMappings)(prevChildMapping, nextChildMapping) }); - var key; - - for (key in nextChildMapping) { + for (var key in nextChildMapping) { var hasPrev = prevChildMapping && prevChildMapping.hasOwnProperty(key); if (nextChildMapping[key] && !hasPrev && !this.currentlyTransitioningKeys[key]) { this.keysToEnter.push(key); } } - for (key in prevChildMapping) { - var hasNext = nextChildMapping && nextChildMapping.hasOwnProperty(key); - if (prevChildMapping[key] && !hasNext && !this.currentlyTransitioningKeys[key]) { - this.keysToLeave.push(key); + for (var _key in prevChildMapping) { + var hasNext = nextChildMapping && nextChildMapping.hasOwnProperty(_key); + if (prevChildMapping[_key] && !hasNext && !this.currentlyTransitioningKeys[_key]) { + this.keysToLeave.push(_key); } } // If we want to someday check for reordering, we could do it here. }; - ReactTransitionGroup.prototype.componentDidUpdate = function componentDidUpdate() { + TransitionGroup.prototype.componentDidUpdate = function componentDidUpdate() { + var _this2 = this; + var keysToEnter = this.keysToEnter; this.keysToEnter = []; - keysToEnter.forEach(this.performEnter); + keysToEnter.forEach(function (key) { + return _this2.performEnter(key, _this2.childRefs[key]); + }); var keysToLeave = this.keysToLeave; this.keysToLeave = []; - keysToLeave.forEach(this.performLeave); + keysToLeave.forEach(function (key) { + return _this2.performLeave(key, _this2.childRefs[key]); + }); }; - ReactTransitionGroup.prototype.render = function render() { + TransitionGroup.prototype.render = function render() { + var _this3 = this; + // TODO: we could get rid of the need for the wrapper node // by cloning a single child var childrenToRender = []; - for (var key in this.state.children) { - var child = this.state.children[key]; + + var _loop = function _loop(key) { + var child = _this3.state.children[key]; if (child) { + var isCallbackRef = typeof child.ref !== 'string'; + var factoryChild = _this3.props.childFactory(child); + var ref = function ref(r) { + _this3.childRefs[key] = r; + }; + + false ? (0, _warning2.default)(isCallbackRef, 'string refs are not supported on children of TransitionGroup and will be ignored. ' + 'Please use a callback ref instead: https://facebook.github.io/react/docs/refs-and-the-dom.html#the-ref-callback-attribute') : void 0; + + // Always chaining the refs leads to problems when the childFactory + // wraps the child. The child ref callback gets called twice with the + // wrapper and the child. So we only need to chain the ref if the + // factoryChild is not different from child. + if (factoryChild === child && isCallbackRef) { + ref = (0, _chainFunction2.default)(child.ref, ref); + } + // You may need to apply reactive updates to a child as it is leaving. // The normal React way to do it won't work since the child will have // already been removed. In case you need this behavior you can provide // a childFactory function to wrap every child, even the ones that are // leaving. - childrenToRender.push(React.cloneElement(this.props.childFactory(child), { ref: key, key: key })); + childrenToRender.push(_react2.default.cloneElement(factoryChild, { + key: key, + ref: ref + })); } + }; + + for (var key in this.state.children) { + _loop(key); } - // Do not forward ReactTransitionGroup props to primitive DOM nodes - var props = _assign({}, this.props); + // Do not forward TransitionGroup props to primitive DOM nodes + var props = _extends({}, this.props); delete props.transitionLeave; delete props.transitionName; delete props.transitionAppear; @@ -27554,325 +28120,302 @@ delete props.transitionAppearTimeout; delete props.component; - return React.createElement(this.props.component, props, childrenToRender); + return _react2.default.createElement(this.props.component, props, childrenToRender); }; - return ReactTransitionGroup; - }(React.Component); + return TransitionGroup; + }(_react2.default.Component); + + TransitionGroup.displayName = 'TransitionGroup'; - ReactTransitionGroup.displayName = 'ReactTransitionGroup'; - ReactTransitionGroup.propTypes = { - component: PropTypes.any, - childFactory: PropTypes.func - }; - ReactTransitionGroup.defaultProps = { - component: 'span', - childFactory: emptyFunction.thatReturnsArgument - }; + TransitionGroup.propTypes = false ? propTypes : {}; + TransitionGroup.defaultProps = defaultProps; - module.exports = ReactTransitionGroup; + exports.default = TransitionGroup; + module.exports = exports['default']; -/***/ }, -/* 209 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 212 */ +/***/ (function(module, exports) { + + + module.exports = function chain(){ + var len = arguments.length + var args = []; + + for (var i = 0; i < len; i++) + args[i] = arguments[i] + + args = args.filter(function(fn){ return fn != null }) + + if (args.length === 0) return undefined + if (args.length === 1) return args[0] + + return args.reduce(function(current, next){ + return function chainedFunction() { + current.apply(this, arguments); + next.apply(this, arguments); + }; + }) + } + + +/***/ }), +/* 213 */ +/***/ (function(module, exports, __webpack_require__) { /** - * Copyright 2013-present, Facebook, Inc. + * Copyright 2014-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. - * */ 'use strict'; - var flattenChildren = __webpack_require__(210); + /** + * Similar to invariant but only logs a warning if the condition is not met. + * This can be used to log issues in development environments in critical + * paths. Removing the logging code for production environments will keep the + * same logic and follow the same code paths. + */ - var ReactTransitionChildMapping = { - /** - * Given `this.props.children`, return an object mapping key to child. Just - * simple syntactic sugar around flattenChildren(). - * - * @param {*} children `this.props.children` - * @param {number=} selfDebugID Optional debugID of the current internal instance. - * @return {object} Mapping of key to child - */ - getChildMapping: function (children, selfDebugID) { - if (!children) { - return children; - } + var warning = function() {}; - if (false) { - return flattenChildren(children, selfDebugID); + if (false) { + warning = function(condition, format, args) { + var len = arguments.length; + args = new Array(len > 2 ? len - 2 : 0); + for (var key = 2; key < len; key++) { + args[key - 2] = arguments[key]; } - - return flattenChildren(children); - }, - - /** - * When you're adding or removing children some may be added or removed in the - * same render pass. We want to show *both* since we want to simultaneously - * animate elements in and out. This function takes a previous set of keys - * and a new set of keys and merges them with its best guess of the correct - * ordering. In the future we may expose some of the utilities in - * ReactMultiChild to make this easy, but for now React itself does not - * directly have this concept of the union of prevChildren and nextChildren - * so we implement it here. - * - * @param {object} prev prev children as returned from - * `ReactTransitionChildMapping.getChildMapping()`. - * @param {object} next next children as returned from - * `ReactTransitionChildMapping.getChildMapping()`. - * @return {object} a key set that contains all keys in `prev` and all keys - * in `next` in a reasonable order. - */ - mergeChildMappings: function (prev, next) { - prev = prev || {}; - next = next || {}; - - function getValueForKey(key) { - if (next.hasOwnProperty(key)) { - return next[key]; - } else { - return prev[key]; - } + if (format === undefined) { + throw new Error( + '`warning(condition, format, ...args)` requires a warning ' + + 'message argument' + ); } - // For each key of `next`, the list of keys to insert before that key in - // the combined list - var nextKeysPending = {}; - - var pendingKeys = []; - for (var prevKey in prev) { - if (next.hasOwnProperty(prevKey)) { - if (pendingKeys.length) { - nextKeysPending[prevKey] = pendingKeys; - pendingKeys = []; - } - } else { - pendingKeys.push(prevKey); - } + if (format.length < 10 || (/^[s\W]*$/).test(format)) { + throw new Error( + 'The warning format should be able to uniquely identify this ' + + 'warning. Please, use a more descriptive format than: ' + format + ); } - var i; - var childMapping = {}; - for (var nextKey in next) { - if (nextKeysPending.hasOwnProperty(nextKey)) { - for (i = 0; i < nextKeysPending[nextKey].length; i++) { - var pendingNextKey = nextKeysPending[nextKey][i]; - childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey); - } + if (!condition) { + var argIndex = 0; + var message = 'Warning: ' + + format.replace(/%s/g, function() { + return args[argIndex++]; + }); + if (typeof console !== 'undefined') { + console.error(message); } - childMapping[nextKey] = getValueForKey(nextKey); - } - - // Finally, add the keys which didn't appear before any key in `next` - for (i = 0; i < pendingKeys.length; i++) { - childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]); + try { + // This error was thrown as a convenience so that you can use this stack + // to find the callsite that caused this warning to fire. + throw new Error(message); + } catch(x) {} } + }; + } - return childMapping; - } - }; - - module.exports = ReactTransitionChildMapping; + module.exports = warning; -/***/ }, -/* 210 */ -/***/ function(module, exports, __webpack_require__) { - /* WEBPACK VAR INJECTION */(function(process) {/** - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * - */ - +/***/ }), +/* 214 */ +/***/ (function(module, exports, __webpack_require__) { + 'use strict'; - var KeyEscapeUtils = __webpack_require__(18); - var traverseAllChildren = __webpack_require__(16); - var warning = __webpack_require__(12); + exports.__esModule = true; + exports.getChildMapping = getChildMapping; + exports.mergeChildMappings = mergeChildMappings; - var ReactComponentTreeHook; + var _react = __webpack_require__(3); - if (typeof process !== 'undefined' && ({"NODE_ENV":"production"}) && ("production") === 'test') { - // Temporary hack. - // Inline requires don't work well with Jest: - // https://github.com/facebook/react/issues/7240 - // Remove the inline requires when we don't need them anymore: - // https://github.com/facebook/react/pull/7178 - ReactComponentTreeHook = __webpack_require__(127); + /** + * Given `this.props.children`, return an object mapping key to child. + * + * @param {*} children `this.props.children` + * @return {object} Mapping of key to child + */ + function getChildMapping(children) { + if (!children) { + return children; + } + var result = {}; + _react.Children.map(children, function (child) { + return child; + }).forEach(function (child) { + result[child.key] = child; + }); + return result; } /** - * @param {function} traverseContext Context passed through traversal. - * @param {?ReactComponent} child React child component. - * @param {!string} name String name of key path to child. - * @param {number=} selfDebugID Optional debugID of the current internal instance. + * When you're adding or removing children some may be added or removed in the + * same render pass. We want to show *both* since we want to simultaneously + * animate elements in and out. This function takes a previous set of keys + * and a new set of keys and merges them with its best guess of the correct + * ordering. In the future we may expose some of the utilities in + * ReactMultiChild to make this easy, but for now React itself does not + * directly have this concept of the union of prevChildren and nextChildren + * so we implement it here. + * + * @param {object} prev prev children as returned from + * `ReactTransitionChildMapping.getChildMapping()`. + * @param {object} next next children as returned from + * `ReactTransitionChildMapping.getChildMapping()`. + * @return {object} a key set that contains all keys in `prev` and all keys + * in `next` in a reasonable order. */ - function flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID) { - // We found a component instance. - if (traverseContext && typeof traverseContext === 'object') { - var result = traverseContext; - var keyUnique = result[name] === undefined; - if (false) { - if (!ReactComponentTreeHook) { - ReactComponentTreeHook = require('./ReactComponentTreeHook'); - } - if (!keyUnique) { - process.env.NODE_ENV !== 'production' ? warning(false, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.%s', KeyEscapeUtils.unescape(name), ReactComponentTreeHook.getStackAddendumByID(selfDebugID)) : void 0; - } + function mergeChildMappings(prev, next) { + prev = prev || {}; + next = next || {}; + + function getValueForKey(key) { + if (next.hasOwnProperty(key)) { + return next[key]; } - if (keyUnique && child != null) { - result[name] = child; + + return prev[key]; + } + + // For each key of `next`, the list of keys to insert before that key in + // the combined list + var nextKeysPending = {}; + + var pendingKeys = []; + for (var prevKey in prev) { + if (next.hasOwnProperty(prevKey)) { + if (pendingKeys.length) { + nextKeysPending[prevKey] = pendingKeys; + pendingKeys = []; + } + } else { + pendingKeys.push(prevKey); } } - } - /** - * Flattens children that are typically specified as `props.children`. Any null - * children will not be included in the resulting object. - * @return {!object} flattened children keyed by name. - */ - function flattenChildren(children, selfDebugID) { - if (children == null) { - return children; + var i = void 0; + var childMapping = {}; + for (var nextKey in next) { + if (nextKeysPending.hasOwnProperty(nextKey)) { + for (i = 0; i < nextKeysPending[nextKey].length; i++) { + var pendingNextKey = nextKeysPending[nextKey][i]; + childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey); + } + } + childMapping[nextKey] = getValueForKey(nextKey); } - var result = {}; - if (false) { - traverseAllChildren(children, function (traverseContext, child, name) { - return flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID); - }, result); - } else { - traverseAllChildren(children, flattenSingleChildIntoContext, result); + // Finally, add the keys which didn't appear before any key in `next` + for (i = 0; i < pendingKeys.length; i++) { + childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]); } - return result; - } - module.exports = flattenChildren; - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(114))) + return childMapping; + } -/***/ }, -/* 211 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 215 */ +/***/ (function(module, exports, __webpack_require__) { - /** - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - */ - 'use strict'; - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + exports.__esModule = true; - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + var _addClass = __webpack_require__(216); - var React = __webpack_require__(4); - var ReactAddonsDOMDependencies = __webpack_require__(212); + var _addClass2 = _interopRequireDefault(_addClass); - var propTypesFactory = __webpack_require__(27); - var PropTypes = propTypesFactory(React.isValidElement); + var _removeClass = __webpack_require__(218); - var CSSCore = __webpack_require__(213); - var ReactTransitionEvents = __webpack_require__(214); + var _removeClass2 = _interopRequireDefault(_removeClass); - var onlyChild = __webpack_require__(32); + var _requestAnimationFrame = __webpack_require__(219); - var TICK = 17; + var _requestAnimationFrame2 = _interopRequireDefault(_requestAnimationFrame); - var ReactCSSTransitionGroupChild = function (_React$Component) { - _inherits(ReactCSSTransitionGroupChild, _React$Component); + var _properties = __webpack_require__(221); - function ReactCSSTransitionGroupChild() { - var _temp, _this, _ret; + var _react = __webpack_require__(3); - _classCallCheck(this, ReactCSSTransitionGroupChild); + var _react2 = _interopRequireDefault(_react); - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } + var _propTypes = __webpack_require__(209); - return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this._isMounted = false, _this.transition = function (animationType, finishCallback, userSpecifiedDelay) { - var node = ReactAddonsDOMDependencies.getReactDOM().findDOMNode(_this); + var _propTypes2 = _interopRequireDefault(_propTypes); - if (!node) { - if (finishCallback) { - finishCallback(); - } - return; - } + var _reactDom = __webpack_require__(33); - var className = _this.props.name[animationType] || _this.props.name + '-' + animationType; - var activeClassName = _this.props.name[animationType + 'Active'] || className + '-active'; - var timeout = null; + var _PropTypes = __webpack_require__(222); - var endListener = function (e) { - if (e && e.target !== node) { - return; - } + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - clearTimeout(timeout); + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - CSSCore.removeClass(node, className); - CSSCore.removeClass(node, activeClassName); + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - ReactTransitionEvents.removeEndEventListener(node, endListener); + var events = []; + if (_properties.transitionEnd) events.push(_properties.transitionEnd); + if (_properties.animationEnd) events.push(_properties.animationEnd); - // Usually this optional callback is used for informing an owner of - // a leave animation and telling it to remove the child. - if (finishCallback) { - finishCallback(); - } - }; + function addEndListener(node, listener) { + if (events.length) { + events.forEach(function (e) { + return node.addEventListener(e, listener, false); + }); + } else { + setTimeout(listener, 0); + } - CSSCore.addClass(node, className); + return function () { + if (!events.length) return; + events.forEach(function (e) { + return node.removeEventListener(e, listener, false); + }); + }; + } - // Need to do this to actually trigger a transition. - _this.queueClassAndNode(activeClassName, node); + var propTypes = { + children: _propTypes2.default.node, + name: _PropTypes.nameShape.isRequired, - // If the user specified a timeout delay. - if (userSpecifiedDelay) { - // Clean-up the animation after the specified delay - timeout = setTimeout(endListener, userSpecifiedDelay); - _this.transitionTimeouts.push(timeout); - } else { - // DEPRECATED: this listener will be removed in a future version of react - ReactTransitionEvents.addEndEventListener(node, endListener); - } - }, _this.queueClassAndNode = function (className, node) { - _this.classNameAndNodeQueue.push({ - className: className, - node: node - }); + // Once we require timeouts to be specified, we can remove the + // boolean flags (appear etc.) and just accept a number + // or a bool for the timeout flags (appearTimeout etc.) + appear: _propTypes2.default.bool, + enter: _propTypes2.default.bool, + leave: _propTypes2.default.bool, + appearTimeout: _propTypes2.default.number, + enterTimeout: _propTypes2.default.number, + leaveTimeout: _propTypes2.default.number + }; - if (!_this.timeout) { - _this.timeout = setTimeout(_this.flushClassNameAndNodeQueue, TICK); - } - }, _this.flushClassNameAndNodeQueue = function () { - if (_this._isMounted) { - _this.classNameAndNodeQueue.forEach(function (obj) { - CSSCore.addClass(obj.node, obj.className); - }); - } - _this.classNameAndNodeQueue.length = 0; - _this.timeout = null; - }, _this.componentWillAppear = function (done) { + var CSSTransitionGroupChild = function (_React$Component) { + _inherits(CSSTransitionGroupChild, _React$Component); + + function CSSTransitionGroupChild() { + var _temp, _this, _ret; + + _classCallCheck(this, CSSTransitionGroupChild); + + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.componentWillAppear = function (done) { if (_this.props.appear) { _this.transition('appear', done, _this.props.appearTimeout); } else { @@ -27893,17 +28436,13 @@ }, _temp), _possibleConstructorReturn(_this, _ret); } - ReactCSSTransitionGroupChild.prototype.componentWillMount = function componentWillMount() { + CSSTransitionGroupChild.prototype.componentWillMount = function componentWillMount() { this.classNameAndNodeQueue = []; this.transitionTimeouts = []; }; - ReactCSSTransitionGroupChild.prototype.componentDidMount = function componentDidMount() { - this._isMounted = true; - }; - - ReactCSSTransitionGroupChild.prototype.componentWillUnmount = function componentWillUnmount() { - this._isMounted = false; + CSSTransitionGroupChild.prototype.componentWillUnmount = function componentWillUnmount() { + this.unmounted = true; if (this.timeout) { clearTimeout(this.timeout); @@ -27915,288 +28454,398 @@ this.classNameAndNodeQueue.length = 0; }; - ReactCSSTransitionGroupChild.prototype.render = function render() { - return onlyChild(this.props.children); - }; + CSSTransitionGroupChild.prototype.transition = function transition(animationType, finishCallback, timeout) { + var node = (0, _reactDom.findDOMNode)(this); - return ReactCSSTransitionGroupChild; - }(React.Component); - - ReactCSSTransitionGroupChild.propTypes = { - name: PropTypes.oneOfType([PropTypes.string, PropTypes.shape({ - enter: PropTypes.string, - leave: PropTypes.string, - active: PropTypes.string - }), PropTypes.shape({ - enter: PropTypes.string, - enterActive: PropTypes.string, - leave: PropTypes.string, - leaveActive: PropTypes.string, - appear: PropTypes.string, - appearActive: PropTypes.string - })]).isRequired, + if (!node) { + if (finishCallback) { + finishCallback(); + } + return; + } - // Once we require timeouts to be specified, we can remove the - // boolean flags (appear etc.) and just accept a number - // or a bool for the timeout flags (appearTimeout etc.) - appear: PropTypes.bool, - enter: PropTypes.bool, - leave: PropTypes.bool, - appearTimeout: PropTypes.number, - enterTimeout: PropTypes.number, - leaveTimeout: PropTypes.number - }; + var className = this.props.name[animationType] || this.props.name + '-' + animationType; + var activeClassName = this.props.name[animationType + 'Active'] || className + '-active'; + var timer = null; + var removeListeners = void 0; + (0, _addClass2.default)(node, className); - module.exports = ReactCSSTransitionGroupChild; - -/***/ }, -/* 212 */ -/***/ function(module, exports, __webpack_require__) { - - /** - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - */ + // Need to do this to actually trigger a transition. + this.queueClassAndNode(activeClassName, node); - 'use strict'; + // Clean-up the animation after the specified delay + var finish = function finish(e) { + if (e && e.target !== node) { + return; + } - var ReactDOM = __webpack_require__(34); + clearTimeout(timer); + if (removeListeners) removeListeners(); - exports.getReactDOM = function () { - return ReactDOM; - }; + (0, _removeClass2.default)(node, className); + (0, _removeClass2.default)(node, activeClassName); - if (false) { - var ReactPerf; - var ReactTestUtils; + if (removeListeners) removeListeners(); - exports.getReactPerf = function () { - if (!ReactPerf) { - ReactPerf = require('react-dom/lib/ReactPerf'); + // Usually this optional callback is used for informing an owner of + // a leave animation and telling it to remove the child. + if (finishCallback) { + finishCallback(); + } + }; + + if (timeout) { + timer = setTimeout(finish, timeout); + this.transitionTimeouts.push(timer); + } else if (_properties.transitionEnd) { + removeListeners = addEndListener(node, finish); } - return ReactPerf; }; - exports.getReactTestUtils = function () { - if (!ReactTestUtils) { - ReactTestUtils = require('react-dom/lib/ReactTestUtils'); + CSSTransitionGroupChild.prototype.queueClassAndNode = function queueClassAndNode(className, node) { + var _this2 = this; + + this.classNameAndNodeQueue.push({ + className: className, + node: node + }); + + if (!this.rafHandle) { + this.rafHandle = (0, _requestAnimationFrame2.default)(function () { + return _this2.flushClassNameAndNodeQueue(); + }); } - return ReactTestUtils; }; - } + + CSSTransitionGroupChild.prototype.flushClassNameAndNodeQueue = function flushClassNameAndNodeQueue() { + if (!this.unmounted) { + this.classNameAndNodeQueue.forEach(function (obj) { + // This is for to force a repaint, + // which is necessary in order to transition styles when adding a class name. + /* eslint-disable no-unused-expressions */ + obj.node.scrollTop; + /* eslint-enable no-unused-expressions */ + (0, _addClass2.default)(obj.node, obj.className); + }); + } + this.classNameAndNodeQueue.length = 0; + this.rafHandle = null; + }; + + CSSTransitionGroupChild.prototype.render = function render() { + var props = _extends({}, this.props); + delete props.name; + delete props.appear; + delete props.enter; + delete props.leave; + delete props.appearTimeout; + delete props.enterTimeout; + delete props.leaveTimeout; + delete props.children; + return _react2.default.cloneElement(_react2.default.Children.only(this.props.children), props); + }; + + return CSSTransitionGroupChild; + }(_react2.default.Component); + + CSSTransitionGroupChild.displayName = 'CSSTransitionGroupChild'; + + + CSSTransitionGroupChild.propTypes = false ? propTypes : {}; + + exports.default = CSSTransitionGroupChild; + module.exports = exports['default']; -/***/ }, -/* 213 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 216 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; - /** - * Copyright (c) 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * @typechecks - */ + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = addClass; - var invariant = __webpack_require__(9); + var _hasClass = __webpack_require__(217); - /** - * The CSSCore module specifies the API (and implements most of the methods) - * that should be used when dealing with the display of elements (via their - * CSS classes and visibility on screen. It is an API focused on mutating the - * display and not reading it as no logical state should be encoded in the - * display of elements. - */ + var _hasClass2 = _interopRequireDefault(_hasClass); - /* Slow implementation for browsers that don't natively support .matches() */ - function matchesSelector_SLOW(element, selector) { - var root = element; - while (root.parentNode) { - root = root.parentNode; - } + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - var all = root.querySelectorAll(selector); - return Array.prototype.indexOf.call(all, element) !== -1; + function addClass(element, className) { + if (element.classList) element.classList.add(className);else if (!(0, _hasClass2.default)(element)) element.className = element.className + ' ' + className; } + module.exports = exports['default']; + +/***/ }), +/* 217 */ +/***/ (function(module, exports) { + + "use strict"; - var CSSCore = { + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = hasClass; + function hasClass(element, className) { + if (element.classList) return !!className && element.classList.contains(className);else return (" " + element.className + " ").indexOf(" " + className + " ") !== -1; + } + module.exports = exports["default"]; + +/***/ }), +/* 218 */ +/***/ (function(module, exports) { + + 'use strict'; - /** - * Adds the class passed in to the element if it doesn't already have it. - * - * @param {DOMElement} element the element to set the class on - * @param {string} className the CSS className - * @return {DOMElement} the element passed in - */ - addClass: function addClass(element, className) { - !!/\s/.test(className) ? false ? invariant(false, 'CSSCore.addClass takes only a single class name. "%s" contains ' + 'multiple classes.', className) : invariant(false) : void 0; + module.exports = function removeClass(element, className) { + if (element.classList) element.classList.remove(className);else element.className = element.className.replace(new RegExp('(^|\\s)' + className + '(?:\\s|$)', 'g'), '$1').replace(/\s+/g, ' ').replace(/^\s*|\s*$/g, ''); + }; + +/***/ }), +/* 219 */ +/***/ (function(module, exports, __webpack_require__) { + + 'use strict'; - if (className) { - if (element.classList) { - element.classList.add(className); - } else if (!CSSCore.hasClass(element, className)) { - element.className = element.className + ' ' + className; - } - } - return element; - }, + Object.defineProperty(exports, "__esModule", { + value: true + }); - /** - * Removes the class passed in from the element - * - * @param {DOMElement} element the element to set the class on - * @param {string} className the CSS className - * @return {DOMElement} the element passed in - */ - removeClass: function removeClass(element, className) { - !!/\s/.test(className) ? false ? invariant(false, 'CSSCore.removeClass takes only a single class name. "%s" contains ' + 'multiple classes.', className) : invariant(false) : void 0; + var _inDOM = __webpack_require__(220); - if (className) { - if (element.classList) { - element.classList.remove(className); - } else if (CSSCore.hasClass(element, className)) { - element.className = element.className.replace(new RegExp('(^|\\s)' + className + '(?:\\s|$)', 'g'), '$1').replace(/\s+/g, ' ') // multiple spaces to one - .replace(/^\s*|\s*$/g, ''); // trim the ends - } - } - return element; - }, + var _inDOM2 = _interopRequireDefault(_inDOM); - /** - * Helper to add or remove a class from an element based on a condition. - * - * @param {DOMElement} element the element to set the class on - * @param {string} className the CSS className - * @param {*} bool condition to whether to add or remove the class - * @return {DOMElement} the element passed in - */ - conditionClass: function conditionClass(element, className, bool) { - return (bool ? CSSCore.addClass : CSSCore.removeClass)(element, className); - }, + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - /** - * Tests whether the element has the class specified. - * - * @param {DOMNode|DOMWindow} element the element to check the class on - * @param {string} className the CSS className - * @return {boolean} true if the element has the class, false if not - */ - hasClass: function hasClass(element, className) { - !!/\s/.test(className) ? false ? invariant(false, 'CSS.hasClass takes only a single class name.') : invariant(false) : void 0; - if (element.classList) { - return !!className && element.classList.contains(className); + var vendors = ['', 'webkit', 'moz', 'o', 'ms']; + var cancel = 'clearTimeout'; + var raf = fallback; + var compatRaf = void 0; + + var getKey = function getKey(vendor, k) { + return vendor + (!vendor ? k : k[0].toUpperCase() + k.substr(1)) + 'AnimationFrame'; + }; + + if (_inDOM2.default) { + vendors.some(function (vendor) { + var rafKey = getKey(vendor, 'request'); + + if (rafKey in window) { + cancel = getKey(vendor, 'cancel'); + return raf = function raf(cb) { + return window[rafKey](cb); + }; } - return (' ' + element.className + ' ').indexOf(' ' + className + ' ') > -1; - }, + }); + } - /** - * Tests whether the element matches the selector specified - * - * @param {DOMNode|DOMWindow} element the element that we are querying - * @param {string} selector the CSS selector - * @return {boolean} true if the element matches the selector, false if not - */ - matchesSelector: function matchesSelector(element, selector) { - var matchesImpl = element.matches || element.webkitMatchesSelector || element.mozMatchesSelector || element.msMatchesSelector || function (s) { - return matchesSelector_SLOW(element, s); - }; - return matchesImpl.call(element, selector); - } + /* https://github.com/component/raf */ + var prev = new Date().getTime(); + function fallback(fn) { + var curr = new Date().getTime(), + ms = Math.max(0, 16 - (curr - prev)), + req = setTimeout(fn, ms); - }; + prev = curr; + return req; + } - module.exports = CSSCore; + compatRaf = function compatRaf(cb) { + return raf(cb); + }; + compatRaf.cancel = function (id) { + window[cancel] && typeof window[cancel] === 'function' && window[cancel](id); + }; + exports.default = compatRaf; + module.exports = exports['default']; -/***/ }, -/* 214 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 220 */ +/***/ (function(module, exports) { - /** - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - */ + 'use strict'; + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = !!(typeof window !== 'undefined' && window.document && window.document.createElement); + module.exports = exports['default']; + +/***/ }), +/* 221 */ +/***/ (function(module, exports, __webpack_require__) { + 'use strict'; - var ExecutionEnvironment = __webpack_require__(49); + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.animationEnd = exports.animationDelay = exports.animationTiming = exports.animationDuration = exports.animationName = exports.transitionEnd = exports.transitionDuration = exports.transitionDelay = exports.transitionTiming = exports.transitionProperty = exports.transform = undefined; - var getVendorPrefixedEventName = __webpack_require__(103); + var _inDOM = __webpack_require__(220); - var endEvents = []; + var _inDOM2 = _interopRequireDefault(_inDOM); - function detectEvents() { - var animEnd = getVendorPrefixedEventName('animationend'); - var transEnd = getVendorPrefixedEventName('transitionend'); + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - if (animEnd) { - endEvents.push(animEnd); - } + var transform = 'transform'; + var prefix = void 0, + transitionEnd = void 0, + animationEnd = void 0; + var transitionProperty = void 0, + transitionDuration = void 0, + transitionTiming = void 0, + transitionDelay = void 0; + var animationName = void 0, + animationDuration = void 0, + animationTiming = void 0, + animationDelay = void 0; + + if (_inDOM2.default) { + var _getTransitionPropert = getTransitionProperties(); + + prefix = _getTransitionPropert.prefix; + exports.transitionEnd = transitionEnd = _getTransitionPropert.transitionEnd; + exports.animationEnd = animationEnd = _getTransitionPropert.animationEnd; + + + exports.transform = transform = prefix + '-' + transform; + exports.transitionProperty = transitionProperty = prefix + '-transition-property'; + exports.transitionDuration = transitionDuration = prefix + '-transition-duration'; + exports.transitionDelay = transitionDelay = prefix + '-transition-delay'; + exports.transitionTiming = transitionTiming = prefix + '-transition-timing-function'; + + exports.animationName = animationName = prefix + '-animation-name'; + exports.animationDuration = animationDuration = prefix + '-animation-duration'; + exports.animationTiming = animationTiming = prefix + '-animation-delay'; + exports.animationDelay = animationDelay = prefix + '-animation-timing-function'; + } + + exports.transform = transform; + exports.transitionProperty = transitionProperty; + exports.transitionTiming = transitionTiming; + exports.transitionDelay = transitionDelay; + exports.transitionDuration = transitionDuration; + exports.transitionEnd = transitionEnd; + exports.animationName = animationName; + exports.animationDuration = animationDuration; + exports.animationTiming = animationTiming; + exports.animationDelay = animationDelay; + exports.animationEnd = animationEnd; + exports.default = { + transform: transform, + end: transitionEnd, + property: transitionProperty, + timing: transitionTiming, + delay: transitionDelay, + duration: transitionDuration + }; - if (transEnd) { - endEvents.push(transEnd); - } - } - if (ExecutionEnvironment.canUseDOM) { - detectEvents(); - } + function getTransitionProperties() { + var style = document.createElement('div').style; - // We use the raw {add|remove}EventListener() call because EventListener - // does not know how to remove event listeners and we really should - // clean up. Also, these events are not triggered in older browsers - // so we should be A-OK here. + var vendorMap = { + O: function O(e) { + return 'o' + e.toLowerCase(); + }, + Moz: function Moz(e) { + return e.toLowerCase(); + }, + Webkit: function Webkit(e) { + return 'webkit' + e; + }, + ms: function ms(e) { + return 'MS' + e; + } + }; - function addEventListener(node, eventName, eventListener) { - node.addEventListener(eventName, eventListener, false); - } + var vendors = Object.keys(vendorMap); - function removeEventListener(node, eventName, eventListener) { - node.removeEventListener(eventName, eventListener, false); - } + var transitionEnd = void 0, + animationEnd = void 0; + var prefix = ''; - var ReactTransitionEvents = { - addEndEventListener: function (node, eventListener) { - if (endEvents.length === 0) { - // If CSS transitions are not supported, trigger an "end animation" - // event immediately. - window.setTimeout(eventListener, 0); - return; - } - endEvents.forEach(function (endEvent) { - addEventListener(node, endEvent, eventListener); - }); - }, + for (var i = 0; i < vendors.length; i++) { + var vendor = vendors[i]; - removeEndEventListener: function (node, eventListener) { - if (endEvents.length === 0) { - return; + if (vendor + 'TransitionProperty' in style) { + prefix = '-' + vendor.toLowerCase(); + transitionEnd = vendorMap[vendor]('TransitionEnd'); + animationEnd = vendorMap[vendor]('AnimationEnd'); + break; } - endEvents.forEach(function (endEvent) { - removeEventListener(node, endEvent, eventListener); - }); } - }; - module.exports = ReactTransitionEvents; + if (!transitionEnd && 'transitionProperty' in style) transitionEnd = 'transitionend'; + + if (!animationEnd && 'animationName' in style) animationEnd = 'animationend'; + + style = null; + + return { animationEnd: animationEnd, transitionEnd: transitionEnd, prefix: prefix }; + } -/***/ }, -/* 215 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 222 */ +/***/ (function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.nameShape = undefined; + exports.transitionTimeout = transitionTimeout; + + var _react = __webpack_require__(3); + + var _react2 = _interopRequireDefault(_react); + + var _propTypes = __webpack_require__(209); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function transitionTimeout(transitionType) { + var timeoutPropName = 'transition' + transitionType + 'Timeout'; + var enabledPropName = 'transition' + transitionType; + + return function (props) { + // If the transition is enabled + if (props[enabledPropName]) { + // If no timeout duration is provided + if (props[timeoutPropName] == null) { + return new Error(timeoutPropName + ' wasn\'t supplied to CSSTransitionGroup: ' + 'this can cause unreliable animations and won\'t be supported in ' + 'a future version of React. See ' + 'https://fb.me/react-animation-transition-group-timeout for more ' + 'information.'); + + // If the duration isn't a number + } else if (typeof props[timeoutPropName] !== 'number') { + return new Error(timeoutPropName + ' must be a number (in milliseconds)'); + } + } + + return null; + }; + } + + var nameShape = exports.nameShape = _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.shape({ + enter: _propTypes2.default.string, + leave: _propTypes2.default.string, + active: _propTypes2.default.string + }), _propTypes2.default.shape({ + enter: _propTypes2.default.string, + enterActive: _propTypes2.default.string, + leave: _propTypes2.default.string, + leaveActive: _propTypes2.default.string, + appear: _propTypes2.default.string, + appearActive: _propTypes2.default.string + })]); + +/***/ }), +/* 223 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -28206,13 +28855,13 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); var ReactDOM = __webpack_require__(33); - var Classes = __webpack_require__(192); - var Errors = __webpack_require__(186); - var props_1 = __webpack_require__(190); - var utils_1 = __webpack_require__(185); + var Classes = __webpack_require__(193); + var Errors = __webpack_require__(187); + var props_1 = __webpack_require__(191); + var utils_1 = __webpack_require__(186); var REACT_CONTEXT_TYPES = { blueprintPortalClassName: function (obj, key) { if (obj[key] != null && typeof obj[key] !== "string") { @@ -28262,9 +28911,9 @@ -/***/ }, -/* 216 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 224 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -28274,13 +28923,13 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); - var position_1 = __webpack_require__(189); - var popover_1 = __webpack_require__(198); + var Classes = __webpack_require__(193); + var position_1 = __webpack_require__(190); + var popover_1 = __webpack_require__(199); var Tooltip = (function (_super) { tslib_1.__extends(Tooltip, _super); function Tooltip() { @@ -28313,13 +28962,13 @@ -/***/ }, -/* 217 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 225 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var position_1 = __webpack_require__(189); + var position_1 = __webpack_require__(190); // this value causes popover and target edges to line up on 50px targets exports.MIN_ARROW_SPACING = 18; function computeArrowOffset(sideLength, arrowSize, minimum) { @@ -28394,9 +29043,9 @@ -/***/ }, -/* 218 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 226 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -28406,14 +29055,14 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var common_1 = __webpack_require__(182); - var errors_1 = __webpack_require__(186); - var buttons_1 = __webpack_require__(219); - var dialog_1 = __webpack_require__(223); - var icon_1 = __webpack_require__(221); + var common_1 = __webpack_require__(183); + var errors_1 = __webpack_require__(187); + var buttons_1 = __webpack_require__(227); + var dialog_1 = __webpack_require__(231); + var icon_1 = __webpack_require__(229); var Alert = (function (_super) { tslib_1.__extends(Alert, _super); function Alert() { @@ -28453,9 +29102,9 @@ -/***/ }, -/* 219 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 227 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -28465,12 +29114,12 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); // HACKHACK: these components should go in separate files // tslint:disable max-classes-per-file var React = __webpack_require__(3); - var props_1 = __webpack_require__(190); - var abstractButton_1 = __webpack_require__(220); + var props_1 = __webpack_require__(191); + var abstractButton_1 = __webpack_require__(228); var Button = (function (_super) { tslib_1.__extends(Button, _super); function Button() { @@ -28502,9 +29151,9 @@ -/***/ }, -/* 220 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 228 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -28514,14 +29163,14 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); - var Keys = __webpack_require__(193); - var utils_1 = __webpack_require__(185); - var icon_1 = __webpack_require__(221); - var spinner_1 = __webpack_require__(222); + var Classes = __webpack_require__(193); + var Keys = __webpack_require__(194); + var utils_1 = __webpack_require__(186); + var icon_1 = __webpack_require__(229); + var spinner_1 = __webpack_require__(230); var AbstractButton = (function (_super) { tslib_1.__extends(AbstractButton, _super); function AbstractButton() { @@ -28602,9 +29251,9 @@ -/***/ }, -/* 221 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 229 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -28614,11 +29263,11 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var common_1 = __webpack_require__(182); + var common_1 = __webpack_require__(183); var Icon = Icon_1 = (function (_super) { tslib_1.__extends(Icon, _super); function Icon() { @@ -28655,9 +29304,9 @@ -/***/ }, -/* 222 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 230 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -28667,12 +29316,12 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); - var utils_1 = __webpack_require__(185); + var Classes = __webpack_require__(193); + var utils_1 = __webpack_require__(186); // see http://stackoverflow.com/a/18473154/3124288 for calculating arc path var SPINNER_TRACK = "M 50,50 m 0,-44.5 a 44.5,44.5 0 1 1 0,89 a 44.5,44.5 0 1 1 0,-89"; // unitless total length of SVG path, to which stroke-dash* properties are relative. @@ -28702,9 +29351,9 @@ pathLength: PATH_LENGTH, style: style, }); - return this.renderContainer(classes, React.createElement("svg", { viewBox: classes.indexOf(Classes.SMALL) >= 0 ? "-15 -15 130 130" : "0 0 100 100" }, + return this.renderContainer(classes, (React.createElement("svg", { viewBox: classes.indexOf(Classes.SMALL) >= 0 ? "-15 -15 130 130" : "0 0 100 100" }, React.createElement("path", { className: "pt-spinner-track", d: SPINNER_TRACK }), - headElement)); + headElement))); }; // abstract away the container elements so SVGSpinner can do its own thing Spinner.prototype.renderContainer = function (classes, content) { @@ -28722,9 +29371,9 @@ -/***/ }, -/* 223 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 231 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -28734,15 +29383,15 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var abstractComponent_1 = __webpack_require__(183); - var Classes = __webpack_require__(192); - var Errors = __webpack_require__(186); - var utils_1 = __webpack_require__(185); - var icon_1 = __webpack_require__(221); - var overlay_1 = __webpack_require__(205); + var abstractComponent_1 = __webpack_require__(184); + var Classes = __webpack_require__(193); + var Errors = __webpack_require__(187); + var utils_1 = __webpack_require__(186); + var icon_1 = __webpack_require__(229); + var overlay_1 = __webpack_require__(206); var Dialog = (function (_super) { tslib_1.__extends(Dialog, _super); function Dialog() { @@ -28806,9 +29455,9 @@ -/***/ }, -/* 224 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 232 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -28818,9 +29467,9 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var classNames = __webpack_require__(199); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); + var Classes = __webpack_require__(193); exports.Breadcrumb = function (breadcrumbProps) { var classes = classNames(Classes.BREADCRUMB, (_a = {}, _a[Classes.DISABLED] = breadcrumbProps.disabled, @@ -28831,9 +29480,9 @@ -/***/ }, -/* 225 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 233 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -28843,11 +29492,11 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var abstractComponent_1 = __webpack_require__(183); - var Classes = __webpack_require__(192); + var abstractComponent_1 = __webpack_require__(184); + var Classes = __webpack_require__(193); var AnimationStates; (function (AnimationStates) { AnimationStates[AnimationStates["CLOSED"] = 0] = "CLOSED"; @@ -28940,11 +29589,12 @@ transform: displayWithTransform ? "translateY(0)" : "translateY(-" + this.height + "px)", transition: isAutoHeight ? "none" : undefined, }; - // quick type cast because there's no single overload that supports all three ReactTypes (str | Cmp | SFC) + // HACKHACK: type cast because there's no single overload that supports all + // three ReactTypes (string | ComponentClass | StatelessComponent) return React.createElement(this.props.component, { className: classNames(Classes.COLLAPSE, this.props.className), style: containerStyle, - }, React.createElement("div", { className: "pt-collapse-body", ref: this.contentsRefHandler, style: contentsStyle }, showContents ? this.props.children : null)); + }, (React.createElement("div", { className: "pt-collapse-body", ref: this.contentsRefHandler, style: contentsStyle }, showContents ? this.props.children : null))); }; Collapse.prototype.componentDidMount = function () { this.forceUpdate(); @@ -28989,9 +29639,9 @@ -/***/ }, -/* 226 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 234 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -29001,15 +29651,15 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); - var Errors = __webpack_require__(186); - var position_1 = __webpack_require__(189); - var menu_1 = __webpack_require__(227); - var menuItem_1 = __webpack_require__(228); - var popover_1 = __webpack_require__(198); + var Classes = __webpack_require__(193); + var Errors = __webpack_require__(187); + var position_1 = __webpack_require__(190); + var menu_1 = __webpack_require__(235); + var menuItem_1 = __webpack_require__(236); + var popover_1 = __webpack_require__(199); var CollapseFrom; (function (CollapseFrom) { CollapseFrom[CollapseFrom["START"] = 0] = "START"; @@ -29080,9 +29730,9 @@ -/***/ }, -/* 227 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 235 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -29092,10 +29742,10 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); + var Classes = __webpack_require__(193); var Menu = (function (_super) { tslib_1.__extends(Menu, _super); function Menu() { @@ -29112,9 +29762,9 @@ -/***/ }, -/* 228 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 236 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -29124,16 +29774,16 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); var ReactDOM = __webpack_require__(33); - var abstractComponent_1 = __webpack_require__(183); - var Classes = __webpack_require__(192); - var Errors = __webpack_require__(186); - var position_1 = __webpack_require__(189); - var popover_1 = __webpack_require__(198); - var menu_1 = __webpack_require__(227); + var abstractComponent_1 = __webpack_require__(184); + var Classes = __webpack_require__(193); + var Errors = __webpack_require__(187); + var position_1 = __webpack_require__(190); + var popover_1 = __webpack_require__(199); + var menu_1 = __webpack_require__(235); var REACT_CONTEXT_TYPES = { alignLeft: function (obj, key) { if (obj[key] != null && typeof obj[key] !== "boolean") { @@ -29284,9 +29934,9 @@ -/***/ }, -/* 229 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 237 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -29297,9 +29947,9 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var React = __webpack_require__(3); - var errors_1 = __webpack_require__(186); - var utils_1 = __webpack_require__(185); - var ContextMenu = __webpack_require__(197); + var errors_1 = __webpack_require__(187); + var utils_1 = __webpack_require__(186); + var ContextMenu = __webpack_require__(198); function ContextMenuTarget(constructor) { var _a = constructor.prototype, render = _a.render, renderContextMenu = _a.renderContextMenu, onContextMenuClose = _a.onContextMenuClose; if (!utils_1.isFunction(renderContextMenu)) { @@ -29339,9 +29989,9 @@ -/***/ }, -/* 230 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 238 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -29351,15 +30001,15 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var abstractComponent_1 = __webpack_require__(183); - var Classes = __webpack_require__(192); - var Keys = __webpack_require__(193); - var utils_1 = __webpack_require__(185); - var compatibility_1 = __webpack_require__(231); + var abstractComponent_1 = __webpack_require__(184); + var Classes = __webpack_require__(193); + var Keys = __webpack_require__(194); + var utils_1 = __webpack_require__(186); + var compatibility_1 = __webpack_require__(239); var BUFFER_WIDTH_EDGE = 5; var BUFFER_WIDTH_IE = 30; var EditableText = (function (_super) { @@ -29609,9 +30259,9 @@ -/***/ }, -/* 231 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 239 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -29624,13 +30274,13 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(232)); + __export(__webpack_require__(240)); -/***/ }, -/* 232 */ -/***/ function(module, exports) { +/***/ }), +/* 240 */ +/***/ (function(module, exports) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -29654,9 +30304,9 @@ -/***/ }, -/* 233 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 241 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -29666,16 +30316,16 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); // HACKHACK: these components should go in separate files // tslint:disable max-classes-per-file // we need some empty interfaces to show up in docs // tslint:disable no-empty-interface - var classNames = __webpack_require__(199); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); - var props_1 = __webpack_require__(190); - var utils_1 = __webpack_require__(185); + var Classes = __webpack_require__(193); + var props_1 = __webpack_require__(191); + var utils_1 = __webpack_require__(186); var INVALID_PROPS = [ // we spread props to `` but render `children` as its sibling "children", @@ -29767,9 +30417,9 @@ -/***/ }, -/* 234 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 242 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -29779,13 +30429,13 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); - var props_1 = __webpack_require__(190); - var icon_1 = __webpack_require__(221); + var Classes = __webpack_require__(193); + var props_1 = __webpack_require__(191); + var icon_1 = __webpack_require__(229); var InputGroup = (function (_super) { tslib_1.__extends(InputGroup, _super); function InputGroup() { @@ -29846,9 +30496,9 @@ -/***/ }, -/* 235 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 243 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -29858,14 +30508,14 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var common_1 = __webpack_require__(182); - var Errors = __webpack_require__(186); - var buttons_1 = __webpack_require__(219); - var inputGroup_1 = __webpack_require__(234); + var common_1 = __webpack_require__(183); + var Errors = __webpack_require__(187); + var buttons_1 = __webpack_require__(227); + var inputGroup_1 = __webpack_require__(242); var IncrementDirection; (function (IncrementDirection) { IncrementDirection[IncrementDirection["DOWN"] = -1] = "DOWN"; @@ -30238,9 +30888,9 @@ -/***/ }, -/* 236 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 244 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -30250,12 +30900,12 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var abstractComponent_1 = __webpack_require__(183); - var Classes = __webpack_require__(192); - var Errors = __webpack_require__(186); - var controls_1 = __webpack_require__(233); + var abstractComponent_1 = __webpack_require__(184); + var Classes = __webpack_require__(193); + var Errors = __webpack_require__(187); + var controls_1 = __webpack_require__(241); var counter = 0; function nextName() { return RadioGroup.displayName + "-" + counter++; } var RadioGroup = (function (_super) { @@ -30313,9 +30963,9 @@ -/***/ }, -/* 237 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 245 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -30325,26 +30975,26 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var react_1 = __webpack_require__(3); var React = __webpack_require__(3); - var common_1 = __webpack_require__(182); - var hotkey_1 = __webpack_require__(238); - var hotkey_2 = __webpack_require__(238); + var common_1 = __webpack_require__(183); + var hotkey_1 = __webpack_require__(246); + var hotkey_2 = __webpack_require__(246); exports.Hotkey = hotkey_2.Hotkey; - var keyCombo_1 = __webpack_require__(239); + var keyCombo_1 = __webpack_require__(247); exports.KeyCombo = keyCombo_1.KeyCombo; - var hotkeysTarget_1 = __webpack_require__(241); + var hotkeysTarget_1 = __webpack_require__(249); exports.HotkeysTarget = hotkeysTarget_1.HotkeysTarget; - var hotkeyParser_1 = __webpack_require__(240); + var hotkeyParser_1 = __webpack_require__(248); exports.comboMatches = hotkeyParser_1.comboMatches; exports.getKeyCombo = hotkeyParser_1.getKeyCombo; exports.getKeyComboString = hotkeyParser_1.getKeyComboString; exports.parseKeyCombo = hotkeyParser_1.parseKeyCombo; - var hotkeysDialog_1 = __webpack_require__(243); + var hotkeysDialog_1 = __webpack_require__(251); exports.hideHotkeysDialog = hotkeysDialog_1.hideHotkeysDialog; exports.setHotkeysDialogProps = hotkeysDialog_1.setHotkeysDialogProps; - var errors_1 = __webpack_require__(186); + var errors_1 = __webpack_require__(187); var Hotkeys = (function (_super) { tslib_1.__extends(Hotkeys, _super); function Hotkeys() { @@ -30391,9 +31041,9 @@ -/***/ }, -/* 238 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 246 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -30403,10 +31053,10 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var common_1 = __webpack_require__(182); - var keyCombo_1 = __webpack_require__(239); + var common_1 = __webpack_require__(183); + var keyCombo_1 = __webpack_require__(247); var Hotkey = (function (_super) { tslib_1.__extends(Hotkey, _super); function Hotkey() { @@ -30439,9 +31089,9 @@ -/***/ }, -/* 239 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 247 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -30451,9 +31101,9 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var hotkeyParser_1 = __webpack_require__(240); + var hotkeyParser_1 = __webpack_require__(248); var KeyIcons = { alt: "pt-icon-key-option", ctrl: "pt-icon-key-control", @@ -30497,9 +31147,9 @@ -/***/ }, -/* 240 */ -/***/ function(module, exports) { +/***/ }), +/* 248 */ +/***/ (function(module, exports) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -30770,9 +31420,9 @@ -/***/ }, -/* 241 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 249 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -30783,8 +31433,8 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var React = __webpack_require__(3); - var utils_1 = __webpack_require__(185); - var hotkeysEvents_1 = __webpack_require__(242); + var utils_1 = __webpack_require__(186); + var hotkeysEvents_1 = __webpack_require__(250); function HotkeysTarget(constructor) { var _a = constructor.prototype, componentWillMount = _a.componentWillMount, componentDidMount = _a.componentDidMount, componentWillUnmount = _a.componentWillUnmount, render = _a.render, renderHotkeys = _a.renderHotkeys; if (!utils_1.isFunction(renderHotkeys)) { @@ -30848,9 +31498,9 @@ -/***/ }, -/* 242 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 250 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -30861,10 +31511,10 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var react_1 = __webpack_require__(3); - var utils_1 = __webpack_require__(185); - var hotkey_1 = __webpack_require__(238); - var hotkeyParser_1 = __webpack_require__(240); - var hotkeysDialog_1 = __webpack_require__(243); + var utils_1 = __webpack_require__(186); + var hotkey_1 = __webpack_require__(246); + var hotkeyParser_1 = __webpack_require__(248); + var hotkeysDialog_1 = __webpack_require__(251); var SHOW_DIALOG_KEY = "?"; var HotkeyScope; (function (HotkeyScope) { @@ -30970,9 +31620,9 @@ -/***/ }, -/* 243 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 251 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -30982,14 +31632,14 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); var ReactDOM = __webpack_require__(33); - var common_1 = __webpack_require__(182); - var components_1 = __webpack_require__(196); - var hotkey_1 = __webpack_require__(238); - var hotkeys_1 = __webpack_require__(237); + var common_1 = __webpack_require__(183); + var components_1 = __webpack_require__(197); + var hotkey_1 = __webpack_require__(246); + var hotkeys_1 = __webpack_require__(245); /** * The delay before showing or hiding the dialog. Should be long enough to * allow all registered hotkey listeners to execute first. @@ -31110,9 +31760,9 @@ -/***/ }, -/* 244 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 252 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -31122,10 +31772,10 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); + var Classes = __webpack_require__(193); var MenuDivider = (function (_super) { tslib_1.__extends(MenuDivider, _super); function MenuDivider() { @@ -31151,9 +31801,9 @@ -/***/ }, -/* 245 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 253 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -31163,12 +31813,12 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); - var icon_1 = __webpack_require__(221); + var Classes = __webpack_require__(193); + var icon_1 = __webpack_require__(229); var NonIdealState = (function (_super) { tslib_1.__extends(NonIdealState, _super); function NonIdealState() { @@ -31222,9 +31872,9 @@ -/***/ }, -/* 246 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 254 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -31234,11 +31884,11 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); + var Classes = __webpack_require__(193); var Text = (function (_super) { tslib_1.__extends(Text, _super); function Text() { @@ -31281,9 +31931,9 @@ -/***/ }, -/* 247 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 255 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -31293,9 +31943,9 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var popover_1 = __webpack_require__(198); + var popover_1 = __webpack_require__(199); var SVGPopover = (function (_super) { tslib_1.__extends(SVGPopover, _super); function SVGPopover() { @@ -31311,9 +31961,9 @@ -/***/ }, -/* 248 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 256 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -31323,12 +31973,12 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); - var utils_1 = __webpack_require__(185); + var Classes = __webpack_require__(193); + var utils_1 = __webpack_require__(186); var ProgressBar = (function (_super) { tslib_1.__extends(ProgressBar, _super); function ProgressBar() { @@ -31353,9 +32003,9 @@ -/***/ }, -/* 249 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 257 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -31365,9 +32015,9 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var tooltip_1 = __webpack_require__(216); + var tooltip_1 = __webpack_require__(224); var SVGTooltip = (function (_super) { tslib_1.__extends(SVGTooltip, _super); function SVGTooltip() { @@ -31383,9 +32033,9 @@ -/***/ }, -/* 250 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 258 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -31395,14 +32045,14 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); - var Errors = __webpack_require__(186); - var utils_1 = __webpack_require__(185); - var coreSlider_1 = __webpack_require__(251); - var handle_1 = __webpack_require__(252); + var Classes = __webpack_require__(193); + var Errors = __webpack_require__(187); + var utils_1 = __webpack_require__(186); + var coreSlider_1 = __webpack_require__(259); + var handle_1 = __webpack_require__(260); var RangeEnd; (function (RangeEnd) { RangeEnd[RangeEnd["LEFT"] = 0] = "LEFT"; @@ -31502,9 +32152,9 @@ -/***/ }, -/* 251 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 259 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -31514,14 +32164,14 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var abstractComponent_1 = __webpack_require__(183); - var Classes = __webpack_require__(192); - var Errors = __webpack_require__(186); - var utils_1 = __webpack_require__(185); + var abstractComponent_1 = __webpack_require__(184); + var Classes = __webpack_require__(193); + var Errors = __webpack_require__(187); + var utils_1 = __webpack_require__(186); var CoreSlider = (function (_super) { tslib_1.__extends(CoreSlider, _super); function CoreSlider(props) { @@ -31595,7 +32245,11 @@ } }; CoreSlider.prototype.maybeRenderAxis = function () { - var _a = this.props, max = _a.max, min = _a.min, labelStepSize = _a.labelStepSize; + // explicit typedefs are required because tsc (rightly) assumes that props might be overriden with different + // types in subclasses + var max = this.props.max; + var min = this.props.min; + var labelStepSize = this.props.labelStepSize; if (this.props.renderLabel === false) { return undefined; } @@ -31635,9 +32289,9 @@ -/***/ }, -/* 252 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 260 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -31647,14 +32301,14 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var abstractComponent_1 = __webpack_require__(183); - var Classes = __webpack_require__(192); - var Keys = __webpack_require__(193); - var utils_1 = __webpack_require__(185); + var abstractComponent_1 = __webpack_require__(184); + var Classes = __webpack_require__(193); + var Keys = __webpack_require__(194); + var utils_1 = __webpack_require__(186); // props that require number values, for validation var NUMBER_PROPS = ["max", "min", "stepSize", "tickSize", "value"]; var Handle = (function (_super) { @@ -31789,9 +32443,9 @@ -/***/ }, -/* 253 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 261 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -31801,12 +32455,12 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); - var utils_1 = __webpack_require__(185); - var coreSlider_1 = __webpack_require__(251); - var handle_1 = __webpack_require__(252); + var Classes = __webpack_require__(193); + var utils_1 = __webpack_require__(186); + var coreSlider_1 = __webpack_require__(259); + var handle_1 = __webpack_require__(260); var Slider = (function (_super) { tslib_1.__extends(Slider, _super); function Slider() { @@ -31857,9 +32511,9 @@ -/***/ }, -/* 254 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 262 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -31869,12 +32523,12 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); + var Classes = __webpack_require__(193); // import * to avoid "cannot be named" error on factory - var spinner = __webpack_require__(222); + var spinner = __webpack_require__(230); var SVGSpinner = (function (_super) { tslib_1.__extends(SVGSpinner, _super); function SVGSpinner() { @@ -31891,9 +32545,9 @@ -/***/ }, -/* 255 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 263 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -31903,11 +32557,11 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); + var Classes = __webpack_require__(193); var Tab = (function (_super) { tslib_1.__extends(Tab, _super); function Tab() { @@ -31931,9 +32585,9 @@ -/***/ }, -/* 256 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 264 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -31943,19 +32597,19 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); var react_dom_1 = __webpack_require__(33); - var abstractComponent_1 = __webpack_require__(183); - var Classes = __webpack_require__(192); - var Errors = __webpack_require__(186); - var Keys = __webpack_require__(193); - var Utils = __webpack_require__(185); - var tab_1 = __webpack_require__(255); - var tabList_1 = __webpack_require__(257); - var tabPanel_1 = __webpack_require__(258); + var abstractComponent_1 = __webpack_require__(184); + var Classes = __webpack_require__(193); + var Errors = __webpack_require__(187); + var Keys = __webpack_require__(194); + var Utils = __webpack_require__(186); + var tab_1 = __webpack_require__(263); + var tabList_1 = __webpack_require__(265); + var tabPanel_1 = __webpack_require__(266); var TAB_CSS_SELECTOR = "li[role=tab]"; var Tabs = (function (_super) { tslib_1.__extends(Tabs, _super); @@ -32240,9 +32894,9 @@ -/***/ }, -/* 257 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 265 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -32252,12 +32906,12 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var abstractComponent_1 = __webpack_require__(183); - var Classes = __webpack_require__(192); + var abstractComponent_1 = __webpack_require__(184); + var Classes = __webpack_require__(193); var TabList = (function (_super) { tslib_1.__extends(TabList, _super); function TabList() { @@ -32290,9 +32944,9 @@ -/***/ }, -/* 258 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 266 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -32302,11 +32956,11 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); + var Classes = __webpack_require__(193); var TabPanel = (function (_super) { tslib_1.__extends(TabPanel, _super); function TabPanel() { @@ -32326,9 +32980,9 @@ -/***/ }, -/* 259 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 267 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -32338,11 +32992,11 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); + var Classes = __webpack_require__(193); var Tab2 = (function (_super) { tslib_1.__extends(Tab2, _super); function Tab2() { @@ -32369,9 +33023,9 @@ -/***/ }, -/* 260 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 268 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -32381,16 +33035,16 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var abstractComponent_1 = __webpack_require__(183); - var Classes = __webpack_require__(192); - var Keys = __webpack_require__(193); - var utils_1 = __webpack_require__(185); - var tab2_1 = __webpack_require__(259); - var tabTitle_1 = __webpack_require__(261); + var abstractComponent_1 = __webpack_require__(184); + var Classes = __webpack_require__(193); + var Keys = __webpack_require__(194); + var utils_1 = __webpack_require__(186); + var tab2_1 = __webpack_require__(267); + var tabTitle_1 = __webpack_require__(269); exports.Expander = function () { return React.createElement("div", { className: "pt-flex-expander" }); }; var TAB_SELECTOR = "." + Classes.TAB; var Tabs2 = (function (_super) { @@ -32565,9 +33219,9 @@ -/***/ }, -/* 261 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 269 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -32577,11 +33231,11 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); + var Classes = __webpack_require__(193); var TabTitle = (function (_super) { tslib_1.__extends(TabTitle, _super); function TabTitle() { @@ -32613,9 +33267,9 @@ -/***/ }, -/* 262 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 270 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -32625,13 +33279,13 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var common_1 = __webpack_require__(182); - var props_1 = __webpack_require__(190); - var Classes = __webpack_require__(192); + var common_1 = __webpack_require__(183); + var props_1 = __webpack_require__(191); + var Classes = __webpack_require__(193); var Tag = (function (_super) { tslib_1.__extends(Tag, _super); function Tag() { @@ -32666,9 +33320,9 @@ -/***/ }, -/* 263 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 271 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -32678,15 +33332,15 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var abstractComponent_1 = __webpack_require__(183); - var Classes = __webpack_require__(192); - var utils_1 = __webpack_require__(185); - var buttons_1 = __webpack_require__(219); - var icon_1 = __webpack_require__(221); + var abstractComponent_1 = __webpack_require__(184); + var Classes = __webpack_require__(193); + var utils_1 = __webpack_require__(186); + var buttons_1 = __webpack_require__(227); + var icon_1 = __webpack_require__(229); var Toast = (function (_super) { tslib_1.__extends(Toast, _super); function Toast() { @@ -32755,9 +33409,9 @@ -/***/ }, -/* 264 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 272 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2016 Palantir Technologies, Inc. All rights reserved. @@ -32767,19 +33421,19 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); var ReactDOM = __webpack_require__(33); - var abstractComponent_1 = __webpack_require__(183); - var Classes = __webpack_require__(192); - var errors_1 = __webpack_require__(186); - var keys_1 = __webpack_require__(193); - var position_1 = __webpack_require__(189); - var utils_1 = __webpack_require__(185); - var overlay_1 = __webpack_require__(205); - var toast_1 = __webpack_require__(263); + var abstractComponent_1 = __webpack_require__(184); + var Classes = __webpack_require__(193); + var errors_1 = __webpack_require__(187); + var keys_1 = __webpack_require__(194); + var position_1 = __webpack_require__(190); + var utils_1 = __webpack_require__(186); + var overlay_1 = __webpack_require__(206); + var toast_1 = __webpack_require__(271); var Toaster = Toaster_1 = (function (_super) { tslib_1.__extends(Toaster, _super); function Toaster() { @@ -32887,9 +33541,9 @@ -/***/ }, -/* 265 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 273 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -32899,12 +33553,12 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); - var utils_1 = __webpack_require__(185); - var treeNode_1 = __webpack_require__(266); + var Classes = __webpack_require__(193); + var utils_1 = __webpack_require__(186); + var treeNode_1 = __webpack_require__(274); var Tree = (function (_super) { tslib_1.__extends(Tree, _super); function Tree() { @@ -32979,9 +33633,9 @@ -/***/ }, -/* 266 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 274 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. @@ -32991,13 +33645,13 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var Classes = __webpack_require__(192); - var utils_1 = __webpack_require__(185); - var collapse_1 = __webpack_require__(225); - var icon_1 = __webpack_require__(221); + var Classes = __webpack_require__(193); + var utils_1 = __webpack_require__(186); + var collapse_1 = __webpack_require__(233); + var icon_1 = __webpack_require__(229); var TreeNode = (function (_super) { tslib_1.__extends(TreeNode, _super); function TreeNode() { @@ -33057,9 +33711,9 @@ -/***/ }, -/* 267 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 275 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -33069,8 +33723,8 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var core_1 = __webpack_require__(178); - var client_1 = __webpack_require__(176); + var core_1 = __webpack_require__(179); + var client_1 = __webpack_require__(177); /** * Removes leading indents from a template string without removing all leading whitespace. * Trims resulting string to remove blank first/last lines caused by ` location. @@ -33136,9 +33790,9 @@ -/***/ }, -/* 268 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 276 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -33148,14 +33802,14 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(173); - var core_1 = __webpack_require__(178); - var classNames = __webpack_require__(174); - var fuzzaldrin_plus_1 = __webpack_require__(269); + var tslib_1 = __webpack_require__(174); + var core_1 = __webpack_require__(179); + var classNames = __webpack_require__(175); + var fuzzaldrin_plus_1 = __webpack_require__(277); var React = __webpack_require__(3); var react_dom_1 = __webpack_require__(33); - var utils_1 = __webpack_require__(267); - var baseExample_1 = __webpack_require__(172); + var utils_1 = __webpack_require__(275); + var baseExample_1 = __webpack_require__(173); var MENU_PADDING = 5; // $pt-grid-size / 2; var Navigator = (function (_super) { tslib_1.__extends(Navigator, _super); @@ -33294,22 +33948,22 @@ -/***/ }, -/* 269 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 277 */ +/***/ (function(module, exports, __webpack_require__) { (function() { var PathSeparator, filter, legacy_scorer, matcher, prepQueryCache, scorer; - scorer = __webpack_require__(270); + scorer = __webpack_require__(278); - legacy_scorer = __webpack_require__(272); + legacy_scorer = __webpack_require__(280); - filter = __webpack_require__(273); + filter = __webpack_require__(281); - matcher = __webpack_require__(274); + matcher = __webpack_require__(282); - PathSeparator = __webpack_require__(271).sep; + PathSeparator = __webpack_require__(279).sep; prepQueryCache = null; @@ -33383,14 +34037,14 @@ }).call(this); -/***/ }, -/* 270 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 278 */ +/***/ (function(module, exports, __webpack_require__) { (function() { var AcronymResult, PathSeparator, Query, basenameScore, coreChars, countDir, doScore, emptyAcronymResult, file_coeff, isMatch, isSeparator, isWordEnd, isWordStart, miss_coeff, opt_char_re, pos_bonus, scoreAcronyms, scoreCharacter, scoreConsecutives, scoreExact, scoreExactMatch, scorePattern, scorePosition, scoreSize, tau_depth, tau_size, truncatedUpperCase, wm; - PathSeparator = __webpack_require__(271).sep; + PathSeparator = __webpack_require__(279).sep; wm = 150; @@ -33776,9 +34430,9 @@ }).call(this); -/***/ }, -/* 271 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 279 */ +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors. // @@ -34005,16 +34659,16 @@ } ; - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(114))) + /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(115))) -/***/ }, -/* 272 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 280 */ +/***/ (function(module, exports, __webpack_require__) { (function() { var PathSeparator, queryIsLastPathSegment; - PathSeparator = __webpack_require__(271).sep; + PathSeparator = __webpack_require__(279).sep; exports.basenameScore = function(string, query, score) { var base, depth, index, lastCharacter, segmentCount, slashCount; @@ -34141,16 +34795,16 @@ }).call(this); -/***/ }, -/* 273 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 281 */ +/***/ (function(module, exports, __webpack_require__) { (function() { var PathSeparator, legacy_scorer, pluckCandidates, scorer, sortCandidates; - scorer = __webpack_require__(270); + scorer = __webpack_require__(278); - legacy_scorer = __webpack_require__(272); + legacy_scorer = __webpack_require__(280); pluckCandidates = function(a) { return a.candidate; @@ -34160,7 +34814,7 @@ return b.score - a.score; }; - PathSeparator = __webpack_require__(271).sep; + PathSeparator = __webpack_require__(279).sep; module.exports = function(candidates, query, _arg) { var allowErrors, bAllowErrors, bKey, candidate, coreQuery, key, legacy, maxInners, maxResults, prepQuery, queryHasSlashes, score, scoredCandidates, spotLeft, string, _i, _j, _len, _len1, _ref; @@ -34220,16 +34874,16 @@ }).call(this); -/***/ }, -/* 274 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 282 */ +/***/ (function(module, exports, __webpack_require__) { (function() { var PathSeparator, scorer; - PathSeparator = __webpack_require__(271).sep; + PathSeparator = __webpack_require__(279).sep; - scorer = __webpack_require__(270); + scorer = __webpack_require__(278); exports.basenameMatch = function(subject, subject_lw, prepQuery) { var basePos, depth, end; @@ -34373,9 +35027,9 @@ }).call(this); -/***/ }, -/* 275 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 283 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -34385,11 +35039,11 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(173); - var core_1 = __webpack_require__(178); - var classNames = __webpack_require__(174); + var tslib_1 = __webpack_require__(174); + var core_1 = __webpack_require__(179); + var classNames = __webpack_require__(175); var React = __webpack_require__(3); - var client_1 = __webpack_require__(176); + var client_1 = __webpack_require__(177); // tslint:disable-next-line:max-line-length exports.NavMenuItem = function (props) { var item = props.item; @@ -34426,9 +35080,9 @@ -/***/ }, -/* 276 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 284 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -34439,7 +35093,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var React = __webpack_require__(3); - var block_1 = __webpack_require__(277); + var block_1 = __webpack_require__(285); exports.Page = function (_a) { var tagRenderers = _a.tagRenderers, page = _a.page; var pageContents = block_1.renderContentsBlock(page.contents, tagRenderers, page); @@ -34448,9 +35102,9 @@ -/***/ }, -/* 277 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 285 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -34484,9 +35138,9 @@ -/***/ }, -/* 278 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 286 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -34499,14 +35153,14 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(279)); - __export(__webpack_require__(267)); + __export(__webpack_require__(287)); + __export(__webpack_require__(275)); -/***/ }, -/* 279 */ -/***/ function(module, exports) { +/***/ }), +/* 287 */ +/***/ (function(module, exports) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -34557,9 +35211,9 @@ -/***/ }, -/* 280 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 288 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -34572,19 +35226,19 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(281)); - __export(__webpack_require__(283)); - __export(__webpack_require__(284)); - __export(__webpack_require__(285)); - __export(__webpack_require__(287)); - __export(__webpack_require__(288)); __export(__webpack_require__(289)); + __export(__webpack_require__(291)); + __export(__webpack_require__(292)); + __export(__webpack_require__(293)); + __export(__webpack_require__(295)); + __export(__webpack_require__(296)); + __export(__webpack_require__(297)); -/***/ }, -/* 281 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 289 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -34594,9 +35248,9 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(173); + var tslib_1 = __webpack_require__(174); var React = __webpack_require__(3); - var modifierTable_1 = __webpack_require__(282); + var modifierTable_1 = __webpack_require__(290); var MODIFIER_PLACEHOLDER = /\{\{([\.\:]?)modifier\}\}/g; var DEFAULT_MODIFIER = { documentation: "Default", @@ -34647,9 +35301,9 @@ -/***/ }, -/* 282 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 290 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -34679,9 +35333,9 @@ -/***/ }, -/* 283 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 291 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -34691,7 +35345,7 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tags = __webpack_require__(280); + var tags = __webpack_require__(288); function createDefaultRenderers(docs) { var css = new tags.CssTagRenderer(docs); var heading = new tags.HeadingTagRenderer(); @@ -34708,9 +35362,9 @@ -/***/ }, -/* 284 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 292 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -34720,7 +35374,7 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(173); + var tslib_1 = __webpack_require__(174); var React = __webpack_require__(3); var Heading = function (_a) { var level = _a.level, route = _a.route, value = _a.value; @@ -34740,9 +35394,9 @@ -/***/ }, -/* 285 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 293 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -34753,8 +35407,8 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var React = __webpack_require__(3); - var propsStore_1 = __webpack_require__(279); - var interfaceTable_1 = __webpack_require__(286); + var propsStore_1 = __webpack_require__(287); + var interfaceTable_1 = __webpack_require__(294); var InterfaceTagRenderer = (function () { function InterfaceTagRenderer(docs) { var _this = this; @@ -34775,9 +35429,9 @@ -/***/ }, -/* 286 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 294 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -34787,10 +35441,10 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var core_1 = __webpack_require__(178); - var classNames = __webpack_require__(174); + var core_1 = __webpack_require__(179); + var classNames = __webpack_require__(175); var React = __webpack_require__(3); - var block_1 = __webpack_require__(277); + var block_1 = __webpack_require__(285); // HACKHACK support `code` blocks until we get real markdown parsing in ts-quick-docs function dirtyMarkdown(text) { return { __html: text.replace("<", "<") @@ -34860,9 +35514,9 @@ -/***/ }, -/* 287 */ -/***/ function(module, exports) { +/***/ }), +/* 295 */ +/***/ (function(module, exports) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -34882,9 +35536,9 @@ -/***/ }, -/* 288 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 296 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -34923,9 +35577,9 @@ -/***/ }, -/* 289 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 297 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017-present Palantir Technologies, Inc. All rights reserved. @@ -34970,17 +35624,17 @@ -/***/ }, -/* 290 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 298 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = __webpack_require__(1); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var React = __webpack_require__(3); - var navbarActions_1 = __webpack_require__(291); + var navbarActions_1 = __webpack_require__(299); var DARK_THEME = "pt-dark"; var LIGHT_THEME = ""; var THEME_LOCAL_STORAGE_KEY = "pt-blueprint-theme"; @@ -35019,23 +35673,23 @@ this.props.versions[0].version), ]; var navbarRight = (React.createElement(navbarActions_1.NavbarActions, { onToggleDark: this.handleToggleDark, releases: this.props.releases, useDarkTheme: this.state.themeName === DARK_THEME })); - return React.createElement(docs_1.Documentation, tslib_1.__assign({}, this.props, { className: this.state.themeName, navbarLeft: navbarLeft, navbarRight: navbarRight, onComponentUpdate: this.handleComponentUpdate })); + return (React.createElement(docs_1.Documentation, tslib_1.__assign({}, this.props, { className: this.state.themeName, navbarLeft: navbarLeft, navbarRight: navbarRight, onComponentUpdate: this.handleComponentUpdate }))); }; return BlueprintDocs; }(React.Component)); exports.BlueprintDocs = BlueprintDocs; -/***/ }, -/* 291 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 299 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = __webpack_require__(1); - var core_1 = __webpack_require__(178); - var labs_1 = __webpack_require__(292); - var classNames = __webpack_require__(323); + var core_1 = __webpack_require__(179); + var labs_1 = __webpack_require__(300); + var classNames = __webpack_require__(331); var React = __webpack_require__(3); var NavbarActions = (function (_super) { tslib_1.__extends(NavbarActions, _super); @@ -35072,9 +35726,9 @@ exports.NavbarActions = NavbarActions; -/***/ }, -/* 292 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 300 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -35087,14 +35741,14 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(293)); - __export(__webpack_require__(295)); + __export(__webpack_require__(301)); + __export(__webpack_require__(303)); -/***/ }, -/* 293 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 301 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -35104,14 +35758,14 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var classes = __webpack_require__(294); + var classes = __webpack_require__(302); exports.Classes = classes; -/***/ }, -/* 294 */ -/***/ function(module, exports) { +/***/ }), +/* 302 */ +/***/ (function(module, exports) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -35133,9 +35787,9 @@ -/***/ }, -/* 295 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 303 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -35148,19 +35802,19 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(296)); - __export(__webpack_require__(303)); - __export(__webpack_require__(316)); - __export(__webpack_require__(319)); - __export(__webpack_require__(320)); - __export(__webpack_require__(321)); - __export(__webpack_require__(322)); + __export(__webpack_require__(304)); + __export(__webpack_require__(311)); + __export(__webpack_require__(324)); + __export(__webpack_require__(327)); + __export(__webpack_require__(328)); + __export(__webpack_require__(329)); + __export(__webpack_require__(330)); -/***/ }, -/* 296 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 304 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -35170,13 +35824,13 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); - var classNames = __webpack_require__(298); - var PureRender = __webpack_require__(299); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); + var PureRender = __webpack_require__(307); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var _1 = __webpack_require__(295); - var Classes = __webpack_require__(294); + var core_1 = __webpack_require__(179); + var _1 = __webpack_require__(303); + var Classes = __webpack_require__(302); var Omnibox = Omnibox_1 = (function (_super) { tslib_1.__extends(Omnibox, _super); function Omnibox() { @@ -35263,9 +35917,9 @@ -/***/ }, -/* 297 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 305 */ +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(global) {/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. @@ -35479,9 +36133,9 @@ }); /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) -/***/ }, -/* 298 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 306 */ +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! Copyright (c) 2016 Jed Watson. @@ -35533,9 +36187,9 @@ }()); -/***/ }, -/* 299 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 307 */ +/***/ (function(module, exports, __webpack_require__) { /** * @author Félix Girault @@ -35543,8 +36197,8 @@ */ 'use strict'; - var warning = __webpack_require__(300); - var shallowEqual = __webpack_require__(302); + var warning = __webpack_require__(308); + var shallowEqual = __webpack_require__(310); @@ -35605,9 +36259,9 @@ module.exports = pureRenderDecorator; -/***/ }, -/* 300 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 308 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2014-2015, Facebook, Inc. @@ -35621,7 +36275,7 @@ 'use strict'; - var emptyFunction = __webpack_require__(301); + var emptyFunction = __webpack_require__(309); /** * Similar to invariant but only logs a warning if the condition is not met. @@ -35633,50 +36287,52 @@ var warning = emptyFunction; if (false) { - var printWarning = function printWarning(format) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - var argIndex = 0; - var message = 'Warning: ' + format.replace(/%s/g, function () { - return args[argIndex++]; - }); - if (typeof console !== 'undefined') { - console.error(message); - } - try { - // --- Welcome to debugging React --- - // This error was thrown as a convenience so that you can use this stack - // to find the callsite that caused this warning to fire. - throw new Error(message); - } catch (x) {} - }; + (function () { + var printWarning = function printWarning(format) { + for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } - warning = function warning(condition, format) { - if (format === undefined) { - throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument'); - } + var argIndex = 0; + var message = 'Warning: ' + format.replace(/%s/g, function () { + return args[argIndex++]; + }); + if (typeof console !== 'undefined') { + console.error(message); + } + try { + // --- Welcome to debugging React --- + // This error was thrown as a convenience so that you can use this stack + // to find the callsite that caused this warning to fire. + throw new Error(message); + } catch (x) {} + }; - if (format.indexOf('Failed Composite propType: ') === 0) { - return; // Ignore CompositeComponent proptype check. - } + warning = function warning(condition, format) { + if (format === undefined) { + throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument'); + } - if (!condition) { - for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { - args[_key2 - 2] = arguments[_key2]; + if (format.indexOf('Failed Composite propType: ') === 0) { + return; // Ignore CompositeComponent proptype check. } - printWarning.apply(undefined, [format].concat(args)); - } - }; + if (!condition) { + for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { + args[_key2 - 2] = arguments[_key2]; + } + + printWarning.apply(undefined, [format].concat(args)); + } + }; + })(); } module.exports = warning; -/***/ }, -/* 301 */ -/***/ function(module, exports) { +/***/ }), +/* 309 */ +/***/ (function(module, exports) { "use strict"; @@ -35717,9 +36373,9 @@ module.exports = emptyFunction; -/***/ }, -/* 302 */ -/***/ function(module, exports) { +/***/ }), +/* 310 */ +/***/ (function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -35789,9 +36445,9 @@ module.exports = shallowEqual; -/***/ }, -/* 303 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 311 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -35801,15 +36457,15 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); - var classNames = __webpack_require__(298); - var PureRender = __webpack_require__(299); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); + var PureRender = __webpack_require__(307); var React = __webpack_require__(3); - var react_popper_1 = __webpack_require__(304); - var core_1 = __webpack_require__(178); - var tooltip2_1 = __webpack_require__(316); - var arrow_1 = __webpack_require__(317); - var popperUtils_1 = __webpack_require__(318); + var react_popper_1 = __webpack_require__(312); + var core_1 = __webpack_require__(179); + var tooltip2_1 = __webpack_require__(324); + var arrow_1 = __webpack_require__(325); + var popperUtils_1 = __webpack_require__(326); var Popover2 = (function (_super) { tslib_1.__extends(Popover2, _super); function Popover2(props, context) { @@ -36094,9 +36750,9 @@ -/***/ }, -/* 304 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 312 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -36105,19 +36761,19 @@ }); exports.Arrow = exports.Popper = exports.Target = exports.Manager = undefined; - var _Manager2 = __webpack_require__(305); + var _Manager2 = __webpack_require__(313); var _Manager3 = _interopRequireDefault(_Manager2); - var _Target2 = __webpack_require__(310); + var _Target2 = __webpack_require__(318); var _Target3 = _interopRequireDefault(_Target2); - var _Popper2 = __webpack_require__(311); + var _Popper2 = __webpack_require__(319); var _Popper3 = _interopRequireDefault(_Popper2); - var _Arrow2 = __webpack_require__(315); + var _Arrow2 = __webpack_require__(323); var _Arrow3 = _interopRequireDefault(_Arrow2); @@ -36128,9 +36784,9 @@ exports.Popper = _Popper3.default; exports.Arrow = _Arrow3.default; -/***/ }, -/* 305 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 313 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -36144,7 +36800,7 @@ var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(306); + var _propTypes = __webpack_require__(314); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -36219,9 +36875,9 @@ }; exports.default = Manager; -/***/ }, -/* 306 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 314 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -36251,13 +36907,13 @@ } else { // By explicitly using `prop-types` you are opting into new production behavior. // http://fb.me/prop-types-in-prod - module.exports = __webpack_require__(307)(); + module.exports = __webpack_require__(315)(); } -/***/ }, -/* 307 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 315 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -36270,9 +36926,9 @@ 'use strict'; - var emptyFunction = __webpack_require__(301); - var invariant = __webpack_require__(308); - var ReactPropTypesSecret = __webpack_require__(309); + var emptyFunction = __webpack_require__(309); + var invariant = __webpack_require__(316); + var ReactPropTypesSecret = __webpack_require__(317); module.exports = function() { function shim(props, propName, componentName, location, propFullName, secret) { @@ -36320,9 +36976,9 @@ }; -/***/ }, -/* 308 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 316 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -36380,9 +37036,9 @@ module.exports = invariant; -/***/ }, -/* 309 */ -/***/ function(module, exports) { +/***/ }), +/* 317 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -36400,9 +37056,9 @@ module.exports = ReactPropTypesSecret; -/***/ }, -/* 310 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 318 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -36416,7 +37072,7 @@ var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(306); + var _propTypes = __webpack_require__(314); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -36468,9 +37124,9 @@ exports.default = Target; -/***/ }, -/* 311 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 319 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -36486,15 +37142,15 @@ var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(306); + var _propTypes = __webpack_require__(314); var _propTypes2 = _interopRequireDefault(_propTypes); - var _popper = __webpack_require__(312); + var _popper = __webpack_require__(320); var _popper2 = _interopRequireDefault(_popper); - var _isEqualShallow = __webpack_require__(313); + var _isEqualShallow = __webpack_require__(321); var _isEqualShallow2 = _interopRequireDefault(_isEqualShallow); @@ -36728,9 +37384,9 @@ }; exports.default = Popper; -/***/ }, -/* 312 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 320 */ +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(global) {/**! * @fileOverview Kickass library to create and place poppers near their reference elements. @@ -39172,9 +39828,9 @@ /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) -/***/ }, -/* 313 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 321 */ +/***/ (function(module, exports, __webpack_require__) { /*! * is-equal-shallow @@ -39185,7 +39841,7 @@ 'use strict'; - var isPrimitive = __webpack_require__(314); + var isPrimitive = __webpack_require__(322); module.exports = function isEqual(a, b) { if (!a && !b) { return true; } @@ -39205,9 +39861,9 @@ }; -/***/ }, -/* 314 */ -/***/ function(module, exports) { +/***/ }), +/* 322 */ +/***/ (function(module, exports) { /*! * is-primitive @@ -39224,9 +39880,9 @@ }; -/***/ }, -/* 315 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 323 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -39240,7 +39896,7 @@ var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(306); + var _propTypes = __webpack_require__(314); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -39298,9 +39954,9 @@ exports.default = Arrow; -/***/ }, -/* 316 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 324 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -39310,12 +39966,12 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); - var classNames = __webpack_require__(298); - var PureRender = __webpack_require__(299); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); + var PureRender = __webpack_require__(307); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var popover2_1 = __webpack_require__(303); + var core_1 = __webpack_require__(179); + var popover2_1 = __webpack_require__(311); var Tooltip2 = (function (_super) { tslib_1.__extends(Tooltip2, _super); function Tooltip2() { @@ -39344,9 +40000,9 @@ -/***/ }, -/* 317 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 325 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -39357,9 +40013,9 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var React = __webpack_require__(3); - var react_popper_1 = __webpack_require__(304); - var core_1 = __webpack_require__(178); - var popperUtils_1 = __webpack_require__(318); + var react_popper_1 = __webpack_require__(312); + var core_1 = __webpack_require__(179); + var popperUtils_1 = __webpack_require__(326); // these paths come from the Core Kit Sketch file // https://github.com/palantir/blueprint/blob/master/resources/sketch/Core%20Kit.sketch var SVG_SHADOW_PATH = "M8.11 6.302c1.015-.936 1.887-2.922 1.887-4.297v26c0-1.378" + @@ -39388,9 +40044,9 @@ -/***/ }, -/* 318 */ -/***/ function(module, exports) { +/***/ }), +/* 326 */ +/***/ (function(module, exports) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -39484,9 +40140,9 @@ -/***/ }, -/* 319 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 327 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -39496,9 +40152,9 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); + var tslib_1 = __webpack_require__(305); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); + var core_1 = __webpack_require__(179); var QueryList = (function (_super) { tslib_1.__extends(QueryList, _super); function QueryList() { @@ -39640,9 +40296,9 @@ -/***/ }, -/* 320 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 328 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -39652,13 +40308,13 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); - var classNames = __webpack_require__(298); - var PureRender = __webpack_require__(299); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); + var PureRender = __webpack_require__(307); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var _1 = __webpack_require__(295); - var Classes = __webpack_require__(294); + var core_1 = __webpack_require__(179); + var _1 = __webpack_require__(303); + var Classes = __webpack_require__(302); var MultiSelect = MultiSelect_1 = (function (_super) { tslib_1.__extends(MultiSelect, _super); function MultiSelect() { @@ -39793,9 +40449,9 @@ -/***/ }, -/* 321 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 329 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -39805,13 +40461,13 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); - var classNames = __webpack_require__(298); - var PureRender = __webpack_require__(299); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); + var PureRender = __webpack_require__(307); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var _1 = __webpack_require__(295); - var Classes = __webpack_require__(294); + var core_1 = __webpack_require__(179); + var _1 = __webpack_require__(303); + var Classes = __webpack_require__(302); var Select = Select_1 = (function (_super) { tslib_1.__extends(Select, _super); function Select() { @@ -39931,9 +40587,9 @@ -/***/ }, -/* 322 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 330 */ +/***/ (function(module, exports, __webpack_require__) { /* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. @@ -39943,12 +40599,12 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); - var classNames = __webpack_require__(298); - var PureRender = __webpack_require__(299); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); + var PureRender = __webpack_require__(307); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var Classes = __webpack_require__(294); + var core_1 = __webpack_require__(179); + var Classes = __webpack_require__(302); /** special value for absence of active tag */ var NONE = -1; var TagInput = (function (_super) { @@ -40126,9 +40782,9 @@ -/***/ }, -/* 323 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 331 */ +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! Copyright (c) 2016 Jed Watson. @@ -40180,30 +40836,30 @@ }()); -/***/ }, -/* 324 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 332 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(325)); - __export(__webpack_require__(327)); - __export(__webpack_require__(330)); + __export(__webpack_require__(333)); + __export(__webpack_require__(335)); + __export(__webpack_require__(338)); -/***/ }, -/* 325 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 333 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var classNames = __webpack_require__(323); + var classNames = __webpack_require__(331); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var clickToCopy_1 = __webpack_require__(326); + var core_1 = __webpack_require__(179); + var clickToCopy_1 = __webpack_require__(334); function expand(color) { return [color + "1", color + "2", color + "3", color + "4", color + "5"]; } @@ -40280,17 +40936,17 @@ ]); -/***/ }, -/* 326 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 334 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = __webpack_require__(1); - var classNames = __webpack_require__(323); + var classNames = __webpack_require__(331); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var ClickToCopy = (function (_super) { tslib_1.__extends(ClickToCopy, _super); function ClickToCopy() { @@ -40336,19 +40992,19 @@ exports.ClickToCopy = ClickToCopy; -/***/ }, -/* 327 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 335 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = __webpack_require__(1); - var chroma = __webpack_require__(328); - var classNames = __webpack_require__(323); + var chroma = __webpack_require__(336); + var classNames = __webpack_require__(331); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var colorPalettes_1 = __webpack_require__(325); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var colorPalettes_1 = __webpack_require__(333); var MIN_STEPS = 3; var MAX_STEPS = 20; var QUALITATIVE = [ @@ -40486,9 +41142,9 @@ }; -/***/ }, -/* 328 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 336 */ +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(module) { /** @@ -40496,7 +41152,7 @@ * * chroma.js - JavaScript library for color conversions * - * Copyright (c) 2011-2015, Gregor Aisch + * Copyright (c) 2011-2017, Gregor Aisch * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -40526,7 +41182,7 @@ */ (function() { - var Color, DEG2RAD, LAB_CONSTANTS, PI, PITHIRD, RAD2DEG, TWOPI, _guess_formats, _guess_formats_sorted, _input, _interpolators, abs, atan2, bezier, blend, blend_f, brewer, burn, chroma, clip_rgb, cmyk2rgb, colors, cos, css2rgb, darken, dodge, each, floor, hex2rgb, hsi2rgb, hsl2css, hsl2rgb, hsv2rgb, interpolate, interpolate_hsx, interpolate_lab, interpolate_num, interpolate_rgb, lab2lch, lab2rgb, lab_xyz, lch2lab, lch2rgb, lighten, limit, log, luminance_x, m, max, multiply, normal, num2rgb, overlay, pow, rgb2cmyk, rgb2css, rgb2hex, rgb2hsi, rgb2hsl, rgb2hsv, rgb2lab, rgb2lch, rgb2luminance, rgb2num, rgb2temperature, rgb2xyz, rgb_xyz, rnd, root, round, screen, sin, sqrt, temperature2rgb, type, unpack, w3cx11, xyz_lab, xyz_rgb, + var Color, DEG2RAD, LAB_CONSTANTS, PI, PITHIRD, RAD2DEG, TWOPI, _guess_formats, _guess_formats_sorted, _input, _interpolators, abs, atan2, bezier, blend, blend_f, brewer, burn, chroma, clip_rgb, cmyk2rgb, colors, cos, css2rgb, darken, dodge, each, floor, hcg2rgb, hex2rgb, hsi2rgb, hsl2css, hsl2rgb, hsv2rgb, interpolate, interpolate_hsx, interpolate_lab, interpolate_num, interpolate_rgb, lab2lch, lab2rgb, lab_xyz, lch2lab, lch2rgb, lighten, limit, log, luminance_x, m, max, multiply, normal, num2rgb, overlay, pow, rgb2cmyk, rgb2css, rgb2hcg, rgb2hex, rgb2hsi, rgb2hsl, rgb2hsv, rgb2lab, rgb2lch, rgb2luminance, rgb2num, rgb2temperature, rgb2xyz, rgb_xyz, rnd, root, round, screen, sin, sqrt, temperature2rgb, type, unpack, w3cx11, xyz_lab, xyz_rgb, slice = [].slice; type = (function() { @@ -40574,9 +41230,14 @@ }; clip_rgb = function(rgb) { - var i; - for (i in rgb) { + var i, o; + rgb._clipped = false; + rgb._unclipped = rgb.slice(0); + for (i = o = 0; o < 3; i = ++o) { if (i < 3) { + if (rgb[i] < 0 || rgb[i] > 255) { + rgb._clipped = true; + } if (rgb[i] < 0) { rgb[i] = 0; } @@ -40592,6 +41253,9 @@ } } } + if (!rgb._clipped) { + delete rgb._unclipped; + } return rgb; }; @@ -40631,41 +41295,7 @@ root.chroma = chroma; } - chroma.version = '1.1.1'; - - - /** - chroma.js - - Copyright (c) 2011-2013, Gregor Aisch - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - * The name Gregor Aisch may not be used to endorse or promote products - derived from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL GREGOR AISCH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY - OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, - EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - @source: https://github.com/gka/chroma.js - */ + chroma.version = '1.3.4'; _input = {}; @@ -40716,16 +41346,12 @@ } } - Color.prototype.alpha = function(alpha) { - if (arguments.length) { - this._rgb[3] = alpha; - return this; - } - return this._rgb[3]; + Color.prototype.toString = function() { + return this.hex(); }; - Color.prototype.toString = function() { - return this.name(); + Color.prototype.clone = function() { + return chroma(me._rgb); }; return Color; @@ -40773,6 +41399,7 @@ PuRd: ['#f7f4f9', '#e7e1ef', '#d4b9da', '#c994c7', '#df65b0', '#e7298a', '#ce1256', '#980043', '#67001f'], Blues: ['#f7fbff', '#deebf7', '#c6dbef', '#9ecae1', '#6baed6', '#4292c6', '#2171b5', '#08519c', '#08306b'], PuBuGn: ['#fff7fb', '#ece2f0', '#d0d1e6', '#a6bddb', '#67a9cf', '#3690c0', '#02818a', '#016c59', '#014636'], + Viridis: ['#440154', '#482777', '#3f4a8a', '#31678e', '#26838f', '#1f9d8a', '#6cce5a', '#b6de2b', '#fee825'], Spectral: ['#9e0142', '#d53e4f', '#f46d43', '#fdae61', '#fee08b', '#ffffbf', '#e6f598', '#abdda4', '#66c2a5', '#3288bd', '#5e4fa2'], RdYlGn: ['#a50026', '#d73027', '#f46d43', '#fdae61', '#fee08b', '#ffffbf', '#d9ef8b', '#a6d96a', '#66bd63', '#1a9850', '#006837'], RdBu: ['#67001f', '#b2182b', '#d6604d', '#f4a582', '#fddbc7', '#f7f7f7', '#d1e5f0', '#92c5de', '#4393c3', '#2166ac', '#053061'], @@ -40792,6 +41419,15 @@ Pastel1: ['#fbb4ae', '#b3cde3', '#ccebc5', '#decbe4', '#fed9a6', '#ffffcc', '#e5d8bd', '#fddaec', '#f2f2f2'] }; + (function() { + var key, results; + results = []; + for (key in brewer) { + results.push(brewer[key.toLowerCase()] = brewer[key]); + } + return results; + })(); + /** X11 color names @@ -40800,154 +41436,161 @@ */ w3cx11 = { - indigo: "#4b0082", - gold: "#ffd700", - hotpink: "#ff69b4", - firebrick: "#b22222", - indianred: "#cd5c5c", - yellow: "#ffff00", - mistyrose: "#ffe4e1", - darkolivegreen: "#556b2f", - olive: "#808000", - darkseagreen: "#8fbc8f", - pink: "#ffc0cb", - tomato: "#ff6347", - lightcoral: "#f08080", - orangered: "#ff4500", - navajowhite: "#ffdead", - lime: "#00ff00", - palegreen: "#98fb98", - darkslategrey: "#2f4f4f", - greenyellow: "#adff2f", - burlywood: "#deb887", - seashell: "#fff5ee", - mediumspringgreen: "#00fa9a", - fuchsia: "#ff00ff", - papayawhip: "#ffefd5", - blanchedalmond: "#ffebcd", - chartreuse: "#7fff00", - dimgray: "#696969", - black: "#000000", - peachpuff: "#ffdab9", - springgreen: "#00ff7f", - aquamarine: "#7fffd4", - white: "#ffffff", - orange: "#ffa500", - lightsalmon: "#ffa07a", - darkslategray: "#2f4f4f", - brown: "#a52a2a", - ivory: "#fffff0", - dodgerblue: "#1e90ff", - peru: "#cd853f", - lawngreen: "#7cfc00", - chocolate: "#d2691e", - crimson: "#dc143c", - forestgreen: "#228b22", - darkgrey: "#a9a9a9", - lightseagreen: "#20b2aa", - cyan: "#00ffff", - mintcream: "#f5fffa", - silver: "#c0c0c0", - antiquewhite: "#faebd7", - mediumorchid: "#ba55d3", - skyblue: "#87ceeb", - gray: "#808080", - darkturquoise: "#00ced1", - goldenrod: "#daa520", - darkgreen: "#006400", - floralwhite: "#fffaf0", - darkviolet: "#9400d3", - darkgray: "#a9a9a9", - moccasin: "#ffe4b5", - saddlebrown: "#8b4513", - grey: "#808080", - darkslateblue: "#483d8b", - lightskyblue: "#87cefa", - lightpink: "#ffb6c1", - mediumvioletred: "#c71585", - slategrey: "#708090", - red: "#ff0000", - deeppink: "#ff1493", - limegreen: "#32cd32", - darkmagenta: "#8b008b", - palegoldenrod: "#eee8aa", - plum: "#dda0dd", - turquoise: "#40e0d0", - lightgrey: "#d3d3d3", - lightgoldenrodyellow: "#fafad2", - darkgoldenrod: "#b8860b", - lavender: "#e6e6fa", - maroon: "#800000", - yellowgreen: "#9acd32", - sandybrown: "#f4a460", - thistle: "#d8bfd8", - violet: "#ee82ee", - navy: "#000080", - magenta: "#ff00ff", - dimgrey: "#696969", - tan: "#d2b48c", - rosybrown: "#bc8f8f", - olivedrab: "#6b8e23", - blue: "#0000ff", - lightblue: "#add8e6", - ghostwhite: "#f8f8ff", - honeydew: "#f0fff0", - cornflowerblue: "#6495ed", - slateblue: "#6a5acd", - linen: "#faf0e6", - darkblue: "#00008b", - powderblue: "#b0e0e6", - seagreen: "#2e8b57", - darkkhaki: "#bdb76b", - snow: "#fffafa", - sienna: "#a0522d", - mediumblue: "#0000cd", - royalblue: "#4169e1", - lightcyan: "#e0ffff", - green: "#008000", - mediumpurple: "#9370db", - midnightblue: "#191970", - cornsilk: "#fff8dc", - paleturquoise: "#afeeee", - bisque: "#ffe4c4", - slategray: "#708090", - darkcyan: "#008b8b", - khaki: "#f0e68c", - wheat: "#f5deb3", - teal: "#008080", - darkorchid: "#9932cc", - deepskyblue: "#00bfff", - salmon: "#fa8072", - darkred: "#8b0000", - steelblue: "#4682b4", - palevioletred: "#db7093", - lightslategray: "#778899", - aliceblue: "#f0f8ff", - lightslategrey: "#778899", - lightgreen: "#90ee90", - orchid: "#da70d6", - gainsboro: "#dcdcdc", - mediumseagreen: "#3cb371", - lightgray: "#d3d3d3", - mediumturquoise: "#48d1cc", - lemonchiffon: "#fffacd", - cadetblue: "#5f9ea0", - lightyellow: "#ffffe0", - lavenderblush: "#fff0f5", - coral: "#ff7f50", - purple: "#800080", - aqua: "#00ffff", - whitesmoke: "#f5f5f5", - mediumslateblue: "#7b68ee", - darkorange: "#ff8c00", - mediumaquamarine: "#66cdaa", - darksalmon: "#e9967a", - beige: "#f5f5dc", - blueviolet: "#8a2be2", - azure: "#f0ffff", - lightsteelblue: "#b0c4de", - oldlace: "#fdf5e6", - rebeccapurple: "#663399" + aliceblue: '#f0f8ff', + antiquewhite: '#faebd7', + aqua: '#00ffff', + aquamarine: '#7fffd4', + azure: '#f0ffff', + beige: '#f5f5dc', + bisque: '#ffe4c4', + black: '#000000', + blanchedalmond: '#ffebcd', + blue: '#0000ff', + blueviolet: '#8a2be2', + brown: '#a52a2a', + burlywood: '#deb887', + cadetblue: '#5f9ea0', + chartreuse: '#7fff00', + chocolate: '#d2691e', + coral: '#ff7f50', + cornflower: '#6495ed', + cornflowerblue: '#6495ed', + cornsilk: '#fff8dc', + crimson: '#dc143c', + cyan: '#00ffff', + darkblue: '#00008b', + darkcyan: '#008b8b', + darkgoldenrod: '#b8860b', + darkgray: '#a9a9a9', + darkgreen: '#006400', + darkgrey: '#a9a9a9', + darkkhaki: '#bdb76b', + darkmagenta: '#8b008b', + darkolivegreen: '#556b2f', + darkorange: '#ff8c00', + darkorchid: '#9932cc', + darkred: '#8b0000', + darksalmon: '#e9967a', + darkseagreen: '#8fbc8f', + darkslateblue: '#483d8b', + darkslategray: '#2f4f4f', + darkslategrey: '#2f4f4f', + darkturquoise: '#00ced1', + darkviolet: '#9400d3', + deeppink: '#ff1493', + deepskyblue: '#00bfff', + dimgray: '#696969', + dimgrey: '#696969', + dodgerblue: '#1e90ff', + firebrick: '#b22222', + floralwhite: '#fffaf0', + forestgreen: '#228b22', + fuchsia: '#ff00ff', + gainsboro: '#dcdcdc', + ghostwhite: '#f8f8ff', + gold: '#ffd700', + goldenrod: '#daa520', + gray: '#808080', + green: '#008000', + greenyellow: '#adff2f', + grey: '#808080', + honeydew: '#f0fff0', + hotpink: '#ff69b4', + indianred: '#cd5c5c', + indigo: '#4b0082', + ivory: '#fffff0', + khaki: '#f0e68c', + laserlemon: '#ffff54', + lavender: '#e6e6fa', + lavenderblush: '#fff0f5', + lawngreen: '#7cfc00', + lemonchiffon: '#fffacd', + lightblue: '#add8e6', + lightcoral: '#f08080', + lightcyan: '#e0ffff', + lightgoldenrod: '#fafad2', + lightgoldenrodyellow: '#fafad2', + lightgray: '#d3d3d3', + lightgreen: '#90ee90', + lightgrey: '#d3d3d3', + lightpink: '#ffb6c1', + lightsalmon: '#ffa07a', + lightseagreen: '#20b2aa', + lightskyblue: '#87cefa', + lightslategray: '#778899', + lightslategrey: '#778899', + lightsteelblue: '#b0c4de', + lightyellow: '#ffffe0', + lime: '#00ff00', + limegreen: '#32cd32', + linen: '#faf0e6', + magenta: '#ff00ff', + maroon: '#800000', + maroon2: '#7f0000', + maroon3: '#b03060', + mediumaquamarine: '#66cdaa', + mediumblue: '#0000cd', + mediumorchid: '#ba55d3', + mediumpurple: '#9370db', + mediumseagreen: '#3cb371', + mediumslateblue: '#7b68ee', + mediumspringgreen: '#00fa9a', + mediumturquoise: '#48d1cc', + mediumvioletred: '#c71585', + midnightblue: '#191970', + mintcream: '#f5fffa', + mistyrose: '#ffe4e1', + moccasin: '#ffe4b5', + navajowhite: '#ffdead', + navy: '#000080', + oldlace: '#fdf5e6', + olive: '#808000', + olivedrab: '#6b8e23', + orange: '#ffa500', + orangered: '#ff4500', + orchid: '#da70d6', + palegoldenrod: '#eee8aa', + palegreen: '#98fb98', + paleturquoise: '#afeeee', + palevioletred: '#db7093', + papayawhip: '#ffefd5', + peachpuff: '#ffdab9', + peru: '#cd853f', + pink: '#ffc0cb', + plum: '#dda0dd', + powderblue: '#b0e0e6', + purple: '#800080', + purple2: '#7f007f', + purple3: '#a020f0', + rebeccapurple: '#663399', + red: '#ff0000', + rosybrown: '#bc8f8f', + royalblue: '#4169e1', + saddlebrown: '#8b4513', + salmon: '#fa8072', + sandybrown: '#f4a460', + seagreen: '#2e8b57', + seashell: '#fff5ee', + sienna: '#a0522d', + silver: '#c0c0c0', + skyblue: '#87ceeb', + slateblue: '#6a5acd', + slategray: '#708090', + slategrey: '#708090', + snow: '#fffafa', + springgreen: '#00ff7f', + steelblue: '#4682b4', + tan: '#d2b48c', + teal: '#008080', + thistle: '#d8bfd8', + tomato: '#ff6347', + turquoise: '#40e0d0', + violet: '#ee82ee', + wheat: '#f5deb3', + white: '#ffffff', + whitesmoke: '#f5f5f5', + yellow: '#ffff00', + yellowgreen: '#9acd32' }; chroma.colors = colors = w3cx11; @@ -40965,14 +41608,11 @@ r = xyz_rgb(3.2404542 * x - 1.5371385 * y - 0.4985314 * z); g = xyz_rgb(-0.9692660 * x + 1.8760108 * y + 0.0415560 * z); b = xyz_rgb(0.0556434 * x - 0.2040259 * y + 1.0572252 * z); - r = limit(r, 0, 255); - g = limit(g, 0, 255); - b = limit(b, 0, 255); return [r, g, b, args.length > 3 ? args[3] : 1]; }; xyz_rgb = function(r) { - return round(255 * (r <= 0.00304 ? 12.92 * r : 1.055 * pow(r, 1 / 2.4) - 0.055)); + return 255 * (r <= 0.00304 ? 12.92 * r : 1.055 * pow(r, 1 / 2.4) - 0.055); }; lab_xyz = function(t) { @@ -41194,8 +41834,13 @@ if (lightness == null) { lightness = [0, 1]; } - dl = lightness[1] - lightness[0]; dh = 0; + if (type(lightness) === 'array') { + dl = lightness[1] - lightness[0]; + } else { + dl = 0; + lightness = [lightness, lightness]; + } f = function(fract) { var a, amp, b, cos_a, g, h, l, r, sin_a; a = TWOPI * ((start + 120) / 360 + rotations * fract); @@ -41249,13 +41894,11 @@ if (h == null) { return lightness; } - lightness = h; - if (type(lightness) === 'array') { - dl = lightness[1] - lightness[0]; - if (dl === 0) { - lightness = lightness[1]; - } + if (type(h) === 'array') { + lightness = h; + dl = h[1] - h[0]; } else { + lightness = [h, h]; dl = 0; } return f; @@ -41277,6 +41920,62 @@ return new Color(code); }; + chroma.average = function(colors, mode) { + var A, alpha, c, cnt, dx, dy, first, i, l, len, o, xyz, xyz2; + if (mode == null) { + mode = 'rgb'; + } + l = colors.length; + colors = colors.map(function(c) { + return chroma(c); + }); + first = colors.splice(0, 1)[0]; + xyz = first.get(mode); + cnt = []; + dx = 0; + dy = 0; + for (i in xyz) { + xyz[i] = xyz[i] || 0; + cnt.push(!isNaN(xyz[i]) ? 1 : 0); + if (mode.charAt(i) === 'h' && !isNaN(xyz[i])) { + A = xyz[i] / 180 * PI; + dx += cos(A); + dy += sin(A); + } + } + alpha = first.alpha(); + for (o = 0, len = colors.length; o < len; o++) { + c = colors[o]; + xyz2 = c.get(mode); + alpha += c.alpha(); + for (i in xyz) { + if (!isNaN(xyz2[i])) { + xyz[i] += xyz2[i]; + cnt[i] += 1; + if (mode.charAt(i) === 'h') { + A = xyz[i] / 180 * PI; + dx += cos(A); + dy += sin(A); + } + } + } + } + for (i in xyz) { + xyz[i] = xyz[i] / cnt[i]; + if (mode.charAt(i) === 'h') { + A = atan2(dy / cnt[i], dx / cnt[i]) / PI * 180; + while (A < 0) { + A += 360; + } + while (A >= 360) { + A -= 360; + } + xyz[i] = A; + } + } + return chroma(xyz, mode).alpha(alpha / l); + }; + _input.rgb = function() { var k, ref, results, v; ref = unpack(arguments); @@ -41296,16 +41995,29 @@ })(Color, slice.call(arguments).concat(['rgb']), function(){}); }; - Color.prototype.rgb = function() { - return this._rgb.slice(0, 3); + Color.prototype.rgb = function(round) { + if (round == null) { + round = true; + } + if (round) { + return this._rgb.map(Math.round).slice(0, 3); + } else { + return this._rgb.slice(0, 3); + } }; - Color.prototype.rgba = function() { - return this._rgb; + Color.prototype.rgba = function(round) { + if (round == null) { + round = true; + } + if (!round) { + return this._rgb.slice(0); + } + return [Math.round(this._rgb[0]), Math.round(this._rgb[1]), Math.round(this._rgb[2]), this._rgb[3]]; }; _guess_formats.push({ - p: 15, + p: 3, test: function(n) { var a; a = unpack(arguments); @@ -41357,6 +42069,9 @@ mode = 'rgb'; } r = channels[0], g = channels[1], b = channels[2], a = channels[3]; + r = Math.round(r); + g = Math.round(g); + b = Math.round(b); u = r << 16 | g << 8 | b; str = "000000" + u.toString(16); str = str.substr(str.length - 6); @@ -41394,7 +42109,7 @@ }; _guess_formats.push({ - p: 10, + p: 4, test: function(n) { if (arguments.length === 1 && type(n) === "string") { return 'hex'; @@ -41531,24 +42246,152 @@ ref5 = [v, p, q], r = ref5[0], g = ref5[1], b = ref5[2]; } } - r = round(r); - g = round(g); - b = round(b); return [r, g, b, args.length > 3 ? args[3] : 1]; }; - rgb2hsv = function() { - var b, delta, g, h, min, r, ref, s, v; + rgb2hsv = function() { + var b, delta, g, h, min, r, ref, s, v; + ref = unpack(arguments), r = ref[0], g = ref[1], b = ref[2]; + min = Math.min(r, g, b); + max = Math.max(r, g, b); + delta = max - min; + v = max / 255.0; + if (max === 0) { + h = Number.NaN; + s = 0; + } else { + s = delta / max; + if (r === max) { + h = (g - b) / delta; + } + if (g === max) { + h = 2 + (b - r) / delta; + } + if (b === max) { + h = 4 + (r - g) / delta; + } + h *= 60; + if (h < 0) { + h += 360; + } + } + return [h, s, v]; + }; + + chroma.hsv = function() { + return (function(func, args, ctor) { + ctor.prototype = func.prototype; + var child = new ctor, result = func.apply(child, args); + return Object(result) === result ? result : child; + })(Color, slice.call(arguments).concat(['hsv']), function(){}); + }; + + _input.hsv = hsv2rgb; + + Color.prototype.hsv = function() { + return rgb2hsv(this._rgb); + }; + + num2rgb = function(num) { + var b, g, r; + if (type(num) === "number" && num >= 0 && num <= 0xFFFFFF) { + r = num >> 16; + g = (num >> 8) & 0xFF; + b = num & 0xFF; + return [r, g, b, 1]; + } + console.warn("unknown num color: " + num); + return [0, 0, 0, 1]; + }; + + rgb2num = function() { + var b, g, r, ref; + ref = unpack(arguments), r = ref[0], g = ref[1], b = ref[2]; + return (r << 16) + (g << 8) + b; + }; + + chroma.num = function(num) { + return new Color(num, 'num'); + }; + + Color.prototype.num = function(mode) { + if (mode == null) { + mode = 'rgb'; + } + return rgb2num(this._rgb, mode); + }; + + _input.num = num2rgb; + + _guess_formats.push({ + p: 1, + test: function(n) { + if (arguments.length === 1 && type(n) === "number" && n >= 0 && n <= 0xFFFFFF) { + return 'num'; + } + } + }); + + hcg2rgb = function() { + var _c, _g, args, b, c, f, g, h, i, p, q, r, ref, ref1, ref2, ref3, ref4, ref5, t, v; + args = unpack(arguments); + h = args[0], c = args[1], _g = args[2]; + c = c / 100; + g = g / 100 * 255; + _c = c * 255; + if (c === 0) { + r = g = b = _g; + } else { + if (h === 360) { + h = 0; + } + if (h > 360) { + h -= 360; + } + if (h < 0) { + h += 360; + } + h /= 60; + i = floor(h); + f = h - i; + p = _g * (1 - c); + q = p + _c * (1 - f); + t = p + _c * f; + v = p + _c; + switch (i) { + case 0: + ref = [v, t, p], r = ref[0], g = ref[1], b = ref[2]; + break; + case 1: + ref1 = [q, v, p], r = ref1[0], g = ref1[1], b = ref1[2]; + break; + case 2: + ref2 = [p, v, t], r = ref2[0], g = ref2[1], b = ref2[2]; + break; + case 3: + ref3 = [p, q, v], r = ref3[0], g = ref3[1], b = ref3[2]; + break; + case 4: + ref4 = [t, p, v], r = ref4[0], g = ref4[1], b = ref4[2]; + break; + case 5: + ref5 = [v, p, q], r = ref5[0], g = ref5[1], b = ref5[2]; + } + } + return [r, g, b, args.length > 3 ? args[3] : 1]; + }; + + rgb2hcg = function() { + var _g, b, c, delta, g, h, min, r, ref; ref = unpack(arguments), r = ref[0], g = ref[1], b = ref[2]; min = Math.min(r, g, b); max = Math.max(r, g, b); delta = max - min; - v = max / 255.0; - if (max === 0) { + c = delta * 100 / 255; + _g = min / (255 - delta) * 100; + if (delta === 0) { h = Number.NaN; - s = 0; } else { - s = delta / max; if (r === max) { h = (g - b) / delta; } @@ -41563,63 +42406,23 @@ h += 360; } } - return [h, s, v]; + return [h, c, _g]; }; - chroma.hsv = function() { + chroma.hcg = function() { return (function(func, args, ctor) { ctor.prototype = func.prototype; var child = new ctor, result = func.apply(child, args); return Object(result) === result ? result : child; - })(Color, slice.call(arguments).concat(['hsv']), function(){}); - }; - - _input.hsv = hsv2rgb; - - Color.prototype.hsv = function() { - return rgb2hsv(this._rgb); - }; - - num2rgb = function(num) { - var b, g, r; - if (type(num) === "number" && num >= 0 && num <= 0xFFFFFF) { - r = num >> 16; - g = (num >> 8) & 0xFF; - b = num & 0xFF; - return [r, g, b, 1]; - } - console.warn("unknown num color: " + num); - return [0, 0, 0, 1]; + })(Color, slice.call(arguments).concat(['hcg']), function(){}); }; - rgb2num = function() { - var b, g, r, ref; - ref = unpack(arguments), r = ref[0], g = ref[1], b = ref[2]; - return (r << 16) + (g << 8) + b; - }; + _input.hcg = hcg2rgb; - chroma.num = function(num) { - return new Color(num, 'num'); + Color.prototype.hcg = function() { + return rgb2hcg(this._rgb); }; - Color.prototype.num = function(mode) { - if (mode == null) { - mode = 'rgb'; - } - return rgb2num(this._rgb, mode); - }; - - _input.num = num2rgb; - - _guess_formats.push({ - p: 10, - test: function(n) { - if (arguments.length === 1 && type(n) === "number" && n >= 0 && n <= 0xFFFFFF) { - return 'num'; - } - } - }); - css2rgb = function(css) { var aa, ab, hsl, i, m, o, rgb, w; css = css.toLowerCase(); @@ -41721,7 +42524,7 @@ }; _guess_formats.push({ - p: 20, + p: 5, test: function(n) { if (arguments.length === 1 && (w3cx11[n] != null)) { return 'named'; @@ -41768,7 +42571,7 @@ l = args[0], c = args[1], h = args[2]; ref = lch2lab(l, c, h), L = ref[0], a = ref[1], b = ref[2]; ref1 = lab2rgb(L, a, b), r = ref1[0], g = ref1[1], b = ref1[2]; - return [limit(r, 0, 255), limit(g, 0, 255), limit(b, 0, 255), args.length > 3 ? args[3] : 1]; + return [r, g, b, args.length > 3 ? args[3] : 1]; }; lab2lch = function() { @@ -41842,9 +42645,9 @@ if (k === 1) { return [0, 0, 0, alpha]; } - r = c >= 1 ? 0 : round(255 * (1 - c) * (1 - k)); - g = m >= 1 ? 0 : round(255 * (1 - m) * (1 - k)); - b = y >= 1 ? 0 : round(255 * (1 - y) * (1 - k)); + r = c >= 1 ? 0 : 255 * (1 - c) * (1 - k); + g = m >= 1 ? 0 : 255 * (1 - m) * (1 - k); + b = y >= 1 ? 0 : 255 * (1 - y) * (1 - k); return [r, g, b, alpha]; }; @@ -41946,8 +42749,7 @@ if (res == null) { throw "color mode " + m + " is not supported"; } - res.alpha(col1.alpha() + f * (col2.alpha() - col1.alpha())); - return res; + return res.alpha(col1.alpha() + f * (col2.alpha() - col1.alpha())); }; chroma.interpolate = interpolate; @@ -42014,7 +42816,7 @@ g = 325.4494125711974 + 0.07943456536662342 * (g = temp - 50) - 28.0852963507957 * log(g); b = 255; } - return clip_rgb([r, g, b]); + return [r, g, b]; }; rgb2temperature = function() { @@ -42068,6 +42870,69 @@ } }; + chroma.distance = function(a, b, mode) { + var d, i, l1, l2, ref, ref1, sum_sq; + if (mode == null) { + mode = 'lab'; + } + if ((ref = type(a)) === 'string' || ref === 'number') { + a = new Color(a); + } + if ((ref1 = type(b)) === 'string' || ref1 === 'number') { + b = new Color(b); + } + l1 = a.get(mode); + l2 = b.get(mode); + sum_sq = 0; + for (i in l1) { + d = (l1[i] || 0) - (l2[i] || 0); + sum_sq += d * d; + } + return Math.sqrt(sum_sq); + }; + + chroma.deltaE = function(a, b, L, C) { + var L1, L2, a1, a2, b1, b2, c1, c2, c4, dH2, delA, delB, delC, delL, f, h1, ref, ref1, ref2, ref3, sc, sh, sl, t, v1, v2, v3; + if (L == null) { + L = 1; + } + if (C == null) { + C = 1; + } + if ((ref = type(a)) === 'string' || ref === 'number') { + a = new Color(a); + } + if ((ref1 = type(b)) === 'string' || ref1 === 'number') { + b = new Color(b); + } + ref2 = a.lab(), L1 = ref2[0], a1 = ref2[1], b1 = ref2[2]; + ref3 = b.lab(), L2 = ref3[0], a2 = ref3[1], b2 = ref3[2]; + c1 = sqrt(a1 * a1 + b1 * b1); + c2 = sqrt(a2 * a2 + b2 * b2); + sl = L1 < 16.0 ? 0.511 : (0.040975 * L1) / (1.0 + 0.01765 * L1); + sc = (0.0638 * c1) / (1.0 + 0.0131 * c1) + 0.638; + h1 = c1 < 0.000001 ? 0.0 : (atan2(b1, a1) * 180.0) / PI; + while (h1 < 0) { + h1 += 360; + } + while (h1 >= 360) { + h1 -= 360; + } + t = (h1 >= 164.0) && (h1 <= 345.0) ? 0.56 + abs(0.2 * cos((PI * (h1 + 168.0)) / 180.0)) : 0.36 + abs(0.4 * cos((PI * (h1 + 35.0)) / 180.0)); + c4 = c1 * c1 * c1 * c1; + f = sqrt(c4 / (c4 + 1900.0)); + sh = sc * (f * t + 1.0 - f); + delL = L1 - L2; + delC = c1 - c2; + delA = a1 - a2; + delB = b1 - b2; + dH2 = delA * delA + delB * delB - delC * delC; + v1 = delL / (L * sl); + v2 = delC / (C * sc); + v3 = sh; + return sqrt(v1 * v1 + v2 * v2 + (dH2 / (v3 * v3))); + }; + Color.prototype.get = function(modechan) { var channel, i, me, mode, ref, src; me = this; @@ -42119,8 +42984,18 @@ } else { src = value; } - me._rgb = chroma(src, mode).alpha(me.alpha())._rgb; - return me; + return chroma(src, mode).alpha(me.alpha()); + }; + + Color.prototype.clipped = function() { + return this._rgb._clipped || false; + }; + + Color.prototype.alpha = function(a) { + if (arguments.length) { + return chroma.rgb([this._rgb[0], this._rgb[1], this._rgb[2], a]); + } + return this._rgb[3]; }; Color.prototype.darken = function(amount) { @@ -42301,7 +43176,7 @@ }; chroma.scale = function(colors, positions) { - var _classes, _colorCache, _colors, _correctLightness, _domain, _fixed, _max, _min, _mode, _nacol, _out, _padding, _pos, _spread, classifyValue, f, getClass, getColor, resetCache, setColors, tmap; + var _classes, _colorCache, _colors, _correctLightness, _domain, _fixed, _max, _min, _mode, _nacol, _out, _padding, _pos, _spread, _useCache, classifyValue, f, getClass, getColor, resetCache, setColors, tmap; _mode = 'rgb'; _nacol = chroma('#ccc'); _spread = 0; @@ -42316,24 +43191,25 @@ _max = 1; _correctLightness = false; _colorCache = {}; + _useCache = true; setColors = function(colors) { - var c, col, o, ref, ref1, ref2, w; + var c, col, o, ref, ref1, w; if (colors == null) { colors = ['#fff', '#000']; } - if ((colors != null) && type(colors) === 'string' && (((ref = chroma.brewer) != null ? ref[colors] : void 0) != null)) { - colors = chroma.brewer[colors]; + if ((colors != null) && type(colors) === 'string' && (chroma.brewer != null)) { + colors = chroma.brewer[colors] || chroma.brewer[colors.toLowerCase()] || colors; } if (type(colors) === 'array') { colors = colors.slice(0); - for (c = o = 0, ref1 = colors.length - 1; 0 <= ref1 ? o <= ref1 : o >= ref1; c = 0 <= ref1 ? ++o : --o) { + for (c = o = 0, ref = colors.length - 1; 0 <= ref ? o <= ref : o >= ref; c = 0 <= ref ? ++o : --o) { col = colors[c]; if (type(col) === "string") { colors[c] = chroma(col); } } _pos.length = 0; - for (c = w = 0, ref2 = colors.length - 1; 0 <= ref2 ? w <= ref2 : w >= ref2; c = 0 <= ref2 ? ++w : --w) { + for (c = w = 0, ref1 = colors.length - 1; 0 <= ref1 ? w <= ref1 : w >= ref1; c = 0 <= ref1 ? ++w : --w) { _pos.push(c / (colors.length - 1)); } } @@ -42394,7 +43270,7 @@ t = tmap(t); } k = Math.floor(t * 10000); - if (_colorCache[k]) { + if (_useCache && _colorCache[k]) { col = _colorCache[k]; } else { if (type(_colors) === 'array') { @@ -42417,7 +43293,9 @@ } else if (type(_colors) === 'function') { col = _colors(t); } - _colorCache[k] = col; + if (_useCache) { + _colorCache[k] = col; + } } return col; }; @@ -42551,43 +43429,53 @@ return _padding; } }; - f.colors = function() { - var dd, dm, i, numColors, o, out, ref, results, samples, w; - numColors = 0; - out = 'hex'; - if (arguments.length === 1) { - if (type(arguments[0]) === 'string') { - out = arguments[0]; - } else { - numColors = arguments[0]; - } - } - if (arguments.length === 2) { - numColors = arguments[0], out = arguments[1]; + f.colors = function(numColors, out) { + var dd, dm, i, o, ref, result, results, samples, w; + if (arguments.length < 2) { + out = 'hex'; } - if (numColors) { + result = []; + if (arguments.length === 0) { + result = _colors.slice(0); + } else if (numColors === 1) { + result = [f(0.5)]; + } else if (numColors > 1) { dm = _domain[0]; dd = _domain[1] - dm; - return (function() { + result = (function() { results = []; for (var o = 0; 0 <= numColors ? o < numColors : o > numColors; 0 <= numColors ? o++ : o--){ results.push(o); } return results; }).apply(this).map(function(i) { - return f(dm + i / (numColors - 1) * dd)[out](); + return f(dm + i / (numColors - 1) * dd); }); - } - colors = []; - samples = []; - if (_classes && _classes.length > 2) { - for (i = w = 1, ref = _classes.length; 1 <= ref ? w < ref : w > ref; i = 1 <= ref ? ++w : --w) { - samples.push((_classes[i - 1] + _classes[i]) * 0.5); + } else { + colors = []; + samples = []; + if (_classes && _classes.length > 2) { + for (i = w = 1, ref = _classes.length; 1 <= ref ? w < ref : w > ref; i = 1 <= ref ? ++w : --w) { + samples.push((_classes[i - 1] + _classes[i]) * 0.5); + } + } else { + samples = _domain; } + result = samples.map(function(v) { + return f(v); + }); + } + if (chroma[out]) { + result = result.map(function(c) { + return c[out](); + }); + } + return result; + }; + f.cache = function(c) { + if (c != null) { + return _useCache = c; } else { - samples = _domain; + return _useCache; } - return samples.map(function(v) { - return f(v)[out](); - }); }; return f; }; @@ -42661,7 +43549,7 @@ }; chroma.limits = function(data, mode, num) { - var aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, assignments, best, centroids, cluster, clusterSizes, dist, i, j, kClusters, limits, max_log, min, min_log, mindist, n, nb_iters, newCentroids, o, p, pb, pr, ref, ref1, ref10, ref11, ref12, ref13, ref14, ref2, ref3, ref4, ref5, ref6, ref7, ref8, ref9, repeat, sum, tmpKMeansBreaks, value, values, w; + var aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, assignments, best, centroids, cluster, clusterSizes, dist, i, j, kClusters, limits, max_log, min, min_log, mindist, n, nb_iters, newCentroids, o, p, pb, pr, ref, ref1, ref10, ref11, ref12, ref13, ref14, ref2, ref3, ref4, ref5, ref6, ref7, ref8, ref9, repeat, sum, tmpKMeansBreaks, v, value, values, w; if (mode == null) { mode = 'equal'; } @@ -42677,6 +43565,9 @@ values = data.values.sort(function(a, b) { return a - b; }); + if (num === 1) { + return [min, max]; + } limits = []; if (mode.substr(0, 1) === 'c') { limits.push(min); @@ -42702,13 +43593,13 @@ } else if (mode.substr(0, 1) === 'q') { limits.push(min); for (i = aa = 1, ref2 = num - 1; 1 <= ref2 ? aa <= ref2 : aa >= ref2; i = 1 <= ref2 ? ++aa : --aa) { - p = values.length * i / num; + p = (values.length - 1) * i / num; pb = floor(p); if (pb === p) { limits.push(values[pb]); } else { pr = p - pb; - limits.push(values[pb] * pr + values[pb + 1] * (1 - pr)); + limits.push(values[pb] * (1 - pr) + values[pb + 1] * pr); } } limits.push(max); @@ -42794,8 +43685,9 @@ }); limits.push(tmpKMeansBreaks[0]); for (i = am = 1, ref14 = tmpKMeansBreaks.length - 1; am <= ref14; i = am += 2) { - if (!isNaN(tmpKMeansBreaks[i])) { - limits.push(tmpKMeansBreaks[i]); + v = tmpKMeansBreaks[i]; + if (!isNaN(v) && limits.indexOf(v) === -1) { + limits.push(v); } } } @@ -42811,6 +43703,9 @@ var args, b, g, r; args = unpack(arguments); h = args[0], s = args[1], i = args[2]; + if (isNaN(h)) { + h = 0; + } h /= 360; if (h < 1 / 3) { b = (1 - s) / 3; @@ -42884,6 +43779,9 @@ } else if (m === 'hsv') { xyz0 = col1.hsv(); xyz1 = col2.hsv(); + } else if (m === 'hcg') { + xyz0 = col1.hcg(); + xyz1 = col2.hcg(); } else if (m === 'hsi') { xyz0 = col1.hsi(); xyz1 = col2.hsi(); @@ -42927,7 +43825,7 @@ _interpolators = _interpolators.concat((function() { var len, o, ref, results; - ref = ['hsv', 'hsl', 'hsi', 'hcl', 'lch']; + ref = ['hsv', 'hsl', 'hsi', 'hcl', 'lch', 'hcg']; results = []; for (o = 0, len = ref.length; o < len; o++) { m = ref[o]; @@ -42956,11 +43854,11 @@ }).call(this); - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(329)(module))) + /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(337)(module))) -/***/ }, -/* 329 */ -/***/ function(module, exports) { +/***/ }), +/* 337 */ +/***/ (function(module, exports) { module.exports = function(module) { if(!module.webpackPolyfill) { @@ -42974,16 +43872,16 @@ } -/***/ }, -/* 330 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 338 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = __webpack_require__(1); var React = __webpack_require__(3); - var docs_1 = __webpack_require__(171); - var docsIcon_1 = __webpack_require__(331); + var docs_1 = __webpack_require__(172); + var docsIcon_1 = __webpack_require__(339); var ICONS_PER_ROW = 5; var Icons = (function (_super) { tslib_1.__extends(Icons, _super); @@ -43044,7 +43942,7 @@ Icons.defaultProps = { iconFilter: isIconFiltered, iconRenderer: renderIcon, - icons: __webpack_require__(332), + icons: __webpack_require__(340), }; exports.Icons = Icons; function isIconFiltered(query, icon) { @@ -43055,16 +43953,16 @@ } -/***/ }, -/* 331 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 339 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = __webpack_require__(1); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var clickToCopy_1 = __webpack_require__(326); + var core_1 = __webpack_require__(179); + var clickToCopy_1 = __webpack_require__(334); var GITHUB_PATH = "https://github.com/palantir/blueprint/blob/master/resources/icons"; var DocsIcon = (function (_super) { tslib_1.__extends(DocsIcon, _super); @@ -43097,9 +43995,9 @@ exports.DocsIcon = DocsIcon; -/***/ }, -/* 332 */ -/***/ function(module, exports) { +/***/ }), +/* 340 */ +/***/ (function(module, exports) { module.exports = [ { @@ -45876,7 +46774,7 @@ }, { "name": "Bank account", - "className": "pt-icon-banl-account", + "className": "pt-icon-bank-account", "tags": "money, finance, funds", "group": "miscellaneous", "content": "\\e76f" @@ -45967,19 +46865,19 @@ } ]; -/***/ }, -/* 333 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 341 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = __webpack_require__(1); var React = __webpack_require__(3); - var CoreExamples = __webpack_require__(334); - var DateExamples = __webpack_require__(369); - var LabsExamples = __webpack_require__(521); - var TableExamples = __webpack_require__(542); - var blueprintDocs_1 = __webpack_require__(290); + var CoreExamples = __webpack_require__(342); + var DateExamples = __webpack_require__(377); + var LabsExamples = __webpack_require__(540); + var TableExamples = __webpack_require__(561); + var blueprintDocs_1 = __webpack_require__(298); var SRC_HREF_BASE = "https://github.com/palantir/blueprint/blob/master/packages"; exports.reactExamples = {}; function addPackageExamples(packageName, packageExamples) { @@ -46002,57 +46900,57 @@ addPackageExamples("table", TableExamples); -/***/ }, -/* 334 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 342 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(335)); - __export(__webpack_require__(336)); - __export(__webpack_require__(340)); - __export(__webpack_require__(341)); - __export(__webpack_require__(342)); __export(__webpack_require__(343)); - __export(__webpack_require__(345)); - __export(__webpack_require__(346)); - __export(__webpack_require__(347)); + __export(__webpack_require__(344)); __export(__webpack_require__(348)); __export(__webpack_require__(349)); __export(__webpack_require__(350)); __export(__webpack_require__(351)); - __export(__webpack_require__(352)); __export(__webpack_require__(353)); __export(__webpack_require__(354)); - __export(__webpack_require__(344)); __export(__webpack_require__(355)); __export(__webpack_require__(356)); __export(__webpack_require__(357)); __export(__webpack_require__(358)); __export(__webpack_require__(359)); + __export(__webpack_require__(360)); __export(__webpack_require__(361)); __export(__webpack_require__(362)); + __export(__webpack_require__(352)); __export(__webpack_require__(363)); __export(__webpack_require__(364)); __export(__webpack_require__(365)); __export(__webpack_require__(366)); __export(__webpack_require__(367)); - __export(__webpack_require__(368)); + __export(__webpack_require__(369)); + __export(__webpack_require__(370)); + __export(__webpack_require__(371)); + __export(__webpack_require__(372)); + __export(__webpack_require__(373)); + __export(__webpack_require__(374)); + __export(__webpack_require__(375)); + __export(__webpack_require__(376)); -/***/ }, -/* 335 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 343 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var AlertExample = (function (_super) { tslib_1.__extends(AlertExample, _super); function AlertExample() { @@ -46097,18 +46995,18 @@ exports.AlertExample = AlertExample; -/***/ }, -/* 336 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 344 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var intentSelect_1 = __webpack_require__(337); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var intentSelect_1 = __webpack_require__(345); var ButtonsExample = (function (_super) { tslib_1.__extends(ButtonsExample, _super); function ButtonsExample() { @@ -46142,7 +47040,7 @@ _a[core_1.Classes.LARGE] = this.state.large, _a[core_1.Classes.MINIMAL] = this.state.minimal, _a)); - return React.createElement("div", { className: "docs-react-example-row" }, + return (React.createElement("div", { className: "docs-react-example-row" }, React.createElement("div", { className: "docs-react-example-column" }, React.createElement("code", null, "Button"), React.createElement("br", null), @@ -46152,7 +47050,7 @@ React.createElement("code", null, "AnchorButton"), React.createElement("br", null), React.createElement("br", null), - React.createElement(core_1.AnchorButton, { className: classes, disabled: this.state.disabled, active: this.state.active, href: "./", iconName: "duplicate", intent: this.state.intent, loading: this.state.loading, rightIconName: "share", target: "_blank", text: "Duplicate this page" }))); + React.createElement(core_1.AnchorButton, { className: classes, disabled: this.state.disabled, active: this.state.active, href: "./", iconName: "duplicate", intent: this.state.intent, loading: this.state.loading, rightIconName: "share", target: "_blank", text: "Duplicate this page" })))); var _a; }; ButtonsExample.prototype.renderOptions = function () { @@ -46174,14 +47072,14 @@ exports.ButtonsExample = ButtonsExample; -/***/ }, -/* 337 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 345 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var Classes = __webpack_require__(338); - var intent_1 = __webpack_require__(339); + var Classes = __webpack_require__(346); + var intent_1 = __webpack_require__(347); var React = __webpack_require__(3); var INTENTS = [ { label: "None", value: intent_1.Intent.NONE }, @@ -46196,13 +47094,13 @@ React.createElement("select", { value: props.intent, onChange: props.onChange }, INTENTS.map(function (opt, i) { return React.createElement("option", { key: i, value: opt.value }, opt.label); }))))); }; -/***/ }, -/* 338 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 346 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var intent_1 = __webpack_require__(339); + var intent_1 = __webpack_require__(347); exports.DARK = "pt-dark"; exports.ACTIVE = "pt-active"; exports.MINIMAL = "pt-minimal"; @@ -46363,9 +47261,9 @@ exports.intentClass = intentClass; -/***/ }, -/* 339 */ -/***/ function(module, exports) { +/***/ }), +/* 347 */ +/***/ (function(module, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -46379,16 +47277,16 @@ })(Intent = exports.Intent || (exports.Intent = {})); -/***/ }, -/* 340 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 348 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var CollapseExample = (function (_super) { tslib_1.__extends(CollapseExample, _super); function CollapseExample() { @@ -46423,17 +47321,17 @@ exports.CollapseExample = CollapseExample; -/***/ }, -/* 341 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 349 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var COLLAPSE_FROM_RADIOS = [ { className: core_1.Classes.INLINE, label: "Start", value: core_1.CollapseFrom.START.toString() }, { className: core_1.Classes.INLINE, label: "End", value: core_1.CollapseFrom.END.toString() }, @@ -46482,16 +47380,16 @@ exports.CollapsibleListExample = CollapsibleListExample; -/***/ }, -/* 342 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 350 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var CheckboxExample = (function (_super) { tslib_1.__extends(CheckboxExample, _super); function CheckboxExample() { @@ -46545,16 +47443,16 @@ exports.RadioExample = RadioExample; -/***/ }, -/* 343 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 351 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var overlayExample_1 = __webpack_require__(344); + var core_1 = __webpack_require__(179); + var overlayExample_1 = __webpack_require__(352); var DialogExample = (function (_super) { tslib_1.__extends(DialogExample, _super); function DialogExample() { @@ -46581,17 +47479,17 @@ exports.DialogExample = DialogExample; -/***/ }, -/* 344 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 352 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var OVERLAY_EXAMPLE_CLASS = "docs-overlay-example-transition"; var OverlayExample = (function (_super) { tslib_1.__extends(OverlayExample, _super); @@ -46655,18 +47553,18 @@ exports.OverlayExample = OverlayExample; -/***/ }, -/* 345 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 353 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var GraphNode = (function (_super) { tslib_1.__extends(GraphNode, _super); function GraphNode() { @@ -46729,16 +47627,16 @@ exports.ContextMenuExample = ContextMenuExample; -/***/ }, -/* 346 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 354 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var DropdownMenuExample = (function (_super) { tslib_1.__extends(DropdownMenuExample, _super); function DropdownMenuExample() { @@ -46762,18 +47660,18 @@ exports.DropdownMenuExample = DropdownMenuExample; -/***/ }, -/* 347 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 355 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var intentSelect_1 = __webpack_require__(337); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var intentSelect_1 = __webpack_require__(345); var INPUT_ID = "EditableTextExample-max-length"; var EditableTextExample = (function (_super) { tslib_1.__extends(EditableTextExample, _super); @@ -46823,16 +47721,16 @@ exports.EditableTextExample = EditableTextExample; -/***/ }, -/* 348 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 356 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var FocusExample = (function (_super) { tslib_1.__extends(FocusExample, _super); function FocusExample() { @@ -46869,17 +47767,17 @@ exports.FocusExample = FocusExample; -/***/ }, -/* 349 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 357 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var Oscillator = (function () { function Oscillator(context, freq) { this.context = context; @@ -47074,16 +47972,16 @@ exports.HotkeyPiano = HotkeyPiano; -/***/ }, -/* 350 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 358 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var HotkeyTester = (function (_super) { tslib_1.__extends(HotkeyTester, _super); function HotkeyTester() { @@ -47117,16 +48015,16 @@ exports.HotkeyTester = HotkeyTester; -/***/ }, -/* 351 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 359 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var MenuExample = (function (_super) { tslib_1.__extends(MenuExample, _super); function MenuExample() { @@ -47173,18 +48071,18 @@ exports.MenuExample = MenuExample; -/***/ }, -/* 352 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 360 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var intentSelect_1 = __webpack_require__(337); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var intentSelect_1 = __webpack_require__(345); var MIN_VALUES = [ { label: "None", value: null }, { label: "-10", value: -10 }, @@ -47290,16 +48188,16 @@ exports.NumericInputBasicExample = NumericInputBasicExample; -/***/ }, -/* 353 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 361 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var NumberAbbreviation = { BILLION: "b", MILLION: "m", @@ -47414,16 +48312,16 @@ exports.NumericInputExtendedExample = NumericInputExtendedExample; -/***/ }, -/* 354 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 362 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var NonIdealStateExample = (function (_super) { tslib_1.__extends(NonIdealStateExample, _super); function NonIdealStateExample() { @@ -47441,17 +48339,17 @@ exports.NonIdealStateExample = NonIdealStateExample; -/***/ }, -/* 355 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 363 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var INTERACTION_KINDS = [ { label: "Click", value: core_1.PopoverInteractionKind.CLICK.toString() }, { label: "Click (target only)", value: core_1.PopoverInteractionKind.CLICK_TARGET_ONLY.toString() }, @@ -47618,17 +48516,17 @@ exports.PopoverExample = PopoverExample; -/***/ }, -/* 356 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 364 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var intentSelect_1 = __webpack_require__(337); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var intentSelect_1 = __webpack_require__(345); var ProgressExample = (function (_super) { tslib_1.__extends(ProgressExample, _super); function ProgressExample() { @@ -47662,16 +48560,16 @@ exports.ProgressExample = ProgressExample; -/***/ }, -/* 357 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 365 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var RangeSliderExample = (function (_super) { tslib_1.__extends(RangeSliderExample, _super); function RangeSliderExample() { @@ -47691,16 +48589,16 @@ exports.RangeSliderExample = RangeSliderExample; -/***/ }, -/* 358 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 366 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var SliderExample = (function (_super) { tslib_1.__extends(SliderExample, _super); function SliderExample() { @@ -47736,18 +48634,18 @@ exports.SliderExample = SliderExample; -/***/ }, -/* 359 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 367 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var docs_1 = __webpack_require__(171); - var Classes = __webpack_require__(338); - var text_1 = __webpack_require__(360); + var docs_1 = __webpack_require__(172); + var Classes = __webpack_require__(346); + var text_1 = __webpack_require__(368); var TextExample = (function (_super) { tslib_1.__extends(TextExample, _super); function TextExample() { @@ -47772,17 +48670,17 @@ exports.TextExample = TextExample; -/***/ }, -/* 360 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 368 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); - var PureRender = __webpack_require__(200); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); + var PureRender = __webpack_require__(201); var React = __webpack_require__(3); - var Classes = __webpack_require__(338); + var Classes = __webpack_require__(346); var Text = (function (_super) { tslib_1.__extends(Text, _super); function Text() { @@ -47824,17 +48722,17 @@ exports.Text = Text; -/***/ }, -/* 361 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 369 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var progressExample_1 = __webpack_require__(356); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var progressExample_1 = __webpack_require__(364); var SIZES = [ { label: "Default", value: "" }, { label: "Small", value: core_1.Classes.SMALL }, @@ -47866,16 +48764,16 @@ exports.SpinnerExample = SpinnerExample; -/***/ }, -/* 362 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 370 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var TabsExample = (function (_super) { tslib_1.__extends(TabsExample, _super); function TabsExample() { @@ -47918,17 +48816,17 @@ exports.TabsExample = TabsExample; -/***/ }, -/* 363 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 371 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var Tabs2Example = (function (_super) { tslib_1.__extends(Tabs2Example, _super); function Tabs2Example() { @@ -47991,17 +48889,17 @@ React.createElement("h3", null, "Backbone"))); }; -/***/ }, -/* 364 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 372 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var InputGroupExample = (function (_super) { tslib_1.__extends(InputGroupExample, _super); function InputGroupExample() { @@ -48053,16 +48951,16 @@ exports.InputGroupExample = InputGroupExample; -/***/ }, -/* 365 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 373 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var TagExample = (function (_super) { tslib_1.__extends(TagExample, _super); function TagExample() { @@ -48097,17 +48995,17 @@ exports.TagExample = TagExample; -/***/ }, -/* 366 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 374 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); - var classNames = __webpack_require__(199); + var tslib_1 = __webpack_require__(185); + var classNames = __webpack_require__(200); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var ToastExample = (function (_super) { tslib_1.__extends(ToastExample, _super); function ToastExample() { @@ -48228,16 +49126,16 @@ exports.ToastExample = ToastExample; -/***/ }, -/* 367 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 375 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var TooltipExample = (function (_super) { tslib_1.__extends(TooltipExample, _super); function TooltipExample() { @@ -48286,16 +49184,16 @@ exports.TooltipExample = TooltipExample; -/***/ }, -/* 368 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 376 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(184); + var tslib_1 = __webpack_require__(185); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var TreeExample = (function (_super) { tslib_1.__extends(TreeExample, _super); function TreeExample() { @@ -48378,36 +49276,36 @@ exports.TreeExample = TreeExample; -/***/ }, -/* 369 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 377 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(370)); - __export(__webpack_require__(516)); - __export(__webpack_require__(517)); - __export(__webpack_require__(518)); - __export(__webpack_require__(519)); - __export(__webpack_require__(520)); + __export(__webpack_require__(378)); + __export(__webpack_require__(535)); + __export(__webpack_require__(536)); + __export(__webpack_require__(537)); + __export(__webpack_require__(538)); + __export(__webpack_require__(539)); -/***/ }, -/* 370 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 378 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(371); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var tslib_1 = __webpack_require__(379); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var React = __webpack_require__(3); - var src_1 = __webpack_require__(372); - var formatSelect_1 = __webpack_require__(514); - var precisionSelect_1 = __webpack_require__(515); + var src_1 = __webpack_require__(380); + var formatSelect_1 = __webpack_require__(533); + var precisionSelect_1 = __webpack_require__(534); var DateInputExample = (function (_super) { tslib_1.__extends(DateInputExample, _super); function DateInputExample() { @@ -48449,9 +49347,9 @@ exports.DateInputExample = DateInputExample; -/***/ }, -/* 371 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 379 */ +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(global) {/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. @@ -48665,39 +49563,39 @@ }); /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) -/***/ }, -/* 372 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 380 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var classes = __webpack_require__(373); - var react_day_picker_1 = __webpack_require__(374); + var classes = __webpack_require__(381); + var react_day_picker_1 = __webpack_require__(382); exports.IDatePickerLocaleUtils = react_day_picker_1.LocaleUtils; exports.Classes = classes; - var dateUtils_1 = __webpack_require__(394); + var dateUtils_1 = __webpack_require__(402); exports.DateRangeBoundary = dateUtils_1.DateRangeBoundary; - var dateInput_1 = __webpack_require__(501); + var dateInput_1 = __webpack_require__(520); exports.DateInput = dateInput_1.DateInput; - var datePicker_1 = __webpack_require__(504); + var datePicker_1 = __webpack_require__(523); exports.DatePicker = datePicker_1.DatePicker; exports.DatePickerFactory = datePicker_1.DatePickerFactory; - var dateTimePicker_1 = __webpack_require__(508); + var dateTimePicker_1 = __webpack_require__(527); exports.DateTimePicker = dateTimePicker_1.DateTimePicker; - var dateRangeInput_1 = __webpack_require__(510); + var dateRangeInput_1 = __webpack_require__(529); exports.DateRangeInput = dateRangeInput_1.DateRangeInput; - var dateRangePicker_1 = __webpack_require__(511); + var dateRangePicker_1 = __webpack_require__(530); exports.DateRangePicker = dateRangePicker_1.DateRangePicker; exports.DateRangePickerFactory = dateRangePicker_1.DateRangePickerFactory; - var timePicker_1 = __webpack_require__(509); + var timePicker_1 = __webpack_require__(528); exports.TimePicker = timePicker_1.TimePicker; exports.TimePickerFactory = timePicker_1.TimePickerFactory; exports.TimePickerPrecision = timePicker_1.TimePickerPrecision; -/***/ }, -/* 373 */ -/***/ function(module, exports) { +/***/ }), +/* 381 */ +/***/ (function(module, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -48731,20 +49629,20 @@ exports.TIMEPICKER_SECOND = "pt-timepicker-second"; -/***/ }, -/* 374 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 382 */ +/***/ (function(module, exports, __webpack_require__) { /* eslint-disable no-var */ /* eslint-env node */ - var DayPicker = __webpack_require__(375); - var DateUtils = __webpack_require__(388); - var LocaleUtils = __webpack_require__(389); - var ModifiersUtils = __webpack_require__(392); - var Weekday = __webpack_require__(391); - var Navbar = __webpack_require__(383); - var PropTypes = __webpack_require__(377); + var DayPicker = __webpack_require__(383); + var DateUtils = __webpack_require__(396); + var LocaleUtils = __webpack_require__(397); + var ModifiersUtils = __webpack_require__(400); + var Weekday = __webpack_require__(399); + var Navbar = __webpack_require__(391); + var PropTypes = __webpack_require__(385); module.exports = DayPicker.default || DayPicker; module.exports.DateUtils = DateUtils.default || DateUtils; @@ -48755,9 +49653,9 @@ module.exports.PropTypes = PropTypes; -/***/ }, -/* 375 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 383 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -48773,51 +49671,51 @@ var _react2 = _interopRequireDefault(_react); - var _Caption = __webpack_require__(376); + var _Caption = __webpack_require__(384); var _Caption2 = _interopRequireDefault(_Caption); - var _Navbar = __webpack_require__(383); + var _Navbar = __webpack_require__(391); var _Navbar2 = _interopRequireDefault(_Navbar); - var _Month = __webpack_require__(385); + var _Month = __webpack_require__(393); var _Month2 = _interopRequireDefault(_Month); - var _Day = __webpack_require__(390); + var _Day = __webpack_require__(398); var _Day2 = _interopRequireDefault(_Day); - var _Weekday = __webpack_require__(391); + var _Weekday = __webpack_require__(399); var _Weekday2 = _interopRequireDefault(_Weekday); - var _Helpers = __webpack_require__(387); + var _Helpers = __webpack_require__(395); var Helpers = _interopRequireWildcard(_Helpers); - var _DateUtils = __webpack_require__(388); + var _DateUtils = __webpack_require__(396); var DateUtils = _interopRequireWildcard(_DateUtils); - var _LocaleUtils = __webpack_require__(389); + var _LocaleUtils = __webpack_require__(397); var LocaleUtils = _interopRequireWildcard(_LocaleUtils); - var _ModifiersUtils = __webpack_require__(392); + var _ModifiersUtils = __webpack_require__(400); var ModifiersUtils = _interopRequireWildcard(_ModifiersUtils); - var _classNames = __webpack_require__(384); + var _classNames = __webpack_require__(392); var _classNames2 = _interopRequireDefault(_classNames); - var _keys = __webpack_require__(393); + var _keys = __webpack_require__(401); var _keys2 = _interopRequireDefault(_keys); - var _PropTypes = __webpack_require__(377); + var _PropTypes = __webpack_require__(385); var _PropTypes2 = _interopRequireDefault(_PropTypes); @@ -49443,9 +50341,9 @@ exports.default = DayPicker; -/***/ }, -/* 376 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 384 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -49458,7 +50356,7 @@ var _react2 = _interopRequireDefault(_react); - var _PropTypes = __webpack_require__(377); + var _PropTypes = __webpack_require__(385); var _PropTypes2 = _interopRequireDefault(_PropTypes); @@ -49491,9 +50389,9 @@ }; -/***/ }, -/* 377 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 385 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -49504,7 +50402,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - var _propTypes = __webpack_require__(378); + var _propTypes = __webpack_require__(386); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -49534,9 +50432,9 @@ exports.default = PrimitiveTypes; -/***/ }, -/* 378 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 386 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -49566,13 +50464,13 @@ } else { // By explicitly using `prop-types` you are opting into new production behavior. // http://fb.me/prop-types-in-prod - module.exports = __webpack_require__(379)(); + module.exports = __webpack_require__(387)(); } -/***/ }, -/* 379 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 387 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2013-present, Facebook, Inc. @@ -49585,9 +50483,9 @@ 'use strict'; - var emptyFunction = __webpack_require__(380); - var invariant = __webpack_require__(381); - var ReactPropTypesSecret = __webpack_require__(382); + var emptyFunction = __webpack_require__(388); + var invariant = __webpack_require__(389); + var ReactPropTypesSecret = __webpack_require__(390); module.exports = function() { function shim(props, propName, componentName, location, propFullName, secret) { @@ -49635,9 +50533,9 @@ }; -/***/ }, -/* 380 */ -/***/ function(module, exports) { +/***/ }), +/* 388 */ +/***/ (function(module, exports) { "use strict"; @@ -49678,9 +50576,9 @@ module.exports = emptyFunction; -/***/ }, -/* 381 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 389 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -49738,9 +50636,9 @@ module.exports = invariant; -/***/ }, -/* 382 */ -/***/ function(module, exports) { +/***/ }), +/* 390 */ +/***/ (function(module, exports) { /** * Copyright 2013-present, Facebook, Inc. @@ -49758,9 +50656,9 @@ module.exports = ReactPropTypesSecret; -/***/ }, -/* 383 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 391 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -49774,11 +50672,11 @@ var _react2 = _interopRequireDefault(_react); - var _PropTypes = __webpack_require__(377); + var _PropTypes = __webpack_require__(385); var _PropTypes2 = _interopRequireDefault(_PropTypes); - var _classNames = __webpack_require__(384); + var _classNames = __webpack_require__(392); var _classNames2 = _interopRequireDefault(_classNames); @@ -49856,9 +50754,9 @@ }; -/***/ }, -/* 384 */ -/***/ function(module, exports) { +/***/ }), +/* 392 */ +/***/ (function(module, exports) { 'use strict'; @@ -49893,9 +50791,9 @@ }; -/***/ }, -/* 385 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 393 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -49908,17 +50806,17 @@ var _react2 = _interopRequireDefault(_react); - var _PropTypes = __webpack_require__(377); + var _PropTypes = __webpack_require__(385); var _PropTypes2 = _interopRequireDefault(_PropTypes); - var _Weekdays = __webpack_require__(386); + var _Weekdays = __webpack_require__(394); var _Weekdays2 = _interopRequireDefault(_Weekdays); - var _Helpers = __webpack_require__(387); + var _Helpers = __webpack_require__(395); - var _DateUtils = __webpack_require__(388); + var _DateUtils = __webpack_require__(396); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -50035,9 +50933,9 @@ }; -/***/ }, -/* 386 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 394 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -50050,7 +50948,7 @@ var _react2 = _interopRequireDefault(_react); - var _PropTypes = __webpack_require__(377); + var _PropTypes = __webpack_require__(385); var _PropTypes2 = _interopRequireDefault(_PropTypes); @@ -50111,9 +51009,9 @@ }; -/***/ }, -/* 387 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 395 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -50133,9 +51031,9 @@ exports.getWeekArray = getWeekArray; exports.startOfMonth = startOfMonth; - var _DateUtils = __webpack_require__(388); + var _DateUtils = __webpack_require__(396); - var _LocaleUtils = __webpack_require__(389); + var _LocaleUtils = __webpack_require__(397); function cancelEvent(e) { e.preventDefault(); @@ -50261,9 +51159,9 @@ } -/***/ }, -/* 388 */ -/***/ function(module, exports) { +/***/ }), +/* 396 */ +/***/ (function(module, exports) { "use strict"; @@ -50472,9 +51370,9 @@ }; -/***/ }, -/* 389 */ -/***/ function(module, exports) { +/***/ }), +/* 397 */ +/***/ (function(module, exports) { 'use strict'; @@ -50527,9 +51425,9 @@ }; -/***/ }, -/* 390 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 398 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -50542,11 +51440,11 @@ var _react2 = _interopRequireDefault(_react); - var _classNames = __webpack_require__(384); + var _classNames = __webpack_require__(392); var _classNames2 = _interopRequireDefault(_classNames); - var _PropTypes = __webpack_require__(377); + var _PropTypes = __webpack_require__(385); var _PropTypes2 = _interopRequireDefault(_PropTypes); @@ -50656,9 +51554,9 @@ }; -/***/ }, -/* 391 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 399 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -50672,7 +51570,7 @@ var _react2 = _interopRequireDefault(_react); - var _PropTypes = __webpack_require__(377); + var _PropTypes = __webpack_require__(385); var _PropTypes2 = _interopRequireDefault(_PropTypes); @@ -50723,9 +51621,9 @@ Weekday.propTypes = WeekdayPropTypes; -/***/ }, -/* 392 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 400 */ +/***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -50735,9 +51633,9 @@ exports.dayMatchesModifier = dayMatchesModifier; exports.getModifiersForDay = getModifiersForDay; - var _DateUtils = __webpack_require__(388); + var _DateUtils = __webpack_require__(396); - var _Helpers = __webpack_require__(387); + var _Helpers = __webpack_require__(395); /** * Return `true` if a date matches the specified modifier. @@ -50804,9 +51702,9 @@ exports.default = { dayMatchesModifier: dayMatchesModifier, getModifiersForDay: getModifiersForDay }; -/***/ }, -/* 393 */ -/***/ function(module, exports) { +/***/ }), +/* 401 */ +/***/ (function(module, exports) { "use strict"; @@ -50824,13 +51722,13 @@ }; -/***/ }, -/* 394 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 402 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var moment = __webpack_require__(395); + var moment = __webpack_require__(403); var DateRangeBoundary; (function (DateRangeBoundary) { DateRangeBoundary[DateRangeBoundary["START"] = 0] = "START"; @@ -51067,12 +51965,12 @@ exports.getDateNextMonth = getDateNextMonth; -/***/ }, -/* 395 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 403 */ +/***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(module) {//! moment.js - //! version : 2.15.1 + //! version : 2.18.1 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT //! momentjs.com @@ -51081,4445 +51979,4697 @@ true ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : global.moment = factory() - }(this, function () { 'use strict'; + }(this, (function () { 'use strict'; - var hookCallback; + var hookCallback; - function utils_hooks__hooks () { - return hookCallback.apply(null, arguments); - } + function hooks () { + return hookCallback.apply(null, arguments); + } - // This is done to register the method called with moment() - // without creating circular dependencies. - function setHookCallback (callback) { - hookCallback = callback; - } + // This is done to register the method called with moment() + // without creating circular dependencies. + function setHookCallback (callback) { + hookCallback = callback; + } - function isArray(input) { - return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]'; - } + function isArray(input) { + return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]'; + } - function isObject(input) { - // IE8 will treat undefined and null as object if it wasn't for - // input != null - return input != null && Object.prototype.toString.call(input) === '[object Object]'; - } + function isObject(input) { + // IE8 will treat undefined and null as object if it wasn't for + // input != null + return input != null && Object.prototype.toString.call(input) === '[object Object]'; + } - function isObjectEmpty(obj) { - var k; - for (k in obj) { - // even if its not own property I'd still call it non-empty - return false; - } - return true; + function isObjectEmpty(obj) { + var k; + for (k in obj) { + // even if its not own property I'd still call it non-empty + return false; } + return true; + } - function isDate(input) { - return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]'; - } + function isUndefined(input) { + return input === void 0; + } - function map(arr, fn) { - var res = [], i; - for (i = 0; i < arr.length; ++i) { - res.push(fn(arr[i], i)); - } - return res; - } + function isNumber(input) { + return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]'; + } - function hasOwnProp(a, b) { - return Object.prototype.hasOwnProperty.call(a, b); - } + function isDate(input) { + return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]'; + } - function extend(a, b) { - for (var i in b) { - if (hasOwnProp(b, i)) { - a[i] = b[i]; - } - } + function map(arr, fn) { + var res = [], i; + for (i = 0; i < arr.length; ++i) { + res.push(fn(arr[i], i)); + } + return res; + } - if (hasOwnProp(b, 'toString')) { - a.toString = b.toString; - } + function hasOwnProp(a, b) { + return Object.prototype.hasOwnProperty.call(a, b); + } - if (hasOwnProp(b, 'valueOf')) { - a.valueOf = b.valueOf; + function extend(a, b) { + for (var i in b) { + if (hasOwnProp(b, i)) { + a[i] = b[i]; } - - return a; } - function create_utc__createUTC (input, format, locale, strict) { - return createLocalOrUTC(input, format, locale, strict, true).utc(); + if (hasOwnProp(b, 'toString')) { + a.toString = b.toString; } - function defaultParsingFlags() { - // We need to deep clone this object. - return { - empty : false, - unusedTokens : [], - unusedInput : [], - overflow : -2, - charsLeftOver : 0, - nullInput : false, - invalidMonth : null, - invalidFormat : false, - userInvalidated : false, - iso : false, - parsedDateParts : [], - meridiem : null - }; + if (hasOwnProp(b, 'valueOf')) { + a.valueOf = b.valueOf; } - function getParsingFlags(m) { - if (m._pf == null) { - m._pf = defaultParsingFlags(); - } - return m._pf; - } + return a; + } - var some; - if (Array.prototype.some) { - some = Array.prototype.some; - } else { - some = function (fun) { - var t = Object(this); - var len = t.length >>> 0; + function createUTC (input, format, locale, strict) { + return createLocalOrUTC(input, format, locale, strict, true).utc(); + } - for (var i = 0; i < len; i++) { - if (i in t && fun.call(this, t[i], i, t)) { - return true; - } - } + function defaultParsingFlags() { + // We need to deep clone this object. + return { + empty : false, + unusedTokens : [], + unusedInput : [], + overflow : -2, + charsLeftOver : 0, + nullInput : false, + invalidMonth : null, + invalidFormat : false, + userInvalidated : false, + iso : false, + parsedDateParts : [], + meridiem : null, + rfc2822 : false, + weekdayMismatch : false + }; + } - return false; - }; + function getParsingFlags(m) { + if (m._pf == null) { + m._pf = defaultParsingFlags(); } + return m._pf; + } - function valid__isValid(m) { - if (m._isValid == null) { - var flags = getParsingFlags(m); - var parsedParts = some.call(flags.parsedDateParts, function (i) { - return i != null; - }); - var isNowValid = !isNaN(m._d.getTime()) && - flags.overflow < 0 && - !flags.empty && - !flags.invalidMonth && - !flags.invalidWeekday && - !flags.nullInput && - !flags.invalidFormat && - !flags.userInvalidated && - (!flags.meridiem || (flags.meridiem && parsedParts)); - - if (m._strict) { - isNowValid = isNowValid && - flags.charsLeftOver === 0 && - flags.unusedTokens.length === 0 && - flags.bigHour === undefined; - } - - if (Object.isFrozen == null || !Object.isFrozen(m)) { - m._isValid = isNowValid; - } - else { - return isNowValid; + var some; + if (Array.prototype.some) { + some = Array.prototype.some; + } else { + some = function (fun) { + var t = Object(this); + var len = t.length >>> 0; + + for (var i = 0; i < len; i++) { + if (i in t && fun.call(this, t[i], i, t)) { + return true; } } - return m._isValid; - } - function valid__createInvalid (flags) { - var m = create_utc__createUTC(NaN); - if (flags != null) { - extend(getParsingFlags(m), flags); + return false; + }; + } + + var some$1 = some; + + function isValid(m) { + if (m._isValid == null) { + var flags = getParsingFlags(m); + var parsedParts = some$1.call(flags.parsedDateParts, function (i) { + return i != null; + }); + var isNowValid = !isNaN(m._d.getTime()) && + flags.overflow < 0 && + !flags.empty && + !flags.invalidMonth && + !flags.invalidWeekday && + !flags.nullInput && + !flags.invalidFormat && + !flags.userInvalidated && + (!flags.meridiem || (flags.meridiem && parsedParts)); + + if (m._strict) { + isNowValid = isNowValid && + flags.charsLeftOver === 0 && + flags.unusedTokens.length === 0 && + flags.bigHour === undefined; + } + + if (Object.isFrozen == null || !Object.isFrozen(m)) { + m._isValid = isNowValid; } else { - getParsingFlags(m).userInvalidated = true; + return isNowValid; } - - return m; } + return m._isValid; + } - function isUndefined(input) { - return input === void 0; + function createInvalid (flags) { + var m = createUTC(NaN); + if (flags != null) { + extend(getParsingFlags(m), flags); + } + else { + getParsingFlags(m).userInvalidated = true; } - // Plugins that add properties should also add the key here (null value), - // so we can properly clone ourselves. - var momentProperties = utils_hooks__hooks.momentProperties = []; + return m; + } - function copyConfig(to, from) { - var i, prop, val; + // Plugins that add properties should also add the key here (null value), + // so we can properly clone ourselves. + var momentProperties = hooks.momentProperties = []; - if (!isUndefined(from._isAMomentObject)) { - to._isAMomentObject = from._isAMomentObject; - } - if (!isUndefined(from._i)) { - to._i = from._i; - } - if (!isUndefined(from._f)) { - to._f = from._f; - } - if (!isUndefined(from._l)) { - to._l = from._l; - } - if (!isUndefined(from._strict)) { - to._strict = from._strict; - } - if (!isUndefined(from._tzm)) { - to._tzm = from._tzm; - } - if (!isUndefined(from._isUTC)) { - to._isUTC = from._isUTC; - } - if (!isUndefined(from._offset)) { - to._offset = from._offset; - } - if (!isUndefined(from._pf)) { - to._pf = getParsingFlags(from); - } - if (!isUndefined(from._locale)) { - to._locale = from._locale; - } + function copyConfig(to, from) { + var i, prop, val; - if (momentProperties.length > 0) { - for (i in momentProperties) { - prop = momentProperties[i]; - val = from[prop]; - if (!isUndefined(val)) { - to[prop] = val; - } + if (!isUndefined(from._isAMomentObject)) { + to._isAMomentObject = from._isAMomentObject; + } + if (!isUndefined(from._i)) { + to._i = from._i; + } + if (!isUndefined(from._f)) { + to._f = from._f; + } + if (!isUndefined(from._l)) { + to._l = from._l; + } + if (!isUndefined(from._strict)) { + to._strict = from._strict; + } + if (!isUndefined(from._tzm)) { + to._tzm = from._tzm; + } + if (!isUndefined(from._isUTC)) { + to._isUTC = from._isUTC; + } + if (!isUndefined(from._offset)) { + to._offset = from._offset; + } + if (!isUndefined(from._pf)) { + to._pf = getParsingFlags(from); + } + if (!isUndefined(from._locale)) { + to._locale = from._locale; + } + + if (momentProperties.length > 0) { + for (i = 0; i < momentProperties.length; i++) { + prop = momentProperties[i]; + val = from[prop]; + if (!isUndefined(val)) { + to[prop] = val; } } - - return to; } - var updateInProgress = false; + return to; + } - // Moment prototype object - function Moment(config) { - copyConfig(this, config); - this._d = new Date(config._d != null ? config._d.getTime() : NaN); - // Prevent infinite loop in case updateOffset creates new moment - // objects. - if (updateInProgress === false) { - updateInProgress = true; - utils_hooks__hooks.updateOffset(this); - updateInProgress = false; - } - } + var updateInProgress = false; - function isMoment (obj) { - return obj instanceof Moment || (obj != null && obj._isAMomentObject != null); + // Moment prototype object + function Moment(config) { + copyConfig(this, config); + this._d = new Date(config._d != null ? config._d.getTime() : NaN); + if (!this.isValid()) { + this._d = new Date(NaN); } - - function absFloor (number) { - if (number < 0) { - // -0 -> 0 - return Math.ceil(number) || 0; - } else { - return Math.floor(number); - } + // Prevent infinite loop in case updateOffset creates new moment + // objects. + if (updateInProgress === false) { + updateInProgress = true; + hooks.updateOffset(this); + updateInProgress = false; } + } - function toInt(argumentForCoercion) { - var coercedNumber = +argumentForCoercion, - value = 0; + function isMoment (obj) { + return obj instanceof Moment || (obj != null && obj._isAMomentObject != null); + } - if (coercedNumber !== 0 && isFinite(coercedNumber)) { - value = absFloor(coercedNumber); - } + function absFloor (number) { + if (number < 0) { + // -0 -> 0 + return Math.ceil(number) || 0; + } else { + return Math.floor(number); + } + } - return value; + function toInt(argumentForCoercion) { + var coercedNumber = +argumentForCoercion, + value = 0; + + if (coercedNumber !== 0 && isFinite(coercedNumber)) { + value = absFloor(coercedNumber); } - // compare two arrays, return the number of differences - function compareArrays(array1, array2, dontConvert) { - var len = Math.min(array1.length, array2.length), - lengthDiff = Math.abs(array1.length - array2.length), - diffs = 0, - i; - for (i = 0; i < len; i++) { - if ((dontConvert && array1[i] !== array2[i]) || - (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) { - diffs++; - } + return value; + } + + // compare two arrays, return the number of differences + function compareArrays(array1, array2, dontConvert) { + var len = Math.min(array1.length, array2.length), + lengthDiff = Math.abs(array1.length - array2.length), + diffs = 0, + i; + for (i = 0; i < len; i++) { + if ((dontConvert && array1[i] !== array2[i]) || + (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) { + diffs++; } - return diffs + lengthDiff; } + return diffs + lengthDiff; + } - function warn(msg) { - if (utils_hooks__hooks.suppressDeprecationWarnings === false && - (typeof console !== 'undefined') && console.warn) { - console.warn('Deprecation warning: ' + msg); - } + function warn(msg) { + if (hooks.suppressDeprecationWarnings === false && + (typeof console !== 'undefined') && console.warn) { + console.warn('Deprecation warning: ' + msg); } + } - function deprecate(msg, fn) { - var firstTime = true; + function deprecate(msg, fn) { + var firstTime = true; - return extend(function () { - if (utils_hooks__hooks.deprecationHandler != null) { - utils_hooks__hooks.deprecationHandler(null, msg); - } - if (firstTime) { - var args = []; - var arg; - for (var i = 0; i < arguments.length; i++) { - arg = ''; - if (typeof arguments[i] === 'object') { - arg += '\n[' + i + '] '; - for (var key in arguments[0]) { - arg += key + ': ' + arguments[0][key] + ', '; - } - arg = arg.slice(0, -2); // Remove trailing comma and space - } else { - arg = arguments[i]; + return extend(function () { + if (hooks.deprecationHandler != null) { + hooks.deprecationHandler(null, msg); + } + if (firstTime) { + var args = []; + var arg; + for (var i = 0; i < arguments.length; i++) { + arg = ''; + if (typeof arguments[i] === 'object') { + arg += '\n[' + i + '] '; + for (var key in arguments[0]) { + arg += key + ': ' + arguments[0][key] + ', '; } - args.push(arg); + arg = arg.slice(0, -2); // Remove trailing comma and space + } else { + arg = arguments[i]; } - warn(msg + '\nArguments: ' + Array.prototype.slice.call(args).join('') + '\n' + (new Error()).stack); - firstTime = false; + args.push(arg); } - return fn.apply(this, arguments); - }, fn); - } + warn(msg + '\nArguments: ' + Array.prototype.slice.call(args).join('') + '\n' + (new Error()).stack); + firstTime = false; + } + return fn.apply(this, arguments); + }, fn); + } - var deprecations = {}; + var deprecations = {}; - function deprecateSimple(name, msg) { - if (utils_hooks__hooks.deprecationHandler != null) { - utils_hooks__hooks.deprecationHandler(name, msg); - } - if (!deprecations[name]) { - warn(msg); - deprecations[name] = true; - } + function deprecateSimple(name, msg) { + if (hooks.deprecationHandler != null) { + hooks.deprecationHandler(name, msg); + } + if (!deprecations[name]) { + warn(msg); + deprecations[name] = true; } + } - utils_hooks__hooks.suppressDeprecationWarnings = false; - utils_hooks__hooks.deprecationHandler = null; + hooks.suppressDeprecationWarnings = false; + hooks.deprecationHandler = null; - function isFunction(input) { - return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]'; - } + function isFunction(input) { + return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]'; + } - function locale_set__set (config) { - var prop, i; - for (i in config) { - prop = config[i]; - if (isFunction(prop)) { - this[i] = prop; + function set (config) { + var prop, i; + for (i in config) { + prop = config[i]; + if (isFunction(prop)) { + this[i] = prop; + } else { + this['_' + i] = prop; + } + } + this._config = config; + // Lenient ordinal parsing accepts just a number in addition to + // number + (possibly) stuff coming from _dayOfMonthOrdinalParse. + // TODO: Remove "ordinalParse" fallback in next major release. + this._dayOfMonthOrdinalParseLenient = new RegExp( + (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + + '|' + (/\d{1,2}/).source); + } + + function mergeConfigs(parentConfig, childConfig) { + var res = extend({}, parentConfig), prop; + for (prop in childConfig) { + if (hasOwnProp(childConfig, prop)) { + if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) { + res[prop] = {}; + extend(res[prop], parentConfig[prop]); + extend(res[prop], childConfig[prop]); + } else if (childConfig[prop] != null) { + res[prop] = childConfig[prop]; } else { - this['_' + i] = prop; + delete res[prop]; } } - this._config = config; - // Lenient ordinal parsing accepts just a number in addition to - // number + (possibly) stuff coming from _ordinalParseLenient. - this._ordinalParseLenient = new RegExp(this._ordinalParse.source + '|' + (/\d{1,2}/).source); } - - function mergeConfigs(parentConfig, childConfig) { - var res = extend({}, parentConfig), prop; - for (prop in childConfig) { - if (hasOwnProp(childConfig, prop)) { - if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) { - res[prop] = {}; - extend(res[prop], parentConfig[prop]); - extend(res[prop], childConfig[prop]); - } else if (childConfig[prop] != null) { - res[prop] = childConfig[prop]; - } else { - delete res[prop]; - } - } + for (prop in parentConfig) { + if (hasOwnProp(parentConfig, prop) && + !hasOwnProp(childConfig, prop) && + isObject(parentConfig[prop])) { + // make sure changes to properties don't modify parent config + res[prop] = extend({}, res[prop]); } - for (prop in parentConfig) { - if (hasOwnProp(parentConfig, prop) && - !hasOwnProp(childConfig, prop) && - isObject(parentConfig[prop])) { - // make sure changes to properties don't modify parent config - res[prop] = extend({}, res[prop]); - } - } - return res; } + return res; + } - function Locale(config) { - if (config != null) { - this.set(config); - } + function Locale(config) { + if (config != null) { + this.set(config); } + } - var keys; + var keys; - if (Object.keys) { - keys = Object.keys; - } else { - keys = function (obj) { - var i, res = []; - for (i in obj) { - if (hasOwnProp(obj, i)) { - res.push(i); - } + if (Object.keys) { + keys = Object.keys; + } else { + keys = function (obj) { + var i, res = []; + for (i in obj) { + if (hasOwnProp(obj, i)) { + res.push(i); } - return res; - }; - } - - var defaultCalendar = { - sameDay : '[Today at] LT', - nextDay : '[Tomorrow at] LT', - nextWeek : 'dddd [at] LT', - lastDay : '[Yesterday at] LT', - lastWeek : '[Last] dddd [at] LT', - sameElse : 'L' + } + return res; }; + } - function locale_calendar__calendar (key, mom, now) { - var output = this._calendar[key] || this._calendar['sameElse']; - return isFunction(output) ? output.call(mom, now) : output; - } + var keys$1 = keys; - var defaultLongDateFormat = { - LTS : 'h:mm:ss A', - LT : 'h:mm A', - L : 'MM/DD/YYYY', - LL : 'MMMM D, YYYY', - LLL : 'MMMM D, YYYY h:mm A', - LLLL : 'dddd, MMMM D, YYYY h:mm A' - }; + var defaultCalendar = { + sameDay : '[Today at] LT', + nextDay : '[Tomorrow at] LT', + nextWeek : 'dddd [at] LT', + lastDay : '[Yesterday at] LT', + lastWeek : '[Last] dddd [at] LT', + sameElse : 'L' + }; - function longDateFormat (key) { - var format = this._longDateFormat[key], - formatUpper = this._longDateFormat[key.toUpperCase()]; + function calendar (key, mom, now) { + var output = this._calendar[key] || this._calendar['sameElse']; + return isFunction(output) ? output.call(mom, now) : output; + } - if (format || !formatUpper) { - return format; - } + var defaultLongDateFormat = { + LTS : 'h:mm:ss A', + LT : 'h:mm A', + L : 'MM/DD/YYYY', + LL : 'MMMM D, YYYY', + LLL : 'MMMM D, YYYY h:mm A', + LLLL : 'dddd, MMMM D, YYYY h:mm A' + }; - this._longDateFormat[key] = formatUpper.replace(/MMMM|MM|DD|dddd/g, function (val) { - return val.slice(1); - }); + function longDateFormat (key) { + var format = this._longDateFormat[key], + formatUpper = this._longDateFormat[key.toUpperCase()]; - return this._longDateFormat[key]; + if (format || !formatUpper) { + return format; } - var defaultInvalidDate = 'Invalid date'; + this._longDateFormat[key] = formatUpper.replace(/MMMM|MM|DD|dddd/g, function (val) { + return val.slice(1); + }); - function invalidDate () { - return this._invalidDate; - } + return this._longDateFormat[key]; + } - var defaultOrdinal = '%d'; - var defaultOrdinalParse = /\d{1,2}/; + var defaultInvalidDate = 'Invalid date'; - function ordinal (number) { - return this._ordinal.replace('%d', number); - } + function invalidDate () { + return this._invalidDate; + } - var defaultRelativeTime = { - future : 'in %s', - past : '%s ago', - s : 'a few seconds', - m : 'a minute', - mm : '%d minutes', - h : 'an hour', - hh : '%d hours', - d : 'a day', - dd : '%d days', - M : 'a month', - MM : '%d months', - y : 'a year', - yy : '%d years' - }; + var defaultOrdinal = '%d'; + var defaultDayOfMonthOrdinalParse = /\d{1,2}/; - function relative__relativeTime (number, withoutSuffix, string, isFuture) { - var output = this._relativeTime[string]; - return (isFunction(output)) ? - output(number, withoutSuffix, string, isFuture) : - output.replace(/%d/i, number); - } + function ordinal (number) { + return this._ordinal.replace('%d', number); + } - function pastFuture (diff, output) { - var format = this._relativeTime[diff > 0 ? 'future' : 'past']; - return isFunction(format) ? format(output) : format.replace(/%s/i, output); - } + var defaultRelativeTime = { + future : 'in %s', + past : '%s ago', + s : 'a few seconds', + ss : '%d seconds', + m : 'a minute', + mm : '%d minutes', + h : 'an hour', + hh : '%d hours', + d : 'a day', + dd : '%d days', + M : 'a month', + MM : '%d months', + y : 'a year', + yy : '%d years' + }; - var aliases = {}; + function relativeTime (number, withoutSuffix, string, isFuture) { + var output = this._relativeTime[string]; + return (isFunction(output)) ? + output(number, withoutSuffix, string, isFuture) : + output.replace(/%d/i, number); + } - function addUnitAlias (unit, shorthand) { - var lowerCase = unit.toLowerCase(); - aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit; - } + function pastFuture (diff, output) { + var format = this._relativeTime[diff > 0 ? 'future' : 'past']; + return isFunction(format) ? format(output) : format.replace(/%s/i, output); + } - function normalizeUnits(units) { - return typeof units === 'string' ? aliases[units] || aliases[units.toLowerCase()] : undefined; - } + var aliases = {}; - function normalizeObjectUnits(inputObject) { - var normalizedInput = {}, - normalizedProp, - prop; + function addUnitAlias (unit, shorthand) { + var lowerCase = unit.toLowerCase(); + aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit; + } - for (prop in inputObject) { - if (hasOwnProp(inputObject, prop)) { - normalizedProp = normalizeUnits(prop); - if (normalizedProp) { - normalizedInput[normalizedProp] = inputObject[prop]; - } + function normalizeUnits(units) { + return typeof units === 'string' ? aliases[units] || aliases[units.toLowerCase()] : undefined; + } + + function normalizeObjectUnits(inputObject) { + var normalizedInput = {}, + normalizedProp, + prop; + + for (prop in inputObject) { + if (hasOwnProp(inputObject, prop)) { + normalizedProp = normalizeUnits(prop); + if (normalizedProp) { + normalizedInput[normalizedProp] = inputObject[prop]; } } - - return normalizedInput; } - var priorities = {}; + return normalizedInput; + } + + var priorities = {}; - function addUnitPriority(unit, priority) { - priorities[unit] = priority; + function addUnitPriority(unit, priority) { + priorities[unit] = priority; + } + + function getPrioritizedUnits(unitsObj) { + var units = []; + for (var u in unitsObj) { + units.push({unit: u, priority: priorities[u]}); } + units.sort(function (a, b) { + return a.priority - b.priority; + }); + return units; + } - function getPrioritizedUnits(unitsObj) { - var units = []; - for (var u in unitsObj) { - units.push({unit: u, priority: priorities[u]}); + function makeGetSet (unit, keepTime) { + return function (value) { + if (value != null) { + set$1(this, unit, value); + hooks.updateOffset(this, keepTime); + return this; + } else { + return get(this, unit); } - units.sort(function (a, b) { - return a.priority - b.priority; - }); - return units; - } + }; + } - function makeGetSet (unit, keepTime) { - return function (value) { - if (value != null) { - get_set__set(this, unit, value); - utils_hooks__hooks.updateOffset(this, keepTime); - return this; - } else { - return get_set__get(this, unit); - } - }; - } + function get (mom, unit) { + return mom.isValid() ? + mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN; + } - function get_set__get (mom, unit) { - return mom.isValid() ? - mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN; + function set$1 (mom, unit, value) { + if (mom.isValid()) { + mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value); } + } - function get_set__set (mom, unit, value) { - if (mom.isValid()) { - mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value); - } + // MOMENTS + + function stringGet (units) { + units = normalizeUnits(units); + if (isFunction(this[units])) { + return this[units](); } + return this; + } - // MOMENTS - function stringGet (units) { + function stringSet (units, value) { + if (typeof units === 'object') { + units = normalizeObjectUnits(units); + var prioritized = getPrioritizedUnits(units); + for (var i = 0; i < prioritized.length; i++) { + this[prioritized[i].unit](units[prioritized[i].unit]); + } + } else { units = normalizeUnits(units); if (isFunction(this[units])) { - return this[units](); - } - return this; - } - - - function stringSet (units, value) { - if (typeof units === 'object') { - units = normalizeObjectUnits(units); - var prioritized = getPrioritizedUnits(units); - for (var i = 0; i < prioritized.length; i++) { - this[prioritized[i].unit](units[prioritized[i].unit]); - } - } else { - units = normalizeUnits(units); - if (isFunction(this[units])) { - return this[units](value); - } + return this[units](value); } - return this; } + return this; + } - function zeroFill(number, targetLength, forceSign) { - var absNumber = '' + Math.abs(number), - zerosToFill = targetLength - absNumber.length, - sign = number >= 0; - return (sign ? (forceSign ? '+' : '') : '-') + - Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber; - } + function zeroFill(number, targetLength, forceSign) { + var absNumber = '' + Math.abs(number), + zerosToFill = targetLength - absNumber.length, + sign = number >= 0; + return (sign ? (forceSign ? '+' : '') : '-') + + Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber; + } - var formattingTokens = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g; + var formattingTokens = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g; - var localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g; + var localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g; - var formatFunctions = {}; + var formatFunctions = {}; - var formatTokenFunctions = {}; + var formatTokenFunctions = {}; - // token: 'M' - // padded: ['MM', 2] - // ordinal: 'Mo' - // callback: function () { this.month() + 1 } - function addFormatToken (token, padded, ordinal, callback) { - var func = callback; - if (typeof callback === 'string') { - func = function () { - return this[callback](); - }; - } - if (token) { - formatTokenFunctions[token] = func; - } - if (padded) { - formatTokenFunctions[padded[0]] = function () { - return zeroFill(func.apply(this, arguments), padded[1], padded[2]); - }; - } - if (ordinal) { - formatTokenFunctions[ordinal] = function () { - return this.localeData().ordinal(func.apply(this, arguments), token); - }; - } + // token: 'M' + // padded: ['MM', 2] + // ordinal: 'Mo' + // callback: function () { this.month() + 1 } + function addFormatToken (token, padded, ordinal, callback) { + var func = callback; + if (typeof callback === 'string') { + func = function () { + return this[callback](); + }; + } + if (token) { + formatTokenFunctions[token] = func; } + if (padded) { + formatTokenFunctions[padded[0]] = function () { + return zeroFill(func.apply(this, arguments), padded[1], padded[2]); + }; + } + if (ordinal) { + formatTokenFunctions[ordinal] = function () { + return this.localeData().ordinal(func.apply(this, arguments), token); + }; + } + } - function removeFormattingTokens(input) { - if (input.match(/\[[\s\S]/)) { - return input.replace(/^\[|\]$/g, ''); - } - return input.replace(/\\/g, ''); + function removeFormattingTokens(input) { + if (input.match(/\[[\s\S]/)) { + return input.replace(/^\[|\]$/g, ''); } + return input.replace(/\\/g, ''); + } - function makeFormatFunction(format) { - var array = format.match(formattingTokens), i, length; + function makeFormatFunction(format) { + var array = format.match(formattingTokens), i, length; - for (i = 0, length = array.length; i < length; i++) { - if (formatTokenFunctions[array[i]]) { - array[i] = formatTokenFunctions[array[i]]; - } else { - array[i] = removeFormattingTokens(array[i]); - } + for (i = 0, length = array.length; i < length; i++) { + if (formatTokenFunctions[array[i]]) { + array[i] = formatTokenFunctions[array[i]]; + } else { + array[i] = removeFormattingTokens(array[i]); } - - return function (mom) { - var output = '', i; - for (i = 0; i < length; i++) { - output += array[i] instanceof Function ? array[i].call(mom, format) : array[i]; - } - return output; - }; } - // format date using native date object - function formatMoment(m, format) { - if (!m.isValid()) { - return m.localeData().invalidDate(); + return function (mom) { + var output = '', i; + for (i = 0; i < length; i++) { + output += isFunction(array[i]) ? array[i].call(mom, format) : array[i]; } + return output; + }; + } - format = expandFormat(format, m.localeData()); - formatFunctions[format] = formatFunctions[format] || makeFormatFunction(format); - - return formatFunctions[format](m); + // format date using native date object + function formatMoment(m, format) { + if (!m.isValid()) { + return m.localeData().invalidDate(); } - function expandFormat(format, locale) { - var i = 5; + format = expandFormat(format, m.localeData()); + formatFunctions[format] = formatFunctions[format] || makeFormatFunction(format); - function replaceLongDateFormatTokens(input) { - return locale.longDateFormat(input) || input; - } + return formatFunctions[format](m); + } - localFormattingTokens.lastIndex = 0; - while (i >= 0 && localFormattingTokens.test(format)) { - format = format.replace(localFormattingTokens, replaceLongDateFormatTokens); - localFormattingTokens.lastIndex = 0; - i -= 1; - } + function expandFormat(format, locale) { + var i = 5; - return format; + function replaceLongDateFormatTokens(input) { + return locale.longDateFormat(input) || input; } - var match1 = /\d/; // 0 - 9 - var match2 = /\d\d/; // 00 - 99 - var match3 = /\d{3}/; // 000 - 999 - var match4 = /\d{4}/; // 0000 - 9999 - var match6 = /[+-]?\d{6}/; // -999999 - 999999 - var match1to2 = /\d\d?/; // 0 - 99 - var match3to4 = /\d\d\d\d?/; // 999 - 9999 - var match5to6 = /\d\d\d\d\d\d?/; // 99999 - 999999 - var match1to3 = /\d{1,3}/; // 0 - 999 - var match1to4 = /\d{1,4}/; // 0 - 9999 - var match1to6 = /[+-]?\d{1,6}/; // -999999 - 999999 + localFormattingTokens.lastIndex = 0; + while (i >= 0 && localFormattingTokens.test(format)) { + format = format.replace(localFormattingTokens, replaceLongDateFormatTokens); + localFormattingTokens.lastIndex = 0; + i -= 1; + } - var matchUnsigned = /\d+/; // 0 - inf - var matchSigned = /[+-]?\d+/; // -inf - inf + return format; + } - var matchOffset = /Z|[+-]\d\d:?\d\d/gi; // +00:00 -00:00 +0000 -0000 or Z - var matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi; // +00 -00 +00:00 -00:00 +0000 -0000 or Z + var match1 = /\d/; // 0 - 9 + var match2 = /\d\d/; // 00 - 99 + var match3 = /\d{3}/; // 000 - 999 + var match4 = /\d{4}/; // 0000 - 9999 + var match6 = /[+-]?\d{6}/; // -999999 - 999999 + var match1to2 = /\d\d?/; // 0 - 99 + var match3to4 = /\d\d\d\d?/; // 999 - 9999 + var match5to6 = /\d\d\d\d\d\d?/; // 99999 - 999999 + var match1to3 = /\d{1,3}/; // 0 - 999 + var match1to4 = /\d{1,4}/; // 0 - 9999 + var match1to6 = /[+-]?\d{1,6}/; // -999999 - 999999 - var matchTimestamp = /[+-]?\d+(\.\d{1,3})?/; // 123456789 123456789.123 + var matchUnsigned = /\d+/; // 0 - inf + var matchSigned = /[+-]?\d+/; // -inf - inf - // any word (or two) characters or numbers including two/three word month in arabic. - // includes scottish gaelic two word and hyphenated months - var matchWord = /[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i; + var matchOffset = /Z|[+-]\d\d:?\d\d/gi; // +00:00 -00:00 +0000 -0000 or Z + var matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi; // +00 -00 +00:00 -00:00 +0000 -0000 or Z + var matchTimestamp = /[+-]?\d+(\.\d{1,3})?/; // 123456789 123456789.123 - var regexes = {}; + // any word (or two) characters or numbers including two/three word month in arabic. + // includes scottish gaelic two word and hyphenated months + var matchWord = /[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i; - function addRegexToken (token, regex, strictRegex) { - regexes[token] = isFunction(regex) ? regex : function (isStrict, localeData) { - return (isStrict && strictRegex) ? strictRegex : regex; - }; - } - function getParseRegexForToken (token, config) { - if (!hasOwnProp(regexes, token)) { - return new RegExp(unescapeFormat(token)); - } + var regexes = {}; - return regexes[token](config._strict, config._locale); - } + function addRegexToken (token, regex, strictRegex) { + regexes[token] = isFunction(regex) ? regex : function (isStrict, localeData) { + return (isStrict && strictRegex) ? strictRegex : regex; + }; + } - // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript - function unescapeFormat(s) { - return regexEscape(s.replace('\\', '').replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (matched, p1, p2, p3, p4) { - return p1 || p2 || p3 || p4; - })); + function getParseRegexForToken (token, config) { + if (!hasOwnProp(regexes, token)) { + return new RegExp(unescapeFormat(token)); } - function regexEscape(s) { - return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); - } + return regexes[token](config._strict, config._locale); + } - var tokens = {}; + // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript + function unescapeFormat(s) { + return regexEscape(s.replace('\\', '').replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (matched, p1, p2, p3, p4) { + return p1 || p2 || p3 || p4; + })); + } - function addParseToken (token, callback) { - var i, func = callback; - if (typeof token === 'string') { - token = [token]; - } - if (typeof callback === 'number') { - func = function (input, array) { - array[callback] = toInt(input); - }; - } - for (i = 0; i < token.length; i++) { - tokens[token[i]] = func; - } - } + function regexEscape(s) { + return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); + } - function addWeekParseToken (token, callback) { - addParseToken(token, function (input, array, config, token) { - config._w = config._w || {}; - callback(input, config._w, config, token); - }); + var tokens = {}; + + function addParseToken (token, callback) { + var i, func = callback; + if (typeof token === 'string') { + token = [token]; + } + if (isNumber(callback)) { + func = function (input, array) { + array[callback] = toInt(input); + }; } + for (i = 0; i < token.length; i++) { + tokens[token[i]] = func; + } + } - function addTimeToArrayFromToken(token, input, config) { - if (input != null && hasOwnProp(tokens, token)) { - tokens[token](input, config._a, config, token); - } + function addWeekParseToken (token, callback) { + addParseToken(token, function (input, array, config, token) { + config._w = config._w || {}; + callback(input, config._w, config, token); + }); + } + + function addTimeToArrayFromToken(token, input, config) { + if (input != null && hasOwnProp(tokens, token)) { + tokens[token](input, config._a, config, token); } + } - var YEAR = 0; - var MONTH = 1; - var DATE = 2; - var HOUR = 3; - var MINUTE = 4; - var SECOND = 5; - var MILLISECOND = 6; - var WEEK = 7; - var WEEKDAY = 8; + var YEAR = 0; + var MONTH = 1; + var DATE = 2; + var HOUR = 3; + var MINUTE = 4; + var SECOND = 5; + var MILLISECOND = 6; + var WEEK = 7; + var WEEKDAY = 8; - var indexOf; + var indexOf; - if (Array.prototype.indexOf) { - indexOf = Array.prototype.indexOf; - } else { - indexOf = function (o) { - // I know - var i; - for (i = 0; i < this.length; ++i) { - if (this[i] === o) { - return i; - } + if (Array.prototype.indexOf) { + indexOf = Array.prototype.indexOf; + } else { + indexOf = function (o) { + // I know + var i; + for (i = 0; i < this.length; ++i) { + if (this[i] === o) { + return i; } - return -1; - }; - } + } + return -1; + }; + } - function daysInMonth(year, month) { - return new Date(Date.UTC(year, month + 1, 0)).getUTCDate(); - } + var indexOf$1 = indexOf; - // FORMATTING + function daysInMonth(year, month) { + return new Date(Date.UTC(year, month + 1, 0)).getUTCDate(); + } - addFormatToken('M', ['MM', 2], 'Mo', function () { - return this.month() + 1; - }); + // FORMATTING - addFormatToken('MMM', 0, 0, function (format) { - return this.localeData().monthsShort(this, format); - }); + addFormatToken('M', ['MM', 2], 'Mo', function () { + return this.month() + 1; + }); - addFormatToken('MMMM', 0, 0, function (format) { - return this.localeData().months(this, format); - }); + addFormatToken('MMM', 0, 0, function (format) { + return this.localeData().monthsShort(this, format); + }); - // ALIASES + addFormatToken('MMMM', 0, 0, function (format) { + return this.localeData().months(this, format); + }); - addUnitAlias('month', 'M'); + // ALIASES - // PRIORITY + addUnitAlias('month', 'M'); - addUnitPriority('month', 8); + // PRIORITY - // PARSING + addUnitPriority('month', 8); - addRegexToken('M', match1to2); - addRegexToken('MM', match1to2, match2); - addRegexToken('MMM', function (isStrict, locale) { - return locale.monthsShortRegex(isStrict); - }); - addRegexToken('MMMM', function (isStrict, locale) { - return locale.monthsRegex(isStrict); - }); + // PARSING - addParseToken(['M', 'MM'], function (input, array) { - array[MONTH] = toInt(input) - 1; - }); + addRegexToken('M', match1to2); + addRegexToken('MM', match1to2, match2); + addRegexToken('MMM', function (isStrict, locale) { + return locale.monthsShortRegex(isStrict); + }); + addRegexToken('MMMM', function (isStrict, locale) { + return locale.monthsRegex(isStrict); + }); - addParseToken(['MMM', 'MMMM'], function (input, array, config, token) { - var month = config._locale.monthsParse(input, token, config._strict); - // if we didn't find a month name, mark the date as invalid. - if (month != null) { - array[MONTH] = month; - } else { - getParsingFlags(config).invalidMonth = input; - } - }); + addParseToken(['M', 'MM'], function (input, array) { + array[MONTH] = toInt(input) - 1; + }); - // LOCALES + addParseToken(['MMM', 'MMMM'], function (input, array, config, token) { + var month = config._locale.monthsParse(input, token, config._strict); + // if we didn't find a month name, mark the date as invalid. + if (month != null) { + array[MONTH] = month; + } else { + getParsingFlags(config).invalidMonth = input; + } + }); - var MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/; - var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'); - function localeMonths (m, format) { - if (!m) { - return this._months; - } - return isArray(this._months) ? this._months[m.month()] : - this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m.month()]; + // LOCALES + + var MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/; + var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'); + function localeMonths (m, format) { + if (!m) { + return isArray(this._months) ? this._months : + this._months['standalone']; } + return isArray(this._months) ? this._months[m.month()] : + this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m.month()]; + } - var defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'); - function localeMonthsShort (m, format) { - if (!m) { - return this._monthsShort; - } - return isArray(this._monthsShort) ? this._monthsShort[m.month()] : - this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()]; + var defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'); + function localeMonthsShort (m, format) { + if (!m) { + return isArray(this._monthsShort) ? this._monthsShort : + this._monthsShort['standalone']; } + return isArray(this._monthsShort) ? this._monthsShort[m.month()] : + this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()]; + } - function units_month__handleStrictParse(monthName, format, strict) { - var i, ii, mom, llc = monthName.toLocaleLowerCase(); - if (!this._monthsParse) { - // this is not used - this._monthsParse = []; - this._longMonthsParse = []; - this._shortMonthsParse = []; - for (i = 0; i < 12; ++i) { - mom = create_utc__createUTC([2000, i]); - this._shortMonthsParse[i] = this.monthsShort(mom, '').toLocaleLowerCase(); - this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase(); - } + function handleStrictParse(monthName, format, strict) { + var i, ii, mom, llc = monthName.toLocaleLowerCase(); + if (!this._monthsParse) { + // this is not used + this._monthsParse = []; + this._longMonthsParse = []; + this._shortMonthsParse = []; + for (i = 0; i < 12; ++i) { + mom = createUTC([2000, i]); + this._shortMonthsParse[i] = this.monthsShort(mom, '').toLocaleLowerCase(); + this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase(); } + } - if (strict) { - if (format === 'MMM') { - ii = indexOf.call(this._shortMonthsParse, llc); - return ii !== -1 ? ii : null; - } else { - ii = indexOf.call(this._longMonthsParse, llc); - return ii !== -1 ? ii : null; + if (strict) { + if (format === 'MMM') { + ii = indexOf$1.call(this._shortMonthsParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf$1.call(this._longMonthsParse, llc); + return ii !== -1 ? ii : null; + } + } else { + if (format === 'MMM') { + ii = indexOf$1.call(this._shortMonthsParse, llc); + if (ii !== -1) { + return ii; } + ii = indexOf$1.call(this._longMonthsParse, llc); + return ii !== -1 ? ii : null; } else { - if (format === 'MMM') { - ii = indexOf.call(this._shortMonthsParse, llc); - if (ii !== -1) { - return ii; - } - ii = indexOf.call(this._longMonthsParse, llc); - return ii !== -1 ? ii : null; - } else { - ii = indexOf.call(this._longMonthsParse, llc); - if (ii !== -1) { - return ii; - } - ii = indexOf.call(this._shortMonthsParse, llc); - return ii !== -1 ? ii : null; + ii = indexOf$1.call(this._longMonthsParse, llc); + if (ii !== -1) { + return ii; } + ii = indexOf$1.call(this._shortMonthsParse, llc); + return ii !== -1 ? ii : null; } } + } - function localeMonthsParse (monthName, format, strict) { - var i, mom, regex; + function localeMonthsParse (monthName, format, strict) { + var i, mom, regex; - if (this._monthsParseExact) { - return units_month__handleStrictParse.call(this, monthName, format, strict); - } + if (this._monthsParseExact) { + return handleStrictParse.call(this, monthName, format, strict); + } - if (!this._monthsParse) { - this._monthsParse = []; - this._longMonthsParse = []; - this._shortMonthsParse = []; - } + if (!this._monthsParse) { + this._monthsParse = []; + this._longMonthsParse = []; + this._shortMonthsParse = []; + } - // TODO: add sorting - // Sorting makes sure if one month (or abbr) is a prefix of another - // see sorting in computeMonthsParse - for (i = 0; i < 12; i++) { - // make the regex if we don't have it already - mom = create_utc__createUTC([2000, i]); - if (strict && !this._longMonthsParse[i]) { - this._longMonthsParse[i] = new RegExp('^' + this.months(mom, '').replace('.', '') + '$', 'i'); - this._shortMonthsParse[i] = new RegExp('^' + this.monthsShort(mom, '').replace('.', '') + '$', 'i'); - } - if (!strict && !this._monthsParse[i]) { - regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, ''); - this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i'); - } - // test the regex - if (strict && format === 'MMMM' && this._longMonthsParse[i].test(monthName)) { - return i; - } else if (strict && format === 'MMM' && this._shortMonthsParse[i].test(monthName)) { - return i; - } else if (!strict && this._monthsParse[i].test(monthName)) { - return i; - } + // TODO: add sorting + // Sorting makes sure if one month (or abbr) is a prefix of another + // see sorting in computeMonthsParse + for (i = 0; i < 12; i++) { + // make the regex if we don't have it already + mom = createUTC([2000, i]); + if (strict && !this._longMonthsParse[i]) { + this._longMonthsParse[i] = new RegExp('^' + this.months(mom, '').replace('.', '') + '$', 'i'); + this._shortMonthsParse[i] = new RegExp('^' + this.monthsShort(mom, '').replace('.', '') + '$', 'i'); + } + if (!strict && !this._monthsParse[i]) { + regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, ''); + this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i'); + } + // test the regex + if (strict && format === 'MMMM' && this._longMonthsParse[i].test(monthName)) { + return i; + } else if (strict && format === 'MMM' && this._shortMonthsParse[i].test(monthName)) { + return i; + } else if (!strict && this._monthsParse[i].test(monthName)) { + return i; } } + } - // MOMENTS - - function setMonth (mom, value) { - var dayOfMonth; - - if (!mom.isValid()) { - // No op - return mom; - } + // MOMENTS - if (typeof value === 'string') { - if (/^\d+$/.test(value)) { - value = toInt(value); - } else { - value = mom.localeData().monthsParse(value); - // TODO: Another silent failure? - if (typeof value !== 'number') { - return mom; - } - } - } + function setMonth (mom, value) { + var dayOfMonth; - dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value)); - mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth); + if (!mom.isValid()) { + // No op return mom; } - function getSetMonth (value) { - if (value != null) { - setMonth(this, value); - utils_hooks__hooks.updateOffset(this, true); - return this; + if (typeof value === 'string') { + if (/^\d+$/.test(value)) { + value = toInt(value); } else { - return get_set__get(this, 'Month'); + value = mom.localeData().monthsParse(value); + // TODO: Another silent failure? + if (!isNumber(value)) { + return mom; + } } } - function getDaysInMonth () { - return daysInMonth(this.year(), this.month()); - } + dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value)); + mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth); + return mom; + } - var defaultMonthsShortRegex = matchWord; - function monthsShortRegex (isStrict) { - if (this._monthsParseExact) { - if (!hasOwnProp(this, '_monthsRegex')) { - computeMonthsParse.call(this); - } - if (isStrict) { - return this._monthsShortStrictRegex; - } else { - return this._monthsShortRegex; - } - } else { - if (!hasOwnProp(this, '_monthsShortRegex')) { - this._monthsShortRegex = defaultMonthsShortRegex; - } - return this._monthsShortStrictRegex && isStrict ? - this._monthsShortStrictRegex : this._monthsShortRegex; - } + function getSetMonth (value) { + if (value != null) { + setMonth(this, value); + hooks.updateOffset(this, true); + return this; + } else { + return get(this, 'Month'); } + } - var defaultMonthsRegex = matchWord; - function monthsRegex (isStrict) { - if (this._monthsParseExact) { - if (!hasOwnProp(this, '_monthsRegex')) { - computeMonthsParse.call(this); - } - if (isStrict) { - return this._monthsStrictRegex; - } else { - return this._monthsRegex; - } + function getDaysInMonth () { + return daysInMonth(this.year(), this.month()); + } + + var defaultMonthsShortRegex = matchWord; + function monthsShortRegex (isStrict) { + if (this._monthsParseExact) { + if (!hasOwnProp(this, '_monthsRegex')) { + computeMonthsParse.call(this); + } + if (isStrict) { + return this._monthsShortStrictRegex; } else { - if (!hasOwnProp(this, '_monthsRegex')) { - this._monthsRegex = defaultMonthsRegex; - } - return this._monthsStrictRegex && isStrict ? - this._monthsStrictRegex : this._monthsRegex; + return this._monthsShortRegex; } + } else { + if (!hasOwnProp(this, '_monthsShortRegex')) { + this._monthsShortRegex = defaultMonthsShortRegex; + } + return this._monthsShortStrictRegex && isStrict ? + this._monthsShortStrictRegex : this._monthsShortRegex; } + } - function computeMonthsParse () { - function cmpLenRev(a, b) { - return b.length - a.length; + var defaultMonthsRegex = matchWord; + function monthsRegex (isStrict) { + if (this._monthsParseExact) { + if (!hasOwnProp(this, '_monthsRegex')) { + computeMonthsParse.call(this); } - - var shortPieces = [], longPieces = [], mixedPieces = [], - i, mom; - for (i = 0; i < 12; i++) { - // make the regex if we don't have it already - mom = create_utc__createUTC([2000, i]); - shortPieces.push(this.monthsShort(mom, '')); - longPieces.push(this.months(mom, '')); - mixedPieces.push(this.months(mom, '')); - mixedPieces.push(this.monthsShort(mom, '')); - } - // Sorting makes sure if one month (or abbr) is a prefix of another it - // will match the longer piece. - shortPieces.sort(cmpLenRev); - longPieces.sort(cmpLenRev); - mixedPieces.sort(cmpLenRev); - for (i = 0; i < 12; i++) { - shortPieces[i] = regexEscape(shortPieces[i]); - longPieces[i] = regexEscape(longPieces[i]); + if (isStrict) { + return this._monthsStrictRegex; + } else { + return this._monthsRegex; } - for (i = 0; i < 24; i++) { - mixedPieces[i] = regexEscape(mixedPieces[i]); + } else { + if (!hasOwnProp(this, '_monthsRegex')) { + this._monthsRegex = defaultMonthsRegex; } + return this._monthsStrictRegex && isStrict ? + this._monthsStrictRegex : this._monthsRegex; + } + } - this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); - this._monthsShortRegex = this._monthsRegex; - this._monthsStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i'); - this._monthsShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i'); + function computeMonthsParse () { + function cmpLenRev(a, b) { + return b.length - a.length; } - // FORMATTING + var shortPieces = [], longPieces = [], mixedPieces = [], + i, mom; + for (i = 0; i < 12; i++) { + // make the regex if we don't have it already + mom = createUTC([2000, i]); + shortPieces.push(this.monthsShort(mom, '')); + longPieces.push(this.months(mom, '')); + mixedPieces.push(this.months(mom, '')); + mixedPieces.push(this.monthsShort(mom, '')); + } + // Sorting makes sure if one month (or abbr) is a prefix of another it + // will match the longer piece. + shortPieces.sort(cmpLenRev); + longPieces.sort(cmpLenRev); + mixedPieces.sort(cmpLenRev); + for (i = 0; i < 12; i++) { + shortPieces[i] = regexEscape(shortPieces[i]); + longPieces[i] = regexEscape(longPieces[i]); + } + for (i = 0; i < 24; i++) { + mixedPieces[i] = regexEscape(mixedPieces[i]); + } - addFormatToken('Y', 0, 0, function () { - var y = this.year(); - return y <= 9999 ? '' + y : '+' + y; - }); + this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); + this._monthsShortRegex = this._monthsRegex; + this._monthsStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i'); + this._monthsShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i'); + } - addFormatToken(0, ['YY', 2], 0, function () { - return this.year() % 100; - }); + // FORMATTING - addFormatToken(0, ['YYYY', 4], 0, 'year'); - addFormatToken(0, ['YYYYY', 5], 0, 'year'); - addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); + addFormatToken('Y', 0, 0, function () { + var y = this.year(); + return y <= 9999 ? '' + y : '+' + y; + }); - // ALIASES + addFormatToken(0, ['YY', 2], 0, function () { + return this.year() % 100; + }); - addUnitAlias('year', 'y'); + addFormatToken(0, ['YYYY', 4], 0, 'year'); + addFormatToken(0, ['YYYYY', 5], 0, 'year'); + addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); - // PRIORITIES + // ALIASES - addUnitPriority('year', 1); + addUnitAlias('year', 'y'); - // PARSING + // PRIORITIES - addRegexToken('Y', matchSigned); - addRegexToken('YY', match1to2, match2); - addRegexToken('YYYY', match1to4, match4); - addRegexToken('YYYYY', match1to6, match6); - addRegexToken('YYYYYY', match1to6, match6); + addUnitPriority('year', 1); - addParseToken(['YYYYY', 'YYYYYY'], YEAR); - addParseToken('YYYY', function (input, array) { - array[YEAR] = input.length === 2 ? utils_hooks__hooks.parseTwoDigitYear(input) : toInt(input); - }); - addParseToken('YY', function (input, array) { - array[YEAR] = utils_hooks__hooks.parseTwoDigitYear(input); - }); - addParseToken('Y', function (input, array) { - array[YEAR] = parseInt(input, 10); - }); + // PARSING - // HELPERS + addRegexToken('Y', matchSigned); + addRegexToken('YY', match1to2, match2); + addRegexToken('YYYY', match1to4, match4); + addRegexToken('YYYYY', match1to6, match6); + addRegexToken('YYYYYY', match1to6, match6); - function daysInYear(year) { - return isLeapYear(year) ? 366 : 365; - } + addParseToken(['YYYYY', 'YYYYYY'], YEAR); + addParseToken('YYYY', function (input, array) { + array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input); + }); + addParseToken('YY', function (input, array) { + array[YEAR] = hooks.parseTwoDigitYear(input); + }); + addParseToken('Y', function (input, array) { + array[YEAR] = parseInt(input, 10); + }); - function isLeapYear(year) { - return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; - } + // HELPERS - // HOOKS + function daysInYear(year) { + return isLeapYear(year) ? 366 : 365; + } - utils_hooks__hooks.parseTwoDigitYear = function (input) { - return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); - }; + function isLeapYear(year) { + return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; + } - // MOMENTS + // HOOKS - var getSetYear = makeGetSet('FullYear', true); + hooks.parseTwoDigitYear = function (input) { + return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); + }; - function getIsLeapYear () { - return isLeapYear(this.year()); - } + // MOMENTS - function createDate (y, m, d, h, M, s, ms) { - //can't just apply() to create a date: - //http://stackoverflow.com/questions/181348/instantiating-a-javascript-object-by-calling-prototype-constructor-apply - var date = new Date(y, m, d, h, M, s, ms); + var getSetYear = makeGetSet('FullYear', true); - //the date constructor remaps years 0-99 to 1900-1999 - if (y < 100 && y >= 0 && isFinite(date.getFullYear())) { - date.setFullYear(y); - } - return date; - } + function getIsLeapYear () { + return isLeapYear(this.year()); + } - function createUTCDate (y) { - var date = new Date(Date.UTC.apply(null, arguments)); + function createDate (y, m, d, h, M, s, ms) { + // can't just apply() to create a date: + // https://stackoverflow.com/q/181348 + var date = new Date(y, m, d, h, M, s, ms); - //the Date.UTC function remaps years 0-99 to 1900-1999 - if (y < 100 && y >= 0 && isFinite(date.getUTCFullYear())) { - date.setUTCFullYear(y); - } - return date; + // the date constructor remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0 && isFinite(date.getFullYear())) { + date.setFullYear(y); } + return date; + } - // start-of-first-week - start-of-year - function firstWeekOffset(year, dow, doy) { - var // first-week day -- which january is always in the first week (4 for iso, 1 for other) - fwd = 7 + dow - doy, - // first-week day local weekday -- which local weekday is fwd - fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7; + function createUTCDate (y) { + var date = new Date(Date.UTC.apply(null, arguments)); - return -fwdlw + fwd - 1; + // the Date.UTC function remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0 && isFinite(date.getUTCFullYear())) { + date.setUTCFullYear(y); } + return date; + } - //http://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday - function dayOfYearFromWeeks(year, week, weekday, dow, doy) { - var localWeekday = (7 + weekday - dow) % 7, - weekOffset = firstWeekOffset(year, dow, doy), - dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset, - resYear, resDayOfYear; + // start-of-first-week - start-of-year + function firstWeekOffset(year, dow, doy) { + var // first-week day -- which january is always in the first week (4 for iso, 1 for other) + fwd = 7 + dow - doy, + // first-week day local weekday -- which local weekday is fwd + fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7; - if (dayOfYear <= 0) { - resYear = year - 1; - resDayOfYear = daysInYear(resYear) + dayOfYear; - } else if (dayOfYear > daysInYear(year)) { - resYear = year + 1; - resDayOfYear = dayOfYear - daysInYear(year); - } else { - resYear = year; - resDayOfYear = dayOfYear; - } + return -fwdlw + fwd - 1; + } - return { - year: resYear, - dayOfYear: resDayOfYear - }; - } + // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday + function dayOfYearFromWeeks(year, week, weekday, dow, doy) { + var localWeekday = (7 + weekday - dow) % 7, + weekOffset = firstWeekOffset(year, dow, doy), + dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset, + resYear, resDayOfYear; - function weekOfYear(mom, dow, doy) { - var weekOffset = firstWeekOffset(mom.year(), dow, doy), - week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1, - resWeek, resYear; + if (dayOfYear <= 0) { + resYear = year - 1; + resDayOfYear = daysInYear(resYear) + dayOfYear; + } else if (dayOfYear > daysInYear(year)) { + resYear = year + 1; + resDayOfYear = dayOfYear - daysInYear(year); + } else { + resYear = year; + resDayOfYear = dayOfYear; + } - if (week < 1) { - resYear = mom.year() - 1; - resWeek = week + weeksInYear(resYear, dow, doy); - } else if (week > weeksInYear(mom.year(), dow, doy)) { - resWeek = week - weeksInYear(mom.year(), dow, doy); - resYear = mom.year() + 1; - } else { - resYear = mom.year(); - resWeek = week; - } + return { + year: resYear, + dayOfYear: resDayOfYear + }; + } - return { - week: resWeek, - year: resYear - }; - } + function weekOfYear(mom, dow, doy) { + var weekOffset = firstWeekOffset(mom.year(), dow, doy), + week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1, + resWeek, resYear; - function weeksInYear(year, dow, doy) { - var weekOffset = firstWeekOffset(year, dow, doy), - weekOffsetNext = firstWeekOffset(year + 1, dow, doy); - return (daysInYear(year) - weekOffset + weekOffsetNext) / 7; + if (week < 1) { + resYear = mom.year() - 1; + resWeek = week + weeksInYear(resYear, dow, doy); + } else if (week > weeksInYear(mom.year(), dow, doy)) { + resWeek = week - weeksInYear(mom.year(), dow, doy); + resYear = mom.year() + 1; + } else { + resYear = mom.year(); + resWeek = week; } - // FORMATTING + return { + week: resWeek, + year: resYear + }; + } - addFormatToken('w', ['ww', 2], 'wo', 'week'); - addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek'); + function weeksInYear(year, dow, doy) { + var weekOffset = firstWeekOffset(year, dow, doy), + weekOffsetNext = firstWeekOffset(year + 1, dow, doy); + return (daysInYear(year) - weekOffset + weekOffsetNext) / 7; + } - // ALIASES + // FORMATTING - addUnitAlias('week', 'w'); - addUnitAlias('isoWeek', 'W'); + addFormatToken('w', ['ww', 2], 'wo', 'week'); + addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek'); - // PRIORITIES + // ALIASES - addUnitPriority('week', 5); - addUnitPriority('isoWeek', 5); + addUnitAlias('week', 'w'); + addUnitAlias('isoWeek', 'W'); - // PARSING + // PRIORITIES - addRegexToken('w', match1to2); - addRegexToken('ww', match1to2, match2); - addRegexToken('W', match1to2); - addRegexToken('WW', match1to2, match2); + addUnitPriority('week', 5); + addUnitPriority('isoWeek', 5); - addWeekParseToken(['w', 'ww', 'W', 'WW'], function (input, week, config, token) { - week[token.substr(0, 1)] = toInt(input); - }); + // PARSING - // HELPERS + addRegexToken('w', match1to2); + addRegexToken('ww', match1to2, match2); + addRegexToken('W', match1to2); + addRegexToken('WW', match1to2, match2); - // LOCALES + addWeekParseToken(['w', 'ww', 'W', 'WW'], function (input, week, config, token) { + week[token.substr(0, 1)] = toInt(input); + }); - function localeWeek (mom) { - return weekOfYear(mom, this._week.dow, this._week.doy).week; - } + // HELPERS - var defaultLocaleWeek = { - dow : 0, // Sunday is the first day of the week. - doy : 6 // The week that contains Jan 1st is the first week of the year. - }; + // LOCALES - function localeFirstDayOfWeek () { - return this._week.dow; - } + function localeWeek (mom) { + return weekOfYear(mom, this._week.dow, this._week.doy).week; + } - function localeFirstDayOfYear () { - return this._week.doy; - } + var defaultLocaleWeek = { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + }; - // MOMENTS + function localeFirstDayOfWeek () { + return this._week.dow; + } - function getSetWeek (input) { - var week = this.localeData().week(this); - return input == null ? week : this.add((input - week) * 7, 'd'); - } + function localeFirstDayOfYear () { + return this._week.doy; + } - function getSetISOWeek (input) { - var week = weekOfYear(this, 1, 4).week; - return input == null ? week : this.add((input - week) * 7, 'd'); - } + // MOMENTS - // FORMATTING + function getSetWeek (input) { + var week = this.localeData().week(this); + return input == null ? week : this.add((input - week) * 7, 'd'); + } - addFormatToken('d', 0, 'do', 'day'); + function getSetISOWeek (input) { + var week = weekOfYear(this, 1, 4).week; + return input == null ? week : this.add((input - week) * 7, 'd'); + } - addFormatToken('dd', 0, 0, function (format) { - return this.localeData().weekdaysMin(this, format); - }); + // FORMATTING - addFormatToken('ddd', 0, 0, function (format) { - return this.localeData().weekdaysShort(this, format); - }); + addFormatToken('d', 0, 'do', 'day'); - addFormatToken('dddd', 0, 0, function (format) { - return this.localeData().weekdays(this, format); - }); + addFormatToken('dd', 0, 0, function (format) { + return this.localeData().weekdaysMin(this, format); + }); - addFormatToken('e', 0, 0, 'weekday'); - addFormatToken('E', 0, 0, 'isoWeekday'); + addFormatToken('ddd', 0, 0, function (format) { + return this.localeData().weekdaysShort(this, format); + }); - // ALIASES + addFormatToken('dddd', 0, 0, function (format) { + return this.localeData().weekdays(this, format); + }); - addUnitAlias('day', 'd'); - addUnitAlias('weekday', 'e'); - addUnitAlias('isoWeekday', 'E'); + addFormatToken('e', 0, 0, 'weekday'); + addFormatToken('E', 0, 0, 'isoWeekday'); - // PRIORITY - addUnitPriority('day', 11); - addUnitPriority('weekday', 11); - addUnitPriority('isoWeekday', 11); + // ALIASES - // PARSING + addUnitAlias('day', 'd'); + addUnitAlias('weekday', 'e'); + addUnitAlias('isoWeekday', 'E'); - addRegexToken('d', match1to2); - addRegexToken('e', match1to2); - addRegexToken('E', match1to2); - addRegexToken('dd', function (isStrict, locale) { - return locale.weekdaysMinRegex(isStrict); - }); - addRegexToken('ddd', function (isStrict, locale) { - return locale.weekdaysShortRegex(isStrict); - }); - addRegexToken('dddd', function (isStrict, locale) { - return locale.weekdaysRegex(isStrict); - }); + // PRIORITY + addUnitPriority('day', 11); + addUnitPriority('weekday', 11); + addUnitPriority('isoWeekday', 11); - addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) { - var weekday = config._locale.weekdaysParse(input, token, config._strict); - // if we didn't get a weekday name, mark the date as invalid - if (weekday != null) { - week.d = weekday; - } else { - getParsingFlags(config).invalidWeekday = input; - } - }); + // PARSING - addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) { - week[token] = toInt(input); - }); + addRegexToken('d', match1to2); + addRegexToken('e', match1to2); + addRegexToken('E', match1to2); + addRegexToken('dd', function (isStrict, locale) { + return locale.weekdaysMinRegex(isStrict); + }); + addRegexToken('ddd', function (isStrict, locale) { + return locale.weekdaysShortRegex(isStrict); + }); + addRegexToken('dddd', function (isStrict, locale) { + return locale.weekdaysRegex(isStrict); + }); - // HELPERS + addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) { + var weekday = config._locale.weekdaysParse(input, token, config._strict); + // if we didn't get a weekday name, mark the date as invalid + if (weekday != null) { + week.d = weekday; + } else { + getParsingFlags(config).invalidWeekday = input; + } + }); - function parseWeekday(input, locale) { - if (typeof input !== 'string') { - return input; - } + addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) { + week[token] = toInt(input); + }); - if (!isNaN(input)) { - return parseInt(input, 10); - } + // HELPERS - input = locale.weekdaysParse(input); - if (typeof input === 'number') { - return input; - } + function parseWeekday(input, locale) { + if (typeof input !== 'string') { + return input; + } - return null; + if (!isNaN(input)) { + return parseInt(input, 10); } - function parseIsoWeekday(input, locale) { - if (typeof input === 'string') { - return locale.weekdaysParse(input) % 7 || 7; - } - return isNaN(input) ? null : input; + input = locale.weekdaysParse(input); + if (typeof input === 'number') { + return input; } - // LOCALES + return null; + } - var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'); - function localeWeekdays (m, format) { - if (!m) { - return this._weekdays; - } - return isArray(this._weekdays) ? this._weekdays[m.day()] : - this._weekdays[this._weekdays.isFormat.test(format) ? 'format' : 'standalone'][m.day()]; + function parseIsoWeekday(input, locale) { + if (typeof input === 'string') { + return locale.weekdaysParse(input) % 7 || 7; } + return isNaN(input) ? null : input; + } - var defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'); - function localeWeekdaysShort (m) { - return (m) ? this._weekdaysShort[m.day()] : this._weekdaysShort; - } + // LOCALES - var defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'); - function localeWeekdaysMin (m) { - return (m) ? this._weekdaysMin[m.day()] : this._weekdaysMin; + var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'); + function localeWeekdays (m, format) { + if (!m) { + return isArray(this._weekdays) ? this._weekdays : + this._weekdays['standalone']; } + return isArray(this._weekdays) ? this._weekdays[m.day()] : + this._weekdays[this._weekdays.isFormat.test(format) ? 'format' : 'standalone'][m.day()]; + } + + var defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'); + function localeWeekdaysShort (m) { + return (m) ? this._weekdaysShort[m.day()] : this._weekdaysShort; + } + + var defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'); + function localeWeekdaysMin (m) { + return (m) ? this._weekdaysMin[m.day()] : this._weekdaysMin; + } - function day_of_week__handleStrictParse(weekdayName, format, strict) { - var i, ii, mom, llc = weekdayName.toLocaleLowerCase(); - if (!this._weekdaysParse) { - this._weekdaysParse = []; - this._shortWeekdaysParse = []; - this._minWeekdaysParse = []; + function handleStrictParse$1(weekdayName, format, strict) { + var i, ii, mom, llc = weekdayName.toLocaleLowerCase(); + if (!this._weekdaysParse) { + this._weekdaysParse = []; + this._shortWeekdaysParse = []; + this._minWeekdaysParse = []; - for (i = 0; i < 7; ++i) { - mom = create_utc__createUTC([2000, 1]).day(i); - this._minWeekdaysParse[i] = this.weekdaysMin(mom, '').toLocaleLowerCase(); - this._shortWeekdaysParse[i] = this.weekdaysShort(mom, '').toLocaleLowerCase(); - this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase(); - } + for (i = 0; i < 7; ++i) { + mom = createUTC([2000, 1]).day(i); + this._minWeekdaysParse[i] = this.weekdaysMin(mom, '').toLocaleLowerCase(); + this._shortWeekdaysParse[i] = this.weekdaysShort(mom, '').toLocaleLowerCase(); + this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase(); } + } - if (strict) { - if (format === 'dddd') { - ii = indexOf.call(this._weekdaysParse, llc); - return ii !== -1 ? ii : null; - } else if (format === 'ddd') { - ii = indexOf.call(this._shortWeekdaysParse, llc); - return ii !== -1 ? ii : null; - } else { - ii = indexOf.call(this._minWeekdaysParse, llc); - return ii !== -1 ? ii : null; - } + if (strict) { + if (format === 'dddd') { + ii = indexOf$1.call(this._weekdaysParse, llc); + return ii !== -1 ? ii : null; + } else if (format === 'ddd') { + ii = indexOf$1.call(this._shortWeekdaysParse, llc); + return ii !== -1 ? ii : null; } else { - if (format === 'dddd') { - ii = indexOf.call(this._weekdaysParse, llc); - if (ii !== -1) { - return ii; - } - ii = indexOf.call(this._shortWeekdaysParse, llc); - if (ii !== -1) { - return ii; - } - ii = indexOf.call(this._minWeekdaysParse, llc); - return ii !== -1 ? ii : null; - } else if (format === 'ddd') { - ii = indexOf.call(this._shortWeekdaysParse, llc); - if (ii !== -1) { - return ii; - } - ii = indexOf.call(this._weekdaysParse, llc); - if (ii !== -1) { - return ii; - } - ii = indexOf.call(this._minWeekdaysParse, llc); - return ii !== -1 ? ii : null; - } else { - ii = indexOf.call(this._minWeekdaysParse, llc); - if (ii !== -1) { - return ii; - } - ii = indexOf.call(this._weekdaysParse, llc); - if (ii !== -1) { - return ii; - } - ii = indexOf.call(this._shortWeekdaysParse, llc); - return ii !== -1 ? ii : null; + ii = indexOf$1.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } + } else { + if (format === 'dddd') { + ii = indexOf$1.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf$1.call(this._shortWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf$1.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } else if (format === 'ddd') { + ii = indexOf$1.call(this._shortWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf$1.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf$1.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf$1.call(this._minWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf$1.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; } + ii = indexOf$1.call(this._shortWeekdaysParse, llc); + return ii !== -1 ? ii : null; } } + } - function localeWeekdaysParse (weekdayName, format, strict) { - var i, mom, regex; + function localeWeekdaysParse (weekdayName, format, strict) { + var i, mom, regex; - if (this._weekdaysParseExact) { - return day_of_week__handleStrictParse.call(this, weekdayName, format, strict); - } + if (this._weekdaysParseExact) { + return handleStrictParse$1.call(this, weekdayName, format, strict); + } - if (!this._weekdaysParse) { - this._weekdaysParse = []; - this._minWeekdaysParse = []; - this._shortWeekdaysParse = []; - this._fullWeekdaysParse = []; - } + if (!this._weekdaysParse) { + this._weekdaysParse = []; + this._minWeekdaysParse = []; + this._shortWeekdaysParse = []; + this._fullWeekdaysParse = []; + } - for (i = 0; i < 7; i++) { - // make the regex if we don't have it already + for (i = 0; i < 7; i++) { + // make the regex if we don't have it already - mom = create_utc__createUTC([2000, 1]).day(i); - if (strict && !this._fullWeekdaysParse[i]) { - this._fullWeekdaysParse[i] = new RegExp('^' + this.weekdays(mom, '').replace('.', '\.?') + '$', 'i'); - this._shortWeekdaysParse[i] = new RegExp('^' + this.weekdaysShort(mom, '').replace('.', '\.?') + '$', 'i'); - this._minWeekdaysParse[i] = new RegExp('^' + this.weekdaysMin(mom, '').replace('.', '\.?') + '$', 'i'); - } - if (!this._weekdaysParse[i]) { - regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, ''); - this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i'); - } - // test the regex - if (strict && format === 'dddd' && this._fullWeekdaysParse[i].test(weekdayName)) { - return i; - } else if (strict && format === 'ddd' && this._shortWeekdaysParse[i].test(weekdayName)) { - return i; - } else if (strict && format === 'dd' && this._minWeekdaysParse[i].test(weekdayName)) { - return i; - } else if (!strict && this._weekdaysParse[i].test(weekdayName)) { - return i; - } + mom = createUTC([2000, 1]).day(i); + if (strict && !this._fullWeekdaysParse[i]) { + this._fullWeekdaysParse[i] = new RegExp('^' + this.weekdays(mom, '').replace('.', '\.?') + '$', 'i'); + this._shortWeekdaysParse[i] = new RegExp('^' + this.weekdaysShort(mom, '').replace('.', '\.?') + '$', 'i'); + this._minWeekdaysParse[i] = new RegExp('^' + this.weekdaysMin(mom, '').replace('.', '\.?') + '$', 'i'); + } + if (!this._weekdaysParse[i]) { + regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, ''); + this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i'); + } + // test the regex + if (strict && format === 'dddd' && this._fullWeekdaysParse[i].test(weekdayName)) { + return i; + } else if (strict && format === 'ddd' && this._shortWeekdaysParse[i].test(weekdayName)) { + return i; + } else if (strict && format === 'dd' && this._minWeekdaysParse[i].test(weekdayName)) { + return i; + } else if (!strict && this._weekdaysParse[i].test(weekdayName)) { + return i; } } + } - // MOMENTS + // MOMENTS - function getSetDayOfWeek (input) { - if (!this.isValid()) { - return input != null ? this : NaN; - } - var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); - if (input != null) { - input = parseWeekday(input, this.localeData()); - return this.add(input - day, 'd'); - } else { - return day; - } + function getSetDayOfWeek (input) { + if (!this.isValid()) { + return input != null ? this : NaN; } + var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); + if (input != null) { + input = parseWeekday(input, this.localeData()); + return this.add(input - day, 'd'); + } else { + return day; + } + } - function getSetLocaleDayOfWeek (input) { - if (!this.isValid()) { - return input != null ? this : NaN; - } - var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7; - return input == null ? weekday : this.add(input - weekday, 'd'); + function getSetLocaleDayOfWeek (input) { + if (!this.isValid()) { + return input != null ? this : NaN; } + var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7; + return input == null ? weekday : this.add(input - weekday, 'd'); + } - function getSetISODayOfWeek (input) { - if (!this.isValid()) { - return input != null ? this : NaN; - } + function getSetISODayOfWeek (input) { + if (!this.isValid()) { + return input != null ? this : NaN; + } - // behaves the same as moment#day except - // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6) - // as a setter, sunday should belong to the previous week. + // behaves the same as moment#day except + // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6) + // as a setter, sunday should belong to the previous week. - if (input != null) { - var weekday = parseIsoWeekday(input, this.localeData()); - return this.day(this.day() % 7 ? weekday : weekday - 7); - } else { - return this.day() || 7; - } + if (input != null) { + var weekday = parseIsoWeekday(input, this.localeData()); + return this.day(this.day() % 7 ? weekday : weekday - 7); + } else { + return this.day() || 7; } + } - var defaultWeekdaysRegex = matchWord; - function weekdaysRegex (isStrict) { - if (this._weekdaysParseExact) { - if (!hasOwnProp(this, '_weekdaysRegex')) { - computeWeekdaysParse.call(this); - } - if (isStrict) { - return this._weekdaysStrictRegex; - } else { - return this._weekdaysRegex; - } + var defaultWeekdaysRegex = matchWord; + function weekdaysRegex (isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysStrictRegex; } else { - if (!hasOwnProp(this, '_weekdaysRegex')) { - this._weekdaysRegex = defaultWeekdaysRegex; - } - return this._weekdaysStrictRegex && isStrict ? - this._weekdaysStrictRegex : this._weekdaysRegex; + return this._weekdaysRegex; } + } else { + if (!hasOwnProp(this, '_weekdaysRegex')) { + this._weekdaysRegex = defaultWeekdaysRegex; + } + return this._weekdaysStrictRegex && isStrict ? + this._weekdaysStrictRegex : this._weekdaysRegex; } + } - var defaultWeekdaysShortRegex = matchWord; - function weekdaysShortRegex (isStrict) { - if (this._weekdaysParseExact) { - if (!hasOwnProp(this, '_weekdaysRegex')) { - computeWeekdaysParse.call(this); - } - if (isStrict) { - return this._weekdaysShortStrictRegex; - } else { - return this._weekdaysShortRegex; - } + var defaultWeekdaysShortRegex = matchWord; + function weekdaysShortRegex (isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysShortStrictRegex; } else { - if (!hasOwnProp(this, '_weekdaysShortRegex')) { - this._weekdaysShortRegex = defaultWeekdaysShortRegex; - } - return this._weekdaysShortStrictRegex && isStrict ? - this._weekdaysShortStrictRegex : this._weekdaysShortRegex; + return this._weekdaysShortRegex; } + } else { + if (!hasOwnProp(this, '_weekdaysShortRegex')) { + this._weekdaysShortRegex = defaultWeekdaysShortRegex; + } + return this._weekdaysShortStrictRegex && isStrict ? + this._weekdaysShortStrictRegex : this._weekdaysShortRegex; } + } - var defaultWeekdaysMinRegex = matchWord; - function weekdaysMinRegex (isStrict) { - if (this._weekdaysParseExact) { - if (!hasOwnProp(this, '_weekdaysRegex')) { - computeWeekdaysParse.call(this); - } - if (isStrict) { - return this._weekdaysMinStrictRegex; - } else { - return this._weekdaysMinRegex; - } + var defaultWeekdaysMinRegex = matchWord; + function weekdaysMinRegex (isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysMinStrictRegex; } else { - if (!hasOwnProp(this, '_weekdaysMinRegex')) { - this._weekdaysMinRegex = defaultWeekdaysMinRegex; - } - return this._weekdaysMinStrictRegex && isStrict ? - this._weekdaysMinStrictRegex : this._weekdaysMinRegex; + return this._weekdaysMinRegex; } + } else { + if (!hasOwnProp(this, '_weekdaysMinRegex')) { + this._weekdaysMinRegex = defaultWeekdaysMinRegex; + } + return this._weekdaysMinStrictRegex && isStrict ? + this._weekdaysMinStrictRegex : this._weekdaysMinRegex; } + } - function computeWeekdaysParse () { - function cmpLenRev(a, b) { - return b.length - a.length; - } + function computeWeekdaysParse () { + function cmpLenRev(a, b) { + return b.length - a.length; + } - var minPieces = [], shortPieces = [], longPieces = [], mixedPieces = [], - i, mom, minp, shortp, longp; - for (i = 0; i < 7; i++) { - // make the regex if we don't have it already - mom = create_utc__createUTC([2000, 1]).day(i); - minp = this.weekdaysMin(mom, ''); - shortp = this.weekdaysShort(mom, ''); - longp = this.weekdays(mom, ''); - minPieces.push(minp); - shortPieces.push(shortp); - longPieces.push(longp); - mixedPieces.push(minp); - mixedPieces.push(shortp); - mixedPieces.push(longp); - } - // Sorting makes sure if one weekday (or abbr) is a prefix of another it - // will match the longer piece. - minPieces.sort(cmpLenRev); - shortPieces.sort(cmpLenRev); - longPieces.sort(cmpLenRev); - mixedPieces.sort(cmpLenRev); - for (i = 0; i < 7; i++) { - shortPieces[i] = regexEscape(shortPieces[i]); - longPieces[i] = regexEscape(longPieces[i]); - mixedPieces[i] = regexEscape(mixedPieces[i]); - } + var minPieces = [], shortPieces = [], longPieces = [], mixedPieces = [], + i, mom, minp, shortp, longp; + for (i = 0; i < 7; i++) { + // make the regex if we don't have it already + mom = createUTC([2000, 1]).day(i); + minp = this.weekdaysMin(mom, ''); + shortp = this.weekdaysShort(mom, ''); + longp = this.weekdays(mom, ''); + minPieces.push(minp); + shortPieces.push(shortp); + longPieces.push(longp); + mixedPieces.push(minp); + mixedPieces.push(shortp); + mixedPieces.push(longp); + } + // Sorting makes sure if one weekday (or abbr) is a prefix of another it + // will match the longer piece. + minPieces.sort(cmpLenRev); + shortPieces.sort(cmpLenRev); + longPieces.sort(cmpLenRev); + mixedPieces.sort(cmpLenRev); + for (i = 0; i < 7; i++) { + shortPieces[i] = regexEscape(shortPieces[i]); + longPieces[i] = regexEscape(longPieces[i]); + mixedPieces[i] = regexEscape(mixedPieces[i]); + } - this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); - this._weekdaysShortRegex = this._weekdaysRegex; - this._weekdaysMinRegex = this._weekdaysRegex; + this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); + this._weekdaysShortRegex = this._weekdaysRegex; + this._weekdaysMinRegex = this._weekdaysRegex; - this._weekdaysStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i'); - this._weekdaysShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i'); - this._weekdaysMinStrictRegex = new RegExp('^(' + minPieces.join('|') + ')', 'i'); - } + this._weekdaysStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i'); + this._weekdaysShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i'); + this._weekdaysMinStrictRegex = new RegExp('^(' + minPieces.join('|') + ')', 'i'); + } - // FORMATTING + // FORMATTING - function hFormat() { - return this.hours() % 12 || 12; - } + function hFormat() { + return this.hours() % 12 || 12; + } - function kFormat() { - return this.hours() || 24; - } + function kFormat() { + return this.hours() || 24; + } - addFormatToken('H', ['HH', 2], 0, 'hour'); - addFormatToken('h', ['hh', 2], 0, hFormat); - addFormatToken('k', ['kk', 2], 0, kFormat); + addFormatToken('H', ['HH', 2], 0, 'hour'); + addFormatToken('h', ['hh', 2], 0, hFormat); + addFormatToken('k', ['kk', 2], 0, kFormat); - addFormatToken('hmm', 0, 0, function () { - return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2); - }); + addFormatToken('hmm', 0, 0, function () { + return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2); + }); - addFormatToken('hmmss', 0, 0, function () { - return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2) + - zeroFill(this.seconds(), 2); - }); + addFormatToken('hmmss', 0, 0, function () { + return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2) + + zeroFill(this.seconds(), 2); + }); - addFormatToken('Hmm', 0, 0, function () { - return '' + this.hours() + zeroFill(this.minutes(), 2); - }); + addFormatToken('Hmm', 0, 0, function () { + return '' + this.hours() + zeroFill(this.minutes(), 2); + }); - addFormatToken('Hmmss', 0, 0, function () { - return '' + this.hours() + zeroFill(this.minutes(), 2) + - zeroFill(this.seconds(), 2); - }); + addFormatToken('Hmmss', 0, 0, function () { + return '' + this.hours() + zeroFill(this.minutes(), 2) + + zeroFill(this.seconds(), 2); + }); - function meridiem (token, lowercase) { - addFormatToken(token, 0, 0, function () { - return this.localeData().meridiem(this.hours(), this.minutes(), lowercase); - }); - } + function meridiem (token, lowercase) { + addFormatToken(token, 0, 0, function () { + return this.localeData().meridiem(this.hours(), this.minutes(), lowercase); + }); + } - meridiem('a', true); - meridiem('A', false); + meridiem('a', true); + meridiem('A', false); - // ALIASES + // ALIASES - addUnitAlias('hour', 'h'); + addUnitAlias('hour', 'h'); - // PRIORITY - addUnitPriority('hour', 13); + // PRIORITY + addUnitPriority('hour', 13); - // PARSING + // PARSING - function matchMeridiem (isStrict, locale) { - return locale._meridiemParse; - } + function matchMeridiem (isStrict, locale) { + return locale._meridiemParse; + } - addRegexToken('a', matchMeridiem); - addRegexToken('A', matchMeridiem); - addRegexToken('H', match1to2); - addRegexToken('h', match1to2); - addRegexToken('HH', match1to2, match2); - addRegexToken('hh', match1to2, match2); + addRegexToken('a', matchMeridiem); + addRegexToken('A', matchMeridiem); + addRegexToken('H', match1to2); + addRegexToken('h', match1to2); + addRegexToken('k', match1to2); + addRegexToken('HH', match1to2, match2); + addRegexToken('hh', match1to2, match2); + addRegexToken('kk', match1to2, match2); - addRegexToken('hmm', match3to4); - addRegexToken('hmmss', match5to6); - addRegexToken('Hmm', match3to4); - addRegexToken('Hmmss', match5to6); + addRegexToken('hmm', match3to4); + addRegexToken('hmmss', match5to6); + addRegexToken('Hmm', match3to4); + addRegexToken('Hmmss', match5to6); - addParseToken(['H', 'HH'], HOUR); - addParseToken(['a', 'A'], function (input, array, config) { - config._isPm = config._locale.isPM(input); - config._meridiem = input; - }); - addParseToken(['h', 'hh'], function (input, array, config) { - array[HOUR] = toInt(input); - getParsingFlags(config).bigHour = true; - }); - addParseToken('hmm', function (input, array, config) { - var pos = input.length - 2; - array[HOUR] = toInt(input.substr(0, pos)); - array[MINUTE] = toInt(input.substr(pos)); - getParsingFlags(config).bigHour = true; - }); - addParseToken('hmmss', function (input, array, config) { - var pos1 = input.length - 4; - var pos2 = input.length - 2; - array[HOUR] = toInt(input.substr(0, pos1)); - array[MINUTE] = toInt(input.substr(pos1, 2)); - array[SECOND] = toInt(input.substr(pos2)); - getParsingFlags(config).bigHour = true; - }); - addParseToken('Hmm', function (input, array, config) { - var pos = input.length - 2; - array[HOUR] = toInt(input.substr(0, pos)); - array[MINUTE] = toInt(input.substr(pos)); - }); - addParseToken('Hmmss', function (input, array, config) { - var pos1 = input.length - 4; - var pos2 = input.length - 2; - array[HOUR] = toInt(input.substr(0, pos1)); - array[MINUTE] = toInt(input.substr(pos1, 2)); - array[SECOND] = toInt(input.substr(pos2)); - }); + addParseToken(['H', 'HH'], HOUR); + addParseToken(['k', 'kk'], function (input, array, config) { + var kInput = toInt(input); + array[HOUR] = kInput === 24 ? 0 : kInput; + }); + addParseToken(['a', 'A'], function (input, array, config) { + config._isPm = config._locale.isPM(input); + config._meridiem = input; + }); + addParseToken(['h', 'hh'], function (input, array, config) { + array[HOUR] = toInt(input); + getParsingFlags(config).bigHour = true; + }); + addParseToken('hmm', function (input, array, config) { + var pos = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos)); + array[MINUTE] = toInt(input.substr(pos)); + getParsingFlags(config).bigHour = true; + }); + addParseToken('hmmss', function (input, array, config) { + var pos1 = input.length - 4; + var pos2 = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos1)); + array[MINUTE] = toInt(input.substr(pos1, 2)); + array[SECOND] = toInt(input.substr(pos2)); + getParsingFlags(config).bigHour = true; + }); + addParseToken('Hmm', function (input, array, config) { + var pos = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos)); + array[MINUTE] = toInt(input.substr(pos)); + }); + addParseToken('Hmmss', function (input, array, config) { + var pos1 = input.length - 4; + var pos2 = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos1)); + array[MINUTE] = toInt(input.substr(pos1, 2)); + array[SECOND] = toInt(input.substr(pos2)); + }); - // LOCALES + // LOCALES - function localeIsPM (input) { - // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays - // Using charAt should be more compatible. - return ((input + '').toLowerCase().charAt(0) === 'p'); - } + function localeIsPM (input) { + // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays + // Using charAt should be more compatible. + return ((input + '').toLowerCase().charAt(0) === 'p'); + } - var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i; - function localeMeridiem (hours, minutes, isLower) { - if (hours > 11) { - return isLower ? 'pm' : 'PM'; - } else { - return isLower ? 'am' : 'AM'; - } + var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i; + function localeMeridiem (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'pm' : 'PM'; + } else { + return isLower ? 'am' : 'AM'; } + } - // MOMENTS + // MOMENTS - // Setting the hour should keep the time, because the user explicitly - // specified which hour he wants. So trying to maintain the same hour (in - // a new timezone) makes sense. Adding/subtracting hours does not follow - // this rule. - var getSetHour = makeGetSet('Hours', true); + // Setting the hour should keep the time, because the user explicitly + // specified which hour he wants. So trying to maintain the same hour (in + // a new timezone) makes sense. Adding/subtracting hours does not follow + // this rule. + var getSetHour = makeGetSet('Hours', true); - var baseConfig = { - calendar: defaultCalendar, - longDateFormat: defaultLongDateFormat, - invalidDate: defaultInvalidDate, - ordinal: defaultOrdinal, - ordinalParse: defaultOrdinalParse, - relativeTime: defaultRelativeTime, + // months + // week + // weekdays + // meridiem + var baseConfig = { + calendar: defaultCalendar, + longDateFormat: defaultLongDateFormat, + invalidDate: defaultInvalidDate, + ordinal: defaultOrdinal, + dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse, + relativeTime: defaultRelativeTime, - months: defaultLocaleMonths, - monthsShort: defaultLocaleMonthsShort, + months: defaultLocaleMonths, + monthsShort: defaultLocaleMonthsShort, - week: defaultLocaleWeek, + week: defaultLocaleWeek, - weekdays: defaultLocaleWeekdays, - weekdaysMin: defaultLocaleWeekdaysMin, - weekdaysShort: defaultLocaleWeekdaysShort, + weekdays: defaultLocaleWeekdays, + weekdaysMin: defaultLocaleWeekdaysMin, + weekdaysShort: defaultLocaleWeekdaysShort, - meridiemParse: defaultLocaleMeridiemParse - }; + meridiemParse: defaultLocaleMeridiemParse + }; - // internal storage for locale config files - var locales = {}; - var globalLocale; + // internal storage for locale config files + var locales = {}; + var localeFamilies = {}; + var globalLocale; - function normalizeLocale(key) { - return key ? key.toLowerCase().replace('_', '-') : key; - } + function normalizeLocale(key) { + return key ? key.toLowerCase().replace('_', '-') : key; + } - // pick the locale from the array - // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each - // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root - function chooseLocale(names) { - var i = 0, j, next, locale, split; + // pick the locale from the array + // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each + // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root + function chooseLocale(names) { + var i = 0, j, next, locale, split; - while (i < names.length) { - split = normalizeLocale(names[i]).split('-'); - j = split.length; - next = normalizeLocale(names[i + 1]); - next = next ? next.split('-') : null; - while (j > 0) { - locale = loadLocale(split.slice(0, j).join('-')); - if (locale) { - return locale; - } - if (next && next.length >= j && compareArrays(split, next, true) >= j - 1) { - //the next array item is better than a shallower substring of this one - break; - } - j--; + while (i < names.length) { + split = normalizeLocale(names[i]).split('-'); + j = split.length; + next = normalizeLocale(names[i + 1]); + next = next ? next.split('-') : null; + while (j > 0) { + locale = loadLocale(split.slice(0, j).join('-')); + if (locale) { + return locale; + } + if (next && next.length >= j && compareArrays(split, next, true) >= j - 1) { + //the next array item is better than a shallower substring of this one + break; } - i++; + j--; } - return null; + i++; } + return null; + } - function loadLocale(name) { - var oldLocale = null; - // TODO: Find a better way to register and load all the locales in Node - if (!locales[name] && (typeof module !== 'undefined') && - module && module.exports) { - try { - oldLocale = globalLocale._abbr; - __webpack_require__(396)("./" + name); - // because defineLocale currently also sets the global locale, we - // want to undo that for lazy loaded locales - locale_locales__getSetGlobalLocale(oldLocale); - } catch (e) { } - } - return locales[name]; + function loadLocale(name) { + var oldLocale = null; + // TODO: Find a better way to register and load all the locales in Node + if (!locales[name] && (typeof module !== 'undefined') && + module && module.exports) { + try { + oldLocale = globalLocale._abbr; + __webpack_require__(404)("./" + name); + // because defineLocale currently also sets the global locale, we + // want to undo that for lazy loaded locales + getSetGlobalLocale(oldLocale); + } catch (e) { } } + return locales[name]; + } - // This function will load locale and then set the global locale. If - // no arguments are passed in, it will simply return the current global - // locale key. - function locale_locales__getSetGlobalLocale (key, values) { - var data; - if (key) { - if (isUndefined(values)) { - data = locale_locales__getLocale(key); - } - else { - data = defineLocale(key, values); - } - - if (data) { - // moment.duration._locale = moment._locale = data; - globalLocale = data; - } + // This function will load locale and then set the global locale. If + // no arguments are passed in, it will simply return the current global + // locale key. + function getSetGlobalLocale (key, values) { + var data; + if (key) { + if (isUndefined(values)) { + data = getLocale(key); + } + else { + data = defineLocale(key, values); } - return globalLocale._abbr; + if (data) { + // moment.duration._locale = moment._locale = data; + globalLocale = data; + } } - function defineLocale (name, config) { - if (config !== null) { - var parentConfig = baseConfig; - config.abbr = name; - if (locales[name] != null) { - deprecateSimple('defineLocaleOverride', - 'use moment.updateLocale(localeName, config) to change ' + - 'an existing locale. moment.defineLocale(localeName, ' + - 'config) should only be used for creating a new locale ' + - 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.'); - parentConfig = locales[name]._config; - } else if (config.parentLocale != null) { - if (locales[config.parentLocale] != null) { - parentConfig = locales[config.parentLocale]._config; - } else { - // treat as if there is no base config - deprecateSimple('parentLocaleUndefined', - 'specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/'); + return globalLocale._abbr; + } + + function defineLocale (name, config) { + if (config !== null) { + var parentConfig = baseConfig; + config.abbr = name; + if (locales[name] != null) { + deprecateSimple('defineLocaleOverride', + 'use moment.updateLocale(localeName, config) to change ' + + 'an existing locale. moment.defineLocale(localeName, ' + + 'config) should only be used for creating a new locale ' + + 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.'); + parentConfig = locales[name]._config; + } else if (config.parentLocale != null) { + if (locales[config.parentLocale] != null) { + parentConfig = locales[config.parentLocale]._config; + } else { + if (!localeFamilies[config.parentLocale]) { + localeFamilies[config.parentLocale] = []; } + localeFamilies[config.parentLocale].push({ + name: name, + config: config + }); + return null; } - locales[name] = new Locale(mergeConfigs(parentConfig, config)); - - // backwards compat for now: also set the locale - locale_locales__getSetGlobalLocale(name); + } + locales[name] = new Locale(mergeConfigs(parentConfig, config)); - return locales[name]; - } else { - // useful for testing - delete locales[name]; - return null; + if (localeFamilies[name]) { + localeFamilies[name].forEach(function (x) { + defineLocale(x.name, x.config); + }); } - } - function updateLocale(name, config) { - if (config != null) { - var locale, parentConfig = baseConfig; - // MERGE - if (locales[name] != null) { - parentConfig = locales[name]._config; - } - config = mergeConfigs(parentConfig, config); - locale = new Locale(config); - locale.parentLocale = locales[name]; - locales[name] = locale; + // backwards compat for now: also set the locale + // make sure we set the locale AFTER all child locales have been + // created, so we won't end up with the child locale set. + getSetGlobalLocale(name); + - // backwards compat for now: also set the locale - locale_locales__getSetGlobalLocale(name); - } else { - // pass null for config to unupdate, useful for tests - if (locales[name] != null) { - if (locales[name].parentLocale != null) { - locales[name] = locales[name].parentLocale; - } else if (locales[name] != null) { - delete locales[name]; - } - } - } return locales[name]; + } else { + // useful for testing + delete locales[name]; + return null; } + } - // returns locale data - function locale_locales__getLocale (key) { - var locale; - - if (key && key._locale && key._locale._abbr) { - key = key._locale._abbr; - } - - if (!key) { - return globalLocale; + function updateLocale(name, config) { + if (config != null) { + var locale, parentConfig = baseConfig; + // MERGE + if (locales[name] != null) { + parentConfig = locales[name]._config; } + config = mergeConfigs(parentConfig, config); + locale = new Locale(config); + locale.parentLocale = locales[name]; + locales[name] = locale; - if (!isArray(key)) { - //short-circuit everything else - locale = loadLocale(key); - if (locale) { - return locale; + // backwards compat for now: also set the locale + getSetGlobalLocale(name); + } else { + // pass null for config to unupdate, useful for tests + if (locales[name] != null) { + if (locales[name].parentLocale != null) { + locales[name] = locales[name].parentLocale; + } else if (locales[name] != null) { + delete locales[name]; } - key = [key]; } + } + return locales[name]; + } - return chooseLocale(key); + // returns locale data + function getLocale (key) { + var locale; + + if (key && key._locale && key._locale._abbr) { + key = key._locale._abbr; } - function locale_locales__listLocales() { - return keys(locales); + if (!key) { + return globalLocale; } - function checkOverflow (m) { - var overflow; - var a = m._a; + if (!isArray(key)) { + //short-circuit everything else + locale = loadLocale(key); + if (locale) { + return locale; + } + key = [key]; + } - if (a && getParsingFlags(m).overflow === -2) { - overflow = - a[MONTH] < 0 || a[MONTH] > 11 ? MONTH : - a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) ? DATE : - a[HOUR] < 0 || a[HOUR] > 24 || (a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0)) ? HOUR : - a[MINUTE] < 0 || a[MINUTE] > 59 ? MINUTE : - a[SECOND] < 0 || a[SECOND] > 59 ? SECOND : - a[MILLISECOND] < 0 || a[MILLISECOND] > 999 ? MILLISECOND : - -1; + return chooseLocale(key); + } - if (getParsingFlags(m)._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) { - overflow = DATE; - } - if (getParsingFlags(m)._overflowWeeks && overflow === -1) { - overflow = WEEK; - } - if (getParsingFlags(m)._overflowWeekday && overflow === -1) { - overflow = WEEKDAY; - } + function listLocales() { + return keys$1(locales); + } + + function checkOverflow (m) { + var overflow; + var a = m._a; + + if (a && getParsingFlags(m).overflow === -2) { + overflow = + a[MONTH] < 0 || a[MONTH] > 11 ? MONTH : + a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) ? DATE : + a[HOUR] < 0 || a[HOUR] > 24 || (a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0)) ? HOUR : + a[MINUTE] < 0 || a[MINUTE] > 59 ? MINUTE : + a[SECOND] < 0 || a[SECOND] > 59 ? SECOND : + a[MILLISECOND] < 0 || a[MILLISECOND] > 999 ? MILLISECOND : + -1; - getParsingFlags(m).overflow = overflow; + if (getParsingFlags(m)._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) { + overflow = DATE; + } + if (getParsingFlags(m)._overflowWeeks && overflow === -1) { + overflow = WEEK; + } + if (getParsingFlags(m)._overflowWeekday && overflow === -1) { + overflow = WEEKDAY; } - return m; + getParsingFlags(m).overflow = overflow; } - // iso 8601 regex - // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00) - var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/; - var basicIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/; + return m; + } - var tzRegex = /Z|[+-]\d\d(?::?\d\d)?/; + // iso 8601 regex + // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00) + var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/; + var basicIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/; - var isoDates = [ - ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], - ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], - ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], - ['GGGG-[W]WW', /\d{4}-W\d\d/, false], - ['YYYY-DDD', /\d{4}-\d{3}/], - ['YYYY-MM', /\d{4}-\d\d/, false], - ['YYYYYYMMDD', /[+-]\d{10}/], - ['YYYYMMDD', /\d{8}/], - // YYYYMM is NOT allowed by the standard - ['GGGG[W]WWE', /\d{4}W\d{3}/], - ['GGGG[W]WW', /\d{4}W\d{2}/, false], - ['YYYYDDD', /\d{7}/] - ]; + var tzRegex = /Z|[+-]\d\d(?::?\d\d)?/; - // iso time formats and regexes - var isoTimes = [ - ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], - ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], - ['HH:mm:ss', /\d\d:\d\d:\d\d/], - ['HH:mm', /\d\d:\d\d/], - ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], - ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], - ['HHmmss', /\d\d\d\d\d\d/], - ['HHmm', /\d\d\d\d/], - ['HH', /\d\d/] - ]; + var isoDates = [ + ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], + ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], + ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], + ['GGGG-[W]WW', /\d{4}-W\d\d/, false], + ['YYYY-DDD', /\d{4}-\d{3}/], + ['YYYY-MM', /\d{4}-\d\d/, false], + ['YYYYYYMMDD', /[+-]\d{10}/], + ['YYYYMMDD', /\d{8}/], + // YYYYMM is NOT allowed by the standard + ['GGGG[W]WWE', /\d{4}W\d{3}/], + ['GGGG[W]WW', /\d{4}W\d{2}/, false], + ['YYYYDDD', /\d{7}/] + ]; + + // iso time formats and regexes + var isoTimes = [ + ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], + ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], + ['HH:mm:ss', /\d\d:\d\d:\d\d/], + ['HH:mm', /\d\d:\d\d/], + ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], + ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], + ['HHmmss', /\d\d\d\d\d\d/], + ['HHmm', /\d\d\d\d/], + ['HH', /\d\d/] + ]; - var aspNetJsonRegex = /^\/?Date\((\-?\d+)/i; + var aspNetJsonRegex = /^\/?Date\((\-?\d+)/i; - // date from iso format - function configFromISO(config) { - var i, l, - string = config._i, - match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), - allowTime, dateFormat, timeFormat, tzFormat; + // date from iso format + function configFromISO(config) { + var i, l, + string = config._i, + match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), + allowTime, dateFormat, timeFormat, tzFormat; - if (match) { - getParsingFlags(config).iso = true; + if (match) { + getParsingFlags(config).iso = true; - for (i = 0, l = isoDates.length; i < l; i++) { - if (isoDates[i][1].exec(match[1])) { - dateFormat = isoDates[i][0]; - allowTime = isoDates[i][2] !== false; + for (i = 0, l = isoDates.length; i < l; i++) { + if (isoDates[i][1].exec(match[1])) { + dateFormat = isoDates[i][0]; + allowTime = isoDates[i][2] !== false; + break; + } + } + if (dateFormat == null) { + config._isValid = false; + return; + } + if (match[3]) { + for (i = 0, l = isoTimes.length; i < l; i++) { + if (isoTimes[i][1].exec(match[3])) { + // match[2] should be 'T' or space + timeFormat = (match[2] || ' ') + isoTimes[i][0]; break; } } - if (dateFormat == null) { + if (timeFormat == null) { config._isValid = false; return; } - if (match[3]) { - for (i = 0, l = isoTimes.length; i < l; i++) { - if (isoTimes[i][1].exec(match[3])) { - // match[2] should be 'T' or space - timeFormat = (match[2] || ' ') + isoTimes[i][0]; - break; - } - } - if (timeFormat == null) { - config._isValid = false; - return; - } + } + if (!allowTime && timeFormat != null) { + config._isValid = false; + return; + } + if (match[4]) { + if (tzRegex.exec(match[4])) { + tzFormat = 'Z'; + } else { + config._isValid = false; + return; } - if (!allowTime && timeFormat != null) { + } + config._f = dateFormat + (timeFormat || '') + (tzFormat || ''); + configFromStringAndFormat(config); + } else { + config._isValid = false; + } + } + + // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3 + var basicRfcRegex = /^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/; + + // date and time from ref 2822 format + function configFromRFC2822(config) { + var string, match, dayFormat, + dateFormat, timeFormat, tzFormat; + var timezones = { + ' GMT': ' +0000', + ' EDT': ' -0400', + ' EST': ' -0500', + ' CDT': ' -0500', + ' CST': ' -0600', + ' MDT': ' -0600', + ' MST': ' -0700', + ' PDT': ' -0700', + ' PST': ' -0800' + }; + var military = 'YXWVUTSRQPONZABCDEFGHIKLM'; + var timezone, timezoneIndex; + + string = config._i + .replace(/\([^\)]*\)|[\n\t]/g, ' ') // Remove comments and folding whitespace + .replace(/(\s\s+)/g, ' ') // Replace multiple-spaces with a single space + .replace(/^\s|\s$/g, ''); // Remove leading and trailing spaces + match = basicRfcRegex.exec(string); + + if (match) { + dayFormat = match[1] ? 'ddd' + ((match[1].length === 5) ? ', ' : ' ') : ''; + dateFormat = 'D MMM ' + ((match[2].length > 10) ? 'YYYY ' : 'YY '); + timeFormat = 'HH:mm' + (match[4] ? ':ss' : ''); + + // TODO: Replace the vanilla JS Date object with an indepentent day-of-week check. + if (match[1]) { // day of week given + var momentDate = new Date(match[2]); + var momentDay = ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'][momentDate.getDay()]; + + if (match[1].substr(0,3) !== momentDay) { + getParsingFlags(config).weekdayMismatch = true; config._isValid = false; return; } - if (match[4]) { - if (tzRegex.exec(match[4])) { - tzFormat = 'Z'; + } + + switch (match[5].length) { + case 2: // military + if (timezoneIndex === 0) { + timezone = ' +0000'; } else { - config._isValid = false; - return; + timezoneIndex = military.indexOf(match[5][1].toUpperCase()) - 12; + timezone = ((timezoneIndex < 0) ? ' -' : ' +') + + (('' + timezoneIndex).replace(/^-?/, '0')).match(/..$/)[0] + '00'; } - } - config._f = dateFormat + (timeFormat || '') + (tzFormat || ''); - configFromStringAndFormat(config); - } else { - config._isValid = false; - } + break; + case 4: // Zone + timezone = timezones[match[5]]; + break; + default: // UT or +/-9999 + timezone = timezones[' GMT']; + } + match[5] = timezone; + config._i = match.splice(1).join(''); + tzFormat = ' ZZ'; + config._f = dayFormat + dateFormat + timeFormat + tzFormat; + configFromStringAndFormat(config); + getParsingFlags(config).rfc2822 = true; + } else { + config._isValid = false; } + } - // date from iso format or fallback - function configFromString(config) { - var matched = aspNetJsonRegex.exec(config._i); + // date from iso format or fallback + function configFromString(config) { + var matched = aspNetJsonRegex.exec(config._i); - if (matched !== null) { - config._d = new Date(+matched[1]); - return; - } + if (matched !== null) { + config._d = new Date(+matched[1]); + return; + } - configFromISO(config); - if (config._isValid === false) { - delete config._isValid; - utils_hooks__hooks.createFromInputFallback(config); - } + configFromISO(config); + if (config._isValid === false) { + delete config._isValid; + } else { + return; } - utils_hooks__hooks.createFromInputFallback = deprecate( - 'value provided is not in a recognized ISO format. moment construction falls back to js Date(), ' + - 'which is not reliable across all browsers and versions. Non ISO date formats are ' + - 'discouraged and will be removed in an upcoming major release. Please refer to ' + - 'http://momentjs.com/guides/#/warnings/js-date/ for more info.', - function (config) { - config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); - } - ); + configFromRFC2822(config); + if (config._isValid === false) { + delete config._isValid; + } else { + return; + } - // Pick the first defined of two or three arguments. - function defaults(a, b, c) { - if (a != null) { - return a; - } - if (b != null) { - return b; - } - return c; + // Final attempt, use Input Fallback + hooks.createFromInputFallback(config); + } + + hooks.createFromInputFallback = deprecate( + 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + + 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + + 'discouraged and will be removed in an upcoming major release. Please refer to ' + + 'http://momentjs.com/guides/#/warnings/js-date/ for more info.', + function (config) { + config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); } + ); - function currentDateArray(config) { - // hooks is actually the exported moment object - var nowValue = new Date(utils_hooks__hooks.now()); - if (config._useUTC) { - return [nowValue.getUTCFullYear(), nowValue.getUTCMonth(), nowValue.getUTCDate()]; - } - return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()]; + // Pick the first defined of two or three arguments. + function defaults(a, b, c) { + if (a != null) { + return a; + } + if (b != null) { + return b; } + return c; + } - // convert an array to a date. - // the array should mirror the parameters below - // note: all values past the year are optional and will default to the lowest possible value. - // [year, month, day , hour, minute, second, millisecond] - function configFromArray (config) { - var i, date, input = [], currentDate, yearToUse; + function currentDateArray(config) { + // hooks is actually the exported moment object + var nowValue = new Date(hooks.now()); + if (config._useUTC) { + return [nowValue.getUTCFullYear(), nowValue.getUTCMonth(), nowValue.getUTCDate()]; + } + return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()]; + } - if (config._d) { - return; - } + // convert an array to a date. + // the array should mirror the parameters below + // note: all values past the year are optional and will default to the lowest possible value. + // [year, month, day , hour, minute, second, millisecond] + function configFromArray (config) { + var i, date, input = [], currentDate, yearToUse; - currentDate = currentDateArray(config); + if (config._d) { + return; + } - //compute day of the year from weeks and weekdays - if (config._w && config._a[DATE] == null && config._a[MONTH] == null) { - dayOfYearFromWeekInfo(config); - } + currentDate = currentDateArray(config); - //if the day of the year is set, figure out what it is - if (config._dayOfYear) { - yearToUse = defaults(config._a[YEAR], currentDate[YEAR]); + //compute day of the year from weeks and weekdays + if (config._w && config._a[DATE] == null && config._a[MONTH] == null) { + dayOfYearFromWeekInfo(config); + } - if (config._dayOfYear > daysInYear(yearToUse)) { - getParsingFlags(config)._overflowDayOfYear = true; - } + //if the day of the year is set, figure out what it is + if (config._dayOfYear != null) { + yearToUse = defaults(config._a[YEAR], currentDate[YEAR]); - date = createUTCDate(yearToUse, 0, config._dayOfYear); - config._a[MONTH] = date.getUTCMonth(); - config._a[DATE] = date.getUTCDate(); + if (config._dayOfYear > daysInYear(yearToUse) || config._dayOfYear === 0) { + getParsingFlags(config)._overflowDayOfYear = true; } - // Default to current date. - // * if no year, month, day of month are given, default to today - // * if day of month is given, default month and year - // * if month is given, default only year - // * if year is given, don't default anything - for (i = 0; i < 3 && config._a[i] == null; ++i) { - config._a[i] = input[i] = currentDate[i]; - } + date = createUTCDate(yearToUse, 0, config._dayOfYear); + config._a[MONTH] = date.getUTCMonth(); + config._a[DATE] = date.getUTCDate(); + } - // Zero out whatever was not defaulted, including time - for (; i < 7; i++) { - config._a[i] = input[i] = (config._a[i] == null) ? (i === 2 ? 1 : 0) : config._a[i]; - } + // Default to current date. + // * if no year, month, day of month are given, default to today + // * if day of month is given, default month and year + // * if month is given, default only year + // * if year is given, don't default anything + for (i = 0; i < 3 && config._a[i] == null; ++i) { + config._a[i] = input[i] = currentDate[i]; + } - // Check for 24:00:00.000 - if (config._a[HOUR] === 24 && - config._a[MINUTE] === 0 && - config._a[SECOND] === 0 && - config._a[MILLISECOND] === 0) { - config._nextDay = true; - config._a[HOUR] = 0; - } + // Zero out whatever was not defaulted, including time + for (; i < 7; i++) { + config._a[i] = input[i] = (config._a[i] == null) ? (i === 2 ? 1 : 0) : config._a[i]; + } - config._d = (config._useUTC ? createUTCDate : createDate).apply(null, input); - // Apply timezone offset from input. The actual utcOffset can be changed - // with parseZone. - if (config._tzm != null) { - config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); - } + // Check for 24:00:00.000 + if (config._a[HOUR] === 24 && + config._a[MINUTE] === 0 && + config._a[SECOND] === 0 && + config._a[MILLISECOND] === 0) { + config._nextDay = true; + config._a[HOUR] = 0; + } - if (config._nextDay) { - config._a[HOUR] = 24; - } + config._d = (config._useUTC ? createUTCDate : createDate).apply(null, input); + // Apply timezone offset from input. The actual utcOffset can be changed + // with parseZone. + if (config._tzm != null) { + config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); } - function dayOfYearFromWeekInfo(config) { - var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow; + if (config._nextDay) { + config._a[HOUR] = 24; + } + } - w = config._w; - if (w.GG != null || w.W != null || w.E != null) { - dow = 1; - doy = 4; + function dayOfYearFromWeekInfo(config) { + var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow; - // TODO: We need to take the current isoWeekYear, but that depends on - // how we interpret now (local, utc, fixed offset). So create - // a now version of current config (take local/utc/offset flags, and - // create now). - weekYear = defaults(w.GG, config._a[YEAR], weekOfYear(local__createLocal(), 1, 4).year); - week = defaults(w.W, 1); - weekday = defaults(w.E, 1); - if (weekday < 1 || weekday > 7) { - weekdayOverflow = true; - } - } else { - dow = config._locale._week.dow; - doy = config._locale._week.doy; + w = config._w; + if (w.GG != null || w.W != null || w.E != null) { + dow = 1; + doy = 4; - weekYear = defaults(w.gg, config._a[YEAR], weekOfYear(local__createLocal(), dow, doy).year); - week = defaults(w.w, 1); + // TODO: We need to take the current isoWeekYear, but that depends on + // how we interpret now (local, utc, fixed offset). So create + // a now version of current config (take local/utc/offset flags, and + // create now). + weekYear = defaults(w.GG, config._a[YEAR], weekOfYear(createLocal(), 1, 4).year); + week = defaults(w.W, 1); + weekday = defaults(w.E, 1); + if (weekday < 1 || weekday > 7) { + weekdayOverflow = true; + } + } else { + dow = config._locale._week.dow; + doy = config._locale._week.doy; - if (w.d != null) { - // weekday -- low day numbers are considered next week - weekday = w.d; - if (weekday < 0 || weekday > 6) { - weekdayOverflow = true; - } - } else if (w.e != null) { - // local weekday -- counting starts from begining of week - weekday = w.e + dow; - if (w.e < 0 || w.e > 6) { - weekdayOverflow = true; - } - } else { - // default to begining of week - weekday = dow; + var curWeek = weekOfYear(createLocal(), dow, doy); + + weekYear = defaults(w.gg, config._a[YEAR], curWeek.year); + + // Default to current week. + week = defaults(w.w, curWeek.week); + + if (w.d != null) { + // weekday -- low day numbers are considered next week + weekday = w.d; + if (weekday < 0 || weekday > 6) { + weekdayOverflow = true; + } + } else if (w.e != null) { + // local weekday -- counting starts from begining of week + weekday = w.e + dow; + if (w.e < 0 || w.e > 6) { + weekdayOverflow = true; } - } - if (week < 1 || week > weeksInYear(weekYear, dow, doy)) { - getParsingFlags(config)._overflowWeeks = true; - } else if (weekdayOverflow != null) { - getParsingFlags(config)._overflowWeekday = true; } else { - temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy); - config._a[YEAR] = temp.year; - config._dayOfYear = temp.dayOfYear; + // default to begining of week + weekday = dow; } } + if (week < 1 || week > weeksInYear(weekYear, dow, doy)) { + getParsingFlags(config)._overflowWeeks = true; + } else if (weekdayOverflow != null) { + getParsingFlags(config)._overflowWeekday = true; + } else { + temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy); + config._a[YEAR] = temp.year; + config._dayOfYear = temp.dayOfYear; + } + } - // constant that refers to the ISO standard - utils_hooks__hooks.ISO_8601 = function () {}; + // constant that refers to the ISO standard + hooks.ISO_8601 = function () {}; - // date from string and format string - function configFromStringAndFormat(config) { - // TODO: Move this to another part of the creation flow to prevent circular deps - if (config._f === utils_hooks__hooks.ISO_8601) { - configFromISO(config); - return; - } + // constant that refers to the RFC 2822 form + hooks.RFC_2822 = function () {}; - config._a = []; - getParsingFlags(config).empty = true; + // date from string and format string + function configFromStringAndFormat(config) { + // TODO: Move this to another part of the creation flow to prevent circular deps + if (config._f === hooks.ISO_8601) { + configFromISO(config); + return; + } + if (config._f === hooks.RFC_2822) { + configFromRFC2822(config); + return; + } + config._a = []; + getParsingFlags(config).empty = true; - // This array is used to make a Date, either with `new Date` or `Date.UTC` - var string = '' + config._i, - i, parsedInput, tokens, token, skipped, - stringLength = string.length, - totalParsedInputLength = 0; + // This array is used to make a Date, either with `new Date` or `Date.UTC` + var string = '' + config._i, + i, parsedInput, tokens, token, skipped, + stringLength = string.length, + totalParsedInputLength = 0; - tokens = expandFormat(config._f, config._locale).match(formattingTokens) || []; + tokens = expandFormat(config._f, config._locale).match(formattingTokens) || []; - for (i = 0; i < tokens.length; i++) { - token = tokens[i]; - parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0]; - // console.log('token', token, 'parsedInput', parsedInput, - // 'regex', getParseRegexForToken(token, config)); - if (parsedInput) { - skipped = string.substr(0, string.indexOf(parsedInput)); - if (skipped.length > 0) { - getParsingFlags(config).unusedInput.push(skipped); - } - string = string.slice(string.indexOf(parsedInput) + parsedInput.length); - totalParsedInputLength += parsedInput.length; + for (i = 0; i < tokens.length; i++) { + token = tokens[i]; + parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0]; + // console.log('token', token, 'parsedInput', parsedInput, + // 'regex', getParseRegexForToken(token, config)); + if (parsedInput) { + skipped = string.substr(0, string.indexOf(parsedInput)); + if (skipped.length > 0) { + getParsingFlags(config).unusedInput.push(skipped); } - // don't parse if it's not a known token - if (formatTokenFunctions[token]) { - if (parsedInput) { - getParsingFlags(config).empty = false; - } - else { - getParsingFlags(config).unusedTokens.push(token); - } - addTimeToArrayFromToken(token, parsedInput, config); + string = string.slice(string.indexOf(parsedInput) + parsedInput.length); + totalParsedInputLength += parsedInput.length; + } + // don't parse if it's not a known token + if (formatTokenFunctions[token]) { + if (parsedInput) { + getParsingFlags(config).empty = false; } - else if (config._strict && !parsedInput) { + else { getParsingFlags(config).unusedTokens.push(token); } + addTimeToArrayFromToken(token, parsedInput, config); } - - // add remaining unparsed input length to the string - getParsingFlags(config).charsLeftOver = stringLength - totalParsedInputLength; - if (string.length > 0) { - getParsingFlags(config).unusedInput.push(string); - } - - // clear _12h flag if hour is <= 12 - if (config._a[HOUR] <= 12 && - getParsingFlags(config).bigHour === true && - config._a[HOUR] > 0) { - getParsingFlags(config).bigHour = undefined; + else if (config._strict && !parsedInput) { + getParsingFlags(config).unusedTokens.push(token); } + } - getParsingFlags(config).parsedDateParts = config._a.slice(0); - getParsingFlags(config).meridiem = config._meridiem; - // handle meridiem - config._a[HOUR] = meridiemFixWrap(config._locale, config._a[HOUR], config._meridiem); + // add remaining unparsed input length to the string + getParsingFlags(config).charsLeftOver = stringLength - totalParsedInputLength; + if (string.length > 0) { + getParsingFlags(config).unusedInput.push(string); + } - configFromArray(config); - checkOverflow(config); + // clear _12h flag if hour is <= 12 + if (config._a[HOUR] <= 12 && + getParsingFlags(config).bigHour === true && + config._a[HOUR] > 0) { + getParsingFlags(config).bigHour = undefined; } + getParsingFlags(config).parsedDateParts = config._a.slice(0); + getParsingFlags(config).meridiem = config._meridiem; + // handle meridiem + config._a[HOUR] = meridiemFixWrap(config._locale, config._a[HOUR], config._meridiem); + + configFromArray(config); + checkOverflow(config); + } - function meridiemFixWrap (locale, hour, meridiem) { - var isPm; - if (meridiem == null) { - // nothing to do - return hour; + function meridiemFixWrap (locale, hour, meridiem) { + var isPm; + + if (meridiem == null) { + // nothing to do + return hour; + } + if (locale.meridiemHour != null) { + return locale.meridiemHour(hour, meridiem); + } else if (locale.isPM != null) { + // Fallback + isPm = locale.isPM(meridiem); + if (isPm && hour < 12) { + hour += 12; } - if (locale.meridiemHour != null) { - return locale.meridiemHour(hour, meridiem); - } else if (locale.isPM != null) { - // Fallback - isPm = locale.isPM(meridiem); - if (isPm && hour < 12) { - hour += 12; - } - if (!isPm && hour === 12) { - hour = 0; - } - return hour; - } else { - // this is not supposed to happen - return hour; + if (!isPm && hour === 12) { + hour = 0; } + return hour; + } else { + // this is not supposed to happen + return hour; } + } - // date from string and array of format strings - function configFromStringAndArray(config) { - var tempConfig, - bestMoment, + // date from string and array of format strings + function configFromStringAndArray(config) { + var tempConfig, + bestMoment, - scoreToBeat, - i, - currentScore; + scoreToBeat, + i, + currentScore; - if (config._f.length === 0) { - getParsingFlags(config).invalidFormat = true; - config._d = new Date(NaN); - return; - } + if (config._f.length === 0) { + getParsingFlags(config).invalidFormat = true; + config._d = new Date(NaN); + return; + } - for (i = 0; i < config._f.length; i++) { - currentScore = 0; - tempConfig = copyConfig({}, config); - if (config._useUTC != null) { - tempConfig._useUTC = config._useUTC; - } - tempConfig._f = config._f[i]; - configFromStringAndFormat(tempConfig); + for (i = 0; i < config._f.length; i++) { + currentScore = 0; + tempConfig = copyConfig({}, config); + if (config._useUTC != null) { + tempConfig._useUTC = config._useUTC; + } + tempConfig._f = config._f[i]; + configFromStringAndFormat(tempConfig); - if (!valid__isValid(tempConfig)) { - continue; - } + if (!isValid(tempConfig)) { + continue; + } - // if there is any input that was not parsed add a penalty for that format - currentScore += getParsingFlags(tempConfig).charsLeftOver; + // if there is any input that was not parsed add a penalty for that format + currentScore += getParsingFlags(tempConfig).charsLeftOver; - //or tokens - currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10; + //or tokens + currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10; - getParsingFlags(tempConfig).score = currentScore; + getParsingFlags(tempConfig).score = currentScore; - if (scoreToBeat == null || currentScore < scoreToBeat) { - scoreToBeat = currentScore; - bestMoment = tempConfig; - } + if (scoreToBeat == null || currentScore < scoreToBeat) { + scoreToBeat = currentScore; + bestMoment = tempConfig; } - - extend(config, bestMoment || tempConfig); } - function configFromObject(config) { - if (config._d) { - return; - } - - var i = normalizeObjectUnits(config._i); - config._a = map([i.year, i.month, i.day || i.date, i.hour, i.minute, i.second, i.millisecond], function (obj) { - return obj && parseInt(obj, 10); - }); + extend(config, bestMoment || tempConfig); + } - configFromArray(config); + function configFromObject(config) { + if (config._d) { + return; } - function createFromConfig (config) { - var res = new Moment(checkOverflow(prepareConfig(config))); - if (res._nextDay) { - // Adding is smart enough around DST - res.add(1, 'd'); - res._nextDay = undefined; - } + var i = normalizeObjectUnits(config._i); + config._a = map([i.year, i.month, i.day || i.date, i.hour, i.minute, i.second, i.millisecond], function (obj) { + return obj && parseInt(obj, 10); + }); - return res; - } + configFromArray(config); + } - function prepareConfig (config) { - var input = config._i, - format = config._f; + function createFromConfig (config) { + var res = new Moment(checkOverflow(prepareConfig(config))); + if (res._nextDay) { + // Adding is smart enough around DST + res.add(1, 'd'); + res._nextDay = undefined; + } - config._locale = config._locale || locale_locales__getLocale(config._l); + return res; + } - if (input === null || (format === undefined && input === '')) { - return valid__createInvalid({nullInput: true}); - } + function prepareConfig (config) { + var input = config._i, + format = config._f; - if (typeof input === 'string') { - config._i = input = config._locale.preparse(input); - } + config._locale = config._locale || getLocale(config._l); - if (isMoment(input)) { - return new Moment(checkOverflow(input)); - } else if (isArray(format)) { - configFromStringAndArray(config); - } else if (isDate(input)) { - config._d = input; - } else if (format) { - configFromStringAndFormat(config); - } else { - configFromInput(config); - } + if (input === null || (format === undefined && input === '')) { + return createInvalid({nullInput: true}); + } - if (!valid__isValid(config)) { - config._d = null; - } + if (typeof input === 'string') { + config._i = input = config._locale.preparse(input); + } - return config; + if (isMoment(input)) { + return new Moment(checkOverflow(input)); + } else if (isDate(input)) { + config._d = input; + } else if (isArray(format)) { + configFromStringAndArray(config); + } else if (format) { + configFromStringAndFormat(config); + } else { + configFromInput(config); } - function configFromInput(config) { - var input = config._i; - if (input === undefined) { - config._d = new Date(utils_hooks__hooks.now()); - } else if (isDate(input)) { - config._d = new Date(input.valueOf()); - } else if (typeof input === 'string') { - configFromString(config); - } else if (isArray(input)) { - config._a = map(input.slice(0), function (obj) { - return parseInt(obj, 10); - }); - configFromArray(config); - } else if (typeof(input) === 'object') { - configFromObject(config); - } else if (typeof(input) === 'number') { - // from milliseconds - config._d = new Date(input); - } else { - utils_hooks__hooks.createFromInputFallback(config); - } + if (!isValid(config)) { + config._d = null; } - function createLocalOrUTC (input, format, locale, strict, isUTC) { - var c = {}; + return config; + } - if (typeof(locale) === 'boolean') { - strict = locale; - locale = undefined; - } + function configFromInput(config) { + var input = config._i; + if (isUndefined(input)) { + config._d = new Date(hooks.now()); + } else if (isDate(input)) { + config._d = new Date(input.valueOf()); + } else if (typeof input === 'string') { + configFromString(config); + } else if (isArray(input)) { + config._a = map(input.slice(0), function (obj) { + return parseInt(obj, 10); + }); + configFromArray(config); + } else if (isObject(input)) { + configFromObject(config); + } else if (isNumber(input)) { + // from milliseconds + config._d = new Date(input); + } else { + hooks.createFromInputFallback(config); + } + } - if ((isObject(input) && isObjectEmpty(input)) || - (isArray(input) && input.length === 0)) { - input = undefined; - } - // object construction must be done this way. - // https://github.com/moment/moment/issues/1423 - c._isAMomentObject = true; - c._useUTC = c._isUTC = isUTC; - c._l = locale; - c._i = input; - c._f = format; - c._strict = strict; + function createLocalOrUTC (input, format, locale, strict, isUTC) { + var c = {}; - return createFromConfig(c); + if (locale === true || locale === false) { + strict = locale; + locale = undefined; } - function local__createLocal (input, format, locale, strict) { - return createLocalOrUTC(input, format, locale, strict, false); + if ((isObject(input) && isObjectEmpty(input)) || + (isArray(input) && input.length === 0)) { + input = undefined; } + // object construction must be done this way. + // https://github.com/moment/moment/issues/1423 + c._isAMomentObject = true; + c._useUTC = c._isUTC = isUTC; + c._l = locale; + c._i = input; + c._f = format; + c._strict = strict; - var prototypeMin = deprecate( - 'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', - function () { - var other = local__createLocal.apply(null, arguments); - if (this.isValid() && other.isValid()) { - return other < this ? this : other; - } else { - return valid__createInvalid(); - } - } - ); + return createFromConfig(c); + } - var prototypeMax = deprecate( - 'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', - function () { - var other = local__createLocal.apply(null, arguments); - if (this.isValid() && other.isValid()) { - return other > this ? this : other; - } else { - return valid__createInvalid(); - } - } - ); + function createLocal (input, format, locale, strict) { + return createLocalOrUTC(input, format, locale, strict, false); + } - // Pick a moment m from moments so that m[fn](other) is true for all - // other. This relies on the function fn to be transitive. - // - // moments should either be an array of moment objects or an array, whose - // first element is an array of moment objects. - function pickBy(fn, moments) { - var res, i; - if (moments.length === 1 && isArray(moments[0])) { - moments = moments[0]; - } - if (!moments.length) { - return local__createLocal(); - } - res = moments[0]; - for (i = 1; i < moments.length; ++i) { - if (!moments[i].isValid() || moments[i][fn](res)) { - res = moments[i]; - } + var prototypeMin = deprecate( + 'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', + function () { + var other = createLocal.apply(null, arguments); + if (this.isValid() && other.isValid()) { + return other < this ? this : other; + } else { + return createInvalid(); } - return res; } + ); - // TODO: Use [].sort instead? - function min () { - var args = [].slice.call(arguments, 0); - - return pickBy('isBefore', args); + var prototypeMax = deprecate( + 'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', + function () { + var other = createLocal.apply(null, arguments); + if (this.isValid() && other.isValid()) { + return other > this ? this : other; + } else { + return createInvalid(); + } } + ); - function max () { - var args = [].slice.call(arguments, 0); - - return pickBy('isAfter', args); + // Pick a moment m from moments so that m[fn](other) is true for all + // other. This relies on the function fn to be transitive. + // + // moments should either be an array of moment objects or an array, whose + // first element is an array of moment objects. + function pickBy(fn, moments) { + var res, i; + if (moments.length === 1 && isArray(moments[0])) { + moments = moments[0]; + } + if (!moments.length) { + return createLocal(); + } + res = moments[0]; + for (i = 1; i < moments.length; ++i) { + if (!moments[i].isValid() || moments[i][fn](res)) { + res = moments[i]; + } } + return res; + } - var now = function () { - return Date.now ? Date.now() : +(new Date()); - }; + // TODO: Use [].sort instead? + function min () { + var args = [].slice.call(arguments, 0); - function Duration (duration) { - var normalizedInput = normalizeObjectUnits(duration), - years = normalizedInput.year || 0, - quarters = normalizedInput.quarter || 0, - months = normalizedInput.month || 0, - weeks = normalizedInput.week || 0, - days = normalizedInput.day || 0, - hours = normalizedInput.hour || 0, - minutes = normalizedInput.minute || 0, - seconds = normalizedInput.second || 0, - milliseconds = normalizedInput.millisecond || 0; + return pickBy('isBefore', args); + } - // representation for dateAddRemove - this._milliseconds = +milliseconds + - seconds * 1e3 + // 1000 - minutes * 6e4 + // 1000 * 60 - hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978 - // Because of dateAddRemove treats 24 hours as different from a - // day when working around DST, we need to store them separately - this._days = +days + - weeks * 7; - // It is impossible translate months into days without knowing - // which months you are are talking about, so we have to store - // it separately. - this._months = +months + - quarters * 3 + - years * 12; + function max () { + var args = [].slice.call(arguments, 0); - this._data = {}; + return pickBy('isAfter', args); + } - this._locale = locale_locales__getLocale(); + var now = function () { + return Date.now ? Date.now() : +(new Date()); + }; - this._bubble(); - } + var ordering = ['year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', 'millisecond']; - function isDuration (obj) { - return obj instanceof Duration; + function isDurationValid(m) { + for (var key in m) { + if (!(ordering.indexOf(key) !== -1 && (m[key] == null || !isNaN(m[key])))) { + return false; + } } - function absRound (number) { - if (number < 0) { - return Math.round(-1 * number) * -1; - } else { - return Math.round(number); + var unitHasDecimal = false; + for (var i = 0; i < ordering.length; ++i) { + if (m[ordering[i]]) { + if (unitHasDecimal) { + return false; // only allow non-integers for smallest unit + } + if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) { + unitHasDecimal = true; + } } } - // FORMATTING + return true; + } - function offset (token, separator) { - addFormatToken(token, 0, 0, function () { - var offset = this.utcOffset(); - var sign = '+'; - if (offset < 0) { - offset = -offset; - sign = '-'; - } - return sign + zeroFill(~~(offset / 60), 2) + separator + zeroFill(~~(offset) % 60, 2); - }); - } + function isValid$1() { + return this._isValid; + } + + function createInvalid$1() { + return createDuration(NaN); + } - offset('Z', ':'); - offset('ZZ', ''); + function Duration (duration) { + var normalizedInput = normalizeObjectUnits(duration), + years = normalizedInput.year || 0, + quarters = normalizedInput.quarter || 0, + months = normalizedInput.month || 0, + weeks = normalizedInput.week || 0, + days = normalizedInput.day || 0, + hours = normalizedInput.hour || 0, + minutes = normalizedInput.minute || 0, + seconds = normalizedInput.second || 0, + milliseconds = normalizedInput.millisecond || 0; - // PARSING + this._isValid = isDurationValid(normalizedInput); - addRegexToken('Z', matchShortOffset); - addRegexToken('ZZ', matchShortOffset); - addParseToken(['Z', 'ZZ'], function (input, array, config) { - config._useUTC = true; - config._tzm = offsetFromString(matchShortOffset, input); - }); + // representation for dateAddRemove + this._milliseconds = +milliseconds + + seconds * 1e3 + // 1000 + minutes * 6e4 + // 1000 * 60 + hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978 + // Because of dateAddRemove treats 24 hours as different from a + // day when working around DST, we need to store them separately + this._days = +days + + weeks * 7; + // It is impossible translate months into days without knowing + // which months you are are talking about, so we have to store + // it separately. + this._months = +months + + quarters * 3 + + years * 12; - // HELPERS + this._data = {}; - // timezone chunker - // '+10:00' > ['10', '00'] - // '-1530' > ['-15', '30'] - var chunkOffset = /([\+\-]|\d\d)/gi; + this._locale = getLocale(); + + this._bubble(); + } - function offsetFromString(matcher, string) { - var matches = ((string || '').match(matcher) || []); - var chunk = matches[matches.length - 1] || []; - var parts = (chunk + '').match(chunkOffset) || ['-', 0, 0]; - var minutes = +(parts[1] * 60) + toInt(parts[2]); + function isDuration (obj) { + return obj instanceof Duration; + } - return parts[0] === '+' ? minutes : -minutes; + function absRound (number) { + if (number < 0) { + return Math.round(-1 * number) * -1; + } else { + return Math.round(number); } + } - // Return a moment from input, that is local/utc/zone equivalent to model. - function cloneWithOffset(input, model) { - var res, diff; - if (model._isUTC) { - res = model.clone(); - diff = (isMoment(input) || isDate(input) ? input.valueOf() : local__createLocal(input).valueOf()) - res.valueOf(); - // Use low-level api, because this fn is low-level api. - res._d.setTime(res._d.valueOf() + diff); - utils_hooks__hooks.updateOffset(res, false); - return res; - } else { - return local__createLocal(input).local(); + // FORMATTING + + function offset (token, separator) { + addFormatToken(token, 0, 0, function () { + var offset = this.utcOffset(); + var sign = '+'; + if (offset < 0) { + offset = -offset; + sign = '-'; } - } + return sign + zeroFill(~~(offset / 60), 2) + separator + zeroFill(~~(offset) % 60, 2); + }); + } - function getDateOffset (m) { - // On Firefox.24 Date#getTimezoneOffset returns a floating point. - // https://github.com/moment/moment/pull/1871 - return -Math.round(m._d.getTimezoneOffset() / 15) * 15; - } + offset('Z', ':'); + offset('ZZ', ''); - // HOOKS + // PARSING - // This function will be called whenever a moment is mutated. - // It is intended to keep the offset in sync with the timezone. - utils_hooks__hooks.updateOffset = function () {}; + addRegexToken('Z', matchShortOffset); + addRegexToken('ZZ', matchShortOffset); + addParseToken(['Z', 'ZZ'], function (input, array, config) { + config._useUTC = true; + config._tzm = offsetFromString(matchShortOffset, input); + }); - // MOMENTS + // HELPERS - // keepLocalTime = true means only change the timezone, without - // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]--> - // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset - // +0200, so we adjust the time as needed, to be valid. - // - // Keeping the time actually adds/subtracts (one hour) - // from the actual represented time. That is why we call updateOffset - // a second time. In case it wants us to change the offset again - // _changeInProgress == true case, then we have to adjust, because - // there is no such time in the given timezone. - function getSetOffset (input, keepLocalTime) { - var offset = this._offset || 0, - localAdjust; - if (!this.isValid()) { - return input != null ? this : NaN; - } - if (input != null) { - if (typeof input === 'string') { - input = offsetFromString(matchShortOffset, input); - } else if (Math.abs(input) < 16) { - input = input * 60; - } - if (!this._isUTC && keepLocalTime) { - localAdjust = getDateOffset(this); - } - this._offset = input; - this._isUTC = true; - if (localAdjust != null) { - this.add(localAdjust, 'm'); - } - if (offset !== input) { - if (!keepLocalTime || this._changeInProgress) { - add_subtract__addSubtract(this, create__createDuration(input - offset, 'm'), 1, false); - } else if (!this._changeInProgress) { - this._changeInProgress = true; - utils_hooks__hooks.updateOffset(this, true); - this._changeInProgress = null; - } - } - return this; - } else { - return this._isUTC ? offset : getDateOffset(this); - } + // timezone chunker + // '+10:00' > ['10', '00'] + // '-1530' > ['-15', '30'] + var chunkOffset = /([\+\-]|\d\d)/gi; + + function offsetFromString(matcher, string) { + var matches = (string || '').match(matcher); + + if (matches === null) { + return null; } - function getSetZone (input, keepLocalTime) { - if (input != null) { - if (typeof input !== 'string') { - input = -input; - } + var chunk = matches[matches.length - 1] || []; + var parts = (chunk + '').match(chunkOffset) || ['-', 0, 0]; + var minutes = +(parts[1] * 60) + toInt(parts[2]); - this.utcOffset(input, keepLocalTime); + return minutes === 0 ? + 0 : + parts[0] === '+' ? minutes : -minutes; + } - return this; - } else { - return -this.utcOffset(); - } + // Return a moment from input, that is local/utc/zone equivalent to model. + function cloneWithOffset(input, model) { + var res, diff; + if (model._isUTC) { + res = model.clone(); + diff = (isMoment(input) || isDate(input) ? input.valueOf() : createLocal(input).valueOf()) - res.valueOf(); + // Use low-level api, because this fn is low-level api. + res._d.setTime(res._d.valueOf() + diff); + hooks.updateOffset(res, false); + return res; + } else { + return createLocal(input).local(); } + } - function setOffsetToUTC (keepLocalTime) { - return this.utcOffset(0, keepLocalTime); - } + function getDateOffset (m) { + // On Firefox.24 Date#getTimezoneOffset returns a floating point. + // https://github.com/moment/moment/pull/1871 + return -Math.round(m._d.getTimezoneOffset() / 15) * 15; + } - function setOffsetToLocal (keepLocalTime) { - if (this._isUTC) { - this.utcOffset(0, keepLocalTime); - this._isUTC = false; + // HOOKS - if (keepLocalTime) { - this.subtract(getDateOffset(this), 'm'); - } - } - return this; - } + // This function will be called whenever a moment is mutated. + // It is intended to keep the offset in sync with the timezone. + hooks.updateOffset = function () {}; - function setOffsetToParsedOffset () { - if (this._tzm) { - this.utcOffset(this._tzm); - } else if (typeof this._i === 'string') { - var tZone = offsetFromString(matchOffset, this._i); + // MOMENTS - if (tZone === 0) { - this.utcOffset(0, true); - } else { - this.utcOffset(offsetFromString(matchOffset, this._i)); + // keepLocalTime = true means only change the timezone, without + // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]--> + // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset + // +0200, so we adjust the time as needed, to be valid. + // + // Keeping the time actually adds/subtracts (one hour) + // from the actual represented time. That is why we call updateOffset + // a second time. In case it wants us to change the offset again + // _changeInProgress == true case, then we have to adjust, because + // there is no such time in the given timezone. + function getSetOffset (input, keepLocalTime, keepMinutes) { + var offset = this._offset || 0, + localAdjust; + if (!this.isValid()) { + return input != null ? this : NaN; + } + if (input != null) { + if (typeof input === 'string') { + input = offsetFromString(matchShortOffset, input); + if (input === null) { + return this; + } + } else if (Math.abs(input) < 16 && !keepMinutes) { + input = input * 60; + } + if (!this._isUTC && keepLocalTime) { + localAdjust = getDateOffset(this); + } + this._offset = input; + this._isUTC = true; + if (localAdjust != null) { + this.add(localAdjust, 'm'); + } + if (offset !== input) { + if (!keepLocalTime || this._changeInProgress) { + addSubtract(this, createDuration(input - offset, 'm'), 1, false); + } else if (!this._changeInProgress) { + this._changeInProgress = true; + hooks.updateOffset(this, true); + this._changeInProgress = null; } } return this; + } else { + return this._isUTC ? offset : getDateOffset(this); } + } - function hasAlignedHourOffset (input) { - if (!this.isValid()) { - return false; + function getSetZone (input, keepLocalTime) { + if (input != null) { + if (typeof input !== 'string') { + input = -input; } - input = input ? local__createLocal(input).utcOffset() : 0; - return (this.utcOffset() - input) % 60 === 0; + this.utcOffset(input, keepLocalTime); + + return this; + } else { + return -this.utcOffset(); } + } - function isDaylightSavingTime () { - return ( - this.utcOffset() > this.clone().month(0).utcOffset() || - this.utcOffset() > this.clone().month(5).utcOffset() - ); + function setOffsetToUTC (keepLocalTime) { + return this.utcOffset(0, keepLocalTime); + } + + function setOffsetToLocal (keepLocalTime) { + if (this._isUTC) { + this.utcOffset(0, keepLocalTime); + this._isUTC = false; + + if (keepLocalTime) { + this.subtract(getDateOffset(this), 'm'); + } } + return this; + } - function isDaylightSavingTimeShifted () { - if (!isUndefined(this._isDSTShifted)) { - return this._isDSTShifted; + function setOffsetToParsedOffset () { + if (this._tzm != null) { + this.utcOffset(this._tzm, false, true); + } else if (typeof this._i === 'string') { + var tZone = offsetFromString(matchOffset, this._i); + if (tZone != null) { + this.utcOffset(tZone); } + else { + this.utcOffset(0, true); + } + } + return this; + } - var c = {}; + function hasAlignedHourOffset (input) { + if (!this.isValid()) { + return false; + } + input = input ? createLocal(input).utcOffset() : 0; - copyConfig(c, this); - c = prepareConfig(c); + return (this.utcOffset() - input) % 60 === 0; + } - if (c._a) { - var other = c._isUTC ? create_utc__createUTC(c._a) : local__createLocal(c._a); - this._isDSTShifted = this.isValid() && - compareArrays(c._a, other.toArray()) > 0; - } else { - this._isDSTShifted = false; - } + function isDaylightSavingTime () { + return ( + this.utcOffset() > this.clone().month(0).utcOffset() || + this.utcOffset() > this.clone().month(5).utcOffset() + ); + } + function isDaylightSavingTimeShifted () { + if (!isUndefined(this._isDSTShifted)) { return this._isDSTShifted; } - function isLocal () { - return this.isValid() ? !this._isUTC : false; - } + var c = {}; - function isUtcOffset () { - return this.isValid() ? this._isUTC : false; - } + copyConfig(c, this); + c = prepareConfig(c); - function isUtc () { - return this.isValid() ? this._isUTC && this._offset === 0 : false; + if (c._a) { + var other = c._isUTC ? createUTC(c._a) : createLocal(c._a); + this._isDSTShifted = this.isValid() && + compareArrays(c._a, other.toArray()) > 0; + } else { + this._isDSTShifted = false; } - // ASP.NET json date format regex - var aspNetRegex = /^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/; + return this._isDSTShifted; + } + + function isLocal () { + return this.isValid() ? !this._isUTC : false; + } + + function isUtcOffset () { + return this.isValid() ? this._isUTC : false; + } - // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html - // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere - // and further modified to allow for strings containing both week and day - var isoRegex = /^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/; + function isUtc () { + return this.isValid() ? this._isUTC && this._offset === 0 : false; + } - function create__createDuration (input, key) { - var duration = input, - // matching against regexp is expensive, do it on demand - match = null, - sign, - ret, - diffRes; + // ASP.NET json date format regex + var aspNetRegex = /^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/; - if (isDuration(input)) { - duration = { - ms : input._milliseconds, - d : input._days, - M : input._months - }; - } else if (typeof input === 'number') { - duration = {}; - if (key) { - duration[key] = input; - } else { - duration.milliseconds = input; - } - } else if (!!(match = aspNetRegex.exec(input))) { - sign = (match[1] === '-') ? -1 : 1; - duration = { - y : 0, - d : toInt(match[DATE]) * sign, - h : toInt(match[HOUR]) * sign, - m : toInt(match[MINUTE]) * sign, - s : toInt(match[SECOND]) * sign, - ms : toInt(absRound(match[MILLISECOND] * 1000)) * sign // the millisecond decimal point is included in the match - }; - } else if (!!(match = isoRegex.exec(input))) { - sign = (match[1] === '-') ? -1 : 1; - duration = { - y : parseIso(match[2], sign), - M : parseIso(match[3], sign), - w : parseIso(match[4], sign), - d : parseIso(match[5], sign), - h : parseIso(match[6], sign), - m : parseIso(match[7], sign), - s : parseIso(match[8], sign) - }; - } else if (duration == null) {// checks for null or undefined - duration = {}; - } else if (typeof duration === 'object' && ('from' in duration || 'to' in duration)) { - diffRes = momentsDifference(local__createLocal(duration.from), local__createLocal(duration.to)); + // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html + // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere + // and further modified to allow for strings containing both week and day + var isoRegex = /^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/; + + function createDuration (input, key) { + var duration = input, + // matching against regexp is expensive, do it on demand + match = null, + sign, + ret, + diffRes; - duration = {}; - duration.ms = diffRes.milliseconds; - duration.M = diffRes.months; + if (isDuration(input)) { + duration = { + ms : input._milliseconds, + d : input._days, + M : input._months + }; + } else if (isNumber(input)) { + duration = {}; + if (key) { + duration[key] = input; + } else { + duration.milliseconds = input; } + } else if (!!(match = aspNetRegex.exec(input))) { + sign = (match[1] === '-') ? -1 : 1; + duration = { + y : 0, + d : toInt(match[DATE]) * sign, + h : toInt(match[HOUR]) * sign, + m : toInt(match[MINUTE]) * sign, + s : toInt(match[SECOND]) * sign, + ms : toInt(absRound(match[MILLISECOND] * 1000)) * sign // the millisecond decimal point is included in the match + }; + } else if (!!(match = isoRegex.exec(input))) { + sign = (match[1] === '-') ? -1 : 1; + duration = { + y : parseIso(match[2], sign), + M : parseIso(match[3], sign), + w : parseIso(match[4], sign), + d : parseIso(match[5], sign), + h : parseIso(match[6], sign), + m : parseIso(match[7], sign), + s : parseIso(match[8], sign) + }; + } else if (duration == null) {// checks for null or undefined + duration = {}; + } else if (typeof duration === 'object' && ('from' in duration || 'to' in duration)) { + diffRes = momentsDifference(createLocal(duration.from), createLocal(duration.to)); - ret = new Duration(duration); + duration = {}; + duration.ms = diffRes.milliseconds; + duration.M = diffRes.months; + } - if (isDuration(input) && hasOwnProp(input, '_locale')) { - ret._locale = input._locale; - } + ret = new Duration(duration); - return ret; + if (isDuration(input) && hasOwnProp(input, '_locale')) { + ret._locale = input._locale; } - create__createDuration.fn = Duration.prototype; + return ret; + } + + createDuration.fn = Duration.prototype; + createDuration.invalid = createInvalid$1; + + function parseIso (inp, sign) { + // We'd normally use ~~inp for this, but unfortunately it also + // converts floats to ints. + // inp may be undefined, so careful calling replace on it. + var res = inp && parseFloat(inp.replace(',', '.')); + // apply sign while we're at it + return (isNaN(res) ? 0 : res) * sign; + } + + function positiveMomentsDifference(base, other) { + var res = {milliseconds: 0, months: 0}; - function parseIso (inp, sign) { - // We'd normally use ~~inp for this, but unfortunately it also - // converts floats to ints. - // inp may be undefined, so careful calling replace on it. - var res = inp && parseFloat(inp.replace(',', '.')); - // apply sign while we're at it - return (isNaN(res) ? 0 : res) * sign; + res.months = other.month() - base.month() + + (other.year() - base.year()) * 12; + if (base.clone().add(res.months, 'M').isAfter(other)) { + --res.months; } - function positiveMomentsDifference(base, other) { - var res = {milliseconds: 0, months: 0}; + res.milliseconds = +other - +(base.clone().add(res.months, 'M')); - res.months = other.month() - base.month() + - (other.year() - base.year()) * 12; - if (base.clone().add(res.months, 'M').isAfter(other)) { - --res.months; - } + return res; + } - res.milliseconds = +other - +(base.clone().add(res.months, 'M')); + function momentsDifference(base, other) { + var res; + if (!(base.isValid() && other.isValid())) { + return {milliseconds: 0, months: 0}; + } - return res; + other = cloneWithOffset(other, base); + if (base.isBefore(other)) { + res = positiveMomentsDifference(base, other); + } else { + res = positiveMomentsDifference(other, base); + res.milliseconds = -res.milliseconds; + res.months = -res.months; } - function momentsDifference(base, other) { - var res; - if (!(base.isValid() && other.isValid())) { - return {milliseconds: 0, months: 0}; - } + return res; + } - other = cloneWithOffset(other, base); - if (base.isBefore(other)) { - res = positiveMomentsDifference(base, other); - } else { - res = positiveMomentsDifference(other, base); - res.milliseconds = -res.milliseconds; - res.months = -res.months; + // TODO: remove 'name' arg after deprecation is removed + function createAdder(direction, name) { + return function (val, period) { + var dur, tmp; + //invert the arguments, but complain about it + if (period !== null && !isNaN(+period)) { + deprecateSimple(name, 'moment().' + name + '(period, number) is deprecated. Please use moment().' + name + '(number, period). ' + + 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.'); + tmp = val; val = period; period = tmp; } - return res; + val = typeof val === 'string' ? +val : val; + dur = createDuration(val, period); + addSubtract(this, dur, direction); + return this; + }; + } + + function addSubtract (mom, duration, isAdding, updateOffset) { + var milliseconds = duration._milliseconds, + days = absRound(duration._days), + months = absRound(duration._months); + + if (!mom.isValid()) { + // No op + return; } - // TODO: remove 'name' arg after deprecation is removed - function createAdder(direction, name) { - return function (val, period) { - var dur, tmp; - //invert the arguments, but complain about it - if (period !== null && !isNaN(+period)) { - deprecateSimple(name, 'moment().' + name + '(period, number) is deprecated. Please use moment().' + name + '(number, period). ' + - 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.'); - tmp = val; val = period; period = tmp; - } + updateOffset = updateOffset == null ? true : updateOffset; - val = typeof val === 'string' ? +val : val; - dur = create__createDuration(val, period); - add_subtract__addSubtract(this, dur, direction); - return this; - }; + if (milliseconds) { + mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding); + } + if (days) { + set$1(mom, 'Date', get(mom, 'Date') + days * isAdding); + } + if (months) { + setMonth(mom, get(mom, 'Month') + months * isAdding); + } + if (updateOffset) { + hooks.updateOffset(mom, days || months); } + } - function add_subtract__addSubtract (mom, duration, isAdding, updateOffset) { - var milliseconds = duration._milliseconds, - days = absRound(duration._days), - months = absRound(duration._months); + var add = createAdder(1, 'add'); + var subtract = createAdder(-1, 'subtract'); - if (!mom.isValid()) { - // No op - return; - } + function getCalendarFormat(myMoment, now) { + var diff = myMoment.diff(now, 'days', true); + return diff < -6 ? 'sameElse' : + diff < -1 ? 'lastWeek' : + diff < 0 ? 'lastDay' : + diff < 1 ? 'sameDay' : + diff < 2 ? 'nextDay' : + diff < 7 ? 'nextWeek' : 'sameElse'; + } - updateOffset = updateOffset == null ? true : updateOffset; + function calendar$1 (time, formats) { + // We want to compare the start of today, vs this. + // Getting start-of-today depends on whether we're local/utc/offset or not. + var now = time || createLocal(), + sod = cloneWithOffset(now, this).startOf('day'), + format = hooks.calendarFormat(this, sod) || 'sameElse'; - if (milliseconds) { - mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding); - } - if (days) { - get_set__set(mom, 'Date', get_set__get(mom, 'Date') + days * isAdding); - } - if (months) { - setMonth(mom, get_set__get(mom, 'Month') + months * isAdding); - } - if (updateOffset) { - utils_hooks__hooks.updateOffset(mom, days || months); - } - } + var output = formats && (isFunction(formats[format]) ? formats[format].call(this, now) : formats[format]); + + return this.format(output || this.localeData().calendar(format, this, createLocal(now))); + } - var add_subtract__add = createAdder(1, 'add'); - var add_subtract__subtract = createAdder(-1, 'subtract'); + function clone () { + return new Moment(this); + } - function getCalendarFormat(myMoment, now) { - var diff = myMoment.diff(now, 'days', true); - return diff < -6 ? 'sameElse' : - diff < -1 ? 'lastWeek' : - diff < 0 ? 'lastDay' : - diff < 1 ? 'sameDay' : - diff < 2 ? 'nextDay' : - diff < 7 ? 'nextWeek' : 'sameElse'; + function isAfter (input, units) { + var localInput = isMoment(input) ? input : createLocal(input); + if (!(this.isValid() && localInput.isValid())) { + return false; + } + units = normalizeUnits(!isUndefined(units) ? units : 'millisecond'); + if (units === 'millisecond') { + return this.valueOf() > localInput.valueOf(); + } else { + return localInput.valueOf() < this.clone().startOf(units).valueOf(); } + } - function moment_calendar__calendar (time, formats) { - // We want to compare the start of today, vs this. - // Getting start-of-today depends on whether we're local/utc/offset or not. - var now = time || local__createLocal(), - sod = cloneWithOffset(now, this).startOf('day'), - format = utils_hooks__hooks.calendarFormat(this, sod) || 'sameElse'; + function isBefore (input, units) { + var localInput = isMoment(input) ? input : createLocal(input); + if (!(this.isValid() && localInput.isValid())) { + return false; + } + units = normalizeUnits(!isUndefined(units) ? units : 'millisecond'); + if (units === 'millisecond') { + return this.valueOf() < localInput.valueOf(); + } else { + return this.clone().endOf(units).valueOf() < localInput.valueOf(); + } + } - var output = formats && (isFunction(formats[format]) ? formats[format].call(this, now) : formats[format]); + function isBetween (from, to, units, inclusivity) { + inclusivity = inclusivity || '()'; + return (inclusivity[0] === '(' ? this.isAfter(from, units) : !this.isBefore(from, units)) && + (inclusivity[1] === ')' ? this.isBefore(to, units) : !this.isAfter(to, units)); + } - return this.format(output || this.localeData().calendar(format, this, local__createLocal(now))); + function isSame (input, units) { + var localInput = isMoment(input) ? input : createLocal(input), + inputMs; + if (!(this.isValid() && localInput.isValid())) { + return false; } - - function clone () { - return new Moment(this); + units = normalizeUnits(units || 'millisecond'); + if (units === 'millisecond') { + return this.valueOf() === localInput.valueOf(); + } else { + inputMs = localInput.valueOf(); + return this.clone().startOf(units).valueOf() <= inputMs && inputMs <= this.clone().endOf(units).valueOf(); } + } - function isAfter (input, units) { - var localInput = isMoment(input) ? input : local__createLocal(input); - if (!(this.isValid() && localInput.isValid())) { - return false; - } - units = normalizeUnits(!isUndefined(units) ? units : 'millisecond'); - if (units === 'millisecond') { - return this.valueOf() > localInput.valueOf(); - } else { - return localInput.valueOf() < this.clone().startOf(units).valueOf(); - } - } + function isSameOrAfter (input, units) { + return this.isSame(input, units) || this.isAfter(input,units); + } - function isBefore (input, units) { - var localInput = isMoment(input) ? input : local__createLocal(input); - if (!(this.isValid() && localInput.isValid())) { - return false; - } - units = normalizeUnits(!isUndefined(units) ? units : 'millisecond'); - if (units === 'millisecond') { - return this.valueOf() < localInput.valueOf(); - } else { - return this.clone().endOf(units).valueOf() < localInput.valueOf(); - } - } + function isSameOrBefore (input, units) { + return this.isSame(input, units) || this.isBefore(input,units); + } - function isBetween (from, to, units, inclusivity) { - inclusivity = inclusivity || '()'; - return (inclusivity[0] === '(' ? this.isAfter(from, units) : !this.isBefore(from, units)) && - (inclusivity[1] === ')' ? this.isBefore(to, units) : !this.isAfter(to, units)); - } + function diff (input, units, asFloat) { + var that, + zoneDelta, + delta, output; - function isSame (input, units) { - var localInput = isMoment(input) ? input : local__createLocal(input), - inputMs; - if (!(this.isValid() && localInput.isValid())) { - return false; - } - units = normalizeUnits(units || 'millisecond'); - if (units === 'millisecond') { - return this.valueOf() === localInput.valueOf(); - } else { - inputMs = localInput.valueOf(); - return this.clone().startOf(units).valueOf() <= inputMs && inputMs <= this.clone().endOf(units).valueOf(); - } + if (!this.isValid()) { + return NaN; } - function isSameOrAfter (input, units) { - return this.isSame(input, units) || this.isAfter(input,units); - } + that = cloneWithOffset(input, this); - function isSameOrBefore (input, units) { - return this.isSame(input, units) || this.isBefore(input,units); + if (!that.isValid()) { + return NaN; } - function diff (input, units, asFloat) { - var that, - zoneDelta, - delta, output; - - if (!this.isValid()) { - return NaN; - } + zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4; - that = cloneWithOffset(input, this); + units = normalizeUnits(units); - if (!that.isValid()) { - return NaN; + if (units === 'year' || units === 'month' || units === 'quarter') { + output = monthDiff(this, that); + if (units === 'quarter') { + output = output / 3; + } else if (units === 'year') { + output = output / 12; } + } else { + delta = this - that; + output = units === 'second' ? delta / 1e3 : // 1000 + units === 'minute' ? delta / 6e4 : // 1000 * 60 + units === 'hour' ? delta / 36e5 : // 1000 * 60 * 60 + units === 'day' ? (delta - zoneDelta) / 864e5 : // 1000 * 60 * 60 * 24, negate dst + units === 'week' ? (delta - zoneDelta) / 6048e5 : // 1000 * 60 * 60 * 24 * 7, negate dst + delta; + } + return asFloat ? output : absFloor(output); + } + + function monthDiff (a, b) { + // difference in months + var wholeMonthDiff = ((b.year() - a.year()) * 12) + (b.month() - a.month()), + // b is in (anchor - 1 month, anchor + 1 month) + anchor = a.clone().add(wholeMonthDiff, 'months'), + anchor2, adjust; + + if (b - anchor < 0) { + anchor2 = a.clone().add(wholeMonthDiff - 1, 'months'); + // linear across the month + adjust = (b - anchor) / (anchor - anchor2); + } else { + anchor2 = a.clone().add(wholeMonthDiff + 1, 'months'); + // linear across the month + adjust = (b - anchor) / (anchor2 - anchor); + } - zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4; + //check for negative zero, return zero if negative zero + return -(wholeMonthDiff + adjust) || 0; + } - units = normalizeUnits(units); + hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ'; + hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]'; - if (units === 'year' || units === 'month' || units === 'quarter') { - output = monthDiff(this, that); - if (units === 'quarter') { - output = output / 3; - } else if (units === 'year') { - output = output / 12; - } - } else { - delta = this - that; - output = units === 'second' ? delta / 1e3 : // 1000 - units === 'minute' ? delta / 6e4 : // 1000 * 60 - units === 'hour' ? delta / 36e5 : // 1000 * 60 * 60 - units === 'day' ? (delta - zoneDelta) / 864e5 : // 1000 * 60 * 60 * 24, negate dst - units === 'week' ? (delta - zoneDelta) / 6048e5 : // 1000 * 60 * 60 * 24 * 7, negate dst - delta; - } - return asFloat ? output : absFloor(output); - } - - function monthDiff (a, b) { - // difference in months - var wholeMonthDiff = ((b.year() - a.year()) * 12) + (b.month() - a.month()), - // b is in (anchor - 1 month, anchor + 1 month) - anchor = a.clone().add(wholeMonthDiff, 'months'), - anchor2, adjust; - - if (b - anchor < 0) { - anchor2 = a.clone().add(wholeMonthDiff - 1, 'months'); - // linear across the month - adjust = (b - anchor) / (anchor - anchor2); - } else { - anchor2 = a.clone().add(wholeMonthDiff + 1, 'months'); - // linear across the month - adjust = (b - anchor) / (anchor2 - anchor); - } + function toString () { + return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ'); + } - //check for negative zero, return zero if negative zero - return -(wholeMonthDiff + adjust) || 0; + function toISOString() { + if (!this.isValid()) { + return null; } - - utils_hooks__hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ'; - utils_hooks__hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]'; - - function toString () { - return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ'); + var m = this.clone().utc(); + if (m.year() < 0 || m.year() > 9999) { + return formatMoment(m, 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); } - - function moment_format__toISOString () { - var m = this.clone().utc(); - if (0 < m.year() && m.year() <= 9999) { - if (isFunction(Date.prototype.toISOString)) { - // native implementation is ~50x faster, use it when we can - return this.toDate().toISOString(); - } else { - return formatMoment(m, 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); - } - } else { - return formatMoment(m, 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); - } + if (isFunction(Date.prototype.toISOString)) { + // native implementation is ~50x faster, use it when we can + return this.toDate().toISOString(); } + return formatMoment(m, 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); + } - function format (inputString) { - if (!inputString) { - inputString = this.isUtc() ? utils_hooks__hooks.defaultFormatUtc : utils_hooks__hooks.defaultFormat; - } - var output = formatMoment(this, inputString); - return this.localeData().postformat(output); + /** + * Return a human readable representation of a moment that can + * also be evaluated to get a new moment which is the same + * + * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects + */ + function inspect () { + if (!this.isValid()) { + return 'moment.invalid(/* ' + this._i + ' */)'; } - - function from (time, withoutSuffix) { - if (this.isValid() && - ((isMoment(time) && time.isValid()) || - local__createLocal(time).isValid())) { - return create__createDuration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix); - } else { - return this.localeData().invalidDate(); - } + var func = 'moment'; + var zone = ''; + if (!this.isLocal()) { + func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone'; + zone = 'Z'; } + var prefix = '[' + func + '("]'; + var year = (0 <= this.year() && this.year() <= 9999) ? 'YYYY' : 'YYYYYY'; + var datetime = '-MM-DD[T]HH:mm:ss.SSS'; + var suffix = zone + '[")]'; - function fromNow (withoutSuffix) { - return this.from(local__createLocal(), withoutSuffix); - } + return this.format(prefix + year + datetime + suffix); + } - function to (time, withoutSuffix) { - if (this.isValid() && - ((isMoment(time) && time.isValid()) || - local__createLocal(time).isValid())) { - return create__createDuration({from: this, to: time}).locale(this.locale()).humanize(!withoutSuffix); - } else { - return this.localeData().invalidDate(); - } + function format (inputString) { + if (!inputString) { + inputString = this.isUtc() ? hooks.defaultFormatUtc : hooks.defaultFormat; } + var output = formatMoment(this, inputString); + return this.localeData().postformat(output); + } - function toNow (withoutSuffix) { - return this.to(local__createLocal(), withoutSuffix); + function from (time, withoutSuffix) { + if (this.isValid() && + ((isMoment(time) && time.isValid()) || + createLocal(time).isValid())) { + return createDuration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix); + } else { + return this.localeData().invalidDate(); } + } - // If passed a locale key, it will set the locale for this - // instance. Otherwise, it will return the locale configuration - // variables for this instance. - function locale (key) { - var newLocaleData; + function fromNow (withoutSuffix) { + return this.from(createLocal(), withoutSuffix); + } - if (key === undefined) { - return this._locale._abbr; - } else { - newLocaleData = locale_locales__getLocale(key); - if (newLocaleData != null) { - this._locale = newLocaleData; - } - return this; - } + function to (time, withoutSuffix) { + if (this.isValid() && + ((isMoment(time) && time.isValid()) || + createLocal(time).isValid())) { + return createDuration({from: this, to: time}).locale(this.locale()).humanize(!withoutSuffix); + } else { + return this.localeData().invalidDate(); } + } - var lang = deprecate( - 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', - function (key) { - if (key === undefined) { - return this.localeData(); - } else { - return this.locale(key); - } - } - ); + function toNow (withoutSuffix) { + return this.to(createLocal(), withoutSuffix); + } - function localeData () { - return this._locale; - } + // If passed a locale key, it will set the locale for this + // instance. Otherwise, it will return the locale configuration + // variables for this instance. + function locale (key) { + var newLocaleData; - function startOf (units) { - units = normalizeUnits(units); - // the following switch intentionally omits break keywords - // to utilize falling through the cases. - switch (units) { - case 'year': - this.month(0); - /* falls through */ - case 'quarter': - case 'month': - this.date(1); - /* falls through */ - case 'week': - case 'isoWeek': - case 'day': - case 'date': - this.hours(0); - /* falls through */ - case 'hour': - this.minutes(0); - /* falls through */ - case 'minute': - this.seconds(0); - /* falls through */ - case 'second': - this.milliseconds(0); - } - - // weeks are a special case - if (units === 'week') { - this.weekday(0); - } - if (units === 'isoWeek') { - this.isoWeekday(1); - } - - // quarters are also special - if (units === 'quarter') { - this.month(Math.floor(this.month() / 3) * 3); + if (key === undefined) { + return this._locale._abbr; + } else { + newLocaleData = getLocale(key); + if (newLocaleData != null) { + this._locale = newLocaleData; } - return this; } + } - function endOf (units) { - units = normalizeUnits(units); - if (units === undefined || units === 'millisecond') { - return this; + var lang = deprecate( + 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', + function (key) { + if (key === undefined) { + return this.localeData(); + } else { + return this.locale(key); } + } + ); - // 'date' is an alias for 'day', so it should be considered as such. - if (units === 'date') { - units = 'day'; - } + function localeData () { + return this._locale; + } - return this.startOf(units).add(1, (units === 'isoWeek' ? 'week' : units)).subtract(1, 'ms'); + function startOf (units) { + units = normalizeUnits(units); + // the following switch intentionally omits break keywords + // to utilize falling through the cases. + switch (units) { + case 'year': + this.month(0); + /* falls through */ + case 'quarter': + case 'month': + this.date(1); + /* falls through */ + case 'week': + case 'isoWeek': + case 'day': + case 'date': + this.hours(0); + /* falls through */ + case 'hour': + this.minutes(0); + /* falls through */ + case 'minute': + this.seconds(0); + /* falls through */ + case 'second': + this.milliseconds(0); } - function to_type__valueOf () { - return this._d.valueOf() - ((this._offset || 0) * 60000); + // weeks are a special case + if (units === 'week') { + this.weekday(0); } - - function unix () { - return Math.floor(this.valueOf() / 1000); + if (units === 'isoWeek') { + this.isoWeekday(1); } - function toDate () { - return new Date(this.valueOf()); + // quarters are also special + if (units === 'quarter') { + this.month(Math.floor(this.month() / 3) * 3); } - function toArray () { - var m = this; - return [m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond()]; - } + return this; + } - function toObject () { - var m = this; - return { - years: m.year(), - months: m.month(), - date: m.date(), - hours: m.hours(), - minutes: m.minutes(), - seconds: m.seconds(), - milliseconds: m.milliseconds() - }; + function endOf (units) { + units = normalizeUnits(units); + if (units === undefined || units === 'millisecond') { + return this; } - function toJSON () { - // new Date(NaN).toJSON() === null - return this.isValid() ? this.toISOString() : null; + // 'date' is an alias for 'day', so it should be considered as such. + if (units === 'date') { + units = 'day'; } - function moment_valid__isValid () { - return valid__isValid(this); - } + return this.startOf(units).add(1, (units === 'isoWeek' ? 'week' : units)).subtract(1, 'ms'); + } - function parsingFlags () { - return extend({}, getParsingFlags(this)); - } + function valueOf () { + return this._d.valueOf() - ((this._offset || 0) * 60000); + } - function invalidAt () { - return getParsingFlags(this).overflow; - } + function unix () { + return Math.floor(this.valueOf() / 1000); + } - function creationData() { - return { - input: this._i, - format: this._f, - locale: this._locale, - isUTC: this._isUTC, - strict: this._strict - }; - } + function toDate () { + return new Date(this.valueOf()); + } - // FORMATTING + function toArray () { + var m = this; + return [m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond()]; + } - addFormatToken(0, ['gg', 2], 0, function () { - return this.weekYear() % 100; - }); + function toObject () { + var m = this; + return { + years: m.year(), + months: m.month(), + date: m.date(), + hours: m.hours(), + minutes: m.minutes(), + seconds: m.seconds(), + milliseconds: m.milliseconds() + }; + } - addFormatToken(0, ['GG', 2], 0, function () { - return this.isoWeekYear() % 100; - }); + function toJSON () { + // new Date(NaN).toJSON() === null + return this.isValid() ? this.toISOString() : null; + } - function addWeekYearFormatToken (token, getter) { - addFormatToken(0, [token, token.length], 0, getter); - } + function isValid$2 () { + return isValid(this); + } - addWeekYearFormatToken('gggg', 'weekYear'); - addWeekYearFormatToken('ggggg', 'weekYear'); - addWeekYearFormatToken('GGGG', 'isoWeekYear'); - addWeekYearFormatToken('GGGGG', 'isoWeekYear'); + function parsingFlags () { + return extend({}, getParsingFlags(this)); + } - // ALIASES + function invalidAt () { + return getParsingFlags(this).overflow; + } - addUnitAlias('weekYear', 'gg'); - addUnitAlias('isoWeekYear', 'GG'); + function creationData() { + return { + input: this._i, + format: this._f, + locale: this._locale, + isUTC: this._isUTC, + strict: this._strict + }; + } - // PRIORITY + // FORMATTING - addUnitPriority('weekYear', 1); - addUnitPriority('isoWeekYear', 1); + addFormatToken(0, ['gg', 2], 0, function () { + return this.weekYear() % 100; + }); + addFormatToken(0, ['GG', 2], 0, function () { + return this.isoWeekYear() % 100; + }); - // PARSING + function addWeekYearFormatToken (token, getter) { + addFormatToken(0, [token, token.length], 0, getter); + } - addRegexToken('G', matchSigned); - addRegexToken('g', matchSigned); - addRegexToken('GG', match1to2, match2); - addRegexToken('gg', match1to2, match2); - addRegexToken('GGGG', match1to4, match4); - addRegexToken('gggg', match1to4, match4); - addRegexToken('GGGGG', match1to6, match6); - addRegexToken('ggggg', match1to6, match6); + addWeekYearFormatToken('gggg', 'weekYear'); + addWeekYearFormatToken('ggggg', 'weekYear'); + addWeekYearFormatToken('GGGG', 'isoWeekYear'); + addWeekYearFormatToken('GGGGG', 'isoWeekYear'); - addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (input, week, config, token) { - week[token.substr(0, 2)] = toInt(input); - }); + // ALIASES - addWeekParseToken(['gg', 'GG'], function (input, week, config, token) { - week[token] = utils_hooks__hooks.parseTwoDigitYear(input); - }); + addUnitAlias('weekYear', 'gg'); + addUnitAlias('isoWeekYear', 'GG'); - // MOMENTS + // PRIORITY - function getSetWeekYear (input) { - return getSetWeekYearHelper.call(this, - input, - this.week(), - this.weekday(), - this.localeData()._week.dow, - this.localeData()._week.doy); - } + addUnitPriority('weekYear', 1); + addUnitPriority('isoWeekYear', 1); - function getSetISOWeekYear (input) { - return getSetWeekYearHelper.call(this, - input, this.isoWeek(), this.isoWeekday(), 1, 4); - } - function getISOWeeksInYear () { - return weeksInYear(this.year(), 1, 4); - } + // PARSING - function getWeeksInYear () { - var weekInfo = this.localeData()._week; - return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy); - } + addRegexToken('G', matchSigned); + addRegexToken('g', matchSigned); + addRegexToken('GG', match1to2, match2); + addRegexToken('gg', match1to2, match2); + addRegexToken('GGGG', match1to4, match4); + addRegexToken('gggg', match1to4, match4); + addRegexToken('GGGGG', match1to6, match6); + addRegexToken('ggggg', match1to6, match6); - function getSetWeekYearHelper(input, week, weekday, dow, doy) { - var weeksTarget; - if (input == null) { - return weekOfYear(this, dow, doy).year; - } else { - weeksTarget = weeksInYear(input, dow, doy); - if (week > weeksTarget) { - week = weeksTarget; - } - return setWeekAll.call(this, input, week, weekday, dow, doy); - } - } + addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (input, week, config, token) { + week[token.substr(0, 2)] = toInt(input); + }); - function setWeekAll(weekYear, week, weekday, dow, doy) { - var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy), - date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear); + addWeekParseToken(['gg', 'GG'], function (input, week, config, token) { + week[token] = hooks.parseTwoDigitYear(input); + }); - this.year(date.getUTCFullYear()); - this.month(date.getUTCMonth()); - this.date(date.getUTCDate()); - return this; + // MOMENTS + + function getSetWeekYear (input) { + return getSetWeekYearHelper.call(this, + input, + this.week(), + this.weekday(), + this.localeData()._week.dow, + this.localeData()._week.doy); + } + + function getSetISOWeekYear (input) { + return getSetWeekYearHelper.call(this, + input, this.isoWeek(), this.isoWeekday(), 1, 4); + } + + function getISOWeeksInYear () { + return weeksInYear(this.year(), 1, 4); + } + + function getWeeksInYear () { + var weekInfo = this.localeData()._week; + return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy); + } + + function getSetWeekYearHelper(input, week, weekday, dow, doy) { + var weeksTarget; + if (input == null) { + return weekOfYear(this, dow, doy).year; + } else { + weeksTarget = weeksInYear(input, dow, doy); + if (week > weeksTarget) { + week = weeksTarget; + } + return setWeekAll.call(this, input, week, weekday, dow, doy); } + } - // FORMATTING + function setWeekAll(weekYear, week, weekday, dow, doy) { + var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy), + date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear); - addFormatToken('Q', 0, 'Qo', 'quarter'); + this.year(date.getUTCFullYear()); + this.month(date.getUTCMonth()); + this.date(date.getUTCDate()); + return this; + } - // ALIASES + // FORMATTING - addUnitAlias('quarter', 'Q'); + addFormatToken('Q', 0, 'Qo', 'quarter'); - // PRIORITY + // ALIASES - addUnitPriority('quarter', 7); + addUnitAlias('quarter', 'Q'); - // PARSING + // PRIORITY - addRegexToken('Q', match1); - addParseToken('Q', function (input, array) { - array[MONTH] = (toInt(input) - 1) * 3; - }); + addUnitPriority('quarter', 7); - // MOMENTS + // PARSING - function getSetQuarter (input) { - return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3); - } + addRegexToken('Q', match1); + addParseToken('Q', function (input, array) { + array[MONTH] = (toInt(input) - 1) * 3; + }); - // FORMATTING + // MOMENTS - addFormatToken('D', ['DD', 2], 'Do', 'date'); + function getSetQuarter (input) { + return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3); + } - // ALIASES + // FORMATTING - addUnitAlias('date', 'D'); + addFormatToken('D', ['DD', 2], 'Do', 'date'); - // PRIOROITY - addUnitPriority('date', 9); + // ALIASES - // PARSING + addUnitAlias('date', 'D'); - addRegexToken('D', match1to2); - addRegexToken('DD', match1to2, match2); - addRegexToken('Do', function (isStrict, locale) { - return isStrict ? locale._ordinalParse : locale._ordinalParseLenient; - }); + // PRIOROITY + addUnitPriority('date', 9); - addParseToken(['D', 'DD'], DATE); - addParseToken('Do', function (input, array) { - array[DATE] = toInt(input.match(match1to2)[0], 10); - }); + // PARSING - // MOMENTS + addRegexToken('D', match1to2); + addRegexToken('DD', match1to2, match2); + addRegexToken('Do', function (isStrict, locale) { + // TODO: Remove "ordinalParse" fallback in next major release. + return isStrict ? + (locale._dayOfMonthOrdinalParse || locale._ordinalParse) : + locale._dayOfMonthOrdinalParseLenient; + }); - var getSetDayOfMonth = makeGetSet('Date', true); + addParseToken(['D', 'DD'], DATE); + addParseToken('Do', function (input, array) { + array[DATE] = toInt(input.match(match1to2)[0], 10); + }); - // FORMATTING + // MOMENTS - addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear'); + var getSetDayOfMonth = makeGetSet('Date', true); - // ALIASES + // FORMATTING - addUnitAlias('dayOfYear', 'DDD'); + addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear'); - // PRIORITY - addUnitPriority('dayOfYear', 4); + // ALIASES - // PARSING + addUnitAlias('dayOfYear', 'DDD'); - addRegexToken('DDD', match1to3); - addRegexToken('DDDD', match3); - addParseToken(['DDD', 'DDDD'], function (input, array, config) { - config._dayOfYear = toInt(input); - }); + // PRIORITY + addUnitPriority('dayOfYear', 4); - // HELPERS + // PARSING - // MOMENTS + addRegexToken('DDD', match1to3); + addRegexToken('DDDD', match3); + addParseToken(['DDD', 'DDDD'], function (input, array, config) { + config._dayOfYear = toInt(input); + }); - function getSetDayOfYear (input) { - var dayOfYear = Math.round((this.clone().startOf('day') - this.clone().startOf('year')) / 864e5) + 1; - return input == null ? dayOfYear : this.add((input - dayOfYear), 'd'); - } + // HELPERS - // FORMATTING + // MOMENTS - addFormatToken('m', ['mm', 2], 0, 'minute'); + function getSetDayOfYear (input) { + var dayOfYear = Math.round((this.clone().startOf('day') - this.clone().startOf('year')) / 864e5) + 1; + return input == null ? dayOfYear : this.add((input - dayOfYear), 'd'); + } - // ALIASES + // FORMATTING - addUnitAlias('minute', 'm'); + addFormatToken('m', ['mm', 2], 0, 'minute'); - // PRIORITY + // ALIASES - addUnitPriority('minute', 14); + addUnitAlias('minute', 'm'); - // PARSING + // PRIORITY - addRegexToken('m', match1to2); - addRegexToken('mm', match1to2, match2); - addParseToken(['m', 'mm'], MINUTE); + addUnitPriority('minute', 14); - // MOMENTS + // PARSING - var getSetMinute = makeGetSet('Minutes', false); + addRegexToken('m', match1to2); + addRegexToken('mm', match1to2, match2); + addParseToken(['m', 'mm'], MINUTE); - // FORMATTING + // MOMENTS - addFormatToken('s', ['ss', 2], 0, 'second'); + var getSetMinute = makeGetSet('Minutes', false); - // ALIASES + // FORMATTING - addUnitAlias('second', 's'); + addFormatToken('s', ['ss', 2], 0, 'second'); - // PRIORITY + // ALIASES - addUnitPriority('second', 15); + addUnitAlias('second', 's'); - // PARSING + // PRIORITY - addRegexToken('s', match1to2); - addRegexToken('ss', match1to2, match2); - addParseToken(['s', 'ss'], SECOND); + addUnitPriority('second', 15); - // MOMENTS + // PARSING - var getSetSecond = makeGetSet('Seconds', false); + addRegexToken('s', match1to2); + addRegexToken('ss', match1to2, match2); + addParseToken(['s', 'ss'], SECOND); - // FORMATTING + // MOMENTS - addFormatToken('S', 0, 0, function () { - return ~~(this.millisecond() / 100); - }); + var getSetSecond = makeGetSet('Seconds', false); - addFormatToken(0, ['SS', 2], 0, function () { - return ~~(this.millisecond() / 10); - }); + // FORMATTING - addFormatToken(0, ['SSS', 3], 0, 'millisecond'); - addFormatToken(0, ['SSSS', 4], 0, function () { - return this.millisecond() * 10; - }); - addFormatToken(0, ['SSSSS', 5], 0, function () { - return this.millisecond() * 100; - }); - addFormatToken(0, ['SSSSSS', 6], 0, function () { - return this.millisecond() * 1000; - }); - addFormatToken(0, ['SSSSSSS', 7], 0, function () { - return this.millisecond() * 10000; - }); - addFormatToken(0, ['SSSSSSSS', 8], 0, function () { - return this.millisecond() * 100000; - }); - addFormatToken(0, ['SSSSSSSSS', 9], 0, function () { - return this.millisecond() * 1000000; - }); + addFormatToken('S', 0, 0, function () { + return ~~(this.millisecond() / 100); + }); + addFormatToken(0, ['SS', 2], 0, function () { + return ~~(this.millisecond() / 10); + }); - // ALIASES + addFormatToken(0, ['SSS', 3], 0, 'millisecond'); + addFormatToken(0, ['SSSS', 4], 0, function () { + return this.millisecond() * 10; + }); + addFormatToken(0, ['SSSSS', 5], 0, function () { + return this.millisecond() * 100; + }); + addFormatToken(0, ['SSSSSS', 6], 0, function () { + return this.millisecond() * 1000; + }); + addFormatToken(0, ['SSSSSSS', 7], 0, function () { + return this.millisecond() * 10000; + }); + addFormatToken(0, ['SSSSSSSS', 8], 0, function () { + return this.millisecond() * 100000; + }); + addFormatToken(0, ['SSSSSSSSS', 9], 0, function () { + return this.millisecond() * 1000000; + }); - addUnitAlias('millisecond', 'ms'); - // PRIORITY + // ALIASES - addUnitPriority('millisecond', 16); + addUnitAlias('millisecond', 'ms'); - // PARSING + // PRIORITY - addRegexToken('S', match1to3, match1); - addRegexToken('SS', match1to3, match2); - addRegexToken('SSS', match1to3, match3); + addUnitPriority('millisecond', 16); - var token; - for (token = 'SSSS'; token.length <= 9; token += 'S') { - addRegexToken(token, matchUnsigned); - } + // PARSING - function parseMs(input, array) { - array[MILLISECOND] = toInt(('0.' + input) * 1000); - } + addRegexToken('S', match1to3, match1); + addRegexToken('SS', match1to3, match2); + addRegexToken('SSS', match1to3, match3); - for (token = 'S'; token.length <= 9; token += 'S') { - addParseToken(token, parseMs); - } - // MOMENTS + var token; + for (token = 'SSSS'; token.length <= 9; token += 'S') { + addRegexToken(token, matchUnsigned); + } - var getSetMillisecond = makeGetSet('Milliseconds', false); + function parseMs(input, array) { + array[MILLISECOND] = toInt(('0.' + input) * 1000); + } - // FORMATTING + for (token = 'S'; token.length <= 9; token += 'S') { + addParseToken(token, parseMs); + } + // MOMENTS - addFormatToken('z', 0, 0, 'zoneAbbr'); - addFormatToken('zz', 0, 0, 'zoneName'); + var getSetMillisecond = makeGetSet('Milliseconds', false); - // MOMENTS + // FORMATTING - function getZoneAbbr () { - return this._isUTC ? 'UTC' : ''; - } + addFormatToken('z', 0, 0, 'zoneAbbr'); + addFormatToken('zz', 0, 0, 'zoneName'); - function getZoneName () { - return this._isUTC ? 'Coordinated Universal Time' : ''; - } + // MOMENTS - var momentPrototype__proto = Moment.prototype; - - momentPrototype__proto.add = add_subtract__add; - momentPrototype__proto.calendar = moment_calendar__calendar; - momentPrototype__proto.clone = clone; - momentPrototype__proto.diff = diff; - momentPrototype__proto.endOf = endOf; - momentPrototype__proto.format = format; - momentPrototype__proto.from = from; - momentPrototype__proto.fromNow = fromNow; - momentPrototype__proto.to = to; - momentPrototype__proto.toNow = toNow; - momentPrototype__proto.get = stringGet; - momentPrototype__proto.invalidAt = invalidAt; - momentPrototype__proto.isAfter = isAfter; - momentPrototype__proto.isBefore = isBefore; - momentPrototype__proto.isBetween = isBetween; - momentPrototype__proto.isSame = isSame; - momentPrototype__proto.isSameOrAfter = isSameOrAfter; - momentPrototype__proto.isSameOrBefore = isSameOrBefore; - momentPrototype__proto.isValid = moment_valid__isValid; - momentPrototype__proto.lang = lang; - momentPrototype__proto.locale = locale; - momentPrototype__proto.localeData = localeData; - momentPrototype__proto.max = prototypeMax; - momentPrototype__proto.min = prototypeMin; - momentPrototype__proto.parsingFlags = parsingFlags; - momentPrototype__proto.set = stringSet; - momentPrototype__proto.startOf = startOf; - momentPrototype__proto.subtract = add_subtract__subtract; - momentPrototype__proto.toArray = toArray; - momentPrototype__proto.toObject = toObject; - momentPrototype__proto.toDate = toDate; - momentPrototype__proto.toISOString = moment_format__toISOString; - momentPrototype__proto.toJSON = toJSON; - momentPrototype__proto.toString = toString; - momentPrototype__proto.unix = unix; - momentPrototype__proto.valueOf = to_type__valueOf; - momentPrototype__proto.creationData = creationData; + function getZoneAbbr () { + return this._isUTC ? 'UTC' : ''; + } - // Year - momentPrototype__proto.year = getSetYear; - momentPrototype__proto.isLeapYear = getIsLeapYear; + function getZoneName () { + return this._isUTC ? 'Coordinated Universal Time' : ''; + } - // Week Year - momentPrototype__proto.weekYear = getSetWeekYear; - momentPrototype__proto.isoWeekYear = getSetISOWeekYear; + var proto = Moment.prototype; + + proto.add = add; + proto.calendar = calendar$1; + proto.clone = clone; + proto.diff = diff; + proto.endOf = endOf; + proto.format = format; + proto.from = from; + proto.fromNow = fromNow; + proto.to = to; + proto.toNow = toNow; + proto.get = stringGet; + proto.invalidAt = invalidAt; + proto.isAfter = isAfter; + proto.isBefore = isBefore; + proto.isBetween = isBetween; + proto.isSame = isSame; + proto.isSameOrAfter = isSameOrAfter; + proto.isSameOrBefore = isSameOrBefore; + proto.isValid = isValid$2; + proto.lang = lang; + proto.locale = locale; + proto.localeData = localeData; + proto.max = prototypeMax; + proto.min = prototypeMin; + proto.parsingFlags = parsingFlags; + proto.set = stringSet; + proto.startOf = startOf; + proto.subtract = subtract; + proto.toArray = toArray; + proto.toObject = toObject; + proto.toDate = toDate; + proto.toISOString = toISOString; + proto.inspect = inspect; + proto.toJSON = toJSON; + proto.toString = toString; + proto.unix = unix; + proto.valueOf = valueOf; + proto.creationData = creationData; - // Quarter - momentPrototype__proto.quarter = momentPrototype__proto.quarters = getSetQuarter; + // Year + proto.year = getSetYear; + proto.isLeapYear = getIsLeapYear; + + // Week Year + proto.weekYear = getSetWeekYear; + proto.isoWeekYear = getSetISOWeekYear; + + // Quarter + proto.quarter = proto.quarters = getSetQuarter; - // Month - momentPrototype__proto.month = getSetMonth; - momentPrototype__proto.daysInMonth = getDaysInMonth; + // Month + proto.month = getSetMonth; + proto.daysInMonth = getDaysInMonth; + + // Week + proto.week = proto.weeks = getSetWeek; + proto.isoWeek = proto.isoWeeks = getSetISOWeek; + proto.weeksInYear = getWeeksInYear; + proto.isoWeeksInYear = getISOWeeksInYear; + + // Day + proto.date = getSetDayOfMonth; + proto.day = proto.days = getSetDayOfWeek; + proto.weekday = getSetLocaleDayOfWeek; + proto.isoWeekday = getSetISODayOfWeek; + proto.dayOfYear = getSetDayOfYear; + + // Hour + proto.hour = proto.hours = getSetHour; + + // Minute + proto.minute = proto.minutes = getSetMinute; + + // Second + proto.second = proto.seconds = getSetSecond; + + // Millisecond + proto.millisecond = proto.milliseconds = getSetMillisecond; + + // Offset + proto.utcOffset = getSetOffset; + proto.utc = setOffsetToUTC; + proto.local = setOffsetToLocal; + proto.parseZone = setOffsetToParsedOffset; + proto.hasAlignedHourOffset = hasAlignedHourOffset; + proto.isDST = isDaylightSavingTime; + proto.isLocal = isLocal; + proto.isUtcOffset = isUtcOffset; + proto.isUtc = isUtc; + proto.isUTC = isUtc; + + // Timezone + proto.zoneAbbr = getZoneAbbr; + proto.zoneName = getZoneName; + + // Deprecations + proto.dates = deprecate('dates accessor is deprecated. Use date instead.', getSetDayOfMonth); + proto.months = deprecate('months accessor is deprecated. Use month instead', getSetMonth); + proto.years = deprecate('years accessor is deprecated. Use year instead', getSetYear); + proto.zone = deprecate('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', getSetZone); + proto.isDSTShifted = deprecate('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', isDaylightSavingTimeShifted); + + function createUnix (input) { + return createLocal(input * 1000); + } + + function createInZone () { + return createLocal.apply(null, arguments).parseZone(); + } + + function preParsePostFormat (string) { + return string; + } + + var proto$1 = Locale.prototype; + + proto$1.calendar = calendar; + proto$1.longDateFormat = longDateFormat; + proto$1.invalidDate = invalidDate; + proto$1.ordinal = ordinal; + proto$1.preparse = preParsePostFormat; + proto$1.postformat = preParsePostFormat; + proto$1.relativeTime = relativeTime; + proto$1.pastFuture = pastFuture; + proto$1.set = set; + + // Month + proto$1.months = localeMonths; + proto$1.monthsShort = localeMonthsShort; + proto$1.monthsParse = localeMonthsParse; + proto$1.monthsRegex = monthsRegex; + proto$1.monthsShortRegex = monthsShortRegex; - // Week - momentPrototype__proto.week = momentPrototype__proto.weeks = getSetWeek; - momentPrototype__proto.isoWeek = momentPrototype__proto.isoWeeks = getSetISOWeek; - momentPrototype__proto.weeksInYear = getWeeksInYear; - momentPrototype__proto.isoWeeksInYear = getISOWeeksInYear; - - // Day - momentPrototype__proto.date = getSetDayOfMonth; - momentPrototype__proto.day = momentPrototype__proto.days = getSetDayOfWeek; - momentPrototype__proto.weekday = getSetLocaleDayOfWeek; - momentPrototype__proto.isoWeekday = getSetISODayOfWeek; - momentPrototype__proto.dayOfYear = getSetDayOfYear; - - // Hour - momentPrototype__proto.hour = momentPrototype__proto.hours = getSetHour; - - // Minute - momentPrototype__proto.minute = momentPrototype__proto.minutes = getSetMinute; - - // Second - momentPrototype__proto.second = momentPrototype__proto.seconds = getSetSecond; - - // Millisecond - momentPrototype__proto.millisecond = momentPrototype__proto.milliseconds = getSetMillisecond; - - // Offset - momentPrototype__proto.utcOffset = getSetOffset; - momentPrototype__proto.utc = setOffsetToUTC; - momentPrototype__proto.local = setOffsetToLocal; - momentPrototype__proto.parseZone = setOffsetToParsedOffset; - momentPrototype__proto.hasAlignedHourOffset = hasAlignedHourOffset; - momentPrototype__proto.isDST = isDaylightSavingTime; - momentPrototype__proto.isLocal = isLocal; - momentPrototype__proto.isUtcOffset = isUtcOffset; - momentPrototype__proto.isUtc = isUtc; - momentPrototype__proto.isUTC = isUtc; - - // Timezone - momentPrototype__proto.zoneAbbr = getZoneAbbr; - momentPrototype__proto.zoneName = getZoneName; - - // Deprecations - momentPrototype__proto.dates = deprecate('dates accessor is deprecated. Use date instead.', getSetDayOfMonth); - momentPrototype__proto.months = deprecate('months accessor is deprecated. Use month instead', getSetMonth); - momentPrototype__proto.years = deprecate('years accessor is deprecated. Use year instead', getSetYear); - momentPrototype__proto.zone = deprecate('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', getSetZone); - momentPrototype__proto.isDSTShifted = deprecate('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', isDaylightSavingTimeShifted); - - var momentPrototype = momentPrototype__proto; - - function moment__createUnix (input) { - return local__createLocal(input * 1000); - } - - function moment__createInZone () { - return local__createLocal.apply(null, arguments).parseZone(); - } - - function preParsePostFormat (string) { - return string; - } - - var prototype__proto = Locale.prototype; - - prototype__proto.calendar = locale_calendar__calendar; - prototype__proto.longDateFormat = longDateFormat; - prototype__proto.invalidDate = invalidDate; - prototype__proto.ordinal = ordinal; - prototype__proto.preparse = preParsePostFormat; - prototype__proto.postformat = preParsePostFormat; - prototype__proto.relativeTime = relative__relativeTime; - prototype__proto.pastFuture = pastFuture; - prototype__proto.set = locale_set__set; - - // Month - prototype__proto.months = localeMonths; - prototype__proto.monthsShort = localeMonthsShort; - prototype__proto.monthsParse = localeMonthsParse; - prototype__proto.monthsRegex = monthsRegex; - prototype__proto.monthsShortRegex = monthsShortRegex; - - // Week - prototype__proto.week = localeWeek; - prototype__proto.firstDayOfYear = localeFirstDayOfYear; - prototype__proto.firstDayOfWeek = localeFirstDayOfWeek; - - // Day of Week - prototype__proto.weekdays = localeWeekdays; - prototype__proto.weekdaysMin = localeWeekdaysMin; - prototype__proto.weekdaysShort = localeWeekdaysShort; - prototype__proto.weekdaysParse = localeWeekdaysParse; - - prototype__proto.weekdaysRegex = weekdaysRegex; - prototype__proto.weekdaysShortRegex = weekdaysShortRegex; - prototype__proto.weekdaysMinRegex = weekdaysMinRegex; - - // Hours - prototype__proto.isPM = localeIsPM; - prototype__proto.meridiem = localeMeridiem; - - function lists__get (format, index, field, setter) { - var locale = locale_locales__getLocale(); - var utc = create_utc__createUTC().set(setter, index); - return locale[field](utc, format); - } + // Week + proto$1.week = localeWeek; + proto$1.firstDayOfYear = localeFirstDayOfYear; + proto$1.firstDayOfWeek = localeFirstDayOfWeek; - function listMonthsImpl (format, index, field) { - if (typeof format === 'number') { - index = format; - format = undefined; - } + // Day of Week + proto$1.weekdays = localeWeekdays; + proto$1.weekdaysMin = localeWeekdaysMin; + proto$1.weekdaysShort = localeWeekdaysShort; + proto$1.weekdaysParse = localeWeekdaysParse; - format = format || ''; + proto$1.weekdaysRegex = weekdaysRegex; + proto$1.weekdaysShortRegex = weekdaysShortRegex; + proto$1.weekdaysMinRegex = weekdaysMinRegex; - if (index != null) { - return lists__get(format, index, field, 'month'); - } + // Hours + proto$1.isPM = localeIsPM; + proto$1.meridiem = localeMeridiem; - var i; - var out = []; - for (i = 0; i < 12; i++) { - out[i] = lists__get(format, i, field, 'month'); - } - return out; + function get$1 (format, index, field, setter) { + var locale = getLocale(); + var utc = createUTC().set(setter, index); + return locale[field](utc, format); + } + + function listMonthsImpl (format, index, field) { + if (isNumber(format)) { + index = format; + format = undefined; } - // () - // (5) - // (fmt, 5) - // (fmt) - // (true) - // (true, 5) - // (true, fmt, 5) - // (true, fmt) - function listWeekdaysImpl (localeSorted, format, index, field) { - if (typeof localeSorted === 'boolean') { - if (typeof format === 'number') { - index = format; - format = undefined; - } + format = format || ''; - format = format || ''; - } else { - format = localeSorted; - index = format; - localeSorted = false; + if (index != null) { + return get$1(format, index, field, 'month'); + } - if (typeof format === 'number') { - index = format; - format = undefined; - } + var i; + var out = []; + for (i = 0; i < 12; i++) { + out[i] = get$1(format, i, field, 'month'); + } + return out; + } - format = format || ''; + // () + // (5) + // (fmt, 5) + // (fmt) + // (true) + // (true, 5) + // (true, fmt, 5) + // (true, fmt) + function listWeekdaysImpl (localeSorted, format, index, field) { + if (typeof localeSorted === 'boolean') { + if (isNumber(format)) { + index = format; + format = undefined; } - var locale = locale_locales__getLocale(), - shift = localeSorted ? locale._week.dow : 0; + format = format || ''; + } else { + format = localeSorted; + index = format; + localeSorted = false; - if (index != null) { - return lists__get(format, (index + shift) % 7, field, 'day'); + if (isNumber(format)) { + index = format; + format = undefined; } - var i; - var out = []; - for (i = 0; i < 7; i++) { - out[i] = lists__get(format, (i + shift) % 7, field, 'day'); - } - return out; + format = format || ''; } - function lists__listMonths (format, index) { - return listMonthsImpl(format, index, 'months'); - } + var locale = getLocale(), + shift = localeSorted ? locale._week.dow : 0; - function lists__listMonthsShort (format, index) { - return listMonthsImpl(format, index, 'monthsShort'); + if (index != null) { + return get$1(format, (index + shift) % 7, field, 'day'); } - function lists__listWeekdays (localeSorted, format, index) { - return listWeekdaysImpl(localeSorted, format, index, 'weekdays'); + var i; + var out = []; + for (i = 0; i < 7; i++) { + out[i] = get$1(format, (i + shift) % 7, field, 'day'); } + return out; + } - function lists__listWeekdaysShort (localeSorted, format, index) { - return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort'); - } + function listMonths (format, index) { + return listMonthsImpl(format, index, 'months'); + } - function lists__listWeekdaysMin (localeSorted, format, index) { - return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin'); - } + function listMonthsShort (format, index) { + return listMonthsImpl(format, index, 'monthsShort'); + } - locale_locales__getSetGlobalLocale('en', { - ordinalParse: /\d{1,2}(th|st|nd|rd)/, - ordinal : function (number) { - var b = number % 10, - output = (toInt(number % 100 / 10) === 1) ? 'th' : - (b === 1) ? 'st' : - (b === 2) ? 'nd' : - (b === 3) ? 'rd' : 'th'; - return number + output; - } - }); + function listWeekdays (localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdays'); + } - // Side effect imports - utils_hooks__hooks.lang = deprecate('moment.lang is deprecated. Use moment.locale instead.', locale_locales__getSetGlobalLocale); - utils_hooks__hooks.langData = deprecate('moment.langData is deprecated. Use moment.localeData instead.', locale_locales__getLocale); + function listWeekdaysShort (localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort'); + } - var mathAbs = Math.abs; + function listWeekdaysMin (localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin'); + } - function duration_abs__abs () { - var data = this._data; + getSetGlobalLocale('en', { + dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, + ordinal : function (number) { + var b = number % 10, + output = (toInt(number % 100 / 10) === 1) ? 'th' : + (b === 1) ? 'st' : + (b === 2) ? 'nd' : + (b === 3) ? 'rd' : 'th'; + return number + output; + } + }); - this._milliseconds = mathAbs(this._milliseconds); - this._days = mathAbs(this._days); - this._months = mathAbs(this._months); + // Side effect imports + hooks.lang = deprecate('moment.lang is deprecated. Use moment.locale instead.', getSetGlobalLocale); + hooks.langData = deprecate('moment.langData is deprecated. Use moment.localeData instead.', getLocale); - data.milliseconds = mathAbs(data.milliseconds); - data.seconds = mathAbs(data.seconds); - data.minutes = mathAbs(data.minutes); - data.hours = mathAbs(data.hours); - data.months = mathAbs(data.months); - data.years = mathAbs(data.years); + var mathAbs = Math.abs; - return this; - } + function abs () { + var data = this._data; - function duration_add_subtract__addSubtract (duration, input, value, direction) { - var other = create__createDuration(input, value); + this._milliseconds = mathAbs(this._milliseconds); + this._days = mathAbs(this._days); + this._months = mathAbs(this._months); - duration._milliseconds += direction * other._milliseconds; - duration._days += direction * other._days; - duration._months += direction * other._months; + data.milliseconds = mathAbs(data.milliseconds); + data.seconds = mathAbs(data.seconds); + data.minutes = mathAbs(data.minutes); + data.hours = mathAbs(data.hours); + data.months = mathAbs(data.months); + data.years = mathAbs(data.years); - return duration._bubble(); - } + return this; + } - // supports only 2.0-style add(1, 's') or add(duration) - function duration_add_subtract__add (input, value) { - return duration_add_subtract__addSubtract(this, input, value, 1); - } + function addSubtract$1 (duration, input, value, direction) { + var other = createDuration(input, value); - // supports only 2.0-style subtract(1, 's') or subtract(duration) - function duration_add_subtract__subtract (input, value) { - return duration_add_subtract__addSubtract(this, input, value, -1); - } + duration._milliseconds += direction * other._milliseconds; + duration._days += direction * other._days; + duration._months += direction * other._months; - function absCeil (number) { - if (number < 0) { - return Math.floor(number); - } else { - return Math.ceil(number); - } - } + return duration._bubble(); + } - function bubble () { - var milliseconds = this._milliseconds; - var days = this._days; - var months = this._months; - var data = this._data; - var seconds, minutes, hours, years, monthsFromDays; + // supports only 2.0-style add(1, 's') or add(duration) + function add$1 (input, value) { + return addSubtract$1(this, input, value, 1); + } - // if we have a mix of positive and negative values, bubble down first - // check: https://github.com/moment/moment/issues/2166 - if (!((milliseconds >= 0 && days >= 0 && months >= 0) || - (milliseconds <= 0 && days <= 0 && months <= 0))) { - milliseconds += absCeil(monthsToDays(months) + days) * 864e5; - days = 0; - months = 0; - } + // supports only 2.0-style subtract(1, 's') or subtract(duration) + function subtract$1 (input, value) { + return addSubtract$1(this, input, value, -1); + } - // The following code bubbles up values, see the tests for - // examples of what that means. - data.milliseconds = milliseconds % 1000; + function absCeil (number) { + if (number < 0) { + return Math.floor(number); + } else { + return Math.ceil(number); + } + } - seconds = absFloor(milliseconds / 1000); - data.seconds = seconds % 60; + function bubble () { + var milliseconds = this._milliseconds; + var days = this._days; + var months = this._months; + var data = this._data; + var seconds, minutes, hours, years, monthsFromDays; - minutes = absFloor(seconds / 60); - data.minutes = minutes % 60; + // if we have a mix of positive and negative values, bubble down first + // check: https://github.com/moment/moment/issues/2166 + if (!((milliseconds >= 0 && days >= 0 && months >= 0) || + (milliseconds <= 0 && days <= 0 && months <= 0))) { + milliseconds += absCeil(monthsToDays(months) + days) * 864e5; + days = 0; + months = 0; + } - hours = absFloor(minutes / 60); - data.hours = hours % 24; + // The following code bubbles up values, see the tests for + // examples of what that means. + data.milliseconds = milliseconds % 1000; - days += absFloor(hours / 24); + seconds = absFloor(milliseconds / 1000); + data.seconds = seconds % 60; - // convert days to months - monthsFromDays = absFloor(daysToMonths(days)); - months += monthsFromDays; - days -= absCeil(monthsToDays(monthsFromDays)); + minutes = absFloor(seconds / 60); + data.minutes = minutes % 60; - // 12 months -> 1 year - years = absFloor(months / 12); - months %= 12; + hours = absFloor(minutes / 60); + data.hours = hours % 24; - data.days = days; - data.months = months; - data.years = years; + days += absFloor(hours / 24); - return this; - } + // convert days to months + monthsFromDays = absFloor(daysToMonths(days)); + months += monthsFromDays; + days -= absCeil(monthsToDays(monthsFromDays)); - function daysToMonths (days) { - // 400 years have 146097 days (taking into account leap year rules) - // 400 years have 12 months === 4800 - return days * 4800 / 146097; - } + // 12 months -> 1 year + years = absFloor(months / 12); + months %= 12; - function monthsToDays (months) { - // the reverse of daysToMonths - return months * 146097 / 4800; - } + data.days = days; + data.months = months; + data.years = years; - function as (units) { - var days; - var months; - var milliseconds = this._milliseconds; + return this; + } - units = normalizeUnits(units); + function daysToMonths (days) { + // 400 years have 146097 days (taking into account leap year rules) + // 400 years have 12 months === 4800 + return days * 4800 / 146097; + } - if (units === 'month' || units === 'year') { - days = this._days + milliseconds / 864e5; - months = this._months + daysToMonths(days); - return units === 'month' ? months : months / 12; - } else { - // handle milliseconds separately because of floating point math errors (issue #1867) - days = this._days + Math.round(monthsToDays(this._months)); - switch (units) { - case 'week' : return days / 7 + milliseconds / 6048e5; - case 'day' : return days + milliseconds / 864e5; - case 'hour' : return days * 24 + milliseconds / 36e5; - case 'minute' : return days * 1440 + milliseconds / 6e4; - case 'second' : return days * 86400 + milliseconds / 1000; - // Math.floor prevents floating point math errors here - case 'millisecond': return Math.floor(days * 864e5) + milliseconds; - default: throw new Error('Unknown unit ' + units); - } - } - } - - // TODO: Use this.as('ms')? - function duration_as__valueOf () { - return ( - this._milliseconds + - this._days * 864e5 + - (this._months % 12) * 2592e6 + - toInt(this._months / 12) * 31536e6 - ); - } + function monthsToDays (months) { + // the reverse of daysToMonths + return months * 146097 / 4800; + } - function makeAs (alias) { - return function () { - return this.as(alias); - }; + function as (units) { + if (!this.isValid()) { + return NaN; } + var days; + var months; + var milliseconds = this._milliseconds; - var asMilliseconds = makeAs('ms'); - var asSeconds = makeAs('s'); - var asMinutes = makeAs('m'); - var asHours = makeAs('h'); - var asDays = makeAs('d'); - var asWeeks = makeAs('w'); - var asMonths = makeAs('M'); - var asYears = makeAs('y'); + units = normalizeUnits(units); - function duration_get__get (units) { - units = normalizeUnits(units); - return this[units + 's'](); + if (units === 'month' || units === 'year') { + days = this._days + milliseconds / 864e5; + months = this._months + daysToMonths(days); + return units === 'month' ? months : months / 12; + } else { + // handle milliseconds separately because of floating point math errors (issue #1867) + days = this._days + Math.round(monthsToDays(this._months)); + switch (units) { + case 'week' : return days / 7 + milliseconds / 6048e5; + case 'day' : return days + milliseconds / 864e5; + case 'hour' : return days * 24 + milliseconds / 36e5; + case 'minute' : return days * 1440 + milliseconds / 6e4; + case 'second' : return days * 86400 + milliseconds / 1000; + // Math.floor prevents floating point math errors here + case 'millisecond': return Math.floor(days * 864e5) + milliseconds; + default: throw new Error('Unknown unit ' + units); + } } + } - function makeGetter(name) { - return function () { - return this._data[name]; - }; + // TODO: Use this.as('ms')? + function valueOf$1 () { + if (!this.isValid()) { + return NaN; } + return ( + this._milliseconds + + this._days * 864e5 + + (this._months % 12) * 2592e6 + + toInt(this._months / 12) * 31536e6 + ); + } - var milliseconds = makeGetter('milliseconds'); - var seconds = makeGetter('seconds'); - var minutes = makeGetter('minutes'); - var hours = makeGetter('hours'); - var days = makeGetter('days'); - var months = makeGetter('months'); - var years = makeGetter('years'); + function makeAs (alias) { + return function () { + return this.as(alias); + }; + } - function weeks () { - return absFloor(this.days() / 7); - } + var asMilliseconds = makeAs('ms'); + var asSeconds = makeAs('s'); + var asMinutes = makeAs('m'); + var asHours = makeAs('h'); + var asDays = makeAs('d'); + var asWeeks = makeAs('w'); + var asMonths = makeAs('M'); + var asYears = makeAs('y'); - var round = Math.round; - var thresholds = { - s: 45, // seconds to minute - m: 45, // minutes to hour - h: 22, // hours to day - d: 26, // days to month - M: 11 // months to year + function get$2 (units) { + units = normalizeUnits(units); + return this.isValid() ? this[units + 's']() : NaN; + } + + function makeGetter(name) { + return function () { + return this.isValid() ? this._data[name] : NaN; }; + } - // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize - function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) { - return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture); - } + var milliseconds = makeGetter('milliseconds'); + var seconds = makeGetter('seconds'); + var minutes = makeGetter('minutes'); + var hours = makeGetter('hours'); + var days = makeGetter('days'); + var months = makeGetter('months'); + var years = makeGetter('years'); - function duration_humanize__relativeTime (posNegDuration, withoutSuffix, locale) { - var duration = create__createDuration(posNegDuration).abs(); - var seconds = round(duration.as('s')); - var minutes = round(duration.as('m')); - var hours = round(duration.as('h')); - var days = round(duration.as('d')); - var months = round(duration.as('M')); - var years = round(duration.as('y')); + function weeks () { + return absFloor(this.days() / 7); + } - var a = seconds < thresholds.s && ['s', seconds] || - minutes <= 1 && ['m'] || - minutes < thresholds.m && ['mm', minutes] || - hours <= 1 && ['h'] || - hours < thresholds.h && ['hh', hours] || - days <= 1 && ['d'] || - days < thresholds.d && ['dd', days] || - months <= 1 && ['M'] || - months < thresholds.M && ['MM', months] || - years <= 1 && ['y'] || ['yy', years]; + var round = Math.round; + var thresholds = { + ss: 44, // a few seconds to seconds + s : 45, // seconds to minute + m : 45, // minutes to hour + h : 22, // hours to day + d : 26, // days to month + M : 11 // months to year + }; - a[2] = withoutSuffix; - a[3] = +posNegDuration > 0; - a[4] = locale; - return substituteTimeAgo.apply(null, a); + // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize + function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) { + return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture); + } + + function relativeTime$1 (posNegDuration, withoutSuffix, locale) { + var duration = createDuration(posNegDuration).abs(); + var seconds = round(duration.as('s')); + var minutes = round(duration.as('m')); + var hours = round(duration.as('h')); + var days = round(duration.as('d')); + var months = round(duration.as('M')); + var years = round(duration.as('y')); + + var a = seconds <= thresholds.ss && ['s', seconds] || + seconds < thresholds.s && ['ss', seconds] || + minutes <= 1 && ['m'] || + minutes < thresholds.m && ['mm', minutes] || + hours <= 1 && ['h'] || + hours < thresholds.h && ['hh', hours] || + days <= 1 && ['d'] || + days < thresholds.d && ['dd', days] || + months <= 1 && ['M'] || + months < thresholds.M && ['MM', months] || + years <= 1 && ['y'] || ['yy', years]; + + a[2] = withoutSuffix; + a[3] = +posNegDuration > 0; + a[4] = locale; + return substituteTimeAgo.apply(null, a); + } + + // This function allows you to set the rounding function for relative time strings + function getSetRelativeTimeRounding (roundingFunction) { + if (roundingFunction === undefined) { + return round; + } + if (typeof(roundingFunction) === 'function') { + round = roundingFunction; + return true; } + return false; + } - // This function allows you to set the rounding function for relative time strings - function duration_humanize__getSetRelativeTimeRounding (roundingFunction) { - if (roundingFunction === undefined) { - return round; - } - if (typeof(roundingFunction) === 'function') { - round = roundingFunction; - return true; - } + // This function allows you to set a threshold for relative time strings + function getSetRelativeTimeThreshold (threshold, limit) { + if (thresholds[threshold] === undefined) { return false; } - - // This function allows you to set a threshold for relative time strings - function duration_humanize__getSetRelativeTimeThreshold (threshold, limit) { - if (thresholds[threshold] === undefined) { - return false; - } - if (limit === undefined) { - return thresholds[threshold]; - } - thresholds[threshold] = limit; - return true; + if (limit === undefined) { + return thresholds[threshold]; + } + thresholds[threshold] = limit; + if (threshold === 's') { + thresholds.ss = limit - 1; } + return true; + } - function humanize (withSuffix) { - var locale = this.localeData(); - var output = duration_humanize__relativeTime(this, !withSuffix, locale); - - if (withSuffix) { - output = locale.pastFuture(+this, output); - } - - return locale.postformat(output); - } - - var iso_string__abs = Math.abs; - - function iso_string__toISOString() { - // for ISO strings we do not use the normal bubbling rules: - // * milliseconds bubble up until they become hours - // * days do not bubble at all - // * months bubble up until they become years - // This is because there is no context-free conversion between hours and days - // (think of clock changes) - // and also not between days and months (28-31 days per month) - var seconds = iso_string__abs(this._milliseconds) / 1000; - var days = iso_string__abs(this._days); - var months = iso_string__abs(this._months); - var minutes, hours, years; - - // 3600 seconds -> 60 minutes -> 1 hour - minutes = absFloor(seconds / 60); - hours = absFloor(minutes / 60); - seconds %= 60; - minutes %= 60; - - // 12 months -> 1 year - years = absFloor(months / 12); - months %= 12; - - - // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js - var Y = years; - var M = months; - var D = days; - var h = hours; - var m = minutes; - var s = seconds; - var total = this.asSeconds(); - - if (!total) { - // this is the same as C#'s (Noda) and python (isodate)... - // but not other JS (goog.date) - return 'P0D'; - } - - return (total < 0 ? '-' : '') + - 'P' + - (Y ? Y + 'Y' : '') + - (M ? M + 'M' : '') + - (D ? D + 'D' : '') + - ((h || m || s) ? 'T' : '') + - (h ? h + 'H' : '') + - (m ? m + 'M' : '') + - (s ? s + 'S' : ''); - } - - var duration_prototype__proto = Duration.prototype; - - duration_prototype__proto.abs = duration_abs__abs; - duration_prototype__proto.add = duration_add_subtract__add; - duration_prototype__proto.subtract = duration_add_subtract__subtract; - duration_prototype__proto.as = as; - duration_prototype__proto.asMilliseconds = asMilliseconds; - duration_prototype__proto.asSeconds = asSeconds; - duration_prototype__proto.asMinutes = asMinutes; - duration_prototype__proto.asHours = asHours; - duration_prototype__proto.asDays = asDays; - duration_prototype__proto.asWeeks = asWeeks; - duration_prototype__proto.asMonths = asMonths; - duration_prototype__proto.asYears = asYears; - duration_prototype__proto.valueOf = duration_as__valueOf; - duration_prototype__proto._bubble = bubble; - duration_prototype__proto.get = duration_get__get; - duration_prototype__proto.milliseconds = milliseconds; - duration_prototype__proto.seconds = seconds; - duration_prototype__proto.minutes = minutes; - duration_prototype__proto.hours = hours; - duration_prototype__proto.days = days; - duration_prototype__proto.weeks = weeks; - duration_prototype__proto.months = months; - duration_prototype__proto.years = years; - duration_prototype__proto.humanize = humanize; - duration_prototype__proto.toISOString = iso_string__toISOString; - duration_prototype__proto.toString = iso_string__toISOString; - duration_prototype__proto.toJSON = iso_string__toISOString; - duration_prototype__proto.locale = locale; - duration_prototype__proto.localeData = localeData; - - // Deprecations - duration_prototype__proto.toIsoString = deprecate('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', iso_string__toISOString); - duration_prototype__proto.lang = lang; - - // Side effect imports - - // FORMATTING - - addFormatToken('X', 0, 0, 'unix'); - addFormatToken('x', 0, 0, 'valueOf'); - - // PARSING - - addRegexToken('x', matchSigned); - addRegexToken('X', matchTimestamp); - addParseToken('X', function (input, array, config) { - config._d = new Date(parseFloat(input, 10) * 1000); - }); - addParseToken('x', function (input, array, config) { - config._d = new Date(toInt(input)); - }); + function humanize (withSuffix) { + if (!this.isValid()) { + return this.localeData().invalidDate(); + } + + var locale = this.localeData(); + var output = relativeTime$1(this, !withSuffix, locale); + + if (withSuffix) { + output = locale.pastFuture(+this, output); + } + + return locale.postformat(output); + } + + var abs$1 = Math.abs; + + function toISOString$1() { + // for ISO strings we do not use the normal bubbling rules: + // * milliseconds bubble up until they become hours + // * days do not bubble at all + // * months bubble up until they become years + // This is because there is no context-free conversion between hours and days + // (think of clock changes) + // and also not between days and months (28-31 days per month) + if (!this.isValid()) { + return this.localeData().invalidDate(); + } + + var seconds = abs$1(this._milliseconds) / 1000; + var days = abs$1(this._days); + var months = abs$1(this._months); + var minutes, hours, years; + + // 3600 seconds -> 60 minutes -> 1 hour + minutes = absFloor(seconds / 60); + hours = absFloor(minutes / 60); + seconds %= 60; + minutes %= 60; + + // 12 months -> 1 year + years = absFloor(months / 12); + months %= 12; + + + // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js + var Y = years; + var M = months; + var D = days; + var h = hours; + var m = minutes; + var s = seconds; + var total = this.asSeconds(); + + if (!total) { + // this is the same as C#'s (Noda) and python (isodate)... + // but not other JS (goog.date) + return 'P0D'; + } + + return (total < 0 ? '-' : '') + + 'P' + + (Y ? Y + 'Y' : '') + + (M ? M + 'M' : '') + + (D ? D + 'D' : '') + + ((h || m || s) ? 'T' : '') + + (h ? h + 'H' : '') + + (m ? m + 'M' : '') + + (s ? s + 'S' : ''); + } + + var proto$2 = Duration.prototype; + + proto$2.isValid = isValid$1; + proto$2.abs = abs; + proto$2.add = add$1; + proto$2.subtract = subtract$1; + proto$2.as = as; + proto$2.asMilliseconds = asMilliseconds; + proto$2.asSeconds = asSeconds; + proto$2.asMinutes = asMinutes; + proto$2.asHours = asHours; + proto$2.asDays = asDays; + proto$2.asWeeks = asWeeks; + proto$2.asMonths = asMonths; + proto$2.asYears = asYears; + proto$2.valueOf = valueOf$1; + proto$2._bubble = bubble; + proto$2.get = get$2; + proto$2.milliseconds = milliseconds; + proto$2.seconds = seconds; + proto$2.minutes = minutes; + proto$2.hours = hours; + proto$2.days = days; + proto$2.weeks = weeks; + proto$2.months = months; + proto$2.years = years; + proto$2.humanize = humanize; + proto$2.toISOString = toISOString$1; + proto$2.toString = toISOString$1; + proto$2.toJSON = toISOString$1; + proto$2.locale = locale; + proto$2.localeData = localeData; + + // Deprecations + proto$2.toIsoString = deprecate('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', toISOString$1); + proto$2.lang = lang; + + // Side effect imports + + // FORMATTING + + addFormatToken('X', 0, 0, 'unix'); + addFormatToken('x', 0, 0, 'valueOf'); + + // PARSING + + addRegexToken('x', matchSigned); + addRegexToken('X', matchTimestamp); + addParseToken('X', function (input, array, config) { + config._d = new Date(parseFloat(input, 10) * 1000); + }); + addParseToken('x', function (input, array, config) { + config._d = new Date(toInt(input)); + }); - // Side effect imports - - - utils_hooks__hooks.version = '2.15.1'; - - setHookCallback(local__createLocal); - - utils_hooks__hooks.fn = momentPrototype; - utils_hooks__hooks.min = min; - utils_hooks__hooks.max = max; - utils_hooks__hooks.now = now; - utils_hooks__hooks.utc = create_utc__createUTC; - utils_hooks__hooks.unix = moment__createUnix; - utils_hooks__hooks.months = lists__listMonths; - utils_hooks__hooks.isDate = isDate; - utils_hooks__hooks.locale = locale_locales__getSetGlobalLocale; - utils_hooks__hooks.invalid = valid__createInvalid; - utils_hooks__hooks.duration = create__createDuration; - utils_hooks__hooks.isMoment = isMoment; - utils_hooks__hooks.weekdays = lists__listWeekdays; - utils_hooks__hooks.parseZone = moment__createInZone; - utils_hooks__hooks.localeData = locale_locales__getLocale; - utils_hooks__hooks.isDuration = isDuration; - utils_hooks__hooks.monthsShort = lists__listMonthsShort; - utils_hooks__hooks.weekdaysMin = lists__listWeekdaysMin; - utils_hooks__hooks.defineLocale = defineLocale; - utils_hooks__hooks.updateLocale = updateLocale; - utils_hooks__hooks.locales = locale_locales__listLocales; - utils_hooks__hooks.weekdaysShort = lists__listWeekdaysShort; - utils_hooks__hooks.normalizeUnits = normalizeUnits; - utils_hooks__hooks.relativeTimeRounding = duration_humanize__getSetRelativeTimeRounding; - utils_hooks__hooks.relativeTimeThreshold = duration_humanize__getSetRelativeTimeThreshold; - utils_hooks__hooks.calendarFormat = getCalendarFormat; - utils_hooks__hooks.prototype = momentPrototype; - - var _moment = utils_hooks__hooks; - - return _moment; + // Side effect imports + + + hooks.version = '2.18.1'; + + setHookCallback(createLocal); + + hooks.fn = proto; + hooks.min = min; + hooks.max = max; + hooks.now = now; + hooks.utc = createUTC; + hooks.unix = createUnix; + hooks.months = listMonths; + hooks.isDate = isDate; + hooks.locale = getSetGlobalLocale; + hooks.invalid = createInvalid; + hooks.duration = createDuration; + hooks.isMoment = isMoment; + hooks.weekdays = listWeekdays; + hooks.parseZone = createInZone; + hooks.localeData = getLocale; + hooks.isDuration = isDuration; + hooks.monthsShort = listMonthsShort; + hooks.weekdaysMin = listWeekdaysMin; + hooks.defineLocale = defineLocale; + hooks.updateLocale = updateLocale; + hooks.locales = listLocales; + hooks.weekdaysShort = listWeekdaysShort; + hooks.normalizeUnits = normalizeUnits; + hooks.relativeTimeRounding = getSetRelativeTimeRounding; + hooks.relativeTimeThreshold = getSetRelativeTimeThreshold; + hooks.calendarFormat = getCalendarFormat; + hooks.prototype = proto; + + return hooks; - })); - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(329)(module))) + }))); + + /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(337)(module))) -/***/ }, -/* 396 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 404 */ +/***/ (function(module, exports, __webpack_require__) { var map = { - "./af": 397, - "./af.js": 397, - "./ar": 398, - "./ar-ly": 399, - "./ar-ly.js": 399, - "./ar-ma": 400, - "./ar-ma.js": 400, - "./ar-sa": 401, - "./ar-sa.js": 401, - "./ar-tn": 402, - "./ar-tn.js": 402, - "./ar.js": 398, - "./az": 403, - "./az.js": 403, - "./be": 404, - "./be.js": 404, - "./bg": 405, - "./bg.js": 405, - "./bn": 406, - "./bn.js": 406, - "./bo": 407, - "./bo.js": 407, - "./br": 408, - "./br.js": 408, - "./bs": 409, - "./bs.js": 409, - "./ca": 410, - "./ca.js": 410, - "./cs": 411, - "./cs.js": 411, - "./cv": 412, - "./cv.js": 412, - "./cy": 413, - "./cy.js": 413, - "./da": 414, - "./da.js": 414, - "./de": 415, - "./de-at": 416, - "./de-at.js": 416, - "./de.js": 415, - "./dv": 417, - "./dv.js": 417, - "./el": 418, - "./el.js": 418, - "./en-au": 419, - "./en-au.js": 419, - "./en-ca": 420, - "./en-ca.js": 420, - "./en-gb": 421, - "./en-gb.js": 421, - "./en-ie": 422, - "./en-ie.js": 422, - "./en-nz": 423, - "./en-nz.js": 423, - "./eo": 424, - "./eo.js": 424, - "./es": 425, - "./es-do": 426, - "./es-do.js": 426, - "./es.js": 425, - "./et": 427, - "./et.js": 427, - "./eu": 428, - "./eu.js": 428, - "./fa": 429, - "./fa.js": 429, - "./fi": 430, - "./fi.js": 430, - "./fo": 431, - "./fo.js": 431, - "./fr": 432, - "./fr-ca": 433, - "./fr-ca.js": 433, - "./fr-ch": 434, - "./fr-ch.js": 434, - "./fr.js": 432, - "./fy": 435, - "./fy.js": 435, - "./gd": 436, - "./gd.js": 436, - "./gl": 437, - "./gl.js": 437, - "./he": 438, - "./he.js": 438, - "./hi": 439, - "./hi.js": 439, - "./hr": 440, - "./hr.js": 440, - "./hu": 441, - "./hu.js": 441, - "./hy-am": 442, - "./hy-am.js": 442, - "./id": 443, - "./id.js": 443, - "./is": 444, - "./is.js": 444, - "./it": 445, - "./it.js": 445, - "./ja": 446, - "./ja.js": 446, - "./jv": 447, - "./jv.js": 447, - "./ka": 448, - "./ka.js": 448, - "./kk": 449, - "./kk.js": 449, - "./km": 450, - "./km.js": 450, - "./ko": 451, - "./ko.js": 451, - "./ky": 452, - "./ky.js": 452, - "./lb": 453, - "./lb.js": 453, - "./lo": 454, - "./lo.js": 454, - "./lt": 455, - "./lt.js": 455, - "./lv": 456, - "./lv.js": 456, - "./me": 457, - "./me.js": 457, - "./mi": 458, - "./mi.js": 458, - "./mk": 459, - "./mk.js": 459, - "./ml": 460, - "./ml.js": 460, - "./mr": 461, - "./mr.js": 461, - "./ms": 462, - "./ms-my": 463, - "./ms-my.js": 463, - "./ms.js": 462, - "./my": 464, - "./my.js": 464, - "./nb": 465, - "./nb.js": 465, - "./ne": 466, - "./ne.js": 466, - "./nl": 467, - "./nl.js": 467, - "./nn": 468, - "./nn.js": 468, - "./pa-in": 469, - "./pa-in.js": 469, - "./pl": 470, - "./pl.js": 470, - "./pt": 471, - "./pt-br": 472, - "./pt-br.js": 472, - "./pt.js": 471, - "./ro": 473, - "./ro.js": 473, - "./ru": 474, - "./ru.js": 474, - "./se": 475, - "./se.js": 475, - "./si": 476, - "./si.js": 476, - "./sk": 477, - "./sk.js": 477, - "./sl": 478, - "./sl.js": 478, - "./sq": 479, - "./sq.js": 479, - "./sr": 480, - "./sr-cyrl": 481, - "./sr-cyrl.js": 481, - "./sr.js": 480, - "./ss": 482, - "./ss.js": 482, - "./sv": 483, - "./sv.js": 483, - "./sw": 484, - "./sw.js": 484, - "./ta": 485, - "./ta.js": 485, - "./te": 486, - "./te.js": 486, - "./th": 487, - "./th.js": 487, - "./tl-ph": 488, - "./tl-ph.js": 488, - "./tlh": 489, - "./tlh.js": 489, - "./tr": 490, - "./tr.js": 490, - "./tzl": 491, - "./tzl.js": 491, - "./tzm": 492, - "./tzm-latn": 493, - "./tzm-latn.js": 493, - "./tzm.js": 492, - "./uk": 494, - "./uk.js": 494, - "./uz": 495, - "./uz.js": 495, - "./vi": 496, - "./vi.js": 496, - "./x-pseudo": 497, - "./x-pseudo.js": 497, - "./zh-cn": 498, - "./zh-cn.js": 498, - "./zh-hk": 499, - "./zh-hk.js": 499, - "./zh-tw": 500, - "./zh-tw.js": 500 + "./af": 405, + "./af.js": 405, + "./ar": 406, + "./ar-dz": 407, + "./ar-dz.js": 407, + "./ar-kw": 408, + "./ar-kw.js": 408, + "./ar-ly": 409, + "./ar-ly.js": 409, + "./ar-ma": 410, + "./ar-ma.js": 410, + "./ar-sa": 411, + "./ar-sa.js": 411, + "./ar-tn": 412, + "./ar-tn.js": 412, + "./ar.js": 406, + "./az": 413, + "./az.js": 413, + "./be": 414, + "./be.js": 414, + "./bg": 415, + "./bg.js": 415, + "./bn": 416, + "./bn.js": 416, + "./bo": 417, + "./bo.js": 417, + "./br": 418, + "./br.js": 418, + "./bs": 419, + "./bs.js": 419, + "./ca": 420, + "./ca.js": 420, + "./cs": 421, + "./cs.js": 421, + "./cv": 422, + "./cv.js": 422, + "./cy": 423, + "./cy.js": 423, + "./da": 424, + "./da.js": 424, + "./de": 425, + "./de-at": 426, + "./de-at.js": 426, + "./de-ch": 427, + "./de-ch.js": 427, + "./de.js": 425, + "./dv": 428, + "./dv.js": 428, + "./el": 429, + "./el.js": 429, + "./en-au": 430, + "./en-au.js": 430, + "./en-ca": 431, + "./en-ca.js": 431, + "./en-gb": 432, + "./en-gb.js": 432, + "./en-ie": 433, + "./en-ie.js": 433, + "./en-nz": 434, + "./en-nz.js": 434, + "./eo": 435, + "./eo.js": 435, + "./es": 436, + "./es-do": 437, + "./es-do.js": 437, + "./es.js": 436, + "./et": 438, + "./et.js": 438, + "./eu": 439, + "./eu.js": 439, + "./fa": 440, + "./fa.js": 440, + "./fi": 441, + "./fi.js": 441, + "./fo": 442, + "./fo.js": 442, + "./fr": 443, + "./fr-ca": 444, + "./fr-ca.js": 444, + "./fr-ch": 445, + "./fr-ch.js": 445, + "./fr.js": 443, + "./fy": 446, + "./fy.js": 446, + "./gd": 447, + "./gd.js": 447, + "./gl": 448, + "./gl.js": 448, + "./gom-latn": 449, + "./gom-latn.js": 449, + "./he": 450, + "./he.js": 450, + "./hi": 451, + "./hi.js": 451, + "./hr": 452, + "./hr.js": 452, + "./hu": 453, + "./hu.js": 453, + "./hy-am": 454, + "./hy-am.js": 454, + "./id": 455, + "./id.js": 455, + "./is": 456, + "./is.js": 456, + "./it": 457, + "./it.js": 457, + "./ja": 458, + "./ja.js": 458, + "./jv": 459, + "./jv.js": 459, + "./ka": 460, + "./ka.js": 460, + "./kk": 461, + "./kk.js": 461, + "./km": 462, + "./km.js": 462, + "./kn": 463, + "./kn.js": 463, + "./ko": 464, + "./ko.js": 464, + "./ky": 465, + "./ky.js": 465, + "./lb": 466, + "./lb.js": 466, + "./lo": 467, + "./lo.js": 467, + "./lt": 468, + "./lt.js": 468, + "./lv": 469, + "./lv.js": 469, + "./me": 470, + "./me.js": 470, + "./mi": 471, + "./mi.js": 471, + "./mk": 472, + "./mk.js": 472, + "./ml": 473, + "./ml.js": 473, + "./mr": 474, + "./mr.js": 474, + "./ms": 475, + "./ms-my": 476, + "./ms-my.js": 476, + "./ms.js": 475, + "./my": 477, + "./my.js": 477, + "./nb": 478, + "./nb.js": 478, + "./ne": 479, + "./ne.js": 479, + "./nl": 480, + "./nl-be": 481, + "./nl-be.js": 481, + "./nl.js": 480, + "./nn": 482, + "./nn.js": 482, + "./pa-in": 483, + "./pa-in.js": 483, + "./pl": 484, + "./pl.js": 484, + "./pt": 485, + "./pt-br": 486, + "./pt-br.js": 486, + "./pt.js": 485, + "./ro": 487, + "./ro.js": 487, + "./ru": 488, + "./ru.js": 488, + "./sd": 489, + "./sd.js": 489, + "./se": 490, + "./se.js": 490, + "./si": 491, + "./si.js": 491, + "./sk": 492, + "./sk.js": 492, + "./sl": 493, + "./sl.js": 493, + "./sq": 494, + "./sq.js": 494, + "./sr": 495, + "./sr-cyrl": 496, + "./sr-cyrl.js": 496, + "./sr.js": 495, + "./ss": 497, + "./ss.js": 497, + "./sv": 498, + "./sv.js": 498, + "./sw": 499, + "./sw.js": 499, + "./ta": 500, + "./ta.js": 500, + "./te": 501, + "./te.js": 501, + "./tet": 502, + "./tet.js": 502, + "./th": 503, + "./th.js": 503, + "./tl-ph": 504, + "./tl-ph.js": 504, + "./tlh": 505, + "./tlh.js": 505, + "./tr": 506, + "./tr.js": 506, + "./tzl": 507, + "./tzl.js": 507, + "./tzm": 508, + "./tzm-latn": 509, + "./tzm-latn.js": 509, + "./tzm.js": 508, + "./uk": 510, + "./uk.js": 510, + "./ur": 511, + "./ur.js": 511, + "./uz": 512, + "./uz-latn": 513, + "./uz-latn.js": 513, + "./uz.js": 512, + "./vi": 514, + "./vi.js": 514, + "./x-pseudo": 515, + "./x-pseudo.js": 515, + "./yo": 516, + "./yo.js": 516, + "./zh-cn": 517, + "./zh-cn.js": 517, + "./zh-hk": 518, + "./zh-hk.js": 518, + "./zh-tw": 519, + "./zh-tw.js": 519 }; function webpackContext(req) { return __webpack_require__(webpackContextResolve(req)); @@ -55532,89 +56682,90 @@ }; webpackContext.resolve = webpackContextResolve; module.exports = webpackContext; - webpackContext.id = 396; + webpackContext.id = 404; -/***/ }, -/* 397 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 405 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Afrikaans [af] //! author : Werner Mollentze : https://github.com/wernerm ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var af = moment.defineLocale('af', { - months : 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'), - monthsShort : 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), - weekdays : 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'), - weekdaysShort : 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'), - weekdaysMin : 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'), - meridiemParse: /vm|nm/i, - isPM : function (input) { - return /^nm$/i.test(input); - }, - meridiem : function (hours, minutes, isLower) { - if (hours < 12) { - return isLower ? 'vm' : 'VM'; - } else { - return isLower ? 'nm' : 'NM'; - } - }, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd, D MMMM YYYY HH:mm' - }, - calendar : { - sameDay : '[Vandag om] LT', - nextDay : '[Môre om] LT', - nextWeek : 'dddd [om] LT', - lastDay : '[Gister om] LT', - lastWeek : '[Laas] dddd [om] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'oor %s', - past : '%s gelede', - s : '\'n paar sekondes', - m : '\'n minuut', - mm : '%d minute', - h : '\'n uur', - hh : '%d ure', - d : '\'n dag', - dd : '%d dae', - M : '\'n maand', - MM : '%d maande', - y : '\'n jaar', - yy : '%d jaar' - }, - ordinalParse: /\d{1,2}(ste|de)/, - ordinal : function (number) { - return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter - }, - week : { - dow : 1, // Maandag is die eerste dag van die week. - doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar. + }(this, (function (moment) { 'use strict'; + + + var af = moment.defineLocale('af', { + months : 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'), + monthsShort : 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), + weekdays : 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'), + weekdaysShort : 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'), + weekdaysMin : 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'), + meridiemParse: /vm|nm/i, + isPM : function (input) { + return /^nm$/i.test(input); + }, + meridiem : function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'vm' : 'VM'; + } else { + return isLower ? 'nm' : 'NM'; } - }); + }, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[Vandag om] LT', + nextDay : '[Môre om] LT', + nextWeek : 'dddd [om] LT', + lastDay : '[Gister om] LT', + lastWeek : '[Laas] dddd [om] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'oor %s', + past : '%s gelede', + s : '\'n paar sekondes', + m : '\'n minuut', + mm : '%d minute', + h : '\'n uur', + hh : '%d ure', + d : '\'n dag', + dd : '%d dae', + M : '\'n maand', + MM : '%d maande', + y : '\'n jaar', + yy : '%d jaar' + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal : function (number) { + return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter + }, + week : { + dow : 1, // Maandag is die eerste dag van die week. + doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar. + } + }); - return af; + return af; - })); + }))); -/***/ }, -/* 398 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 406 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Arabic [ar] @@ -55623,265 +56774,404 @@ //! author : forabi https://github.com/forabi ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var symbolMap = { - '1': '١', - '2': '٢', - '3': '٣', - '4': '٤', - '5': '٥', - '6': '٦', - '7': '٧', - '8': '٨', - '9': '٩', - '0': '٠' - }, numberMap = { - '١': '1', - '٢': '2', - '٣': '3', - '٤': '4', - '٥': '5', - '٦': '6', - '٧': '7', - '٨': '8', - '٩': '9', - '٠': '0' - }, pluralForm = function (n) { - return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5; - }, plurals = { - s : ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'], - m : ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'], - h : ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'], - d : ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'], - M : ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'], - y : ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام'] - }, pluralize = function (u) { - return function (number, withoutSuffix, string, isFuture) { - var f = pluralForm(number), - str = plurals[u][pluralForm(number)]; - if (f === 2) { - str = str[withoutSuffix ? 0 : 1]; - } - return str.replace(/%d/i, number); - }; - }, months = [ - 'كانون الثاني يناير', - 'شباط فبراير', - 'آذار مارس', - 'نيسان أبريل', - 'أيار مايو', - 'حزيران يونيو', - 'تموز يوليو', - 'آب أغسطس', - 'أيلول سبتمبر', - 'تشرين الأول أكتوبر', - 'تشرين الثاني نوفمبر', - 'كانون الأول ديسمبر' - ]; + }(this, (function (moment) { 'use strict'; + + + var symbolMap = { + '1': '١', + '2': '٢', + '3': '٣', + '4': '٤', + '5': '٥', + '6': '٦', + '7': '٧', + '8': '٨', + '9': '٩', + '0': '٠' + }; + var numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0' + }; + var pluralForm = function (n) { + return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5; + }; + var plurals = { + s : ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'], + m : ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'], + h : ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'], + d : ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'], + M : ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'], + y : ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام'] + }; + var pluralize = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm(number), + str = plurals[u][pluralForm(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }; + var months = [ + 'كانون الثاني يناير', + 'شباط فبراير', + 'آذار مارس', + 'نيسان أبريل', + 'أيار مايو', + 'حزيران يونيو', + 'تموز يوليو', + 'آب أغسطس', + 'أيلول سبتمبر', + 'تشرين الأول أكتوبر', + 'تشرين الثاني نوفمبر', + 'كانون الأول ديسمبر' + ]; - var ar = moment.defineLocale('ar', { - months : months, - monthsShort : months, - weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), - weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), - weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'D/\u200FM/\u200FYYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd D MMMM YYYY HH:mm' - }, - meridiemParse: /ص|م/, - isPM : function (input) { - return 'م' === input; - }, - meridiem : function (hour, minute, isLower) { - if (hour < 12) { - return 'ص'; - } else { - return 'م'; - } - }, - calendar : { - sameDay: '[اليوم عند الساعة] LT', - nextDay: '[غدًا عند الساعة] LT', - nextWeek: 'dddd [عند الساعة] LT', - lastDay: '[أمس عند الساعة] LT', - lastWeek: 'dddd [عند الساعة] LT', - sameElse: 'L' - }, - relativeTime : { - future : 'بعد %s', - past : 'منذ %s', - s : pluralize('s'), - m : pluralize('m'), - mm : pluralize('m'), - h : pluralize('h'), - hh : pluralize('h'), - d : pluralize('d'), - dd : pluralize('d'), - M : pluralize('M'), - MM : pluralize('M'), - y : pluralize('y'), - yy : pluralize('y') - }, - preparse: function (string) { - return string.replace(/\u200f/g, '').replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { - return numberMap[match]; - }).replace(/،/g, ','); - }, - postformat: function (string) { - return string.replace(/\d/g, function (match) { - return symbolMap[match]; - }).replace(/,/g, '،'); - }, - week : { - dow : 6, // Saturday is the first day of the week. - doy : 12 // The week that contains Jan 1st is the first week of the year. + var ar = moment.defineLocale('ar', { + months : months, + monthsShort : months, + weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'D/\u200FM/\u200FYYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + meridiemParse: /ص|م/, + isPM : function (input) { + return 'م' === input; + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; } - }); + }, + calendar : { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'بعد %s', + past : 'منذ %s', + s : pluralize('s'), + m : pluralize('m'), + mm : pluralize('m'), + h : pluralize('h'), + hh : pluralize('h'), + d : pluralize('d'), + dd : pluralize('d'), + M : pluralize('M'), + MM : pluralize('M'), + y : pluralize('y'), + yy : pluralize('y') + }, + preparse: function (string) { + return string.replace(/\u200f/g, '').replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }).replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }).replace(/,/g, '،'); + }, + week : { + dow : 6, // Saturday is the first day of the week. + doy : 12 // The week that contains Jan 1st is the first week of the year. + } + }); - return ar; + return ar; - })); + }))); -/***/ }, -/* 399 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 407 */ +/***/ (function(module, exports, __webpack_require__) { + + //! moment.js locale configuration + //! locale : Arabic (Algeria) [ar-dz] + //! author : Noureddine LOUAHEDJ : https://github.com/noureddineme + + ;(function (global, factory) { + true ? factory(__webpack_require__(403)) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) + }(this, (function (moment) { 'use strict'; + + + var arDz = moment.defineLocale('ar-dz', { + months : 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + monthsShort : 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort : 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin : 'أح_إث_ثلا_أر_خم_جم_سب'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'في %s', + past : 'منذ %s', + s : 'ثوان', + m : 'دقيقة', + mm : '%d دقائق', + h : 'ساعة', + hh : '%d ساعات', + d : 'يوم', + dd : '%d أيام', + M : 'شهر', + MM : '%d أشهر', + y : 'سنة', + yy : '%d سنوات' + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 4 // The week that contains Jan 1st is the first week of the year. + } + }); + + return arDz; + + }))); + + +/***/ }), +/* 408 */ +/***/ (function(module, exports, __webpack_require__) { + + //! moment.js locale configuration + //! locale : Arabic (Kuwait) [ar-kw] + //! author : Nusret Parlak: https://github.com/nusretparlak + + ;(function (global, factory) { + true ? factory(__webpack_require__(403)) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) + }(this, (function (moment) { 'use strict'; + + + var arKw = moment.defineLocale('ar-kw', { + months : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), + monthsShort : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), + weekdays : 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort : 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'في %s', + past : 'منذ %s', + s : 'ثوان', + m : 'دقيقة', + mm : '%d دقائق', + h : 'ساعة', + hh : '%d ساعات', + d : 'يوم', + dd : '%d أيام', + M : 'شهر', + MM : '%d أشهر', + y : 'سنة', + yy : '%d سنوات' + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 12 // The week that contains Jan 1st is the first week of the year. + } + }); + + return arKw; + + }))); + + +/***/ }), +/* 409 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Arabic (Lybia) [ar-ly] //! author : Ali Hmer: https://github.com/kikoanis ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var symbolMap = { - '1': '1', - '2': '2', - '3': '3', - '4': '4', - '5': '5', - '6': '6', - '7': '7', - '8': '8', - '9': '9', - '0': '0' - }, pluralForm = function (n) { - return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5; - }, plurals = { - s : ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'], - m : ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'], - h : ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'], - d : ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'], - M : ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'], - y : ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام'] - }, pluralize = function (u) { - return function (number, withoutSuffix, string, isFuture) { - var f = pluralForm(number), - str = plurals[u][pluralForm(number)]; - if (f === 2) { - str = str[withoutSuffix ? 0 : 1]; - } - return str.replace(/%d/i, number); - }; - }, months = [ - 'يناير', - 'فبراير', - 'مارس', - 'أبريل', - 'مايو', - 'يونيو', - 'يوليو', - 'أغسطس', - 'سبتمبر', - 'أكتوبر', - 'نوفمبر', - 'ديسمبر' - ]; + }(this, (function (moment) { 'use strict'; + + + var symbolMap = { + '1': '1', + '2': '2', + '3': '3', + '4': '4', + '5': '5', + '6': '6', + '7': '7', + '8': '8', + '9': '9', + '0': '0' + }; + var pluralForm = function (n) { + return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5; + }; + var plurals = { + s : ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'], + m : ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'], + h : ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'], + d : ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'], + M : ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'], + y : ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام'] + }; + var pluralize = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm(number), + str = plurals[u][pluralForm(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }; + var months = [ + 'يناير', + 'فبراير', + 'مارس', + 'أبريل', + 'مايو', + 'يونيو', + 'يوليو', + 'أغسطس', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر' + ]; - var ar_ly = moment.defineLocale('ar-ly', { - months : months, - monthsShort : months, - weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), - weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), - weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'D/\u200FM/\u200FYYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd D MMMM YYYY HH:mm' - }, - meridiemParse: /ص|م/, - isPM : function (input) { - return 'م' === input; - }, - meridiem : function (hour, minute, isLower) { - if (hour < 12) { - return 'ص'; - } else { - return 'م'; - } - }, - calendar : { - sameDay: '[اليوم عند الساعة] LT', - nextDay: '[غدًا عند الساعة] LT', - nextWeek: 'dddd [عند الساعة] LT', - lastDay: '[أمس عند الساعة] LT', - lastWeek: 'dddd [عند الساعة] LT', - sameElse: 'L' - }, - relativeTime : { - future : 'بعد %s', - past : 'منذ %s', - s : pluralize('s'), - m : pluralize('m'), - mm : pluralize('m'), - h : pluralize('h'), - hh : pluralize('h'), - d : pluralize('d'), - dd : pluralize('d'), - M : pluralize('M'), - MM : pluralize('M'), - y : pluralize('y'), - yy : pluralize('y') - }, - preparse: function (string) { - return string.replace(/\u200f/g, '').replace(/،/g, ','); - }, - postformat: function (string) { - return string.replace(/\d/g, function (match) { - return symbolMap[match]; - }).replace(/,/g, '،'); - }, - week : { - dow : 6, // Saturday is the first day of the week. - doy : 12 // The week that contains Jan 1st is the first week of the year. + var arLy = moment.defineLocale('ar-ly', { + months : months, + monthsShort : months, + weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'D/\u200FM/\u200FYYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + meridiemParse: /ص|م/, + isPM : function (input) { + return 'م' === input; + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; } - }); + }, + calendar : { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'بعد %s', + past : 'منذ %s', + s : pluralize('s'), + m : pluralize('m'), + mm : pluralize('m'), + h : pluralize('h'), + hh : pluralize('h'), + d : pluralize('d'), + dd : pluralize('d'), + M : pluralize('M'), + MM : pluralize('M'), + y : pluralize('y'), + yy : pluralize('y') + }, + preparse: function (string) { + return string.replace(/\u200f/g, '').replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }).replace(/,/g, '،'); + }, + week : { + dow : 6, // Saturday is the first day of the week. + doy : 12 // The week that contains Jan 1st is the first week of the year. + } + }); - return ar_ly; + return arLy; - })); + }))); -/***/ }, -/* 400 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 410 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Arabic (Morocco) [ar-ma] @@ -55889,343 +57179,348 @@ //! author : Abdel Said : https://github.com/abdelsaid ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var ar_ma = moment.defineLocale('ar-ma', { - months : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), - monthsShort : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), - weekdays : 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), - weekdaysShort : 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), - weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd D MMMM YYYY HH:mm' - }, - calendar : { - sameDay: '[اليوم على الساعة] LT', - nextDay: '[غدا على الساعة] LT', - nextWeek: 'dddd [على الساعة] LT', - lastDay: '[أمس على الساعة] LT', - lastWeek: 'dddd [على الساعة] LT', - sameElse: 'L' - }, - relativeTime : { - future : 'في %s', - past : 'منذ %s', - s : 'ثوان', - m : 'دقيقة', - mm : '%d دقائق', - h : 'ساعة', - hh : '%d ساعات', - d : 'يوم', - dd : '%d أيام', - M : 'شهر', - MM : '%d أشهر', - y : 'سنة', - yy : '%d سنوات' - }, - week : { - dow : 6, // Saturday is the first day of the week. - doy : 12 // The week that contains Jan 1st is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var arMa = moment.defineLocale('ar-ma', { + months : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), + monthsShort : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), + weekdays : 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort : 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'في %s', + past : 'منذ %s', + s : 'ثوان', + m : 'دقيقة', + mm : '%d دقائق', + h : 'ساعة', + hh : '%d ساعات', + d : 'يوم', + dd : '%d أيام', + M : 'شهر', + MM : '%d أشهر', + y : 'سنة', + yy : '%d سنوات' + }, + week : { + dow : 6, // Saturday is the first day of the week. + doy : 12 // The week that contains Jan 1st is the first week of the year. + } + }); - return ar_ma; + return arMa; - })); + }))); -/***/ }, -/* 401 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 411 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Arabic (Saudi Arabia) [ar-sa] //! author : Suhail Alkowaileet : https://github.com/xsoh ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var symbolMap = { - '1': '١', - '2': '٢', - '3': '٣', - '4': '٤', - '5': '٥', - '6': '٦', - '7': '٧', - '8': '٨', - '9': '٩', - '0': '٠' - }, numberMap = { - '١': '1', - '٢': '2', - '٣': '3', - '٤': '4', - '٥': '5', - '٦': '6', - '٧': '7', - '٨': '8', - '٩': '9', - '٠': '0' - }; - - var ar_sa = moment.defineLocale('ar-sa', { - months : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), - monthsShort : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), - weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), - weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), - weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd D MMMM YYYY HH:mm' - }, - meridiemParse: /ص|م/, - isPM : function (input) { - return 'م' === input; - }, - meridiem : function (hour, minute, isLower) { - if (hour < 12) { - return 'ص'; - } else { - return 'م'; - } - }, - calendar : { - sameDay: '[اليوم على الساعة] LT', - nextDay: '[غدا على الساعة] LT', - nextWeek: 'dddd [على الساعة] LT', - lastDay: '[أمس على الساعة] LT', - lastWeek: 'dddd [على الساعة] LT', - sameElse: 'L' - }, - relativeTime : { - future : 'في %s', - past : 'منذ %s', - s : 'ثوان', - m : 'دقيقة', - mm : '%d دقائق', - h : 'ساعة', - hh : '%d ساعات', - d : 'يوم', - dd : '%d أيام', - M : 'شهر', - MM : '%d أشهر', - y : 'سنة', - yy : '%d سنوات' - }, - preparse: function (string) { - return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { - return numberMap[match]; - }).replace(/،/g, ','); - }, - postformat: function (string) { - return string.replace(/\d/g, function (match) { - return symbolMap[match]; - }).replace(/,/g, '،'); - }, - week : { - dow : 6, // Saturday is the first day of the week. - doy : 12 // The week that contains Jan 1st is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var symbolMap = { + '1': '١', + '2': '٢', + '3': '٣', + '4': '٤', + '5': '٥', + '6': '٦', + '7': '٧', + '8': '٨', + '9': '٩', + '0': '٠' + }; + var numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0' + }; + + var arSa = moment.defineLocale('ar-sa', { + months : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + monthsShort : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + meridiemParse: /ص|م/, + isPM : function (input) { + return 'م' === input; + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; } - }); + }, + calendar : { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'في %s', + past : 'منذ %s', + s : 'ثوان', + m : 'دقيقة', + mm : '%d دقائق', + h : 'ساعة', + hh : '%d ساعات', + d : 'يوم', + dd : '%d أيام', + M : 'شهر', + MM : '%d أشهر', + y : 'سنة', + yy : '%d سنوات' + }, + preparse: function (string) { + return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }).replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }).replace(/,/g, '،'); + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); - return ar_sa; + return arSa; - })); + }))); -/***/ }, -/* 402 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 412 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Arabic (Tunisia) [ar-tn] //! author : Nader Toukabri : https://github.com/naderio ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var ar_tn = moment.defineLocale('ar-tn', { - months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), - monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), - weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), - weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), - weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), - weekdaysParseExact : true, - longDateFormat: { - LT: 'HH:mm', - LTS: 'HH:mm:ss', - L: 'DD/MM/YYYY', - LL: 'D MMMM YYYY', - LLL: 'D MMMM YYYY HH:mm', - LLLL: 'dddd D MMMM YYYY HH:mm' - }, - calendar: { - sameDay: '[اليوم على الساعة] LT', - nextDay: '[غدا على الساعة] LT', - nextWeek: 'dddd [على الساعة] LT', - lastDay: '[أمس على الساعة] LT', - lastWeek: 'dddd [على الساعة] LT', - sameElse: 'L' - }, - relativeTime: { - future: 'في %s', - past: 'منذ %s', - s: 'ثوان', - m: 'دقيقة', - mm: '%d دقائق', - h: 'ساعة', - hh: '%d ساعات', - d: 'يوم', - dd: '%d أيام', - M: 'شهر', - MM: '%d أشهر', - y: 'سنة', - yy: '%d سنوات' - }, - week: { - dow: 1, // Monday is the first day of the week. - doy: 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var arTn = moment.defineLocale('ar-tn', { + months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact : true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L' + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات' + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return ar_tn; + return arTn; - })); + }))); -/***/ }, -/* 403 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 413 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Azerbaijani [az] //! author : topchiyev : https://github.com/topchiyev ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var suffixes = { - 1: '-inci', - 5: '-inci', - 8: '-inci', - 70: '-inci', - 80: '-inci', - 2: '-nci', - 7: '-nci', - 20: '-nci', - 50: '-nci', - 3: '-üncü', - 4: '-üncü', - 100: '-üncü', - 6: '-ncı', - 9: '-uncu', - 10: '-uncu', - 30: '-uncu', - 60: '-ıncı', - 90: '-ıncı' - }; - - var az = moment.defineLocale('az', { - months : 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'), - monthsShort : 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), - weekdays : 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'), - weekdaysShort : 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'), - weekdaysMin : 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd, D MMMM YYYY HH:mm' - }, - calendar : { - sameDay : '[bugün saat] LT', - nextDay : '[sabah saat] LT', - nextWeek : '[gələn həftə] dddd [saat] LT', - lastDay : '[dünən] LT', - lastWeek : '[keçən həftə] dddd [saat] LT', - sameElse : 'L' - }, - relativeTime : { - future : '%s sonra', - past : '%s əvvəl', - s : 'birneçə saniyyə', - m : 'bir dəqiqə', - mm : '%d dəqiqə', - h : 'bir saat', - hh : '%d saat', - d : 'bir gün', - dd : '%d gün', - M : 'bir ay', - MM : '%d ay', - y : 'bir il', - yy : '%d il' - }, - meridiemParse: /gecə|səhər|gündüz|axşam/, - isPM : function (input) { - return /^(gündüz|axşam)$/.test(input); - }, - meridiem : function (hour, minute, isLower) { - if (hour < 4) { - return 'gecə'; - } else if (hour < 12) { - return 'səhər'; - } else if (hour < 17) { - return 'gündüz'; - } else { - return 'axşam'; - } - }, - ordinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/, - ordinal : function (number) { - if (number === 0) { // special case for zero - return number + '-ıncı'; - } - var a = number % 10, - b = number % 100 - a, - c = number >= 100 ? 100 : null; - return number + (suffixes[a] || suffixes[b] || suffixes[c]); - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var suffixes = { + 1: '-inci', + 5: '-inci', + 8: '-inci', + 70: '-inci', + 80: '-inci', + 2: '-nci', + 7: '-nci', + 20: '-nci', + 50: '-nci', + 3: '-üncü', + 4: '-üncü', + 100: '-üncü', + 6: '-ncı', + 9: '-uncu', + 10: '-uncu', + 30: '-uncu', + 60: '-ıncı', + 90: '-ıncı' + }; + + var az = moment.defineLocale('az', { + months : 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'), + monthsShort : 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), + weekdays : 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'), + weekdaysShort : 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'), + weekdaysMin : 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[bugün saat] LT', + nextDay : '[sabah saat] LT', + nextWeek : '[gələn həftə] dddd [saat] LT', + lastDay : '[dünən] LT', + lastWeek : '[keçən həftə] dddd [saat] LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s sonra', + past : '%s əvvəl', + s : 'birneçə saniyyə', + m : 'bir dəqiqə', + mm : '%d dəqiqə', + h : 'bir saat', + hh : '%d saat', + d : 'bir gün', + dd : '%d gün', + M : 'bir ay', + MM : '%d ay', + y : 'bir il', + yy : '%d il' + }, + meridiemParse: /gecə|səhər|gündüz|axşam/, + isPM : function (input) { + return /^(gündüz|axşam)$/.test(input); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'gecə'; + } else if (hour < 12) { + return 'səhər'; + } else if (hour < 17) { + return 'gündüz'; + } else { + return 'axşam'; } - }); + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/, + ordinal : function (number) { + if (number === 0) { // special case for zero + return number + '-ıncı'; + } + var a = number % 10, + b = number % 100 - a, + c = number >= 100 ? 100 : null; + return number + (suffixes[a] || suffixes[b] || suffixes[c]); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return az; + return az; - })); + }))); -/***/ }, -/* 404 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 414 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Belarusian [be] @@ -56234,588 +57529,593 @@ //! Author : Menelion Elensúle : https://github.com/Oire ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - function plural(word, num) { - var forms = word.split('_'); - return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]); + function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]); + } + function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + 'mm': withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін', + 'hh': withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін', + 'dd': 'дзень_дні_дзён', + 'MM': 'месяц_месяцы_месяцаў', + 'yy': 'год_гады_гадоў' + }; + if (key === 'm') { + return withoutSuffix ? 'хвіліна' : 'хвіліну'; } - function relativeTimeWithPlural(number, withoutSuffix, key) { - var format = { - 'mm': withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін', - 'hh': withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін', - 'dd': 'дзень_дні_дзён', - 'MM': 'месяц_месяцы_месяцаў', - 'yy': 'год_гады_гадоў' - }; - if (key === 'm') { - return withoutSuffix ? 'хвіліна' : 'хвіліну'; - } - else if (key === 'h') { - return withoutSuffix ? 'гадзіна' : 'гадзіну'; - } - else { - return number + ' ' + plural(format[key], +number); - } + else if (key === 'h') { + return withoutSuffix ? 'гадзіна' : 'гадзіну'; + } + else { + return number + ' ' + plural(format[key], +number); } + } - var be = moment.defineLocale('be', { - months : { - format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_'), - standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split('_') - }, - monthsShort : 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'), - weekdays : { - format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_'), - standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split('_'), - isFormat: /\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/ - }, - weekdaysShort : 'нд_пн_ат_ср_чц_пт_сб'.split('_'), - weekdaysMin : 'нд_пн_ат_ср_чц_пт_сб'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D MMMM YYYY г.', - LLL : 'D MMMM YYYY г., HH:mm', - LLLL : 'dddd, D MMMM YYYY г., HH:mm' - }, - calendar : { - sameDay: '[Сёння ў] LT', - nextDay: '[Заўтра ў] LT', - lastDay: '[Учора ў] LT', - nextWeek: function () { - return '[У] dddd [ў] LT'; - }, - lastWeek: function () { - switch (this.day()) { - case 0: - case 3: - case 5: - case 6: - return '[У мінулую] dddd [ў] LT'; - case 1: - case 2: - case 4: - return '[У мінулы] dddd [ў] LT'; - } - }, - sameElse: 'L' - }, - relativeTime : { - future : 'праз %s', - past : '%s таму', - s : 'некалькі секунд', - m : relativeTimeWithPlural, - mm : relativeTimeWithPlural, - h : relativeTimeWithPlural, - hh : relativeTimeWithPlural, - d : 'дзень', - dd : relativeTimeWithPlural, - M : 'месяц', - MM : relativeTimeWithPlural, - y : 'год', - yy : relativeTimeWithPlural - }, - meridiemParse: /ночы|раніцы|дня|вечара/, - isPM : function (input) { - return /^(дня|вечара)$/.test(input); - }, - meridiem : function (hour, minute, isLower) { - if (hour < 4) { - return 'ночы'; - } else if (hour < 12) { - return 'раніцы'; - } else if (hour < 17) { - return 'дня'; - } else { - return 'вечара'; - } + var be = moment.defineLocale('be', { + months : { + format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_'), + standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split('_') + }, + monthsShort : 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'), + weekdays : { + format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_'), + standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split('_'), + isFormat: /\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/ + }, + weekdaysShort : 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + weekdaysMin : 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY г.', + LLL : 'D MMMM YYYY г., HH:mm', + LLLL : 'dddd, D MMMM YYYY г., HH:mm' + }, + calendar : { + sameDay: '[Сёння ў] LT', + nextDay: '[Заўтра ў] LT', + lastDay: '[Учора ў] LT', + nextWeek: function () { + return '[У] dddd [ў] LT'; }, - ordinalParse: /\d{1,2}-(і|ы|га)/, - ordinal: function (number, period) { - switch (period) { - case 'M': - case 'd': - case 'DDD': - case 'w': - case 'W': - return (number % 10 === 2 || number % 10 === 3) && (number % 100 !== 12 && number % 100 !== 13) ? number + '-і' : number + '-ы'; - case 'D': - return number + '-га'; - default: - return number; + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 5: + case 6: + return '[У мінулую] dddd [ў] LT'; + case 1: + case 2: + case 4: + return '[У мінулы] dddd [ў] LT'; } }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. + sameElse: 'L' + }, + relativeTime : { + future : 'праз %s', + past : '%s таму', + s : 'некалькі секунд', + m : relativeTimeWithPlural, + mm : relativeTimeWithPlural, + h : relativeTimeWithPlural, + hh : relativeTimeWithPlural, + d : 'дзень', + dd : relativeTimeWithPlural, + M : 'месяц', + MM : relativeTimeWithPlural, + y : 'год', + yy : relativeTimeWithPlural + }, + meridiemParse: /ночы|раніцы|дня|вечара/, + isPM : function (input) { + return /^(дня|вечара)$/.test(input); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'ночы'; + } else if (hour < 12) { + return 'раніцы'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечара'; } - }); + }, + dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + case 'w': + case 'W': + return (number % 10 === 2 || number % 10 === 3) && (number % 100 !== 12 && number % 100 !== 13) ? number + '-і' : number + '-ы'; + case 'D': + return number + '-га'; + default: + return number; + } + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return be; + return be; - })); + }))); -/***/ }, -/* 405 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 415 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Bulgarian [bg] //! author : Krasen Borisov : https://github.com/kraz ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var bg = moment.defineLocale('bg', { - months : 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split('_'), - monthsShort : 'янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'), - weekdays : 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split('_'), - weekdaysShort : 'нед_пон_вто_сря_чет_пет_съб'.split('_'), - weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'), - longDateFormat : { - LT : 'H:mm', - LTS : 'H:mm:ss', - L : 'D.MM.YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY H:mm', - LLLL : 'dddd, D MMMM YYYY H:mm' - }, - calendar : { - sameDay : '[Днес в] LT', - nextDay : '[Утре в] LT', - nextWeek : 'dddd [в] LT', - lastDay : '[Вчера в] LT', - lastWeek : function () { - switch (this.day()) { - case 0: - case 3: - case 6: - return '[В изминалата] dddd [в] LT'; - case 1: - case 2: - case 4: - case 5: - return '[В изминалия] dddd [в] LT'; - } - }, - sameElse : 'L' - }, - relativeTime : { - future : 'след %s', - past : 'преди %s', - s : 'няколко секунди', - m : 'минута', - mm : '%d минути', - h : 'час', - hh : '%d часа', - d : 'ден', - dd : '%d дни', - M : 'месец', - MM : '%d месеца', - y : 'година', - yy : '%d години' - }, - ordinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, - ordinal : function (number) { - var lastDigit = number % 10, - last2Digits = number % 100; - if (number === 0) { - return number + '-ев'; - } else if (last2Digits === 0) { - return number + '-ен'; - } else if (last2Digits > 10 && last2Digits < 20) { - return number + '-ти'; - } else if (lastDigit === 1) { - return number + '-ви'; - } else if (lastDigit === 2) { - return number + '-ри'; - } else if (lastDigit === 7 || lastDigit === 8) { - return number + '-ми'; - } else { - return number + '-ти'; + }(this, (function (moment) { 'use strict'; + + + var bg = moment.defineLocale('bg', { + months : 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split('_'), + monthsShort : 'янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'), + weekdays : 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split('_'), + weekdaysShort : 'нед_пон_вто_сря_чет_пет_съб'.split('_'), + weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'D.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY H:mm', + LLLL : 'dddd, D MMMM YYYY H:mm' + }, + calendar : { + sameDay : '[Днес в] LT', + nextDay : '[Утре в] LT', + nextWeek : 'dddd [в] LT', + lastDay : '[Вчера в] LT', + lastWeek : function () { + switch (this.day()) { + case 0: + case 3: + case 6: + return '[В изминалата] dddd [в] LT'; + case 1: + case 2: + case 4: + case 5: + return '[В изминалия] dddd [в] LT'; } }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. + sameElse : 'L' + }, + relativeTime : { + future : 'след %s', + past : 'преди %s', + s : 'няколко секунди', + m : 'минута', + mm : '%d минути', + h : 'час', + hh : '%d часа', + d : 'ден', + dd : '%d дни', + M : 'месец', + MM : '%d месеца', + y : 'година', + yy : '%d години' + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, + ordinal : function (number) { + var lastDigit = number % 10, + last2Digits = number % 100; + if (number === 0) { + return number + '-ев'; + } else if (last2Digits === 0) { + return number + '-ен'; + } else if (last2Digits > 10 && last2Digits < 20) { + return number + '-ти'; + } else if (lastDigit === 1) { + return number + '-ви'; + } else if (lastDigit === 2) { + return number + '-ри'; + } else if (lastDigit === 7 || lastDigit === 8) { + return number + '-ми'; + } else { + return number + '-ти'; } - }); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return bg; + return bg; - })); + }))); -/***/ }, -/* 406 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 416 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Bengali [bn] //! author : Kaushik Gandhi : https://github.com/kaushikgandhi ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var symbolMap = { - '1': '১', - '2': '২', - '3': '৩', - '4': '৪', - '5': '৫', - '6': '৬', - '7': '৭', - '8': '৮', - '9': '৯', - '0': '০' - }, - numberMap = { - '১': '1', - '২': '2', - '৩': '3', - '৪': '4', - '৫': '5', - '৬': '6', - '৭': '7', - '৮': '8', - '৯': '9', - '০': '0' - }; - - var bn = moment.defineLocale('bn', { - months : 'জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'), - monthsShort : 'জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে'.split('_'), - weekdays : 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split('_'), - weekdaysShort : 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), - weekdaysMin : 'রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি'.split('_'), - longDateFormat : { - LT : 'A h:mm সময়', - LTS : 'A h:mm:ss সময়', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY, A h:mm সময়', - LLLL : 'dddd, D MMMM YYYY, A h:mm সময়' - }, - calendar : { - sameDay : '[আজ] LT', - nextDay : '[আগামীকাল] LT', - nextWeek : 'dddd, LT', - lastDay : '[গতকাল] LT', - lastWeek : '[গত] dddd, LT', - sameElse : 'L' - }, - relativeTime : { - future : '%s পরে', - past : '%s আগে', - s : 'কয়েক সেকেন্ড', - m : 'এক মিনিট', - mm : '%d মিনিট', - h : 'এক ঘন্টা', - hh : '%d ঘন্টা', - d : 'এক দিন', - dd : '%d দিন', - M : 'এক মাস', - MM : '%d মাস', - y : 'এক বছর', - yy : '%d বছর' - }, - preparse: function (string) { - return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { - return numberMap[match]; - }); - }, - postformat: function (string) { - return string.replace(/\d/g, function (match) { - return symbolMap[match]; - }); - }, - meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/, - meridiemHour : function (hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if ((meridiem === 'রাত' && hour >= 4) || - (meridiem === 'দুপুর' && hour < 5) || - meridiem === 'বিকাল') { - return hour + 12; - } else { - return hour; - } - }, - meridiem : function (hour, minute, isLower) { - if (hour < 4) { - return 'রাত'; - } else if (hour < 10) { - return 'সকাল'; - } else if (hour < 17) { - return 'দুপুর'; - } else if (hour < 20) { - return 'বিকাল'; - } else { - return 'রাত'; - } - }, - week : { - dow : 0, // Sunday is the first day of the week. - doy : 6 // The week that contains Jan 1st is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var symbolMap = { + '1': '১', + '2': '২', + '3': '৩', + '4': '৪', + '5': '৫', + '6': '৬', + '7': '৭', + '8': '৮', + '9': '৯', + '0': '০' + }; + var numberMap = { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0' + }; + + var bn = moment.defineLocale('bn', { + months : 'জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'), + monthsShort : 'জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে'.split('_'), + weekdays : 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split('_'), + weekdaysShort : 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), + weekdaysMin : 'রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি'.split('_'), + longDateFormat : { + LT : 'A h:mm সময়', + LTS : 'A h:mm:ss সময়', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, A h:mm সময়', + LLLL : 'dddd, D MMMM YYYY, A h:mm সময়' + }, + calendar : { + sameDay : '[আজ] LT', + nextDay : '[আগামীকাল] LT', + nextWeek : 'dddd, LT', + lastDay : '[গতকাল] LT', + lastWeek : '[গত] dddd, LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s পরে', + past : '%s আগে', + s : 'কয়েক সেকেন্ড', + m : 'এক মিনিট', + mm : '%d মিনিট', + h : 'এক ঘন্টা', + hh : '%d ঘন্টা', + d : 'এক দিন', + dd : '%d দিন', + M : 'এক মাস', + MM : '%d মাস', + y : 'এক বছর', + yy : '%d বছর' + }, + preparse: function (string) { + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ((meridiem === 'রাত' && hour >= 4) || + (meridiem === 'দুপুর' && hour < 5) || + meridiem === 'বিকাল') { + return hour + 12; + } else { + return hour; } - }); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'রাত'; + } else if (hour < 10) { + return 'সকাল'; + } else if (hour < 17) { + return 'দুপুর'; + } else if (hour < 20) { + return 'বিকাল'; + } else { + return 'রাত'; + } + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); - return bn; + return bn; - })); + }))); -/***/ }, -/* 407 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 417 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Tibetan [bo] //! author : Thupten N. Chakrishar : https://github.com/vajradog ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var symbolMap = { - '1': '༡', - '2': '༢', - '3': '༣', - '4': '༤', - '5': '༥', - '6': '༦', - '7': '༧', - '8': '༨', - '9': '༩', - '0': '༠' - }, - numberMap = { - '༡': '1', - '༢': '2', - '༣': '3', - '༤': '4', - '༥': '5', - '༦': '6', - '༧': '7', - '༨': '8', - '༩': '9', - '༠': '0' - }; - - var bo = moment.defineLocale('bo', { - months : 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'), - monthsShort : 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'), - weekdays : 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split('_'), - weekdaysShort : 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'), - weekdaysMin : 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'), - longDateFormat : { - LT : 'A h:mm', - LTS : 'A h:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY, A h:mm', - LLLL : 'dddd, D MMMM YYYY, A h:mm' - }, - calendar : { - sameDay : '[དི་རིང] LT', - nextDay : '[སང་ཉིན] LT', - nextWeek : '[བདུན་ཕྲག་རྗེས་མ], LT', - lastDay : '[ཁ་སང] LT', - lastWeek : '[བདུན་ཕྲག་མཐའ་མ] dddd, LT', - sameElse : 'L' - }, - relativeTime : { - future : '%s ལ་', - past : '%s སྔན་ལ', - s : 'ལམ་སང', - m : 'སྐར་མ་གཅིག', - mm : '%d སྐར་མ', - h : 'ཆུ་ཚོད་གཅིག', - hh : '%d ཆུ་ཚོད', - d : 'ཉིན་གཅིག', - dd : '%d ཉིན་', - M : 'ཟླ་བ་གཅིག', - MM : '%d ཟླ་བ', - y : 'ལོ་གཅིག', - yy : '%d ལོ' - }, - preparse: function (string) { - return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) { - return numberMap[match]; - }); - }, - postformat: function (string) { - return string.replace(/\d/g, function (match) { - return symbolMap[match]; - }); - }, - meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/, - meridiemHour : function (hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if ((meridiem === 'མཚན་མོ' && hour >= 4) || - (meridiem === 'ཉིན་གུང' && hour < 5) || - meridiem === 'དགོང་དག') { - return hour + 12; - } else { - return hour; - } - }, - meridiem : function (hour, minute, isLower) { - if (hour < 4) { - return 'མཚན་མོ'; - } else if (hour < 10) { - return 'ཞོགས་ཀས'; - } else if (hour < 17) { - return 'ཉིན་གུང'; - } else if (hour < 20) { - return 'དགོང་དག'; - } else { - return 'མཚན་མོ'; - } - }, - week : { - dow : 0, // Sunday is the first day of the week. - doy : 6 // The week that contains Jan 1st is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var symbolMap = { + '1': '༡', + '2': '༢', + '3': '༣', + '4': '༤', + '5': '༥', + '6': '༦', + '7': '༧', + '8': '༨', + '9': '༩', + '0': '༠' + }; + var numberMap = { + '༡': '1', + '༢': '2', + '༣': '3', + '༤': '4', + '༥': '5', + '༦': '6', + '༧': '7', + '༨': '8', + '༩': '9', + '༠': '0' + }; + + var bo = moment.defineLocale('bo', { + months : 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'), + monthsShort : 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'), + weekdays : 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split('_'), + weekdaysShort : 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'), + weekdaysMin : 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'), + longDateFormat : { + LT : 'A h:mm', + LTS : 'A h:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, A h:mm', + LLLL : 'dddd, D MMMM YYYY, A h:mm' + }, + calendar : { + sameDay : '[དི་རིང] LT', + nextDay : '[སང་ཉིན] LT', + nextWeek : '[བདུན་ཕྲག་རྗེས་མ], LT', + lastDay : '[ཁ་སང] LT', + lastWeek : '[བདུན་ཕྲག་མཐའ་མ] dddd, LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s ལ་', + past : '%s སྔན་ལ', + s : 'ལམ་སང', + m : 'སྐར་མ་གཅིག', + mm : '%d སྐར་མ', + h : 'ཆུ་ཚོད་གཅིག', + hh : '%d ཆུ་ཚོད', + d : 'ཉིན་གཅིག', + dd : '%d ཉིན་', + M : 'ཟླ་བ་གཅིག', + MM : '%d ཟླ་བ', + y : 'ལོ་གཅིག', + yy : '%d ལོ' + }, + preparse: function (string) { + return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ((meridiem === 'མཚན་མོ' && hour >= 4) || + (meridiem === 'ཉིན་གུང' && hour < 5) || + meridiem === 'དགོང་དག') { + return hour + 12; + } else { + return hour; } - }); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'མཚན་མོ'; + } else if (hour < 10) { + return 'ཞོགས་ཀས'; + } else if (hour < 17) { + return 'ཉིན་གུང'; + } else if (hour < 20) { + return 'དགོང་དག'; + } else { + return 'མཚན་མོ'; + } + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); - return bo; + return bo; - })); + }))); -/***/ }, -/* 408 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 418 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Breton [br] //! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - function relativeTimeWithMutation(number, withoutSuffix, key) { - var format = { - 'mm': 'munutenn', - 'MM': 'miz', - 'dd': 'devezh' - }; - return number + ' ' + mutation(format[key], number); + function relativeTimeWithMutation(number, withoutSuffix, key) { + var format = { + 'mm': 'munutenn', + 'MM': 'miz', + 'dd': 'devezh' + }; + return number + ' ' + mutation(format[key], number); + } + function specialMutationForYears(number) { + switch (lastNumber(number)) { + case 1: + case 3: + case 4: + case 5: + case 9: + return number + ' bloaz'; + default: + return number + ' vloaz'; } - function specialMutationForYears(number) { - switch (lastNumber(number)) { - case 1: - case 3: - case 4: - case 5: - case 9: - return number + ' bloaz'; - default: - return number + ' vloaz'; - } + } + function lastNumber(number) { + if (number > 9) { + return lastNumber(number % 10); } - function lastNumber(number) { - if (number > 9) { - return lastNumber(number % 10); - } - return number; + return number; + } + function mutation(text, number) { + if (number === 2) { + return softMutation(text); } - function mutation(text, number) { - if (number === 2) { - return softMutation(text); - } + return text; + } + function softMutation(text) { + var mutationTable = { + 'm': 'v', + 'b': 'v', + 'd': 'z' + }; + if (mutationTable[text.charAt(0)] === undefined) { return text; } - function softMutation(text) { - var mutationTable = { - 'm': 'v', - 'b': 'v', - 'd': 'z' - }; - if (mutationTable[text.charAt(0)] === undefined) { - return text; - } - return mutationTable[text.charAt(0)] + text.substring(1); - } - - var br = moment.defineLocale('br', { - months : 'Genver_C\'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split('_'), - monthsShort : 'Gen_C\'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'), - weekdays : 'Sul_Lun_Meurzh_Merc\'her_Yaou_Gwener_Sadorn'.split('_'), - weekdaysShort : 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'), - weekdaysMin : 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'h[e]mm A', - LTS : 'h[e]mm:ss A', - L : 'DD/MM/YYYY', - LL : 'D [a viz] MMMM YYYY', - LLL : 'D [a viz] MMMM YYYY h[e]mm A', - LLLL : 'dddd, D [a viz] MMMM YYYY h[e]mm A' - }, - calendar : { - sameDay : '[Hiziv da] LT', - nextDay : '[Warc\'hoazh da] LT', - nextWeek : 'dddd [da] LT', - lastDay : '[Dec\'h da] LT', - lastWeek : 'dddd [paset da] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'a-benn %s', - past : '%s \'zo', - s : 'un nebeud segondennoù', - m : 'ur vunutenn', - mm : relativeTimeWithMutation, - h : 'un eur', - hh : '%d eur', - d : 'un devezh', - dd : relativeTimeWithMutation, - M : 'ur miz', - MM : relativeTimeWithMutation, - y : 'ur bloaz', - yy : specialMutationForYears - }, - ordinalParse: /\d{1,2}(añ|vet)/, - ordinal : function (number) { - var output = (number === 1) ? 'añ' : 'vet'; - return number + output; - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + return mutationTable[text.charAt(0)] + text.substring(1); + } + + var br = moment.defineLocale('br', { + months : 'Genver_C\'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split('_'), + monthsShort : 'Gen_C\'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'), + weekdays : 'Sul_Lun_Meurzh_Merc\'her_Yaou_Gwener_Sadorn'.split('_'), + weekdaysShort : 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'), + weekdaysMin : 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'h[e]mm A', + LTS : 'h[e]mm:ss A', + L : 'DD/MM/YYYY', + LL : 'D [a viz] MMMM YYYY', + LLL : 'D [a viz] MMMM YYYY h[e]mm A', + LLLL : 'dddd, D [a viz] MMMM YYYY h[e]mm A' + }, + calendar : { + sameDay : '[Hiziv da] LT', + nextDay : '[Warc\'hoazh da] LT', + nextWeek : 'dddd [da] LT', + lastDay : '[Dec\'h da] LT', + lastWeek : 'dddd [paset da] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'a-benn %s', + past : '%s \'zo', + s : 'un nebeud segondennoù', + m : 'ur vunutenn', + mm : relativeTimeWithMutation, + h : 'un eur', + hh : '%d eur', + d : 'un devezh', + dd : relativeTimeWithMutation, + M : 'ur miz', + MM : relativeTimeWithMutation, + y : 'ur bloaz', + yy : specialMutationForYears + }, + dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/, + ordinal : function (number) { + var output = (number === 1) ? 'añ' : 'vet'; + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return br; + return br; - })); + }))); -/***/ }, -/* 409 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 419 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Bosnian [bs] @@ -56823,474 +58123,485 @@ //! based on (hr) translation by Bojan Marković ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - function translate(number, withoutSuffix, key) { - var result = number + ' '; - switch (key) { - case 'm': - return withoutSuffix ? 'jedna minuta' : 'jedne minute'; - case 'mm': - if (number === 1) { - result += 'minuta'; - } else if (number === 2 || number === 3 || number === 4) { - result += 'minute'; - } else { - result += 'minuta'; - } - return result; - case 'h': - return withoutSuffix ? 'jedan sat' : 'jednog sata'; - case 'hh': - if (number === 1) { - result += 'sat'; - } else if (number === 2 || number === 3 || number === 4) { - result += 'sata'; - } else { - result += 'sati'; - } - return result; - case 'dd': - if (number === 1) { - result += 'dan'; - } else { - result += 'dana'; - } - return result; - case 'MM': - if (number === 1) { - result += 'mjesec'; - } else if (number === 2 || number === 3 || number === 4) { - result += 'mjeseca'; - } else { - result += 'mjeseci'; - } - return result; - case 'yy': - if (number === 1) { - result += 'godina'; - } else if (number === 2 || number === 3 || number === 4) { - result += 'godine'; - } else { - result += 'godina'; - } - return result; - } + function translate(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'm': + return withoutSuffix ? 'jedna minuta' : 'jedne minute'; + case 'mm': + if (number === 1) { + result += 'minuta'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'minute'; + } else { + result += 'minuta'; + } + return result; + case 'h': + return withoutSuffix ? 'jedan sat' : 'jednog sata'; + case 'hh': + if (number === 1) { + result += 'sat'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sata'; + } else { + result += 'sati'; + } + return result; + case 'dd': + if (number === 1) { + result += 'dan'; + } else { + result += 'dana'; + } + return result; + case 'MM': + if (number === 1) { + result += 'mjesec'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'mjeseca'; + } else { + result += 'mjeseci'; + } + return result; + case 'yy': + if (number === 1) { + result += 'godina'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'godine'; + } else { + result += 'godina'; + } + return result; } + } - var bs = moment.defineLocale('bs', { - months : 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'), - monthsShort : 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'), - monthsParseExact: true, - weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), - weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), - weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'H:mm', - LTS : 'H:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D. MMMM YYYY', - LLL : 'D. MMMM YYYY H:mm', - LLLL : 'dddd, D. MMMM YYYY H:mm' - }, - calendar : { - sameDay : '[danas u] LT', - nextDay : '[sutra u] LT', - nextWeek : function () { - switch (this.day()) { - case 0: - return '[u] [nedjelju] [u] LT'; - case 3: - return '[u] [srijedu] [u] LT'; - case 6: - return '[u] [subotu] [u] LT'; - case 1: - case 2: - case 4: - case 5: - return '[u] dddd [u] LT'; - } - }, - lastDay : '[jučer u] LT', - lastWeek : function () { - switch (this.day()) { - case 0: - case 3: - return '[prošlu] dddd [u] LT'; - case 6: - return '[prošle] [subote] [u] LT'; - case 1: - case 2: - case 4: - case 5: - return '[prošli] dddd [u] LT'; - } - }, - sameElse : 'L' + var bs = moment.defineLocale('bs', { + months : 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'), + monthsShort : 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), + weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY H:mm', + LLLL : 'dddd, D. MMMM YYYY H:mm' + }, + calendar : { + sameDay : '[danas u] LT', + nextDay : '[sutra u] LT', + nextWeek : function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } }, - relativeTime : { - future : 'za %s', - past : 'prije %s', - s : 'par sekundi', - m : translate, - mm : translate, - h : translate, - hh : translate, - d : 'dan', - dd : translate, - M : 'mjesec', - MM : translate, - y : 'godinu', - yy : translate + lastDay : '[jučer u] LT', + lastWeek : function () { + switch (this.day()) { + case 0: + case 3: + return '[prošlu] dddd [u] LT'; + case 6: + return '[prošle] [subote] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prošli] dddd [u] LT'; + } }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. - } - }); + sameElse : 'L' + }, + relativeTime : { + future : 'za %s', + past : 'prije %s', + s : 'par sekundi', + m : translate, + mm : translate, + h : translate, + hh : translate, + d : 'dan', + dd : translate, + M : 'mjesec', + MM : translate, + y : 'godinu', + yy : translate + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return bs; + return bs; - })); + }))); -/***/ }, -/* 410 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 420 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Catalan [ca] //! author : Juan G. Hurtado : https://github.com/juanghurtado ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var ca = moment.defineLocale('ca', { - months : 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'), - monthsShort : 'gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.'.split('_'), - monthsParseExact : true, - weekdays : 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'), - weekdaysShort : 'dg._dl._dt._dc._dj._dv._ds.'.split('_'), - weekdaysMin : 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'H:mm', - LTS : 'H:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY H:mm', - LLLL : 'dddd D MMMM YYYY H:mm' + }(this, (function (moment) { 'use strict'; + + + var ca = moment.defineLocale('ca', { + months : { + standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'), + format: 'de gener_de febrer_de març_d\'abril_de maig_de juny_de juliol_d\'agost_de setembre_d\'octubre_de novembre_de desembre'.split('_'), + isFormat: /D[oD]?(\s)+MMMM/ + }, + monthsShort : 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split('_'), + monthsParseExact : true, + weekdays : 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'), + weekdaysShort : 'dg._dl._dt._dc._dj._dv._ds.'.split('_'), + weekdaysMin : 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD/MM/YYYY', + LL : '[el] D MMMM [de] YYYY', + ll : 'D MMM YYYY', + LLL : '[el] D MMMM [de] YYYY [a les] H:mm', + lll : 'D MMM YYYY, H:mm', + LLLL : '[el] dddd D MMMM [de] YYYY [a les] H:mm', + llll : 'ddd D MMM YYYY, H:mm' + }, + calendar : { + sameDay : function () { + return '[avui a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; }, - calendar : { - sameDay : function () { - return '[avui a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; - }, - nextDay : function () { - return '[demà a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; - }, - nextWeek : function () { - return 'dddd [a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; - }, - lastDay : function () { - return '[ahir a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; - }, - lastWeek : function () { - return '[el] dddd [passat a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; - }, - sameElse : 'L' + nextDay : function () { + return '[demà a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; }, - relativeTime : { - future : 'en %s', - past : 'fa %s', - s : 'uns segons', - m : 'un minut', - mm : '%d minuts', - h : 'una hora', - hh : '%d hores', - d : 'un dia', - dd : '%d dies', - M : 'un mes', - MM : '%d mesos', - y : 'un any', - yy : '%d anys' + nextWeek : function () { + return 'dddd [a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; }, - ordinalParse: /\d{1,2}(r|n|t|è|a)/, - ordinal : function (number, period) { - var output = (number === 1) ? 'r' : - (number === 2) ? 'n' : - (number === 3) ? 'r' : - (number === 4) ? 't' : 'è'; - if (period === 'w' || period === 'W') { - output = 'a'; - } - return number + output; + lastDay : function () { + return '[ahir a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + lastWeek : function () { + return '[el] dddd [passat a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; + }, + sameElse : 'L' + }, + relativeTime : { + future : 'd\'aquí %s', + past : 'fa %s', + s : 'uns segons', + m : 'un minut', + mm : '%d minuts', + h : 'una hora', + hh : '%d hores', + d : 'un dia', + dd : '%d dies', + M : 'un mes', + MM : '%d mesos', + y : 'un any', + yy : '%d anys' + }, + dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/, + ordinal : function (number, period) { + var output = (number === 1) ? 'r' : + (number === 2) ? 'n' : + (number === 3) ? 'r' : + (number === 4) ? 't' : 'è'; + if (period === 'w' || period === 'W') { + output = 'a'; + } + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return ca; + return ca; - })); + }))); -/***/ }, -/* 411 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 421 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Czech [cs] //! author : petrbela : https://github.com/petrbela ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'), - monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'); - function plural(n) { - return (n > 1) && (n < 5) && (~~(n / 10) !== 1); - } - function translate(number, withoutSuffix, key, isFuture) { - var result = number + ' '; - switch (key) { - case 's': // a few seconds / in a few seconds / a few seconds ago - return (withoutSuffix || isFuture) ? 'pár sekund' : 'pár sekundami'; - case 'm': // a minute / in a minute / a minute ago - return withoutSuffix ? 'minuta' : (isFuture ? 'minutu' : 'minutou'); - case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago - if (withoutSuffix || isFuture) { - return result + (plural(number) ? 'minuty' : 'minut'); - } else { - return result + 'minutami'; - } - break; - case 'h': // an hour / in an hour / an hour ago - return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou'); - case 'hh': // 9 hours / in 9 hours / 9 hours ago - if (withoutSuffix || isFuture) { - return result + (plural(number) ? 'hodiny' : 'hodin'); - } else { - return result + 'hodinami'; - } - break; - case 'd': // a day / in a day / a day ago - return (withoutSuffix || isFuture) ? 'den' : 'dnem'; - case 'dd': // 9 days / in 9 days / 9 days ago - if (withoutSuffix || isFuture) { - return result + (plural(number) ? 'dny' : 'dní'); - } else { - return result + 'dny'; - } - break; - case 'M': // a month / in a month / a month ago - return (withoutSuffix || isFuture) ? 'měsíc' : 'měsícem'; - case 'MM': // 9 months / in 9 months / 9 months ago - if (withoutSuffix || isFuture) { - return result + (plural(number) ? 'měsíce' : 'měsíců'); - } else { - return result + 'měsíci'; - } - break; - case 'y': // a year / in a year / a year ago - return (withoutSuffix || isFuture) ? 'rok' : 'rokem'; - case 'yy': // 9 years / in 9 years / 9 years ago - if (withoutSuffix || isFuture) { - return result + (plural(number) ? 'roky' : 'let'); - } else { - return result + 'lety'; - } - break; - } + }(this, (function (moment) { 'use strict'; + + + var months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'); + var monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'); + function plural(n) { + return (n > 1) && (n < 5) && (~~(n / 10) !== 1); + } + function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': // a few seconds / in a few seconds / a few seconds ago + return (withoutSuffix || isFuture) ? 'pár sekund' : 'pár sekundami'; + case 'm': // a minute / in a minute / a minute ago + return withoutSuffix ? 'minuta' : (isFuture ? 'minutu' : 'minutou'); + case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'minuty' : 'minut'); + } else { + return result + 'minutami'; + } + break; + case 'h': // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou'); + case 'hh': // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'hodiny' : 'hodin'); + } else { + return result + 'hodinami'; + } + break; + case 'd': // a day / in a day / a day ago + return (withoutSuffix || isFuture) ? 'den' : 'dnem'; + case 'dd': // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'dny' : 'dní'); + } else { + return result + 'dny'; + } + break; + case 'M': // a month / in a month / a month ago + return (withoutSuffix || isFuture) ? 'měsíc' : 'měsícem'; + case 'MM': // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'měsíce' : 'měsíců'); + } else { + return result + 'měsíci'; + } + break; + case 'y': // a year / in a year / a year ago + return (withoutSuffix || isFuture) ? 'rok' : 'rokem'; + case 'yy': // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'roky' : 'let'); + } else { + return result + 'lety'; + } + break; } + } - var cs = moment.defineLocale('cs', { - months : months, - monthsShort : monthsShort, - monthsParse : (function (months, monthsShort) { - var i, _monthsParse = []; - for (i = 0; i < 12; i++) { - // use custom parser to solve problem with July (červenec) - _monthsParse[i] = new RegExp('^' + months[i] + '$|^' + monthsShort[i] + '$', 'i'); - } - return _monthsParse; - }(months, monthsShort)), - shortMonthsParse : (function (monthsShort) { - var i, _shortMonthsParse = []; - for (i = 0; i < 12; i++) { - _shortMonthsParse[i] = new RegExp('^' + monthsShort[i] + '$', 'i'); - } - return _shortMonthsParse; - }(monthsShort)), - longMonthsParse : (function (months) { - var i, _longMonthsParse = []; - for (i = 0; i < 12; i++) { - _longMonthsParse[i] = new RegExp('^' + months[i] + '$', 'i'); - } - return _longMonthsParse; - }(months)), - weekdays : 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'), - weekdaysShort : 'ne_po_út_st_čt_pá_so'.split('_'), - weekdaysMin : 'ne_po_út_st_čt_pá_so'.split('_'), - longDateFormat : { - LT: 'H:mm', - LTS : 'H:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D. MMMM YYYY', - LLL : 'D. MMMM YYYY H:mm', - LLLL : 'dddd D. MMMM YYYY H:mm', - l : 'D. M. YYYY' - }, - calendar : { - sameDay: '[dnes v] LT', - nextDay: '[zítra v] LT', - nextWeek: function () { - switch (this.day()) { - case 0: - return '[v neděli v] LT'; - case 1: - case 2: - return '[v] dddd [v] LT'; - case 3: - return '[ve středu v] LT'; - case 4: - return '[ve čtvrtek v] LT'; - case 5: - return '[v pátek v] LT'; - case 6: - return '[v sobotu v] LT'; - } - }, - lastDay: '[včera v] LT', - lastWeek: function () { - switch (this.day()) { - case 0: - return '[minulou neděli v] LT'; - case 1: - case 2: - return '[minulé] dddd [v] LT'; - case 3: - return '[minulou středu v] LT'; - case 4: - case 5: - return '[minulý] dddd [v] LT'; - case 6: - return '[minulou sobotu v] LT'; - } - }, - sameElse: 'L' + var cs = moment.defineLocale('cs', { + months : months, + monthsShort : monthsShort, + monthsParse : (function (months, monthsShort) { + var i, _monthsParse = []; + for (i = 0; i < 12; i++) { + // use custom parser to solve problem with July (červenec) + _monthsParse[i] = new RegExp('^' + months[i] + '$|^' + monthsShort[i] + '$', 'i'); + } + return _monthsParse; + }(months, monthsShort)), + shortMonthsParse : (function (monthsShort) { + var i, _shortMonthsParse = []; + for (i = 0; i < 12; i++) { + _shortMonthsParse[i] = new RegExp('^' + monthsShort[i] + '$', 'i'); + } + return _shortMonthsParse; + }(monthsShort)), + longMonthsParse : (function (months) { + var i, _longMonthsParse = []; + for (i = 0; i < 12; i++) { + _longMonthsParse[i] = new RegExp('^' + months[i] + '$', 'i'); + } + return _longMonthsParse; + }(months)), + weekdays : 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'), + weekdaysShort : 'ne_po_út_st_čt_pá_so'.split('_'), + weekdaysMin : 'ne_po_út_st_čt_pá_so'.split('_'), + longDateFormat : { + LT: 'H:mm', + LTS : 'H:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY H:mm', + LLLL : 'dddd D. MMMM YYYY H:mm', + l : 'D. M. YYYY' + }, + calendar : { + sameDay: '[dnes v] LT', + nextDay: '[zítra v] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v neděli v] LT'; + case 1: + case 2: + return '[v] dddd [v] LT'; + case 3: + return '[ve středu v] LT'; + case 4: + return '[ve čtvrtek v] LT'; + case 5: + return '[v pátek v] LT'; + case 6: + return '[v sobotu v] LT'; + } }, - relativeTime : { - future : 'za %s', - past : 'před %s', - s : translate, - m : translate, - mm : translate, - h : translate, - hh : translate, - d : translate, - dd : translate, - M : translate, - MM : translate, - y : translate, - yy : translate + lastDay: '[včera v] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[minulou neděli v] LT'; + case 1: + case 2: + return '[minulé] dddd [v] LT'; + case 3: + return '[minulou středu v] LT'; + case 4: + case 5: + return '[minulý] dddd [v] LT'; + case 6: + return '[minulou sobotu v] LT'; + } }, - ordinalParse : /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + sameElse: 'L' + }, + relativeTime : { + future : 'za %s', + past : 'před %s', + s : translate, + m : translate, + mm : translate, + h : translate, + hh : translate, + d : translate, + dd : translate, + M : translate, + MM : translate, + y : translate, + yy : translate + }, + dayOfMonthOrdinalParse : /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return cs; + return cs; - })); + }))); -/***/ }, -/* 412 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 422 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Chuvash [cv] //! author : Anatoly Mironov : https://github.com/mirontoli ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var cv = moment.defineLocale('cv', { - months : 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'), - monthsShort : 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'), - weekdays : 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split('_'), - weekdaysShort : 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'), - weekdaysMin : 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD-MM-YYYY', - LL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]', - LLL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', - LLLL : 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm' - }, - calendar : { - sameDay: '[Паян] LT [сехетре]', - nextDay: '[Ыран] LT [сехетре]', - lastDay: '[Ӗнер] LT [сехетре]', - nextWeek: '[Ҫитес] dddd LT [сехетре]', - lastWeek: '[Иртнӗ] dddd LT [сехетре]', - sameElse: 'L' - }, - relativeTime : { - future : function (output) { - var affix = /сехет$/i.exec(output) ? 'рен' : /ҫул$/i.exec(output) ? 'тан' : 'ран'; - return output + affix; - }, - past : '%s каялла', - s : 'пӗр-ик ҫеккунт', - m : 'пӗр минут', - mm : '%d минут', - h : 'пӗр сехет', - hh : '%d сехет', - d : 'пӗр кун', - dd : '%d кун', - M : 'пӗр уйӑх', - MM : '%d уйӑх', - y : 'пӗр ҫул', - yy : '%d ҫул' + }(this, (function (moment) { 'use strict'; + + + var cv = moment.defineLocale('cv', { + months : 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'), + monthsShort : 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'), + weekdays : 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split('_'), + weekdaysShort : 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'), + weekdaysMin : 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD-MM-YYYY', + LL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]', + LLL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', + LLLL : 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm' + }, + calendar : { + sameDay: '[Паян] LT [сехетре]', + nextDay: '[Ыран] LT [сехетре]', + lastDay: '[Ӗнер] LT [сехетре]', + nextWeek: '[Ҫитес] dddd LT [сехетре]', + lastWeek: '[Иртнӗ] dddd LT [сехетре]', + sameElse: 'L' + }, + relativeTime : { + future : function (output) { + var affix = /сехет$/i.exec(output) ? 'рен' : /ҫул$/i.exec(output) ? 'тан' : 'ран'; + return output + affix; }, - ordinalParse: /\d{1,2}-мӗш/, - ordinal : '%d-мӗш', - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. - } - }); + past : '%s каялла', + s : 'пӗр-ик ҫеккунт', + m : 'пӗр минут', + mm : '%d минут', + h : 'пӗр сехет', + hh : '%d сехет', + d : 'пӗр кун', + dd : '%d кун', + M : 'пӗр уйӑх', + MM : '%d уйӑх', + y : 'пӗр ҫул', + yy : '%d ҫул' + }, + dayOfMonthOrdinalParse: /\d{1,2}-мӗш/, + ordinal : '%d-мӗш', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return cv; + return cv; - })); + }))); -/***/ }, -/* 413 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 423 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Welsh [cy] @@ -57298,148 +58609,150 @@ //! author : https://github.com/ryangreaves ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var cy = moment.defineLocale('cy', { - months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'), - monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'), - weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split('_'), - weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'), - weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'), - weekdaysParseExact : true, - // time formats are the same as en-gb - longDateFormat: { - LT: 'HH:mm', - LTS : 'HH:mm:ss', - L: 'DD/MM/YYYY', - LL: 'D MMMM YYYY', - LLL: 'D MMMM YYYY HH:mm', - LLLL: 'dddd, D MMMM YYYY HH:mm' - }, - calendar: { - sameDay: '[Heddiw am] LT', - nextDay: '[Yfory am] LT', - nextWeek: 'dddd [am] LT', - lastDay: '[Ddoe am] LT', - lastWeek: 'dddd [diwethaf am] LT', - sameElse: 'L' - }, - relativeTime: { - future: 'mewn %s', - past: '%s yn ôl', - s: 'ychydig eiliadau', - m: 'munud', - mm: '%d munud', - h: 'awr', - hh: '%d awr', - d: 'diwrnod', - dd: '%d diwrnod', - M: 'mis', - MM: '%d mis', - y: 'blwyddyn', - yy: '%d flynedd' - }, - ordinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/, - // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh - ordinal: function (number) { - var b = number, - output = '', - lookup = [ - '', 'af', 'il', 'ydd', 'ydd', 'ed', 'ed', 'ed', 'fed', 'fed', 'fed', // 1af to 10fed - 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'fed' // 11eg to 20fed - ]; - if (b > 20) { - if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) { - output = 'fed'; // not 30ain, 70ain or 90ain - } else { - output = 'ain'; - } - } else if (b > 0) { - output = lookup[b]; + }(this, (function (moment) { 'use strict'; + + + var cy = moment.defineLocale('cy', { + months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'), + monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'), + weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split('_'), + weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'), + weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'), + weekdaysParseExact : true, + // time formats are the same as en-gb + longDateFormat: { + LT: 'HH:mm', + LTS : 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + calendar: { + sameDay: '[Heddiw am] LT', + nextDay: '[Yfory am] LT', + nextWeek: 'dddd [am] LT', + lastDay: '[Ddoe am] LT', + lastWeek: 'dddd [diwethaf am] LT', + sameElse: 'L' + }, + relativeTime: { + future: 'mewn %s', + past: '%s yn ôl', + s: 'ychydig eiliadau', + m: 'munud', + mm: '%d munud', + h: 'awr', + hh: '%d awr', + d: 'diwrnod', + dd: '%d diwrnod', + M: 'mis', + MM: '%d mis', + y: 'blwyddyn', + yy: '%d flynedd' + }, + dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/, + // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh + ordinal: function (number) { + var b = number, + output = '', + lookup = [ + '', 'af', 'il', 'ydd', 'ydd', 'ed', 'ed', 'ed', 'fed', 'fed', 'fed', // 1af to 10fed + 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'fed' // 11eg to 20fed + ]; + if (b > 20) { + if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) { + output = 'fed'; // not 30ain, 70ain or 90ain + } else { + output = 'ain'; } - return number + output; - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. + } else if (b > 0) { + output = lookup[b]; } - }); + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return cy; + return cy; - })); + }))); -/***/ }, -/* 414 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 424 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Danish [da] //! author : Ulrik Nielsen : https://github.com/mrbase ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var da = moment.defineLocale('da', { - months : 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'), - monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), - weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), - weekdaysShort : 'søn_man_tir_ons_tor_fre_lør'.split('_'), - weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D. MMMM YYYY', - LLL : 'D. MMMM YYYY HH:mm', - LLLL : 'dddd [d.] D. MMMM YYYY HH:mm' - }, - calendar : { - sameDay : '[I dag kl.] LT', - nextDay : '[I morgen kl.] LT', - nextWeek : 'dddd [kl.] LT', - lastDay : '[I går kl.] LT', - lastWeek : '[sidste] dddd [kl] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'om %s', - past : '%s siden', - s : 'få sekunder', - m : 'et minut', - mm : '%d minutter', - h : 'en time', - hh : '%d timer', - d : 'en dag', - dd : '%d dage', - M : 'en måned', - MM : '%d måneder', - y : 'et år', - yy : '%d år' - }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var da = moment.defineLocale('da', { + months : 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'), + monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort : 'søn_man_tir_ons_tor_fre_lør'.split('_'), + weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY HH:mm', + LLLL : 'dddd [d.] D. MMMM YYYY [kl.] HH:mm' + }, + calendar : { + sameDay : '[i dag kl.] LT', + nextDay : '[i morgen kl.] LT', + nextWeek : 'på dddd [kl.] LT', + lastDay : '[i går kl.] LT', + lastWeek : '[i] dddd[s kl.] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'om %s', + past : '%s siden', + s : 'få sekunder', + m : 'et minut', + mm : '%d minutter', + h : 'en time', + hh : '%d timer', + d : 'en dag', + dd : '%d dage', + M : 'en måned', + MM : '%d måneder', + y : 'et år', + yy : '%d år' + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return da; + return da; - })); + }))); -/***/ }, -/* 415 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 425 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : German [de] @@ -57448,80 +58761,81 @@ //! author : Mikolaj Dadela : https://github.com/mik01aj ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - function processRelativeTime(number, withoutSuffix, key, isFuture) { - var format = { - 'm': ['eine Minute', 'einer Minute'], - 'h': ['eine Stunde', 'einer Stunde'], - 'd': ['ein Tag', 'einem Tag'], - 'dd': [number + ' Tage', number + ' Tagen'], - 'M': ['ein Monat', 'einem Monat'], - 'MM': [number + ' Monate', number + ' Monaten'], - 'y': ['ein Jahr', 'einem Jahr'], - 'yy': [number + ' Jahre', number + ' Jahren'] - }; - return withoutSuffix ? format[key][0] : format[key][1]; - } - - var de = moment.defineLocale('de', { - months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), - monthsShort : 'Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), - monthsParseExact : true, - weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), - weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), - weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT: 'HH:mm', - LTS: 'HH:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D. MMMM YYYY', - LLL : 'D. MMMM YYYY HH:mm', - LLLL : 'dddd, D. MMMM YYYY HH:mm' - }, - calendar : { - sameDay: '[heute um] LT [Uhr]', - sameElse: 'L', - nextDay: '[morgen um] LT [Uhr]', - nextWeek: 'dddd [um] LT [Uhr]', - lastDay: '[gestern um] LT [Uhr]', - lastWeek: '[letzten] dddd [um] LT [Uhr]' - }, - relativeTime : { - future : 'in %s', - past : 'vor %s', - s : 'ein paar Sekunden', - m : processRelativeTime, - mm : '%d Minuten', - h : processRelativeTime, - hh : '%d Stunden', - d : processRelativeTime, - dd : processRelativeTime, - M : processRelativeTime, - MM : processRelativeTime, - y : processRelativeTime, - yy : processRelativeTime - }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + 'm': ['eine Minute', 'einer Minute'], + 'h': ['eine Stunde', 'einer Stunde'], + 'd': ['ein Tag', 'einem Tag'], + 'dd': [number + ' Tage', number + ' Tagen'], + 'M': ['ein Monat', 'einem Monat'], + 'MM': [number + ' Monate', number + ' Monaten'], + 'y': ['ein Jahr', 'einem Jahr'], + 'yy': [number + ' Jahre', number + ' Jahren'] + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + + var de = moment.defineLocale('de', { + months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), + monthsShort : 'Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), + monthsParseExact : true, + weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), + weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY HH:mm', + LLLL : 'dddd, D. MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]' + }, + relativeTime : { + future : 'in %s', + past : 'vor %s', + s : 'ein paar Sekunden', + m : processRelativeTime, + mm : '%d Minuten', + h : processRelativeTime, + hh : '%d Stunden', + d : processRelativeTime, + dd : processRelativeTime, + M : processRelativeTime, + MM : processRelativeTime, + y : processRelativeTime, + yy : processRelativeTime + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return de; + return de; - })); + }))); -/***/ }, -/* 416 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 426 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : German (Austria) [de-at] @@ -57531,882 +58845,983 @@ //! author : Mikolaj Dadela : https://github.com/mik01aj ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - function processRelativeTime(number, withoutSuffix, key, isFuture) { - var format = { - 'm': ['eine Minute', 'einer Minute'], - 'h': ['eine Stunde', 'einer Stunde'], - 'd': ['ein Tag', 'einem Tag'], - 'dd': [number + ' Tage', number + ' Tagen'], - 'M': ['ein Monat', 'einem Monat'], - 'MM': [number + ' Monate', number + ' Monaten'], - 'y': ['ein Jahr', 'einem Jahr'], - 'yy': [number + ' Jahre', number + ' Jahren'] - }; - return withoutSuffix ? format[key][0] : format[key][1]; - } - - var de_at = moment.defineLocale('de-at', { - months : 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), - monthsShort : 'Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), - monthsParseExact : true, - weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), - weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), - weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT: 'HH:mm', - LTS: 'HH:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D. MMMM YYYY', - LLL : 'D. MMMM YYYY HH:mm', - LLLL : 'dddd, D. MMMM YYYY HH:mm' - }, - calendar : { - sameDay: '[heute um] LT [Uhr]', - sameElse: 'L', - nextDay: '[morgen um] LT [Uhr]', - nextWeek: 'dddd [um] LT [Uhr]', - lastDay: '[gestern um] LT [Uhr]', - lastWeek: '[letzten] dddd [um] LT [Uhr]' - }, - relativeTime : { - future : 'in %s', - past : 'vor %s', - s : 'ein paar Sekunden', - m : processRelativeTime, - mm : '%d Minuten', - h : processRelativeTime, - hh : '%d Stunden', - d : processRelativeTime, - dd : processRelativeTime, - M : processRelativeTime, - MM : processRelativeTime, - y : processRelativeTime, - yy : processRelativeTime - }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + 'm': ['eine Minute', 'einer Minute'], + 'h': ['eine Stunde', 'einer Stunde'], + 'd': ['ein Tag', 'einem Tag'], + 'dd': [number + ' Tage', number + ' Tagen'], + 'M': ['ein Monat', 'einem Monat'], + 'MM': [number + ' Monate', number + ' Monaten'], + 'y': ['ein Jahr', 'einem Jahr'], + 'yy': [number + ' Jahre', number + ' Jahren'] + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + + var deAt = moment.defineLocale('de-at', { + months : 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), + monthsShort : 'Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), + monthsParseExact : true, + weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), + weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY HH:mm', + LLLL : 'dddd, D. MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]' + }, + relativeTime : { + future : 'in %s', + past : 'vor %s', + s : 'ein paar Sekunden', + m : processRelativeTime, + mm : '%d Minuten', + h : processRelativeTime, + hh : '%d Stunden', + d : processRelativeTime, + dd : processRelativeTime, + M : processRelativeTime, + MM : processRelativeTime, + y : processRelativeTime, + yy : processRelativeTime + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return de_at; + return deAt; - })); + }))); -/***/ }, -/* 417 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 427 */ +/***/ (function(module, exports, __webpack_require__) { + + //! moment.js locale configuration + //! locale : German (Switzerland) [de-ch] + //! author : sschueller : https://github.com/sschueller + + ;(function (global, factory) { + true ? factory(__webpack_require__(403)) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) + }(this, (function (moment) { 'use strict'; + + + // based on: https://www.bk.admin.ch/dokumentation/sprachen/04915/05016/index.html?lang=de# + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + 'm': ['eine Minute', 'einer Minute'], + 'h': ['eine Stunde', 'einer Stunde'], + 'd': ['ein Tag', 'einem Tag'], + 'dd': [number + ' Tage', number + ' Tagen'], + 'M': ['ein Monat', 'einem Monat'], + 'MM': [number + ' Monate', number + ' Monaten'], + 'y': ['ein Jahr', 'einem Jahr'], + 'yy': [number + ' Jahre', number + ' Jahren'] + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + + var deCh = moment.defineLocale('de-ch', { + months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), + monthsShort : 'Jan._Febr._März_April_Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.'.split('_'), + monthsParseExact : true, + weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), + weekdaysShort : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY HH.mm', + LLLL : 'dddd, D. MMMM YYYY HH.mm' + }, + calendar : { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]' + }, + relativeTime : { + future : 'in %s', + past : 'vor %s', + s : 'ein paar Sekunden', + m : processRelativeTime, + mm : '%d Minuten', + h : processRelativeTime, + hh : '%d Stunden', + d : processRelativeTime, + dd : processRelativeTime, + M : processRelativeTime, + MM : processRelativeTime, + y : processRelativeTime, + yy : processRelativeTime + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return deCh; + + }))); + + +/***/ }), +/* 428 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Maldivian [dv] //! author : Jawish Hameed : https://github.com/jawish ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var months = [ - 'ޖެނުއަރީ', - 'ފެބްރުއަރީ', - 'މާރިޗު', - 'އޭޕްރީލު', - 'މޭ', - 'ޖޫން', - 'ޖުލައި', - 'އޯގަސްޓު', - 'ސެޕްޓެމްބަރު', - 'އޮކްޓޯބަރު', - 'ނޮވެމްބަރު', - 'ޑިސެމްބަރު' - ], weekdays = [ - 'އާދިއްތަ', - 'ހޯމަ', - 'އަންގާރަ', - 'ބުދަ', - 'ބުރާސްފަތި', - 'ހުކުރު', - 'ހޮނިހިރު' - ]; + }(this, (function (moment) { 'use strict'; + + + var months = [ + 'ޖެނުއަރީ', + 'ފެބްރުއަރީ', + 'މާރިޗު', + 'އޭޕްރީލު', + 'މޭ', + 'ޖޫން', + 'ޖުލައި', + 'އޯގަސްޓު', + 'ސެޕްޓެމްބަރު', + 'އޮކްޓޯބަރު', + 'ނޮވެމްބަރު', + 'ޑިސެމްބަރު' + ]; + var weekdays = [ + 'އާދިއްތަ', + 'ހޯމަ', + 'އަންގާރަ', + 'ބުދަ', + 'ބުރާސްފަތި', + 'ހުކުރު', + 'ހޮނިހިރު' + ]; - var dv = moment.defineLocale('dv', { - months : months, - monthsShort : months, - weekdays : weekdays, - weekdaysShort : weekdays, - weekdaysMin : 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'), - longDateFormat : { - - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'D/M/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd D MMMM YYYY HH:mm' - }, - meridiemParse: /މކ|މފ/, - isPM : function (input) { - return 'މފ' === input; - }, - meridiem : function (hour, minute, isLower) { - if (hour < 12) { - return 'މކ'; - } else { - return 'މފ'; - } - }, - calendar : { - sameDay : '[މިއަދު] LT', - nextDay : '[މާދަމާ] LT', - nextWeek : 'dddd LT', - lastDay : '[އިއްޔެ] LT', - lastWeek : '[ފާއިތުވި] dddd LT', - sameElse : 'L' - }, - relativeTime : { - future : 'ތެރޭގައި %s', - past : 'ކުރިން %s', - s : 'ސިކުންތުކޮޅެއް', - m : 'މިނިޓެއް', - mm : 'މިނިޓު %d', - h : 'ގަޑިއިރެއް', - hh : 'ގަޑިއިރު %d', - d : 'ދުވަހެއް', - dd : 'ދުވަސް %d', - M : 'މަހެއް', - MM : 'މަސް %d', - y : 'އަހަރެއް', - yy : 'އަހަރު %d' - }, - preparse: function (string) { - return string.replace(/،/g, ','); - }, - postformat: function (string) { - return string.replace(/,/g, '،'); - }, - week : { - dow : 7, // Sunday is the first day of the week. - doy : 12 // The week that contains Jan 1st is the first week of the year. + var dv = moment.defineLocale('dv', { + months : months, + monthsShort : months, + weekdays : weekdays, + weekdaysShort : weekdays, + weekdaysMin : 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'), + longDateFormat : { + + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'D/M/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + meridiemParse: /މކ|މފ/, + isPM : function (input) { + return 'މފ' === input; + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return 'މކ'; + } else { + return 'މފ'; } - }); + }, + calendar : { + sameDay : '[މިއަދު] LT', + nextDay : '[މާދަމާ] LT', + nextWeek : 'dddd LT', + lastDay : '[އިއްޔެ] LT', + lastWeek : '[ފާއިތުވި] dddd LT', + sameElse : 'L' + }, + relativeTime : { + future : 'ތެރޭގައި %s', + past : 'ކުރިން %s', + s : 'ސިކުންތުކޮޅެއް', + m : 'މިނިޓެއް', + mm : 'މިނިޓު %d', + h : 'ގަޑިއިރެއް', + hh : 'ގަޑިއިރު %d', + d : 'ދުވަހެއް', + dd : 'ދުވަސް %d', + M : 'މަހެއް', + MM : 'މަސް %d', + y : 'އަހަރެއް', + yy : 'އަހަރު %d' + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week : { + dow : 7, // Sunday is the first day of the week. + doy : 12 // The week that contains Jan 1st is the first week of the year. + } + }); - return dv; + return dv; - })); + }))); + -/***/ }, -/* 418 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 429 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Greek [el] //! author : Aggelos Karalias : https://github.com/mehiel ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - function isFunction(input) { - return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]'; - } + function isFunction(input) { + return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]'; + } - var el = moment.defineLocale('el', { - monthsNominativeEl : 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'), - monthsGenitiveEl : 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'), - months : function (momentToFormat, format) { - if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM' - return this._monthsGenitiveEl[momentToFormat.month()]; - } else { - return this._monthsNominativeEl[momentToFormat.month()]; - } - }, - monthsShort : 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'), - weekdays : 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'), - weekdaysShort : 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'), - weekdaysMin : 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'), - meridiem : function (hours, minutes, isLower) { - if (hours > 11) { - return isLower ? 'μμ' : 'ΜΜ'; - } else { - return isLower ? 'πμ' : 'ΠΜ'; - } - }, - isPM : function (input) { - return ((input + '').toLowerCase()[0] === 'μ'); - }, - meridiemParse : /[ΠΜ]\.?Μ?\.?/i, - longDateFormat : { - LT : 'h:mm A', - LTS : 'h:mm:ss A', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY h:mm A', - LLLL : 'dddd, D MMMM YYYY h:mm A' - }, - calendarEl : { - sameDay : '[Σήμερα {}] LT', - nextDay : '[Αύριο {}] LT', - nextWeek : 'dddd [{}] LT', - lastDay : '[Χθες {}] LT', - lastWeek : function () { - switch (this.day()) { - case 6: - return '[το προηγούμενο] dddd [{}] LT'; - default: - return '[την προηγούμενη] dddd [{}] LT'; - } - }, - sameElse : 'L' - }, - calendar : function (key, mom) { - var output = this._calendarEl[key], - hours = mom && mom.hours(); - if (isFunction(output)) { - output = output.apply(mom); + var el = moment.defineLocale('el', { + monthsNominativeEl : 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'), + monthsGenitiveEl : 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'), + months : function (momentToFormat, format) { + if (!momentToFormat) { + return this._monthsNominativeEl; + } else if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM' + return this._monthsGenitiveEl[momentToFormat.month()]; + } else { + return this._monthsNominativeEl[momentToFormat.month()]; + } + }, + monthsShort : 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'), + weekdays : 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'), + weekdaysShort : 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'), + weekdaysMin : 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'), + meridiem : function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'μμ' : 'ΜΜ'; + } else { + return isLower ? 'πμ' : 'ΠΜ'; + } + }, + isPM : function (input) { + return ((input + '').toLowerCase()[0] === 'μ'); + }, + meridiemParse : /[ΠΜ]\.?Μ?\.?/i, + longDateFormat : { + LT : 'h:mm A', + LTS : 'h:mm:ss A', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY h:mm A', + LLLL : 'dddd, D MMMM YYYY h:mm A' + }, + calendarEl : { + sameDay : '[Σήμερα {}] LT', + nextDay : '[Αύριο {}] LT', + nextWeek : 'dddd [{}] LT', + lastDay : '[Χθες {}] LT', + lastWeek : function () { + switch (this.day()) { + case 6: + return '[το προηγούμενο] dddd [{}] LT'; + default: + return '[την προηγούμενη] dddd [{}] LT'; } - return output.replace('{}', (hours % 12 === 1 ? 'στη' : 'στις')); }, - relativeTime : { - future : 'σε %s', - past : '%s πριν', - s : 'λίγα δευτερόλεπτα', - m : 'ένα λεπτό', - mm : '%d λεπτά', - h : 'μία ώρα', - hh : '%d ώρες', - d : 'μία μέρα', - dd : '%d μέρες', - M : 'ένας μήνας', - MM : '%d μήνες', - y : 'ένας χρόνος', - yy : '%d χρόνια' - }, - ordinalParse: /\d{1,2}η/, - ordinal: '%dη', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4st is the first week of the year. + sameElse : 'L' + }, + calendar : function (key, mom) { + var output = this._calendarEl[key], + hours = mom && mom.hours(); + if (isFunction(output)) { + output = output.apply(mom); } - }); + return output.replace('{}', (hours % 12 === 1 ? 'στη' : 'στις')); + }, + relativeTime : { + future : 'σε %s', + past : '%s πριν', + s : 'λίγα δευτερόλεπτα', + m : 'ένα λεπτό', + mm : '%d λεπτά', + h : 'μία ώρα', + hh : '%d ώρες', + d : 'μία μέρα', + dd : '%d μέρες', + M : 'ένας μήνας', + MM : '%d μήνες', + y : 'ένας χρόνος', + yy : '%d χρόνια' + }, + dayOfMonthOrdinalParse: /\d{1,2}η/, + ordinal: '%dη', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4st is the first week of the year. + } + }); - return el; + return el; - })); + }))); -/***/ }, -/* 419 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 430 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : English (Australia) [en-au] //! author : Jared Morse : https://github.com/jarcoal ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var en_au = moment.defineLocale('en-au', { - months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), - monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), - weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), - weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), - weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), - longDateFormat : { - LT : 'h:mm A', - LTS : 'h:mm:ss A', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY h:mm A', - LLLL : 'dddd, D MMMM YYYY h:mm A' - }, - calendar : { - sameDay : '[Today at] LT', - nextDay : '[Tomorrow at] LT', - nextWeek : 'dddd [at] LT', - lastDay : '[Yesterday at] LT', - lastWeek : '[Last] dddd [at] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'in %s', - past : '%s ago', - s : 'a few seconds', - m : 'a minute', - mm : '%d minutes', - h : 'an hour', - hh : '%d hours', - d : 'a day', - dd : '%d days', - M : 'a month', - MM : '%d months', - y : 'a year', - yy : '%d years' - }, - ordinalParse: /\d{1,2}(st|nd|rd|th)/, - ordinal : function (number) { - var b = number % 10, - output = (~~(number % 100 / 10) === 1) ? 'th' : - (b === 1) ? 'st' : - (b === 2) ? 'nd' : - (b === 3) ? 'rd' : 'th'; - return number + output; - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var enAu = moment.defineLocale('en-au', { + months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat : { + LT : 'h:mm A', + LTS : 'h:mm:ss A', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY h:mm A', + LLLL : 'dddd, D MMMM YYYY h:mm A' + }, + calendar : { + sameDay : '[Today at] LT', + nextDay : '[Tomorrow at] LT', + nextWeek : 'dddd [at] LT', + lastDay : '[Yesterday at] LT', + lastWeek : '[Last] dddd [at] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'in %s', + past : '%s ago', + s : 'a few seconds', + m : 'a minute', + mm : '%d minutes', + h : 'an hour', + hh : '%d hours', + d : 'a day', + dd : '%d days', + M : 'a month', + MM : '%d months', + y : 'a year', + yy : '%d years' + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal : function (number) { + var b = number % 10, + output = (~~(number % 100 / 10) === 1) ? 'th' : + (b === 1) ? 'st' : + (b === 2) ? 'nd' : + (b === 3) ? 'rd' : 'th'; + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return en_au; + return enAu; - })); + }))); -/***/ }, -/* 420 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 431 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : English (Canada) [en-ca] //! author : Jonathan Abourbih : https://github.com/jonbca ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var en_ca = moment.defineLocale('en-ca', { - months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), - monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), - weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), - weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), - weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), - longDateFormat : { - LT : 'h:mm A', - LTS : 'h:mm:ss A', - L : 'YYYY-MM-DD', - LL : 'MMMM D, YYYY', - LLL : 'MMMM D, YYYY h:mm A', - LLLL : 'dddd, MMMM D, YYYY h:mm A' - }, - calendar : { - sameDay : '[Today at] LT', - nextDay : '[Tomorrow at] LT', - nextWeek : 'dddd [at] LT', - lastDay : '[Yesterday at] LT', - lastWeek : '[Last] dddd [at] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'in %s', - past : '%s ago', - s : 'a few seconds', - m : 'a minute', - mm : '%d minutes', - h : 'an hour', - hh : '%d hours', - d : 'a day', - dd : '%d days', - M : 'a month', - MM : '%d months', - y : 'a year', - yy : '%d years' - }, - ordinalParse: /\d{1,2}(st|nd|rd|th)/, - ordinal : function (number) { - var b = number % 10, - output = (~~(number % 100 / 10) === 1) ? 'th' : - (b === 1) ? 'st' : - (b === 2) ? 'nd' : - (b === 3) ? 'rd' : 'th'; - return number + output; - } - }); + }(this, (function (moment) { 'use strict'; + + + var enCa = moment.defineLocale('en-ca', { + months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat : { + LT : 'h:mm A', + LTS : 'h:mm:ss A', + L : 'YYYY-MM-DD', + LL : 'MMMM D, YYYY', + LLL : 'MMMM D, YYYY h:mm A', + LLLL : 'dddd, MMMM D, YYYY h:mm A' + }, + calendar : { + sameDay : '[Today at] LT', + nextDay : '[Tomorrow at] LT', + nextWeek : 'dddd [at] LT', + lastDay : '[Yesterday at] LT', + lastWeek : '[Last] dddd [at] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'in %s', + past : '%s ago', + s : 'a few seconds', + m : 'a minute', + mm : '%d minutes', + h : 'an hour', + hh : '%d hours', + d : 'a day', + dd : '%d days', + M : 'a month', + MM : '%d months', + y : 'a year', + yy : '%d years' + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal : function (number) { + var b = number % 10, + output = (~~(number % 100 / 10) === 1) ? 'th' : + (b === 1) ? 'st' : + (b === 2) ? 'nd' : + (b === 3) ? 'rd' : 'th'; + return number + output; + } + }); - return en_ca; + return enCa; - })); + }))); -/***/ }, -/* 421 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 432 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : English (United Kingdom) [en-gb] //! author : Chris Gedrim : https://github.com/chrisgedrim ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var en_gb = moment.defineLocale('en-gb', { - months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), - monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), - weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), - weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), - weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd, D MMMM YYYY HH:mm' - }, - calendar : { - sameDay : '[Today at] LT', - nextDay : '[Tomorrow at] LT', - nextWeek : 'dddd [at] LT', - lastDay : '[Yesterday at] LT', - lastWeek : '[Last] dddd [at] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'in %s', - past : '%s ago', - s : 'a few seconds', - m : 'a minute', - mm : '%d minutes', - h : 'an hour', - hh : '%d hours', - d : 'a day', - dd : '%d days', - M : 'a month', - MM : '%d months', - y : 'a year', - yy : '%d years' - }, - ordinalParse: /\d{1,2}(st|nd|rd|th)/, - ordinal : function (number) { - var b = number % 10, - output = (~~(number % 100 / 10) === 1) ? 'th' : - (b === 1) ? 'st' : - (b === 2) ? 'nd' : - (b === 3) ? 'rd' : 'th'; - return number + output; - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var enGb = moment.defineLocale('en-gb', { + months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[Today at] LT', + nextDay : '[Tomorrow at] LT', + nextWeek : 'dddd [at] LT', + lastDay : '[Yesterday at] LT', + lastWeek : '[Last] dddd [at] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'in %s', + past : '%s ago', + s : 'a few seconds', + m : 'a minute', + mm : '%d minutes', + h : 'an hour', + hh : '%d hours', + d : 'a day', + dd : '%d days', + M : 'a month', + MM : '%d months', + y : 'a year', + yy : '%d years' + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal : function (number) { + var b = number % 10, + output = (~~(number % 100 / 10) === 1) ? 'th' : + (b === 1) ? 'st' : + (b === 2) ? 'nd' : + (b === 3) ? 'rd' : 'th'; + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return en_gb; + return enGb; - })); + }))); -/***/ }, -/* 422 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 433 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : English (Ireland) [en-ie] //! author : Chris Cartlidge : https://github.com/chriscartlidge ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var en_ie = moment.defineLocale('en-ie', { - months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), - monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), - weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), - weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), - weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD-MM-YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd D MMMM YYYY HH:mm' - }, - calendar : { - sameDay : '[Today at] LT', - nextDay : '[Tomorrow at] LT', - nextWeek : 'dddd [at] LT', - lastDay : '[Yesterday at] LT', - lastWeek : '[Last] dddd [at] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'in %s', - past : '%s ago', - s : 'a few seconds', - m : 'a minute', - mm : '%d minutes', - h : 'an hour', - hh : '%d hours', - d : 'a day', - dd : '%d days', - M : 'a month', - MM : '%d months', - y : 'a year', - yy : '%d years' - }, - ordinalParse: /\d{1,2}(st|nd|rd|th)/, - ordinal : function (number) { - var b = number % 10, - output = (~~(number % 100 / 10) === 1) ? 'th' : - (b === 1) ? 'st' : - (b === 2) ? 'nd' : - (b === 3) ? 'rd' : 'th'; - return number + output; - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var enIe = moment.defineLocale('en-ie', { + months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD-MM-YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[Today at] LT', + nextDay : '[Tomorrow at] LT', + nextWeek : 'dddd [at] LT', + lastDay : '[Yesterday at] LT', + lastWeek : '[Last] dddd [at] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'in %s', + past : '%s ago', + s : 'a few seconds', + m : 'a minute', + mm : '%d minutes', + h : 'an hour', + hh : '%d hours', + d : 'a day', + dd : '%d days', + M : 'a month', + MM : '%d months', + y : 'a year', + yy : '%d years' + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal : function (number) { + var b = number % 10, + output = (~~(number % 100 / 10) === 1) ? 'th' : + (b === 1) ? 'st' : + (b === 2) ? 'nd' : + (b === 3) ? 'rd' : 'th'; + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return en_ie; + return enIe; - })); + }))); -/***/ }, -/* 423 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 434 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : English (New Zealand) [en-nz] //! author : Luke McGregor : https://github.com/lukemcgregor ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var en_nz = moment.defineLocale('en-nz', { - months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), - monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), - weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), - weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), - weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), - longDateFormat : { - LT : 'h:mm A', - LTS : 'h:mm:ss A', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY h:mm A', - LLLL : 'dddd, D MMMM YYYY h:mm A' - }, - calendar : { - sameDay : '[Today at] LT', - nextDay : '[Tomorrow at] LT', - nextWeek : 'dddd [at] LT', - lastDay : '[Yesterday at] LT', - lastWeek : '[Last] dddd [at] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'in %s', - past : '%s ago', - s : 'a few seconds', - m : 'a minute', - mm : '%d minutes', - h : 'an hour', - hh : '%d hours', - d : 'a day', - dd : '%d days', - M : 'a month', - MM : '%d months', - y : 'a year', - yy : '%d years' - }, - ordinalParse: /\d{1,2}(st|nd|rd|th)/, - ordinal : function (number) { - var b = number % 10, - output = (~~(number % 100 / 10) === 1) ? 'th' : - (b === 1) ? 'st' : - (b === 2) ? 'nd' : - (b === 3) ? 'rd' : 'th'; - return number + output; - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var enNz = moment.defineLocale('en-nz', { + months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat : { + LT : 'h:mm A', + LTS : 'h:mm:ss A', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY h:mm A', + LLLL : 'dddd, D MMMM YYYY h:mm A' + }, + calendar : { + sameDay : '[Today at] LT', + nextDay : '[Tomorrow at] LT', + nextWeek : 'dddd [at] LT', + lastDay : '[Yesterday at] LT', + lastWeek : '[Last] dddd [at] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'in %s', + past : '%s ago', + s : 'a few seconds', + m : 'a minute', + mm : '%d minutes', + h : 'an hour', + hh : '%d hours', + d : 'a day', + dd : '%d days', + M : 'a month', + MM : '%d months', + y : 'a year', + yy : '%d years' + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal : function (number) { + var b = number % 10, + output = (~~(number % 100 / 10) === 1) ? 'th' : + (b === 1) ? 'st' : + (b === 2) ? 'nd' : + (b === 3) ? 'rd' : 'th'; + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return en_nz; + return enNz; - })); + }))); -/***/ }, -/* 424 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 435 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Esperanto [eo] //! author : Colin Dean : https://github.com/colindean - //! komento: Mi estas malcerta se mi korekte traktis akuzativojn en tiu traduko. - //! Se ne, bonvolu korekti kaj avizi min por ke mi povas lerni! + //! author : Mia Nordentoft Imperatori : https://github.com/miestasmia + //! comment : miestasmia corrected the translation by colindean ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var eo = moment.defineLocale('eo', { - months : 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'), - monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'), - weekdays : 'Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato'.split('_'), - weekdaysShort : 'Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab'.split('_'), - weekdaysMin : 'Di_Lu_Ma_Me_Ĵa_Ve_Sa'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'YYYY-MM-DD', - LL : 'D[-an de] MMMM, YYYY', - LLL : 'D[-an de] MMMM, YYYY HH:mm', - LLLL : 'dddd, [la] D[-an de] MMMM, YYYY HH:mm' - }, - meridiemParse: /[ap]\.t\.m/i, - isPM: function (input) { - return input.charAt(0).toLowerCase() === 'p'; - }, - meridiem : function (hours, minutes, isLower) { - if (hours > 11) { - return isLower ? 'p.t.m.' : 'P.T.M.'; - } else { - return isLower ? 'a.t.m.' : 'A.T.M.'; - } - }, - calendar : { - sameDay : '[Hodiaŭ je] LT', - nextDay : '[Morgaŭ je] LT', - nextWeek : 'dddd [je] LT', - lastDay : '[Hieraŭ je] LT', - lastWeek : '[pasinta] dddd [je] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'je %s', - past : 'antaŭ %s', - s : 'sekundoj', - m : 'minuto', - mm : '%d minutoj', - h : 'horo', - hh : '%d horoj', - d : 'tago',//ne 'diurno', ĉar estas uzita por proksimumo - dd : '%d tagoj', - M : 'monato', - MM : '%d monatoj', - y : 'jaro', - yy : '%d jaroj' - }, - ordinalParse: /\d{1,2}a/, - ordinal : '%da', - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var eo = moment.defineLocale('eo', { + months : 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'), + monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'), + weekdays : 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'), + weekdaysShort : 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'), + weekdaysMin : 'di_lu_ma_me_ĵa_ve_sa'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'YYYY-MM-DD', + LL : 'D[-a de] MMMM, YYYY', + LLL : 'D[-a de] MMMM, YYYY HH:mm', + LLLL : 'dddd, [la] D[-a de] MMMM, YYYY HH:mm' + }, + meridiemParse: /[ap]\.t\.m/i, + isPM: function (input) { + return input.charAt(0).toLowerCase() === 'p'; + }, + meridiem : function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'p.t.m.' : 'P.T.M.'; + } else { + return isLower ? 'a.t.m.' : 'A.T.M.'; } - }); + }, + calendar : { + sameDay : '[Hodiaŭ je] LT', + nextDay : '[Morgaŭ je] LT', + nextWeek : 'dddd [je] LT', + lastDay : '[Hieraŭ je] LT', + lastWeek : '[pasinta] dddd [je] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'post %s', + past : 'antaŭ %s', + s : 'sekundoj', + m : 'minuto', + mm : '%d minutoj', + h : 'horo', + hh : '%d horoj', + d : 'tago',//ne 'diurno', ĉar estas uzita por proksimumo + dd : '%d tagoj', + M : 'monato', + MM : '%d monatoj', + y : 'jaro', + yy : '%d jaroj' + }, + dayOfMonthOrdinalParse: /\d{1,2}a/, + ordinal : '%da', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return eo; + return eo; - })); + }))); -/***/ }, -/* 425 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 436 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Spanish [es] //! author : Julio Napurí : https://github.com/julionc ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'), - monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); + var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'); + var monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); - var es = moment.defineLocale('es', { - months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), - monthsShort : function (m, format) { - if (/-MMM-/.test(format)) { - return monthsShort[m.month()]; - } else { - return monthsShortDot[m.month()]; - } + var es = moment.defineLocale('es', { + months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), + monthsShort : function (m, format) { + if (!m) { + return monthsShortDot; + } else if (/-MMM-/.test(format)) { + return monthsShort[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsParseExact : true, + weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D [de] MMMM [de] YYYY', + LLL : 'D [de] MMMM [de] YYYY H:mm', + LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm' + }, + calendar : { + sameDay : function () { + return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; }, - monthsParseExact : true, - weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), - weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), - weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'H:mm', - LTS : 'H:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D [de] MMMM [de] YYYY', - LLL : 'D [de] MMMM [de] YYYY H:mm', - LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm' + nextDay : function () { + return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; }, - calendar : { - sameDay : function () { - return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; - }, - nextDay : function () { - return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; - }, - nextWeek : function () { - return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; - }, - lastDay : function () { - return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; - }, - lastWeek : function () { - return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; - }, - sameElse : 'L' + nextWeek : function () { + return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; }, - relativeTime : { - future : 'en %s', - past : 'hace %s', - s : 'unos segundos', - m : 'un minuto', - mm : '%d minutos', - h : 'una hora', - hh : '%d horas', - d : 'un día', - dd : '%d días', - M : 'un mes', - MM : '%d meses', - y : 'un año', - yy : '%d años' + lastDay : function () { + return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; }, - ordinalParse : /\d{1,2}º/, - ordinal : '%dº', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + lastWeek : function () { + return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; + }, + sameElse : 'L' + }, + relativeTime : { + future : 'en %s', + past : 'hace %s', + s : 'unos segundos', + m : 'un minuto', + mm : '%d minutos', + h : 'una hora', + hh : '%d horas', + d : 'un día', + dd : '%d días', + M : 'un mes', + MM : '%d meses', + y : 'un año', + yy : '%d años' + }, + dayOfMonthOrdinalParse : /\d{1,2}º/, + ordinal : '%dº', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return es; + return es; - })); + }))); -/***/ }, -/* 426 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 437 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Spanish (Dominican Republic) [es-do] ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'), - monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); + var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'); + var monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); - var es_do = moment.defineLocale('es-do', { - months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), - monthsShort : function (m, format) { - if (/-MMM-/.test(format)) { - return monthsShort[m.month()]; - } else { - return monthsShortDot[m.month()]; - } + var esDo = moment.defineLocale('es-do', { + months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), + monthsShort : function (m, format) { + if (!m) { + return monthsShortDot; + } else if (/-MMM-/.test(format)) { + return monthsShort[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsParseExact : true, + weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'h:mm A', + LTS : 'h:mm:ss A', + L : 'DD/MM/YYYY', + LL : 'D [de] MMMM [de] YYYY', + LLL : 'D [de] MMMM [de] YYYY h:mm A', + LLLL : 'dddd, D [de] MMMM [de] YYYY h:mm A' + }, + calendar : { + sameDay : function () { + return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; }, - monthsParseExact : true, - weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), - weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), - weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'h:mm A', - LTS : 'h:mm:ss A', - L : 'DD/MM/YYYY', - LL : 'D [de] MMMM [de] YYYY', - LLL : 'D [de] MMMM [de] YYYY h:mm A', - LLLL : 'dddd, D [de] MMMM [de] YYYY h:mm A' + nextDay : function () { + return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; }, - calendar : { - sameDay : function () { - return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; - }, - nextDay : function () { - return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; - }, - nextWeek : function () { - return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; - }, - lastDay : function () { - return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; - }, - lastWeek : function () { - return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; - }, - sameElse : 'L' + nextWeek : function () { + return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; }, - relativeTime : { - future : 'en %s', - past : 'hace %s', - s : 'unos segundos', - m : 'un minuto', - mm : '%d minutos', - h : 'una hora', - hh : '%d horas', - d : 'un día', - dd : '%d días', - M : 'un mes', - MM : '%d meses', - y : 'un año', - yy : '%d años' + lastDay : function () { + return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; }, - ordinalParse : /\d{1,2}º/, - ordinal : '%dº', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + lastWeek : function () { + return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; + }, + sameElse : 'L' + }, + relativeTime : { + future : 'en %s', + past : 'hace %s', + s : 'unos segundos', + m : 'un minuto', + mm : '%d minutos', + h : 'una hora', + hh : '%d horas', + d : 'un día', + dd : '%d días', + M : 'un mes', + MM : '%d meses', + y : 'un año', + yy : '%d años' + }, + dayOfMonthOrdinalParse : /\d{1,2}º/, + ordinal : '%dº', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return es_do; + return esDo; - })); + }))); -/***/ }, -/* 427 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 438 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Estonian [et] @@ -58414,876 +59829,1064 @@ //! improvements : Illimar Tambek : https://github.com/ragulka ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - function processRelativeTime(number, withoutSuffix, key, isFuture) { - var format = { - 's' : ['mõne sekundi', 'mõni sekund', 'paar sekundit'], - 'm' : ['ühe minuti', 'üks minut'], - 'mm': [number + ' minuti', number + ' minutit'], - 'h' : ['ühe tunni', 'tund aega', 'üks tund'], - 'hh': [number + ' tunni', number + ' tundi'], - 'd' : ['ühe päeva', 'üks päev'], - 'M' : ['kuu aja', 'kuu aega', 'üks kuu'], - 'MM': [number + ' kuu', number + ' kuud'], - 'y' : ['ühe aasta', 'aasta', 'üks aasta'], - 'yy': [number + ' aasta', number + ' aastat'] - }; - if (withoutSuffix) { - return format[key][2] ? format[key][2] : format[key][1]; - } - return isFuture ? format[key][0] : format[key][1]; - } - - var et = moment.defineLocale('et', { - months : 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'), - monthsShort : 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'), - weekdays : 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'), - weekdaysShort : 'P_E_T_K_N_R_L'.split('_'), - weekdaysMin : 'P_E_T_K_N_R_L'.split('_'), - longDateFormat : { - LT : 'H:mm', - LTS : 'H:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D. MMMM YYYY', - LLL : 'D. MMMM YYYY H:mm', - LLLL : 'dddd, D. MMMM YYYY H:mm' - }, - calendar : { - sameDay : '[Täna,] LT', - nextDay : '[Homme,] LT', - nextWeek : '[Järgmine] dddd LT', - lastDay : '[Eile,] LT', - lastWeek : '[Eelmine] dddd LT', - sameElse : 'L' - }, - relativeTime : { - future : '%s pärast', - past : '%s tagasi', - s : processRelativeTime, - m : processRelativeTime, - mm : processRelativeTime, - h : processRelativeTime, - hh : processRelativeTime, - d : processRelativeTime, - dd : '%d päeva', - M : processRelativeTime, - MM : processRelativeTime, - y : processRelativeTime, - yy : processRelativeTime - }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + 's' : ['mõne sekundi', 'mõni sekund', 'paar sekundit'], + 'm' : ['ühe minuti', 'üks minut'], + 'mm': [number + ' minuti', number + ' minutit'], + 'h' : ['ühe tunni', 'tund aega', 'üks tund'], + 'hh': [number + ' tunni', number + ' tundi'], + 'd' : ['ühe päeva', 'üks päev'], + 'M' : ['kuu aja', 'kuu aega', 'üks kuu'], + 'MM': [number + ' kuu', number + ' kuud'], + 'y' : ['ühe aasta', 'aasta', 'üks aasta'], + 'yy': [number + ' aasta', number + ' aastat'] + }; + if (withoutSuffix) { + return format[key][2] ? format[key][2] : format[key][1]; + } + return isFuture ? format[key][0] : format[key][1]; + } + + var et = moment.defineLocale('et', { + months : 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'), + monthsShort : 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'), + weekdays : 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'), + weekdaysShort : 'P_E_T_K_N_R_L'.split('_'), + weekdaysMin : 'P_E_T_K_N_R_L'.split('_'), + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY H:mm', + LLLL : 'dddd, D. MMMM YYYY H:mm' + }, + calendar : { + sameDay : '[Täna,] LT', + nextDay : '[Homme,] LT', + nextWeek : '[Järgmine] dddd LT', + lastDay : '[Eile,] LT', + lastWeek : '[Eelmine] dddd LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s pärast', + past : '%s tagasi', + s : processRelativeTime, + m : processRelativeTime, + mm : processRelativeTime, + h : processRelativeTime, + hh : processRelativeTime, + d : processRelativeTime, + dd : '%d päeva', + M : processRelativeTime, + MM : processRelativeTime, + y : processRelativeTime, + yy : processRelativeTime + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return et; + return et; - })); + }))); -/***/ }, -/* 428 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 439 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Basque [eu] //! author : Eneko Illarramendi : https://github.com/eillarra ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var eu = moment.defineLocale('eu', { - months : 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'), - monthsShort : 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'), - monthsParseExact : true, - weekdays : 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'), - weekdaysShort : 'ig._al._ar._az._og._ol._lr.'.split('_'), - weekdaysMin : 'ig_al_ar_az_og_ol_lr'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'YYYY-MM-DD', - LL : 'YYYY[ko] MMMM[ren] D[a]', - LLL : 'YYYY[ko] MMMM[ren] D[a] HH:mm', - LLLL : 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm', - l : 'YYYY-M-D', - ll : 'YYYY[ko] MMM D[a]', - lll : 'YYYY[ko] MMM D[a] HH:mm', - llll : 'ddd, YYYY[ko] MMM D[a] HH:mm' - }, - calendar : { - sameDay : '[gaur] LT[etan]', - nextDay : '[bihar] LT[etan]', - nextWeek : 'dddd LT[etan]', - lastDay : '[atzo] LT[etan]', - lastWeek : '[aurreko] dddd LT[etan]', - sameElse : 'L' - }, - relativeTime : { - future : '%s barru', - past : 'duela %s', - s : 'segundo batzuk', - m : 'minutu bat', - mm : '%d minutu', - h : 'ordu bat', - hh : '%d ordu', - d : 'egun bat', - dd : '%d egun', - M : 'hilabete bat', - MM : '%d hilabete', - y : 'urte bat', - yy : '%d urte' - }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var eu = moment.defineLocale('eu', { + months : 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'), + monthsShort : 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'), + monthsParseExact : true, + weekdays : 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'), + weekdaysShort : 'ig._al._ar._az._og._ol._lr.'.split('_'), + weekdaysMin : 'ig_al_ar_az_og_ol_lr'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'YYYY-MM-DD', + LL : 'YYYY[ko] MMMM[ren] D[a]', + LLL : 'YYYY[ko] MMMM[ren] D[a] HH:mm', + LLLL : 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm', + l : 'YYYY-M-D', + ll : 'YYYY[ko] MMM D[a]', + lll : 'YYYY[ko] MMM D[a] HH:mm', + llll : 'ddd, YYYY[ko] MMM D[a] HH:mm' + }, + calendar : { + sameDay : '[gaur] LT[etan]', + nextDay : '[bihar] LT[etan]', + nextWeek : 'dddd LT[etan]', + lastDay : '[atzo] LT[etan]', + lastWeek : '[aurreko] dddd LT[etan]', + sameElse : 'L' + }, + relativeTime : { + future : '%s barru', + past : 'duela %s', + s : 'segundo batzuk', + m : 'minutu bat', + mm : '%d minutu', + h : 'ordu bat', + hh : '%d ordu', + d : 'egun bat', + dd : '%d egun', + M : 'hilabete bat', + MM : '%d hilabete', + y : 'urte bat', + yy : '%d urte' + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return eu; + return eu; - })); + }))); -/***/ }, -/* 429 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 440 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Persian [fa] //! author : Ebrahim Byagowi : https://github.com/ebraminio ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var symbolMap = { - '1': '۱', - '2': '۲', - '3': '۳', - '4': '۴', - '5': '۵', - '6': '۶', - '7': '۷', - '8': '۸', - '9': '۹', - '0': '۰' - }, numberMap = { - '۱': '1', - '۲': '2', - '۳': '3', - '۴': '4', - '۵': '5', - '۶': '6', - '۷': '7', - '۸': '8', - '۹': '9', - '۰': '0' - }; - - var fa = moment.defineLocale('fa', { - months : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), - monthsShort : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), - weekdays : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'), - weekdaysShort : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'), - weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd, D MMMM YYYY HH:mm' - }, - meridiemParse: /قبل از ظهر|بعد از ظهر/, - isPM: function (input) { - return /بعد از ظهر/.test(input); - }, - meridiem : function (hour, minute, isLower) { - if (hour < 12) { - return 'قبل از ظهر'; - } else { - return 'بعد از ظهر'; - } - }, - calendar : { - sameDay : '[امروز ساعت] LT', - nextDay : '[فردا ساعت] LT', - nextWeek : 'dddd [ساعت] LT', - lastDay : '[دیروز ساعت] LT', - lastWeek : 'dddd [پیش] [ساعت] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'در %s', - past : '%s پیش', - s : 'چندین ثانیه', - m : 'یک دقیقه', - mm : '%d دقیقه', - h : 'یک ساعت', - hh : '%d ساعت', - d : 'یک روز', - dd : '%d روز', - M : 'یک ماه', - MM : '%d ماه', - y : 'یک سال', - yy : '%d سال' - }, - preparse: function (string) { - return string.replace(/[۰-۹]/g, function (match) { - return numberMap[match]; - }).replace(/،/g, ','); - }, - postformat: function (string) { - return string.replace(/\d/g, function (match) { - return symbolMap[match]; - }).replace(/,/g, '،'); - }, - ordinalParse: /\d{1,2}م/, - ordinal : '%dم', - week : { - dow : 6, // Saturday is the first day of the week. - doy : 12 // The week that contains Jan 1st is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var symbolMap = { + '1': '۱', + '2': '۲', + '3': '۳', + '4': '۴', + '5': '۵', + '6': '۶', + '7': '۷', + '8': '۸', + '9': '۹', + '0': '۰' + }; + var numberMap = { + '۱': '1', + '۲': '2', + '۳': '3', + '۴': '4', + '۵': '5', + '۶': '6', + '۷': '7', + '۸': '8', + '۹': '9', + '۰': '0' + }; + + var fa = moment.defineLocale('fa', { + months : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), + monthsShort : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), + weekdays : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'), + weekdaysShort : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'), + weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + meridiemParse: /قبل از ظهر|بعد از ظهر/, + isPM: function (input) { + return /بعد از ظهر/.test(input); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return 'قبل از ظهر'; + } else { + return 'بعد از ظهر'; } - }); + }, + calendar : { + sameDay : '[امروز ساعت] LT', + nextDay : '[فردا ساعت] LT', + nextWeek : 'dddd [ساعت] LT', + lastDay : '[دیروز ساعت] LT', + lastWeek : 'dddd [پیش] [ساعت] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'در %s', + past : '%s پیش', + s : 'چند ثانیه', + m : 'یک دقیقه', + mm : '%d دقیقه', + h : 'یک ساعت', + hh : '%d ساعت', + d : 'یک روز', + dd : '%d روز', + M : 'یک ماه', + MM : '%d ماه', + y : 'یک سال', + yy : '%d سال' + }, + preparse: function (string) { + return string.replace(/[۰-۹]/g, function (match) { + return numberMap[match]; + }).replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }).replace(/,/g, '،'); + }, + dayOfMonthOrdinalParse: /\d{1,2}م/, + ordinal : '%dم', + week : { + dow : 6, // Saturday is the first day of the week. + doy : 12 // The week that contains Jan 1st is the first week of the year. + } + }); - return fa; + return fa; - })); + }))); -/***/ }, -/* 430 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 441 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Finnish [fi] //! author : Tarmo Aidantausta : https://github.com/bleadof ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '), - numbersFuture = [ - 'nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden', - numbersPast[7], numbersPast[8], numbersPast[9] - ]; - function translate(number, withoutSuffix, key, isFuture) { - var result = ''; - switch (key) { - case 's': - return isFuture ? 'muutaman sekunnin' : 'muutama sekunti'; - case 'm': - return isFuture ? 'minuutin' : 'minuutti'; - case 'mm': - result = isFuture ? 'minuutin' : 'minuuttia'; - break; - case 'h': - return isFuture ? 'tunnin' : 'tunti'; - case 'hh': - result = isFuture ? 'tunnin' : 'tuntia'; - break; - case 'd': - return isFuture ? 'päivän' : 'päivä'; - case 'dd': - result = isFuture ? 'päivän' : 'päivää'; - break; - case 'M': - return isFuture ? 'kuukauden' : 'kuukausi'; - case 'MM': - result = isFuture ? 'kuukauden' : 'kuukautta'; - break; - case 'y': - return isFuture ? 'vuoden' : 'vuosi'; - case 'yy': - result = isFuture ? 'vuoden' : 'vuotta'; - break; - } - result = verbalNumber(number, isFuture) + ' ' + result; - return result; + var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '); + var numbersFuture = [ + 'nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden', + numbersPast[7], numbersPast[8], numbersPast[9] + ]; + function translate(number, withoutSuffix, key, isFuture) { + var result = ''; + switch (key) { + case 's': + return isFuture ? 'muutaman sekunnin' : 'muutama sekunti'; + case 'm': + return isFuture ? 'minuutin' : 'minuutti'; + case 'mm': + result = isFuture ? 'minuutin' : 'minuuttia'; + break; + case 'h': + return isFuture ? 'tunnin' : 'tunti'; + case 'hh': + result = isFuture ? 'tunnin' : 'tuntia'; + break; + case 'd': + return isFuture ? 'päivän' : 'päivä'; + case 'dd': + result = isFuture ? 'päivän' : 'päivää'; + break; + case 'M': + return isFuture ? 'kuukauden' : 'kuukausi'; + case 'MM': + result = isFuture ? 'kuukauden' : 'kuukautta'; + break; + case 'y': + return isFuture ? 'vuoden' : 'vuosi'; + case 'yy': + result = isFuture ? 'vuoden' : 'vuotta'; + break; } - function verbalNumber(number, isFuture) { - return number < 10 ? (isFuture ? numbersFuture[number] : numbersPast[number]) : number; - } - - var fi = moment.defineLocale('fi', { - months : 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split('_'), - monthsShort : 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'), - weekdays : 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split('_'), - weekdaysShort : 'su_ma_ti_ke_to_pe_la'.split('_'), - weekdaysMin : 'su_ma_ti_ke_to_pe_la'.split('_'), - longDateFormat : { - LT : 'HH.mm', - LTS : 'HH.mm.ss', - L : 'DD.MM.YYYY', - LL : 'Do MMMM[ta] YYYY', - LLL : 'Do MMMM[ta] YYYY, [klo] HH.mm', - LLLL : 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm', - l : 'D.M.YYYY', - ll : 'Do MMM YYYY', - lll : 'Do MMM YYYY, [klo] HH.mm', - llll : 'ddd, Do MMM YYYY, [klo] HH.mm' - }, - calendar : { - sameDay : '[tänään] [klo] LT', - nextDay : '[huomenna] [klo] LT', - nextWeek : 'dddd [klo] LT', - lastDay : '[eilen] [klo] LT', - lastWeek : '[viime] dddd[na] [klo] LT', - sameElse : 'L' - }, - relativeTime : { - future : '%s päästä', - past : '%s sitten', - s : translate, - m : translate, - mm : translate, - h : translate, - hh : translate, - d : translate, - dd : translate, - M : translate, - MM : translate, - y : translate, - yy : translate - }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + result = verbalNumber(number, isFuture) + ' ' + result; + return result; + } + function verbalNumber(number, isFuture) { + return number < 10 ? (isFuture ? numbersFuture[number] : numbersPast[number]) : number; + } + + var fi = moment.defineLocale('fi', { + months : 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split('_'), + monthsShort : 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'), + weekdays : 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split('_'), + weekdaysShort : 'su_ma_ti_ke_to_pe_la'.split('_'), + weekdaysMin : 'su_ma_ti_ke_to_pe_la'.split('_'), + longDateFormat : { + LT : 'HH.mm', + LTS : 'HH.mm.ss', + L : 'DD.MM.YYYY', + LL : 'Do MMMM[ta] YYYY', + LLL : 'Do MMMM[ta] YYYY, [klo] HH.mm', + LLLL : 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm', + l : 'D.M.YYYY', + ll : 'Do MMM YYYY', + lll : 'Do MMM YYYY, [klo] HH.mm', + llll : 'ddd, Do MMM YYYY, [klo] HH.mm' + }, + calendar : { + sameDay : '[tänään] [klo] LT', + nextDay : '[huomenna] [klo] LT', + nextWeek : 'dddd [klo] LT', + lastDay : '[eilen] [klo] LT', + lastWeek : '[viime] dddd[na] [klo] LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s päästä', + past : '%s sitten', + s : translate, + m : translate, + mm : translate, + h : translate, + hh : translate, + d : translate, + dd : translate, + M : translate, + MM : translate, + y : translate, + yy : translate + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return fi; + return fi; - })); + }))); -/***/ }, -/* 431 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 442 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Faroese [fo] //! author : Ragnar Johannesen : https://github.com/ragnar123 ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var fo = moment.defineLocale('fo', { - months : 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'), - monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), - weekdays : 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'), - weekdaysShort : 'sun_mán_týs_mik_hós_frí_ley'.split('_'), - weekdaysMin : 'su_má_tý_mi_hó_fr_le'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd D. MMMM, YYYY HH:mm' - }, - calendar : { - sameDay : '[Í dag kl.] LT', - nextDay : '[Í morgin kl.] LT', - nextWeek : 'dddd [kl.] LT', - lastDay : '[Í gjár kl.] LT', - lastWeek : '[síðstu] dddd [kl] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'um %s', - past : '%s síðani', - s : 'fá sekund', - m : 'ein minutt', - mm : '%d minuttir', - h : 'ein tími', - hh : '%d tímar', - d : 'ein dagur', - dd : '%d dagar', - M : 'ein mánaði', - MM : '%d mánaðir', - y : 'eitt ár', - yy : '%d ár' - }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var fo = moment.defineLocale('fo', { + months : 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'), + monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), + weekdays : 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'), + weekdaysShort : 'sun_mán_týs_mik_hós_frí_ley'.split('_'), + weekdaysMin : 'su_má_tý_mi_hó_fr_le'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D. MMMM, YYYY HH:mm' + }, + calendar : { + sameDay : '[Í dag kl.] LT', + nextDay : '[Í morgin kl.] LT', + nextWeek : 'dddd [kl.] LT', + lastDay : '[Í gjár kl.] LT', + lastWeek : '[síðstu] dddd [kl] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'um %s', + past : '%s síðani', + s : 'fá sekund', + m : 'ein minutt', + mm : '%d minuttir', + h : 'ein tími', + hh : '%d tímar', + d : 'ein dagur', + dd : '%d dagar', + M : 'ein mánaði', + MM : '%d mánaðir', + y : 'eitt ár', + yy : '%d ár' + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return fo; + return fo; - })); + }))); -/***/ }, -/* 432 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 443 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : French [fr] //! author : John Fischer : https://github.com/jfroffice ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var fr = moment.defineLocale('fr', { - months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), - monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), - monthsParseExact : true, - weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), - weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), - weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd D MMMM YYYY HH:mm' - }, - calendar : { - sameDay: '[Aujourd\'hui à] LT', - nextDay: '[Demain à] LT', - nextWeek: 'dddd [à] LT', - lastDay: '[Hier à] LT', - lastWeek: 'dddd [dernier à] LT', - sameElse: 'L' - }, - relativeTime : { - future : 'dans %s', - past : 'il y a %s', - s : 'quelques secondes', - m : 'une minute', - mm : '%d minutes', - h : 'une heure', - hh : '%d heures', - d : 'un jour', - dd : '%d jours', - M : 'un mois', - MM : '%d mois', - y : 'un an', - yy : '%d ans' - }, - ordinalParse: /\d{1,2}(er|)/, - ordinal : function (number) { - return number + (number === 1 ? 'er' : ''); - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var fr = moment.defineLocale('fr', { + months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), + monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), + monthsParseExact : true, + weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[Aujourd’hui à] LT', + nextDay : '[Demain à] LT', + nextWeek : 'dddd [à] LT', + lastDay : '[Hier à] LT', + lastWeek : 'dddd [dernier à] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'dans %s', + past : 'il y a %s', + s : 'quelques secondes', + m : 'une minute', + mm : '%d minutes', + h : 'une heure', + hh : '%d heures', + d : 'un jour', + dd : '%d jours', + M : 'un mois', + MM : '%d mois', + y : 'un an', + yy : '%d ans' + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|)/, + ordinal : function (number, period) { + switch (period) { + // TODO: Return 'e' when day of month > 1. Move this case inside + // block for masculine words below. + // See https://github.com/moment/moment/issues/3375 + case 'D': + return number + (number === 1 ? 'er' : ''); + + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); } - }); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return fr; + return fr; - })); + }))); -/***/ }, -/* 433 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 444 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : French (Canada) [fr-ca] //! author : Jonathan Abourbih : https://github.com/jonbca ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var fr_ca = moment.defineLocale('fr-ca', { - months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), - monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), - monthsParseExact : true, - weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), - weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), - weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'YYYY-MM-DD', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd D MMMM YYYY HH:mm' - }, - calendar : { - sameDay: '[Aujourd\'hui à] LT', - nextDay: '[Demain à] LT', - nextWeek: 'dddd [à] LT', - lastDay: '[Hier à] LT', - lastWeek: 'dddd [dernier à] LT', - sameElse: 'L' - }, - relativeTime : { - future : 'dans %s', - past : 'il y a %s', - s : 'quelques secondes', - m : 'une minute', - mm : '%d minutes', - h : 'une heure', - hh : '%d heures', - d : 'un jour', - dd : '%d jours', - M : 'un mois', - MM : '%d mois', - y : 'un an', - yy : '%d ans' - }, - ordinalParse: /\d{1,2}(er|e)/, - ordinal : function (number) { - return number + (number === 1 ? 'er' : 'e'); + }(this, (function (moment) { 'use strict'; + + + var frCa = moment.defineLocale('fr-ca', { + months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), + monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), + monthsParseExact : true, + weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'YYYY-MM-DD', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[Aujourd’hui à] LT', + nextDay : '[Demain à] LT', + nextWeek : 'dddd [à] LT', + lastDay : '[Hier à] LT', + lastWeek : 'dddd [dernier à] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'dans %s', + past : 'il y a %s', + s : 'quelques secondes', + m : 'une minute', + mm : '%d minutes', + h : 'une heure', + hh : '%d heures', + d : 'un jour', + dd : '%d jours', + M : 'un mois', + MM : '%d mois', + y : 'un an', + yy : '%d ans' + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, + ordinal : function (number, period) { + switch (period) { + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'D': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); } - }); + } + }); - return fr_ca; + return frCa; - })); + }))); -/***/ }, -/* 434 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 445 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : French (Switzerland) [fr-ch] //! author : Gaspard Bucher : https://github.com/gaspard ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var fr_ch = moment.defineLocale('fr-ch', { - months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), - monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), - monthsParseExact : true, - weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), - weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), - weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd D MMMM YYYY HH:mm' - }, - calendar : { - sameDay: '[Aujourd\'hui à] LT', - nextDay: '[Demain à] LT', - nextWeek: 'dddd [à] LT', - lastDay: '[Hier à] LT', - lastWeek: 'dddd [dernier à] LT', - sameElse: 'L' - }, - relativeTime : { - future : 'dans %s', - past : 'il y a %s', - s : 'quelques secondes', - m : 'une minute', - mm : '%d minutes', - h : 'une heure', - hh : '%d heures', - d : 'un jour', - dd : '%d jours', - M : 'un mois', - MM : '%d mois', - y : 'un an', - yy : '%d ans' - }, - ordinalParse: /\d{1,2}(er|e)/, - ordinal : function (number) { - return number + (number === 1 ? 'er' : 'e'); - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var frCh = moment.defineLocale('fr-ch', { + months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), + monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), + monthsParseExact : true, + weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[Aujourd’hui à] LT', + nextDay : '[Demain à] LT', + nextWeek : 'dddd [à] LT', + lastDay : '[Hier à] LT', + lastWeek : 'dddd [dernier à] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'dans %s', + past : 'il y a %s', + s : 'quelques secondes', + m : 'une minute', + mm : '%d minutes', + h : 'une heure', + hh : '%d heures', + d : 'un jour', + dd : '%d jours', + M : 'un mois', + MM : '%d mois', + y : 'un an', + yy : '%d ans' + }, + dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, + ordinal : function (number, period) { + switch (period) { + // Words with masculine grammatical gender: mois, trimestre, jour + default: + case 'M': + case 'Q': + case 'D': + case 'DDD': + case 'd': + return number + (number === 1 ? 'er' : 'e'); + + // Words with feminine grammatical gender: semaine + case 'w': + case 'W': + return number + (number === 1 ? 're' : 'e'); } - }); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return fr_ch; + return frCh; - })); + }))); -/***/ }, -/* 435 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 446 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Frisian [fy] //! author : Robin van der Vliet : https://github.com/robin0van0der0v ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'), - monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'); + var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'); + var monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'); - var fy = moment.defineLocale('fy', { - months : 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'), - monthsShort : function (m, format) { - if (/-MMM-/.test(format)) { - return monthsShortWithoutDots[m.month()]; - } else { - return monthsShortWithDots[m.month()]; - } - }, - monthsParseExact : true, - weekdays : 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'), - weekdaysShort : 'si._mo._ti._wo._to._fr._so.'.split('_'), - weekdaysMin : 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD-MM-YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd D MMMM YYYY HH:mm' - }, - calendar : { - sameDay: '[hjoed om] LT', - nextDay: '[moarn om] LT', - nextWeek: 'dddd [om] LT', - lastDay: '[juster om] LT', - lastWeek: '[ôfrûne] dddd [om] LT', - sameElse: 'L' - }, - relativeTime : { - future : 'oer %s', - past : '%s lyn', - s : 'in pear sekonden', - m : 'ien minút', - mm : '%d minuten', - h : 'ien oere', - hh : '%d oeren', - d : 'ien dei', - dd : '%d dagen', - M : 'ien moanne', - MM : '%d moannen', - y : 'ien jier', - yy : '%d jierren' - }, - ordinalParse: /\d{1,2}(ste|de)/, - ordinal : function (number) { - return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. + var fy = moment.defineLocale('fy', { + months : 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'), + monthsShort : function (m, format) { + if (!m) { + return monthsShortWithDots; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; } - }); + }, + monthsParseExact : true, + weekdays : 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'), + weekdaysShort : 'si._mo._ti._wo._to._fr._so.'.split('_'), + weekdaysMin : 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD-MM-YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[hjoed om] LT', + nextDay: '[moarn om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[juster om] LT', + lastWeek: '[ôfrûne] dddd [om] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'oer %s', + past : '%s lyn', + s : 'in pear sekonden', + m : 'ien minút', + mm : '%d minuten', + h : 'ien oere', + hh : '%d oeren', + d : 'ien dei', + dd : '%d dagen', + M : 'ien moanne', + MM : '%d moannen', + y : 'ien jier', + yy : '%d jierren' + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal : function (number) { + return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return fy; + return fy; - })); + }))); -/***/ }, -/* 436 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 447 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Scottish Gaelic [gd] //! author : Jon Ashdown : https://github.com/jonashdown ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - var months = [ - 'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd' - ]; + var months = [ + 'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd' + ]; - var monthsShort = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh']; + var monthsShort = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh']; - var weekdays = ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne']; + var weekdays = ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne']; - var weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis']; + var weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis']; - var weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa']; + var weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa']; - var gd = moment.defineLocale('gd', { - months : months, - monthsShort : monthsShort, - monthsParseExact : true, - weekdays : weekdays, - weekdaysShort : weekdaysShort, - weekdaysMin : weekdaysMin, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd, D MMMM YYYY HH:mm' - }, - calendar : { - sameDay : '[An-diugh aig] LT', - nextDay : '[A-màireach aig] LT', - nextWeek : 'dddd [aig] LT', - lastDay : '[An-dè aig] LT', - lastWeek : 'dddd [seo chaidh] [aig] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'ann an %s', - past : 'bho chionn %s', - s : 'beagan diogan', - m : 'mionaid', - mm : '%d mionaidean', - h : 'uair', - hh : '%d uairean', - d : 'latha', - dd : '%d latha', - M : 'mìos', - MM : '%d mìosan', - y : 'bliadhna', - yy : '%d bliadhna' - }, - ordinalParse : /\d{1,2}(d|na|mh)/, - ordinal : function (number) { - var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; - return number + output; - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + var gd = moment.defineLocale('gd', { + months : months, + monthsShort : monthsShort, + monthsParseExact : true, + weekdays : weekdays, + weekdaysShort : weekdaysShort, + weekdaysMin : weekdaysMin, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[An-diugh aig] LT', + nextDay : '[A-màireach aig] LT', + nextWeek : 'dddd [aig] LT', + lastDay : '[An-dè aig] LT', + lastWeek : 'dddd [seo chaidh] [aig] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'ann an %s', + past : 'bho chionn %s', + s : 'beagan diogan', + m : 'mionaid', + mm : '%d mionaidean', + h : 'uair', + hh : '%d uairean', + d : 'latha', + dd : '%d latha', + M : 'mìos', + MM : '%d mìosan', + y : 'bliadhna', + yy : '%d bliadhna' + }, + dayOfMonthOrdinalParse : /\d{1,2}(d|na|mh)/, + ordinal : function (number) { + var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return gd; + return gd; - })); + }))); -/***/ }, -/* 437 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 448 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Galician [gl] //! author : Juan G. Hurtado : https://github.com/juanghurtado ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var gl = moment.defineLocale('gl', { - months : 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split('_'), - monthsShort : 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split('_'), - monthsParseExact: true, - weekdays : 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'), - weekdaysShort : 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'), - weekdaysMin : 'do_lu_ma_mé_xo_ve_sá'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'H:mm', - LTS : 'H:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D [de] MMMM [de] YYYY', - LLL : 'D [de] MMMM [de] YYYY H:mm', - LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm' + }(this, (function (moment) { 'use strict'; + + + var gl = moment.defineLocale('gl', { + months : 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split('_'), + monthsShort : 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays : 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'), + weekdaysShort : 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'), + weekdaysMin : 'do_lu_ma_mé_xo_ve_sá'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D [de] MMMM [de] YYYY', + LLL : 'D [de] MMMM [de] YYYY H:mm', + LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm' + }, + calendar : { + sameDay : function () { + return '[hoxe ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT'; }, - calendar : { - sameDay : function () { - return '[hoxe ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT'; - }, - nextDay : function () { - return '[mañá ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT'; - }, - nextWeek : function () { - return 'dddd [' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT'; - }, - lastDay : function () { - return '[onte ' + ((this.hours() !== 1) ? 'á' : 'a') + '] LT'; - }, - lastWeek : function () { - return '[o] dddd [pasado ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT'; - }, - sameElse : 'L' + nextDay : function () { + return '[mañá ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT'; }, - relativeTime : { - future : function (str) { - if (str.indexOf('un') === 0) { - return 'n' + str; - } - return 'en ' + str; - }, - past : 'hai %s', - s : 'uns segundos', - m : 'un minuto', - mm : '%d minutos', - h : 'unha hora', - hh : '%d horas', - d : 'un día', - dd : '%d días', - M : 'un mes', - MM : '%d meses', - y : 'un ano', - yy : '%d anos' + nextWeek : function () { + return 'dddd [' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT'; + }, + lastDay : function () { + return '[onte ' + ((this.hours() !== 1) ? 'á' : 'a') + '] LT'; + }, + lastWeek : function () { + return '[o] dddd [pasado ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT'; + }, + sameElse : 'L' + }, + relativeTime : { + future : function (str) { + if (str.indexOf('un') === 0) { + return 'n' + str; + } + return 'en ' + str; }, - ordinalParse : /\d{1,2}º/, - ordinal : '%dº', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. + past : 'hai %s', + s : 'uns segundos', + m : 'un minuto', + mm : '%d minutos', + h : 'unha hora', + hh : '%d horas', + d : 'un día', + dd : '%d días', + M : 'un mes', + MM : '%d meses', + y : 'un ano', + yy : '%d anos' + }, + dayOfMonthOrdinalParse : /\d{1,2}º/, + ordinal : '%dº', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return gl; + + }))); + + +/***/ }), +/* 449 */ +/***/ (function(module, exports, __webpack_require__) { + + //! moment.js locale configuration + //! locale : Konkani Latin script [gom-latn] + //! author : The Discoverer : https://github.com/WikiDiscoverer + + ;(function (global, factory) { + true ? factory(__webpack_require__(403)) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) + }(this, (function (moment) { 'use strict'; + + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + 's': ['thodde secondanim', 'thodde second'], + 'm': ['eka mintan', 'ek minute'], + 'mm': [number + ' mintanim', number + ' mintam'], + 'h': ['eka horan', 'ek hor'], + 'hh': [number + ' horanim', number + ' hor'], + 'd': ['eka disan', 'ek dis'], + 'dd': [number + ' disanim', number + ' dis'], + 'M': ['eka mhoinean', 'ek mhoino'], + 'MM': [number + ' mhoineanim', number + ' mhoine'], + 'y': ['eka vorsan', 'ek voros'], + 'yy': [number + ' vorsanim', number + ' vorsam'] + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + + var gomLatn = moment.defineLocale('gom-latn', { + months : 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split('_'), + monthsShort : 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'), + monthsParseExact : true, + weekdays : 'Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son\'var'.split('_'), + weekdaysShort : 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'), + weekdaysMin : 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'A h:mm [vazta]', + LTS : 'A h:mm:ss [vazta]', + L : 'DD-MM-YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY A h:mm [vazta]', + LLLL : 'dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]', + llll: 'ddd, D MMM YYYY, A h:mm [vazta]' + }, + calendar : { + sameDay: '[Aiz] LT', + nextDay: '[Faleam] LT', + nextWeek: '[Ieta to] dddd[,] LT', + lastDay: '[Kal] LT', + lastWeek: '[Fatlo] dddd[,] LT', + sameElse: 'L' + }, + relativeTime : { + future : '%s', + past : '%s adim', + s : processRelativeTime, + m : processRelativeTime, + mm : processRelativeTime, + h : processRelativeTime, + hh : processRelativeTime, + d : processRelativeTime, + dd : processRelativeTime, + M : processRelativeTime, + MM : processRelativeTime, + y : processRelativeTime, + yy : processRelativeTime + }, + dayOfMonthOrdinalParse : /\d{1,2}(er)/, + ordinal : function (number, period) { + switch (period) { + // the ordinal 'er' only applies to day of the month + case 'D': + return number + 'er'; + default: + case 'M': + case 'Q': + case 'DDD': + case 'd': + case 'w': + case 'W': + return number; + } + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + }, + meridiemParse: /rati|sokalli|donparam|sanje/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'rati') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'sokalli') { + return hour; + } else if (meridiem === 'donparam') { + return hour > 12 ? hour : hour + 12; + } else if (meridiem === 'sanje') { + return hour + 12; } - }); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'rati'; + } else if (hour < 12) { + return 'sokalli'; + } else if (hour < 16) { + return 'donparam'; + } else if (hour < 20) { + return 'sanje'; + } else { + return 'rati'; + } + } + }); - return gl; + return gomLatn; - })); + }))); -/***/ }, -/* 438 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 450 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Hebrew [he] @@ -59292,590 +60895,595 @@ //! author : Tal Ater : https://github.com/TalAter ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var he = moment.defineLocale('he', { - months : 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'), - monthsShort : 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'), - weekdays : 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'), - weekdaysShort : 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'), - weekdaysMin : 'א_ב_ג_ד_ה_ו_ש'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D [ב]MMMM YYYY', - LLL : 'D [ב]MMMM YYYY HH:mm', - LLLL : 'dddd, D [ב]MMMM YYYY HH:mm', - l : 'D/M/YYYY', - ll : 'D MMM YYYY', - lll : 'D MMM YYYY HH:mm', - llll : 'ddd, D MMM YYYY HH:mm' - }, - calendar : { - sameDay : '[היום ב־]LT', - nextDay : '[מחר ב־]LT', - nextWeek : 'dddd [בשעה] LT', - lastDay : '[אתמול ב־]LT', - lastWeek : '[ביום] dddd [האחרון בשעה] LT', - sameElse : 'L' + }(this, (function (moment) { 'use strict'; + + + var he = moment.defineLocale('he', { + months : 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'), + monthsShort : 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'), + weekdays : 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'), + weekdaysShort : 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'), + weekdaysMin : 'א_ב_ג_ד_ה_ו_ש'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D [ב]MMMM YYYY', + LLL : 'D [ב]MMMM YYYY HH:mm', + LLLL : 'dddd, D [ב]MMMM YYYY HH:mm', + l : 'D/M/YYYY', + ll : 'D MMM YYYY', + lll : 'D MMM YYYY HH:mm', + llll : 'ddd, D MMM YYYY HH:mm' + }, + calendar : { + sameDay : '[היום ב־]LT', + nextDay : '[מחר ב־]LT', + nextWeek : 'dddd [בשעה] LT', + lastDay : '[אתמול ב־]LT', + lastWeek : '[ביום] dddd [האחרון בשעה] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'בעוד %s', + past : 'לפני %s', + s : 'מספר שניות', + m : 'דקה', + mm : '%d דקות', + h : 'שעה', + hh : function (number) { + if (number === 2) { + return 'שעתיים'; + } + return number + ' שעות'; }, - relativeTime : { - future : 'בעוד %s', - past : 'לפני %s', - s : 'מספר שניות', - m : 'דקה', - mm : '%d דקות', - h : 'שעה', - hh : function (number) { - if (number === 2) { - return 'שעתיים'; - } - return number + ' שעות'; - }, - d : 'יום', - dd : function (number) { - if (number === 2) { - return 'יומיים'; - } - return number + ' ימים'; - }, - M : 'חודש', - MM : function (number) { - if (number === 2) { - return 'חודשיים'; - } - return number + ' חודשים'; - }, - y : 'שנה', - yy : function (number) { - if (number === 2) { - return 'שנתיים'; - } else if (number % 10 === 0 && number !== 10) { - return number + ' שנה'; - } - return number + ' שנים'; + d : 'יום', + dd : function (number) { + if (number === 2) { + return 'יומיים'; } + return number + ' ימים'; }, - meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i, - isPM : function (input) { - return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input); + M : 'חודש', + MM : function (number) { + if (number === 2) { + return 'חודשיים'; + } + return number + ' חודשים'; }, - meridiem : function (hour, minute, isLower) { - if (hour < 5) { - return 'לפנות בוקר'; - } else if (hour < 10) { - return 'בבוקר'; - } else if (hour < 12) { - return isLower ? 'לפנה"צ' : 'לפני הצהריים'; - } else if (hour < 18) { - return isLower ? 'אחה"צ' : 'אחרי הצהריים'; - } else { - return 'בערב'; + y : 'שנה', + yy : function (number) { + if (number === 2) { + return 'שנתיים'; + } else if (number % 10 === 0 && number !== 10) { + return number + ' שנה'; } + return number + ' שנים'; } - }); + }, + meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i, + isPM : function (input) { + return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 5) { + return 'לפנות בוקר'; + } else if (hour < 10) { + return 'בבוקר'; + } else if (hour < 12) { + return isLower ? 'לפנה"צ' : 'לפני הצהריים'; + } else if (hour < 18) { + return isLower ? 'אחה"צ' : 'אחרי הצהריים'; + } else { + return 'בערב'; + } + } + }); - return he; + return he; - })); + }))); -/***/ }, -/* 439 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 451 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Hindi [hi] //! author : Mayank Singhal : https://github.com/mayanksinghal ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var symbolMap = { - '1': '१', - '2': '२', - '3': '३', - '4': '४', - '5': '५', - '6': '६', - '7': '७', - '8': '८', - '9': '९', - '0': '०' - }, - numberMap = { - '१': '1', - '२': '2', - '३': '3', - '४': '4', - '५': '5', - '६': '6', - '७': '7', - '८': '8', - '९': '9', - '०': '0' - }; - - var hi = moment.defineLocale('hi', { - months : 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split('_'), - monthsShort : 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'), - monthsParseExact: true, - weekdays : 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), - weekdaysShort : 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'), - weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'), - longDateFormat : { - LT : 'A h:mm बजे', - LTS : 'A h:mm:ss बजे', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY, A h:mm बजे', - LLLL : 'dddd, D MMMM YYYY, A h:mm बजे' - }, - calendar : { - sameDay : '[आज] LT', - nextDay : '[कल] LT', - nextWeek : 'dddd, LT', - lastDay : '[कल] LT', - lastWeek : '[पिछले] dddd, LT', - sameElse : 'L' - }, - relativeTime : { - future : '%s में', - past : '%s पहले', - s : 'कुछ ही क्षण', - m : 'एक मिनट', - mm : '%d मिनट', - h : 'एक घंटा', - hh : '%d घंटे', - d : 'एक दिन', - dd : '%d दिन', - M : 'एक महीने', - MM : '%d महीने', - y : 'एक वर्ष', - yy : '%d वर्ष' - }, - preparse: function (string) { - return string.replace(/[१२३४५६७८९०]/g, function (match) { - return numberMap[match]; - }); - }, - postformat: function (string) { - return string.replace(/\d/g, function (match) { - return symbolMap[match]; - }); - }, - // Hindi notation for meridiems are quite fuzzy in practice. While there exists - // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi. - meridiemParse: /रात|सुबह|दोपहर|शाम/, - meridiemHour : function (hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if (meridiem === 'रात') { - return hour < 4 ? hour : hour + 12; - } else if (meridiem === 'सुबह') { - return hour; - } else if (meridiem === 'दोपहर') { - return hour >= 10 ? hour : hour + 12; - } else if (meridiem === 'शाम') { - return hour + 12; - } - }, - meridiem : function (hour, minute, isLower) { - if (hour < 4) { - return 'रात'; - } else if (hour < 10) { - return 'सुबह'; - } else if (hour < 17) { - return 'दोपहर'; - } else if (hour < 20) { - return 'शाम'; - } else { - return 'रात'; - } - }, - week : { - dow : 0, // Sunday is the first day of the week. - doy : 6 // The week that contains Jan 1st is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var symbolMap = { + '1': '१', + '2': '२', + '3': '३', + '4': '४', + '5': '५', + '6': '६', + '7': '७', + '8': '८', + '9': '९', + '0': '०' + }; + var numberMap = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0' + }; + + var hi = moment.defineLocale('hi', { + months : 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split('_'), + monthsShort : 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'), + monthsParseExact: true, + weekdays : 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + weekdaysShort : 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'), + weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'), + longDateFormat : { + LT : 'A h:mm बजे', + LTS : 'A h:mm:ss बजे', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, A h:mm बजे', + LLLL : 'dddd, D MMMM YYYY, A h:mm बजे' + }, + calendar : { + sameDay : '[आज] LT', + nextDay : '[कल] LT', + nextWeek : 'dddd, LT', + lastDay : '[कल] LT', + lastWeek : '[पिछले] dddd, LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s में', + past : '%s पहले', + s : 'कुछ ही क्षण', + m : 'एक मिनट', + mm : '%d मिनट', + h : 'एक घंटा', + hh : '%d घंटे', + d : 'एक दिन', + dd : '%d दिन', + M : 'एक महीने', + MM : '%d महीने', + y : 'एक वर्ष', + yy : '%d वर्ष' + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // Hindi notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi. + meridiemParse: /रात|सुबह|दोपहर|शाम/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'रात') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'सुबह') { + return hour; + } else if (meridiem === 'दोपहर') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'शाम') { + return hour + 12; } - }); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'रात'; + } else if (hour < 10) { + return 'सुबह'; + } else if (hour < 17) { + return 'दोपहर'; + } else if (hour < 20) { + return 'शाम'; + } else { + return 'रात'; + } + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); - return hi; + return hi; - })); + }))); -/***/ }, -/* 440 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 452 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Croatian [hr] //! author : Bojan Marković : https://github.com/bmarkovic ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - function translate(number, withoutSuffix, key) { - var result = number + ' '; - switch (key) { - case 'm': - return withoutSuffix ? 'jedna minuta' : 'jedne minute'; - case 'mm': - if (number === 1) { - result += 'minuta'; - } else if (number === 2 || number === 3 || number === 4) { - result += 'minute'; - } else { - result += 'minuta'; - } - return result; - case 'h': - return withoutSuffix ? 'jedan sat' : 'jednog sata'; - case 'hh': - if (number === 1) { - result += 'sat'; - } else if (number === 2 || number === 3 || number === 4) { - result += 'sata'; - } else { - result += 'sati'; - } - return result; - case 'dd': - if (number === 1) { - result += 'dan'; - } else { - result += 'dana'; - } - return result; - case 'MM': - if (number === 1) { - result += 'mjesec'; - } else if (number === 2 || number === 3 || number === 4) { - result += 'mjeseca'; - } else { - result += 'mjeseci'; - } - return result; - case 'yy': - if (number === 1) { - result += 'godina'; - } else if (number === 2 || number === 3 || number === 4) { - result += 'godine'; - } else { - result += 'godina'; - } - return result; - } + function translate(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'm': + return withoutSuffix ? 'jedna minuta' : 'jedne minute'; + case 'mm': + if (number === 1) { + result += 'minuta'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'minute'; + } else { + result += 'minuta'; + } + return result; + case 'h': + return withoutSuffix ? 'jedan sat' : 'jednog sata'; + case 'hh': + if (number === 1) { + result += 'sat'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sata'; + } else { + result += 'sati'; + } + return result; + case 'dd': + if (number === 1) { + result += 'dan'; + } else { + result += 'dana'; + } + return result; + case 'MM': + if (number === 1) { + result += 'mjesec'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'mjeseca'; + } else { + result += 'mjeseci'; + } + return result; + case 'yy': + if (number === 1) { + result += 'godina'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'godine'; + } else { + result += 'godina'; + } + return result; } + } - var hr = moment.defineLocale('hr', { - months : { - format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split('_'), - standalone: 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_') - }, - monthsShort : 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'), - monthsParseExact: true, - weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), - weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), - weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'H:mm', - LTS : 'H:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D. MMMM YYYY', - LLL : 'D. MMMM YYYY H:mm', - LLLL : 'dddd, D. MMMM YYYY H:mm' - }, - calendar : { - sameDay : '[danas u] LT', - nextDay : '[sutra u] LT', - nextWeek : function () { - switch (this.day()) { - case 0: - return '[u] [nedjelju] [u] LT'; - case 3: - return '[u] [srijedu] [u] LT'; - case 6: - return '[u] [subotu] [u] LT'; - case 1: - case 2: - case 4: - case 5: - return '[u] dddd [u] LT'; - } - }, - lastDay : '[jučer u] LT', - lastWeek : function () { - switch (this.day()) { - case 0: - case 3: - return '[prošlu] dddd [u] LT'; - case 6: - return '[prošle] [subote] [u] LT'; - case 1: - case 2: - case 4: - case 5: - return '[prošli] dddd [u] LT'; - } - }, - sameElse : 'L' + var hr = moment.defineLocale('hr', { + months : { + format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split('_'), + standalone: 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_') + }, + monthsShort : 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'), + monthsParseExact: true, + weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), + weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY H:mm', + LLLL : 'dddd, D. MMMM YYYY H:mm' + }, + calendar : { + sameDay : '[danas u] LT', + nextDay : '[sutra u] LT', + nextWeek : function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } }, - relativeTime : { - future : 'za %s', - past : 'prije %s', - s : 'par sekundi', - m : translate, - mm : translate, - h : translate, - hh : translate, - d : 'dan', - dd : translate, - M : 'mjesec', - MM : translate, - y : 'godinu', - yy : translate + lastDay : '[jučer u] LT', + lastWeek : function () { + switch (this.day()) { + case 0: + case 3: + return '[prošlu] dddd [u] LT'; + case 6: + return '[prošle] [subote] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prošli] dddd [u] LT'; + } }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. - } - }); + sameElse : 'L' + }, + relativeTime : { + future : 'za %s', + past : 'prije %s', + s : 'par sekundi', + m : translate, + mm : translate, + h : translate, + hh : translate, + d : 'dan', + dd : translate, + M : 'mjesec', + MM : translate, + y : 'godinu', + yy : translate + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return hr; + return hr; - })); + }))); -/***/ }, -/* 441 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 453 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Hungarian [hu] //! author : Adam Brunner : https://github.com/adambrunner ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' '); - function translate(number, withoutSuffix, key, isFuture) { - var num = number, - suffix; - switch (key) { - case 's': - return (isFuture || withoutSuffix) ? 'néhány másodperc' : 'néhány másodperce'; - case 'm': - return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce'); - case 'mm': - return num + (isFuture || withoutSuffix ? ' perc' : ' perce'); - case 'h': - return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája'); - case 'hh': - return num + (isFuture || withoutSuffix ? ' óra' : ' órája'); - case 'd': - return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja'); - case 'dd': - return num + (isFuture || withoutSuffix ? ' nap' : ' napja'); - case 'M': - return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); - case 'MM': - return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); - case 'y': - return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve'); - case 'yy': - return num + (isFuture || withoutSuffix ? ' év' : ' éve'); - } - return ''; + }(this, (function (moment) { 'use strict'; + + + var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' '); + function translate(number, withoutSuffix, key, isFuture) { + var num = number, + suffix; + switch (key) { + case 's': + return (isFuture || withoutSuffix) ? 'néhány másodperc' : 'néhány másodperce'; + case 'm': + return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce'); + case 'mm': + return num + (isFuture || withoutSuffix ? ' perc' : ' perce'); + case 'h': + return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája'); + case 'hh': + return num + (isFuture || withoutSuffix ? ' óra' : ' órája'); + case 'd': + return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja'); + case 'dd': + return num + (isFuture || withoutSuffix ? ' nap' : ' napja'); + case 'M': + return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); + case 'MM': + return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); + case 'y': + return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve'); + case 'yy': + return num + (isFuture || withoutSuffix ? ' év' : ' éve'); } - function week(isFuture) { - return (isFuture ? '' : '[múlt] ') + '[' + weekEndings[this.day()] + '] LT[-kor]'; - } - - var hu = moment.defineLocale('hu', { - months : 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'), - monthsShort : 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'), - weekdays : 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'), - weekdaysShort : 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'), - weekdaysMin : 'v_h_k_sze_cs_p_szo'.split('_'), - longDateFormat : { - LT : 'H:mm', - LTS : 'H:mm:ss', - L : 'YYYY.MM.DD.', - LL : 'YYYY. MMMM D.', - LLL : 'YYYY. MMMM D. H:mm', - LLLL : 'YYYY. MMMM D., dddd H:mm' - }, - meridiemParse: /de|du/i, - isPM: function (input) { - return input.charAt(1).toLowerCase() === 'u'; - }, - meridiem : function (hours, minutes, isLower) { - if (hours < 12) { - return isLower === true ? 'de' : 'DE'; - } else { - return isLower === true ? 'du' : 'DU'; - } - }, - calendar : { - sameDay : '[ma] LT[-kor]', - nextDay : '[holnap] LT[-kor]', - nextWeek : function () { - return week.call(this, true); - }, - lastDay : '[tegnap] LT[-kor]', - lastWeek : function () { - return week.call(this, false); - }, - sameElse : 'L' + return ''; + } + function week(isFuture) { + return (isFuture ? '' : '[múlt] ') + '[' + weekEndings[this.day()] + '] LT[-kor]'; + } + + var hu = moment.defineLocale('hu', { + months : 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'), + monthsShort : 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'), + weekdays : 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'), + weekdaysShort : 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'), + weekdaysMin : 'v_h_k_sze_cs_p_szo'.split('_'), + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'YYYY.MM.DD.', + LL : 'YYYY. MMMM D.', + LLL : 'YYYY. MMMM D. H:mm', + LLLL : 'YYYY. MMMM D., dddd H:mm' + }, + meridiemParse: /de|du/i, + isPM: function (input) { + return input.charAt(1).toLowerCase() === 'u'; + }, + meridiem : function (hours, minutes, isLower) { + if (hours < 12) { + return isLower === true ? 'de' : 'DE'; + } else { + return isLower === true ? 'du' : 'DU'; + } + }, + calendar : { + sameDay : '[ma] LT[-kor]', + nextDay : '[holnap] LT[-kor]', + nextWeek : function () { + return week.call(this, true); }, - relativeTime : { - future : '%s múlva', - past : '%s', - s : translate, - m : translate, - mm : translate, - h : translate, - hh : translate, - d : translate, - dd : translate, - M : translate, - MM : translate, - y : translate, - yy : translate + lastDay : '[tegnap] LT[-kor]', + lastWeek : function () { + return week.call(this, false); }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. - } - }); + sameElse : 'L' + }, + relativeTime : { + future : '%s múlva', + past : '%s', + s : translate, + m : translate, + mm : translate, + h : translate, + hh : translate, + d : translate, + dd : translate, + M : translate, + MM : translate, + y : translate, + yy : translate + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return hu; + return hu; - })); + }))); -/***/ }, -/* 442 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 454 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Armenian [hy-am] //! author : Armendarabyan : https://github.com/armendarabyan ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - var hy_am = moment.defineLocale('hy-am', { - months : { - format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_'), - standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split('_') - }, - monthsShort : 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'), - weekdays : 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_'), - weekdaysShort : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), - weekdaysMin : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D MMMM YYYY թ.', - LLL : 'D MMMM YYYY թ., HH:mm', - LLLL : 'dddd, D MMMM YYYY թ., HH:mm' - }, - calendar : { - sameDay: '[այսօր] LT', - nextDay: '[վաղը] LT', - lastDay: '[երեկ] LT', - nextWeek: function () { - return 'dddd [օրը ժամը] LT'; - }, - lastWeek: function () { - return '[անցած] dddd [օրը ժամը] LT'; - }, - sameElse: 'L' - }, - relativeTime : { - future : '%s հետո', - past : '%s առաջ', - s : 'մի քանի վայրկյան', - m : 'րոպե', - mm : '%d րոպե', - h : 'ժամ', - hh : '%d ժամ', - d : 'օր', - dd : '%d օր', - M : 'ամիս', - MM : '%d ամիս', - y : 'տարի', - yy : '%d տարի' - }, - meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/, - isPM: function (input) { - return /^(ցերեկվա|երեկոյան)$/.test(input); - }, - meridiem : function (hour) { - if (hour < 4) { - return 'գիշերվա'; - } else if (hour < 12) { - return 'առավոտվա'; - } else if (hour < 17) { - return 'ցերեկվա'; - } else { - return 'երեկոյան'; - } + var hyAm = moment.defineLocale('hy-am', { + months : { + format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_'), + standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split('_') + }, + monthsShort : 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'), + weekdays : 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_'), + weekdaysShort : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + weekdaysMin : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY թ.', + LLL : 'D MMMM YYYY թ., HH:mm', + LLLL : 'dddd, D MMMM YYYY թ., HH:mm' + }, + calendar : { + sameDay: '[այսօր] LT', + nextDay: '[վաղը] LT', + lastDay: '[երեկ] LT', + nextWeek: function () { + return 'dddd [օրը ժամը] LT'; }, - ordinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/, - ordinal: function (number, period) { - switch (period) { - case 'DDD': - case 'w': - case 'W': - case 'DDDo': - if (number === 1) { - return number + '-ին'; - } - return number + '-րդ'; - default: - return number; - } + lastWeek: function () { + return '[անցած] dddd [օրը ժամը] LT'; }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. + sameElse: 'L' + }, + relativeTime : { + future : '%s հետո', + past : '%s առաջ', + s : 'մի քանի վայրկյան', + m : 'րոպե', + mm : '%d րոպե', + h : 'ժամ', + hh : '%d ժամ', + d : 'օր', + dd : '%d օր', + M : 'ամիս', + MM : '%d ամիս', + y : 'տարի', + yy : '%d տարի' + }, + meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/, + isPM: function (input) { + return /^(ցերեկվա|երեկոյան)$/.test(input); + }, + meridiem : function (hour) { + if (hour < 4) { + return 'գիշերվա'; + } else if (hour < 12) { + return 'առավոտվա'; + } else if (hour < 17) { + return 'ցերեկվա'; + } else { + return 'երեկոյան'; } - }); + }, + dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/, + ordinal: function (number, period) { + switch (period) { + case 'DDD': + case 'w': + case 'W': + case 'DDDo': + if (number === 1) { + return number + '-ին'; + } + return number + '-րդ'; + default: + return number; + } + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return hy_am; + return hyAm; - })); + }))); -/***/ }, -/* 443 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 455 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Indonesian [id] @@ -59883,217 +61491,219 @@ //! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var id = moment.defineLocale('id', { - months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'), - monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des'.split('_'), - weekdays : 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'), - weekdaysShort : 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'), - weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'), - longDateFormat : { - LT : 'HH.mm', - LTS : 'HH.mm.ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY [pukul] HH.mm', - LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' - }, - meridiemParse: /pagi|siang|sore|malam/, - meridiemHour : function (hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if (meridiem === 'pagi') { - return hour; - } else if (meridiem === 'siang') { - return hour >= 11 ? hour : hour + 12; - } else if (meridiem === 'sore' || meridiem === 'malam') { - return hour + 12; - } - }, - meridiem : function (hours, minutes, isLower) { - if (hours < 11) { - return 'pagi'; - } else if (hours < 15) { - return 'siang'; - } else if (hours < 19) { - return 'sore'; - } else { - return 'malam'; - } - }, - calendar : { - sameDay : '[Hari ini pukul] LT', - nextDay : '[Besok pukul] LT', - nextWeek : 'dddd [pukul] LT', - lastDay : '[Kemarin pukul] LT', - lastWeek : 'dddd [lalu pukul] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'dalam %s', - past : '%s yang lalu', - s : 'beberapa detik', - m : 'semenit', - mm : '%d menit', - h : 'sejam', - hh : '%d jam', - d : 'sehari', - dd : '%d hari', - M : 'sebulan', - MM : '%d bulan', - y : 'setahun', - yy : '%d tahun' - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var id = moment.defineLocale('id', { + months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'), + monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des'.split('_'), + weekdays : 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'), + weekdaysShort : 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'), + weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat : { + LT : 'HH.mm', + LTS : 'HH.mm.ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY [pukul] HH.mm', + LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' + }, + meridiemParse: /pagi|siang|sore|malam/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; } - }); + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'siang') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'sore' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem : function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'siang'; + } else if (hours < 19) { + return 'sore'; + } else { + return 'malam'; + } + }, + calendar : { + sameDay : '[Hari ini pukul] LT', + nextDay : '[Besok pukul] LT', + nextWeek : 'dddd [pukul] LT', + lastDay : '[Kemarin pukul] LT', + lastWeek : 'dddd [lalu pukul] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'dalam %s', + past : '%s yang lalu', + s : 'beberapa detik', + m : 'semenit', + mm : '%d menit', + h : 'sejam', + hh : '%d jam', + d : 'sehari', + dd : '%d hari', + M : 'sebulan', + MM : '%d bulan', + y : 'setahun', + yy : '%d tahun' + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return id; + return id; - })); + }))); -/***/ }, -/* 444 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 456 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Icelandic [is] //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - function plural(n) { - if (n % 100 === 11) { - return true; - } else if (n % 10 === 1) { - return false; - } + function plural(n) { + if (n % 100 === 11) { return true; + } else if (n % 10 === 1) { + return false; } - function translate(number, withoutSuffix, key, isFuture) { - var result = number + ' '; - switch (key) { - case 's': - return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum'; - case 'm': - return withoutSuffix ? 'mínúta' : 'mínútu'; - case 'mm': - if (plural(number)) { - return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum'); - } else if (withoutSuffix) { - return result + 'mínúta'; - } - return result + 'mínútu'; - case 'hh': - if (plural(number)) { - return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum'); - } - return result + 'klukkustund'; - case 'd': + return true; + } + function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': + return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum'; + case 'm': + return withoutSuffix ? 'mínúta' : 'mínútu'; + case 'mm': + if (plural(number)) { + return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum'); + } else if (withoutSuffix) { + return result + 'mínúta'; + } + return result + 'mínútu'; + case 'hh': + if (plural(number)) { + return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum'); + } + return result + 'klukkustund'; + case 'd': + if (withoutSuffix) { + return 'dagur'; + } + return isFuture ? 'dag' : 'degi'; + case 'dd': + if (plural(number)) { if (withoutSuffix) { - return 'dagur'; - } - return isFuture ? 'dag' : 'degi'; - case 'dd': - if (plural(number)) { - if (withoutSuffix) { - return result + 'dagar'; - } - return result + (isFuture ? 'daga' : 'dögum'); - } else if (withoutSuffix) { - return result + 'dagur'; + return result + 'dagar'; } - return result + (isFuture ? 'dag' : 'degi'); - case 'M': + return result + (isFuture ? 'daga' : 'dögum'); + } else if (withoutSuffix) { + return result + 'dagur'; + } + return result + (isFuture ? 'dag' : 'degi'); + case 'M': + if (withoutSuffix) { + return 'mánuður'; + } + return isFuture ? 'mánuð' : 'mánuði'; + case 'MM': + if (plural(number)) { if (withoutSuffix) { - return 'mánuður'; + return result + 'mánuðir'; } - return isFuture ? 'mánuð' : 'mánuði'; - case 'MM': - if (plural(number)) { - if (withoutSuffix) { - return result + 'mánuðir'; - } - return result + (isFuture ? 'mánuði' : 'mánuðum'); - } else if (withoutSuffix) { - return result + 'mánuður'; - } - return result + (isFuture ? 'mánuð' : 'mánuði'); - case 'y': - return withoutSuffix || isFuture ? 'ár' : 'ári'; - case 'yy': - if (plural(number)) { - return result + (withoutSuffix || isFuture ? 'ár' : 'árum'); - } - return result + (withoutSuffix || isFuture ? 'ár' : 'ári'); - } - } - - var is = moment.defineLocale('is', { - months : 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'), - monthsShort : 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'), - weekdays : 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'), - weekdaysShort : 'sun_mán_þri_mið_fim_fös_lau'.split('_'), - weekdaysMin : 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'), - longDateFormat : { - LT : 'H:mm', - LTS : 'H:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D. MMMM YYYY', - LLL : 'D. MMMM YYYY [kl.] H:mm', - LLLL : 'dddd, D. MMMM YYYY [kl.] H:mm' - }, - calendar : { - sameDay : '[í dag kl.] LT', - nextDay : '[á morgun kl.] LT', - nextWeek : 'dddd [kl.] LT', - lastDay : '[í gær kl.] LT', - lastWeek : '[síðasta] dddd [kl.] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'eftir %s', - past : 'fyrir %s síðan', - s : translate, - m : translate, - mm : translate, - h : 'klukkustund', - hh : translate, - d : translate, - dd : translate, - M : translate, - MM : translate, - y : translate, - yy : translate - }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + return result + (isFuture ? 'mánuði' : 'mánuðum'); + } else if (withoutSuffix) { + return result + 'mánuður'; + } + return result + (isFuture ? 'mánuð' : 'mánuði'); + case 'y': + return withoutSuffix || isFuture ? 'ár' : 'ári'; + case 'yy': + if (plural(number)) { + return result + (withoutSuffix || isFuture ? 'ár' : 'árum'); + } + return result + (withoutSuffix || isFuture ? 'ár' : 'ári'); + } + } + + var is = moment.defineLocale('is', { + months : 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'), + monthsShort : 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'), + weekdays : 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'), + weekdaysShort : 'sun_mán_þri_mið_fim_fös_lau'.split('_'), + weekdaysMin : 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'), + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY [kl.] H:mm', + LLLL : 'dddd, D. MMMM YYYY [kl.] H:mm' + }, + calendar : { + sameDay : '[í dag kl.] LT', + nextDay : '[á morgun kl.] LT', + nextWeek : 'dddd [kl.] LT', + lastDay : '[í gær kl.] LT', + lastWeek : '[síðasta] dddd [kl.] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'eftir %s', + past : 'fyrir %s síðan', + s : translate, + m : translate, + mm : translate, + h : 'klukkustund', + hh : translate, + d : translate, + dd : translate, + M : translate, + MM : translate, + y : translate, + yy : translate + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return is; + return is; - })); + }))); -/***/ }, -/* 445 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 457 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Italian [it] @@ -60101,486 +61711,627 @@ //! author: Mattia Larentis: https://github.com/nostalgiaz ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var it = moment.defineLocale('it', { - months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'), - monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), - weekdays : 'Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato'.split('_'), - weekdaysShort : 'Dom_Lun_Mar_Mer_Gio_Ven_Sab'.split('_'), - weekdaysMin : 'Do_Lu_Ma_Me_Gi_Ve_Sa'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd, D MMMM YYYY HH:mm' - }, - calendar : { - sameDay: '[Oggi alle] LT', - nextDay: '[Domani alle] LT', - nextWeek: 'dddd [alle] LT', - lastDay: '[Ieri alle] LT', - lastWeek: function () { - switch (this.day()) { - case 0: - return '[la scorsa] dddd [alle] LT'; - default: - return '[lo scorso] dddd [alle] LT'; - } - }, - sameElse: 'L' + }(this, (function (moment) { 'use strict'; + + + var it = moment.defineLocale('it', { + months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'), + monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), + weekdays : 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'), + weekdaysShort : 'dom_lun_mar_mer_gio_ven_sab'.split('_'), + weekdaysMin : 'do_lu_ma_me_gi_ve_sa'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[Oggi alle] LT', + nextDay: '[Domani alle] LT', + nextWeek: 'dddd [alle] LT', + lastDay: '[Ieri alle] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[la scorsa] dddd [alle] LT'; + default: + return '[lo scorso] dddd [alle] LT'; + } }, - relativeTime : { - future : function (s) { - return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s; - }, - past : '%s fa', - s : 'alcuni secondi', - m : 'un minuto', - mm : '%d minuti', - h : 'un\'ora', - hh : '%d ore', - d : 'un giorno', - dd : '%d giorni', - M : 'un mese', - MM : '%d mesi', - y : 'un anno', - yy : '%d anni' + sameElse: 'L' + }, + relativeTime : { + future : function (s) { + return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s; }, - ordinalParse : /\d{1,2}º/, - ordinal: '%dº', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + past : '%s fa', + s : 'alcuni secondi', + m : 'un minuto', + mm : '%d minuti', + h : 'un\'ora', + hh : '%d ore', + d : 'un giorno', + dd : '%d giorni', + M : 'un mese', + MM : '%d mesi', + y : 'un anno', + yy : '%d anni' + }, + dayOfMonthOrdinalParse : /\d{1,2}º/, + ordinal: '%dº', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return it; + return it; - })); + }))); -/***/ }, -/* 446 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 458 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Japanese [ja] //! author : LI Long : https://github.com/baryon ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var ja = moment.defineLocale('ja', { - months : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), - monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), - weekdays : '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'), - weekdaysShort : '日_月_火_水_木_金_土'.split('_'), - weekdaysMin : '日_月_火_水_木_金_土'.split('_'), - longDateFormat : { - LT : 'Ah時m分', - LTS : 'Ah時m分s秒', - L : 'YYYY/MM/DD', - LL : 'YYYY年M月D日', - LLL : 'YYYY年M月D日Ah時m分', - LLLL : 'YYYY年M月D日Ah時m分 dddd' - }, - meridiemParse: /午前|午後/i, - isPM : function (input) { - return input === '午後'; - }, - meridiem : function (hour, minute, isLower) { - if (hour < 12) { - return '午前'; - } else { - return '午後'; - } - }, - calendar : { - sameDay : '[今日] LT', - nextDay : '[明日] LT', - nextWeek : '[来週]dddd LT', - lastDay : '[昨日] LT', - lastWeek : '[前週]dddd LT', - sameElse : 'L' - }, - ordinalParse : /\d{1,2}日/, - ordinal : function (number, period) { - switch (period) { - case 'd': - case 'D': - case 'DDD': - return number + '日'; - default: - return number; - } - }, - relativeTime : { - future : '%s後', - past : '%s前', - s : '数秒', - m : '1分', - mm : '%d分', - h : '1時間', - hh : '%d時間', - d : '1日', - dd : '%d日', - M : '1ヶ月', - MM : '%dヶ月', - y : '1年', - yy : '%d年' + }(this, (function (moment) { 'use strict'; + + + var ja = moment.defineLocale('ja', { + months : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + weekdays : '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'), + weekdaysShort : '日_月_火_水_木_金_土'.split('_'), + weekdaysMin : '日_月_火_水_木_金_土'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'YYYY/MM/DD', + LL : 'YYYY年M月D日', + LLL : 'YYYY年M月D日 HH:mm', + LLLL : 'YYYY年M月D日 HH:mm dddd', + l : 'YYYY/MM/DD', + ll : 'YYYY年M月D日', + lll : 'YYYY年M月D日 HH:mm', + llll : 'YYYY年M月D日 HH:mm dddd' + }, + meridiemParse: /午前|午後/i, + isPM : function (input) { + return input === '午後'; + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return '午前'; + } else { + return '午後'; } - }); + }, + calendar : { + sameDay : '[今日] LT', + nextDay : '[明日] LT', + nextWeek : '[来週]dddd LT', + lastDay : '[昨日] LT', + lastWeek : '[前週]dddd LT', + sameElse : 'L' + }, + dayOfMonthOrdinalParse : /\d{1,2}日/, + ordinal : function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + default: + return number; + } + }, + relativeTime : { + future : '%s後', + past : '%s前', + s : '数秒', + m : '1分', + mm : '%d分', + h : '1時間', + hh : '%d時間', + d : '1日', + dd : '%d日', + M : '1ヶ月', + MM : '%dヶ月', + y : '1年', + yy : '%d年' + } + }); - return ja; + return ja; - })); + }))); -/***/ }, -/* 447 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 459 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration - //! locale : Japanese [jv] + //! locale : Javanese [jv] //! author : Rony Lantip : https://github.com/lantip //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var jv = moment.defineLocale('jv', { - months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'), - monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'), - weekdays : 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'), - weekdaysShort : 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'), - weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'), - longDateFormat : { - LT : 'HH.mm', - LTS : 'HH.mm.ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY [pukul] HH.mm', - LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' - }, - meridiemParse: /enjing|siyang|sonten|ndalu/, - meridiemHour : function (hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if (meridiem === 'enjing') { - return hour; - } else if (meridiem === 'siyang') { - return hour >= 11 ? hour : hour + 12; - } else if (meridiem === 'sonten' || meridiem === 'ndalu') { - return hour + 12; - } - }, - meridiem : function (hours, minutes, isLower) { - if (hours < 11) { - return 'enjing'; - } else if (hours < 15) { - return 'siyang'; - } else if (hours < 19) { - return 'sonten'; - } else { - return 'ndalu'; - } - }, - calendar : { - sameDay : '[Dinten puniko pukul] LT', - nextDay : '[Mbenjang pukul] LT', - nextWeek : 'dddd [pukul] LT', - lastDay : '[Kala wingi pukul] LT', - lastWeek : 'dddd [kepengker pukul] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'wonten ing %s', - past : '%s ingkang kepengker', - s : 'sawetawis detik', - m : 'setunggal menit', - mm : '%d menit', - h : 'setunggal jam', - hh : '%d jam', - d : 'sedinten', - dd : '%d dinten', - M : 'sewulan', - MM : '%d wulan', - y : 'setaun', - yy : '%d taun' - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var jv = moment.defineLocale('jv', { + months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'), + monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'), + weekdays : 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'), + weekdaysShort : 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'), + weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'), + longDateFormat : { + LT : 'HH.mm', + LTS : 'HH.mm.ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY [pukul] HH.mm', + LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' + }, + meridiemParse: /enjing|siyang|sonten|ndalu/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; } - }); + if (meridiem === 'enjing') { + return hour; + } else if (meridiem === 'siyang') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'sonten' || meridiem === 'ndalu') { + return hour + 12; + } + }, + meridiem : function (hours, minutes, isLower) { + if (hours < 11) { + return 'enjing'; + } else if (hours < 15) { + return 'siyang'; + } else if (hours < 19) { + return 'sonten'; + } else { + return 'ndalu'; + } + }, + calendar : { + sameDay : '[Dinten puniko pukul] LT', + nextDay : '[Mbenjang pukul] LT', + nextWeek : 'dddd [pukul] LT', + lastDay : '[Kala wingi pukul] LT', + lastWeek : 'dddd [kepengker pukul] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'wonten ing %s', + past : '%s ingkang kepengker', + s : 'sawetawis detik', + m : 'setunggal menit', + mm : '%d menit', + h : 'setunggal jam', + hh : '%d jam', + d : 'sedinten', + dd : '%d dinten', + M : 'sewulan', + MM : '%d wulan', + y : 'setaun', + yy : '%d taun' + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return jv; + return jv; - })); + }))); -/***/ }, -/* 448 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 460 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Georgian [ka] //! author : Irakli Janiashvili : https://github.com/irakli-janiashvili ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - var ka = moment.defineLocale('ka', { - months : { - standalone: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'), - format: 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_') - }, - monthsShort : 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'), - weekdays : { - standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'), - format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'), - isFormat: /(წინა|შემდეგ)/ - }, - weekdaysShort : 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'), - weekdaysMin : 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'), - longDateFormat : { - LT : 'h:mm A', - LTS : 'h:mm:ss A', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY h:mm A', - LLLL : 'dddd, D MMMM YYYY h:mm A' - }, - calendar : { - sameDay : '[დღეს] LT[-ზე]', - nextDay : '[ხვალ] LT[-ზე]', - lastDay : '[გუშინ] LT[-ზე]', - nextWeek : '[შემდეგ] dddd LT[-ზე]', - lastWeek : '[წინა] dddd LT-ზე', - sameElse : 'L' - }, - relativeTime : { - future : function (s) { - return (/(წამი|წუთი|საათი|წელი)/).test(s) ? - s.replace(/ი$/, 'ში') : - s + 'ში'; - }, - past : function (s) { - if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) { - return s.replace(/(ი|ე)$/, 'ის წინ'); - } - if ((/წელი/).test(s)) { - return s.replace(/წელი$/, 'წლის წინ'); - } - }, - s : 'რამდენიმე წამი', - m : 'წუთი', - mm : '%d წუთი', - h : 'საათი', - hh : '%d საათი', - d : 'დღე', - dd : '%d დღე', - M : 'თვე', - MM : '%d თვე', - y : 'წელი', - yy : '%d წელი' + var ka = moment.defineLocale('ka', { + months : { + standalone: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'), + format: 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_') + }, + monthsShort : 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'), + weekdays : { + standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'), + format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'), + isFormat: /(წინა|შემდეგ)/ + }, + weekdaysShort : 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'), + weekdaysMin : 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'), + longDateFormat : { + LT : 'h:mm A', + LTS : 'h:mm:ss A', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY h:mm A', + LLLL : 'dddd, D MMMM YYYY h:mm A' + }, + calendar : { + sameDay : '[დღეს] LT[-ზე]', + nextDay : '[ხვალ] LT[-ზე]', + lastDay : '[გუშინ] LT[-ზე]', + nextWeek : '[შემდეგ] dddd LT[-ზე]', + lastWeek : '[წინა] dddd LT-ზე', + sameElse : 'L' + }, + relativeTime : { + future : function (s) { + return (/(წამი|წუთი|საათი|წელი)/).test(s) ? + s.replace(/ი$/, 'ში') : + s + 'ში'; }, - ordinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/, - ordinal : function (number) { - if (number === 0) { - return number; + past : function (s) { + if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) { + return s.replace(/(ი|ე)$/, 'ის უკან'); } - if (number === 1) { - return number + '-ლი'; - } - if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) { - return 'მე-' + number; + if ((/წელი/).test(s)) { + return s.replace(/წელი$/, 'წლის უკან'); } - return number + '-ე'; }, - week : { - dow : 1, - doy : 7 + s : 'რამდენიმე წამი', + m : 'წუთი', + mm : '%d წუთი', + h : 'საათი', + hh : '%d საათი', + d : 'დღე', + dd : '%d დღე', + M : 'თვე', + MM : '%d თვე', + y : 'წელი', + yy : '%d წელი' + }, + dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/, + ordinal : function (number) { + if (number === 0) { + return number; } - }); + if (number === 1) { + return number + '-ლი'; + } + if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) { + return 'მე-' + number; + } + return number + '-ე'; + }, + week : { + dow : 1, + doy : 7 + } + }); - return ka; + return ka; - })); + }))); -/***/ }, -/* 449 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 461 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Kazakh [kk] //! authors : Nurlan Rakhimzhanov : https://github.com/nurlan ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var suffixes = { - 0: '-ші', - 1: '-ші', - 2: '-ші', - 3: '-ші', - 4: '-ші', - 5: '-ші', - 6: '-шы', - 7: '-ші', - 8: '-ші', - 9: '-шы', - 10: '-шы', - 20: '-шы', - 30: '-шы', - 40: '-шы', - 50: '-ші', - 60: '-шы', - 70: '-ші', - 80: '-ші', - 90: '-шы', - 100: '-ші' - }; - - var kk = moment.defineLocale('kk', { - months : 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'), - monthsShort : 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'), - weekdays : 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'), - weekdaysShort : 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'), - weekdaysMin : 'жк_дй_сй_ср_бй_жм_сн'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd, D MMMM YYYY HH:mm' - }, - calendar : { - sameDay : '[Бүгін сағат] LT', - nextDay : '[Ертең сағат] LT', - nextWeek : 'dddd [сағат] LT', - lastDay : '[Кеше сағат] LT', - lastWeek : '[Өткен аптаның] dddd [сағат] LT', - sameElse : 'L' - }, - relativeTime : { - future : '%s ішінде', - past : '%s бұрын', - s : 'бірнеше секунд', - m : 'бір минут', - mm : '%d минут', - h : 'бір сағат', - hh : '%d сағат', - d : 'бір күн', - dd : '%d күн', - M : 'бір ай', - MM : '%d ай', - y : 'бір жыл', - yy : '%d жыл' - }, - ordinalParse: /\d{1,2}-(ші|шы)/, - ordinal : function (number) { - var a = number % 10, - b = number >= 100 ? 100 : null; - return number + (suffixes[number] || suffixes[a] || suffixes[b]); - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var suffixes = { + 0: '-ші', + 1: '-ші', + 2: '-ші', + 3: '-ші', + 4: '-ші', + 5: '-ші', + 6: '-шы', + 7: '-ші', + 8: '-ші', + 9: '-шы', + 10: '-шы', + 20: '-шы', + 30: '-шы', + 40: '-шы', + 50: '-ші', + 60: '-шы', + 70: '-ші', + 80: '-ші', + 90: '-шы', + 100: '-ші' + }; + + var kk = moment.defineLocale('kk', { + months : 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'), + monthsShort : 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'), + weekdays : 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'), + weekdaysShort : 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'), + weekdaysMin : 'жк_дй_сй_ср_бй_жм_сн'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[Бүгін сағат] LT', + nextDay : '[Ертең сағат] LT', + nextWeek : 'dddd [сағат] LT', + lastDay : '[Кеше сағат] LT', + lastWeek : '[Өткен аптаның] dddd [сағат] LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s ішінде', + past : '%s бұрын', + s : 'бірнеше секунд', + m : 'бір минут', + mm : '%d минут', + h : 'бір сағат', + hh : '%d сағат', + d : 'бір күн', + dd : '%d күн', + M : 'бір ай', + MM : '%d ай', + y : 'бір жыл', + yy : '%d жыл' + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/, + ordinal : function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes[number] || suffixes[a] || suffixes[b]); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return kk; + return kk; - })); + }))); -/***/ }, -/* 450 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 462 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Cambodian [km] //! author : Kruy Vanna : https://github.com/kruyvanna ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var km = moment.defineLocale('km', { - months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'), - monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'), - weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), - weekdaysShort: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), - weekdaysMin: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), - longDateFormat: { - LT: 'HH:mm', - LTS : 'HH:mm:ss', - L: 'DD/MM/YYYY', - LL: 'D MMMM YYYY', - LLL: 'D MMMM YYYY HH:mm', - LLLL: 'dddd, D MMMM YYYY HH:mm' - }, - calendar: { - sameDay: '[ថ្ងៃនេះ ម៉ោង] LT', - nextDay: '[ស្អែក ម៉ោង] LT', - nextWeek: 'dddd [ម៉ោង] LT', - lastDay: '[ម្សិលមិញ ម៉ោង] LT', - lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT', - sameElse: 'L' - }, - relativeTime: { - future: '%sទៀត', - past: '%sមុន', - s: 'ប៉ុន្មានវិនាទី', - m: 'មួយនាទី', - mm: '%d នាទី', - h: 'មួយម៉ោង', - hh: '%d ម៉ោង', - d: 'មួយថ្ងៃ', - dd: '%d ថ្ងៃ', - M: 'មួយខែ', - MM: '%d ខែ', - y: 'មួយឆ្នាំ', - yy: '%d ឆ្នាំ' - }, - week: { - dow: 1, // Monday is the first day of the week. - doy: 4 // The week that contains Jan 4th is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var km = moment.defineLocale('km', { + months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'), + monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'), + weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), + weekdaysShort: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), + weekdaysMin: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS : 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + calendar: { + sameDay: '[ថ្ងៃនេះ ម៉ោង] LT', + nextDay: '[ស្អែក ម៉ោង] LT', + nextWeek: 'dddd [ម៉ោង] LT', + lastDay: '[ម្សិលមិញ ម៉ោង] LT', + lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT', + sameElse: 'L' + }, + relativeTime: { + future: '%sទៀត', + past: '%sមុន', + s: 'ប៉ុន្មានវិនាទី', + m: 'មួយនាទី', + mm: '%d នាទី', + h: 'មួយម៉ោង', + hh: '%d ម៉ោង', + d: 'មួយថ្ងៃ', + dd: '%d ថ្ងៃ', + M: 'មួយខែ', + MM: '%d ខែ', + y: 'មួយឆ្នាំ', + yy: '%d ឆ្នាំ' + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return km; + + }))); + + +/***/ }), +/* 463 */ +/***/ (function(module, exports, __webpack_require__) { + + //! moment.js locale configuration + //! locale : Kannada [kn] + //! author : Rajeev Naik : https://github.com/rajeevnaikte + + ;(function (global, factory) { + true ? factory(__webpack_require__(403)) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) + }(this, (function (moment) { 'use strict'; + + + var symbolMap = { + '1': '೧', + '2': '೨', + '3': '೩', + '4': '೪', + '5': '೫', + '6': '೬', + '7': '೭', + '8': '೮', + '9': '೯', + '0': '೦' + }; + var numberMap = { + '೧': '1', + '೨': '2', + '೩': '3', + '೪': '4', + '೫': '5', + '೬': '6', + '೭': '7', + '೮': '8', + '೯': '9', + '೦': '0' + }; + + var kn = moment.defineLocale('kn', { + months : 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split('_'), + monthsShort : 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬ_ಅಕ್ಟೋಬ_ನವೆಂಬ_ಡಿಸೆಂಬ'.split('_'), + monthsParseExact: true, + weekdays : 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split('_'), + weekdaysShort : 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'), + weekdaysMin : 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'), + longDateFormat : { + LT : 'A h:mm', + LTS : 'A h:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, A h:mm', + LLLL : 'dddd, D MMMM YYYY, A h:mm' + }, + calendar : { + sameDay : '[ಇಂದು] LT', + nextDay : '[ನಾಳೆ] LT', + nextWeek : 'dddd, LT', + lastDay : '[ನಿನ್ನೆ] LT', + lastWeek : '[ಕೊನೆಯ] dddd, LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s ನಂತರ', + past : '%s ಹಿಂದೆ', + s : 'ಕೆಲವು ಕ್ಷಣಗಳು', + m : 'ಒಂದು ನಿಮಿಷ', + mm : '%d ನಿಮಿಷ', + h : 'ಒಂದು ಗಂಟೆ', + hh : '%d ಗಂಟೆ', + d : 'ಒಂದು ದಿನ', + dd : '%d ದಿನ', + M : 'ಒಂದು ತಿಂಗಳು', + MM : '%d ತಿಂಗಳು', + y : 'ಒಂದು ವರ್ಷ', + yy : '%d ವರ್ಷ' + }, + preparse: function (string) { + return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ರಾತ್ರಿ') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') { + return hour; + } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'ಸಂಜೆ') { + return hour + 12; } - }); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'ರಾತ್ರಿ'; + } else if (hour < 10) { + return 'ಬೆಳಿಗ್ಗೆ'; + } else if (hour < 17) { + return 'ಮಧ್ಯಾಹ್ನ'; + } else if (hour < 20) { + return 'ಸಂಜೆ'; + } else { + return 'ರಾತ್ರಿ'; + } + }, + dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/, + ordinal : function (number) { + return number + 'ನೇ'; + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); - return km; + return kn; - })); + }))); -/***/ }, -/* 451 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 464 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Korean [ko] @@ -60588,160 +62339,166 @@ //! author : Jeeeyul Lee ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var ko = moment.defineLocale('ko', { - months : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), - monthsShort : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), - weekdays : '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'), - weekdaysShort : '일_월_화_수_목_금_토'.split('_'), - weekdaysMin : '일_월_화_수_목_금_토'.split('_'), - longDateFormat : { - LT : 'A h시 m분', - LTS : 'A h시 m분 s초', - L : 'YYYY.MM.DD', - LL : 'YYYY년 MMMM D일', - LLL : 'YYYY년 MMMM D일 A h시 m분', - LLLL : 'YYYY년 MMMM D일 dddd A h시 m분' - }, - calendar : { - sameDay : '오늘 LT', - nextDay : '내일 LT', - nextWeek : 'dddd LT', - lastDay : '어제 LT', - lastWeek : '지난주 dddd LT', - sameElse : 'L' - }, - relativeTime : { - future : '%s 후', - past : '%s 전', - s : '몇 초', - ss : '%d초', - m : '일분', - mm : '%d분', - h : '한 시간', - hh : '%d시간', - d : '하루', - dd : '%d일', - M : '한 달', - MM : '%d달', - y : '일 년', - yy : '%d년' - }, - ordinalParse : /\d{1,2}일/, - ordinal : '%d일', - meridiemParse : /오전|오후/, - isPM : function (token) { - return token === '오후'; - }, - meridiem : function (hour, minute, isUpper) { - return hour < 12 ? '오전' : '오후'; - } - }); + }(this, (function (moment) { 'use strict'; + + + var ko = moment.defineLocale('ko', { + months : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), + monthsShort : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), + weekdays : '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'), + weekdaysShort : '일_월_화_수_목_금_토'.split('_'), + weekdaysMin : '일_월_화_수_목_금_토'.split('_'), + longDateFormat : { + LT : 'A h:mm', + LTS : 'A h:mm:ss', + L : 'YYYY.MM.DD', + LL : 'YYYY년 MMMM D일', + LLL : 'YYYY년 MMMM D일 A h:mm', + LLLL : 'YYYY년 MMMM D일 dddd A h:mm', + l : 'YYYY.MM.DD', + ll : 'YYYY년 MMMM D일', + lll : 'YYYY년 MMMM D일 A h:mm', + llll : 'YYYY년 MMMM D일 dddd A h:mm' + }, + calendar : { + sameDay : '오늘 LT', + nextDay : '내일 LT', + nextWeek : 'dddd LT', + lastDay : '어제 LT', + lastWeek : '지난주 dddd LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s 후', + past : '%s 전', + s : '몇 초', + ss : '%d초', + m : '1분', + mm : '%d분', + h : '한 시간', + hh : '%d시간', + d : '하루', + dd : '%d일', + M : '한 달', + MM : '%d달', + y : '일 년', + yy : '%d년' + }, + dayOfMonthOrdinalParse : /\d{1,2}일/, + ordinal : '%d일', + meridiemParse : /오전|오후/, + isPM : function (token) { + return token === '오후'; + }, + meridiem : function (hour, minute, isUpper) { + return hour < 12 ? '오전' : '오후'; + } + }); - return ko; + return ko; - })); + }))); -/***/ }, -/* 452 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 465 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Kyrgyz [ky] //! author : Chyngyz Arystan uulu : https://github.com/chyngyz ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - - var suffixes = { - 0: '-чү', - 1: '-чи', - 2: '-чи', - 3: '-чү', - 4: '-чү', - 5: '-чи', - 6: '-чы', - 7: '-чи', - 8: '-чи', - 9: '-чу', - 10: '-чу', - 20: '-чы', - 30: '-чу', - 40: '-чы', - 50: '-чү', - 60: '-чы', - 70: '-чи', - 80: '-чи', - 90: '-чу', - 100: '-чү' - }; - - var ky = moment.defineLocale('ky', { - months : 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'), - monthsShort : 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'), - weekdays : 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'), - weekdaysShort : 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'), - weekdaysMin : 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd, D MMMM YYYY HH:mm' - }, - calendar : { - sameDay : '[Бүгүн саат] LT', - nextDay : '[Эртең саат] LT', - nextWeek : 'dddd [саат] LT', - lastDay : '[Кече саат] LT', - lastWeek : '[Өткен аптанын] dddd [күнү] [саат] LT', - sameElse : 'L' - }, - relativeTime : { - future : '%s ичинде', - past : '%s мурун', - s : 'бирнече секунд', - m : 'бир мүнөт', - mm : '%d мүнөт', - h : 'бир саат', - hh : '%d саат', - d : 'бир күн', - dd : '%d күн', - M : 'бир ай', - MM : '%d ай', - y : 'бир жыл', - yy : '%d жыл' - }, - ordinalParse: /\d{1,2}-(чи|чы|чү|чу)/, - ordinal : function (number) { - var a = number % 10, - b = number >= 100 ? 100 : null; - return number + (suffixes[number] || suffixes[a] || suffixes[b]); - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + + var suffixes = { + 0: '-чү', + 1: '-чи', + 2: '-чи', + 3: '-чү', + 4: '-чү', + 5: '-чи', + 6: '-чы', + 7: '-чи', + 8: '-чи', + 9: '-чу', + 10: '-чу', + 20: '-чы', + 30: '-чу', + 40: '-чы', + 50: '-чү', + 60: '-чы', + 70: '-чи', + 80: '-чи', + 90: '-чу', + 100: '-чү' + }; - return ky; + var ky = moment.defineLocale('ky', { + months : 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'), + monthsShort : 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'), + weekdays : 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'), + weekdaysShort : 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'), + weekdaysMin : 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[Бүгүн саат] LT', + nextDay : '[Эртең саат] LT', + nextWeek : 'dddd [саат] LT', + lastDay : '[Кече саат] LT', + lastWeek : '[Өткен аптанын] dddd [күнү] [саат] LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s ичинде', + past : '%s мурун', + s : 'бирнече секунд', + m : 'бир мүнөт', + mm : '%d мүнөт', + h : 'бир саат', + hh : '%d саат', + d : 'бир күн', + dd : '%d күн', + M : 'бир ай', + MM : '%d ай', + y : 'бир жыл', + yy : '%d жыл' + }, + dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/, + ordinal : function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes[number] || suffixes[a] || suffixes[b]); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - })); + return ky; + + }))); -/***/ }, -/* 453 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 466 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Luxembourgish [lb] @@ -60749,335 +62506,338 @@ //! author : David Raison : https://github.com/kwisatz ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - function processRelativeTime(number, withoutSuffix, key, isFuture) { - var format = { - 'm': ['eng Minutt', 'enger Minutt'], - 'h': ['eng Stonn', 'enger Stonn'], - 'd': ['een Dag', 'engem Dag'], - 'M': ['ee Mount', 'engem Mount'], - 'y': ['ee Joer', 'engem Joer'] - }; - return withoutSuffix ? format[key][0] : format[key][1]; + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + 'm': ['eng Minutt', 'enger Minutt'], + 'h': ['eng Stonn', 'enger Stonn'], + 'd': ['een Dag', 'engem Dag'], + 'M': ['ee Mount', 'engem Mount'], + 'y': ['ee Joer', 'engem Joer'] + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + function processFutureTime(string) { + var number = string.substr(0, string.indexOf(' ')); + if (eifelerRegelAppliesToNumber(number)) { + return 'a ' + string; } - function processFutureTime(string) { - var number = string.substr(0, string.indexOf(' ')); - if (eifelerRegelAppliesToNumber(number)) { - return 'a ' + string; - } - return 'an ' + string; + return 'an ' + string; + } + function processPastTime(string) { + var number = string.substr(0, string.indexOf(' ')); + if (eifelerRegelAppliesToNumber(number)) { + return 'viru ' + string; } - function processPastTime(string) { - var number = string.substr(0, string.indexOf(' ')); - if (eifelerRegelAppliesToNumber(number)) { - return 'viru ' + string; - } - return 'virun ' + string; + return 'virun ' + string; + } + /** + * Returns true if the word before the given number loses the '-n' ending. + * e.g. 'an 10 Deeg' but 'a 5 Deeg' + * + * @param number {integer} + * @returns {boolean} + */ + function eifelerRegelAppliesToNumber(number) { + number = parseInt(number, 10); + if (isNaN(number)) { + return false; } - /** - * Returns true if the word before the given number loses the '-n' ending. - * e.g. 'an 10 Deeg' but 'a 5 Deeg' - * - * @param number {integer} - * @returns {boolean} - */ - function eifelerRegelAppliesToNumber(number) { - number = parseInt(number, 10); - if (isNaN(number)) { - return false; - } - if (number < 0) { - // Negative Number --> always true - return true; - } else if (number < 10) { - // Only 1 digit - if (4 <= number && number <= 7) { - return true; - } - return false; - } else if (number < 100) { - // 2 digits - var lastDigit = number % 10, firstDigit = number / 10; - if (lastDigit === 0) { - return eifelerRegelAppliesToNumber(firstDigit); - } - return eifelerRegelAppliesToNumber(lastDigit); - } else if (number < 10000) { - // 3 or 4 digits --> recursively check first digit - while (number >= 10) { - number = number / 10; - } - return eifelerRegelAppliesToNumber(number); - } else { - // Anything larger than 4 digits: recursively check first n-3 digits - number = number / 1000; - return eifelerRegelAppliesToNumber(number); - } - } - - var lb = moment.defineLocale('lb', { - months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), - monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), - monthsParseExact : true, - weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split('_'), - weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'), - weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'), - weekdaysParseExact : true, - longDateFormat: { - LT: 'H:mm [Auer]', - LTS: 'H:mm:ss [Auer]', - L: 'DD.MM.YYYY', - LL: 'D. MMMM YYYY', - LLL: 'D. MMMM YYYY H:mm [Auer]', - LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]' - }, - calendar: { - sameDay: '[Haut um] LT', - sameElse: 'L', - nextDay: '[Muer um] LT', - nextWeek: 'dddd [um] LT', - lastDay: '[Gëschter um] LT', - lastWeek: function () { - // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule - switch (this.day()) { - case 2: - case 4: - return '[Leschten] dddd [um] LT'; - default: - return '[Leschte] dddd [um] LT'; - } + if (number < 0) { + // Negative Number --> always true + return true; + } else if (number < 10) { + // Only 1 digit + if (4 <= number && number <= 7) { + return true; + } + return false; + } else if (number < 100) { + // 2 digits + var lastDigit = number % 10, firstDigit = number / 10; + if (lastDigit === 0) { + return eifelerRegelAppliesToNumber(firstDigit); + } + return eifelerRegelAppliesToNumber(lastDigit); + } else if (number < 10000) { + // 3 or 4 digits --> recursively check first digit + while (number >= 10) { + number = number / 10; + } + return eifelerRegelAppliesToNumber(number); + } else { + // Anything larger than 4 digits: recursively check first n-3 digits + number = number / 1000; + return eifelerRegelAppliesToNumber(number); + } + } + + var lb = moment.defineLocale('lb', { + months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), + monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), + monthsParseExact : true, + weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split('_'), + weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'), + weekdaysParseExact : true, + longDateFormat: { + LT: 'H:mm [Auer]', + LTS: 'H:mm:ss [Auer]', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm [Auer]', + LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]' + }, + calendar: { + sameDay: '[Haut um] LT', + sameElse: 'L', + nextDay: '[Muer um] LT', + nextWeek: 'dddd [um] LT', + lastDay: '[Gëschter um] LT', + lastWeek: function () { + // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule + switch (this.day()) { + case 2: + case 4: + return '[Leschten] dddd [um] LT'; + default: + return '[Leschte] dddd [um] LT'; } - }, - relativeTime : { - future : processFutureTime, - past : processPastTime, - s : 'e puer Sekonnen', - m : processRelativeTime, - mm : '%d Minutten', - h : processRelativeTime, - hh : '%d Stonnen', - d : processRelativeTime, - dd : '%d Deeg', - M : processRelativeTime, - MM : '%d Méint', - y : processRelativeTime, - yy : '%d Joer' - }, - ordinalParse: /\d{1,2}\./, - ordinal: '%d.', - week: { - dow: 1, // Monday is the first day of the week. - doy: 4 // The week that contains Jan 4th is the first week of the year. } - }); + }, + relativeTime : { + future : processFutureTime, + past : processPastTime, + s : 'e puer Sekonnen', + m : processRelativeTime, + mm : '%d Minutten', + h : processRelativeTime, + hh : '%d Stonnen', + d : processRelativeTime, + dd : '%d Deeg', + M : processRelativeTime, + MM : '%d Méint', + y : processRelativeTime, + yy : '%d Joer' + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return lb; + return lb; - })); + }))); -/***/ }, -/* 454 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 467 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Lao [lo] //! author : Ryan Hart : https://github.com/ryanhart2 ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var lo = moment.defineLocale('lo', { - months : 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'), - monthsShort : 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'), - weekdays : 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), - weekdaysShort : 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), - weekdaysMin : 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'ວັນdddd D MMMM YYYY HH:mm' - }, - meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/, - isPM: function (input) { - return input === 'ຕອນແລງ'; - }, - meridiem : function (hour, minute, isLower) { - if (hour < 12) { - return 'ຕອນເຊົ້າ'; - } else { - return 'ຕອນແລງ'; - } - }, - calendar : { - sameDay : '[ມື້ນີ້ເວລາ] LT', - nextDay : '[ມື້ອື່ນເວລາ] LT', - nextWeek : '[ວັນ]dddd[ໜ້າເວລາ] LT', - lastDay : '[ມື້ວານນີ້ເວລາ] LT', - lastWeek : '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'ອີກ %s', - past : '%sຜ່ານມາ', - s : 'ບໍ່ເທົ່າໃດວິນາທີ', - m : '1 ນາທີ', - mm : '%d ນາທີ', - h : '1 ຊົ່ວໂມງ', - hh : '%d ຊົ່ວໂມງ', - d : '1 ມື້', - dd : '%d ມື້', - M : '1 ເດືອນ', - MM : '%d ເດືອນ', - y : '1 ປີ', - yy : '%d ປີ' - }, - ordinalParse: /(ທີ່)\d{1,2}/, - ordinal : function (number) { - return 'ທີ່' + number; + }(this, (function (moment) { 'use strict'; + + + var lo = moment.defineLocale('lo', { + months : 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'), + monthsShort : 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'), + weekdays : 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + weekdaysShort : 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + weekdaysMin : 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'ວັນdddd D MMMM YYYY HH:mm' + }, + meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/, + isPM: function (input) { + return input === 'ຕອນແລງ'; + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return 'ຕອນເຊົ້າ'; + } else { + return 'ຕອນແລງ'; } - }); + }, + calendar : { + sameDay : '[ມື້ນີ້ເວລາ] LT', + nextDay : '[ມື້ອື່ນເວລາ] LT', + nextWeek : '[ວັນ]dddd[ໜ້າເວລາ] LT', + lastDay : '[ມື້ວານນີ້ເວລາ] LT', + lastWeek : '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'ອີກ %s', + past : '%sຜ່ານມາ', + s : 'ບໍ່ເທົ່າໃດວິນາທີ', + m : '1 ນາທີ', + mm : '%d ນາທີ', + h : '1 ຊົ່ວໂມງ', + hh : '%d ຊົ່ວໂມງ', + d : '1 ມື້', + dd : '%d ມື້', + M : '1 ເດືອນ', + MM : '%d ເດືອນ', + y : '1 ປີ', + yy : '%d ປີ' + }, + dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/, + ordinal : function (number) { + return 'ທີ່' + number; + } + }); - return lo; + return lo; - })); + }))); -/***/ }, -/* 455 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 468 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Lithuanian [lt] //! author : Mindaugas Mozūras : https://github.com/mmozuras ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var units = { - 'm' : 'minutė_minutės_minutę', - 'mm': 'minutės_minučių_minutes', - 'h' : 'valanda_valandos_valandą', - 'hh': 'valandos_valandų_valandas', - 'd' : 'diena_dienos_dieną', - 'dd': 'dienos_dienų_dienas', - 'M' : 'mėnuo_mėnesio_mėnesį', - 'MM': 'mėnesiai_mėnesių_mėnesius', - 'y' : 'metai_metų_metus', - 'yy': 'metai_metų_metus' - }; - function translateSeconds(number, withoutSuffix, key, isFuture) { - if (withoutSuffix) { - return 'kelios sekundės'; - } else { - return isFuture ? 'kelių sekundžių' : 'kelias sekundes'; - } - } - function translateSingular(number, withoutSuffix, key, isFuture) { - return withoutSuffix ? forms(key)[0] : (isFuture ? forms(key)[1] : forms(key)[2]); - } - function special(number) { - return number % 10 === 0 || (number > 10 && number < 20); - } - function forms(key) { - return units[key].split('_'); + }(this, (function (moment) { 'use strict'; + + + var units = { + 'm' : 'minutė_minutės_minutę', + 'mm': 'minutės_minučių_minutes', + 'h' : 'valanda_valandos_valandą', + 'hh': 'valandos_valandų_valandas', + 'd' : 'diena_dienos_dieną', + 'dd': 'dienos_dienų_dienas', + 'M' : 'mėnuo_mėnesio_mėnesį', + 'MM': 'mėnesiai_mėnesių_mėnesius', + 'y' : 'metai_metų_metus', + 'yy': 'metai_metų_metus' + }; + function translateSeconds(number, withoutSuffix, key, isFuture) { + if (withoutSuffix) { + return 'kelios sekundės'; + } else { + return isFuture ? 'kelių sekundžių' : 'kelias sekundes'; } - function translate(number, withoutSuffix, key, isFuture) { - var result = number + ' '; - if (number === 1) { - return result + translateSingular(number, withoutSuffix, key[0], isFuture); - } else if (withoutSuffix) { - return result + (special(number) ? forms(key)[1] : forms(key)[0]); + } + function translateSingular(number, withoutSuffix, key, isFuture) { + return withoutSuffix ? forms(key)[0] : (isFuture ? forms(key)[1] : forms(key)[2]); + } + function special(number) { + return number % 10 === 0 || (number > 10 && number < 20); + } + function forms(key) { + return units[key].split('_'); + } + function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + if (number === 1) { + return result + translateSingular(number, withoutSuffix, key[0], isFuture); + } else if (withoutSuffix) { + return result + (special(number) ? forms(key)[1] : forms(key)[0]); + } else { + if (isFuture) { + return result + forms(key)[1]; } else { - if (isFuture) { - return result + forms(key)[1]; - } else { - return result + (special(number) ? forms(key)[1] : forms(key)[2]); - } + return result + (special(number) ? forms(key)[1] : forms(key)[2]); } } - var lt = moment.defineLocale('lt', { - months : { - format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'), - standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'), - isFormat: /D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?|MMMM?(\[[^\[\]]*\]|\s+)+D[oD]?/ - }, - monthsShort : 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'), - weekdays : { - format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split('_'), - standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'), - isFormat: /dddd HH:mm/ - }, - weekdaysShort : 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'), - weekdaysMin : 'S_P_A_T_K_Pn_Š'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'YYYY-MM-DD', - LL : 'YYYY [m.] MMMM D [d.]', - LLL : 'YYYY [m.] MMMM D [d.], HH:mm [val.]', - LLLL : 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]', - l : 'YYYY-MM-DD', - ll : 'YYYY [m.] MMMM D [d.]', - lll : 'YYYY [m.] MMMM D [d.], HH:mm [val.]', - llll : 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]' - }, - calendar : { - sameDay : '[Šiandien] LT', - nextDay : '[Rytoj] LT', - nextWeek : 'dddd LT', - lastDay : '[Vakar] LT', - lastWeek : '[Praėjusį] dddd LT', - sameElse : 'L' - }, - relativeTime : { - future : 'po %s', - past : 'prieš %s', - s : translateSeconds, - m : translateSingular, - mm : translate, - h : translateSingular, - hh : translate, - d : translateSingular, - dd : translate, - M : translateSingular, - MM : translate, - y : translateSingular, - yy : translate - }, - ordinalParse: /\d{1,2}-oji/, - ordinal : function (number) { - return number + '-oji'; - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + } + var lt = moment.defineLocale('lt', { + months : { + format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'), + standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'), + isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/ + }, + monthsShort : 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'), + weekdays : { + format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split('_'), + standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'), + isFormat: /dddd HH:mm/ + }, + weekdaysShort : 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'), + weekdaysMin : 'S_P_A_T_K_Pn_Š'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'YYYY-MM-DD', + LL : 'YYYY [m.] MMMM D [d.]', + LLL : 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + LLLL : 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]', + l : 'YYYY-MM-DD', + ll : 'YYYY [m.] MMMM D [d.]', + lll : 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + llll : 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]' + }, + calendar : { + sameDay : '[Šiandien] LT', + nextDay : '[Rytoj] LT', + nextWeek : 'dddd LT', + lastDay : '[Vakar] LT', + lastWeek : '[Praėjusį] dddd LT', + sameElse : 'L' + }, + relativeTime : { + future : 'po %s', + past : 'prieš %s', + s : translateSeconds, + m : translateSingular, + mm : translate, + h : translateSingular, + hh : translate, + d : translateSingular, + dd : translate, + M : translateSingular, + MM : translate, + y : translateSingular, + yy : translate + }, + dayOfMonthOrdinalParse: /\d{1,2}-oji/, + ordinal : function (number) { + return number + '-oji'; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return lt; + return lt; - })); + }))); -/***/ }, -/* 456 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 469 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Latvian [lv] @@ -61085,462 +62845,467 @@ //! author : Jānis Elmeris : https://github.com/JanisE ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var units = { - 'm': 'minūtes_minūtēm_minūte_minūtes'.split('_'), - 'mm': 'minūtes_minūtēm_minūte_minūtes'.split('_'), - 'h': 'stundas_stundām_stunda_stundas'.split('_'), - 'hh': 'stundas_stundām_stunda_stundas'.split('_'), - 'd': 'dienas_dienām_diena_dienas'.split('_'), - 'dd': 'dienas_dienām_diena_dienas'.split('_'), - 'M': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), - 'MM': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), - 'y': 'gada_gadiem_gads_gadi'.split('_'), - 'yy': 'gada_gadiem_gads_gadi'.split('_') - }; - /** - * @param withoutSuffix boolean true = a length of time; false = before/after a period of time. - */ - function format(forms, number, withoutSuffix) { - if (withoutSuffix) { - // E.g. "21 minūte", "3 minūtes". - return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3]; - } else { - // E.g. "21 minūtes" as in "pēc 21 minūtes". - // E.g. "3 minūtēm" as in "pēc 3 minūtēm". - return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1]; - } - } - function relativeTimeWithPlural(number, withoutSuffix, key) { - return number + ' ' + format(units[key], number, withoutSuffix); - } - function relativeTimeWithSingular(number, withoutSuffix, key) { - return format(units[key], number, withoutSuffix); - } - function relativeSeconds(number, withoutSuffix) { - return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm'; - } - - var lv = moment.defineLocale('lv', { - months : 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split('_'), - monthsShort : 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'), - weekdays : 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split('_'), - weekdaysShort : 'Sv_P_O_T_C_Pk_S'.split('_'), - weekdaysMin : 'Sv_P_O_T_C_Pk_S'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD.MM.YYYY.', - LL : 'YYYY. [gada] D. MMMM', - LLL : 'YYYY. [gada] D. MMMM, HH:mm', - LLLL : 'YYYY. [gada] D. MMMM, dddd, HH:mm' - }, - calendar : { - sameDay : '[Šodien pulksten] LT', - nextDay : '[Rīt pulksten] LT', - nextWeek : 'dddd [pulksten] LT', - lastDay : '[Vakar pulksten] LT', - lastWeek : '[Pagājušā] dddd [pulksten] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'pēc %s', - past : 'pirms %s', - s : relativeSeconds, - m : relativeTimeWithSingular, - mm : relativeTimeWithPlural, - h : relativeTimeWithSingular, - hh : relativeTimeWithPlural, - d : relativeTimeWithSingular, - dd : relativeTimeWithPlural, - M : relativeTimeWithSingular, - MM : relativeTimeWithPlural, - y : relativeTimeWithSingular, - yy : relativeTimeWithPlural - }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var units = { + 'm': 'minūtes_minūtēm_minūte_minūtes'.split('_'), + 'mm': 'minūtes_minūtēm_minūte_minūtes'.split('_'), + 'h': 'stundas_stundām_stunda_stundas'.split('_'), + 'hh': 'stundas_stundām_stunda_stundas'.split('_'), + 'd': 'dienas_dienām_diena_dienas'.split('_'), + 'dd': 'dienas_dienām_diena_dienas'.split('_'), + 'M': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), + 'MM': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), + 'y': 'gada_gadiem_gads_gadi'.split('_'), + 'yy': 'gada_gadiem_gads_gadi'.split('_') + }; + /** + * @param withoutSuffix boolean true = a length of time; false = before/after a period of time. + */ + function format(forms, number, withoutSuffix) { + if (withoutSuffix) { + // E.g. "21 minūte", "3 minūtes". + return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3]; + } else { + // E.g. "21 minūtes" as in "pēc 21 minūtes". + // E.g. "3 minūtēm" as in "pēc 3 minūtēm". + return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1]; + } + } + function relativeTimeWithPlural(number, withoutSuffix, key) { + return number + ' ' + format(units[key], number, withoutSuffix); + } + function relativeTimeWithSingular(number, withoutSuffix, key) { + return format(units[key], number, withoutSuffix); + } + function relativeSeconds(number, withoutSuffix) { + return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm'; + } + + var lv = moment.defineLocale('lv', { + months : 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split('_'), + monthsShort : 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'), + weekdays : 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split('_'), + weekdaysShort : 'Sv_P_O_T_C_Pk_S'.split('_'), + weekdaysMin : 'Sv_P_O_T_C_Pk_S'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY.', + LL : 'YYYY. [gada] D. MMMM', + LLL : 'YYYY. [gada] D. MMMM, HH:mm', + LLLL : 'YYYY. [gada] D. MMMM, dddd, HH:mm' + }, + calendar : { + sameDay : '[Šodien pulksten] LT', + nextDay : '[Rīt pulksten] LT', + nextWeek : 'dddd [pulksten] LT', + lastDay : '[Vakar pulksten] LT', + lastWeek : '[Pagājušā] dddd [pulksten] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'pēc %s', + past : 'pirms %s', + s : relativeSeconds, + m : relativeTimeWithSingular, + mm : relativeTimeWithPlural, + h : relativeTimeWithSingular, + hh : relativeTimeWithPlural, + d : relativeTimeWithSingular, + dd : relativeTimeWithPlural, + M : relativeTimeWithSingular, + MM : relativeTimeWithPlural, + y : relativeTimeWithSingular, + yy : relativeTimeWithPlural + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return lv; + return lv; - })); + }))); -/***/ }, -/* 457 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 470 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Montenegrin [me] //! author : Miodrag Nikač : https://github.com/miodragnikac ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var translator = { - words: { //Different grammatical cases - m: ['jedan minut', 'jednog minuta'], - mm: ['minut', 'minuta', 'minuta'], - h: ['jedan sat', 'jednog sata'], - hh: ['sat', 'sata', 'sati'], - dd: ['dan', 'dana', 'dana'], - MM: ['mjesec', 'mjeseca', 'mjeseci'], - yy: ['godina', 'godine', 'godina'] - }, - correctGrammaticalCase: function (number, wordKey) { - return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]); - }, - translate: function (number, withoutSuffix, key) { - var wordKey = translator.words[key]; - if (key.length === 1) { - return withoutSuffix ? wordKey[0] : wordKey[1]; - } else { - return number + ' ' + translator.correctGrammaticalCase(number, wordKey); - } - } - }; - - var me = moment.defineLocale('me', { - months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'), - monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), - monthsParseExact : true, - weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), - weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), - weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), - weekdaysParseExact : true, - longDateFormat: { - LT: 'H:mm', - LTS : 'H:mm:ss', - L: 'DD.MM.YYYY', - LL: 'D. MMMM YYYY', - LLL: 'D. MMMM YYYY H:mm', - LLLL: 'dddd, D. MMMM YYYY H:mm' - }, - calendar: { - sameDay: '[danas u] LT', - nextDay: '[sjutra u] LT', + }(this, (function (moment) { 'use strict'; + + + var translator = { + words: { //Different grammatical cases + m: ['jedan minut', 'jednog minuta'], + mm: ['minut', 'minuta', 'minuta'], + h: ['jedan sat', 'jednog sata'], + hh: ['sat', 'sata', 'sati'], + dd: ['dan', 'dana', 'dana'], + MM: ['mjesec', 'mjeseca', 'mjeseci'], + yy: ['godina', 'godine', 'godina'] + }, + correctGrammaticalCase: function (number, wordKey) { + return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]); + }, + translate: function (number, withoutSuffix, key) { + var wordKey = translator.words[key]; + if (key.length === 1) { + return withoutSuffix ? wordKey[0] : wordKey[1]; + } else { + return number + ' ' + translator.correctGrammaticalCase(number, wordKey); + } + } + }; - nextWeek: function () { - switch (this.day()) { - case 0: - return '[u] [nedjelju] [u] LT'; - case 3: - return '[u] [srijedu] [u] LT'; - case 6: - return '[u] [subotu] [u] LT'; - case 1: - case 2: - case 4: - case 5: - return '[u] dddd [u] LT'; - } - }, - lastDay : '[juče u] LT', - lastWeek : function () { - var lastWeekDays = [ - '[prošle] [nedjelje] [u] LT', - '[prošlog] [ponedjeljka] [u] LT', - '[prošlog] [utorka] [u] LT', - '[prošle] [srijede] [u] LT', - '[prošlog] [četvrtka] [u] LT', - '[prošlog] [petka] [u] LT', - '[prošle] [subote] [u] LT' - ]; - return lastWeekDays[this.day()]; - }, - sameElse : 'L' + var me = moment.defineLocale('me', { + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'), + monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + monthsParseExact : true, + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact : true, + longDateFormat: { + LT: 'H:mm', + LTS : 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm' + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sjutra u] LT', + + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } }, - relativeTime : { - future : 'za %s', - past : 'prije %s', - s : 'nekoliko sekundi', - m : translator.translate, - mm : translator.translate, - h : translator.translate, - hh : translator.translate, - d : 'dan', - dd : translator.translate, - M : 'mjesec', - MM : translator.translate, - y : 'godinu', - yy : translator.translate + lastDay : '[juče u] LT', + lastWeek : function () { + var lastWeekDays = [ + '[prošle] [nedjelje] [u] LT', + '[prošlog] [ponedjeljka] [u] LT', + '[prošlog] [utorka] [u] LT', + '[prošle] [srijede] [u] LT', + '[prošlog] [četvrtka] [u] LT', + '[prošlog] [petka] [u] LT', + '[prošle] [subote] [u] LT' + ]; + return lastWeekDays[this.day()]; }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. - } - }); + sameElse : 'L' + }, + relativeTime : { + future : 'za %s', + past : 'prije %s', + s : 'nekoliko sekundi', + m : translator.translate, + mm : translator.translate, + h : translator.translate, + hh : translator.translate, + d : 'dan', + dd : translator.translate, + M : 'mjesec', + MM : translator.translate, + y : 'godinu', + yy : translator.translate + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return me; + return me; - })); + }))); -/***/ }, -/* 458 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 471 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Maori [mi] //! author : John Corrigan : https://github.com/johnideal ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var mi = moment.defineLocale('mi', { - months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split('_'), - monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'), - monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, - monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, - monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, - monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i, - weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'), - weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), - weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), - longDateFormat: { - LT: 'HH:mm', - LTS: 'HH:mm:ss', - L: 'DD/MM/YYYY', - LL: 'D MMMM YYYY', - LLL: 'D MMMM YYYY [i] HH:mm', - LLLL: 'dddd, D MMMM YYYY [i] HH:mm' - }, - calendar: { - sameDay: '[i teie mahana, i] LT', - nextDay: '[apopo i] LT', - nextWeek: 'dddd [i] LT', - lastDay: '[inanahi i] LT', - lastWeek: 'dddd [whakamutunga i] LT', - sameElse: 'L' - }, - relativeTime: { - future: 'i roto i %s', - past: '%s i mua', - s: 'te hēkona ruarua', - m: 'he meneti', - mm: '%d meneti', - h: 'te haora', - hh: '%d haora', - d: 'he ra', - dd: '%d ra', - M: 'he marama', - MM: '%d marama', - y: 'he tau', - yy: '%d tau' - }, - ordinalParse: /\d{1,2}º/, - ordinal: '%dº', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var mi = moment.defineLocale('mi', { + months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split('_'), + monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'), + monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i, + weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'), + weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [i] HH:mm', + LLLL: 'dddd, D MMMM YYYY [i] HH:mm' + }, + calendar: { + sameDay: '[i teie mahana, i] LT', + nextDay: '[apopo i] LT', + nextWeek: 'dddd [i] LT', + lastDay: '[inanahi i] LT', + lastWeek: 'dddd [whakamutunga i] LT', + sameElse: 'L' + }, + relativeTime: { + future: 'i roto i %s', + past: '%s i mua', + s: 'te hēkona ruarua', + m: 'he meneti', + mm: '%d meneti', + h: 'te haora', + hh: '%d haora', + d: 'he ra', + dd: '%d ra', + M: 'he marama', + MM: '%d marama', + y: 'he tau', + yy: '%d tau' + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return mi; + return mi; - })); + }))); -/***/ }, -/* 459 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 472 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Macedonian [mk] //! author : Borislav Mickov : https://github.com/B0k0 ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var mk = moment.defineLocale('mk', { - months : 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split('_'), - monthsShort : 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'), - weekdays : 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split('_'), - weekdaysShort : 'нед_пон_вто_сре_чет_пет_саб'.split('_'), - weekdaysMin : 'нe_пo_вт_ср_че_пе_сa'.split('_'), - longDateFormat : { - LT : 'H:mm', - LTS : 'H:mm:ss', - L : 'D.MM.YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY H:mm', - LLLL : 'dddd, D MMMM YYYY H:mm' - }, - calendar : { - sameDay : '[Денес во] LT', - nextDay : '[Утре во] LT', - nextWeek : '[Во] dddd [во] LT', - lastDay : '[Вчера во] LT', - lastWeek : function () { - switch (this.day()) { - case 0: - case 3: - case 6: - return '[Изминатата] dddd [во] LT'; - case 1: - case 2: - case 4: - case 5: - return '[Изминатиот] dddd [во] LT'; - } - }, - sameElse : 'L' - }, - relativeTime : { - future : 'после %s', - past : 'пред %s', - s : 'неколку секунди', - m : 'минута', - mm : '%d минути', - h : 'час', - hh : '%d часа', - d : 'ден', - dd : '%d дена', - M : 'месец', - MM : '%d месеци', - y : 'година', - yy : '%d години' - }, - ordinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, - ordinal : function (number) { - var lastDigit = number % 10, - last2Digits = number % 100; - if (number === 0) { - return number + '-ев'; - } else if (last2Digits === 0) { - return number + '-ен'; - } else if (last2Digits > 10 && last2Digits < 20) { - return number + '-ти'; - } else if (lastDigit === 1) { - return number + '-ви'; - } else if (lastDigit === 2) { - return number + '-ри'; - } else if (lastDigit === 7 || lastDigit === 8) { - return number + '-ми'; - } else { - return number + '-ти'; + }(this, (function (moment) { 'use strict'; + + + var mk = moment.defineLocale('mk', { + months : 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split('_'), + monthsShort : 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'), + weekdays : 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split('_'), + weekdaysShort : 'нед_пон_вто_сре_чет_пет_саб'.split('_'), + weekdaysMin : 'нe_пo_вт_ср_че_пе_сa'.split('_'), + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'D.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY H:mm', + LLLL : 'dddd, D MMMM YYYY H:mm' + }, + calendar : { + sameDay : '[Денес во] LT', + nextDay : '[Утре во] LT', + nextWeek : '[Во] dddd [во] LT', + lastDay : '[Вчера во] LT', + lastWeek : function () { + switch (this.day()) { + case 0: + case 3: + case 6: + return '[Изминатата] dddd [во] LT'; + case 1: + case 2: + case 4: + case 5: + return '[Изминатиот] dddd [во] LT'; } }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. + sameElse : 'L' + }, + relativeTime : { + future : 'после %s', + past : 'пред %s', + s : 'неколку секунди', + m : 'минута', + mm : '%d минути', + h : 'час', + hh : '%d часа', + d : 'ден', + dd : '%d дена', + M : 'месец', + MM : '%d месеци', + y : 'година', + yy : '%d години' + }, + dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, + ordinal : function (number) { + var lastDigit = number % 10, + last2Digits = number % 100; + if (number === 0) { + return number + '-ев'; + } else if (last2Digits === 0) { + return number + '-ен'; + } else if (last2Digits > 10 && last2Digits < 20) { + return number + '-ти'; + } else if (lastDigit === 1) { + return number + '-ви'; + } else if (lastDigit === 2) { + return number + '-ри'; + } else if (lastDigit === 7 || lastDigit === 8) { + return number + '-ми'; + } else { + return number + '-ти'; } - }); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return mk; + return mk; - })); + }))); -/***/ }, -/* 460 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 473 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Malayalam [ml] //! author : Floyd Pink : https://github.com/floydpink ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var ml = moment.defineLocale('ml', { - months : 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'), - monthsShort : 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'), - monthsParseExact : true, - weekdays : 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split('_'), - weekdaysShort : 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'), - weekdaysMin : 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'), - longDateFormat : { - LT : 'A h:mm -നു', - LTS : 'A h:mm:ss -നു', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY, A h:mm -നു', - LLLL : 'dddd, D MMMM YYYY, A h:mm -നു' - }, - calendar : { - sameDay : '[ഇന്ന്] LT', - nextDay : '[നാളെ] LT', - nextWeek : 'dddd, LT', - lastDay : '[ഇന്നലെ] LT', - lastWeek : '[കഴിഞ്ഞ] dddd, LT', - sameElse : 'L' - }, - relativeTime : { - future : '%s കഴിഞ്ഞ്', - past : '%s മുൻപ്', - s : 'അൽപ നിമിഷങ്ങൾ', - m : 'ഒരു മിനിറ്റ്', - mm : '%d മിനിറ്റ്', - h : 'ഒരു മണിക്കൂർ', - hh : '%d മണിക്കൂർ', - d : 'ഒരു ദിവസം', - dd : '%d ദിവസം', - M : 'ഒരു മാസം', - MM : '%d മാസം', - y : 'ഒരു വർഷം', - yy : '%d വർഷം' - }, - meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i, - meridiemHour : function (hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if ((meridiem === 'രാത്രി' && hour >= 4) || - meridiem === 'ഉച്ച കഴിഞ്ഞ്' || - meridiem === 'വൈകുന്നേരം') { - return hour + 12; - } else { - return hour; - } - }, - meridiem : function (hour, minute, isLower) { - if (hour < 4) { - return 'രാത്രി'; - } else if (hour < 12) { - return 'രാവിലെ'; - } else if (hour < 17) { - return 'ഉച്ച കഴിഞ്ഞ്'; - } else if (hour < 20) { - return 'വൈകുന്നേരം'; - } else { - return 'രാത്രി'; - } + }(this, (function (moment) { 'use strict'; + + + var ml = moment.defineLocale('ml', { + months : 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'), + monthsShort : 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'), + monthsParseExact : true, + weekdays : 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split('_'), + weekdaysShort : 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'), + weekdaysMin : 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'), + longDateFormat : { + LT : 'A h:mm -നു', + LTS : 'A h:mm:ss -നു', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, A h:mm -നു', + LLLL : 'dddd, D MMMM YYYY, A h:mm -നു' + }, + calendar : { + sameDay : '[ഇന്ന്] LT', + nextDay : '[നാളെ] LT', + nextWeek : 'dddd, LT', + lastDay : '[ഇന്നലെ] LT', + lastWeek : '[കഴിഞ്ഞ] dddd, LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s കഴിഞ്ഞ്', + past : '%s മുൻപ്', + s : 'അൽപ നിമിഷങ്ങൾ', + m : 'ഒരു മിനിറ്റ്', + mm : '%d മിനിറ്റ്', + h : 'ഒരു മണിക്കൂർ', + hh : '%d മണിക്കൂർ', + d : 'ഒരു ദിവസം', + dd : '%d ദിവസം', + M : 'ഒരു മാസം', + MM : '%d മാസം', + y : 'ഒരു വർഷം', + yy : '%d വർഷം' + }, + meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ((meridiem === 'രാത്രി' && hour >= 4) || + meridiem === 'ഉച്ച കഴിഞ്ഞ്' || + meridiem === 'വൈകുന്നേരം') { + return hour + 12; + } else { + return hour; } - }); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'രാത്രി'; + } else if (hour < 12) { + return 'രാവിലെ'; + } else if (hour < 17) { + return 'ഉച്ച കഴിഞ്ഞ്'; + } else if (hour < 20) { + return 'വൈകുന്നേരം'; + } else { + return 'രാത്രി'; + } + } + }); - return ml; + return ml; - })); + }))); -/***/ }, -/* 461 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 474 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Marathi [mr] @@ -61548,248 +63313,250 @@ //! author : Vivek Athalye : https://github.com/vnathalye ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var symbolMap = { - '1': '१', - '2': '२', - '3': '३', - '4': '४', - '5': '५', - '6': '६', - '7': '७', - '8': '८', - '9': '९', - '0': '०' - }, - numberMap = { - '१': '1', - '२': '2', - '३': '3', - '४': '4', - '५': '5', - '६': '6', - '७': '7', - '८': '8', - '९': '9', - '०': '0' - }; - - function relativeTimeMr(number, withoutSuffix, string, isFuture) - { - var output = ''; - if (withoutSuffix) { - switch (string) { - case 's': output = 'काही सेकंद'; break; - case 'm': output = 'एक मिनिट'; break; - case 'mm': output = '%d मिनिटे'; break; - case 'h': output = 'एक तास'; break; - case 'hh': output = '%d तास'; break; - case 'd': output = 'एक दिवस'; break; - case 'dd': output = '%d दिवस'; break; - case 'M': output = 'एक महिना'; break; - case 'MM': output = '%d महिने'; break; - case 'y': output = 'एक वर्ष'; break; - case 'yy': output = '%d वर्षे'; break; - } + }(this, (function (moment) { 'use strict'; + + + var symbolMap = { + '1': '१', + '2': '२', + '3': '३', + '4': '४', + '5': '५', + '6': '६', + '7': '७', + '8': '८', + '9': '९', + '0': '०' + }; + var numberMap = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0' + }; + + function relativeTimeMr(number, withoutSuffix, string, isFuture) + { + var output = ''; + if (withoutSuffix) { + switch (string) { + case 's': output = 'काही सेकंद'; break; + case 'm': output = 'एक मिनिट'; break; + case 'mm': output = '%d मिनिटे'; break; + case 'h': output = 'एक तास'; break; + case 'hh': output = '%d तास'; break; + case 'd': output = 'एक दिवस'; break; + case 'dd': output = '%d दिवस'; break; + case 'M': output = 'एक महिना'; break; + case 'MM': output = '%d महिने'; break; + case 'y': output = 'एक वर्ष'; break; + case 'yy': output = '%d वर्षे'; break; } - else { - switch (string) { - case 's': output = 'काही सेकंदां'; break; - case 'm': output = 'एका मिनिटा'; break; - case 'mm': output = '%d मिनिटां'; break; - case 'h': output = 'एका तासा'; break; - case 'hh': output = '%d तासां'; break; - case 'd': output = 'एका दिवसा'; break; - case 'dd': output = '%d दिवसां'; break; - case 'M': output = 'एका महिन्या'; break; - case 'MM': output = '%d महिन्यां'; break; - case 'y': output = 'एका वर्षा'; break; - case 'yy': output = '%d वर्षां'; break; - } - } - return output.replace(/%d/i, number); - } - - var mr = moment.defineLocale('mr', { - months : 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'), - monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'), - monthsParseExact : true, - weekdays : 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), - weekdaysShort : 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'), - weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'), - longDateFormat : { - LT : 'A h:mm वाजता', - LTS : 'A h:mm:ss वाजता', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY, A h:mm वाजता', - LLLL : 'dddd, D MMMM YYYY, A h:mm वाजता' - }, - calendar : { - sameDay : '[आज] LT', - nextDay : '[उद्या] LT', - nextWeek : 'dddd, LT', - lastDay : '[काल] LT', - lastWeek: '[मागील] dddd, LT', - sameElse : 'L' - }, - relativeTime : { - future: '%sमध्ये', - past: '%sपूर्वी', - s: relativeTimeMr, - m: relativeTimeMr, - mm: relativeTimeMr, - h: relativeTimeMr, - hh: relativeTimeMr, - d: relativeTimeMr, - dd: relativeTimeMr, - M: relativeTimeMr, - MM: relativeTimeMr, - y: relativeTimeMr, - yy: relativeTimeMr - }, - preparse: function (string) { - return string.replace(/[१२३४५६७८९०]/g, function (match) { - return numberMap[match]; - }); - }, - postformat: function (string) { - return string.replace(/\d/g, function (match) { - return symbolMap[match]; - }); - }, - meridiemParse: /रात्री|सकाळी|दुपारी|सायंकाळी/, - meridiemHour : function (hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if (meridiem === 'रात्री') { - return hour < 4 ? hour : hour + 12; - } else if (meridiem === 'सकाळी') { - return hour; - } else if (meridiem === 'दुपारी') { - return hour >= 10 ? hour : hour + 12; - } else if (meridiem === 'सायंकाळी') { - return hour + 12; - } - }, - meridiem: function (hour, minute, isLower) { - if (hour < 4) { - return 'रात्री'; - } else if (hour < 10) { - return 'सकाळी'; - } else if (hour < 17) { - return 'दुपारी'; - } else if (hour < 20) { - return 'सायंकाळी'; - } else { - return 'रात्री'; - } - }, - week : { - dow : 0, // Sunday is the first day of the week. - doy : 6 // The week that contains Jan 1st is the first week of the year. + } + else { + switch (string) { + case 's': output = 'काही सेकंदां'; break; + case 'm': output = 'एका मिनिटा'; break; + case 'mm': output = '%d मिनिटां'; break; + case 'h': output = 'एका तासा'; break; + case 'hh': output = '%d तासां'; break; + case 'd': output = 'एका दिवसा'; break; + case 'dd': output = '%d दिवसां'; break; + case 'M': output = 'एका महिन्या'; break; + case 'MM': output = '%d महिन्यां'; break; + case 'y': output = 'एका वर्षा'; break; + case 'yy': output = '%d वर्षां'; break; + } + } + return output.replace(/%d/i, number); + } + + var mr = moment.defineLocale('mr', { + months : 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'), + monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'), + monthsParseExact : true, + weekdays : 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + weekdaysShort : 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'), + weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'), + longDateFormat : { + LT : 'A h:mm वाजता', + LTS : 'A h:mm:ss वाजता', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, A h:mm वाजता', + LLLL : 'dddd, D MMMM YYYY, A h:mm वाजता' + }, + calendar : { + sameDay : '[आज] LT', + nextDay : '[उद्या] LT', + nextWeek : 'dddd, LT', + lastDay : '[काल] LT', + lastWeek: '[मागील] dddd, LT', + sameElse : 'L' + }, + relativeTime : { + future: '%sमध्ये', + past: '%sपूर्वी', + s: relativeTimeMr, + m: relativeTimeMr, + mm: relativeTimeMr, + h: relativeTimeMr, + hh: relativeTimeMr, + d: relativeTimeMr, + dd: relativeTimeMr, + M: relativeTimeMr, + MM: relativeTimeMr, + y: relativeTimeMr, + yy: relativeTimeMr + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /रात्री|सकाळी|दुपारी|सायंकाळी/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'रात्री') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'सकाळी') { + return hour; + } else if (meridiem === 'दुपारी') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'सायंकाळी') { + return hour + 12; } - }); + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'रात्री'; + } else if (hour < 10) { + return 'सकाळी'; + } else if (hour < 17) { + return 'दुपारी'; + } else if (hour < 20) { + return 'सायंकाळी'; + } else { + return 'रात्री'; + } + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); - return mr; + return mr; - })); + }))); -/***/ }, -/* 462 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 475 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Malay [ms] //! author : Weldan Jamili : https://github.com/weldan ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var ms = moment.defineLocale('ms', { - months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'), - monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), - weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), - weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), - weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), - longDateFormat : { - LT : 'HH.mm', - LTS : 'HH.mm.ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY [pukul] HH.mm', - LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' - }, - meridiemParse: /pagi|tengahari|petang|malam/, - meridiemHour: function (hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if (meridiem === 'pagi') { - return hour; - } else if (meridiem === 'tengahari') { - return hour >= 11 ? hour : hour + 12; - } else if (meridiem === 'petang' || meridiem === 'malam') { - return hour + 12; - } - }, - meridiem : function (hours, minutes, isLower) { - if (hours < 11) { - return 'pagi'; - } else if (hours < 15) { - return 'tengahari'; - } else if (hours < 19) { - return 'petang'; - } else { - return 'malam'; - } - }, - calendar : { - sameDay : '[Hari ini pukul] LT', - nextDay : '[Esok pukul] LT', - nextWeek : 'dddd [pukul] LT', - lastDay : '[Kelmarin pukul] LT', - lastWeek : 'dddd [lepas pukul] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'dalam %s', - past : '%s yang lepas', - s : 'beberapa saat', - m : 'seminit', - mm : '%d minit', - h : 'sejam', - hh : '%d jam', - d : 'sehari', - dd : '%d hari', - M : 'sebulan', - MM : '%d bulan', - y : 'setahun', - yy : '%d tahun' - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var ms = moment.defineLocale('ms', { + months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'), + monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat : { + LT : 'HH.mm', + LTS : 'HH.mm.ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY [pukul] HH.mm', + LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' + }, + meridiemParse: /pagi|tengahari|petang|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; } - }); + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'tengahari') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'petang' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem : function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'tengahari'; + } else if (hours < 19) { + return 'petang'; + } else { + return 'malam'; + } + }, + calendar : { + sameDay : '[Hari ini pukul] LT', + nextDay : '[Esok pukul] LT', + nextWeek : 'dddd [pukul] LT', + lastDay : '[Kelmarin pukul] LT', + lastWeek : 'dddd [lepas pukul] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'dalam %s', + past : '%s yang lepas', + s : 'beberapa saat', + m : 'seminit', + mm : '%d minit', + h : 'sejam', + hh : '%d jam', + d : 'sehari', + dd : '%d hari', + M : 'sebulan', + MM : '%d bulan', + y : 'setahun', + yy : '%d tahun' + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return ms; + return ms; - })); + }))); -/***/ }, -/* 463 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 476 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Malay [ms-my] @@ -61797,86 +63564,87 @@ //! author : Weldan Jamili : https://github.com/weldan ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var ms_my = moment.defineLocale('ms-my', { - months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'), - monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), - weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), - weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), - weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), - longDateFormat : { - LT : 'HH.mm', - LTS : 'HH.mm.ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY [pukul] HH.mm', - LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' - }, - meridiemParse: /pagi|tengahari|petang|malam/, - meridiemHour: function (hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if (meridiem === 'pagi') { - return hour; - } else if (meridiem === 'tengahari') { - return hour >= 11 ? hour : hour + 12; - } else if (meridiem === 'petang' || meridiem === 'malam') { - return hour + 12; - } - }, - meridiem : function (hours, minutes, isLower) { - if (hours < 11) { - return 'pagi'; - } else if (hours < 15) { - return 'tengahari'; - } else if (hours < 19) { - return 'petang'; - } else { - return 'malam'; - } - }, - calendar : { - sameDay : '[Hari ini pukul] LT', - nextDay : '[Esok pukul] LT', - nextWeek : 'dddd [pukul] LT', - lastDay : '[Kelmarin pukul] LT', - lastWeek : 'dddd [lepas pukul] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'dalam %s', - past : '%s yang lepas', - s : 'beberapa saat', - m : 'seminit', - mm : '%d minit', - h : 'sejam', - hh : '%d jam', - d : 'sehari', - dd : '%d hari', - M : 'sebulan', - MM : '%d bulan', - y : 'setahun', - yy : '%d tahun' - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var msMy = moment.defineLocale('ms-my', { + months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'), + monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat : { + LT : 'HH.mm', + LTS : 'HH.mm.ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY [pukul] HH.mm', + LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' + }, + meridiemParse: /pagi|tengahari|petang|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; } - }); + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'tengahari') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'petang' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem : function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'tengahari'; + } else if (hours < 19) { + return 'petang'; + } else { + return 'malam'; + } + }, + calendar : { + sameDay : '[Hari ini pukul] LT', + nextDay : '[Esok pukul] LT', + nextWeek : 'dddd [pukul] LT', + lastDay : '[Kelmarin pukul] LT', + lastWeek : 'dddd [lepas pukul] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'dalam %s', + past : '%s yang lepas', + s : 'beberapa saat', + m : 'seminit', + mm : '%d minit', + h : 'sejam', + hh : '%d jam', + d : 'sehari', + dd : '%d hari', + M : 'sebulan', + MM : '%d bulan', + y : 'setahun', + yy : '%d tahun' + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return ms_my; + return msMy; - })); + }))); -/***/ }, -/* 464 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 477 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Burmese [my] @@ -61885,97 +63653,99 @@ //! author : Tin Aung Lin : https://github.com/thanyawzinmin ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var symbolMap = { - '1': '၁', - '2': '၂', - '3': '၃', - '4': '၄', - '5': '၅', - '6': '၆', - '7': '၇', - '8': '၈', - '9': '၉', - '0': '၀' - }, numberMap = { - '၁': '1', - '၂': '2', - '၃': '3', - '၄': '4', - '၅': '5', - '၆': '6', - '၇': '7', - '၈': '8', - '၉': '9', - '၀': '0' - }; - - var my = moment.defineLocale('my', { - months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'), - monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'), - weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'), - weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), - weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), - - longDateFormat: { - LT: 'HH:mm', - LTS: 'HH:mm:ss', - L: 'DD/MM/YYYY', - LL: 'D MMMM YYYY', - LLL: 'D MMMM YYYY HH:mm', - LLLL: 'dddd D MMMM YYYY HH:mm' - }, - calendar: { - sameDay: '[ယနေ.] LT [မှာ]', - nextDay: '[မနက်ဖြန်] LT [မှာ]', - nextWeek: 'dddd LT [မှာ]', - lastDay: '[မနေ.က] LT [မှာ]', - lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]', - sameElse: 'L' - }, - relativeTime: { - future: 'လာမည့် %s မှာ', - past: 'လွန်ခဲ့သော %s က', - s: 'စက္ကန်.အနည်းငယ်', - m: 'တစ်မိနစ်', - mm: '%d မိနစ်', - h: 'တစ်နာရီ', - hh: '%d နာရီ', - d: 'တစ်ရက်', - dd: '%d ရက်', - M: 'တစ်လ', - MM: '%d လ', - y: 'တစ်နှစ်', - yy: '%d နှစ်' - }, - preparse: function (string) { - return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) { - return numberMap[match]; - }); - }, - postformat: function (string) { - return string.replace(/\d/g, function (match) { - return symbolMap[match]; - }); - }, - week: { - dow: 1, // Monday is the first day of the week. - doy: 4 // The week that contains Jan 1st is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var symbolMap = { + '1': '၁', + '2': '၂', + '3': '၃', + '4': '၄', + '5': '၅', + '6': '၆', + '7': '၇', + '8': '၈', + '9': '၉', + '0': '၀' + }; + var numberMap = { + '၁': '1', + '၂': '2', + '၃': '3', + '၄': '4', + '၅': '5', + '၆': '6', + '၇': '7', + '၈': '8', + '၉': '9', + '၀': '0' + }; + + var my = moment.defineLocale('my', { + months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'), + monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'), + weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'), + weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + calendar: { + sameDay: '[ယနေ.] LT [မှာ]', + nextDay: '[မနက်ဖြန်] LT [မှာ]', + nextWeek: 'dddd LT [မှာ]', + lastDay: '[မနေ.က] LT [မှာ]', + lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]', + sameElse: 'L' + }, + relativeTime: { + future: 'လာမည့် %s မှာ', + past: 'လွန်ခဲ့သော %s က', + s: 'စက္ကန်.အနည်းငယ်', + m: 'တစ်မိနစ်', + mm: '%d မိနစ်', + h: 'တစ်နာရီ', + hh: '%d နာရီ', + d: 'တစ်ရက်', + dd: '%d ရက်', + M: 'တစ်လ', + MM: '%d လ', + y: 'တစ်နှစ်', + yy: '%d နှစ်' + }, + preparse: function (string) { + return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4 // The week that contains Jan 1st is the first week of the year. + } + }); - return my; + return my; - })); + }))); -/***/ }, -/* 465 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 478 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Norwegian Bokmål [nb] @@ -61983,193 +63753,195 @@ //! Sigurd Gartmann : https://github.com/sigurdga ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var nb = moment.defineLocale('nb', { - months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'), - monthsShort : 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'), - monthsParseExact : true, - weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), - weekdaysShort : 'sø._ma._ti._on._to._fr._lø.'.split('_'), - weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D. MMMM YYYY', - LLL : 'D. MMMM YYYY [kl.] HH:mm', - LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm' - }, - calendar : { - sameDay: '[i dag kl.] LT', - nextDay: '[i morgen kl.] LT', - nextWeek: 'dddd [kl.] LT', - lastDay: '[i går kl.] LT', - lastWeek: '[forrige] dddd [kl.] LT', - sameElse: 'L' - }, - relativeTime : { - future : 'om %s', - past : '%s siden', - s : 'noen sekunder', - m : 'ett minutt', - mm : '%d minutter', - h : 'en time', - hh : '%d timer', - d : 'en dag', - dd : '%d dager', - M : 'en måned', - MM : '%d måneder', - y : 'ett år', - yy : '%d år' - }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var nb = moment.defineLocale('nb', { + months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'), + monthsShort : 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'), + monthsParseExact : true, + weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort : 'sø._ma._ti._on._to._fr._lø.'.split('_'), + weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY [kl.] HH:mm', + LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm' + }, + calendar : { + sameDay: '[i dag kl.] LT', + nextDay: '[i morgen kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[i går kl.] LT', + lastWeek: '[forrige] dddd [kl.] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'om %s', + past : '%s siden', + s : 'noen sekunder', + m : 'ett minutt', + mm : '%d minutter', + h : 'en time', + hh : '%d timer', + d : 'en dag', + dd : '%d dager', + M : 'en måned', + MM : '%d måneder', + y : 'ett år', + yy : '%d år' + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return nb; + return nb; - })); + }))); -/***/ }, -/* 466 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 479 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Nepalese [ne] //! author : suvash : https://github.com/suvash ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var symbolMap = { - '1': '१', - '2': '२', - '3': '३', - '4': '४', - '5': '५', - '6': '६', - '7': '७', - '8': '८', - '9': '९', - '0': '०' - }, - numberMap = { - '१': '1', - '२': '2', - '३': '3', - '४': '4', - '५': '5', - '६': '6', - '७': '7', - '८': '8', - '९': '9', - '०': '0' - }; - - var ne = moment.defineLocale('ne', { - months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'), - monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'), - monthsParseExact : true, - weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'), - weekdaysShort : 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'), - weekdaysMin : 'आ._सो._मं._बु._बि._शु._श.'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'Aको h:mm बजे', - LTS : 'Aको h:mm:ss बजे', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY, Aको h:mm बजे', - LLLL : 'dddd, D MMMM YYYY, Aको h:mm बजे' - }, - preparse: function (string) { - return string.replace(/[१२३४५६७८९०]/g, function (match) { - return numberMap[match]; - }); - }, - postformat: function (string) { - return string.replace(/\d/g, function (match) { - return symbolMap[match]; - }); - }, - meridiemParse: /राति|बिहान|दिउँसो|साँझ/, - meridiemHour : function (hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if (meridiem === 'राति') { - return hour < 4 ? hour : hour + 12; - } else if (meridiem === 'बिहान') { - return hour; - } else if (meridiem === 'दिउँसो') { - return hour >= 10 ? hour : hour + 12; - } else if (meridiem === 'साँझ') { - return hour + 12; - } - }, - meridiem : function (hour, minute, isLower) { - if (hour < 3) { - return 'राति'; - } else if (hour < 12) { - return 'बिहान'; - } else if (hour < 16) { - return 'दिउँसो'; - } else if (hour < 20) { - return 'साँझ'; - } else { - return 'राति'; - } - }, - calendar : { - sameDay : '[आज] LT', - nextDay : '[भोलि] LT', - nextWeek : '[आउँदो] dddd[,] LT', - lastDay : '[हिजो] LT', - lastWeek : '[गएको] dddd[,] LT', - sameElse : 'L' - }, - relativeTime : { - future : '%sमा', - past : '%s अगाडि', - s : 'केही क्षण', - m : 'एक मिनेट', - mm : '%d मिनेट', - h : 'एक घण्टा', - hh : '%d घण्टा', - d : 'एक दिन', - dd : '%d दिन', - M : 'एक महिना', - MM : '%d महिना', - y : 'एक बर्ष', - yy : '%d बर्ष' - }, - week : { - dow : 0, // Sunday is the first day of the week. - doy : 6 // The week that contains Jan 1st is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var symbolMap = { + '1': '१', + '2': '२', + '3': '३', + '4': '४', + '5': '५', + '6': '६', + '7': '७', + '8': '८', + '9': '९', + '0': '०' + }; + var numberMap = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0' + }; + + var ne = moment.defineLocale('ne', { + months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'), + monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'), + monthsParseExact : true, + weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'), + weekdaysShort : 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'), + weekdaysMin : 'आ._सो._मं._बु._बि._शु._श.'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'Aको h:mm बजे', + LTS : 'Aको h:mm:ss बजे', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, Aको h:mm बजे', + LLLL : 'dddd, D MMMM YYYY, Aको h:mm बजे' + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /राति|बिहान|दिउँसो|साँझ/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'राति') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'बिहान') { + return hour; + } else if (meridiem === 'दिउँसो') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'साँझ') { + return hour + 12; } - }); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 3) { + return 'राति'; + } else if (hour < 12) { + return 'बिहान'; + } else if (hour < 16) { + return 'दिउँसो'; + } else if (hour < 20) { + return 'साँझ'; + } else { + return 'राति'; + } + }, + calendar : { + sameDay : '[आज] LT', + nextDay : '[भोलि] LT', + nextWeek : '[आउँदो] dddd[,] LT', + lastDay : '[हिजो] LT', + lastWeek : '[गएको] dddd[,] LT', + sameElse : 'L' + }, + relativeTime : { + future : '%sमा', + past : '%s अगाडि', + s : 'केही क्षण', + m : 'एक मिनेट', + mm : '%d मिनेट', + h : 'एक घण्टा', + hh : '%d घण्टा', + d : 'एक दिन', + dd : '%d दिन', + M : 'एक महिना', + MM : '%d महिना', + y : 'एक बर्ष', + yy : '%d बर्ष' + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); - return ne; + return ne; - })); + }))); -/***/ }, -/* 467 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 480 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Dutch [nl] @@ -62177,524 +63949,627 @@ //! author : Jacob Middag : https://github.com/middagj ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'), - monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'); + var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'); + var monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'); - var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]; - var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]; + var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; - var nl = moment.defineLocale('nl', { - months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), - monthsShort : function (m, format) { - if (/-MMM-/.test(format)) { - return monthsShortWithoutDots[m.month()]; - } else { - return monthsShortWithDots[m.month()]; - } - }, + var nl = moment.defineLocale('nl', { + months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), + monthsShort : function (m, format) { + if (!m) { + return monthsShortWithDots; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; + } + }, - monthsRegex: monthsRegex, - monthsShortRegex: monthsRegex, - monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i, - monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, - - monthsParse : monthsParse, - longMonthsParse : monthsParse, - shortMonthsParse : monthsParse, - - weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), - weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'), - weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD-MM-YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd D MMMM YYYY HH:mm' - }, - calendar : { - sameDay: '[vandaag om] LT', - nextDay: '[morgen om] LT', - nextWeek: 'dddd [om] LT', - lastDay: '[gisteren om] LT', - lastWeek: '[afgelopen] dddd [om] LT', - sameElse: 'L' - }, - relativeTime : { - future : 'over %s', - past : '%s geleden', - s : 'een paar seconden', - m : 'één minuut', - mm : '%d minuten', - h : 'één uur', - hh : '%d uur', - d : 'één dag', - dd : '%d dagen', - M : 'één maand', - MM : '%d maanden', - y : 'één jaar', - yy : '%d jaar' - }, - ordinalParse: /\d{1,2}(ste|de)/, - ordinal : function (number) { - return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i, + monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, + + monthsParse : monthsParse, + longMonthsParse : monthsParse, + shortMonthsParse : monthsParse, + + weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD-MM-YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[vandaag om] LT', + nextDay: '[morgen om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[gisteren om] LT', + lastWeek: '[afgelopen] dddd [om] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'over %s', + past : '%s geleden', + s : 'een paar seconden', + m : 'één minuut', + mm : '%d minuten', + h : 'één uur', + hh : '%d uur', + d : 'één dag', + dd : '%d dagen', + M : 'één maand', + MM : '%d maanden', + y : 'één jaar', + yy : '%d jaar' + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal : function (number) { + return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return nl; + + }))); + + +/***/ }), +/* 481 */ +/***/ (function(module, exports, __webpack_require__) { + + //! moment.js locale configuration + //! locale : Dutch (Belgium) [nl-be] + //! author : Joris Röling : https://github.com/jorisroling + //! author : Jacob Middag : https://github.com/middagj + + ;(function (global, factory) { + true ? factory(__webpack_require__(403)) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) + }(this, (function (moment) { 'use strict'; + + + var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'); + var monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'); + + var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]; + var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + + var nlBe = moment.defineLocale('nl-be', { + months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), + monthsShort : function (m, format) { + if (!m) { + return monthsShortWithDots; + } else if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; } - }); + }, - return nl; + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i, + monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, + + monthsParse : monthsParse, + longMonthsParse : monthsParse, + shortMonthsParse : monthsParse, + + weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[vandaag om] LT', + nextDay: '[morgen om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[gisteren om] LT', + lastWeek: '[afgelopen] dddd [om] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'over %s', + past : '%s geleden', + s : 'een paar seconden', + m : 'één minuut', + mm : '%d minuten', + h : 'één uur', + hh : '%d uur', + d : 'één dag', + dd : '%d dagen', + M : 'één maand', + MM : '%d maanden', + y : 'één jaar', + yy : '%d jaar' + }, + dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, + ordinal : function (number) { + return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - })); + return nlBe; + + }))); -/***/ }, -/* 468 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 482 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Nynorsk [nn] //! author : https://github.com/mechuwind ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var nn = moment.defineLocale('nn', { - months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'), - monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), - weekdays : 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'), - weekdaysShort : 'sun_mån_tys_ons_tor_fre_lau'.split('_'), - weekdaysMin : 'su_må_ty_on_to_fr_lø'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D. MMMM YYYY', - LLL : 'D. MMMM YYYY [kl.] H:mm', - LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm' - }, - calendar : { - sameDay: '[I dag klokka] LT', - nextDay: '[I morgon klokka] LT', - nextWeek: 'dddd [klokka] LT', - lastDay: '[I går klokka] LT', - lastWeek: '[Føregåande] dddd [klokka] LT', - sameElse: 'L' - }, - relativeTime : { - future : 'om %s', - past : '%s sidan', - s : 'nokre sekund', - m : 'eit minutt', - mm : '%d minutt', - h : 'ein time', - hh : '%d timar', - d : 'ein dag', - dd : '%d dagar', - M : 'ein månad', - MM : '%d månader', - y : 'eit år', - yy : '%d år' - }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var nn = moment.defineLocale('nn', { + months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'), + monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), + weekdays : 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'), + weekdaysShort : 'sun_mån_tys_ons_tor_fre_lau'.split('_'), + weekdaysMin : 'su_må_ty_on_to_fr_lø'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY [kl.] H:mm', + LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm' + }, + calendar : { + sameDay: '[I dag klokka] LT', + nextDay: '[I morgon klokka] LT', + nextWeek: 'dddd [klokka] LT', + lastDay: '[I går klokka] LT', + lastWeek: '[Føregåande] dddd [klokka] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'om %s', + past : '%s sidan', + s : 'nokre sekund', + m : 'eit minutt', + mm : '%d minutt', + h : 'ein time', + hh : '%d timar', + d : 'ein dag', + dd : '%d dagar', + M : 'ein månad', + MM : '%d månader', + y : 'eit år', + yy : '%d år' + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return nn; + return nn; - })); + }))); -/***/ }, -/* 469 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 483 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Punjabi (India) [pa-in] //! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var symbolMap = { - '1': '੧', - '2': '੨', - '3': '੩', - '4': '੪', - '5': '੫', - '6': '੬', - '7': '੭', - '8': '੮', - '9': '੯', - '0': '੦' - }, - numberMap = { - '੧': '1', - '੨': '2', - '੩': '3', - '੪': '4', - '੫': '5', - '੬': '6', - '੭': '7', - '੮': '8', - '੯': '9', - '੦': '0' - }; - - var pa_in = moment.defineLocale('pa-in', { - // There are months name as per Nanakshahi Calender but they are not used as rigidly in modern Punjabi. - months : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'), - monthsShort : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'), - weekdays : 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split('_'), - weekdaysShort : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), - weekdaysMin : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), - longDateFormat : { - LT : 'A h:mm ਵਜੇ', - LTS : 'A h:mm:ss ਵਜੇ', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY, A h:mm ਵਜੇ', - LLLL : 'dddd, D MMMM YYYY, A h:mm ਵਜੇ' - }, - calendar : { - sameDay : '[ਅਜ] LT', - nextDay : '[ਕਲ] LT', - nextWeek : 'dddd, LT', - lastDay : '[ਕਲ] LT', - lastWeek : '[ਪਿਛਲੇ] dddd, LT', - sameElse : 'L' - }, - relativeTime : { - future : '%s ਵਿੱਚ', - past : '%s ਪਿਛਲੇ', - s : 'ਕੁਝ ਸਕਿੰਟ', - m : 'ਇਕ ਮਿੰਟ', - mm : '%d ਮਿੰਟ', - h : 'ਇੱਕ ਘੰਟਾ', - hh : '%d ਘੰਟੇ', - d : 'ਇੱਕ ਦਿਨ', - dd : '%d ਦਿਨ', - M : 'ਇੱਕ ਮਹੀਨਾ', - MM : '%d ਮਹੀਨੇ', - y : 'ਇੱਕ ਸਾਲ', - yy : '%d ਸਾਲ' - }, - preparse: function (string) { - return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) { - return numberMap[match]; - }); - }, - postformat: function (string) { - return string.replace(/\d/g, function (match) { - return symbolMap[match]; - }); - }, - // Punjabi notation for meridiems are quite fuzzy in practice. While there exists - // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi. - meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/, - meridiemHour : function (hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if (meridiem === 'ਰਾਤ') { - return hour < 4 ? hour : hour + 12; - } else if (meridiem === 'ਸਵੇਰ') { - return hour; - } else if (meridiem === 'ਦੁਪਹਿਰ') { - return hour >= 10 ? hour : hour + 12; - } else if (meridiem === 'ਸ਼ਾਮ') { - return hour + 12; - } - }, - meridiem : function (hour, minute, isLower) { - if (hour < 4) { - return 'ਰਾਤ'; - } else if (hour < 10) { - return 'ਸਵੇਰ'; - } else if (hour < 17) { - return 'ਦੁਪਹਿਰ'; - } else if (hour < 20) { - return 'ਸ਼ਾਮ'; - } else { - return 'ਰਾਤ'; - } - }, - week : { - dow : 0, // Sunday is the first day of the week. - doy : 6 // The week that contains Jan 1st is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var symbolMap = { + '1': '੧', + '2': '੨', + '3': '੩', + '4': '੪', + '5': '੫', + '6': '੬', + '7': '੭', + '8': '੮', + '9': '੯', + '0': '੦' + }; + var numberMap = { + '੧': '1', + '੨': '2', + '੩': '3', + '੪': '4', + '੫': '5', + '੬': '6', + '੭': '7', + '੮': '8', + '੯': '9', + '੦': '0' + }; + + var paIn = moment.defineLocale('pa-in', { + // There are months name as per Nanakshahi Calender but they are not used as rigidly in modern Punjabi. + months : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'), + monthsShort : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'), + weekdays : 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split('_'), + weekdaysShort : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + weekdaysMin : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + longDateFormat : { + LT : 'A h:mm ਵਜੇ', + LTS : 'A h:mm:ss ਵਜੇ', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, A h:mm ਵਜੇ', + LLLL : 'dddd, D MMMM YYYY, A h:mm ਵਜੇ' + }, + calendar : { + sameDay : '[ਅਜ] LT', + nextDay : '[ਕਲ] LT', + nextWeek : 'dddd, LT', + lastDay : '[ਕਲ] LT', + lastWeek : '[ਪਿਛਲੇ] dddd, LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s ਵਿੱਚ', + past : '%s ਪਿਛਲੇ', + s : 'ਕੁਝ ਸਕਿੰਟ', + m : 'ਇਕ ਮਿੰਟ', + mm : '%d ਮਿੰਟ', + h : 'ਇੱਕ ਘੰਟਾ', + hh : '%d ਘੰਟੇ', + d : 'ਇੱਕ ਦਿਨ', + dd : '%d ਦਿਨ', + M : 'ਇੱਕ ਮਹੀਨਾ', + MM : '%d ਮਹੀਨੇ', + y : 'ਇੱਕ ਸਾਲ', + yy : '%d ਸਾਲ' + }, + preparse: function (string) { + return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // Punjabi notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi. + meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ਰਾਤ') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ਸਵੇਰ') { + return hour; + } else if (meridiem === 'ਦੁਪਹਿਰ') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'ਸ਼ਾਮ') { + return hour + 12; } - }); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'ਰਾਤ'; + } else if (hour < 10) { + return 'ਸਵੇਰ'; + } else if (hour < 17) { + return 'ਦੁਪਹਿਰ'; + } else if (hour < 20) { + return 'ਸ਼ਾਮ'; + } else { + return 'ਰਾਤ'; + } + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); - return pa_in; + return paIn; - })); + }))); -/***/ }, -/* 470 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 484 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Polish [pl] //! author : Rafal Hirsz : https://github.com/evoL ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'), - monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_'); - function plural(n) { - return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 10) !== 1); - } - function translate(number, withoutSuffix, key) { - var result = number + ' '; - switch (key) { - case 'm': - return withoutSuffix ? 'minuta' : 'minutę'; - case 'mm': - return result + (plural(number) ? 'minuty' : 'minut'); - case 'h': - return withoutSuffix ? 'godzina' : 'godzinę'; - case 'hh': - return result + (plural(number) ? 'godziny' : 'godzin'); - case 'MM': - return result + (plural(number) ? 'miesiące' : 'miesięcy'); - case 'yy': - return result + (plural(number) ? 'lata' : 'lat'); - } - } - - var pl = moment.defineLocale('pl', { - months : function (momentToFormat, format) { - if (format === '') { - // Hack: if format empty we know this is used to generate - // RegExp by moment. Give then back both valid forms of months - // in RegExp ready format. - return '(' + monthsSubjective[momentToFormat.month()] + '|' + monthsNominative[momentToFormat.month()] + ')'; - } else if (/D MMMM/.test(format)) { - return monthsSubjective[momentToFormat.month()]; - } else { - return monthsNominative[momentToFormat.month()]; - } - }, - monthsShort : 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'), - weekdays : 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'), - weekdaysShort : 'nie_pon_wt_śr_czw_pt_sb'.split('_'), - weekdaysMin : 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd, D MMMM YYYY HH:mm' - }, - calendar : { - sameDay: '[Dziś o] LT', - nextDay: '[Jutro o] LT', - nextWeek: '[W] dddd [o] LT', - lastDay: '[Wczoraj o] LT', - lastWeek: function () { - switch (this.day()) { - case 0: - return '[W zeszłą niedzielę o] LT'; - case 3: - return '[W zeszłą środę o] LT'; - case 6: - return '[W zeszłą sobotę o] LT'; - default: - return '[W zeszły] dddd [o] LT'; - } - }, - sameElse: 'L' - }, - relativeTime : { - future : 'za %s', - past : '%s temu', - s : 'kilka sekund', - m : translate, - mm : translate, - h : translate, - hh : translate, - d : '1 dzień', - dd : '%d dni', - M : 'miesiąc', - MM : translate, - y : 'rok', - yy : translate - }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'); + var monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_'); + function plural(n) { + return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 10) !== 1); + } + function translate(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'm': + return withoutSuffix ? 'minuta' : 'minutę'; + case 'mm': + return result + (plural(number) ? 'minuty' : 'minut'); + case 'h': + return withoutSuffix ? 'godzina' : 'godzinę'; + case 'hh': + return result + (plural(number) ? 'godziny' : 'godzin'); + case 'MM': + return result + (plural(number) ? 'miesiące' : 'miesięcy'); + case 'yy': + return result + (plural(number) ? 'lata' : 'lat'); + } + } + + var pl = moment.defineLocale('pl', { + months : function (momentToFormat, format) { + if (!momentToFormat) { + return monthsNominative; + } else if (format === '') { + // Hack: if format empty we know this is used to generate + // RegExp by moment. Give then back both valid forms of months + // in RegExp ready format. + return '(' + monthsSubjective[momentToFormat.month()] + '|' + monthsNominative[momentToFormat.month()] + ')'; + } else if (/D MMMM/.test(format)) { + return monthsSubjective[momentToFormat.month()]; + } else { + return monthsNominative[momentToFormat.month()]; } - }); + }, + monthsShort : 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'), + weekdays : 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'), + weekdaysShort : 'ndz_pon_wt_śr_czw_pt_sob'.split('_'), + weekdaysMin : 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[Dziś o] LT', + nextDay: '[Jutro o] LT', + nextWeek: '[W] dddd [o] LT', + lastDay: '[Wczoraj o] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[W zeszłą niedzielę o] LT'; + case 3: + return '[W zeszłą środę o] LT'; + case 6: + return '[W zeszłą sobotę o] LT'; + default: + return '[W zeszły] dddd [o] LT'; + } + }, + sameElse: 'L' + }, + relativeTime : { + future : 'za %s', + past : '%s temu', + s : 'kilka sekund', + m : translate, + mm : translate, + h : translate, + hh : translate, + d : '1 dzień', + dd : '%d dni', + M : 'miesiąc', + MM : translate, + y : 'rok', + yy : translate + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return pl; + return pl; - })); + }))); -/***/ }, -/* 471 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 485 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Portuguese [pt] //! author : Jefferson : https://github.com/jalex79 ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var pt = moment.defineLocale('pt', { - months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'), - monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), - weekdays : 'Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado'.split('_'), - weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), - weekdaysMin : 'Dom_2ª_3ª_4ª_5ª_6ª_Sáb'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D [de] MMMM [de] YYYY', - LLL : 'D [de] MMMM [de] YYYY HH:mm', - LLLL : 'dddd, D [de] MMMM [de] YYYY HH:mm' - }, - calendar : { - sameDay: '[Hoje às] LT', - nextDay: '[Amanhã às] LT', - nextWeek: 'dddd [às] LT', - lastDay: '[Ontem às] LT', - lastWeek: function () { - return (this.day() === 0 || this.day() === 6) ? - '[Último] dddd [às] LT' : // Saturday + Sunday - '[Última] dddd [às] LT'; // Monday - Friday - }, - sameElse: 'L' - }, - relativeTime : { - future : 'em %s', - past : 'há %s', - s : 'segundos', - m : 'um minuto', - mm : '%d minutos', - h : 'uma hora', - hh : '%d horas', - d : 'um dia', - dd : '%d dias', - M : 'um mês', - MM : '%d meses', - y : 'um ano', - yy : '%d anos' + }(this, (function (moment) { 'use strict'; + + + var pt = moment.defineLocale('pt', { + months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'), + monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), + weekdays : 'Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado'.split('_'), + weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), + weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D [de] MMMM [de] YYYY', + LLL : 'D [de] MMMM [de] YYYY HH:mm', + LLLL : 'dddd, D [de] MMMM [de] YYYY HH:mm' + }, + calendar : { + sameDay: '[Hoje às] LT', + nextDay: '[Amanhã às] LT', + nextWeek: 'dddd [às] LT', + lastDay: '[Ontem às] LT', + lastWeek: function () { + return (this.day() === 0 || this.day() === 6) ? + '[Último] dddd [às] LT' : // Saturday + Sunday + '[Última] dddd [às] LT'; // Monday - Friday }, - ordinalParse: /\d{1,2}º/, - ordinal : '%dº', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + sameElse: 'L' + }, + relativeTime : { + future : 'em %s', + past : 'há %s', + s : 'segundos', + m : 'um minuto', + mm : '%d minutos', + h : 'uma hora', + hh : '%d horas', + d : 'um dia', + dd : '%d dias', + M : 'um mês', + MM : '%d meses', + y : 'um ano', + yy : '%d anos' + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal : '%dº', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return pt; + return pt; - })); + }))); -/***/ }, -/* 472 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 486 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Portuguese (Brazil) [pt-br] //! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var pt_br = moment.defineLocale('pt-br', { - months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'), - monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), - weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'), - weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), - weekdaysMin : 'Dom_2ª_3ª_4ª_5ª_6ª_Sáb'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D [de] MMMM [de] YYYY', - LLL : 'D [de] MMMM [de] YYYY [às] HH:mm', - LLLL : 'dddd, D [de] MMMM [de] YYYY [às] HH:mm' - }, - calendar : { - sameDay: '[Hoje às] LT', - nextDay: '[Amanhã às] LT', - nextWeek: 'dddd [às] LT', - lastDay: '[Ontem às] LT', - lastWeek: function () { - return (this.day() === 0 || this.day() === 6) ? - '[Último] dddd [às] LT' : // Saturday + Sunday - '[Última] dddd [às] LT'; // Monday - Friday - }, - sameElse: 'L' - }, - relativeTime : { - future : 'em %s', - past : '%s atrás', - s : 'poucos segundos', - m : 'um minuto', - mm : '%d minutos', - h : 'uma hora', - hh : '%d horas', - d : 'um dia', - dd : '%d dias', - M : 'um mês', - MM : '%d meses', - y : 'um ano', - yy : '%d anos' + }(this, (function (moment) { 'use strict'; + + + var ptBr = moment.defineLocale('pt-br', { + months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'), + monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), + weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'), + weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), + weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D [de] MMMM [de] YYYY', + LLL : 'D [de] MMMM [de] YYYY [às] HH:mm', + LLLL : 'dddd, D [de] MMMM [de] YYYY [às] HH:mm' + }, + calendar : { + sameDay: '[Hoje às] LT', + nextDay: '[Amanhã às] LT', + nextWeek: 'dddd [às] LT', + lastDay: '[Ontem às] LT', + lastWeek: function () { + return (this.day() === 0 || this.day() === 6) ? + '[Último] dddd [às] LT' : // Saturday + Sunday + '[Última] dddd [às] LT'; // Monday - Friday }, - ordinalParse: /\d{1,2}º/, - ordinal : '%dº' - }); + sameElse: 'L' + }, + relativeTime : { + future : 'em %s', + past : '%s atrás', + s : 'poucos segundos', + m : 'um minuto', + mm : '%d minutos', + h : 'uma hora', + hh : '%d horas', + d : 'um dia', + dd : '%d dias', + M : 'um mês', + MM : '%d meses', + y : 'um ano', + yy : '%d anos' + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal : '%dº' + }); - return pt_br; + return ptBr; - })); + }))); -/***/ }, -/* 473 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 487 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Romanian [ro] @@ -62702,78 +64577,79 @@ //! author : Valentin Agachi : https://github.com/avaly ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - function relativeTimeWithPlural(number, withoutSuffix, key) { - var format = { - 'mm': 'minute', - 'hh': 'ore', - 'dd': 'zile', - 'MM': 'luni', - 'yy': 'ani' - }, - separator = ' '; - if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) { - separator = ' de '; - } - return number + separator + format[key]; - } - - var ro = moment.defineLocale('ro', { - months : 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split('_'), - monthsShort : 'ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split('_'), - monthsParseExact: true, - weekdays : 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'), - weekdaysShort : 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'), - weekdaysMin : 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'), - longDateFormat : { - LT : 'H:mm', - LTS : 'H:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY H:mm', - LLLL : 'dddd, D MMMM YYYY H:mm' - }, - calendar : { - sameDay: '[azi la] LT', - nextDay: '[mâine la] LT', - nextWeek: 'dddd [la] LT', - lastDay: '[ieri la] LT', - lastWeek: '[fosta] dddd [la] LT', - sameElse: 'L' + function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + 'mm': 'minute', + 'hh': 'ore', + 'dd': 'zile', + 'MM': 'luni', + 'yy': 'ani' }, - relativeTime : { - future : 'peste %s', - past : '%s în urmă', - s : 'câteva secunde', - m : 'un minut', - mm : relativeTimeWithPlural, - h : 'o oră', - hh : relativeTimeWithPlural, - d : 'o zi', - dd : relativeTimeWithPlural, - M : 'o lună', - MM : relativeTimeWithPlural, - y : 'un an', - yy : relativeTimeWithPlural - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. - } - }); + separator = ' '; + if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) { + separator = ' de '; + } + return number + separator + format[key]; + } + + var ro = moment.defineLocale('ro', { + months : 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split('_'), + monthsShort : 'ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays : 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'), + weekdaysShort : 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'), + weekdaysMin : 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'), + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY H:mm', + LLLL : 'dddd, D MMMM YYYY H:mm' + }, + calendar : { + sameDay: '[azi la] LT', + nextDay: '[mâine la] LT', + nextWeek: 'dddd [la] LT', + lastDay: '[ieri la] LT', + lastWeek: '[fosta] dddd [la] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'peste %s', + past : '%s în urmă', + s : 'câteva secunde', + m : 'un minut', + mm : relativeTimeWithPlural, + h : 'o oră', + hh : relativeTimeWithPlural, + d : 'o zi', + dd : relativeTimeWithPlural, + M : 'o lună', + MM : relativeTimeWithPlural, + y : 'un an', + yy : relativeTimeWithPlural + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return ro; + return ro; - })); + }))); -/***/ }, -/* 474 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 488 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Russian [ru] @@ -62782,325 +64658,431 @@ //! author : Коренберг Марк : https://github.com/socketpair ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - function plural(word, num) { - var forms = word.split('_'); - return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]); + function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]); + } + function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + 'mm': withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут', + 'hh': 'час_часа_часов', + 'dd': 'день_дня_дней', + 'MM': 'месяц_месяца_месяцев', + 'yy': 'год_года_лет' + }; + if (key === 'm') { + return withoutSuffix ? 'минута' : 'минуту'; } - function relativeTimeWithPlural(number, withoutSuffix, key) { - var format = { - 'mm': withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут', - 'hh': 'час_часа_часов', - 'dd': 'день_дня_дней', - 'MM': 'месяц_месяца_месяцев', - 'yy': 'год_года_лет' - }; - if (key === 'm') { - return withoutSuffix ? 'минута' : 'минуту'; - } - else { - return number + ' ' + plural(format[key], +number); - } + else { + return number + ' ' + plural(format[key], +number); } - var monthsParse = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i]; + } + var monthsParse = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i]; - // http://new.gramota.ru/spravka/rules/139-prop : § 103 - // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637 - // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753 - var ru = moment.defineLocale('ru', { - months : { - format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_'), - standalone: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_') - }, - monthsShort : { - // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку ? - format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split('_'), - standalone: 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split('_') - }, - weekdays : { - standalone: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split('_'), - format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split('_'), - isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/ - }, - weekdaysShort : 'вс_пн_вт_ср_чт_пт_сб'.split('_'), - weekdaysMin : 'вс_пн_вт_ср_чт_пт_сб'.split('_'), - monthsParse : monthsParse, - longMonthsParse : monthsParse, - shortMonthsParse : monthsParse, - - // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки - monthsRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, - - // копия предыдущего - monthsShortRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, - - // полные названия с падежами - monthsStrictRegex: /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i, - - // Выражение, которое соотвествует только сокращённым формам - monthsShortStrictRegex: /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D MMMM YYYY г.', - LLL : 'D MMMM YYYY г., HH:mm', - LLLL : 'dddd, D MMMM YYYY г., HH:mm' - }, - calendar : { - sameDay: '[Сегодня в] LT', - nextDay: '[Завтра в] LT', - lastDay: '[Вчера в] LT', - nextWeek: function (now) { - if (now.week() !== this.week()) { - switch (this.day()) { - case 0: - return '[В следующее] dddd [в] LT'; - case 1: - case 2: - case 4: - return '[В следующий] dddd [в] LT'; - case 3: - case 5: - case 6: - return '[В следующую] dddd [в] LT'; - } - } else { - if (this.day() === 2) { - return '[Во] dddd [в] LT'; - } else { - return '[В] dddd [в] LT'; - } + // http://new.gramota.ru/spravka/rules/139-prop : § 103 + // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637 + // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753 + var ru = moment.defineLocale('ru', { + months : { + format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_'), + standalone: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_') + }, + monthsShort : { + // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку ? + format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split('_'), + standalone: 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split('_') + }, + weekdays : { + standalone: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split('_'), + format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split('_'), + isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/ + }, + weekdaysShort : 'вс_пн_вт_ср_чт_пт_сб'.split('_'), + weekdaysMin : 'вс_пн_вт_ср_чт_пт_сб'.split('_'), + monthsParse : monthsParse, + longMonthsParse : monthsParse, + shortMonthsParse : monthsParse, + + // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки + monthsRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, + + // копия предыдущего + monthsShortRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, + + // полные названия с падежами + monthsStrictRegex: /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i, + + // Выражение, которое соотвествует только сокращённым формам + monthsShortStrictRegex: /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY г.', + LLL : 'D MMMM YYYY г., HH:mm', + LLLL : 'dddd, D MMMM YYYY г., HH:mm' + }, + calendar : { + sameDay: '[Сегодня в] LT', + nextDay: '[Завтра в] LT', + lastDay: '[Вчера в] LT', + nextWeek: function (now) { + if (now.week() !== this.week()) { + switch (this.day()) { + case 0: + return '[В следующее] dddd [в] LT'; + case 1: + case 2: + case 4: + return '[В следующий] dddd [в] LT'; + case 3: + case 5: + case 6: + return '[В следующую] dddd [в] LT'; } - }, - lastWeek: function (now) { - if (now.week() !== this.week()) { - switch (this.day()) { - case 0: - return '[В прошлое] dddd [в] LT'; - case 1: - case 2: - case 4: - return '[В прошлый] dddd [в] LT'; - case 3: - case 5: - case 6: - return '[В прошлую] dddd [в] LT'; - } + } else { + if (this.day() === 2) { + return '[Во] dddd [в] LT'; } else { - if (this.day() === 2) { - return '[Во] dddd [в] LT'; - } else { - return '[В] dddd [в] LT'; - } + return '[В] dddd [в] LT'; } - }, - sameElse: 'L' - }, - relativeTime : { - future : 'через %s', - past : '%s назад', - s : 'несколько секунд', - m : relativeTimeWithPlural, - mm : relativeTimeWithPlural, - h : 'час', - hh : relativeTimeWithPlural, - d : 'день', - dd : relativeTimeWithPlural, - M : 'месяц', - MM : relativeTimeWithPlural, - y : 'год', - yy : relativeTimeWithPlural - }, - meridiemParse: /ночи|утра|дня|вечера/i, - isPM : function (input) { - return /^(дня|вечера)$/.test(input); - }, - meridiem : function (hour, minute, isLower) { - if (hour < 4) { - return 'ночи'; - } else if (hour < 12) { - return 'утра'; - } else if (hour < 17) { - return 'дня'; - } else { - return 'вечера'; } }, - ordinalParse: /\d{1,2}-(й|го|я)/, - ordinal: function (number, period) { - switch (period) { - case 'M': - case 'd': - case 'DDD': - return number + '-й'; - case 'D': - return number + '-го'; - case 'w': - case 'W': - return number + '-я'; - default: - return number; + lastWeek: function (now) { + if (now.week() !== this.week()) { + switch (this.day()) { + case 0: + return '[В прошлое] dddd [в] LT'; + case 1: + case 2: + case 4: + return '[В прошлый] dddd [в] LT'; + case 3: + case 5: + case 6: + return '[В прошлую] dddd [в] LT'; + } + } else { + if (this.day() === 2) { + return '[Во] dddd [в] LT'; + } else { + return '[В] dddd [в] LT'; + } } }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. + sameElse: 'L' + }, + relativeTime : { + future : 'через %s', + past : '%s назад', + s : 'несколько секунд', + m : relativeTimeWithPlural, + mm : relativeTimeWithPlural, + h : 'час', + hh : relativeTimeWithPlural, + d : 'день', + dd : relativeTimeWithPlural, + M : 'месяц', + MM : relativeTimeWithPlural, + y : 'год', + yy : relativeTimeWithPlural + }, + meridiemParse: /ночи|утра|дня|вечера/i, + isPM : function (input) { + return /^(дня|вечера)$/.test(input); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'ночи'; + } else if (hour < 12) { + return 'утра'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечера'; } - }); + }, + dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + return number + '-й'; + case 'D': + return number + '-го'; + case 'w': + case 'W': + return number + '-я'; + default: + return number; + } + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return ru; + return ru; - })); + }))); -/***/ }, -/* 475 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 489 */ +/***/ (function(module, exports, __webpack_require__) { + + //! moment.js locale configuration + //! locale : Sindhi [sd] + //! author : Narain Sagar : https://github.com/narainsagar + + ;(function (global, factory) { + true ? factory(__webpack_require__(403)) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) + }(this, (function (moment) { 'use strict'; + + + var months = [ + 'جنوري', + 'فيبروري', + 'مارچ', + 'اپريل', + 'مئي', + 'جون', + 'جولاءِ', + 'آگسٽ', + 'سيپٽمبر', + 'آڪٽوبر', + 'نومبر', + 'ڊسمبر' + ]; + var days = [ + 'آچر', + 'سومر', + 'اڱارو', + 'اربع', + 'خميس', + 'جمع', + 'ڇنڇر' + ]; + + var sd = moment.defineLocale('sd', { + months : months, + monthsShort : months, + weekdays : days, + weekdaysShort : days, + weekdaysMin : days, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd، D MMMM YYYY HH:mm' + }, + meridiemParse: /صبح|شام/, + isPM : function (input) { + return 'شام' === input; + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return 'صبح'; + } + return 'شام'; + }, + calendar : { + sameDay : '[اڄ] LT', + nextDay : '[سڀاڻي] LT', + nextWeek : 'dddd [اڳين هفتي تي] LT', + lastDay : '[ڪالهه] LT', + lastWeek : '[گزريل هفتي] dddd [تي] LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s پوء', + past : '%s اڳ', + s : 'چند سيڪنڊ', + m : 'هڪ منٽ', + mm : '%d منٽ', + h : 'هڪ ڪلاڪ', + hh : '%d ڪلاڪ', + d : 'هڪ ڏينهن', + dd : '%d ڏينهن', + M : 'هڪ مهينو', + MM : '%d مهينا', + y : 'هڪ سال', + yy : '%d سال' + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return sd; + + }))); + + +/***/ }), +/* 490 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Northern Sami [se] //! authors : Bård Rolstad Henriksen : https://github.com/karamell ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - - var se = moment.defineLocale('se', { - months : 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split('_'), - monthsShort : 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'), - weekdays : 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'), - weekdaysShort : 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'), - weekdaysMin : 's_v_m_g_d_b_L'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD.MM.YYYY', - LL : 'MMMM D. [b.] YYYY', - LLL : 'MMMM D. [b.] YYYY [ti.] HH:mm', - LLLL : 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm' - }, - calendar : { - sameDay: '[otne ti] LT', - nextDay: '[ihttin ti] LT', - nextWeek: 'dddd [ti] LT', - lastDay: '[ikte ti] LT', - lastWeek: '[ovddit] dddd [ti] LT', - sameElse: 'L' - }, - relativeTime : { - future : '%s geažes', - past : 'maŋit %s', - s : 'moadde sekunddat', - m : 'okta minuhta', - mm : '%d minuhtat', - h : 'okta diimmu', - hh : '%d diimmut', - d : 'okta beaivi', - dd : '%d beaivvit', - M : 'okta mánnu', - MM : '%d mánut', - y : 'okta jahki', - yy : '%d jagit' - }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + + var se = moment.defineLocale('se', { + months : 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split('_'), + monthsShort : 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'), + weekdays : 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'), + weekdaysShort : 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'), + weekdaysMin : 's_v_m_g_d_b_L'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'MMMM D. [b.] YYYY', + LLL : 'MMMM D. [b.] YYYY [ti.] HH:mm', + LLLL : 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm' + }, + calendar : { + sameDay: '[otne ti] LT', + nextDay: '[ihttin ti] LT', + nextWeek: 'dddd [ti] LT', + lastDay: '[ikte ti] LT', + lastWeek: '[ovddit] dddd [ti] LT', + sameElse: 'L' + }, + relativeTime : { + future : '%s geažes', + past : 'maŋit %s', + s : 'moadde sekunddat', + m : 'okta minuhta', + mm : '%d minuhtat', + h : 'okta diimmu', + hh : '%d diimmut', + d : 'okta beaivi', + dd : '%d beaivvit', + M : 'okta mánnu', + MM : '%d mánut', + y : 'okta jahki', + yy : '%d jagit' + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return se; + return se; - })); + }))); -/***/ }, -/* 476 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 491 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Sinhalese [si] //! author : Sampath Sitinamaluwa : https://github.com/sampathsris ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - /*jshint -W100*/ - var si = moment.defineLocale('si', { - months : 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split('_'), - monthsShort : 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split('_'), - weekdays : 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split('_'), - weekdaysShort : 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'), - weekdaysMin : 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'a h:mm', - LTS : 'a h:mm:ss', - L : 'YYYY/MM/DD', - LL : 'YYYY MMMM D', - LLL : 'YYYY MMMM D, a h:mm', - LLLL : 'YYYY MMMM D [වැනි] dddd, a h:mm:ss' - }, - calendar : { - sameDay : '[අද] LT[ට]', - nextDay : '[හෙට] LT[ට]', - nextWeek : 'dddd LT[ට]', - lastDay : '[ඊයේ] LT[ට]', - lastWeek : '[පසුගිය] dddd LT[ට]', - sameElse : 'L' - }, - relativeTime : { - future : '%sකින්', - past : '%sකට පෙර', - s : 'තත්පර කිහිපය', - m : 'මිනිත්තුව', - mm : 'මිනිත්තු %d', - h : 'පැය', - hh : 'පැය %d', - d : 'දිනය', - dd : 'දින %d', - M : 'මාසය', - MM : 'මාස %d', - y : 'වසර', - yy : 'වසර %d' - }, - ordinalParse: /\d{1,2} වැනි/, - ordinal : function (number) { - return number + ' වැනි'; - }, - meridiemParse : /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./, - isPM : function (input) { - return input === 'ප.ව.' || input === 'පස් වරු'; - }, - meridiem : function (hours, minutes, isLower) { - if (hours > 11) { - return isLower ? 'ප.ව.' : 'පස් වරු'; - } else { - return isLower ? 'පෙ.ව.' : 'පෙර වරු'; - } + }(this, (function (moment) { 'use strict'; + + + /*jshint -W100*/ + var si = moment.defineLocale('si', { + months : 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split('_'), + monthsShort : 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split('_'), + weekdays : 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split('_'), + weekdaysShort : 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'), + weekdaysMin : 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'a h:mm', + LTS : 'a h:mm:ss', + L : 'YYYY/MM/DD', + LL : 'YYYY MMMM D', + LLL : 'YYYY MMMM D, a h:mm', + LLLL : 'YYYY MMMM D [වැනි] dddd, a h:mm:ss' + }, + calendar : { + sameDay : '[අද] LT[ට]', + nextDay : '[හෙට] LT[ට]', + nextWeek : 'dddd LT[ට]', + lastDay : '[ඊයේ] LT[ට]', + lastWeek : '[පසුගිය] dddd LT[ට]', + sameElse : 'L' + }, + relativeTime : { + future : '%sකින්', + past : '%sකට පෙර', + s : 'තත්පර කිහිපය', + m : 'මිනිත්තුව', + mm : 'මිනිත්තු %d', + h : 'පැය', + hh : 'පැය %d', + d : 'දිනය', + dd : 'දින %d', + M : 'මාසය', + MM : 'මාස %d', + y : 'වසර', + yy : 'වසර %d' + }, + dayOfMonthOrdinalParse: /\d{1,2} වැනි/, + ordinal : function (number) { + return number + ' වැනි'; + }, + meridiemParse : /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./, + isPM : function (input) { + return input === 'ප.ව.' || input === 'පස් වරු'; + }, + meridiem : function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'ප.ව.' : 'පස් වරු'; + } else { + return isLower ? 'පෙ.ව.' : 'පෙර වරු'; } - }); + } + }); - return si; + return si; - })); + }))); -/***/ }, -/* 477 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 492 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Slovak [sk] @@ -63108,319 +65090,321 @@ //! based on work of petrbela : https://github.com/petrbela ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var months = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'), - monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'); - function plural(n) { - return (n > 1) && (n < 5); - } - function translate(number, withoutSuffix, key, isFuture) { - var result = number + ' '; - switch (key) { - case 's': // a few seconds / in a few seconds / a few seconds ago - return (withoutSuffix || isFuture) ? 'pár sekúnd' : 'pár sekundami'; - case 'm': // a minute / in a minute / a minute ago - return withoutSuffix ? 'minúta' : (isFuture ? 'minútu' : 'minútou'); - case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago - if (withoutSuffix || isFuture) { - return result + (plural(number) ? 'minúty' : 'minút'); - } else { - return result + 'minútami'; - } - break; - case 'h': // an hour / in an hour / an hour ago - return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou'); - case 'hh': // 9 hours / in 9 hours / 9 hours ago - if (withoutSuffix || isFuture) { - return result + (plural(number) ? 'hodiny' : 'hodín'); - } else { - return result + 'hodinami'; - } - break; - case 'd': // a day / in a day / a day ago - return (withoutSuffix || isFuture) ? 'deň' : 'dňom'; - case 'dd': // 9 days / in 9 days / 9 days ago - if (withoutSuffix || isFuture) { - return result + (plural(number) ? 'dni' : 'dní'); - } else { - return result + 'dňami'; - } - break; - case 'M': // a month / in a month / a month ago - return (withoutSuffix || isFuture) ? 'mesiac' : 'mesiacom'; - case 'MM': // 9 months / in 9 months / 9 months ago - if (withoutSuffix || isFuture) { - return result + (plural(number) ? 'mesiace' : 'mesiacov'); - } else { - return result + 'mesiacmi'; - } - break; - case 'y': // a year / in a year / a year ago - return (withoutSuffix || isFuture) ? 'rok' : 'rokom'; - case 'yy': // 9 years / in 9 years / 9 years ago - if (withoutSuffix || isFuture) { - return result + (plural(number) ? 'roky' : 'rokov'); - } else { - return result + 'rokmi'; - } - break; - } + }(this, (function (moment) { 'use strict'; + + + var months = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'); + var monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'); + function plural(n) { + return (n > 1) && (n < 5); + } + function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': // a few seconds / in a few seconds / a few seconds ago + return (withoutSuffix || isFuture) ? 'pár sekúnd' : 'pár sekundami'; + case 'm': // a minute / in a minute / a minute ago + return withoutSuffix ? 'minúta' : (isFuture ? 'minútu' : 'minútou'); + case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'minúty' : 'minút'); + } else { + return result + 'minútami'; + } + break; + case 'h': // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou'); + case 'hh': // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'hodiny' : 'hodín'); + } else { + return result + 'hodinami'; + } + break; + case 'd': // a day / in a day / a day ago + return (withoutSuffix || isFuture) ? 'deň' : 'dňom'; + case 'dd': // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'dni' : 'dní'); + } else { + return result + 'dňami'; + } + break; + case 'M': // a month / in a month / a month ago + return (withoutSuffix || isFuture) ? 'mesiac' : 'mesiacom'; + case 'MM': // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'mesiace' : 'mesiacov'); + } else { + return result + 'mesiacmi'; + } + break; + case 'y': // a year / in a year / a year ago + return (withoutSuffix || isFuture) ? 'rok' : 'rokom'; + case 'yy': // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'roky' : 'rokov'); + } else { + return result + 'rokmi'; + } + break; } + } - var sk = moment.defineLocale('sk', { - months : months, - monthsShort : monthsShort, - weekdays : 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'), - weekdaysShort : 'ne_po_ut_st_št_pi_so'.split('_'), - weekdaysMin : 'ne_po_ut_st_št_pi_so'.split('_'), - longDateFormat : { - LT: 'H:mm', - LTS : 'H:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D. MMMM YYYY', - LLL : 'D. MMMM YYYY H:mm', - LLLL : 'dddd D. MMMM YYYY H:mm' - }, - calendar : { - sameDay: '[dnes o] LT', - nextDay: '[zajtra o] LT', - nextWeek: function () { - switch (this.day()) { - case 0: - return '[v nedeľu o] LT'; - case 1: - case 2: - return '[v] dddd [o] LT'; - case 3: - return '[v stredu o] LT'; - case 4: - return '[vo štvrtok o] LT'; - case 5: - return '[v piatok o] LT'; - case 6: - return '[v sobotu o] LT'; - } - }, - lastDay: '[včera o] LT', - lastWeek: function () { - switch (this.day()) { - case 0: - return '[minulú nedeľu o] LT'; - case 1: - case 2: - return '[minulý] dddd [o] LT'; - case 3: - return '[minulú stredu o] LT'; - case 4: - case 5: - return '[minulý] dddd [o] LT'; - case 6: - return '[minulú sobotu o] LT'; - } - }, - sameElse: 'L' + var sk = moment.defineLocale('sk', { + months : months, + monthsShort : monthsShort, + weekdays : 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'), + weekdaysShort : 'ne_po_ut_st_št_pi_so'.split('_'), + weekdaysMin : 'ne_po_ut_st_št_pi_so'.split('_'), + longDateFormat : { + LT: 'H:mm', + LTS : 'H:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY H:mm', + LLLL : 'dddd D. MMMM YYYY H:mm' + }, + calendar : { + sameDay: '[dnes o] LT', + nextDay: '[zajtra o] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v nedeľu o] LT'; + case 1: + case 2: + return '[v] dddd [o] LT'; + case 3: + return '[v stredu o] LT'; + case 4: + return '[vo štvrtok o] LT'; + case 5: + return '[v piatok o] LT'; + case 6: + return '[v sobotu o] LT'; + } }, - relativeTime : { - future : 'za %s', - past : 'pred %s', - s : translate, - m : translate, - mm : translate, - h : translate, - hh : translate, - d : translate, - dd : translate, - M : translate, - MM : translate, - y : translate, - yy : translate + lastDay: '[včera o] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[minulú nedeľu o] LT'; + case 1: + case 2: + return '[minulý] dddd [o] LT'; + case 3: + return '[minulú stredu o] LT'; + case 4: + case 5: + return '[minulý] dddd [o] LT'; + case 6: + return '[minulú sobotu o] LT'; + } }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + sameElse: 'L' + }, + relativeTime : { + future : 'za %s', + past : 'pred %s', + s : translate, + m : translate, + mm : translate, + h : translate, + hh : translate, + d : translate, + dd : translate, + M : translate, + MM : translate, + y : translate, + yy : translate + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return sk; + return sk; - })); + }))); -/***/ }, -/* 478 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 493 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Slovenian [sl] //! author : Robert Sedovšek : https://github.com/sedovsek ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - function processRelativeTime(number, withoutSuffix, key, isFuture) { - var result = number + ' '; - switch (key) { - case 's': - return withoutSuffix || isFuture ? 'nekaj sekund' : 'nekaj sekundami'; - case 'm': - return withoutSuffix ? 'ena minuta' : 'eno minuto'; - case 'mm': - if (number === 1) { - result += withoutSuffix ? 'minuta' : 'minuto'; - } else if (number === 2) { - result += withoutSuffix || isFuture ? 'minuti' : 'minutama'; - } else if (number < 5) { - result += withoutSuffix || isFuture ? 'minute' : 'minutami'; - } else { - result += withoutSuffix || isFuture ? 'minut' : 'minutami'; - } - return result; - case 'h': - return withoutSuffix ? 'ena ura' : 'eno uro'; - case 'hh': - if (number === 1) { - result += withoutSuffix ? 'ura' : 'uro'; - } else if (number === 2) { - result += withoutSuffix || isFuture ? 'uri' : 'urama'; - } else if (number < 5) { - result += withoutSuffix || isFuture ? 'ure' : 'urami'; - } else { - result += withoutSuffix || isFuture ? 'ur' : 'urami'; - } - return result; - case 'd': - return withoutSuffix || isFuture ? 'en dan' : 'enim dnem'; - case 'dd': - if (number === 1) { - result += withoutSuffix || isFuture ? 'dan' : 'dnem'; - } else if (number === 2) { - result += withoutSuffix || isFuture ? 'dni' : 'dnevoma'; - } else { - result += withoutSuffix || isFuture ? 'dni' : 'dnevi'; - } - return result; - case 'M': - return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem'; - case 'MM': - if (number === 1) { - result += withoutSuffix || isFuture ? 'mesec' : 'mesecem'; - } else if (number === 2) { - result += withoutSuffix || isFuture ? 'meseca' : 'mesecema'; - } else if (number < 5) { - result += withoutSuffix || isFuture ? 'mesece' : 'meseci'; - } else { - result += withoutSuffix || isFuture ? 'mesecev' : 'meseci'; - } - return result; - case 'y': - return withoutSuffix || isFuture ? 'eno leto' : 'enim letom'; - case 'yy': - if (number === 1) { - result += withoutSuffix || isFuture ? 'leto' : 'letom'; - } else if (number === 2) { - result += withoutSuffix || isFuture ? 'leti' : 'letoma'; - } else if (number < 5) { - result += withoutSuffix || isFuture ? 'leta' : 'leti'; - } else { - result += withoutSuffix || isFuture ? 'let' : 'leti'; - } - return result; - } + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': + return withoutSuffix || isFuture ? 'nekaj sekund' : 'nekaj sekundami'; + case 'm': + return withoutSuffix ? 'ena minuta' : 'eno minuto'; + case 'mm': + if (number === 1) { + result += withoutSuffix ? 'minuta' : 'minuto'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'minuti' : 'minutama'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'minute' : 'minutami'; + } else { + result += withoutSuffix || isFuture ? 'minut' : 'minutami'; + } + return result; + case 'h': + return withoutSuffix ? 'ena ura' : 'eno uro'; + case 'hh': + if (number === 1) { + result += withoutSuffix ? 'ura' : 'uro'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'uri' : 'urama'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'ure' : 'urami'; + } else { + result += withoutSuffix || isFuture ? 'ur' : 'urami'; + } + return result; + case 'd': + return withoutSuffix || isFuture ? 'en dan' : 'enim dnem'; + case 'dd': + if (number === 1) { + result += withoutSuffix || isFuture ? 'dan' : 'dnem'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'dni' : 'dnevoma'; + } else { + result += withoutSuffix || isFuture ? 'dni' : 'dnevi'; + } + return result; + case 'M': + return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem'; + case 'MM': + if (number === 1) { + result += withoutSuffix || isFuture ? 'mesec' : 'mesecem'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'meseca' : 'mesecema'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'mesece' : 'meseci'; + } else { + result += withoutSuffix || isFuture ? 'mesecev' : 'meseci'; + } + return result; + case 'y': + return withoutSuffix || isFuture ? 'eno leto' : 'enim letom'; + case 'yy': + if (number === 1) { + result += withoutSuffix || isFuture ? 'leto' : 'letom'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'leti' : 'letoma'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'leta' : 'leti'; + } else { + result += withoutSuffix || isFuture ? 'let' : 'leti'; + } + return result; } + } - var sl = moment.defineLocale('sl', { - months : 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split('_'), - monthsShort : 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'), - monthsParseExact: true, - weekdays : 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'), - weekdaysShort : 'ned._pon._tor._sre._čet._pet._sob.'.split('_'), - weekdaysMin : 'ne_po_to_sr_če_pe_so'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'H:mm', - LTS : 'H:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D. MMMM YYYY', - LLL : 'D. MMMM YYYY H:mm', - LLLL : 'dddd, D. MMMM YYYY H:mm' - }, - calendar : { - sameDay : '[danes ob] LT', - nextDay : '[jutri ob] LT', - - nextWeek : function () { - switch (this.day()) { - case 0: - return '[v] [nedeljo] [ob] LT'; - case 3: - return '[v] [sredo] [ob] LT'; - case 6: - return '[v] [soboto] [ob] LT'; - case 1: - case 2: - case 4: - case 5: - return '[v] dddd [ob] LT'; - } - }, - lastDay : '[včeraj ob] LT', - lastWeek : function () { - switch (this.day()) { - case 0: - return '[prejšnjo] [nedeljo] [ob] LT'; - case 3: - return '[prejšnjo] [sredo] [ob] LT'; - case 6: - return '[prejšnjo] [soboto] [ob] LT'; - case 1: - case 2: - case 4: - case 5: - return '[prejšnji] dddd [ob] LT'; - } - }, - sameElse : 'L' + var sl = moment.defineLocale('sl', { + months : 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split('_'), + monthsShort : 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays : 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'), + weekdaysShort : 'ned._pon._tor._sre._čet._pet._sob.'.split('_'), + weekdaysMin : 'ne_po_to_sr_če_pe_so'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY H:mm', + LLLL : 'dddd, D. MMMM YYYY H:mm' + }, + calendar : { + sameDay : '[danes ob] LT', + nextDay : '[jutri ob] LT', + + nextWeek : function () { + switch (this.day()) { + case 0: + return '[v] [nedeljo] [ob] LT'; + case 3: + return '[v] [sredo] [ob] LT'; + case 6: + return '[v] [soboto] [ob] LT'; + case 1: + case 2: + case 4: + case 5: + return '[v] dddd [ob] LT'; + } }, - relativeTime : { - future : 'čez %s', - past : 'pred %s', - s : processRelativeTime, - m : processRelativeTime, - mm : processRelativeTime, - h : processRelativeTime, - hh : processRelativeTime, - d : processRelativeTime, - dd : processRelativeTime, - M : processRelativeTime, - MM : processRelativeTime, - y : processRelativeTime, - yy : processRelativeTime + lastDay : '[včeraj ob] LT', + lastWeek : function () { + switch (this.day()) { + case 0: + return '[prejšnjo] [nedeljo] [ob] LT'; + case 3: + return '[prejšnjo] [sredo] [ob] LT'; + case 6: + return '[prejšnjo] [soboto] [ob] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prejšnji] dddd [ob] LT'; + } }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. - } - }); + sameElse : 'L' + }, + relativeTime : { + future : 'čez %s', + past : 'pred %s', + s : processRelativeTime, + m : processRelativeTime, + mm : processRelativeTime, + h : processRelativeTime, + hh : processRelativeTime, + d : processRelativeTime, + dd : processRelativeTime, + M : processRelativeTime, + MM : processRelativeTime, + y : processRelativeTime, + yy : processRelativeTime + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return sl; + return sl; - })); + }))); -/***/ }, -/* 479 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 494 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Albanian [sq] @@ -63429,1016 +65413,1101 @@ //! author : Oerd Cukalla : https://github.com/oerd ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var sq = moment.defineLocale('sq', { - months : 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'), - monthsShort : 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'), - weekdays : 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'), - weekdaysShort : 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'), - weekdaysMin : 'D_H_Ma_Më_E_P_Sh'.split('_'), - weekdaysParseExact : true, - meridiemParse: /PD|MD/, - isPM: function (input) { - return input.charAt(0) === 'M'; - }, - meridiem : function (hours, minutes, isLower) { - return hours < 12 ? 'PD' : 'MD'; - }, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd, D MMMM YYYY HH:mm' - }, - calendar : { - sameDay : '[Sot në] LT', - nextDay : '[Nesër në] LT', - nextWeek : 'dddd [në] LT', - lastDay : '[Dje në] LT', - lastWeek : 'dddd [e kaluar në] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'në %s', - past : '%s më parë', - s : 'disa sekonda', - m : 'një minutë', - mm : '%d minuta', - h : 'një orë', - hh : '%d orë', - d : 'një ditë', - dd : '%d ditë', - M : 'një muaj', - MM : '%d muaj', - y : 'një vit', - yy : '%d vite' - }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var sq = moment.defineLocale('sq', { + months : 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'), + monthsShort : 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'), + weekdays : 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'), + weekdaysShort : 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'), + weekdaysMin : 'D_H_Ma_Më_E_P_Sh'.split('_'), + weekdaysParseExact : true, + meridiemParse: /PD|MD/, + isPM: function (input) { + return input.charAt(0) === 'M'; + }, + meridiem : function (hours, minutes, isLower) { + return hours < 12 ? 'PD' : 'MD'; + }, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[Sot në] LT', + nextDay : '[Nesër në] LT', + nextWeek : 'dddd [në] LT', + lastDay : '[Dje në] LT', + lastWeek : 'dddd [e kaluar në] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'në %s', + past : '%s më parë', + s : 'disa sekonda', + m : 'një minutë', + mm : '%d minuta', + h : 'një orë', + hh : '%d orë', + d : 'një ditë', + dd : '%d ditë', + M : 'një muaj', + MM : '%d muaj', + y : 'një vit', + yy : '%d vite' + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return sq; + return sq; - })); + }))); -/***/ }, -/* 480 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 495 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Serbian [sr] //! author : Milan Janačković : https://github.com/milan-j ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var translator = { - words: { //Different grammatical cases - m: ['jedan minut', 'jedne minute'], - mm: ['minut', 'minute', 'minuta'], - h: ['jedan sat', 'jednog sata'], - hh: ['sat', 'sata', 'sati'], - dd: ['dan', 'dana', 'dana'], - MM: ['mesec', 'meseca', 'meseci'], - yy: ['godina', 'godine', 'godina'] - }, - correctGrammaticalCase: function (number, wordKey) { - return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]); - }, - translate: function (number, withoutSuffix, key) { - var wordKey = translator.words[key]; - if (key.length === 1) { - return withoutSuffix ? wordKey[0] : wordKey[1]; - } else { - return number + ' ' + translator.correctGrammaticalCase(number, wordKey); - } - } - }; - - var sr = moment.defineLocale('sr', { - months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'), - monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), - monthsParseExact: true, - weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split('_'), - weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'), - weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), - weekdaysParseExact : true, - longDateFormat: { - LT: 'H:mm', - LTS : 'H:mm:ss', - L: 'DD.MM.YYYY', - LL: 'D. MMMM YYYY', - LLL: 'D. MMMM YYYY H:mm', - LLLL: 'dddd, D. MMMM YYYY H:mm' - }, - calendar: { - sameDay: '[danas u] LT', - nextDay: '[sutra u] LT', - nextWeek: function () { - switch (this.day()) { - case 0: - return '[u] [nedelju] [u] LT'; - case 3: - return '[u] [sredu] [u] LT'; - case 6: - return '[u] [subotu] [u] LT'; - case 1: - case 2: - case 4: - case 5: - return '[u] dddd [u] LT'; - } - }, - lastDay : '[juče u] LT', - lastWeek : function () { - var lastWeekDays = [ - '[prošle] [nedelje] [u] LT', - '[prošlog] [ponedeljka] [u] LT', - '[prošlog] [utorka] [u] LT', - '[prošle] [srede] [u] LT', - '[prošlog] [četvrtka] [u] LT', - '[prošlog] [petka] [u] LT', - '[prošle] [subote] [u] LT' - ]; - return lastWeekDays[this.day()]; - }, - sameElse : 'L' + }(this, (function (moment) { 'use strict'; + + + var translator = { + words: { //Different grammatical cases + m: ['jedan minut', 'jedne minute'], + mm: ['minut', 'minute', 'minuta'], + h: ['jedan sat', 'jednog sata'], + hh: ['sat', 'sata', 'sati'], + dd: ['dan', 'dana', 'dana'], + MM: ['mesec', 'meseca', 'meseci'], + yy: ['godina', 'godine', 'godina'] + }, + correctGrammaticalCase: function (number, wordKey) { + return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]); + }, + translate: function (number, withoutSuffix, key) { + var wordKey = translator.words[key]; + if (key.length === 1) { + return withoutSuffix ? wordKey[0] : wordKey[1]; + } else { + return number + ' ' + translator.correctGrammaticalCase(number, wordKey); + } + } + }; + + var sr = moment.defineLocale('sr', { + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'), + monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split('_'), + weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact : true, + longDateFormat: { + LT: 'H:mm', + LTS : 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm' + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sutra u] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedelju] [u] LT'; + case 3: + return '[u] [sredu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } }, - relativeTime : { - future : 'za %s', - past : 'pre %s', - s : 'nekoliko sekundi', - m : translator.translate, - mm : translator.translate, - h : translator.translate, - hh : translator.translate, - d : 'dan', - dd : translator.translate, - M : 'mesec', - MM : translator.translate, - y : 'godinu', - yy : translator.translate + lastDay : '[juče u] LT', + lastWeek : function () { + var lastWeekDays = [ + '[prošle] [nedelje] [u] LT', + '[prošlog] [ponedeljka] [u] LT', + '[prošlog] [utorka] [u] LT', + '[prošle] [srede] [u] LT', + '[prošlog] [četvrtka] [u] LT', + '[prošlog] [petka] [u] LT', + '[prošle] [subote] [u] LT' + ]; + return lastWeekDays[this.day()]; }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. - } - }); + sameElse : 'L' + }, + relativeTime : { + future : 'za %s', + past : 'pre %s', + s : 'nekoliko sekundi', + m : translator.translate, + mm : translator.translate, + h : translator.translate, + hh : translator.translate, + d : 'dan', + dd : translator.translate, + M : 'mesec', + MM : translator.translate, + y : 'godinu', + yy : translator.translate + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return sr; + return sr; - })); + }))); -/***/ }, -/* 481 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 496 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Serbian Cyrillic [sr-cyrl] //! author : Milan Janačković : https://github.com/milan-j ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var translator = { - words: { //Different grammatical cases - m: ['један минут', 'једне минуте'], - mm: ['минут', 'минуте', 'минута'], - h: ['један сат', 'једног сата'], - hh: ['сат', 'сата', 'сати'], - dd: ['дан', 'дана', 'дана'], - MM: ['месец', 'месеца', 'месеци'], - yy: ['година', 'године', 'година'] - }, - correctGrammaticalCase: function (number, wordKey) { - return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]); - }, - translate: function (number, withoutSuffix, key) { - var wordKey = translator.words[key]; - if (key.length === 1) { - return withoutSuffix ? wordKey[0] : wordKey[1]; - } else { - return number + ' ' + translator.correctGrammaticalCase(number, wordKey); - } - } - }; - - var sr_cyrl = moment.defineLocale('sr-cyrl', { - months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split('_'), - monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'), - monthsParseExact: true, - weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'), - weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'), - weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'), - weekdaysParseExact : true, - longDateFormat: { - LT: 'H:mm', - LTS : 'H:mm:ss', - L: 'DD.MM.YYYY', - LL: 'D. MMMM YYYY', - LLL: 'D. MMMM YYYY H:mm', - LLLL: 'dddd, D. MMMM YYYY H:mm' - }, - calendar: { - sameDay: '[данас у] LT', - nextDay: '[сутра у] LT', - nextWeek: function () { - switch (this.day()) { - case 0: - return '[у] [недељу] [у] LT'; - case 3: - return '[у] [среду] [у] LT'; - case 6: - return '[у] [суботу] [у] LT'; - case 1: - case 2: - case 4: - case 5: - return '[у] dddd [у] LT'; - } - }, - lastDay : '[јуче у] LT', - lastWeek : function () { - var lastWeekDays = [ - '[прошле] [недеље] [у] LT', - '[прошлог] [понедељка] [у] LT', - '[прошлог] [уторка] [у] LT', - '[прошле] [среде] [у] LT', - '[прошлог] [четвртка] [у] LT', - '[прошлог] [петка] [у] LT', - '[прошле] [суботе] [у] LT' - ]; - return lastWeekDays[this.day()]; - }, - sameElse : 'L' + }(this, (function (moment) { 'use strict'; + + + var translator = { + words: { //Different grammatical cases + m: ['један минут', 'једне минуте'], + mm: ['минут', 'минуте', 'минута'], + h: ['један сат', 'једног сата'], + hh: ['сат', 'сата', 'сати'], + dd: ['дан', 'дана', 'дана'], + MM: ['месец', 'месеца', 'месеци'], + yy: ['година', 'године', 'година'] + }, + correctGrammaticalCase: function (number, wordKey) { + return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]); + }, + translate: function (number, withoutSuffix, key) { + var wordKey = translator.words[key]; + if (key.length === 1) { + return withoutSuffix ? wordKey[0] : wordKey[1]; + } else { + return number + ' ' + translator.correctGrammaticalCase(number, wordKey); + } + } + }; + + var srCyrl = moment.defineLocale('sr-cyrl', { + months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split('_'), + monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'), + monthsParseExact: true, + weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'), + weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'), + weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'), + weekdaysParseExact : true, + longDateFormat: { + LT: 'H:mm', + LTS : 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm' + }, + calendar: { + sameDay: '[данас у] LT', + nextDay: '[сутра у] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[у] [недељу] [у] LT'; + case 3: + return '[у] [среду] [у] LT'; + case 6: + return '[у] [суботу] [у] LT'; + case 1: + case 2: + case 4: + case 5: + return '[у] dddd [у] LT'; + } }, - relativeTime : { - future : 'за %s', - past : 'пре %s', - s : 'неколико секунди', - m : translator.translate, - mm : translator.translate, - h : translator.translate, - hh : translator.translate, - d : 'дан', - dd : translator.translate, - M : 'месец', - MM : translator.translate, - y : 'годину', - yy : translator.translate + lastDay : '[јуче у] LT', + lastWeek : function () { + var lastWeekDays = [ + '[прошле] [недеље] [у] LT', + '[прошлог] [понедељка] [у] LT', + '[прошлог] [уторка] [у] LT', + '[прошле] [среде] [у] LT', + '[прошлог] [четвртка] [у] LT', + '[прошлог] [петка] [у] LT', + '[прошле] [суботе] [у] LT' + ]; + return lastWeekDays[this.day()]; }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. - } - }); + sameElse : 'L' + }, + relativeTime : { + future : 'за %s', + past : 'пре %s', + s : 'неколико секунди', + m : translator.translate, + mm : translator.translate, + h : translator.translate, + hh : translator.translate, + d : 'дан', + dd : translator.translate, + M : 'месец', + MM : translator.translate, + y : 'годину', + yy : translator.translate + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return sr_cyrl; + return srCyrl; - })); + }))); -/***/ }, -/* 482 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 497 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : siSwati [ss] //! author : Nicolai Davies : https://github.com/nicolaidavies ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - - var ss = moment.defineLocale('ss', { - months : "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'), - monthsShort : 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'), - weekdays : 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'), - weekdaysShort : 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'), - weekdaysMin : 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'h:mm A', - LTS : 'h:mm:ss A', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY h:mm A', - LLLL : 'dddd, D MMMM YYYY h:mm A' - }, - calendar : { - sameDay : '[Namuhla nga] LT', - nextDay : '[Kusasa nga] LT', - nextWeek : 'dddd [nga] LT', - lastDay : '[Itolo nga] LT', - lastWeek : 'dddd [leliphelile] [nga] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'nga %s', - past : 'wenteka nga %s', - s : 'emizuzwana lomcane', - m : 'umzuzu', - mm : '%d emizuzu', - h : 'lihora', - hh : '%d emahora', - d : 'lilanga', - dd : '%d emalanga', - M : 'inyanga', - MM : '%d tinyanga', - y : 'umnyaka', - yy : '%d iminyaka' - }, - meridiemParse: /ekuseni|emini|entsambama|ebusuku/, - meridiem : function (hours, minutes, isLower) { - if (hours < 11) { - return 'ekuseni'; - } else if (hours < 15) { - return 'emini'; - } else if (hours < 19) { - return 'entsambama'; - } else { - return 'ebusuku'; - } - }, - meridiemHour : function (hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if (meridiem === 'ekuseni') { - return hour; - } else if (meridiem === 'emini') { - return hour >= 11 ? hour : hour + 12; - } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') { - if (hour === 0) { - return 0; - } - return hour + 12; + }(this, (function (moment) { 'use strict'; + + + + var ss = moment.defineLocale('ss', { + months : "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'), + monthsShort : 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'), + weekdays : 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'), + weekdaysShort : 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'), + weekdaysMin : 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'h:mm A', + LTS : 'h:mm:ss A', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY h:mm A', + LLLL : 'dddd, D MMMM YYYY h:mm A' + }, + calendar : { + sameDay : '[Namuhla nga] LT', + nextDay : '[Kusasa nga] LT', + nextWeek : 'dddd [nga] LT', + lastDay : '[Itolo nga] LT', + lastWeek : 'dddd [leliphelile] [nga] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'nga %s', + past : 'wenteka nga %s', + s : 'emizuzwana lomcane', + m : 'umzuzu', + mm : '%d emizuzu', + h : 'lihora', + hh : '%d emahora', + d : 'lilanga', + dd : '%d emalanga', + M : 'inyanga', + MM : '%d tinyanga', + y : 'umnyaka', + yy : '%d iminyaka' + }, + meridiemParse: /ekuseni|emini|entsambama|ebusuku/, + meridiem : function (hours, minutes, isLower) { + if (hours < 11) { + return 'ekuseni'; + } else if (hours < 15) { + return 'emini'; + } else if (hours < 19) { + return 'entsambama'; + } else { + return 'ebusuku'; + } + }, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ekuseni') { + return hour; + } else if (meridiem === 'emini') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') { + if (hour === 0) { + return 0; } - }, - ordinalParse: /\d{1,2}/, - ordinal : '%d', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. + return hour + 12; } - }); + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal : '%d', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return ss; + return ss; - })); + }))); -/***/ }, -/* 483 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 498 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Swedish [sv] //! author : Jens Alm : https://github.com/ulmus ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var sv = moment.defineLocale('sv', { - months : 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'), - monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), - weekdays : 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'), - weekdaysShort : 'sön_mån_tis_ons_tor_fre_lör'.split('_'), - weekdaysMin : 'sö_må_ti_on_to_fr_lö'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'YYYY-MM-DD', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY [kl.] HH:mm', - LLLL : 'dddd D MMMM YYYY [kl.] HH:mm', - lll : 'D MMM YYYY HH:mm', - llll : 'ddd D MMM YYYY HH:mm' - }, - calendar : { - sameDay: '[Idag] LT', - nextDay: '[Imorgon] LT', - lastDay: '[Igår] LT', - nextWeek: '[På] dddd LT', - lastWeek: '[I] dddd[s] LT', - sameElse: 'L' - }, - relativeTime : { - future : 'om %s', - past : 'för %s sedan', - s : 'några sekunder', - m : 'en minut', - mm : '%d minuter', - h : 'en timme', - hh : '%d timmar', - d : 'en dag', - dd : '%d dagar', - M : 'en månad', - MM : '%d månader', - y : 'ett år', - yy : '%d år' - }, - ordinalParse: /\d{1,2}(e|a)/, - ordinal : function (number) { - var b = number % 10, - output = (~~(number % 100 / 10) === 1) ? 'e' : - (b === 1) ? 'a' : - (b === 2) ? 'a' : - (b === 3) ? 'e' : 'e'; - return number + output; - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var sv = moment.defineLocale('sv', { + months : 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'), + monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekdays : 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'), + weekdaysShort : 'sön_mån_tis_ons_tor_fre_lör'.split('_'), + weekdaysMin : 'sö_må_ti_on_to_fr_lö'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'YYYY-MM-DD', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY [kl.] HH:mm', + LLLL : 'dddd D MMMM YYYY [kl.] HH:mm', + lll : 'D MMM YYYY HH:mm', + llll : 'ddd D MMM YYYY HH:mm' + }, + calendar : { + sameDay: '[Idag] LT', + nextDay: '[Imorgon] LT', + lastDay: '[Igår] LT', + nextWeek: '[På] dddd LT', + lastWeek: '[I] dddd[s] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'om %s', + past : 'för %s sedan', + s : 'några sekunder', + m : 'en minut', + mm : '%d minuter', + h : 'en timme', + hh : '%d timmar', + d : 'en dag', + dd : '%d dagar', + M : 'en månad', + MM : '%d månader', + y : 'ett år', + yy : '%d år' + }, + dayOfMonthOrdinalParse: /\d{1,2}(e|a)/, + ordinal : function (number) { + var b = number % 10, + output = (~~(number % 100 / 10) === 1) ? 'e' : + (b === 1) ? 'a' : + (b === 2) ? 'a' : + (b === 3) ? 'e' : 'e'; + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return sv; + return sv; - })); + }))); -/***/ }, -/* 484 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 499 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Swahili [sw] //! author : Fahad Kassim : https://github.com/fadsel ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var sw = moment.defineLocale('sw', { - months : 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'), - monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'), - weekdays : 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'), - weekdaysShort : 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'), - weekdaysMin : 'J2_J3_J4_J5_Al_Ij_J1'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd, D MMMM YYYY HH:mm' - }, - calendar : { - sameDay : '[leo saa] LT', - nextDay : '[kesho saa] LT', - nextWeek : '[wiki ijayo] dddd [saat] LT', - lastDay : '[jana] LT', - lastWeek : '[wiki iliyopita] dddd [saat] LT', - sameElse : 'L' - }, - relativeTime : { - future : '%s baadaye', - past : 'tokea %s', - s : 'hivi punde', - m : 'dakika moja', - mm : 'dakika %d', - h : 'saa limoja', - hh : 'masaa %d', - d : 'siku moja', - dd : 'masiku %d', - M : 'mwezi mmoja', - MM : 'miezi %d', - y : 'mwaka mmoja', - yy : 'miaka %d' - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var sw = moment.defineLocale('sw', { + months : 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'), + monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'), + weekdays : 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'), + weekdaysShort : 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'), + weekdaysMin : 'J2_J3_J4_J5_Al_Ij_J1'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[leo saa] LT', + nextDay : '[kesho saa] LT', + nextWeek : '[wiki ijayo] dddd [saat] LT', + lastDay : '[jana] LT', + lastWeek : '[wiki iliyopita] dddd [saat] LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s baadaye', + past : 'tokea %s', + s : 'hivi punde', + m : 'dakika moja', + mm : 'dakika %d', + h : 'saa limoja', + hh : 'masaa %d', + d : 'siku moja', + dd : 'masiku %d', + M : 'mwezi mmoja', + MM : 'miezi %d', + y : 'mwaka mmoja', + yy : 'miaka %d' + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return sw; + + }))); + + +/***/ }), +/* 500 */ +/***/ (function(module, exports, __webpack_require__) { + + //! moment.js locale configuration + //! locale : Tamil [ta] + //! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 + + ;(function (global, factory) { + true ? factory(__webpack_require__(403)) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) + }(this, (function (moment) { 'use strict'; + + + var symbolMap = { + '1': '௧', + '2': '௨', + '3': '௩', + '4': '௪', + '5': '௫', + '6': '௬', + '7': '௭', + '8': '௮', + '9': '௯', + '0': '௦' + }; + var numberMap = { + '௧': '1', + '௨': '2', + '௩': '3', + '௪': '4', + '௫': '5', + '௬': '6', + '௭': '7', + '௮': '8', + '௯': '9', + '௦': '0' + }; + + var ta = moment.defineLocale('ta', { + months : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'), + monthsShort : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'), + weekdays : 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split('_'), + weekdaysShort : 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split('_'), + weekdaysMin : 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, HH:mm', + LLLL : 'dddd, D MMMM YYYY, HH:mm' + }, + calendar : { + sameDay : '[இன்று] LT', + nextDay : '[நாளை] LT', + nextWeek : 'dddd, LT', + lastDay : '[நேற்று] LT', + lastWeek : '[கடந்த வாரம்] dddd, LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s இல்', + past : '%s முன்', + s : 'ஒரு சில விநாடிகள்', + m : 'ஒரு நிமிடம்', + mm : '%d நிமிடங்கள்', + h : 'ஒரு மணி நேரம்', + hh : '%d மணி நேரம்', + d : 'ஒரு நாள்', + dd : '%d நாட்கள்', + M : 'ஒரு மாதம்', + MM : '%d மாதங்கள்', + y : 'ஒரு வருடம்', + yy : '%d ஆண்டுகள்' + }, + dayOfMonthOrdinalParse: /\d{1,2}வது/, + ordinal : function (number) { + return number + 'வது'; + }, + preparse: function (string) { + return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // refer http://ta.wikipedia.org/s/1er1 + meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/, + meridiem : function (hour, minute, isLower) { + if (hour < 2) { + return ' யாமம்'; + } else if (hour < 6) { + return ' வைகறை'; // வைகறை + } else if (hour < 10) { + return ' காலை'; // காலை + } else if (hour < 14) { + return ' நண்பகல்'; // நண்பகல் + } else if (hour < 18) { + return ' எற்பாடு'; // எற்பாடு + } else if (hour < 22) { + return ' மாலை'; // மாலை + } else { + return ' யாமம்'; } - }); + }, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'யாமம்') { + return hour < 2 ? hour : hour + 12; + } else if (meridiem === 'வைகறை' || meridiem === 'காலை') { + return hour; + } else if (meridiem === 'நண்பகல்') { + return hour >= 10 ? hour : hour + 12; + } else { + return hour + 12; + } + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); - return sw; + return ta; - })); + }))); -/***/ }, -/* 485 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 501 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration - //! locale : Tamil [ta] - //! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 + //! locale : Telugu [te] + //! author : Krishna Chaitanya Thota : https://github.com/kcthota ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var symbolMap = { - '1': '௧', - '2': '௨', - '3': '௩', - '4': '௪', - '5': '௫', - '6': '௬', - '7': '௭', - '8': '௮', - '9': '௯', - '0': '௦' - }, numberMap = { - '௧': '1', - '௨': '2', - '௩': '3', - '௪': '4', - '௫': '5', - '௬': '6', - '௭': '7', - '௮': '8', - '௯': '9', - '௦': '0' - }; - - var ta = moment.defineLocale('ta', { - months : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'), - monthsShort : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'), - weekdays : 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split('_'), - weekdaysShort : 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split('_'), - weekdaysMin : 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY, HH:mm', - LLLL : 'dddd, D MMMM YYYY, HH:mm' - }, - calendar : { - sameDay : '[இன்று] LT', - nextDay : '[நாளை] LT', - nextWeek : 'dddd, LT', - lastDay : '[நேற்று] LT', - lastWeek : '[கடந்த வாரம்] dddd, LT', - sameElse : 'L' - }, - relativeTime : { - future : '%s இல்', - past : '%s முன்', - s : 'ஒரு சில விநாடிகள்', - m : 'ஒரு நிமிடம்', - mm : '%d நிமிடங்கள்', - h : 'ஒரு மணி நேரம்', - hh : '%d மணி நேரம்', - d : 'ஒரு நாள்', - dd : '%d நாட்கள்', - M : 'ஒரு மாதம்', - MM : '%d மாதங்கள்', - y : 'ஒரு வருடம்', - yy : '%d ஆண்டுகள்' - }, - ordinalParse: /\d{1,2}வது/, - ordinal : function (number) { - return number + 'வது'; - }, - preparse: function (string) { - return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) { - return numberMap[match]; - }); - }, - postformat: function (string) { - return string.replace(/\d/g, function (match) { - return symbolMap[match]; - }); - }, - // refer http://ta.wikipedia.org/s/1er1 - meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/, - meridiem : function (hour, minute, isLower) { - if (hour < 2) { - return ' யாமம்'; - } else if (hour < 6) { - return ' வைகறை'; // வைகறை - } else if (hour < 10) { - return ' காலை'; // காலை - } else if (hour < 14) { - return ' நண்பகல்'; // நண்பகல் - } else if (hour < 18) { - return ' எற்பாடு'; // எற்பாடு - } else if (hour < 22) { - return ' மாலை'; // மாலை - } else { - return ' யாமம்'; - } - }, - meridiemHour : function (hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if (meridiem === 'யாமம்') { - return hour < 2 ? hour : hour + 12; - } else if (meridiem === 'வைகறை' || meridiem === 'காலை') { - return hour; - } else if (meridiem === 'நண்பகல்') { - return hour >= 10 ? hour : hour + 12; - } else { - return hour + 12; - } - }, - week : { - dow : 0, // Sunday is the first day of the week. - doy : 6 // The week that contains Jan 1st is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var te = moment.defineLocale('te', { + months : 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'), + monthsShort : 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'), + monthsParseExact : true, + weekdays : 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'), + weekdaysShort : 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'), + weekdaysMin : 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'), + longDateFormat : { + LT : 'A h:mm', + LTS : 'A h:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, A h:mm', + LLLL : 'dddd, D MMMM YYYY, A h:mm' + }, + calendar : { + sameDay : '[నేడు] LT', + nextDay : '[రేపు] LT', + nextWeek : 'dddd, LT', + lastDay : '[నిన్న] LT', + lastWeek : '[గత] dddd, LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s లో', + past : '%s క్రితం', + s : 'కొన్ని క్షణాలు', + m : 'ఒక నిమిషం', + mm : '%d నిమిషాలు', + h : 'ఒక గంట', + hh : '%d గంటలు', + d : 'ఒక రోజు', + dd : '%d రోజులు', + M : 'ఒక నెల', + MM : '%d నెలలు', + y : 'ఒక సంవత్సరం', + yy : '%d సంవత్సరాలు' + }, + dayOfMonthOrdinalParse : /\d{1,2}వ/, + ordinal : '%dవ', + meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'రాత్రి') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ఉదయం') { + return hour; + } else if (meridiem === 'మధ్యాహ్నం') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'సాయంత్రం') { + return hour + 12; } - }); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'రాత్రి'; + } else if (hour < 10) { + return 'ఉదయం'; + } else if (hour < 17) { + return 'మధ్యాహ్నం'; + } else if (hour < 20) { + return 'సాయంత్రం'; + } else { + return 'రాత్రి'; + } + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); - return ta; + return te; - })); + }))); -/***/ }, -/* 486 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 502 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration - //! locale : Telugu [te] - //! author : Krishna Chaitanya Thota : https://github.com/kcthota + //! locale : Tetun Dili (East Timor) [tet] + //! author : Joshua Brooks : https://github.com/joshbrooks + //! author : Onorio De J. Afonso : https://github.com/marobo ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var te = moment.defineLocale('te', { - months : 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'), - monthsShort : 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'), - monthsParseExact : true, - weekdays : 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'), - weekdaysShort : 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'), - weekdaysMin : 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'), - longDateFormat : { - LT : 'A h:mm', - LTS : 'A h:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY, A h:mm', - LLLL : 'dddd, D MMMM YYYY, A h:mm' - }, - calendar : { - sameDay : '[నేడు] LT', - nextDay : '[రేపు] LT', - nextWeek : 'dddd, LT', - lastDay : '[నిన్న] LT', - lastWeek : '[గత] dddd, LT', - sameElse : 'L' - }, - relativeTime : { - future : '%s లో', - past : '%s క్రితం', - s : 'కొన్ని క్షణాలు', - m : 'ఒక నిమిషం', - mm : '%d నిమిషాలు', - h : 'ఒక గంట', - hh : '%d గంటలు', - d : 'ఒక రోజు', - dd : '%d రోజులు', - M : 'ఒక నెల', - MM : '%d నెలలు', - y : 'ఒక సంవత్సరం', - yy : '%d సంవత్సరాలు' - }, - ordinalParse : /\d{1,2}వ/, - ordinal : '%dవ', - meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/, - meridiemHour : function (hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if (meridiem === 'రాత్రి') { - return hour < 4 ? hour : hour + 12; - } else if (meridiem === 'ఉదయం') { - return hour; - } else if (meridiem === 'మధ్యాహ్నం') { - return hour >= 10 ? hour : hour + 12; - } else if (meridiem === 'సాయంత్రం') { - return hour + 12; - } - }, - meridiem : function (hour, minute, isLower) { - if (hour < 4) { - return 'రాత్రి'; - } else if (hour < 10) { - return 'ఉదయం'; - } else if (hour < 17) { - return 'మధ్యాహ్నం'; - } else if (hour < 20) { - return 'సాయంత్రం'; - } else { - return 'రాత్రి'; - } - }, - week : { - dow : 0, // Sunday is the first day of the week. - doy : 6 // The week that contains Jan 1st is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var tet = moment.defineLocale('tet', { + months : 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru'.split('_'), + monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez'.split('_'), + weekdays : 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu'.split('_'), + weekdaysShort : 'Dom_Seg_Ters_Kua_Kint_Sext_Sab'.split('_'), + weekdaysMin : 'Do_Seg_Te_Ku_Ki_Sex_Sa'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[Ohin iha] LT', + nextDay: '[Aban iha] LT', + nextWeek: 'dddd [iha] LT', + lastDay: '[Horiseik iha] LT', + lastWeek: 'dddd [semana kotuk] [iha] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'iha %s', + past : '%s liuba', + s : 'minutu balun', + m : 'minutu ida', + mm : 'minutus %d', + h : 'horas ida', + hh : 'horas %d', + d : 'loron ida', + dd : 'loron %d', + M : 'fulan ida', + MM : 'fulan %d', + y : 'tinan ida', + yy : 'tinan %d' + }, + dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal : function (number) { + var b = number % 10, + output = (~~(number % 100 / 10) === 1) ? 'th' : + (b === 1) ? 'st' : + (b === 2) ? 'nd' : + (b === 3) ? 'rd' : 'th'; + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return te; + return tet; - })); + }))); -/***/ }, -/* 487 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 503 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Thai [th] //! author : Kridsada Thanabulpong : https://github.com/sirn ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var th = moment.defineLocale('th', { - months : 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'), - monthsShort : 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split('_'), - monthsParseExact: true, - weekdays : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'), - weekdaysShort : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference - weekdaysMin : 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'H:mm', - LTS : 'H:mm:ss', - L : 'YYYY/MM/DD', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY เวลา H:mm', - LLLL : 'วันddddที่ D MMMM YYYY เวลา H:mm' - }, - meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/, - isPM: function (input) { - return input === 'หลังเที่ยง'; - }, - meridiem : function (hour, minute, isLower) { - if (hour < 12) { - return 'ก่อนเที่ยง'; - } else { - return 'หลังเที่ยง'; - } - }, - calendar : { - sameDay : '[วันนี้ เวลา] LT', - nextDay : '[พรุ่งนี้ เวลา] LT', - nextWeek : 'dddd[หน้า เวลา] LT', - lastDay : '[เมื่อวานนี้ เวลา] LT', - lastWeek : '[วัน]dddd[ที่แล้ว เวลา] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'อีก %s', - past : '%sที่แล้ว', - s : 'ไม่กี่วินาที', - m : '1 นาที', - mm : '%d นาที', - h : '1 ชั่วโมง', - hh : '%d ชั่วโมง', - d : '1 วัน', - dd : '%d วัน', - M : '1 เดือน', - MM : '%d เดือน', - y : '1 ปี', - yy : '%d ปี' + }(this, (function (moment) { 'use strict'; + + + var th = moment.defineLocale('th', { + months : 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'), + monthsShort : 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split('_'), + monthsParseExact: true, + weekdays : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'), + weekdaysShort : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference + weekdaysMin : 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY เวลา H:mm', + LLLL : 'วันddddที่ D MMMM YYYY เวลา H:mm' + }, + meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/, + isPM: function (input) { + return input === 'หลังเที่ยง'; + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return 'ก่อนเที่ยง'; + } else { + return 'หลังเที่ยง'; } - }); + }, + calendar : { + sameDay : '[วันนี้ เวลา] LT', + nextDay : '[พรุ่งนี้ เวลา] LT', + nextWeek : 'dddd[หน้า เวลา] LT', + lastDay : '[เมื่อวานนี้ เวลา] LT', + lastWeek : '[วัน]dddd[ที่แล้ว เวลา] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'อีก %s', + past : '%sที่แล้ว', + s : 'ไม่กี่วินาที', + m : '1 นาที', + mm : '%d นาที', + h : '1 ชั่วโมง', + hh : '%d ชั่วโมง', + d : '1 วัน', + dd : '%d วัน', + M : '1 เดือน', + MM : '%d เดือน', + y : '1 ปี', + yy : '%d ปี' + } + }); - return th; + return th; - })); + }))); -/***/ }, -/* 488 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 504 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Tagalog (Philippines) [tl-ph] //! author : Dan Hagman : https://github.com/hagmandan ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var tl_ph = moment.defineLocale('tl-ph', { - months : 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'), - monthsShort : 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), - weekdays : 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'), - weekdaysShort : 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), - weekdaysMin : 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'MM/D/YYYY', - LL : 'MMMM D, YYYY', - LLL : 'MMMM D, YYYY HH:mm', - LLLL : 'dddd, MMMM DD, YYYY HH:mm' - }, - calendar : { - sameDay: '[Ngayon sa] LT', - nextDay: '[Bukas sa] LT', - nextWeek: 'dddd [sa] LT', - lastDay: '[Kahapon sa] LT', - lastWeek: 'dddd [huling linggo] LT', - sameElse: 'L' - }, - relativeTime : { - future : 'sa loob ng %s', - past : '%s ang nakalipas', - s : 'ilang segundo', - m : 'isang minuto', - mm : '%d minuto', - h : 'isang oras', - hh : '%d oras', - d : 'isang araw', - dd : '%d araw', - M : 'isang buwan', - MM : '%d buwan', - y : 'isang taon', - yy : '%d taon' - }, - ordinalParse: /\d{1,2}/, - ordinal : function (number) { - return number; - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var tlPh = moment.defineLocale('tl-ph', { + months : 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'), + monthsShort : 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), + weekdays : 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'), + weekdaysShort : 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), + weekdaysMin : 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'MM/D/YYYY', + LL : 'MMMM D, YYYY', + LLL : 'MMMM D, YYYY HH:mm', + LLLL : 'dddd, MMMM DD, YYYY HH:mm' + }, + calendar : { + sameDay: 'LT [ngayong araw]', + nextDay: '[Bukas ng] LT', + nextWeek: 'LT [sa susunod na] dddd', + lastDay: 'LT [kahapon]', + lastWeek: 'LT [noong nakaraang] dddd', + sameElse: 'L' + }, + relativeTime : { + future : 'sa loob ng %s', + past : '%s ang nakalipas', + s : 'ilang segundo', + m : 'isang minuto', + mm : '%d minuto', + h : 'isang oras', + hh : '%d oras', + d : 'isang araw', + dd : '%d araw', + M : 'isang buwan', + MM : '%d buwan', + y : 'isang taon', + yy : '%d taon' + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal : function (number) { + return number; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return tl_ph; + return tlPh; - })); + }))); -/***/ }, -/* 489 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 505 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Klingon [tlh] //! author : Dominika Kruk : https://github.com/amaranthrose ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_'); + var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_'); - function translateFuture(output) { - var time = output; - time = (output.indexOf('jaj') !== -1) ? - time.slice(0, -3) + 'leS' : - (output.indexOf('jar') !== -1) ? - time.slice(0, -3) + 'waQ' : - (output.indexOf('DIS') !== -1) ? - time.slice(0, -3) + 'nem' : - time + ' pIq'; - return time; - } + function translateFuture(output) { + var time = output; + time = (output.indexOf('jaj') !== -1) ? + time.slice(0, -3) + 'leS' : + (output.indexOf('jar') !== -1) ? + time.slice(0, -3) + 'waQ' : + (output.indexOf('DIS') !== -1) ? + time.slice(0, -3) + 'nem' : + time + ' pIq'; + return time; + } - function translatePast(output) { - var time = output; - time = (output.indexOf('jaj') !== -1) ? - time.slice(0, -3) + 'Hu’' : - (output.indexOf('jar') !== -1) ? - time.slice(0, -3) + 'wen' : - (output.indexOf('DIS') !== -1) ? - time.slice(0, -3) + 'ben' : - time + ' ret'; - return time; - } + function translatePast(output) { + var time = output; + time = (output.indexOf('jaj') !== -1) ? + time.slice(0, -3) + 'Hu’' : + (output.indexOf('jar') !== -1) ? + time.slice(0, -3) + 'wen' : + (output.indexOf('DIS') !== -1) ? + time.slice(0, -3) + 'ben' : + time + ' ret'; + return time; + } - function translate(number, withoutSuffix, string, isFuture) { - var numberNoun = numberAsNoun(number); - switch (string) { - case 'mm': - return numberNoun + ' tup'; - case 'hh': - return numberNoun + ' rep'; - case 'dd': - return numberNoun + ' jaj'; - case 'MM': - return numberNoun + ' jar'; - case 'yy': - return numberNoun + ' DIS'; - } - } - - function numberAsNoun(number) { - var hundred = Math.floor((number % 1000) / 100), - ten = Math.floor((number % 100) / 10), - one = number % 10, - word = ''; - if (hundred > 0) { - word += numbersNouns[hundred] + 'vatlh'; - } - if (ten > 0) { - word += ((word !== '') ? ' ' : '') + numbersNouns[ten] + 'maH'; - } - if (one > 0) { - word += ((word !== '') ? ' ' : '') + numbersNouns[one]; - } - return (word === '') ? 'pagh' : word; - } - - var tlh = moment.defineLocale('tlh', { - months : 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split('_'), - monthsShort : 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split('_'), - monthsParseExact : true, - weekdays : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), - weekdaysShort : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), - weekdaysMin : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd, D MMMM YYYY HH:mm' - }, - calendar : { - sameDay: '[DaHjaj] LT', - nextDay: '[wa’leS] LT', - nextWeek: 'LLL', - lastDay: '[wa’Hu’] LT', - lastWeek: 'LLL', - sameElse: 'L' - }, - relativeTime : { - future : translateFuture, - past : translatePast, - s : 'puS lup', - m : 'wa’ tup', - mm : translate, - h : 'wa’ rep', - hh : translate, - d : 'wa’ jaj', - dd : translate, - M : 'wa’ jar', - MM : translate, - y : 'wa’ DIS', - yy : translate - }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + function translate(number, withoutSuffix, string, isFuture) { + var numberNoun = numberAsNoun(number); + switch (string) { + case 'mm': + return numberNoun + ' tup'; + case 'hh': + return numberNoun + ' rep'; + case 'dd': + return numberNoun + ' jaj'; + case 'MM': + return numberNoun + ' jar'; + case 'yy': + return numberNoun + ' DIS'; + } + } + + function numberAsNoun(number) { + var hundred = Math.floor((number % 1000) / 100), + ten = Math.floor((number % 100) / 10), + one = number % 10, + word = ''; + if (hundred > 0) { + word += numbersNouns[hundred] + 'vatlh'; + } + if (ten > 0) { + word += ((word !== '') ? ' ' : '') + numbersNouns[ten] + 'maH'; + } + if (one > 0) { + word += ((word !== '') ? ' ' : '') + numbersNouns[one]; + } + return (word === '') ? 'pagh' : word; + } + + var tlh = moment.defineLocale('tlh', { + months : 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split('_'), + monthsShort : 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split('_'), + monthsParseExact : true, + weekdays : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + weekdaysShort : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + weekdaysMin : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[DaHjaj] LT', + nextDay: '[wa’leS] LT', + nextWeek: 'LLL', + lastDay: '[wa’Hu’] LT', + lastWeek: 'LLL', + sameElse: 'L' + }, + relativeTime : { + future : translateFuture, + past : translatePast, + s : 'puS lup', + m : 'wa’ tup', + mm : translate, + h : 'wa’ rep', + hh : translate, + d : 'wa’ jaj', + dd : translate, + M : 'wa’ jar', + MM : translate, + y : 'wa’ DIS', + yy : translate + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return tlh; + return tlh; - })); + }))); -/***/ }, -/* 490 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 506 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Turkish [tr] @@ -64446,93 +66515,94 @@ //! Burak Yiğit Kaya: https://github.com/BYK ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var suffixes = { - 1: '\'inci', - 5: '\'inci', - 8: '\'inci', - 70: '\'inci', - 80: '\'inci', - 2: '\'nci', - 7: '\'nci', - 20: '\'nci', - 50: '\'nci', - 3: '\'üncü', - 4: '\'üncü', - 100: '\'üncü', - 6: '\'ncı', - 9: '\'uncu', - 10: '\'uncu', - 30: '\'uncu', - 60: '\'ıncı', - 90: '\'ıncı' - }; - - var tr = moment.defineLocale('tr', { - months : 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'), - monthsShort : 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'), - weekdays : 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'), - weekdaysShort : 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'), - weekdaysMin : 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd, D MMMM YYYY HH:mm' - }, - calendar : { - sameDay : '[bugün saat] LT', - nextDay : '[yarın saat] LT', - nextWeek : '[haftaya] dddd [saat] LT', - lastDay : '[dün] LT', - lastWeek : '[geçen hafta] dddd [saat] LT', - sameElse : 'L' - }, - relativeTime : { - future : '%s sonra', - past : '%s önce', - s : 'birkaç saniye', - m : 'bir dakika', - mm : '%d dakika', - h : 'bir saat', - hh : '%d saat', - d : 'bir gün', - dd : '%d gün', - M : 'bir ay', - MM : '%d ay', - y : 'bir yıl', - yy : '%d yıl' - }, - ordinalParse: /\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/, - ordinal : function (number) { - if (number === 0) { // special case for zero - return number + '\'ıncı'; - } - var a = number % 10, - b = number % 100 - a, - c = number >= 100 ? 100 : null; - return number + (suffixes[a] || suffixes[b] || suffixes[c]); - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var suffixes = { + 1: '\'inci', + 5: '\'inci', + 8: '\'inci', + 70: '\'inci', + 80: '\'inci', + 2: '\'nci', + 7: '\'nci', + 20: '\'nci', + 50: '\'nci', + 3: '\'üncü', + 4: '\'üncü', + 100: '\'üncü', + 6: '\'ncı', + 9: '\'uncu', + 10: '\'uncu', + 30: '\'uncu', + 60: '\'ıncı', + 90: '\'ıncı' + }; + + var tr = moment.defineLocale('tr', { + months : 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'), + monthsShort : 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'), + weekdays : 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'), + weekdaysShort : 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'), + weekdaysMin : 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[bugün saat] LT', + nextDay : '[yarın saat] LT', + nextWeek : '[haftaya] dddd [saat] LT', + lastDay : '[dün] LT', + lastWeek : '[geçen hafta] dddd [saat] LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s sonra', + past : '%s önce', + s : 'birkaç saniye', + m : 'bir dakika', + mm : '%d dakika', + h : 'bir saat', + hh : '%d saat', + d : 'bir gün', + dd : '%d gün', + M : 'bir ay', + MM : '%d ay', + y : 'bir yıl', + yy : '%d yıl' + }, + dayOfMonthOrdinalParse: /\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/, + ordinal : function (number) { + if (number === 0) { // special case for zero + return number + '\'ıncı'; + } + var a = number % 10, + b = number % 100 - a, + c = number >= 100 ? 100 : null; + return number + (suffixes[a] || suffixes[b] || suffixes[c]); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return tr; + return tr; - })); + }))); -/***/ }, -/* 491 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 507 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Talossan [tzl] @@ -64540,218 +66610,221 @@ //! author : Iustì Canun ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals. - // This is currently too difficult (maybe even impossible) to add. - var tzl = moment.defineLocale('tzl', { - months : 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'), - monthsShort : 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'), - weekdays : 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'), - weekdaysShort : 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'), - weekdaysMin : 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'), - longDateFormat : { - LT : 'HH.mm', - LTS : 'HH.mm.ss', - L : 'DD.MM.YYYY', - LL : 'D. MMMM [dallas] YYYY', - LLL : 'D. MMMM [dallas] YYYY HH.mm', - LLLL : 'dddd, [li] D. MMMM [dallas] YYYY HH.mm' - }, - meridiemParse: /d\'o|d\'a/i, - isPM : function (input) { - return 'd\'o' === input.toLowerCase(); - }, - meridiem : function (hours, minutes, isLower) { - if (hours > 11) { - return isLower ? 'd\'o' : 'D\'O'; - } else { - return isLower ? 'd\'a' : 'D\'A'; - } - }, - calendar : { - sameDay : '[oxhi à] LT', - nextDay : '[demà à] LT', - nextWeek : 'dddd [à] LT', - lastDay : '[ieiri à] LT', - lastWeek : '[sür el] dddd [lasteu à] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'osprei %s', - past : 'ja%s', - s : processRelativeTime, - m : processRelativeTime, - mm : processRelativeTime, - h : processRelativeTime, - hh : processRelativeTime, - d : processRelativeTime, - dd : processRelativeTime, - M : processRelativeTime, - MM : processRelativeTime, - y : processRelativeTime, - yy : processRelativeTime - }, - ordinalParse: /\d{1,2}\./, - ordinal : '%d.', - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals. + // This is currently too difficult (maybe even impossible) to add. + var tzl = moment.defineLocale('tzl', { + months : 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'), + monthsShort : 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'), + weekdays : 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'), + weekdaysShort : 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'), + weekdaysMin : 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'), + longDateFormat : { + LT : 'HH.mm', + LTS : 'HH.mm.ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM [dallas] YYYY', + LLL : 'D. MMMM [dallas] YYYY HH.mm', + LLLL : 'dddd, [li] D. MMMM [dallas] YYYY HH.mm' + }, + meridiemParse: /d\'o|d\'a/i, + isPM : function (input) { + return 'd\'o' === input.toLowerCase(); + }, + meridiem : function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'd\'o' : 'D\'O'; + } else { + return isLower ? 'd\'a' : 'D\'A'; } - }); - - function processRelativeTime(number, withoutSuffix, key, isFuture) { - var format = { - 's': ['viensas secunds', '\'iensas secunds'], - 'm': ['\'n míut', '\'iens míut'], - 'mm': [number + ' míuts', '' + number + ' míuts'], - 'h': ['\'n þora', '\'iensa þora'], - 'hh': [number + ' þoras', '' + number + ' þoras'], - 'd': ['\'n ziua', '\'iensa ziua'], - 'dd': [number + ' ziuas', '' + number + ' ziuas'], - 'M': ['\'n mes', '\'iens mes'], - 'MM': [number + ' mesen', '' + number + ' mesen'], - 'y': ['\'n ar', '\'iens ar'], - 'yy': [number + ' ars', '' + number + ' ars'] - }; - return isFuture ? format[key][0] : (withoutSuffix ? format[key][0] : format[key][1]); + }, + calendar : { + sameDay : '[oxhi à] LT', + nextDay : '[demà à] LT', + nextWeek : 'dddd [à] LT', + lastDay : '[ieiri à] LT', + lastWeek : '[sür el] dddd [lasteu à] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'osprei %s', + past : 'ja%s', + s : processRelativeTime, + m : processRelativeTime, + mm : processRelativeTime, + h : processRelativeTime, + hh : processRelativeTime, + d : processRelativeTime, + dd : processRelativeTime, + M : processRelativeTime, + MM : processRelativeTime, + y : processRelativeTime, + yy : processRelativeTime + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. } + }); - return tzl; + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + 's': ['viensas secunds', '\'iensas secunds'], + 'm': ['\'n míut', '\'iens míut'], + 'mm': [number + ' míuts', '' + number + ' míuts'], + 'h': ['\'n þora', '\'iensa þora'], + 'hh': [number + ' þoras', '' + number + ' þoras'], + 'd': ['\'n ziua', '\'iensa ziua'], + 'dd': [number + ' ziuas', '' + number + ' ziuas'], + 'M': ['\'n mes', '\'iens mes'], + 'MM': [number + ' mesen', '' + number + ' mesen'], + 'y': ['\'n ar', '\'iens ar'], + 'yy': [number + ' ars', '' + number + ' ars'] + }; + return isFuture ? format[key][0] : (withoutSuffix ? format[key][0] : format[key][1]); + } - })); + return tzl; + + }))); -/***/ }, -/* 492 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 508 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Central Atlas Tamazight [tzm] //! author : Abdel Said : https://github.com/abdelsaid ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var tzm = moment.defineLocale('tzm', { - months : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'), - monthsShort : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'), - weekdays : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), - weekdaysShort : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), - weekdaysMin : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS: 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd D MMMM YYYY HH:mm' - }, - calendar : { - sameDay: '[ⴰⵙⴷⵅ ⴴ] LT', - nextDay: '[ⴰⵙⴽⴰ ⴴ] LT', - nextWeek: 'dddd [ⴴ] LT', - lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT', - lastWeek: 'dddd [ⴴ] LT', - sameElse: 'L' - }, - relativeTime : { - future : 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s', - past : 'ⵢⴰⵏ %s', - s : 'ⵉⵎⵉⴽ', - m : 'ⵎⵉⵏⵓⴺ', - mm : '%d ⵎⵉⵏⵓⴺ', - h : 'ⵙⴰⵄⴰ', - hh : '%d ⵜⴰⵙⵙⴰⵄⵉⵏ', - d : 'ⴰⵙⵙ', - dd : '%d oⵙⵙⴰⵏ', - M : 'ⴰⵢoⵓⵔ', - MM : '%d ⵉⵢⵢⵉⵔⵏ', - y : 'ⴰⵙⴳⴰⵙ', - yy : '%d ⵉⵙⴳⴰⵙⵏ' - }, - week : { - dow : 6, // Saturday is the first day of the week. - doy : 12 // The week that contains Jan 1st is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var tzm = moment.defineLocale('tzm', { + months : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'), + monthsShort : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'), + weekdays : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + weekdaysShort : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + weekdaysMin : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS: 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[ⴰⵙⴷⵅ ⴴ] LT', + nextDay: '[ⴰⵙⴽⴰ ⴴ] LT', + nextWeek: 'dddd [ⴴ] LT', + lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT', + lastWeek: 'dddd [ⴴ] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s', + past : 'ⵢⴰⵏ %s', + s : 'ⵉⵎⵉⴽ', + m : 'ⵎⵉⵏⵓⴺ', + mm : '%d ⵎⵉⵏⵓⴺ', + h : 'ⵙⴰⵄⴰ', + hh : '%d ⵜⴰⵙⵙⴰⵄⵉⵏ', + d : 'ⴰⵙⵙ', + dd : '%d oⵙⵙⴰⵏ', + M : 'ⴰⵢoⵓⵔ', + MM : '%d ⵉⵢⵢⵉⵔⵏ', + y : 'ⴰⵙⴳⴰⵙ', + yy : '%d ⵉⵙⴳⴰⵙⵏ' + }, + week : { + dow : 6, // Saturday is the first day of the week. + doy : 12 // The week that contains Jan 1st is the first week of the year. + } + }); - return tzm; + return tzm; - })); + }))); -/***/ }, -/* 493 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 509 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Central Atlas Tamazight Latin [tzm-latn] //! author : Abdel Said : https://github.com/abdelsaid ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var tzm_latn = moment.defineLocale('tzm-latn', { - months : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), - monthsShort : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), - weekdays : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), - weekdaysShort : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), - weekdaysMin : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd D MMMM YYYY HH:mm' - }, - calendar : { - sameDay: '[asdkh g] LT', - nextDay: '[aska g] LT', - nextWeek: 'dddd [g] LT', - lastDay: '[assant g] LT', - lastWeek: 'dddd [g] LT', - sameElse: 'L' - }, - relativeTime : { - future : 'dadkh s yan %s', - past : 'yan %s', - s : 'imik', - m : 'minuḍ', - mm : '%d minuḍ', - h : 'saɛa', - hh : '%d tassaɛin', - d : 'ass', - dd : '%d ossan', - M : 'ayowr', - MM : '%d iyyirn', - y : 'asgas', - yy : '%d isgasn' - }, - week : { - dow : 6, // Saturday is the first day of the week. - doy : 12 // The week that contains Jan 1st is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var tzmLatn = moment.defineLocale('tzm-latn', { + months : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), + monthsShort : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), + weekdays : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + weekdaysShort : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + weekdaysMin : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[asdkh g] LT', + nextDay: '[aska g] LT', + nextWeek: 'dddd [g] LT', + lastDay: '[assant g] LT', + lastWeek: 'dddd [g] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'dadkh s yan %s', + past : 'yan %s', + s : 'imik', + m : 'minuḍ', + mm : '%d minuḍ', + h : 'saɛa', + hh : '%d tassaɛin', + d : 'ass', + dd : '%d ossan', + M : 'ayowr', + MM : '%d iyyirn', + y : 'asgas', + yy : '%d isgasn' + }, + week : { + dow : 6, // Saturday is the first day of the week. + doy : 12 // The week that contains Jan 1st is the first week of the year. + } + }); - return tzm_latn; + return tzmLatn; - })); + }))); -/***/ }, -/* 494 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 510 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Ukrainian [uk] @@ -64759,366 +66832,607 @@ //! Author : Menelion Elensúle : https://github.com/Oire ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; + }(this, (function (moment) { 'use strict'; - function plural(word, num) { - var forms = word.split('_'); - return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]); + function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]); + } + function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + 'mm': withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин', + 'hh': withoutSuffix ? 'година_години_годин' : 'годину_години_годин', + 'dd': 'день_дні_днів', + 'MM': 'місяць_місяці_місяців', + 'yy': 'рік_роки_років' + }; + if (key === 'm') { + return withoutSuffix ? 'хвилина' : 'хвилину'; } - function relativeTimeWithPlural(number, withoutSuffix, key) { - var format = { - 'mm': withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин', - 'hh': withoutSuffix ? 'година_години_годин' : 'годину_години_годин', - 'dd': 'день_дні_днів', - 'MM': 'місяць_місяці_місяців', - 'yy': 'рік_роки_років' - }; - if (key === 'm') { - return withoutSuffix ? 'хвилина' : 'хвилину'; - } - else if (key === 'h') { - return withoutSuffix ? 'година' : 'годину'; - } - else { - return number + ' ' + plural(format[key], +number); - } + else if (key === 'h') { + return withoutSuffix ? 'година' : 'годину'; } - function weekdaysCaseReplace(m, format) { - var weekdays = { - 'nominative': 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'), - 'accusative': 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split('_'), - 'genitive': 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split('_') - }, - nounCase = (/(\[[ВвУу]\]) ?dddd/).test(format) ? - 'accusative' : - ((/\[?(?:минулої|наступної)? ?\] ?dddd/).test(format) ? - 'genitive' : - 'nominative'); - return weekdays[nounCase][m.day()]; - } - function processHoursFunction(str) { - return function () { - return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT'; - }; + else { + return number + ' ' + plural(format[key], +number); } + } + function weekdaysCaseReplace(m, format) { + var weekdays = { + 'nominative': 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'), + 'accusative': 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split('_'), + 'genitive': 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split('_') + }; - var uk = moment.defineLocale('uk', { - months : { - 'format': 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split('_'), - 'standalone': 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split('_') - }, - monthsShort : 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split('_'), - weekdays : weekdaysCaseReplace, - weekdaysShort : 'нд_пн_вт_ср_чт_пт_сб'.split('_'), - weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD.MM.YYYY', - LL : 'D MMMM YYYY р.', - LLL : 'D MMMM YYYY р., HH:mm', - LLLL : 'dddd, D MMMM YYYY р., HH:mm' - }, - calendar : { - sameDay: processHoursFunction('[Сьогодні '), - nextDay: processHoursFunction('[Завтра '), - lastDay: processHoursFunction('[Вчора '), - nextWeek: processHoursFunction('[У] dddd ['), - lastWeek: function () { - switch (this.day()) { - case 0: - case 3: - case 5: - case 6: - return processHoursFunction('[Минулої] dddd [').call(this); - case 1: - case 2: - case 4: - return processHoursFunction('[Минулого] dddd [').call(this); - } - }, - sameElse: 'L' - }, - relativeTime : { - future : 'за %s', - past : '%s тому', - s : 'декілька секунд', - m : relativeTimeWithPlural, - mm : relativeTimeWithPlural, - h : 'годину', - hh : relativeTimeWithPlural, - d : 'день', - dd : relativeTimeWithPlural, - M : 'місяць', - MM : relativeTimeWithPlural, - y : 'рік', - yy : relativeTimeWithPlural - }, - // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason - meridiemParse: /ночі|ранку|дня|вечора/, - isPM: function (input) { - return /^(дня|вечора)$/.test(input); - }, - meridiem : function (hour, minute, isLower) { - if (hour < 4) { - return 'ночі'; - } else if (hour < 12) { - return 'ранку'; - } else if (hour < 17) { - return 'дня'; - } else { - return 'вечора'; - } - }, - ordinalParse: /\d{1,2}-(й|го)/, - ordinal: function (number, period) { - switch (period) { - case 'M': - case 'd': - case 'DDD': - case 'w': - case 'W': - return number + '-й'; - case 'D': - return number + '-го'; - default: - return number; + if (!m) { + return weekdays['nominative']; + } + + var nounCase = (/(\[[ВвУу]\]) ?dddd/).test(format) ? + 'accusative' : + ((/\[?(?:минулої|наступної)? ?\] ?dddd/).test(format) ? + 'genitive' : + 'nominative'); + return weekdays[nounCase][m.day()]; + } + function processHoursFunction(str) { + return function () { + return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT'; + }; + } + + var uk = moment.defineLocale('uk', { + months : { + 'format': 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split('_'), + 'standalone': 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split('_') + }, + monthsShort : 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split('_'), + weekdays : weekdaysCaseReplace, + weekdaysShort : 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY р.', + LLL : 'D MMMM YYYY р., HH:mm', + LLLL : 'dddd, D MMMM YYYY р., HH:mm' + }, + calendar : { + sameDay: processHoursFunction('[Сьогодні '), + nextDay: processHoursFunction('[Завтра '), + lastDay: processHoursFunction('[Вчора '), + nextWeek: processHoursFunction('[У] dddd ['), + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 5: + case 6: + return processHoursFunction('[Минулої] dddd [').call(this); + case 1: + case 2: + case 4: + return processHoursFunction('[Минулого] dddd [').call(this); } }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 1st is the first week of the year. + sameElse: 'L' + }, + relativeTime : { + future : 'за %s', + past : '%s тому', + s : 'декілька секунд', + m : relativeTimeWithPlural, + mm : relativeTimeWithPlural, + h : 'годину', + hh : relativeTimeWithPlural, + d : 'день', + dd : relativeTimeWithPlural, + M : 'місяць', + MM : relativeTimeWithPlural, + y : 'рік', + yy : relativeTimeWithPlural + }, + // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason + meridiemParse: /ночі|ранку|дня|вечора/, + isPM: function (input) { + return /^(дня|вечора)$/.test(input); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'ночі'; + } else if (hour < 12) { + return 'ранку'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечора'; } - }); + }, + dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + case 'w': + case 'W': + return number + '-й'; + case 'D': + return number + '-го'; + default: + return number; + } + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); - return uk; + return uk; - })); + }))); -/***/ }, -/* 495 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 511 */ +/***/ (function(module, exports, __webpack_require__) { + + //! moment.js locale configuration + //! locale : Urdu [ur] + //! author : Sawood Alam : https://github.com/ibnesayeed + //! author : Zack : https://github.com/ZackVision + + ;(function (global, factory) { + true ? factory(__webpack_require__(403)) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) + }(this, (function (moment) { 'use strict'; + + + var months = [ + 'جنوری', + 'فروری', + 'مارچ', + 'اپریل', + 'مئی', + 'جون', + 'جولائی', + 'اگست', + 'ستمبر', + 'اکتوبر', + 'نومبر', + 'دسمبر' + ]; + var days = [ + 'اتوار', + 'پیر', + 'منگل', + 'بدھ', + 'جمعرات', + 'جمعہ', + 'ہفتہ' + ]; + + var ur = moment.defineLocale('ur', { + months : months, + monthsShort : months, + weekdays : days, + weekdaysShort : days, + weekdaysMin : days, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd، D MMMM YYYY HH:mm' + }, + meridiemParse: /صبح|شام/, + isPM : function (input) { + return 'شام' === input; + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return 'صبح'; + } + return 'شام'; + }, + calendar : { + sameDay : '[آج بوقت] LT', + nextDay : '[کل بوقت] LT', + nextWeek : 'dddd [بوقت] LT', + lastDay : '[گذشتہ روز بوقت] LT', + lastWeek : '[گذشتہ] dddd [بوقت] LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s بعد', + past : '%s قبل', + s : 'چند سیکنڈ', + m : 'ایک منٹ', + mm : '%d منٹ', + h : 'ایک گھنٹہ', + hh : '%d گھنٹے', + d : 'ایک دن', + dd : '%d دن', + M : 'ایک ماہ', + MM : '%d ماہ', + y : 'ایک سال', + yy : '%d سال' + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return ur; + + }))); + + +/***/ }), +/* 512 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Uzbek [uz] //! author : Sardor Muminov : https://github.com/muminoff ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var uz = moment.defineLocale('uz', { - months : 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_'), - monthsShort : 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), - weekdays : 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'), - weekdaysShort : 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'), - weekdaysMin : 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'), - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'D MMMM YYYY, dddd HH:mm' - }, - calendar : { - sameDay : '[Бугун соат] LT [да]', - nextDay : '[Эртага] LT [да]', - nextWeek : 'dddd [куни соат] LT [да]', - lastDay : '[Кеча соат] LT [да]', - lastWeek : '[Утган] dddd [куни соат] LT [да]', - sameElse : 'L' - }, - relativeTime : { - future : 'Якин %s ичида', - past : 'Бир неча %s олдин', - s : 'фурсат', - m : 'бир дакика', - mm : '%d дакика', - h : 'бир соат', - hh : '%d соат', - d : 'бир кун', - dd : '%d кун', - M : 'бир ой', - MM : '%d ой', - y : 'бир йил', - yy : '%d йил' - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 7 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var uz = moment.defineLocale('uz', { + months : 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_'), + monthsShort : 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), + weekdays : 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'), + weekdaysShort : 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'), + weekdaysMin : 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'D MMMM YYYY, dddd HH:mm' + }, + calendar : { + sameDay : '[Бугун соат] LT [да]', + nextDay : '[Эртага] LT [да]', + nextWeek : 'dddd [куни соат] LT [да]', + lastDay : '[Кеча соат] LT [да]', + lastWeek : '[Утган] dddd [куни соат] LT [да]', + sameElse : 'L' + }, + relativeTime : { + future : 'Якин %s ичида', + past : 'Бир неча %s олдин', + s : 'фурсат', + m : 'бир дакика', + mm : '%d дакика', + h : 'бир соат', + hh : '%d соат', + d : 'бир кун', + dd : '%d кун', + M : 'бир ой', + MM : '%d ой', + y : 'бир йил', + yy : '%d йил' + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 4th is the first week of the year. + } + }); - return uz; + return uz; - })); + }))); -/***/ }, -/* 496 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 513 */ +/***/ (function(module, exports, __webpack_require__) { + + //! moment.js locale configuration + //! locale : Uzbek Latin [uz-latn] + //! author : Rasulbek Mirzayev : github.com/Rasulbeeek + + ;(function (global, factory) { + true ? factory(__webpack_require__(403)) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) + }(this, (function (moment) { 'use strict'; + + + var uzLatn = moment.defineLocale('uz-latn', { + months : 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split('_'), + monthsShort : 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'), + weekdays : 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split('_'), + weekdaysShort : 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'), + weekdaysMin : 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'D MMMM YYYY, dddd HH:mm' + }, + calendar : { + sameDay : '[Bugun soat] LT [da]', + nextDay : '[Ertaga] LT [da]', + nextWeek : 'dddd [kuni soat] LT [da]', + lastDay : '[Kecha soat] LT [da]', + lastWeek : '[O\'tgan] dddd [kuni soat] LT [da]', + sameElse : 'L' + }, + relativeTime : { + future : 'Yaqin %s ichida', + past : 'Bir necha %s oldin', + s : 'soniya', + m : 'bir daqiqa', + mm : '%d daqiqa', + h : 'bir soat', + hh : '%d soat', + d : 'bir kun', + dd : '%d kun', + M : 'bir oy', + MM : '%d oy', + y : 'bir yil', + yy : '%d yil' + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return uzLatn; + + }))); + + +/***/ }), +/* 514 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Vietnamese [vi] //! author : Bang Nguyen : https://github.com/bangnk ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var vi = moment.defineLocale('vi', { - months : 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'), - monthsShort : 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'), - monthsParseExact : true, - weekdays : 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'), - weekdaysShort : 'CN_T2_T3_T4_T5_T6_T7'.split('_'), - weekdaysMin : 'CN_T2_T3_T4_T5_T6_T7'.split('_'), - weekdaysParseExact : true, - meridiemParse: /sa|ch/i, - isPM : function (input) { - return /^ch$/i.test(input); - }, - meridiem : function (hours, minutes, isLower) { - if (hours < 12) { - return isLower ? 'sa' : 'SA'; - } else { - return isLower ? 'ch' : 'CH'; - } - }, - longDateFormat : { - LT : 'HH:mm', - LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', - LL : 'D MMMM [năm] YYYY', - LLL : 'D MMMM [năm] YYYY HH:mm', - LLLL : 'dddd, D MMMM [năm] YYYY HH:mm', - l : 'DD/M/YYYY', - ll : 'D MMM YYYY', - lll : 'D MMM YYYY HH:mm', - llll : 'ddd, D MMM YYYY HH:mm' - }, - calendar : { - sameDay: '[Hôm nay lúc] LT', - nextDay: '[Ngày mai lúc] LT', - nextWeek: 'dddd [tuần tới lúc] LT', - lastDay: '[Hôm qua lúc] LT', - lastWeek: 'dddd [tuần rồi lúc] LT', - sameElse: 'L' - }, - relativeTime : { - future : '%s tới', - past : '%s trước', - s : 'vài giây', - m : 'một phút', - mm : '%d phút', - h : 'một giờ', - hh : '%d giờ', - d : 'một ngày', - dd : '%d ngày', - M : 'một tháng', - MM : '%d tháng', - y : 'một năm', - yy : '%d năm' - }, - ordinalParse: /\d{1,2}/, - ordinal : function (number) { - return number; - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var vi = moment.defineLocale('vi', { + months : 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'), + monthsShort : 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'), + monthsParseExact : true, + weekdays : 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'), + weekdaysShort : 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + weekdaysMin : 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + weekdaysParseExact : true, + meridiemParse: /sa|ch/i, + isPM : function (input) { + return /^ch$/i.test(input); + }, + meridiem : function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'sa' : 'SA'; + } else { + return isLower ? 'ch' : 'CH'; } - }); + }, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM [năm] YYYY', + LLL : 'D MMMM [năm] YYYY HH:mm', + LLLL : 'dddd, D MMMM [năm] YYYY HH:mm', + l : 'DD/M/YYYY', + ll : 'D MMM YYYY', + lll : 'D MMM YYYY HH:mm', + llll : 'ddd, D MMM YYYY HH:mm' + }, + calendar : { + sameDay: '[Hôm nay lúc] LT', + nextDay: '[Ngày mai lúc] LT', + nextWeek: 'dddd [tuần tới lúc] LT', + lastDay: '[Hôm qua lúc] LT', + lastWeek: 'dddd [tuần rồi lúc] LT', + sameElse: 'L' + }, + relativeTime : { + future : '%s tới', + past : '%s trước', + s : 'vài giây', + m : 'một phút', + mm : '%d phút', + h : 'một giờ', + hh : '%d giờ', + d : 'một ngày', + dd : '%d ngày', + M : 'một tháng', + MM : '%d tháng', + y : 'một năm', + yy : '%d năm' + }, + dayOfMonthOrdinalParse: /\d{1,2}/, + ordinal : function (number) { + return number; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return vi; + return vi; - })); + }))); -/***/ }, -/* 497 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 515 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Pseudo [x-pseudo] //! author : Andrew Hood : https://github.com/andrewhood125 ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var x_pseudo = moment.defineLocale('x-pseudo', { - months : 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split('_'), - monthsShort : 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split('_'), - monthsParseExact : true, - weekdays : 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split('_'), - weekdaysShort : 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'), - weekdaysMin : 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'), - weekdaysParseExact : true, - longDateFormat : { - LT : 'HH:mm', - L : 'DD/MM/YYYY', - LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY HH:mm', - LLLL : 'dddd, D MMMM YYYY HH:mm' - }, - calendar : { - sameDay : '[T~ódá~ý át] LT', - nextDay : '[T~ómó~rró~w át] LT', - nextWeek : 'dddd [át] LT', - lastDay : '[Ý~ést~érdá~ý át] LT', - lastWeek : '[L~ást] dddd [át] LT', - sameElse : 'L' - }, - relativeTime : { - future : 'í~ñ %s', - past : '%s á~gó', - s : 'á ~féw ~sécó~ñds', - m : 'á ~míñ~úté', - mm : '%d m~íñú~tés', - h : 'á~ñ hó~úr', - hh : '%d h~óúrs', - d : 'á ~dáý', - dd : '%d d~áýs', - M : 'á ~móñ~th', - MM : '%d m~óñt~hs', - y : 'á ~ýéár', - yy : '%d ý~éárs' - }, - ordinalParse: /\d{1,2}(th|st|nd|rd)/, - ordinal : function (number) { - var b = number % 10, - output = (~~(number % 100 / 10) === 1) ? 'th' : - (b === 1) ? 'st' : - (b === 2) ? 'nd' : - (b === 3) ? 'rd' : 'th'; - return number + output; - }, - week : { - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. - } - }); + }(this, (function (moment) { 'use strict'; + + + var xPseudo = moment.defineLocale('x-pseudo', { + months : 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split('_'), + monthsShort : 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split('_'), + monthsParseExact : true, + weekdays : 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split('_'), + weekdaysShort : 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'), + weekdaysMin : 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[T~ódá~ý át] LT', + nextDay : '[T~ómó~rró~w át] LT', + nextWeek : 'dddd [át] LT', + lastDay : '[Ý~ést~érdá~ý át] LT', + lastWeek : '[L~ást] dddd [át] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'í~ñ %s', + past : '%s á~gó', + s : 'á ~féw ~sécó~ñds', + m : 'á ~míñ~úté', + mm : '%d m~íñú~tés', + h : 'á~ñ hó~úr', + hh : '%d h~óúrs', + d : 'á ~dáý', + dd : '%d d~áýs', + M : 'á ~móñ~th', + MM : '%d m~óñt~hs', + y : 'á ~ýéár', + yy : '%d ý~éárs' + }, + dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, + ordinal : function (number) { + var b = number % 10, + output = (~~(number % 100 / 10) === 1) ? 'th' : + (b === 1) ? 'st' : + (b === 2) ? 'nd' : + (b === 3) ? 'rd' : 'th'; + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return x_pseudo; + return xPseudo; - })); + }))); + + +/***/ }), +/* 516 */ +/***/ (function(module, exports, __webpack_require__) { + + //! moment.js locale configuration + //! locale : Yoruba Nigeria [yo] + //! author : Atolagbe Abisoye : https://github.com/andela-batolagbe + + ;(function (global, factory) { + true ? factory(__webpack_require__(403)) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) + }(this, (function (moment) { 'use strict'; + + + var yo = moment.defineLocale('yo', { + months : 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split('_'), + monthsShort : 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'), + weekdays : 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'), + weekdaysShort : 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'), + weekdaysMin : 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'), + longDateFormat : { + LT : 'h:mm A', + LTS : 'h:mm:ss A', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY h:mm A', + LLLL : 'dddd, D MMMM YYYY h:mm A' + }, + calendar : { + sameDay : '[Ònì ni] LT', + nextDay : '[Ọ̀la ni] LT', + nextWeek : 'dddd [Ọsẹ̀ tón\'bọ] [ni] LT', + lastDay : '[Àna ni] LT', + lastWeek : 'dddd [Ọsẹ̀ tólọ́] [ni] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'ní %s', + past : '%s kọjá', + s : 'ìsẹjú aayá die', + m : 'ìsẹjú kan', + mm : 'ìsẹjú %d', + h : 'wákati kan', + hh : 'wákati %d', + d : 'ọjọ́ kan', + dd : 'ọjọ́ %d', + M : 'osù kan', + MM : 'osù %d', + y : 'ọdún kan', + yy : 'ọdún %d' + }, + dayOfMonthOrdinalParse : /ọjọ́\s\d{1,2}/, + ordinal : 'ọjọ́ %d', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return yo; + + }))); -/***/ }, -/* 498 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 517 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Chinese (China) [zh-cn] @@ -65126,130 +67440,115 @@ //! author : Zeno Zeng : https://github.com/zenozeng ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var zh_cn = moment.defineLocale('zh-cn', { - months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), - monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), - weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), - weekdaysShort : '周日_周一_周二_周三_周四_周五_周六'.split('_'), - weekdaysMin : '日_一_二_三_四_五_六'.split('_'), - longDateFormat : { - LT : 'Ah点mm分', - LTS : 'Ah点m分s秒', - L : 'YYYY-MM-DD', - LL : 'YYYY年MMMD日', - LLL : 'YYYY年MMMD日Ah点mm分', - LLLL : 'YYYY年MMMD日ddddAh点mm分', - l : 'YYYY-MM-DD', - ll : 'YYYY年MMMD日', - lll : 'YYYY年MMMD日Ah点mm分', - llll : 'YYYY年MMMD日ddddAh点mm分' - }, - meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, - meridiemHour: function (hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if (meridiem === '凌晨' || meridiem === '早上' || - meridiem === '上午') { - return hour; - } else if (meridiem === '下午' || meridiem === '晚上') { - return hour + 12; - } else { - // '中午' - return hour >= 11 ? hour : hour + 12; - } - }, - meridiem : function (hour, minute, isLower) { - var hm = hour * 100 + minute; - if (hm < 600) { - return '凌晨'; - } else if (hm < 900) { - return '早上'; - } else if (hm < 1130) { - return '上午'; - } else if (hm < 1230) { - return '中午'; - } else if (hm < 1800) { - return '下午'; - } else { - return '晚上'; - } - }, - calendar : { - sameDay : function () { - return this.minutes() === 0 ? '[今天]Ah[点整]' : '[今天]LT'; - }, - nextDay : function () { - return this.minutes() === 0 ? '[明天]Ah[点整]' : '[明天]LT'; - }, - lastDay : function () { - return this.minutes() === 0 ? '[昨天]Ah[点整]' : '[昨天]LT'; - }, - nextWeek : function () { - var startOfWeek, prefix; - startOfWeek = moment().startOf('week'); - prefix = this.diff(startOfWeek, 'days') >= 7 ? '[下]' : '[本]'; - return this.minutes() === 0 ? prefix + 'dddAh点整' : prefix + 'dddAh点mm'; - }, - lastWeek : function () { - var startOfWeek, prefix; - startOfWeek = moment().startOf('week'); - prefix = this.unix() < startOfWeek.unix() ? '[上]' : '[本]'; - return this.minutes() === 0 ? prefix + 'dddAh点整' : prefix + 'dddAh点mm'; - }, - sameElse : 'LL' - }, - ordinalParse: /\d{1,2}(日|月|周)/, - ordinal : function (number, period) { - switch (period) { - case 'd': - case 'D': - case 'DDD': - return number + '日'; - case 'M': - return number + '月'; - case 'w': - case 'W': - return number + '周'; - default: - return number; - } - }, - relativeTime : { - future : '%s内', - past : '%s前', - s : '几秒', - m : '1 分钟', - mm : '%d 分钟', - h : '1 小时', - hh : '%d 小时', - d : '1 天', - dd : '%d 天', - M : '1 个月', - MM : '%d 个月', - y : '1 年', - yy : '%d 年' - }, - week : { - // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效 - dow : 1, // Monday is the first day of the week. - doy : 4 // The week that contains Jan 4th is the first week of the year. + }(this, (function (moment) { 'use strict'; + + + var zhCn = moment.defineLocale('zh-cn', { + months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), + monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort : '周日_周一_周二_周三_周四_周五_周六'.split('_'), + weekdaysMin : '日_一_二_三_四_五_六'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'YYYY年MMMD日', + LL : 'YYYY年MMMD日', + LLL : 'YYYY年MMMD日Ah点mm分', + LLLL : 'YYYY年MMMD日ddddAh点mm分', + l : 'YYYY年MMMD日', + ll : 'YYYY年MMMD日', + lll : 'YYYY年MMMD日 HH:mm', + llll : 'YYYY年MMMD日dddd HH:mm' + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; } - }); + if (meridiem === '凌晨' || meridiem === '早上' || + meridiem === '上午') { + return hour; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } else { + // '中午' + return hour >= 11 ? hour : hour + 12; + } + }, + meridiem : function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar : { + sameDay : '[今天]LT', + nextDay : '[明天]LT', + nextWeek : '[下]ddddLT', + lastDay : '[昨天]LT', + lastWeek : '[上]ddddLT', + sameElse : 'L' + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/, + ordinal : function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '周'; + default: + return number; + } + }, + relativeTime : { + future : '%s内', + past : '%s前', + s : '几秒', + m : '1 分钟', + mm : '%d 分钟', + h : '1 小时', + hh : '%d 小时', + d : '1 天', + dd : '%d 天', + M : '1 个月', + MM : '%d 个月', + y : '1 年', + yy : '%d 年' + }, + week : { + // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效 + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); - return zh_cn; + return zhCn; - })); + }))); -/***/ }, -/* 499 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 518 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Chinese (Hong Kong) [zh-hk] @@ -65258,107 +67557,108 @@ //! author : Konstantin : https://github.com/skfd ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var zh_hk = moment.defineLocale('zh-hk', { - months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), - monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), - weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), - weekdaysShort : '週日_週一_週二_週三_週四_週五_週六'.split('_'), - weekdaysMin : '日_一_二_三_四_五_六'.split('_'), - longDateFormat : { - LT : 'Ah點mm分', - LTS : 'Ah點m分s秒', - L : 'YYYY年MMMD日', - LL : 'YYYY年MMMD日', - LLL : 'YYYY年MMMD日Ah點mm分', - LLLL : 'YYYY年MMMD日ddddAh點mm分', - l : 'YYYY年MMMD日', - ll : 'YYYY年MMMD日', - lll : 'YYYY年MMMD日Ah點mm分', - llll : 'YYYY年MMMD日ddddAh點mm分' - }, - meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, - meridiemHour : function (hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { - return hour; - } else if (meridiem === '中午') { - return hour >= 11 ? hour : hour + 12; - } else if (meridiem === '下午' || meridiem === '晚上') { - return hour + 12; - } - }, - meridiem : function (hour, minute, isLower) { - var hm = hour * 100 + minute; - if (hm < 600) { - return '凌晨'; - } else if (hm < 900) { - return '早上'; - } else if (hm < 1130) { - return '上午'; - } else if (hm < 1230) { - return '中午'; - } else if (hm < 1800) { - return '下午'; - } else { - return '晚上'; - } - }, - calendar : { - sameDay : '[今天]LT', - nextDay : '[明天]LT', - nextWeek : '[下]ddddLT', - lastDay : '[昨天]LT', - lastWeek : '[上]ddddLT', - sameElse : 'L' - }, - ordinalParse: /\d{1,2}(日|月|週)/, - ordinal : function (number, period) { - switch (period) { - case 'd' : - case 'D' : - case 'DDD' : - return number + '日'; - case 'M' : - return number + '月'; - case 'w' : - case 'W' : - return number + '週'; - default : - return number; - } - }, - relativeTime : { - future : '%s內', - past : '%s前', - s : '幾秒', - m : '1 分鐘', - mm : '%d 分鐘', - h : '1 小時', - hh : '%d 小時', - d : '1 天', - dd : '%d 天', - M : '1 個月', - MM : '%d 個月', - y : '1 年', - yy : '%d 年' + }(this, (function (moment) { 'use strict'; + + + var zhHk = moment.defineLocale('zh-hk', { + months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), + monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort : '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin : '日_一_二_三_四_五_六'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'YYYY年MMMD日', + LL : 'YYYY年MMMD日', + LLL : 'YYYY年MMMD日 HH:mm', + LLLL : 'YYYY年MMMD日dddd HH:mm', + l : 'YYYY年MMMD日', + ll : 'YYYY年MMMD日', + lll : 'YYYY年MMMD日 HH:mm', + llll : 'YYYY年MMMD日dddd HH:mm' + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; } - }); + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem : function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar : { + sameDay : '[今天]LT', + nextDay : '[明天]LT', + nextWeek : '[下]ddddLT', + lastDay : '[昨天]LT', + lastWeek : '[上]ddddLT', + sameElse : 'L' + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, + ordinal : function (number, period) { + switch (period) { + case 'd' : + case 'D' : + case 'DDD' : + return number + '日'; + case 'M' : + return number + '月'; + case 'w' : + case 'W' : + return number + '週'; + default : + return number; + } + }, + relativeTime : { + future : '%s內', + past : '%s前', + s : '幾秒', + m : '1 分鐘', + mm : '%d 分鐘', + h : '1 小時', + hh : '%d 小時', + d : '1 天', + dd : '%d 天', + M : '1 個月', + MM : '%d 個月', + y : '1 年', + yy : '%d 年' + } + }); - return zh_hk; + return zhHk; - })); + }))); -/***/ }, -/* 500 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 519 */ +/***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration //! locale : Chinese (Taiwan) [zh-tw] @@ -65366,120 +67666,121 @@ //! author : Chris Lam : https://github.com/hehachris ;(function (global, factory) { - true ? factory(__webpack_require__(395)) : + true ? factory(__webpack_require__(403)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) - }(this, function (moment) { 'use strict'; - - - var zh_tw = moment.defineLocale('zh-tw', { - months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), - monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), - weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), - weekdaysShort : '週日_週一_週二_週三_週四_週五_週六'.split('_'), - weekdaysMin : '日_一_二_三_四_五_六'.split('_'), - longDateFormat : { - LT : 'Ah點mm分', - LTS : 'Ah點m分s秒', - L : 'YYYY年MMMD日', - LL : 'YYYY年MMMD日', - LLL : 'YYYY年MMMD日Ah點mm分', - LLLL : 'YYYY年MMMD日ddddAh點mm分', - l : 'YYYY年MMMD日', - ll : 'YYYY年MMMD日', - lll : 'YYYY年MMMD日Ah點mm分', - llll : 'YYYY年MMMD日ddddAh點mm分' - }, - meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, - meridiemHour : function (hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { - return hour; - } else if (meridiem === '中午') { - return hour >= 11 ? hour : hour + 12; - } else if (meridiem === '下午' || meridiem === '晚上') { - return hour + 12; - } - }, - meridiem : function (hour, minute, isLower) { - var hm = hour * 100 + minute; - if (hm < 600) { - return '凌晨'; - } else if (hm < 900) { - return '早上'; - } else if (hm < 1130) { - return '上午'; - } else if (hm < 1230) { - return '中午'; - } else if (hm < 1800) { - return '下午'; - } else { - return '晚上'; - } - }, - calendar : { - sameDay : '[今天]LT', - nextDay : '[明天]LT', - nextWeek : '[下]ddddLT', - lastDay : '[昨天]LT', - lastWeek : '[上]ddddLT', - sameElse : 'L' - }, - ordinalParse: /\d{1,2}(日|月|週)/, - ordinal : function (number, period) { - switch (period) { - case 'd' : - case 'D' : - case 'DDD' : - return number + '日'; - case 'M' : - return number + '月'; - case 'w' : - case 'W' : - return number + '週'; - default : - return number; - } - }, - relativeTime : { - future : '%s內', - past : '%s前', - s : '幾秒', - m : '1 分鐘', - mm : '%d 分鐘', - h : '1 小時', - hh : '%d 小時', - d : '1 天', - dd : '%d 天', - M : '1 個月', - MM : '%d 個月', - y : '1 年', - yy : '%d 年' + }(this, (function (moment) { 'use strict'; + + + var zhTw = moment.defineLocale('zh-tw', { + months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), + monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort : '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin : '日_一_二_三_四_五_六'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'YYYY年MMMD日', + LL : 'YYYY年MMMD日', + LLL : 'YYYY年MMMD日 HH:mm', + LLLL : 'YYYY年MMMD日dddd HH:mm', + l : 'YYYY年MMMD日', + ll : 'YYYY年MMMD日', + lll : 'YYYY年MMMD日 HH:mm', + llll : 'YYYY年MMMD日dddd HH:mm' + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; } - }); + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem : function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar : { + sameDay : '[今天]LT', + nextDay : '[明天]LT', + nextWeek : '[下]ddddLT', + lastDay : '[昨天]LT', + lastWeek : '[上]ddddLT', + sameElse : 'L' + }, + dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, + ordinal : function (number, period) { + switch (period) { + case 'd' : + case 'D' : + case 'DDD' : + return number + '日'; + case 'M' : + return number + '月'; + case 'w' : + case 'W' : + return number + '週'; + default : + return number; + } + }, + relativeTime : { + future : '%s內', + past : '%s前', + s : '幾秒', + m : '1 分鐘', + mm : '%d 分鐘', + h : '1 小時', + hh : '%d 小時', + d : '1 天', + dd : '%d 天', + M : '1 個月', + MM : '%d 個月', + y : '1 年', + yy : '%d 年' + } + }); - return zh_tw; + return zhTw; - })); + }))); -/***/ }, -/* 501 */ -/***/ function(module, exports, __webpack_require__) { + +/***/ }), +/* 520 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(371); - var classNames = __webpack_require__(502); - var moment = __webpack_require__(395); + var tslib_1 = __webpack_require__(379); + var classNames = __webpack_require__(521); + var moment = __webpack_require__(403); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var dateUtils_1 = __webpack_require__(394); - var errors_1 = __webpack_require__(503); - var datePicker_1 = __webpack_require__(504); - var datePickerCore_1 = __webpack_require__(507); - var dateTimePicker_1 = __webpack_require__(508); + var core_1 = __webpack_require__(179); + var dateUtils_1 = __webpack_require__(402); + var errors_1 = __webpack_require__(522); + var datePicker_1 = __webpack_require__(523); + var datePickerCore_1 = __webpack_require__(526); + var dateTimePicker_1 = __webpack_require__(527); var DateInput = (function (_super) { tslib_1.__extends(DateInput, _super); function DateInput(props, context) { @@ -65690,9 +67991,9 @@ exports.DateInput = DateInput; -/***/ }, -/* 502 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 521 */ +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! Copyright (c) 2016 Jed Watson. @@ -65744,9 +68045,9 @@ }()); -/***/ }, -/* 503 */ -/***/ function(module, exports) { +/***/ }), +/* 522 */ +/***/ (function(module, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -65766,22 +68067,22 @@ "uncontrolled mode, or pass [null, null] to clear the value and continue operating in controlled mode."; -/***/ }, -/* 504 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 523 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(371); - var core_1 = __webpack_require__(178); - var classNames = __webpack_require__(502); + var tslib_1 = __webpack_require__(379); + var core_1 = __webpack_require__(179); + var classNames = __webpack_require__(521); var React = __webpack_require__(3); - var ReactDayPicker = __webpack_require__(374); - var Classes = __webpack_require__(373); - var DateUtils = __webpack_require__(394); - var Errors = __webpack_require__(503); - var datePickerCaption_1 = __webpack_require__(505); - var datePickerCore_1 = __webpack_require__(507); + var ReactDayPicker = __webpack_require__(382); + var Classes = __webpack_require__(381); + var DateUtils = __webpack_require__(402); + var Errors = __webpack_require__(522); + var datePickerCaption_1 = __webpack_require__(524); + var datePickerCore_1 = __webpack_require__(526); var DatePicker = (function (_super) { tslib_1.__extends(DatePicker, _super); function DatePicker(props, context) { @@ -65986,18 +68287,18 @@ exports.DatePickerFactory = React.createFactory(DatePicker); -/***/ }, -/* 505 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 524 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(371); - var core_1 = __webpack_require__(178); - var classNames = __webpack_require__(502); + var tslib_1 = __webpack_require__(379); + var core_1 = __webpack_require__(179); + var classNames = __webpack_require__(521); var React = __webpack_require__(3); - var Classes = __webpack_require__(373); - var Utils = __webpack_require__(506); + var Classes = __webpack_require__(381); + var Utils = __webpack_require__(525); var DatePickerCaption = (function (_super) { tslib_1.__extends(DatePickerCaption, _super); function DatePickerCaption() { @@ -66066,9 +68367,9 @@ exports.DatePickerCaption = DatePickerCaption; -/***/ }, -/* 506 */ -/***/ function(module, exports) { +/***/ }), +/* 525 */ +/***/ (function(module, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -66098,9 +68399,9 @@ } -/***/ }, -/* 507 */ -/***/ function(module, exports) { +/***/ }), +/* 526 */ +/***/ (function(module, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -66150,20 +68451,20 @@ exports.combineModifiers = combineModifiers; -/***/ }, -/* 508 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 527 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(371); - var classNames = __webpack_require__(502); + var tslib_1 = __webpack_require__(379); + var classNames = __webpack_require__(521); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var Classes = __webpack_require__(373); - var DateUtils = __webpack_require__(394); - var datePicker_1 = __webpack_require__(504); - var timePicker_1 = __webpack_require__(509); + var core_1 = __webpack_require__(179); + var Classes = __webpack_require__(381); + var DateUtils = __webpack_require__(402); + var datePicker_1 = __webpack_require__(523); + var timePicker_1 = __webpack_require__(528); var DateTimePicker = (function (_super) { tslib_1.__extends(DateTimePicker, _super); function DateTimePicker(props, context) { @@ -66216,19 +68517,19 @@ exports.DateTimePicker = DateTimePicker; -/***/ }, -/* 509 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 528 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(371); - var core_1 = __webpack_require__(178); - var classNames = __webpack_require__(502); + var tslib_1 = __webpack_require__(379); + var core_1 = __webpack_require__(179); + var classNames = __webpack_require__(521); var React = __webpack_require__(3); - var Classes = __webpack_require__(373); - var DateUtils = __webpack_require__(394); - var Utils = __webpack_require__(506); + var Classes = __webpack_require__(381); + var DateUtils = __webpack_require__(402); + var Utils = __webpack_require__(525); var TimePickerPrecision; (function (TimePickerPrecision) { TimePickerPrecision[TimePickerPrecision["MINUTE"] = 0] = "MINUTE"; @@ -66547,21 +68848,21 @@ exports.TimePickerFactory = React.createFactory(TimePicker); -/***/ }, -/* 510 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 529 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(371); - var classNames = __webpack_require__(502); - var moment = __webpack_require__(395); + var tslib_1 = __webpack_require__(379); + var classNames = __webpack_require__(521); + var moment = __webpack_require__(403); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var dateUtils_1 = __webpack_require__(394); - var Errors = __webpack_require__(503); - var datePickerCore_1 = __webpack_require__(507); - var dateRangePicker_1 = __webpack_require__(511); + var core_1 = __webpack_require__(179); + var dateUtils_1 = __webpack_require__(402); + var Errors = __webpack_require__(522); + var datePickerCore_1 = __webpack_require__(526); + var dateRangePicker_1 = __webpack_require__(530); ; ; var DateRangeInput = (function (_super) { @@ -67141,25 +69442,25 @@ exports.DateRangeInput = DateRangeInput; -/***/ }, -/* 511 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 530 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(371); - var core_1 = __webpack_require__(178); - var classNames = __webpack_require__(502); + var tslib_1 = __webpack_require__(379); + var core_1 = __webpack_require__(179); + var classNames = __webpack_require__(521); var React = __webpack_require__(3); - var DayPicker = __webpack_require__(374); - var DateClasses = __webpack_require__(373); - var DateUtils = __webpack_require__(394); - var dateUtils_1 = __webpack_require__(394); - var Errors = __webpack_require__(503); - var monthAndYear_1 = __webpack_require__(512); - var datePickerCaption_1 = __webpack_require__(505); - var datePickerCore_1 = __webpack_require__(507); - var dateRangeSelectionStrategy_1 = __webpack_require__(513); + var DayPicker = __webpack_require__(382); + var DateClasses = __webpack_require__(381); + var DateUtils = __webpack_require__(402); + var dateUtils_1 = __webpack_require__(402); + var Errors = __webpack_require__(522); + var monthAndYear_1 = __webpack_require__(531); + var datePickerCaption_1 = __webpack_require__(524); + var datePickerCore_1 = __webpack_require__(526); + var dateRangeSelectionStrategy_1 = __webpack_require__(532); var DateRangePicker = (function (_super) { tslib_1.__extends(DateRangePicker, _super); function DateRangePicker(props, context) { @@ -67524,13 +69825,13 @@ exports.DateRangePickerFactory = React.createFactory(DateRangePicker); -/***/ }, -/* 512 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 531 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var dateUtils_1 = __webpack_require__(394); + var dateUtils_1 = __webpack_require__(402); var MonthAndYear = (function () { function MonthAndYear(month, year) { if (month !== null && year !== null) { @@ -67586,13 +69887,13 @@ } -/***/ }, -/* 513 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 532 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var dateUtils_1 = __webpack_require__(394); + var dateUtils_1 = __webpack_require__(402); ; var DateRangeSelectionStrategy = (function () { function DateRangeSelectionStrategy() { @@ -67728,13 +70029,13 @@ exports.DateRangeSelectionStrategy = DateRangeSelectionStrategy; -/***/ }, -/* 514 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 533 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var core_1 = __webpack_require__(178); + var core_1 = __webpack_require__(179); var React = __webpack_require__(3); exports.FORMATS = [ "MM/DD/YYYY", @@ -67744,15 +70045,15 @@ exports.FormatSelect = function (props) { return (React.createElement(core_1.RadioGroup, { label: "Date format", onChange: props.onChange, selectedValue: props.selectedValue }, exports.FORMATS.map(function (value) { return React.createElement(core_1.Radio, { key: value, label: value, value: value }); }))); }; -/***/ }, -/* 515 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 534 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var core_1 = __webpack_require__(178); + var core_1 = __webpack_require__(179); var React = __webpack_require__(3); - var src_1 = __webpack_require__(372); + var src_1 = __webpack_require__(380); exports.PrecisionSelect = function (props) { return (React.createElement("label", { className: core_1.Classes.LABEL }, props.label == null ? props.label : "Precision", React.createElement("div", { className: core_1.Classes.SELECT }, @@ -67763,19 +70064,19 @@ React.createElement("option", { value: src_1.TimePickerPrecision.MILLISECOND.toString() }, "Millisecond"))))); }; -/***/ }, -/* 516 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 535 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(371); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var classNames = __webpack_require__(502); - var moment = __webpack_require__(395); + var tslib_1 = __webpack_require__(379); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var classNames = __webpack_require__(521); + var moment = __webpack_require__(403); var React = __webpack_require__(3); - var src_1 = __webpack_require__(372); + var src_1 = __webpack_require__(380); var FORMAT = "dddd, LL"; exports.Moment = function (_a) { var date = _a.date, _b = _a.format, format = _b === void 0 ? FORMAT : _b; @@ -67816,18 +70117,18 @@ exports.DatePickerExample = DatePickerExample; -/***/ }, -/* 517 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 536 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(371); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var tslib_1 = __webpack_require__(379); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var React = __webpack_require__(3); - var src_1 = __webpack_require__(372); - var formatSelect_1 = __webpack_require__(514); + var src_1 = __webpack_require__(380); + var formatSelect_1 = __webpack_require__(533); var DateRangeInputExample = (function (_super) { tslib_1.__extends(DateRangeInputExample, _super); function DateRangeInputExample() { @@ -67872,19 +70173,19 @@ exports.DateRangeInputExample = DateRangeInputExample; -/***/ }, -/* 518 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 537 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(371); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var moment = __webpack_require__(395); + var tslib_1 = __webpack_require__(379); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var moment = __webpack_require__(403); var React = __webpack_require__(3); - var src_1 = __webpack_require__(372); - var datePickerExample_1 = __webpack_require__(516); + var src_1 = __webpack_require__(380); + var datePickerExample_1 = __webpack_require__(535); var MIN_DATE_OPTIONS = [ { label: "None", value: undefined }, { label: "4 months ago", value: moment().add(-4, "months").toDate() }, @@ -67956,18 +70257,18 @@ exports.DateRangePickerExample = DateRangePickerExample; -/***/ }, -/* 519 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 538 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(371); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var tslib_1 = __webpack_require__(379); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var React = __webpack_require__(3); - var src_1 = __webpack_require__(372); - var datePickerExample_1 = __webpack_require__(516); + var src_1 = __webpack_require__(380); + var datePickerExample_1 = __webpack_require__(535); var DateTimePickerExample = (function (_super) { tslib_1.__extends(DateTimePickerExample, _super); function DateTimePickerExample() { @@ -67988,19 +70289,19 @@ exports.DateTimePickerExample = DateTimePickerExample; -/***/ }, -/* 520 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 539 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(371); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); + var tslib_1 = __webpack_require__(379); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); var React = __webpack_require__(3); - var precisionSelect_1 = __webpack_require__(515); - var src_1 = __webpack_require__(372); - var timePicker_1 = __webpack_require__(509); + var precisionSelect_1 = __webpack_require__(534); + var src_1 = __webpack_require__(380); + var timePicker_1 = __webpack_require__(528); var MinimumHours; (function (MinimumHours) { MinimumHours[MinimumHours["NONE"] = 0] = "NONE"; @@ -68083,36 +70384,36 @@ exports.TimePickerExample = TimePickerExample; -/***/ }, -/* 521 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 540 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(522)); - __export(__webpack_require__(537)); - __export(__webpack_require__(538)); - __export(__webpack_require__(539)); - __export(__webpack_require__(540)); __export(__webpack_require__(541)); + __export(__webpack_require__(556)); + __export(__webpack_require__(557)); + __export(__webpack_require__(558)); + __export(__webpack_require__(559)); + __export(__webpack_require__(560)); -/***/ }, -/* 522 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 541 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); - var classNames = __webpack_require__(298); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var src_1 = __webpack_require__(523); - var data_1 = __webpack_require__(536); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var src_1 = __webpack_require__(542); + var data_1 = __webpack_require__(555); var FilmMultiSelect = src_1.MultiSelect.ofType(); var INTENTS = [core_1.Intent.NONE, core_1.Intent.PRIMARY, core_1.Intent.SUCCESS, core_1.Intent.DANGER, core_1.Intent.WARNING]; var MultiSelectExample = (function (_super) { @@ -68206,32 +70507,32 @@ exports.MultiSelectExample = MultiSelectExample; -/***/ }, -/* 523 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 542 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(524)); - __export(__webpack_require__(526)); + __export(__webpack_require__(543)); + __export(__webpack_require__(545)); -/***/ }, -/* 524 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 543 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var classes = __webpack_require__(525); + var classes = __webpack_require__(544); exports.Classes = classes; -/***/ }, -/* 525 */ -/***/ function(module, exports) { +/***/ }), +/* 544 */ +/***/ (function(module, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -68246,37 +70547,37 @@ exports.TAG_INPUT_ICON = exports.TAG_INPUT + "-icon"; -/***/ }, -/* 526 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 545 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(527)); - __export(__webpack_require__(528)); - __export(__webpack_require__(529)); - __export(__webpack_require__(532)); - __export(__webpack_require__(533)); - __export(__webpack_require__(534)); - __export(__webpack_require__(535)); + __export(__webpack_require__(546)); + __export(__webpack_require__(547)); + __export(__webpack_require__(548)); + __export(__webpack_require__(551)); + __export(__webpack_require__(552)); + __export(__webpack_require__(553)); + __export(__webpack_require__(554)); -/***/ }, -/* 527 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 546 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); - var classNames = __webpack_require__(298); - var PureRender = __webpack_require__(299); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); + var PureRender = __webpack_require__(307); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var _1 = __webpack_require__(526); - var Classes = __webpack_require__(525); + var core_1 = __webpack_require__(179); + var _1 = __webpack_require__(545); + var Classes = __webpack_require__(544); var Omnibox = Omnibox_1 = (function (_super) { tslib_1.__extends(Omnibox, _super); function Omnibox() { @@ -68361,21 +70662,21 @@ var Omnibox_1; -/***/ }, -/* 528 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 547 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); - var classNames = __webpack_require__(298); - var PureRender = __webpack_require__(299); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); + var PureRender = __webpack_require__(307); var React = __webpack_require__(3); - var react_popper_1 = __webpack_require__(304); - var core_1 = __webpack_require__(178); - var tooltip2_1 = __webpack_require__(529); - var arrow_1 = __webpack_require__(530); - var popperUtils_1 = __webpack_require__(531); + var react_popper_1 = __webpack_require__(312); + var core_1 = __webpack_require__(179); + var tooltip2_1 = __webpack_require__(548); + var arrow_1 = __webpack_require__(549); + var popperUtils_1 = __webpack_require__(550); var Popover2 = (function (_super) { tslib_1.__extends(Popover2, _super); function Popover2(props, context) { @@ -68629,18 +70930,18 @@ } -/***/ }, -/* 529 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 548 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); - var classNames = __webpack_require__(298); - var PureRender = __webpack_require__(299); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); + var PureRender = __webpack_require__(307); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var popover2_1 = __webpack_require__(528); + var core_1 = __webpack_require__(179); + var popover2_1 = __webpack_require__(547); var Tooltip2 = (function (_super) { tslib_1.__extends(Tooltip2, _super); function Tooltip2() { @@ -68668,16 +70969,16 @@ exports.Tooltip2 = Tooltip2; -/***/ }, -/* 530 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 549 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var React = __webpack_require__(3); - var react_popper_1 = __webpack_require__(304); - var core_1 = __webpack_require__(178); - var popperUtils_1 = __webpack_require__(531); + var react_popper_1 = __webpack_require__(312); + var core_1 = __webpack_require__(179); + var popperUtils_1 = __webpack_require__(550); var SVG_SHADOW_PATH = "M8.11 6.302c1.015-.936 1.887-2.922 1.887-4.297v26c0-1.378" + "-.868-3.357-1.888-4.297L.925 17.09c-1.237-1.14-1.233-3.034 0-4.17L8.11 6.302z"; var SVG_ARROW_PATH = "M8.787 7.036c1.22-1.125 2.21-3.376 2.21-5.03V0v30-2.005" + @@ -68701,9 +71002,9 @@ exports.PopoverArrow.displayName = "Blueprint.Popover2Arrow"; -/***/ }, -/* 531 */ -/***/ function(module, exports) { +/***/ }), +/* 550 */ +/***/ (function(module, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -68772,15 +71073,15 @@ }; -/***/ }, -/* 532 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 551 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); + var tslib_1 = __webpack_require__(305); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); + var core_1 = __webpack_require__(179); var QueryList = (function (_super) { tslib_1.__extends(QueryList, _super); function QueryList() { @@ -68905,19 +71206,19 @@ } -/***/ }, -/* 533 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 552 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); - var classNames = __webpack_require__(298); - var PureRender = __webpack_require__(299); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); + var PureRender = __webpack_require__(307); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var _1 = __webpack_require__(526); - var Classes = __webpack_require__(525); + var core_1 = __webpack_require__(179); + var _1 = __webpack_require__(545); + var Classes = __webpack_require__(544); var MultiSelect = MultiSelect_1 = (function (_super) { tslib_1.__extends(MultiSelect, _super); function MultiSelect() { @@ -69043,19 +71344,19 @@ var MultiSelect_1; -/***/ }, -/* 534 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 553 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); - var classNames = __webpack_require__(298); - var PureRender = __webpack_require__(299); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); + var PureRender = __webpack_require__(307); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var _1 = __webpack_require__(526); - var Classes = __webpack_require__(525); + var core_1 = __webpack_require__(179); + var _1 = __webpack_require__(545); + var Classes = __webpack_require__(544); var Select = Select_1 = (function (_super) { tslib_1.__extends(Select, _super); function Select() { @@ -69167,18 +71468,18 @@ var Select_1; -/***/ }, -/* 535 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 554 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); - var classNames = __webpack_require__(298); - var PureRender = __webpack_require__(299); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); + var PureRender = __webpack_require__(307); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var Classes = __webpack_require__(525); + var core_1 = __webpack_require__(179); + var Classes = __webpack_require__(544); var NONE = -1; var TagInput = (function (_super) { tslib_1.__extends(TagInput, _super); @@ -69328,13 +71629,13 @@ exports.TagInput = TagInput; -/***/ }, -/* 536 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 555 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); + var tslib_1 = __webpack_require__(305); exports.TOP_100_FILMS = [ { title: "The Shawshank Redemption", year: 1994 }, { title: "The Godfather", year: 1972 }, @@ -69439,19 +71740,19 @@ ].map(function (m, index) { return (tslib_1.__assign({}, m, { rank: index + 1 })); }); -/***/ }, -/* 537 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 556 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); - var classNames = __webpack_require__(298); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var src_1 = __webpack_require__(523); - var data_1 = __webpack_require__(536); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var src_1 = __webpack_require__(542); + var data_1 = __webpack_require__(555); var FilmOmnibox = src_1.Omnibox.ofType(); var OmniboxExample = (function (_super) { tslib_1.__extends(OmniboxExample, _super); @@ -69533,19 +71834,19 @@ exports.OmniboxExample = OmniboxExample; -/***/ }, -/* 538 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 557 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); - var classNames = __webpack_require__(298); - var PopperJS = __webpack_require__(312); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); + var PopperJS = __webpack_require__(320); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var src_1 = __webpack_require__(523); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var src_1 = __webpack_require__(542); var INTERACTION_KINDS = [ { label: "Click", value: core_1.PopoverInteractionKind.CLICK.toString() }, { label: "Click (target only)", value: core_1.PopoverInteractionKind.CLICK_TARGET_ONLY.toString() }, @@ -69717,19 +72018,19 @@ exports.Popover2Example = Popover2Example; -/***/ }, -/* 539 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 558 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); - var classNames = __webpack_require__(298); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var src_1 = __webpack_require__(523); - var data_1 = __webpack_require__(536); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var src_1 = __webpack_require__(542); + var data_1 = __webpack_require__(555); var FilmSelect = src_1.Select.ofType(); var SelectExample = (function (_super) { tslib_1.__extends(SelectExample, _super); @@ -69788,18 +72089,18 @@ exports.SelectExample = SelectExample; -/***/ }, -/* 540 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 559 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); - var classNames = __webpack_require__(298); + var tslib_1 = __webpack_require__(305); + var classNames = __webpack_require__(306); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var src_1 = __webpack_require__(523); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var src_1 = __webpack_require__(542); var INTENTS = [core_1.Intent.NONE, core_1.Intent.PRIMARY, core_1.Intent.SUCCESS, core_1.Intent.DANGER, core_1.Intent.WARNING]; var VALUES = [ React.createElement("strong", null, "Albert"), @@ -69858,17 +72159,17 @@ exports.TagInputExample = TagInputExample; -/***/ }, -/* 541 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 560 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(297); + var tslib_1 = __webpack_require__(305); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var src_1 = __webpack_require__(523); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var src_1 = __webpack_require__(542); var Tooltip2Example = (function (_super) { tslib_1.__extends(Tooltip2Example, _super); function Tooltip2Example() { @@ -69917,38 +72218,38 @@ exports.Tooltip2Example = Tooltip2Example; -/***/ }, -/* 542 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 561 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(543)); - __export(__webpack_require__(595)); - __export(__webpack_require__(596)); - __export(__webpack_require__(597)); - __export(__webpack_require__(598)); - __export(__webpack_require__(599)); - __export(__webpack_require__(600)); - __export(__webpack_require__(601)); - __export(__webpack_require__(602)); - - -/***/ }, -/* 543 */ -/***/ function(module, exports, __webpack_require__) { + __export(__webpack_require__(562)); + __export(__webpack_require__(614)); + __export(__webpack_require__(615)); + __export(__webpack_require__(616)); + __export(__webpack_require__(617)); + __export(__webpack_require__(618)); + __export(__webpack_require__(619)); + __export(__webpack_require__(620)); + __export(__webpack_require__(621)); + + +/***/ }), +/* 562 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); + var tslib_1 = __webpack_require__(563); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var src_1 = __webpack_require__(545); - var bigSpaceRocks = __webpack_require__(594); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var src_1 = __webpack_require__(564); + var bigSpaceRocks = __webpack_require__(613); exports.CellsLoadingConfiguration = { ALL: "all", FIRST_COLUMN: "first-column", @@ -70037,9 +72338,9 @@ exports.CellLoadingExample = CellLoadingExample; -/***/ }, -/* 544 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 563 */ +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(global) {/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. @@ -70253,59 +72554,59 @@ }); /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) -/***/ }, -/* 545 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 564 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - __webpack_require__(546); - var cell_1 = __webpack_require__(547); + __webpack_require__(565); + var cell_1 = __webpack_require__(566); exports.Cell = cell_1.Cell; - var editableCell_1 = __webpack_require__(556); + var editableCell_1 = __webpack_require__(575); exports.EditableCell = editableCell_1.EditableCell; - var jsonFormat_1 = __webpack_require__(559); + var jsonFormat_1 = __webpack_require__(578); exports.JSONFormat = jsonFormat_1.JSONFormat; - var truncatedFormat_1 = __webpack_require__(560); + var truncatedFormat_1 = __webpack_require__(579); exports.TruncatedPopoverMode = truncatedFormat_1.TruncatedPopoverMode; exports.TruncatedFormat = truncatedFormat_1.TruncatedFormat; - var column_1 = __webpack_require__(561); + var column_1 = __webpack_require__(580); exports.Column = column_1.Column; - var index_1 = __webpack_require__(562); + var index_1 = __webpack_require__(581); exports.Clipboard = index_1.Clipboard; exports.Grid = index_1.Grid; exports.Rect = index_1.Rect; exports.Utils = index_1.Utils; - var draggable_1 = __webpack_require__(557); + var draggable_1 = __webpack_require__(576); exports.Draggable = draggable_1.Draggable; - var menus_1 = __webpack_require__(568); + var menus_1 = __webpack_require__(587); exports.CopyCellsMenuItem = menus_1.CopyCellsMenuItem; - var resizeHandle_1 = __webpack_require__(571); + var resizeHandle_1 = __webpack_require__(590); exports.Orientation = resizeHandle_1.Orientation; exports.ResizeHandle = resizeHandle_1.ResizeHandle; - var selectable_1 = __webpack_require__(572); + var selectable_1 = __webpack_require__(591); exports.DragSelectable = selectable_1.DragSelectable; - var columnHeaderCell_1 = __webpack_require__(573); + var columnHeaderCell_1 = __webpack_require__(592); exports.ColumnHeaderCell = columnHeaderCell_1.ColumnHeaderCell; exports.HorizontalCellDivider = columnHeaderCell_1.HorizontalCellDivider; - var rowHeaderCell_1 = __webpack_require__(576); + var rowHeaderCell_1 = __webpack_require__(595); exports.RowHeaderCell = rowHeaderCell_1.RowHeaderCell; - var editableName_1 = __webpack_require__(577); + var editableName_1 = __webpack_require__(596); exports.EditableName = editableName_1.EditableName; - var regions_1 = __webpack_require__(565); + var regions_1 = __webpack_require__(584); exports.ColumnLoadingOption = regions_1.ColumnLoadingOption; exports.RegionCardinality = regions_1.RegionCardinality; exports.Regions = regions_1.Regions; exports.RowLoadingOption = regions_1.RowLoadingOption; exports.SelectionModes = regions_1.SelectionModes; exports.TableLoadingOption = regions_1.TableLoadingOption; - var table_1 = __webpack_require__(578); + var table_1 = __webpack_require__(597); exports.Table = table_1.Table; -/***/ }, -/* 546 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 565 */ +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(global, process) { /*! * https://github.com/paulmillr/es6-shim @@ -74150,21 +76451,21 @@ return globals; })); - /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(114))) + /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(115))) -/***/ }, -/* 547 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 566 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var classNames = __webpack_require__(548); + var tslib_1 = __webpack_require__(563); + var classNames = __webpack_require__(567); var React = __webpack_require__(3); - var Classes = __webpack_require__(549); - var utils_1 = __webpack_require__(550); - var core_1 = __webpack_require__(178); - var loadableContent_1 = __webpack_require__(551); + var Classes = __webpack_require__(568); + var utils_1 = __webpack_require__(569); + var core_1 = __webpack_require__(179); + var loadableContent_1 = __webpack_require__(570); exports.emptyCellRenderer = function () { return React.createElement(Cell, null); }; var Cell = (function (_super) { tslib_1.__extends(Cell, _super); @@ -74200,9 +76501,9 @@ exports.Cell = Cell; -/***/ }, -/* 548 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 567 */ +/***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! Copyright (c) 2016 Jed Watson. @@ -74254,9 +76555,9 @@ }()); -/***/ }, -/* 549 */ -/***/ function(module, exports) { +/***/ }), +/* 568 */ +/***/ (function(module, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -74366,13 +76667,13 @@ exports.rowCellIndexClass = rowCellIndexClass; -/***/ }, -/* 550 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 569 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var classNames = __webpack_require__(548); + var classNames = __webpack_require__(567); var React = __webpack_require__(3); ; var CSS_FONT_PROPERTIES = [ @@ -74672,16 +76973,16 @@ } -/***/ }, -/* 551 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 570 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var PureRender = __webpack_require__(552); + var tslib_1 = __webpack_require__(563); + var PureRender = __webpack_require__(571); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); + var core_1 = __webpack_require__(179); var LoadableContent = (function (_super) { tslib_1.__extends(LoadableContent, _super); function LoadableContent(props) { @@ -74712,9 +77013,9 @@ exports.LoadableContent = LoadableContent; -/***/ }, -/* 552 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 571 */ +/***/ (function(module, exports, __webpack_require__) { /** * @author Félix Girault @@ -74722,8 +77023,8 @@ */ 'use strict'; - var warning = __webpack_require__(553); - var shallowEqual = __webpack_require__(555); + var warning = __webpack_require__(572); + var shallowEqual = __webpack_require__(574); @@ -74784,9 +77085,9 @@ module.exports = pureRenderDecorator; -/***/ }, -/* 553 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 572 */ +/***/ (function(module, exports, __webpack_require__) { /** * Copyright 2014-2015, Facebook, Inc. @@ -74800,7 +77101,7 @@ 'use strict'; - var emptyFunction = __webpack_require__(554); + var emptyFunction = __webpack_require__(573); /** * Similar to invariant but only logs a warning if the condition is not met. @@ -74812,50 +77113,52 @@ var warning = emptyFunction; if (false) { - var printWarning = function printWarning(format) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - var argIndex = 0; - var message = 'Warning: ' + format.replace(/%s/g, function () { - return args[argIndex++]; - }); - if (typeof console !== 'undefined') { - console.error(message); - } - try { - // --- Welcome to debugging React --- - // This error was thrown as a convenience so that you can use this stack - // to find the callsite that caused this warning to fire. - throw new Error(message); - } catch (x) {} - }; + (function () { + var printWarning = function printWarning(format) { + for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } - warning = function warning(condition, format) { - if (format === undefined) { - throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument'); - } + var argIndex = 0; + var message = 'Warning: ' + format.replace(/%s/g, function () { + return args[argIndex++]; + }); + if (typeof console !== 'undefined') { + console.error(message); + } + try { + // --- Welcome to debugging React --- + // This error was thrown as a convenience so that you can use this stack + // to find the callsite that caused this warning to fire. + throw new Error(message); + } catch (x) {} + }; - if (format.indexOf('Failed Composite propType: ') === 0) { - return; // Ignore CompositeComponent proptype check. - } + warning = function warning(condition, format) { + if (format === undefined) { + throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument'); + } - if (!condition) { - for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { - args[_key2 - 2] = arguments[_key2]; + if (format.indexOf('Failed Composite propType: ') === 0) { + return; // Ignore CompositeComponent proptype check. } - printWarning.apply(undefined, [format].concat(args)); - } - }; + if (!condition) { + for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { + args[_key2 - 2] = arguments[_key2]; + } + + printWarning.apply(undefined, [format].concat(args)); + } + }; + })(); } module.exports = warning; -/***/ }, -/* 554 */ -/***/ function(module, exports) { +/***/ }), +/* 573 */ +/***/ (function(module, exports) { "use strict"; @@ -74896,9 +77199,9 @@ module.exports = emptyFunction; -/***/ }, -/* 555 */ -/***/ function(module, exports) { +/***/ }), +/* 574 */ +/***/ (function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -74968,20 +77271,20 @@ module.exports = shallowEqual; -/***/ }, -/* 556 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 575 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); + var tslib_1 = __webpack_require__(563); var React = __webpack_require__(3); var ReactDOM = __webpack_require__(33); - var core_1 = __webpack_require__(178); - var Classes = __webpack_require__(549); - var utils_1 = __webpack_require__(550); - var draggable_1 = __webpack_require__(557); - var cell_1 = __webpack_require__(547); + var core_1 = __webpack_require__(179); + var Classes = __webpack_require__(568); + var utils_1 = __webpack_require__(569); + var draggable_1 = __webpack_require__(576); + var cell_1 = __webpack_require__(566); var EditableCell = (function (_super) { tslib_1.__extends(EditableCell, _super); function EditableCell(props, context) { @@ -75049,18 +77352,18 @@ exports.EditableCell = EditableCell; -/***/ }, -/* 557 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 576 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var PureRender = __webpack_require__(552); + var tslib_1 = __webpack_require__(563); + var PureRender = __webpack_require__(571); var React = __webpack_require__(3); var ReactDOM = __webpack_require__(33); - var utils_1 = __webpack_require__(550); - var dragEvents_1 = __webpack_require__(558); + var utils_1 = __webpack_require__(569); + var dragEvents_1 = __webpack_require__(577); var REATTACH_PROPS_KEYS = [ "stopPropagation", "preventDefault", @@ -75099,9 +77402,9 @@ exports.Draggable = Draggable; -/***/ }, -/* 558 */ -/***/ function(module, exports) { +/***/ }), +/* 577 */ +/***/ (function(module, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -75242,17 +77545,17 @@ exports.DragEvents = DragEvents; -/***/ }, -/* 559 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 578 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var classNames = __webpack_require__(548); + var tslib_1 = __webpack_require__(563); + var classNames = __webpack_require__(567); var React = __webpack_require__(3); - var Classes = __webpack_require__(549); - var truncatedFormat_1 = __webpack_require__(560); + var Classes = __webpack_require__(568); + var truncatedFormat_1 = __webpack_require__(579); var JSONFormat = (function (_super) { tslib_1.__extends(JSONFormat, _super); function JSONFormat() { @@ -75289,17 +77592,17 @@ exports.JSONFormat = JSONFormat; -/***/ }, -/* 560 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 579 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var core_1 = __webpack_require__(178); - var classNames = __webpack_require__(548); + var tslib_1 = __webpack_require__(563); + var core_1 = __webpack_require__(179); + var classNames = __webpack_require__(567); var React = __webpack_require__(3); - var Classes = __webpack_require__(549); + var Classes = __webpack_require__(568); var CONTENT_DIV_WIDTH_DELTA = 25; var TruncatedPopoverMode; (function (TruncatedPopoverMode) { @@ -75386,16 +77689,16 @@ exports.TruncatedFormat = TruncatedFormat; -/***/ }, -/* 561 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 580 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var PureRender = __webpack_require__(552); + var tslib_1 = __webpack_require__(563); + var PureRender = __webpack_require__(571); var React = __webpack_require__(3); - var cell_1 = __webpack_require__(547); + var cell_1 = __webpack_require__(566); var Column = (function (_super) { tslib_1.__extends(Column, _super); function Column() { @@ -75412,27 +77715,27 @@ exports.Column = Column; -/***/ }, -/* 562 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 581 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var clipboard_1 = __webpack_require__(563); + var clipboard_1 = __webpack_require__(582); exports.Clipboard = clipboard_1.Clipboard; - var grid_1 = __webpack_require__(564); + var grid_1 = __webpack_require__(583); exports.Grid = grid_1.Grid; - var rect_1 = __webpack_require__(566); + var rect_1 = __webpack_require__(585); exports.Rect = rect_1.Rect; - var roundSize_1 = __webpack_require__(567); + var roundSize_1 = __webpack_require__(586); exports.RoundSize = roundSize_1.RoundSize; - var utils_1 = __webpack_require__(550); + var utils_1 = __webpack_require__(569); exports.Utils = utils_1.Utils; -/***/ }, -/* 563 */ -/***/ function(module, exports) { +/***/ }), +/* 582 */ +/***/ (function(module, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -75499,17 +77802,17 @@ }; -/***/ }, -/* 564 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 583 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var regions_1 = __webpack_require__(565); - var Classes = __webpack_require__(549); - var rect_1 = __webpack_require__(566); - var utils_1 = __webpack_require__(550); + var tslib_1 = __webpack_require__(563); + var regions_1 = __webpack_require__(584); + var Classes = __webpack_require__(568); + var rect_1 = __webpack_require__(585); + var utils_1 = __webpack_require__(569); var Grid = (function () { function Grid(rowHeights, columnWidths, bleed, ghostHeight, ghostWidth) { if (bleed === void 0) { bleed = Grid.DEFAULT_BLEED; } @@ -75776,14 +78079,14 @@ exports.Grid = Grid; -/***/ }, -/* 565 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 584 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var Classes = __webpack_require__(549); - var utils_1 = __webpack_require__(550); + var Classes = __webpack_require__(568); + var utils_1 = __webpack_require__(569); var RegionCardinality; (function (RegionCardinality) { RegionCardinality[RegionCardinality["CELLS"] = 0] = "CELLS"; @@ -76232,9 +78535,9 @@ exports.Regions = Regions; -/***/ }, -/* 566 */ -/***/ function(module, exports) { +/***/ }), +/* 585 */ +/***/ (function(module, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -76305,15 +78608,15 @@ exports.Rect = Rect; -/***/ }, -/* 567 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 586 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); + var tslib_1 = __webpack_require__(563); var React = __webpack_require__(3); - var Classes = __webpack_require__(549); + var Classes = __webpack_require__(568); var RoundSize = (function (_super) { tslib_1.__extends(RoundSize, _super); function RoundSize() { @@ -76346,31 +78649,31 @@ exports.RoundSize = RoundSize; -/***/ }, -/* 568 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 587 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); - __export(__webpack_require__(569)); - __export(__webpack_require__(570)); + __export(__webpack_require__(588)); + __export(__webpack_require__(589)); -/***/ }, -/* 569 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 588 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var core_1 = __webpack_require__(178); - var PureRender = __webpack_require__(552); + var tslib_1 = __webpack_require__(563); + var core_1 = __webpack_require__(179); + var PureRender = __webpack_require__(571); var React = __webpack_require__(3); - var clipboard_1 = __webpack_require__(563); - var regions_1 = __webpack_require__(565); + var clipboard_1 = __webpack_require__(582); + var regions_1 = __webpack_require__(584); var CopyCellsMenuItem = (function (_super) { tslib_1.__extends(CopyCellsMenuItem, _super); function CopyCellsMenuItem() { @@ -76397,13 +78700,13 @@ exports.CopyCellsMenuItem = CopyCellsMenuItem; -/***/ }, -/* 570 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 589 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var regions_1 = __webpack_require__(565); + var regions_1 = __webpack_require__(584); var MenuContext = (function () { function MenuContext(target, selectedRegions, numRows, numCols) { this.target = target; @@ -76429,18 +78732,18 @@ exports.MenuContext = MenuContext; -/***/ }, -/* 571 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 590 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var classNames = __webpack_require__(548); - var PureRender = __webpack_require__(552); + var tslib_1 = __webpack_require__(563); + var classNames = __webpack_require__(567); + var PureRender = __webpack_require__(571); var React = __webpack_require__(3); - var Classes = __webpack_require__(549); - var draggable_1 = __webpack_require__(557); + var Classes = __webpack_require__(568); + var draggable_1 = __webpack_require__(576); var Orientation; (function (Orientation) { Orientation[Orientation["HORIZONTAL"] = 1] = "HORIZONTAL"; @@ -76516,20 +78819,20 @@ exports.ResizeHandle = ResizeHandle; -/***/ }, -/* 572 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 591 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var core_1 = __webpack_require__(178); - var PureRender = __webpack_require__(552); + var tslib_1 = __webpack_require__(563); + var core_1 = __webpack_require__(179); + var PureRender = __webpack_require__(571); var React = __webpack_require__(3); - var utils_1 = __webpack_require__(550); - var dragEvents_1 = __webpack_require__(558); - var draggable_1 = __webpack_require__(557); - var regions_1 = __webpack_require__(565); + var utils_1 = __webpack_require__(569); + var dragEvents_1 = __webpack_require__(577); + var draggable_1 = __webpack_require__(576); + var regions_1 = __webpack_require__(584); var DragSelectable = (function (_super) { tslib_1.__extends(DragSelectable, _super); function DragSelectable() { @@ -76727,20 +79030,20 @@ } -/***/ }, -/* 573 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 592 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var classNames = __webpack_require__(548); + var tslib_1 = __webpack_require__(563); + var classNames = __webpack_require__(567); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var Classes = __webpack_require__(549); - var Errors = __webpack_require__(574); - var loadableContent_1 = __webpack_require__(551); - var headerCell_1 = __webpack_require__(575); + var core_1 = __webpack_require__(179); + var Classes = __webpack_require__(568); + var Errors = __webpack_require__(593); + var loadableContent_1 = __webpack_require__(570); + var headerCell_1 = __webpack_require__(594); function HorizontalCellDivider() { return React.createElement("div", { className: Classes.TABLE_HORIZONTAL_CELL_DIVIDER }); } @@ -76835,9 +79138,9 @@ exports.ColumnHeaderCell = ColumnHeaderCell; -/***/ }, -/* 574 */ -/***/ function(module, exports) { +/***/ }), +/* 593 */ +/***/ (function(module, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -76851,18 +79154,18 @@ exports.TABLE_NUM_FROZEN_ROWS_BOUND_WARNING = ns + " numFrozenRows must be in [0, numRows]"; -/***/ }, -/* 575 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 594 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var classNames = __webpack_require__(548); + var tslib_1 = __webpack_require__(563); + var classNames = __webpack_require__(567); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var Classes = __webpack_require__(549); - var utils_1 = __webpack_require__(550); + var core_1 = __webpack_require__(179); + var Classes = __webpack_require__(568); + var utils_1 = __webpack_require__(569); var HeaderCell = (function (_super) { tslib_1.__extends(HeaderCell, _super); function HeaderCell() { @@ -76902,20 +79205,20 @@ exports.HeaderCell = HeaderCell; -/***/ }, -/* 576 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 595 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var classNames = __webpack_require__(548); + var tslib_1 = __webpack_require__(563); + var classNames = __webpack_require__(567); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var Classes = __webpack_require__(549); - var Errors = __webpack_require__(574); - var loadableContent_1 = __webpack_require__(551); - var headerCell_1 = __webpack_require__(575); + var core_1 = __webpack_require__(179); + var Classes = __webpack_require__(568); + var Errors = __webpack_require__(593); + var loadableContent_1 = __webpack_require__(570); + var headerCell_1 = __webpack_require__(594); var RowHeaderCell = (function (_super) { tslib_1.__extends(RowHeaderCell, _super); function RowHeaderCell() { @@ -76941,18 +79244,18 @@ exports.RowHeaderCell = RowHeaderCell; -/***/ }, -/* 577 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 596 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var core_1 = __webpack_require__(178); - var classNames = __webpack_require__(548); - var PureRender = __webpack_require__(552); + var tslib_1 = __webpack_require__(563); + var core_1 = __webpack_require__(179); + var classNames = __webpack_require__(567); + var PureRender = __webpack_require__(571); var React = __webpack_require__(3); - var Classes = __webpack_require__(549); + var Classes = __webpack_require__(568); var EditableName = (function (_super) { tslib_1.__extends(EditableName, _super); function EditableName() { @@ -76970,35 +79273,35 @@ exports.EditableName = EditableName; -/***/ }, -/* 578 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 597 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var core_1 = __webpack_require__(178); - var core_2 = __webpack_require__(178); - var classNames = __webpack_require__(548); + var tslib_1 = __webpack_require__(563); + var core_1 = __webpack_require__(179); + var core_2 = __webpack_require__(179); + var classNames = __webpack_require__(567); var React = __webpack_require__(3); - var column_1 = __webpack_require__(561); - var Classes = __webpack_require__(549); - var clipboard_1 = __webpack_require__(563); - var Errors = __webpack_require__(574); - var grid_1 = __webpack_require__(564); - var rect_1 = __webpack_require__(566); - var utils_1 = __webpack_require__(550); - var columnHeader_1 = __webpack_require__(579); - var columnHeaderCell_1 = __webpack_require__(573); - var rowHeader_1 = __webpack_require__(585); - var resizeSensor_1 = __webpack_require__(586); - var guides_1 = __webpack_require__(587); - var regions_1 = __webpack_require__(588); - var locator_1 = __webpack_require__(589); - var tableQuadrant_1 = __webpack_require__(590); - var tableQuadrantStack_1 = __webpack_require__(591); - var regions_2 = __webpack_require__(565); - var tableBody_1 = __webpack_require__(592); + var column_1 = __webpack_require__(580); + var Classes = __webpack_require__(568); + var clipboard_1 = __webpack_require__(582); + var Errors = __webpack_require__(593); + var grid_1 = __webpack_require__(583); + var rect_1 = __webpack_require__(585); + var utils_1 = __webpack_require__(569); + var columnHeader_1 = __webpack_require__(598); + var columnHeaderCell_1 = __webpack_require__(592); + var rowHeader_1 = __webpack_require__(604); + var resizeSensor_1 = __webpack_require__(605); + var guides_1 = __webpack_require__(606); + var regions_1 = __webpack_require__(607); + var locator_1 = __webpack_require__(608); + var tableQuadrant_1 = __webpack_require__(609); + var tableQuadrantStack_1 = __webpack_require__(610); + var regions_2 = __webpack_require__(584); + var tableBody_1 = __webpack_require__(611); var Table = Table_1 = (function (_super) { tslib_1.__extends(Table, _super); function Table(props, context) { @@ -77860,21 +80163,21 @@ var Table_1; -/***/ }, -/* 579 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 598 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var classNames = __webpack_require__(548); + var tslib_1 = __webpack_require__(563); + var classNames = __webpack_require__(567); var React = __webpack_require__(3); - var Classes = __webpack_require__(549); - var index_1 = __webpack_require__(562); - var resizeHandle_1 = __webpack_require__(571); - var regions_1 = __webpack_require__(565); - var columnHeaderCell_1 = __webpack_require__(573); - var header_1 = __webpack_require__(580); + var Classes = __webpack_require__(568); + var index_1 = __webpack_require__(581); + var resizeHandle_1 = __webpack_require__(590); + var regions_1 = __webpack_require__(584); + var columnHeaderCell_1 = __webpack_require__(592); + var header_1 = __webpack_require__(599); var ColumnHeader = (function (_super) { tslib_1.__extends(ColumnHeader, _super); function ColumnHeader() { @@ -77967,23 +80270,23 @@ exports.ColumnHeader = ColumnHeader; -/***/ }, -/* 580 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 599 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var core_1 = __webpack_require__(178); - var classNames = __webpack_require__(548); + var tslib_1 = __webpack_require__(563); + var core_1 = __webpack_require__(179); + var classNames = __webpack_require__(567); var React = __webpack_require__(3); - var batcher_1 = __webpack_require__(581); - var Classes = __webpack_require__(549); - var utils_1 = __webpack_require__(550); - var reorderable_1 = __webpack_require__(583); - var resizable_1 = __webpack_require__(584); - var selectable_1 = __webpack_require__(572); - var regions_1 = __webpack_require__(565); + var batcher_1 = __webpack_require__(600); + var Classes = __webpack_require__(568); + var utils_1 = __webpack_require__(569); + var reorderable_1 = __webpack_require__(602); + var resizable_1 = __webpack_require__(603); + var selectable_1 = __webpack_require__(591); + var regions_1 = __webpack_require__(584); var RESET_CELL_KEYS_BLACKLIST = [ "endIndex", "startIndex", @@ -78140,14 +80443,14 @@ exports.shouldHeaderComponentUpdate = shouldHeaderComponentUpdate; -/***/ }, -/* 581 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 600 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var core_1 = __webpack_require__(178); - var requestIdleCallback_1 = __webpack_require__(582); + var core_1 = __webpack_require__(179); + var requestIdleCallback_1 = __webpack_require__(601); var Batcher = (function () { function Batcher() { var _this = this; @@ -78260,9 +80563,9 @@ exports.Batcher = Batcher; -/***/ }, -/* 582 */ -/***/ function(module, exports) { +/***/ }), +/* 601 */ +/***/ (function(module, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -78309,18 +80612,18 @@ }; -/***/ }, -/* 583 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 602 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var PureRender = __webpack_require__(552); + var tslib_1 = __webpack_require__(563); + var PureRender = __webpack_require__(571); var React = __webpack_require__(3); - var utils_1 = __webpack_require__(550); - var draggable_1 = __webpack_require__(557); - var regions_1 = __webpack_require__(565); + var utils_1 = __webpack_require__(569); + var draggable_1 = __webpack_require__(576); + var regions_1 = __webpack_require__(584); var DragReorderable = (function (_super) { tslib_1.__extends(DragReorderable, _super); function DragReorderable() { @@ -78397,17 +80700,17 @@ exports.DragReorderable = DragReorderable; -/***/ }, -/* 584 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 603 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var PureRender = __webpack_require__(552); + var tslib_1 = __webpack_require__(563); + var PureRender = __webpack_require__(571); var React = __webpack_require__(3); - var index_1 = __webpack_require__(562); - var resizeHandle_1 = __webpack_require__(571); + var index_1 = __webpack_require__(581); + var resizeHandle_1 = __webpack_require__(590); var Resizable = (function (_super) { tslib_1.__extends(Resizable, _super); function Resizable(props, context) { @@ -78486,20 +80789,20 @@ exports.Resizable = Resizable; -/***/ }, -/* 585 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 604 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var classNames = __webpack_require__(548); + var tslib_1 = __webpack_require__(563); + var classNames = __webpack_require__(567); var React = __webpack_require__(3); - var Classes = __webpack_require__(549); - var resizeHandle_1 = __webpack_require__(571); - var regions_1 = __webpack_require__(565); - var header_1 = __webpack_require__(580); - var rowHeaderCell_1 = __webpack_require__(576); + var Classes = __webpack_require__(568); + var resizeHandle_1 = __webpack_require__(590); + var regions_1 = __webpack_require__(584); + var header_1 = __webpack_require__(599); + var rowHeaderCell_1 = __webpack_require__(595); var RowHeader = (function (_super) { tslib_1.__extends(RowHeader, _super); function RowHeader() { @@ -78578,13 +80881,13 @@ exports.renderDefaultRowHeader = renderDefaultRowHeader; -/***/ }, -/* 586 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 605 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var Classes = __webpack_require__(549); + var Classes = __webpack_require__(568); var ResizeSensor = (function () { function ResizeSensor() { } @@ -78656,17 +80959,17 @@ exports.ResizeSensor = ResizeSensor; -/***/ }, -/* 587 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 606 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var classNames = __webpack_require__(548); + var tslib_1 = __webpack_require__(563); + var classNames = __webpack_require__(567); var React = __webpack_require__(3); - var Classes = __webpack_require__(549); - var utils_1 = __webpack_require__(550); + var Classes = __webpack_require__(568); + var utils_1 = __webpack_require__(569); var GuideLayer = (function (_super) { tslib_1.__extends(GuideLayer, _super); function GuideLayer() { @@ -78711,18 +81014,18 @@ exports.GuideLayer = GuideLayer; -/***/ }, -/* 588 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 607 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var classNames = __webpack_require__(548); + var tslib_1 = __webpack_require__(563); + var classNames = __webpack_require__(567); var React = __webpack_require__(3); - var Classes = __webpack_require__(549); - var utils_1 = __webpack_require__(550); - var regions_1 = __webpack_require__(565); + var Classes = __webpack_require__(568); + var utils_1 = __webpack_require__(569); + var regions_1 = __webpack_require__(584); var UPDATE_PROPS_KEYS = [ "className", ]; @@ -78756,15 +81059,15 @@ exports.RegionLayer = RegionLayer; -/***/ }, -/* 589 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 608 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var Classes = __webpack_require__(549); - var rect_1 = __webpack_require__(566); - var utils_1 = __webpack_require__(550); + var Classes = __webpack_require__(568); + var rect_1 = __webpack_require__(585); + var utils_1 = __webpack_require__(569); var Locator = (function () { function Locator(tableElement, bodyElement) { var _this = this; @@ -78913,18 +81216,18 @@ exports.Locator = Locator; -/***/ }, -/* 590 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 609 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var core_1 = __webpack_require__(178); - var classNames = __webpack_require__(548); + var tslib_1 = __webpack_require__(563); + var core_1 = __webpack_require__(179); + var classNames = __webpack_require__(567); var React = __webpack_require__(3); - var Classes = __webpack_require__(549); - var Errors = __webpack_require__(574); + var Classes = __webpack_require__(568); + var Errors = __webpack_require__(593); var QuadrantType; (function (QuadrantType) { QuadrantType[QuadrantType["MAIN"] = 0] = "MAIN"; @@ -78986,18 +81289,18 @@ exports.TableQuadrant = TableQuadrant; -/***/ }, -/* 591 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 610 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var core_1 = __webpack_require__(178); + var tslib_1 = __webpack_require__(563); + var core_1 = __webpack_require__(179); var React = __webpack_require__(3); - var Classes = __webpack_require__(549); - var utils_1 = __webpack_require__(550); - var tableQuadrant_1 = __webpack_require__(590); + var Classes = __webpack_require__(568); + var utils_1 = __webpack_require__(569); + var tableQuadrant_1 = __webpack_require__(609); var TableQuadrantStack = (function (_super) { tslib_1.__extends(TableQuadrantStack, _super); function TableQuadrantStack(props, context) { @@ -79309,24 +81612,24 @@ exports.TableQuadrantStack = TableQuadrantStack; -/***/ }, -/* 592 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 611 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var classNames = __webpack_require__(548); + var tslib_1 = __webpack_require__(563); + var classNames = __webpack_require__(567); var React = __webpack_require__(3); - var cell_1 = __webpack_require__(547); - var batcher_1 = __webpack_require__(581); - var Classes = __webpack_require__(549); - var contextMenuTargetWrapper_1 = __webpack_require__(593); - var rect_1 = __webpack_require__(566); - var utils_1 = __webpack_require__(550); - var menus_1 = __webpack_require__(568); - var selectable_1 = __webpack_require__(572); - var regions_1 = __webpack_require__(565); + var cell_1 = __webpack_require__(566); + var batcher_1 = __webpack_require__(600); + var Classes = __webpack_require__(568); + var contextMenuTargetWrapper_1 = __webpack_require__(612); + var rect_1 = __webpack_require__(585); + var utils_1 = __webpack_require__(569); + var menus_1 = __webpack_require__(587); + var selectable_1 = __webpack_require__(591); + var regions_1 = __webpack_require__(584); var UPDATE_PROPS_KEYS = [ "grid", "locator", @@ -79446,15 +81749,15 @@ exports.TableBody = TableBody; -/***/ }, -/* 593 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 612 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); - var core_1 = __webpack_require__(178); - var PureRender = __webpack_require__(552); + var tslib_1 = __webpack_require__(563); + var core_1 = __webpack_require__(179); + var PureRender = __webpack_require__(571); var React = __webpack_require__(3); var ContextMenuTargetWrapper = (function (_super) { tslib_1.__extends(ContextMenuTargetWrapper, _super); @@ -79477,9 +81780,9 @@ exports.ContextMenuTargetWrapper = ContextMenuTargetWrapper; -/***/ }, -/* 594 */ -/***/ function(module, exports) { +/***/ }), +/* 613 */ +/***/ (function(module, exports) { module.exports = [ { @@ -79660,18 +81963,18 @@ } ]; -/***/ }, -/* 595 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 614 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); + var tslib_1 = __webpack_require__(563); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var src_1 = __webpack_require__(545); - var bigSpaceRocks = __webpack_require__(594); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var src_1 = __webpack_require__(564); + var bigSpaceRocks = __webpack_require__(613); var ColumnLoadingExample = (function (_super) { tslib_1.__extends(ColumnLoadingExample, _super); function ColumnLoadingExample() { @@ -79725,16 +82028,16 @@ exports.ColumnLoadingExample = ColumnLoadingExample; -/***/ }, -/* 596 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 615 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); + var tslib_1 = __webpack_require__(563); var React = __webpack_require__(3); - var docs_1 = __webpack_require__(171); - var src_1 = __webpack_require__(545); + var docs_1 = __webpack_require__(172); + var src_1 = __webpack_require__(564); var TableDollarExample = (function (_super) { tslib_1.__extends(TableDollarExample, _super); function TableDollarExample() { @@ -79750,17 +82053,17 @@ exports.TableDollarExample = TableDollarExample; -/***/ }, -/* 597 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 616 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); + var tslib_1 = __webpack_require__(563); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var src_1 = __webpack_require__(545); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var src_1 = __webpack_require__(564); var TableEditableExample = (function (_super) { tslib_1.__extends(TableEditableExample, _super); function TableEditableExample() { @@ -79851,16 +82154,16 @@ exports.TableEditableExample = TableEditableExample; -/***/ }, -/* 598 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 617 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); + var tslib_1 = __webpack_require__(563); var React = __webpack_require__(3); - var docs_1 = __webpack_require__(171); - var src_1 = __webpack_require__(545); + var docs_1 = __webpack_require__(172); + var src_1 = __webpack_require__(564); var LOCAL_TIMEZONE_OFFSET_MSEC = new Date().getTimezoneOffset() * 60 * 1000; var TIME_ZONES = [ ["-12:00", -12.0, "Etc/GMT+12"], @@ -79949,16 +82252,16 @@ exports.TableFormatsExample = TableFormatsExample; -/***/ }, -/* 599 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 618 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); + var tslib_1 = __webpack_require__(563); var React = __webpack_require__(3); - var docs_1 = __webpack_require__(171); - var src_1 = __webpack_require__(545); + var docs_1 = __webpack_require__(172); + var src_1 = __webpack_require__(564); var NUM_ROWS = 20; var NUM_COLUMNS = 20; var NUM_FROZEN_ROWS = 2; @@ -79985,18 +82288,18 @@ exports.TableFreezingExample = TableFreezingExample; -/***/ }, -/* 600 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 619 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); + var tslib_1 = __webpack_require__(563); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var src_1 = __webpack_require__(545); - var bigSpaceRocks = __webpack_require__(594); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var src_1 = __webpack_require__(564); + var bigSpaceRocks = __webpack_require__(613); var TableLoadingExample = (function (_super) { tslib_1.__extends(TableLoadingExample, _super); function TableLoadingExample() { @@ -80056,17 +82359,17 @@ exports.TableLoadingExample = TableLoadingExample; -/***/ }, -/* 601 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 620 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); + var tslib_1 = __webpack_require__(563); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var src_1 = __webpack_require__(545); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var src_1 = __webpack_require__(564); var REORDERABLE_TABLE_DATA = [ ["A", "Apple", "Ape", "Albania", "Anchorage"], ["B", "Banana", "Boa", "Brazil", "Boston"], @@ -80137,18 +82440,18 @@ exports.TableReorderableExample = TableReorderableExample; -/***/ }, -/* 602 */ -/***/ function(module, exports, __webpack_require__) { +/***/ }), +/* 621 */ +/***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); - var tslib_1 = __webpack_require__(544); + var tslib_1 = __webpack_require__(563); var React = __webpack_require__(3); - var core_1 = __webpack_require__(178); - var docs_1 = __webpack_require__(171); - var src_1 = __webpack_require__(545); - var sumo = __webpack_require__(603); + var core_1 = __webpack_require__(179); + var docs_1 = __webpack_require__(172); + var src_1 = __webpack_require__(564); + var sumo = __webpack_require__(622); var AbstractSortableColumn = (function () { function AbstractSortableColumn(name, index) { this.name = name; @@ -80309,9 +82612,9 @@ exports.TableSortableExample = TableSortableExample; -/***/ }, -/* 603 */ -/***/ function(module, exports) { +/***/ }), +/* 622 */ +/***/ (function(module, exports) { module.exports = [ [ @@ -81066,9 +83369,9 @@ ] ]; -/***/ }, -/* 604 */ -/***/ function(module, exports) { +/***/ }), +/* 623 */ +/***/ (function(module, exports) { module.exports = { "nav": [ @@ -93693,9 +95996,9 @@ "metadata": {} }, "fileName": "packages/core/dist/generated/iconClasses.d.ts", - "name": "BANL_ACCOUNT", + "name": "BANK_ACCOUNT", "tags": {}, - "type": "\"pt-icon-banl-account\"" + "type": "\"pt-icon-bank-account\"" }, { "documentation": { @@ -98205,7 +100508,7 @@ "metadata": {} }, "fileName": "packages/core/dist/generated/iconStrings.d.ts", - "name": "BANL_ACCOUNT", + "name": "BANK_ACCOUNT", "tags": {}, "type": "string" }, @@ -98352,7 +100655,7 @@ "fileName": "packages/labs/dist/common/index.d.ts", "name": "Classes", "tags": {}, - "type": "typeof \"/Volumes/git/blueprint/packages/labs/dist/common/classes\"", + "type": "typeof \"/Volumes/git/oss/blueprint/packages/labs/dist/common/classes\"", "properties": [ { "documentation": { @@ -98464,7 +100767,7 @@ "fileName": "packages/core/dist/common/index.d.ts", "name": "Keys", "tags": {}, - "type": "typeof \"/Volumes/git/blueprint/packages/core/dist/common/keys\"", + "type": "typeof \"/Volumes/git/oss/blueprint/packages/core/dist/common/keys\"", "properties": [ { "documentation": { @@ -102412,8 +104715,10 @@ }, "IHandleProps": { "documentation": { - "contents": [], - "contentsRaw": "", + "contents": [ + "

N.B. some properties need to be optional for spread in slider.tsx to work

\n" + ], + "contentsRaw": "N.B. some properties need to be optional for spread in slider.tsx to work", "metadata": {} }, "fileName": "packages/core/dist/components/slider/handle.d.ts", @@ -102458,7 +104763,7 @@ "name": "max", "tags": {}, "type": "number", - "optional": false + "optional": true }, { "documentation": { @@ -102470,7 +104775,7 @@ "name": "min", "tags": {}, "type": "number", - "optional": false + "optional": true }, { "documentation": { @@ -102506,7 +104811,7 @@ "name": "stepSize", "tags": {}, "type": "number", - "optional": false + "optional": true }, { "documentation": { @@ -102518,7 +104823,7 @@ "name": "tickSize", "tags": {}, "type": "number", - "optional": false + "optional": true }, { "documentation": { @@ -102530,7 +104835,7 @@ "name": "value", "tags": {}, "type": "number", - "optional": false + "optional": true } ] }, @@ -103793,7 +106098,7 @@ "fileName": "packages/core/dist/components/index.d.ts", "name": "ContextMenu", "tags": {}, - "type": "typeof \"/Volumes/git/blueprint/packages/core/dist/components/context-menu/contextMenu\"", + "type": "typeof \"/Volumes/git/oss/blueprint/packages/core/dist/components/context-menu/contextMenu\"", "properties": [ { "documentation": { @@ -111787,14 +114092,14 @@ } }; -/***/ }, -/* 605 */ -/***/ function(module, exports) { +/***/ }), +/* 624 */ +/***/ (function(module, exports) { module.exports = [ { "name": "@blueprintjs/core", - "version": "1.25.0" + "version": "1.25.1" }, { "name": "@blueprintjs/datetime", @@ -111814,14 +114119,14 @@ } ]; -/***/ }, -/* 606 */ -/***/ function(module, exports) { +/***/ }), +/* 625 */ +/***/ (function(module, exports) { module.exports = [ - "1.25.0" + "1.25.1" ]; -/***/ } +/***/ }) /******/ ]); //# sourceMappingURL=site-docs.js.map \ No newline at end of file diff --git a/package.json b/package.json index 8aa9c78855..c96bae9752 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "blueprint-monorepo", - "version": "1.25.0", + "version": "1.25.1", "private": true, "description": "A React UI toolkit for the web.", "scripts": { diff --git a/packages/core/package.json b/packages/core/package.json index 43ac2c8467..ccbc57bf42 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@blueprintjs/core", - "version": "1.25.0", + "version": "1.25.1", "description": "Core styles & components", "main": "dist/index.js", "typings": "dist/index.d.ts", diff --git a/packages/docs/package.json b/packages/docs/package.json index 2142661b63..47746d50f1 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -7,7 +7,7 @@ "style": "dist/docs.css", "unpkg": "dist/docs.bundle.js", "dependencies": { - "@blueprintjs/core": "^1.12.0", + "@blueprintjs/core": "^1.25.1", "classnames": "^2.2", "documentalist": "^0.0.7", "fuzzaldrin-plus": "^0.3.1", diff --git a/packages/site-docs/package.json b/packages/site-docs/package.json index 348f434e7b..7358de983c 100644 --- a/packages/site-docs/package.json +++ b/packages/site-docs/package.json @@ -1,10 +1,10 @@ { "name": "blueprintjs.com/docs", - "version": "1.25.0", + "version": "1.25.1", "description": "Blueprint Docs", "private": true, "dependencies": { - "@blueprintjs/core": "^1.25.0", + "@blueprintjs/core": "^1.25.1", "@blueprintjs/datetime": "^1.20.0", "@blueprintjs/docs": "^1.1.1", "@blueprintjs/labs": "^0.6.0", diff --git a/packages/site-landing/package.json b/packages/site-landing/package.json index 72deb7702c..f455cb5697 100644 --- a/packages/site-landing/package.json +++ b/packages/site-landing/package.json @@ -22,7 +22,7 @@ "watch": "onchange 'src/**' -- npm-run-all build:copy build:webpack" }, "devDependencies": { - "@blueprintjs/core": "^1.14.0", + "@blueprintjs/core": "^1.25.1", "autoprefixer": "^7.1.2", "classnames": "^2.2.5", "css-loader": "^0.28.4", diff --git a/yarn.lock b/yarn.lock index de9db6cc48..d7d47d9d34 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6824,9 +6824,9 @@ typescript@2.1: version "2.1.6" resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.1.6.tgz#40c7e6e9e5da7961b7718b55505f9cac9487a607" -typescript@^2.2.1: - version "2.4.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.4.2.tgz#f8395f85d459276067c988aa41837a8f82870844" +typescript@~2.2.1: + version "2.2.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.2.2.tgz#606022508479b55ffa368b58fee963a03dfd7b0c" ua-parser-js@^0.7.9: version "0.7.13"