diff --git a/README.md b/README.md index b28c54982..de8d4a571 100644 --- a/README.md +++ b/README.md @@ -20,14 +20,13 @@ The package can be installed via NPM: npm install react-datepicker --save ``` -You’ll need to install React, PropTypes, and Moment.js separately since those dependencies aren’t included in the package. Below is a simple example of how to use the Datepicker in a React view. You will also need to require the CSS file from this package (or provide your own). The example below shows how to include the CSS from this package if your build system supports requiring CSS files (Webpack is one that does). +You’ll need to install React and PropTypes separately since those dependencies aren’t included in the package. If you need to use a locale other than the default en-US, you'll also need to import that into your project from date-fns (see Localization section below). Below is a simple example of how to use the Datepicker in a React view. You will also need to require the CSS file from this package (or provide your own). The example below shows how to include the CSS from this package if your build system supports requiring CSS files (Webpack is one that does). ```js -import React from "react"; -import DatePicker from "react-datepicker"; -import moment from "moment"; +import React from 'react'; +import DatePicker from 'react-datepicker'; -import "react-datepicker/dist/react-datepicker.css"; +import 'react-datepicker/dist/react-datepicker.css'; // CSS Modules, react-datepicker-cssmodules.css // import 'react-datepicker/dist/react-datepicker-cssmodules.css'; @@ -36,7 +35,7 @@ class Example extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; this.handleChange = this.handleChange.bind(this); } @@ -89,7 +88,7 @@ You can also include a time picker by adding the showTimeSelect prop selected={this.state.date} onChange={this.handleChange} showTimeSelect - dateFormat="LLL" + dateFormat="Pp" /> ``` @@ -99,14 +98,22 @@ More examples of how to use the time picker are given on the [main website](http ### Localization -The date picker relies on [moment.js internationalization](http://momentjs.com/docs/#/i18n/) to localize its display components. By default, the date picker will use the locale globally set in moment, which is English. Locales can be changed in the following ways: +The date picker relies on [date-fns internationalization](https://date-fns.org/v2.0.0-alpha.18/docs/I18n) to localize its display components. By default, the date picker will use the locale globally set, which is English. Provided are 3 helper methods to set the locale: -* **Globally** by calling `moment.locale(lang)` -* **Picker-specific** by providing the `locale` prop +- **registerLocale** (string, object): loads an imported locale object from date-fns +- **setDefaultLocale** (string): sets a registered locale as the default for all datepicker instances +- **getDefaultLocale**: returns a string showing the currently set default locale -Locales can be further configured in moment with various [customization options](http://momentjs.com/docs/#/customization/). +To load an alternate locale: -_As of version 0.23, the `weekdays` and `weekStart` DatePicker props have been removed. Instead, they can be configured with the `weekdaysMin` and `week.dow` moment locale customization options._ +- Import the helper methods you need: `import { registerLocale, setDefaultLocale } from DatePicker;` +- Import the locale from date-fns: `import fi from 'date-fns/locale/fi';` +- Register the locale: `registerLocale('fi', fi);` + +Locales can be changed in the following ways: + +- **Globally** - `setDefaultLocale('fi');` +- **Picker-specific** by providing the `locale` prop - `` ## Compatibility @@ -116,11 +123,11 @@ We're always trying to stay compatible with the latest version of React. We can' Latest compatible versions: -* React 15.5 or newer: All above React-datepicker v.0.40.0 -* React 15.4.1: needs React-datepicker v0.40.0, newer won't work (due to react-onclickoutside dependencies) -* React 0.14 or newer: All above React-datepicker v0.13.0 -* React 0.13: React-datepicker v0.13.0 -* pre React 0.13: React-datepicker v0.6.2 +- React 15.5 or newer: All above React-datepicker v.0.40.0 +- React 15.4.1: needs React-datepicker v0.40.0, newer won't work (due to react-onclickoutside dependencies) +- React 0.14 or newer: All above React-datepicker v0.13.0 +- React 0.13: React-datepicker v0.13.0 +- pre React 0.13: React-datepicker v0.6.2 ### Browser Support @@ -142,15 +149,15 @@ The examples are hosted within the docs folder and are ran in the simple app tha ### Keyboard support -* _Left_: Move to the previous day. -* _Right_: Move to the next day. -* _Up_: Move to the previous week. -* _Down_: Move to the next week. -* _PgUp_: Move to the previous month. -* _PgDn_: Move to the next month. -* _Home_: Move to the previous year. -* _End_: Move to the next year. -* _Enter/Esc/Tab_: close the calendar. (Enter & Esc calls preventDefault) +- _Left_: Move to the previous day. +- _Right_: Move to the next day. +- _Up_: Move to the previous week. +- _Down_: Move to the next week. +- _PgUp_: Move to the previous month. +- _PgDn_: Move to the next month. +- _Home_: Move to the previous year. +- _End_: Move to the next year. +- _Enter/Esc/Tab_: close the calendar. (Enter & Esc calls preventDefault) ## License diff --git a/docs-site/bundle.js b/docs-site/bundle.js index 6c9310939..7ca839102 100644 --- a/docs-site/bundle.js +++ b/docs-site/bundle.js @@ -32,7 +32,7 @@ /******/ /******/ __webpack_require__.c = installedModules; // __webpack_public_path__ - /******/ /******/ __webpack_require__.p = "/"; // Load entry module and return exports + /******/ /******/ __webpack_require__.p = '/'; // Load entry module and return exports /******/ /******/ return __webpack_require__(0); /******/ @@ -43,9 +43,9 @@ for (var i in modules) { if (Object.prototype.hasOwnProperty.call(modules, i)) { switch (typeof modules[i]) { - case "function": + case 'function': break; - case "object": + case 'object': // Module can be created from a template modules[i] = (function(_m) { var args = _m.slice(1), @@ -67,27 +67,27 @@ /* 0 */ /***/ function(module, exports, __webpack_require__) { __webpack_require__(1); - module.exports = __webpack_require__(326); + module.exports = __webpack_require__(327); /***/ }, /* 1 */ /***/ function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */ (function(global) { - "use strict"; + 'use strict'; __webpack_require__(2); - __webpack_require__(322); - __webpack_require__(323); + __webpack_require__(324); + if (global._babelPolyfill) { - throw new Error("only one instance of babel-polyfill is allowed"); + throw new Error('only one instance of babel-polyfill is allowed'); } global._babelPolyfill = true; - var DEFINE_PROPERTY = "defineProperty"; + var DEFINE_PROPERTY = 'defineProperty'; function define(O, key, value) { O[key] || Object[DEFINE_PROPERTY](O, key, { @@ -97,11 +97,11 @@ }); } - define(String.prototype, "padLeft", "".padStart); - define(String.prototype, "padRight", "".padEnd); + define(String.prototype, 'padLeft', ''.padStart); + define(String.prototype, 'padRight', ''.padEnd); - "pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill" - .split(",") + 'pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill' + .split(',') .forEach(function(key) { [][key] && define(Array, key, Function.call.bind([][key])); }); @@ -225,14 +225,13 @@ __webpack_require__(203); __webpack_require__(204); __webpack_require__(205); - __webpack_require__(215); - __webpack_require__(219); + __webpack_require__(216); __webpack_require__(220); - __webpack_require__(222); + __webpack_require__(221); __webpack_require__(223); - __webpack_require__(227); + __webpack_require__(224); __webpack_require__(228); - __webpack_require__(230); + __webpack_require__(229); __webpack_require__(231); __webpack_require__(232); __webpack_require__(233); @@ -251,15 +250,15 @@ __webpack_require__(246); __webpack_require__(247); __webpack_require__(248); - __webpack_require__(250); + __webpack_require__(249); __webpack_require__(251); __webpack_require__(252); __webpack_require__(253); __webpack_require__(254); - __webpack_require__(256); + __webpack_require__(255); __webpack_require__(257); __webpack_require__(258); - __webpack_require__(260); + __webpack_require__(259); __webpack_require__(261); __webpack_require__(262); __webpack_require__(263); @@ -267,19 +266,19 @@ __webpack_require__(265); __webpack_require__(266); __webpack_require__(267); - __webpack_require__(269); + __webpack_require__(268); __webpack_require__(270); - __webpack_require__(272); + __webpack_require__(271); __webpack_require__(273); __webpack_require__(274); __webpack_require__(275); - __webpack_require__(278); + __webpack_require__(276); __webpack_require__(279); - __webpack_require__(281); + __webpack_require__(280); __webpack_require__(282); __webpack_require__(283); __webpack_require__(284); - __webpack_require__(286); + __webpack_require__(285); __webpack_require__(287); __webpack_require__(288); __webpack_require__(289); @@ -289,7 +288,7 @@ __webpack_require__(293); __webpack_require__(294); __webpack_require__(295); - __webpack_require__(297); + __webpack_require__(296); __webpack_require__(298); __webpack_require__(299); __webpack_require__(300); @@ -300,7 +299,7 @@ __webpack_require__(305); __webpack_require__(306); __webpack_require__(307); - __webpack_require__(309); + __webpack_require__(308); __webpack_require__(310); __webpack_require__(311); __webpack_require__(312); @@ -313,13 +312,14 @@ __webpack_require__(319); __webpack_require__(320); __webpack_require__(321); + __webpack_require__(322); module.exports = __webpack_require__(9); /***/ }, /* 3 */ [ - 839, + 804, 4, 5, 6, @@ -328,14 +328,15 @@ 22, 7, 23, - 24, - 19, 25, + 19, 26, 27, + 28, 29, 44, 12, + 13, 32, 16, 17, @@ -347,20 +348,20 @@ 49, 43, 42, - 28, + 24, 10 ], /* 4 */ /***/ function(module, exports) { // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global = (module.exports = - typeof window != "undefined" && window.Math == Math + typeof window != 'undefined' && window.Math == Math ? window - : typeof self != "undefined" && self.Math == Math + : typeof self != 'undefined' && self.Math == Math ? self : // eslint-disable-next-line no-new-func - Function("return this")()); - if (typeof __g == "number") __g = global; // eslint-disable-line no-undef + Function('return this')()); + if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef /***/ }, @@ -374,7 +375,7 @@ /***/ }, /* 6 */ - [840, 7], + [805, 7], /* 7 */ /***/ function(module, exports) { module.exports = function(exec) { @@ -394,7 +395,7 @@ var hide = __webpack_require__(10); var redefine = __webpack_require__(18); var ctx = __webpack_require__(20); - var PROTOTYPE = "prototype"; + var PROTOTYPE = 'prototype'; var $export = function(type, name, source) { var IS_FORCED = type & $export.F; @@ -420,7 +421,7 @@ exp = IS_BIND && own ? ctx(out, global) - : IS_PROTO && typeof out == "function" + : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; // extend global @@ -446,31 +447,31 @@ }, /* 9 */ /***/ function(module, exports) { - var core = (module.exports = { version: "2.5.1" }); - if (typeof __e == "number") __e = core; // eslint-disable-line no-undef + var core = (module.exports = { version: '2.5.7' }); + if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef /***/ }, /* 10 */ - [841, 11, 17, 6], + [806, 11, 17, 6], /* 11 */ - [842, 12, 14, 16, 6], + [807, 12, 14, 16, 6], /* 12 */ - [843, 13], + [808, 13], /* 13 */ /***/ function(module, exports) { module.exports = function(it) { - return typeof it === "object" ? it !== null : typeof it === "function"; + return typeof it === 'object' ? it !== null : typeof it === 'function'; }; /***/ }, /* 14 */ - [844, 6, 7, 15], + [809, 6, 7, 15], /* 15 */ - [845, 13, 4], + [810, 13, 4], /* 16 */ - [846, 13], + [811, 13], /* 17 */ /***/ function(module, exports) { module.exports = function(bitmap, value) { @@ -489,22 +490,22 @@ var global = __webpack_require__(4); var hide = __webpack_require__(10); var has = __webpack_require__(5); - var SRC = __webpack_require__(19)("src"); - var TO_STRING = "toString"; + var SRC = __webpack_require__(19)('src'); + var TO_STRING = 'toString'; var $toString = Function[TO_STRING]; - var TPL = ("" + $toString).split(TO_STRING); + var TPL = ('' + $toString).split(TO_STRING); __webpack_require__(9).inspectSource = function(it) { return $toString.call(it); }; (module.exports = function(O, key, val, safe) { - var isFunction = typeof val == "function"; - if (isFunction) has(val, "name") || hide(val, "name", key); + var isFunction = typeof val == 'function'; + if (isFunction) has(val, 'name') || hide(val, 'name', key); if (O[key] === val) return; if (isFunction) has(val, SRC) || - hide(val, SRC, O[key] ? "" + O[key] : TPL.join(String(key))); + hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); if (O === global) { O[key] = val; } else if (!safe) { @@ -517,7 +518,7 @@ } // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative })(Function.prototype, TO_STRING, function toString() { - return (typeof this == "function" && this[SRC]) || $toString.call(this); + return (typeof this == 'function' && this[SRC]) || $toString.call(this); }); /***/ @@ -527,9 +528,9 @@ var id = 0; var px = Math.random(); module.exports = function(key) { - return "Symbol(".concat( - key === undefined ? "" : key, - ")_", + return 'Symbol('.concat( + key === undefined ? '' : key, + ')_', (++id + px).toString(36) ); }; @@ -537,45 +538,45 @@ /***/ }, /* 20 */ - [847, 21], + [812, 21], /* 21 */ /***/ function(module, exports) { module.exports = function(it) { - if (typeof it != "function") - throw TypeError(it + " is not a function!"); + if (typeof it != 'function') + throw TypeError(it + ' is not a function!'); return it; }; /***/ }, /* 22 */ - [848, 19, 13, 5, 11, 7], + [813, 19, 13, 5, 11, 7], /* 23 */ - [849, 4], + [814, 9, 4, 24], /* 24 */ - [850, 11, 5, 25], - /* 25 */ - [851, 23, 19, 4], - /* 26 */ - [852, 25], - /* 27 */ - [853, 4, 9, 28, 26, 11], - /* 28 */ /***/ function(module, exports) { module.exports = false; /***/ }, + /* 25 */ + [815, 11, 5, 26], + /* 26 */ + [816, 23, 19, 4], + /* 27 */ + [817, 26], + /* 28 */ + [818, 4, 9, 24, 27, 11], /* 29 */ - [854, 30, 42, 43], + [819, 30, 42, 43], /* 30 */ - [855, 31, 41], + [820, 31, 41], /* 31 */ - [856, 5, 32, 36, 40], + [821, 5, 32, 36, 40], /* 32 */ - [857, 33, 35], + [822, 33, 35], /* 33 */ - [858, 34], + [823, 34], /* 34 */ /***/ function(module, exports) { var toString = {}.toString; @@ -597,9 +598,9 @@ /***/ }, /* 36 */ - [859, 32, 37, 39], + [824, 32, 37, 39], /* 37 */ - [860, 38], + [825, 38], /* 38 */ /***/ function(module, exports) { // 7.1.4 ToInteger @@ -612,14 +613,14 @@ /***/ }, /* 39 */ - [861, 38], + [826, 38], /* 40 */ - [862, 23, 19], + [827, 23, 19], /* 41 */ /***/ function(module, exports) { // IE 8- don't enum bug keys - module.exports = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split( - "," + module.exports = 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'.split( + ',' ); /***/ @@ -637,26 +638,26 @@ /***/ }, /* 44 */ - [863, 34], + [828, 34], /* 45 */ - [864, 12, 46, 41, 40, 15, 47], + [829, 12, 46, 41, 40, 15, 47], /* 46 */ - [865, 11, 12, 30, 6], + [830, 11, 12, 30, 6], /* 47 */ - [866, 4], + [831, 4], /* 48 */ - [867, 32, 49], + [832, 32, 49], /* 49 */ - [868, 31, 41], + [833, 31, 41], /* 50 */ - [869, 43, 17, 32, 16, 5, 14, 6], + [834, 43, 17, 32, 16, 5, 14, 6], /* 51 */ - [870, 8, 45], + [835, 8, 45], /* 52 */ /***/ function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) - $export($export.S + $export.F * !__webpack_require__(6), "Object", { + $export($export.S + $export.F * !__webpack_require__(6), 'Object', { defineProperty: __webpack_require__(11).f }); @@ -666,7 +667,7 @@ /***/ function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); // 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties) - $export($export.S + $export.F * !__webpack_require__(6), "Object", { + $export($export.S + $export.F * !__webpack_require__(6), 'Object', { defineProperties: __webpack_require__(46) }); @@ -678,7 +679,7 @@ var toIObject = __webpack_require__(32); var $getOwnPropertyDescriptor = __webpack_require__(50).f; - __webpack_require__(55)("getOwnPropertyDescriptor", function() { + __webpack_require__(55)('getOwnPropertyDescriptor', function() { return function getOwnPropertyDescriptor(it, key) { return $getOwnPropertyDescriptor(toIObject(it), key); }; @@ -702,7 +703,7 @@ fails(function() { fn(1); }), - "Object", + 'Object', exp ); }; @@ -715,7 +716,7 @@ var toObject = __webpack_require__(57); var $getPrototypeOf = __webpack_require__(58); - __webpack_require__(55)("getPrototypeOf", function() { + __webpack_require__(55)('getPrototypeOf', function() { return function getPrototypeOf(it) { return $getPrototypeOf(toObject(it)); }; @@ -724,16 +725,16 @@ /***/ }, /* 57 */ - [871, 35], + [836, 35], /* 58 */ - [872, 5, 57, 40], + [837, 5, 57, 40], /* 59 */ /***/ function(module, exports, __webpack_require__) { // 19.1.2.14 Object.keys(O) var toObject = __webpack_require__(57); var $keys = __webpack_require__(30); - __webpack_require__(55)("keys", function() { + __webpack_require__(55)('keys', function() { return function keys(it) { return $keys(toObject(it)); }; @@ -744,7 +745,7 @@ /* 60 */ /***/ function(module, exports, __webpack_require__) { // 19.1.2.7 Object.getOwnPropertyNames(O) - __webpack_require__(55)("getOwnPropertyNames", function() { + __webpack_require__(55)('getOwnPropertyNames', function() { return __webpack_require__(48).f; }); @@ -756,7 +757,7 @@ var isObject = __webpack_require__(13); var meta = __webpack_require__(22).onFreeze; - __webpack_require__(55)("freeze", function($freeze) { + __webpack_require__(55)('freeze', function($freeze) { return function freeze(it) { return $freeze && isObject(it) ? $freeze(meta(it)) : it; }; @@ -770,7 +771,7 @@ var isObject = __webpack_require__(13); var meta = __webpack_require__(22).onFreeze; - __webpack_require__(55)("seal", function($seal) { + __webpack_require__(55)('seal', function($seal) { return function seal(it) { return $seal && isObject(it) ? $seal(meta(it)) : it; }; @@ -784,7 +785,7 @@ var isObject = __webpack_require__(13); var meta = __webpack_require__(22).onFreeze; - __webpack_require__(55)("preventExtensions", function( + __webpack_require__(55)('preventExtensions', function( $preventExtensions ) { return function preventExtensions(it) { @@ -801,7 +802,7 @@ // 19.1.2.12 Object.isFrozen(O) var isObject = __webpack_require__(13); - __webpack_require__(55)("isFrozen", function($isFrozen) { + __webpack_require__(55)('isFrozen', function($isFrozen) { return function isFrozen(it) { return isObject(it) ? ($isFrozen ? $isFrozen(it) : false) : true; }; @@ -814,7 +815,7 @@ // 19.1.2.13 Object.isSealed(O) var isObject = __webpack_require__(13); - __webpack_require__(55)("isSealed", function($isSealed) { + __webpack_require__(55)('isSealed', function($isSealed) { return function isSealed(it) { return isObject(it) ? ($isSealed ? $isSealed(it) : false) : true; }; @@ -827,10 +828,12 @@ // 19.1.2.11 Object.isExtensible(O) var isObject = __webpack_require__(13); - __webpack_require__(55)("isExtensible", function($isExtensible) { + __webpack_require__(55)('isExtensible', function($isExtensible) { return function isExtensible(it) { return isObject(it) - ? $isExtensible ? $isExtensible(it) : true + ? $isExtensible + ? $isExtensible(it) + : true : false; }; }); @@ -838,14 +841,14 @@ /***/ }, /* 67 */ - [873, 8, 68], + [838, 8, 68], /* 68 */ - [874, 30, 42, 43, 57, 33, 7], + [839, 30, 42, 43, 57, 33, 7], /* 69 */ /***/ function(module, exports, __webpack_require__) { // 19.1.3.10 Object.is(value1, value2) var $export = __webpack_require__(8); - $export($export.S, "Object", { is: __webpack_require__(70) }); + $export($export.S, 'Object', { is: __webpack_require__(70) }); /***/ }, @@ -862,22 +865,22 @@ /***/ }, /* 71 */ - [875, 8, 72], + [840, 8, 72], /* 72 */ - [876, 13, 12, 20, 50], + [841, 13, 12, 20, 50], /* 73 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // 19.1.3.6 Object.prototype.toString() var classof = __webpack_require__(74); var test = {}; - test[__webpack_require__(25)("toStringTag")] = "z"; - if (test + "" != "[object z]") { + test[__webpack_require__(26)('toStringTag')] = 'z'; + if (test + '' != '[object z]') { __webpack_require__(18)( Object.prototype, - "toString", + 'toString', function toString() { - return "[object " + classof(this) + "]"; + return '[object ' + classof(this) + ']'; }, true ); @@ -889,14 +892,14 @@ /***/ function(module, exports, __webpack_require__) { // getting tag from 19.1.3.6 Object.prototype.toString() var cof = __webpack_require__(34); - var TAG = __webpack_require__(25)("toStringTag"); + var TAG = __webpack_require__(26)('toStringTag'); // ES3 wrong here var ARG = cof( (function() { return arguments; })() - ) == "Arguments"; + ) == 'Arguments'; // fallback for IE11 Script Access Denied error var tryGet = function(it, key) { @@ -910,18 +913,18 @@ module.exports = function(it) { var O, T, B; return it === undefined - ? "Undefined" + ? 'Undefined' : it === null - ? "Null" + ? 'Null' : // @@toStringTag case - typeof (T = tryGet((O = Object(it)), TAG)) == "string" + typeof (T = tryGet((O = Object(it)), TAG)) == 'string' ? T : // builtinTag case ARG ? cof(O) : // ES3 arguments fallback - (B = cof(O)) == "Object" && typeof O.callee == "function" - ? "Arguments" + (B = cof(O)) == 'Object' && typeof O.callee == 'function' + ? 'Arguments' : B; }; @@ -932,13 +935,13 @@ // 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...) var $export = __webpack_require__(8); - $export($export.P, "Function", { bind: __webpack_require__(76) }); + $export($export.P, 'Function', { bind: __webpack_require__(76) }); /***/ }, /* 76 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var aFunction = __webpack_require__(21); var isObject = __webpack_require__(13); var invoke = __webpack_require__(77); @@ -947,9 +950,9 @@ var construct = function(F, len, args) { if (!(len in factories)) { - for (var n = [], i = 0; i < len; i++) n[i] = "a[" + i + "]"; + for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; // eslint-disable-next-line no-new-func - factories[len] = Function("F,a", "return new F(" + n.join(",") + ")"); + factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); } return factories[len](F, args); }; @@ -1002,7 +1005,7 @@ var dP = __webpack_require__(11).f; var FProto = Function.prototype; var nameRE = /^\s*function ([^ (]*)/; - var NAME = "name"; + var NAME = 'name'; // 19.2.4.2 name NAME in FProto || @@ -1011,9 +1014,9 @@ configurable: true, get: function() { try { - return ("" + this).match(nameRE)[1]; + return ('' + this).match(nameRE)[1]; } catch (e) { - return ""; + return ''; } } })); @@ -1022,16 +1025,16 @@ }, /* 79 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var isObject = __webpack_require__(13); var getPrototypeOf = __webpack_require__(58); - var HAS_INSTANCE = __webpack_require__(25)("hasInstance"); + var HAS_INSTANCE = __webpack_require__(26)('hasInstance'); var FunctionProto = Function.prototype; // 19.2.3.6 Function.prototype[@@hasInstance](V) if (!(HAS_INSTANCE in FunctionProto)) __webpack_require__(11).f(FunctionProto, HAS_INSTANCE, { value: function(O) { - if (typeof this != "function" || !isObject(O)) return false; + if (typeof this != 'function' || !isObject(O)) return false; if (!isObject(this.prototype)) return O instanceof this; // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: while ((O = getPrototypeOf(O))) @@ -1061,7 +1064,7 @@ var hex = /^[-+]?0[xX]/; module.exports = - $parseInt(ws + "08") !== 8 || $parseInt(ws + "0x16") !== 22 + $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) { var string = $trim(String(str), 3); return $parseInt( @@ -1079,10 +1082,10 @@ var defined = __webpack_require__(35); var fails = __webpack_require__(7); var spaces = __webpack_require__(83); - var space = "[" + spaces + "]"; - var non = "\u200b\u0085"; - var ltrim = RegExp("^" + space + space + "*"); - var rtrim = RegExp(space + space + "*$"); + var space = '[' + spaces + ']'; + var non = '\u200b\u0085'; + var ltrim = RegExp('^' + space + space + '*'); + var rtrim = RegExp(space + space + '*$'); var exporter = function(KEY, exec, ALIAS) { var exp = {}; @@ -1091,7 +1094,7 @@ }); var fn = (exp[KEY] = FORCE ? exec(trim) : spaces[KEY]); if (ALIAS) exp[ALIAS] = fn; - $export($export.P + $export.F * FORCE, "String", exp); + $export($export.P + $export.F * FORCE, 'String', exp); }; // 1 -> String#trimLeft @@ -1099,8 +1102,8 @@ // 3 -> String#trim var trim = (exporter.trim = function(string, TYPE) { string = String(defined(string)); - if (TYPE & 1) string = string.replace(ltrim, ""); - if (TYPE & 2) string = string.replace(rtrim, ""); + if (TYPE & 1) string = string.replace(ltrim, ''); + if (TYPE & 2) string = string.replace(rtrim, ''); return string; }); @@ -1111,8 +1114,8 @@ /* 83 */ /***/ function(module, exports) { module.exports = - "\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003" + - "\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF"; + '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; /***/ }, @@ -1133,11 +1136,11 @@ var $trim = __webpack_require__(82).trim; module.exports = - 1 / $parseFloat(__webpack_require__(83) + "-0") !== -Infinity + 1 / $parseFloat(__webpack_require__(83) + '-0') !== -Infinity ? function parseFloat(str) { var string = $trim(String(str), 3); var result = $parseFloat(string); - return result === 0 && string.charAt(0) == "-" ? -0 : result; + return result === 0 && string.charAt(0) == '-' ? -0 : result; } : $parseFloat; @@ -1145,7 +1148,7 @@ }, /* 86 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var global = __webpack_require__(4); var has = __webpack_require__(5); var cof = __webpack_require__(34); @@ -1156,18 +1159,18 @@ var gOPD = __webpack_require__(50).f; var dP = __webpack_require__(11).f; var $trim = __webpack_require__(82).trim; - var NUMBER = "Number"; + var NUMBER = 'Number'; var $Number = global[NUMBER]; var Base = $Number; var proto = $Number.prototype; // Opera ~12 has broken Object#toString var BROKEN_COF = cof(__webpack_require__(45)(proto)) == NUMBER; - var TRIM = "trim" in String.prototype; + var TRIM = 'trim' in String.prototype; // 7.1.3 ToNumber(argument) var toNumber = function(argument) { var it = toPrimitive(argument, false); - if (typeof it == "string" && it.length > 2) { + if (typeof it == 'string' && it.length > 2) { it = TRIM ? it.trim() : $trim(it, 3); var first = it.charCodeAt(0); var third, radix, maxCode; @@ -1205,7 +1208,7 @@ return +it; }; - if (!$Number(" 0o1") || !$Number("0b1") || $Number("+0x1")) { + if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) { $Number = function Number(value) { var it = arguments.length < 1 ? 0 : value; var that = this; @@ -1224,11 +1227,11 @@ ? gOPN(Base) : // ES3: ( - "MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY," + + 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + // ES6 (in case, if modules with ES6 Number statics required before): - "EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER," + - "MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger" - ).split(","), + 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + + 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger' + ).split(','), j = 0, key; keys.length > j; @@ -1254,7 +1257,7 @@ var P; if ( S !== C && - typeof S == "function" && + typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf @@ -1268,7 +1271,7 @@ }, /* 88 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var toInteger = __webpack_require__(38); var aNumberValue = __webpack_require__(89); @@ -1276,8 +1279,8 @@ var $toFixed = (1.0).toFixed; var floor = Math.floor; var data = [0, 0, 0, 0, 0, 0]; - var ERROR = "Number.toFixed: incorrect invocation!"; - var ZERO = "0"; + var ERROR = 'Number.toFixed: incorrect invocation!'; + var ZERO = '0'; var multiply = function(n, c) { var i = -1; @@ -1299,11 +1302,11 @@ }; var numToString = function() { var i = 6; - var s = ""; + var s = ''; while (--i >= 0) { - if (s !== "" || i === 0 || data[i] !== 0) { + if (s !== '' || i === 0 || data[i] !== 0) { var t = String(data[i]); - s = s === "" ? t : s + repeat.call(ZERO, 7 - t.length) + t; + s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t; } } return s; @@ -1311,7 +1314,9 @@ var pow = function(x, n, acc) { return n === 0 ? acc - : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); + : n % 2 === 1 + ? pow(x, n - 1, acc * x) + : pow(x * x, n / 2, acc); }; var log = function(x) { var n = 0; @@ -1331,29 +1336,29 @@ $export.P + $export.F * ((!!$toFixed && - ((0.00008).toFixed(3) !== "0.000" || - (0.9).toFixed(0) !== "1" || - (1.255).toFixed(2) !== "1.25" || + ((0.00008).toFixed(3) !== '0.000' || + (0.9).toFixed(0) !== '1' || + (1.255).toFixed(2) !== '1.25' || (1000000000000000128.0).toFixed(0) !== - "1000000000000000128")) || + '1000000000000000128')) || !__webpack_require__(7)(function() { // V8 ~ Android 4.3- $toFixed.call({}); })), - "Number", + 'Number', { toFixed: function toFixed(fractionDigits) { var x = aNumberValue(this, ERROR); var f = toInteger(fractionDigits); - var s = ""; + var s = ''; var m = ZERO; var e, z, j, k; if (f < 0 || f > 20) throw RangeError(ERROR); // eslint-disable-next-line no-self-compare - if (x != x) return "NaN"; + if (x != x) return 'NaN'; if (x <= -1e21 || x >= 1e21) return String(x); if (x < 0) { - s = "-"; + s = '-'; x = -x; } if (x > 1e-21) { @@ -1389,8 +1394,8 @@ m = s + (k <= f - ? "0." + repeat.call(ZERO, f - k) + m - : m.slice(0, k - f) + "." + m.slice(k - f)); + ? '0.' + repeat.call(ZERO, f - k) + m + : m.slice(0, k - f) + '.' + m.slice(k - f)); } else { m = s + m; } @@ -1405,7 +1410,7 @@ /***/ function(module, exports, __webpack_require__) { var cof = __webpack_require__(34); module.exports = function(it, msg) { - if (typeof it != "number" && cof(it) != "Number") throw TypeError(msg); + if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg); return +it; }; @@ -1413,13 +1418,13 @@ }, /* 90 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var toInteger = __webpack_require__(38); var defined = __webpack_require__(35); module.exports = function repeat(count) { var str = String(defined(this)); - var res = ""; + var res = ''; var n = toInteger(count); if (n < 0 || n == Infinity) throw RangeError("Count can't be negative"); for (; n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str; @@ -1430,7 +1435,7 @@ }, /* 91 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var $fails = __webpack_require__(7); var aNumberValue = __webpack_require__(89); @@ -1441,18 +1446,18 @@ $export.F * ($fails(function() { // IE7- - return $toPrecision.call(1, undefined) !== "1"; + return $toPrecision.call(1, undefined) !== '1'; }) || !$fails(function() { // V8 ~ Android 4.3- $toPrecision.call({}); })), - "Number", + 'Number', { toPrecision: function toPrecision(precision) { var that = aNumberValue( this, - "Number#toPrecision: incorrect invocation!" + 'Number#toPrecision: incorrect invocation!' ); return precision === undefined ? $toPrecision.call(that) @@ -1468,7 +1473,7 @@ // 20.1.2.1 Number.EPSILON var $export = __webpack_require__(8); - $export($export.S, "Number", { EPSILON: Math.pow(2, -52) }); + $export($export.S, 'Number', { EPSILON: Math.pow(2, -52) }); /***/ }, @@ -1478,9 +1483,9 @@ var $export = __webpack_require__(8); var _isFinite = __webpack_require__(4).isFinite; - $export($export.S, "Number", { + $export($export.S, 'Number', { isFinite: function isFinite(it) { - return typeof it == "number" && _isFinite(it); + return typeof it == 'number' && _isFinite(it); } }); @@ -1491,7 +1496,7 @@ // 20.1.2.3 Number.isInteger(number) var $export = __webpack_require__(8); - $export($export.S, "Number", { isInteger: __webpack_require__(95) }); + $export($export.S, 'Number', { isInteger: __webpack_require__(95) }); /***/ }, @@ -1511,7 +1516,7 @@ // 20.1.2.4 Number.isNaN(number) var $export = __webpack_require__(8); - $export($export.S, "Number", { + $export($export.S, 'Number', { isNaN: function isNaN(number) { // eslint-disable-next-line no-self-compare return number != number; @@ -1527,7 +1532,7 @@ var isInteger = __webpack_require__(95); var abs = Math.abs; - $export($export.S, "Number", { + $export($export.S, 'Number', { isSafeInteger: function isSafeInteger(number) { return isInteger(number) && abs(number) <= 0x1fffffffffffff; } @@ -1540,7 +1545,7 @@ // 20.1.2.6 Number.MAX_SAFE_INTEGER var $export = __webpack_require__(8); - $export($export.S, "Number", { MAX_SAFE_INTEGER: 0x1fffffffffffff }); + $export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff }); /***/ }, @@ -1549,7 +1554,7 @@ // 20.1.2.10 Number.MIN_SAFE_INTEGER var $export = __webpack_require__(8); - $export($export.S, "Number", { MIN_SAFE_INTEGER: -0x1fffffffffffff }); + $export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff }); /***/ }, @@ -1560,7 +1565,7 @@ // 20.1.2.12 Number.parseFloat(string) $export( $export.S + $export.F * (Number.parseFloat != $parseFloat), - "Number", + 'Number', { parseFloat: $parseFloat } ); @@ -1573,7 +1578,7 @@ // 20.1.2.13 Number.parseInt(string, radix) $export( $export.S + $export.F * (Number.parseInt != $parseInt), - "Number", + 'Number', { parseInt: $parseInt } ); @@ -1597,7 +1602,7 @@ // Tor Browser bug: Math.acosh(Infinity) -> NaN $acosh(Infinity) == Infinity ), - "Math", + 'Math', { acosh: function acosh(x) { return (x = +x) < 1 @@ -1617,7 +1622,9 @@ module.exports = Math.log1p || function log1p(x) { - return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x); + return (x = +x) > -1e-8 && x < 1e-8 + ? x - (x * x) / 2 + : Math.log(1 + x); }; /***/ @@ -1631,11 +1638,13 @@ function asinh(x) { return !isFinite((x = +x)) || x == 0 ? x - : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1)); + : x < 0 + ? -asinh(-x) + : Math.log(x + Math.sqrt(x * x + 1)); } // Tor Browser bug: Math.asinh(0) -> -0 - $export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), "Math", { + $export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh }); @@ -1648,7 +1657,7 @@ var $atanh = Math.atanh; // Tor Browser bug: Math.atanh(-0) -> 0 - $export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), "Math", { + $export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', { atanh: function atanh(x) { return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2; } @@ -1662,7 +1671,7 @@ var $export = __webpack_require__(8); var sign = __webpack_require__(107); - $export($export.S, "Math", { + $export($export.S, 'Math', { cbrt: function cbrt(x) { return sign((x = +x)) * Math.pow(Math.abs(x), 1 / 3); } @@ -1687,7 +1696,7 @@ // 20.2.2.11 Math.clz32(x) var $export = __webpack_require__(8); - $export($export.S, "Math", { + $export($export.S, 'Math', { clz32: function clz32(x) { return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) @@ -1703,7 +1712,7 @@ var $export = __webpack_require__(8); var exp = Math.exp; - $export($export.S, "Math", { + $export($export.S, 'Math', { cosh: function cosh(x) { return (exp((x = +x)) + exp(-x)) / 2; } @@ -1717,7 +1726,7 @@ var $export = __webpack_require__(8); var $expm1 = __webpack_require__(111); - $export($export.S + $export.F * ($expm1 != Math.expm1), "Math", { + $export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 }); @@ -1737,7 +1746,9 @@ ? function expm1(x) { return (x = +x) == 0 ? x - : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1; + : x > -1e-6 && x < 1e-6 + ? x + (x * x) / 2 + : Math.exp(x) - 1; } : $expm1; @@ -1748,7 +1759,7 @@ // 20.2.2.16 Math.fround(x) var $export = __webpack_require__(8); - $export($export.S, "Math", { fround: __webpack_require__(113) }); + $export($export.S, 'Math', { fround: __webpack_require__(113) }); /***/ }, @@ -1794,7 +1805,7 @@ var $export = __webpack_require__(8); var abs = Math.abs; - $export($export.S, "Math", { + $export($export.S, 'Math', { hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars var sum = 0; @@ -1832,7 +1843,7 @@ __webpack_require__(7)(function() { return $imul(0xffffffff, 5) != -5 || $imul.length != 2; }), - "Math", + 'Math', { imul: function imul(x, y) { var UINT16 = 0xffff; @@ -1858,7 +1869,7 @@ // 20.2.2.21 Math.log10(x) var $export = __webpack_require__(8); - $export($export.S, "Math", { + $export($export.S, 'Math', { log10: function log10(x) { return Math.log(x) * Math.LOG10E; } @@ -1871,7 +1882,7 @@ // 20.2.2.20 Math.log1p(x) var $export = __webpack_require__(8); - $export($export.S, "Math", { log1p: __webpack_require__(103) }); + $export($export.S, 'Math', { log1p: __webpack_require__(103) }); /***/ }, @@ -1880,7 +1891,7 @@ // 20.2.2.22 Math.log2(x) var $export = __webpack_require__(8); - $export($export.S, "Math", { + $export($export.S, 'Math', { log2: function log2(x) { return Math.log(x) / Math.LN2; } @@ -1893,7 +1904,7 @@ // 20.2.2.28 Math.sign(x) var $export = __webpack_require__(8); - $export($export.S, "Math", { sign: __webpack_require__(107) }); + $export($export.S, 'Math', { sign: __webpack_require__(107) }); /***/ }, @@ -1911,7 +1922,7 @@ __webpack_require__(7)(function() { return !Math.sinh(-2e-17) != -2e-17; }), - "Math", + 'Math', { sinh: function sinh(x) { return Math.abs((x = +x)) < 1 @@ -1930,13 +1941,15 @@ var expm1 = __webpack_require__(111); var exp = Math.exp; - $export($export.S, "Math", { + $export($export.S, 'Math', { tanh: function tanh(x) { var a = expm1((x = +x)); var b = expm1(-x); return a == Infinity ? 1 - : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x)); + : b == Infinity + ? -1 + : (a - b) / (exp(x) + exp(-x)); } }); @@ -1947,7 +1960,7 @@ // 20.2.2.34 Math.trunc(x) var $export = __webpack_require__(8); - $export($export.S, "Math", { + $export($export.S, 'Math', { trunc: function trunc(it) { return (it > 0 ? Math.floor : Math.ceil)(it); } @@ -1966,7 +1979,7 @@ $export( $export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), - "String", + 'String', { // 21.1.2.2 String.fromCodePoint(...codePoints) fromCodePoint: function fromCodePoint(x) { @@ -1978,17 +1991,17 @@ while (aLen > i) { code = +arguments[i++]; if (toAbsoluteIndex(code, 0x10ffff) !== code) - throw RangeError(code + " is not a valid code point"); + throw RangeError(code + ' is not a valid code point'); res.push( code < 0x10000 ? fromCharCode(code) : fromCharCode( ((code -= 0x10000) >> 10) + 0xd800, - code % 0x400 + 0xdc00 + (code % 0x400) + 0xdc00 ) ); } - return res.join(""); + return res.join(''); } } ); @@ -2001,7 +2014,7 @@ var toIObject = __webpack_require__(32); var toLength = __webpack_require__(37); - $export($export.S, "String", { + $export($export.S, 'String', { // 21.1.2.4 String.raw(callSite, ...substitutions) raw: function raw(callSite) { var tpl = toIObject(callSite.raw); @@ -2013,7 +2026,7 @@ res.push(String(tpl[i++])); if (i < aLen) res.push(String(arguments[i])); } - return res.join(""); + return res.join(''); } }); @@ -2021,9 +2034,9 @@ }, /* 125 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // 21.1.3.25 String.prototype.trim() - __webpack_require__(82)("trim", function($trim) { + __webpack_require__(82)('trim', function($trim) { return function trim() { return $trim(this, 3); }; @@ -2032,11 +2045,11 @@ /***/ }, /* 126 */ - [877, 127, 128], + [842, 127, 128], /* 127 */ - [878, 38, 35], + [843, 38, 35], /* 128 */ - [879, 28, 8, 18, 10, 5, 129, 130, 24, 58, 25], + [844, 24, 8, 18, 10, 129, 130, 25, 58, 26], /* 129 */ /***/ function(module, exports) { module.exports = {}; @@ -2044,13 +2057,13 @@ /***/ }, /* 130 */ - [880, 45, 17, 24, 10, 25], + [845, 45, 17, 25, 10, 26], /* 131 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var $at = __webpack_require__(127)(false); - $export($export.P, "String", { + $export($export.P, 'String', { // 21.1.3.3 String.prototype.codePointAt(pos) codePointAt: function codePointAt(pos) { return $at(this, pos); @@ -2062,16 +2075,16 @@ /* 132 */ /***/ function(module, exports, __webpack_require__) { // 21.1.3.6 String.prototype.endsWith(searchString [, endPosition]) - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var toLength = __webpack_require__(37); var context = __webpack_require__(133); - var ENDS_WITH = "endsWith"; - var $endsWith = ""[ENDS_WITH]; + var ENDS_WITH = 'endsWith'; + var $endsWith = ''[ENDS_WITH]; $export( $export.P + $export.F * __webpack_require__(135)(ENDS_WITH), - "String", + 'String', { endsWith: function endsWith( searchString /* , endPosition = @length */ @@ -2101,7 +2114,7 @@ module.exports = function(that, searchString, NAME) { if (isRegExp(searchString)) - throw TypeError("String#" + NAME + " doesn't accept regex!"); + throw TypeError('String#' + NAME + " doesn't accept regex!"); return String(defined(that)); }; @@ -2112,14 +2125,14 @@ // 7.2.8 IsRegExp(argument) var isObject = __webpack_require__(13); var cof = __webpack_require__(34); - var MATCH = __webpack_require__(25)("match"); + var MATCH = __webpack_require__(26)('match'); module.exports = function(it) { var isRegExp; return ( isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp - : cof(it) == "RegExp") + : cof(it) == 'RegExp') ); }; @@ -2127,15 +2140,15 @@ }, /* 135 */ /***/ function(module, exports, __webpack_require__) { - var MATCH = __webpack_require__(25)("match"); + var MATCH = __webpack_require__(26)('match'); module.exports = function(KEY) { var re = /./; try { - "/./"[KEY](re); + '/./'[KEY](re); } catch (e) { try { re[MATCH] = false; - return !"/./"[KEY](re); + return !'/./'[KEY](re); } catch (f) { /* empty */ } @@ -2148,14 +2161,14 @@ /* 136 */ /***/ function(module, exports, __webpack_require__) { // 21.1.3.7 String.prototype.includes(searchString, position = 0) - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var context = __webpack_require__(133); - var INCLUDES = "includes"; + var INCLUDES = 'includes'; $export( $export.P + $export.F * __webpack_require__(135)(INCLUDES), - "String", + 'String', { includes: function includes(searchString /* , position = 0 */) { return !!~context(this, searchString, INCLUDES).indexOf( @@ -2172,7 +2185,7 @@ /***/ function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); - $export($export.P, "String", { + $export($export.P, 'String', { // 21.1.3.13 String.prototype.repeat(count) repeat: __webpack_require__(90) }); @@ -2182,16 +2195,16 @@ /* 138 */ /***/ function(module, exports, __webpack_require__) { // 21.1.3.18 String.prototype.startsWith(searchString [, position ]) - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var toLength = __webpack_require__(37); var context = __webpack_require__(133); - var STARTS_WITH = "startsWith"; - var $startsWith = ""[STARTS_WITH]; + var STARTS_WITH = 'startsWith'; + var $startsWith = ''[STARTS_WITH]; $export( $export.P + $export.F * __webpack_require__(135)(STARTS_WITH), - "String", + 'String', { startsWith: function startsWith(searchString /* , position = 0 */) { var that = context(this, searchString, STARTS_WITH); @@ -2213,11 +2226,11 @@ }, /* 139 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // B.2.3.2 String.prototype.anchor(name) - __webpack_require__(140)("anchor", function(createHTML) { + __webpack_require__(140)('anchor', function(createHTML) { return function anchor(name) { - return createHTML(this, "a", "name", name); + return createHTML(this, 'a', 'name', name); }; }); @@ -2232,15 +2245,15 @@ // B.2.3.2.1 CreateHTML(string, tag, attribute, value) var createHTML = function(string, tag, attribute, value) { var S = String(defined(string)); - var p1 = "<" + tag; - if (attribute !== "") + var p1 = '<' + tag; + if (attribute !== '') p1 += - " " + + ' ' + attribute + '="' + - String(value).replace(quot, """) + + String(value).replace(quot, '"') + '"'; - return p1 + ">" + S + "" + tag + ">"; + return p1 + '>' + S + '' + tag + '>'; }; module.exports = function(NAME, exec) { var O = {}; @@ -2249,12 +2262,12 @@ $export.P + $export.F * fails(function() { - var test = ""[NAME]('"'); + var test = ''[NAME]('"'); return ( test !== test.toLowerCase() || test.split('"').length > 3 ); }), - "String", + 'String', O ); }; @@ -2263,11 +2276,11 @@ }, /* 141 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // B.2.3.3 String.prototype.big() - __webpack_require__(140)("big", function(createHTML) { + __webpack_require__(140)('big', function(createHTML) { return function big() { - return createHTML(this, "big", "", ""); + return createHTML(this, 'big', '', ''); }; }); @@ -2275,11 +2288,11 @@ }, /* 142 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // B.2.3.4 String.prototype.blink() - __webpack_require__(140)("blink", function(createHTML) { + __webpack_require__(140)('blink', function(createHTML) { return function blink() { - return createHTML(this, "blink", "", ""); + return createHTML(this, 'blink', '', ''); }; }); @@ -2287,11 +2300,11 @@ }, /* 143 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // B.2.3.5 String.prototype.bold() - __webpack_require__(140)("bold", function(createHTML) { + __webpack_require__(140)('bold', function(createHTML) { return function bold() { - return createHTML(this, "b", "", ""); + return createHTML(this, 'b', '', ''); }; }); @@ -2299,11 +2312,11 @@ }, /* 144 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // B.2.3.6 String.prototype.fixed() - __webpack_require__(140)("fixed", function(createHTML) { + __webpack_require__(140)('fixed', function(createHTML) { return function fixed() { - return createHTML(this, "tt", "", ""); + return createHTML(this, 'tt', '', ''); }; }); @@ -2311,11 +2324,11 @@ }, /* 145 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // B.2.3.7 String.prototype.fontcolor(color) - __webpack_require__(140)("fontcolor", function(createHTML) { + __webpack_require__(140)('fontcolor', function(createHTML) { return function fontcolor(color) { - return createHTML(this, "font", "color", color); + return createHTML(this, 'font', 'color', color); }; }); @@ -2323,11 +2336,11 @@ }, /* 146 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // B.2.3.8 String.prototype.fontsize(size) - __webpack_require__(140)("fontsize", function(createHTML) { + __webpack_require__(140)('fontsize', function(createHTML) { return function fontsize(size) { - return createHTML(this, "font", "size", size); + return createHTML(this, 'font', 'size', size); }; }); @@ -2335,11 +2348,11 @@ }, /* 147 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // B.2.3.9 String.prototype.italics() - __webpack_require__(140)("italics", function(createHTML) { + __webpack_require__(140)('italics', function(createHTML) { return function italics() { - return createHTML(this, "i", "", ""); + return createHTML(this, 'i', '', ''); }; }); @@ -2347,11 +2360,11 @@ }, /* 148 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // B.2.3.10 String.prototype.link(url) - __webpack_require__(140)("link", function(createHTML) { + __webpack_require__(140)('link', function(createHTML) { return function link(url) { - return createHTML(this, "a", "href", url); + return createHTML(this, 'a', 'href', url); }; }); @@ -2359,11 +2372,11 @@ }, /* 149 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // B.2.3.11 String.prototype.small() - __webpack_require__(140)("small", function(createHTML) { + __webpack_require__(140)('small', function(createHTML) { return function small() { - return createHTML(this, "small", "", ""); + return createHTML(this, 'small', '', ''); }; }); @@ -2371,11 +2384,11 @@ }, /* 150 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // B.2.3.12 String.prototype.strike() - __webpack_require__(140)("strike", function(createHTML) { + __webpack_require__(140)('strike', function(createHTML) { return function strike() { - return createHTML(this, "strike", "", ""); + return createHTML(this, 'strike', '', ''); }; }); @@ -2383,11 +2396,11 @@ }, /* 151 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // B.2.3.13 String.prototype.sub() - __webpack_require__(140)("sub", function(createHTML) { + __webpack_require__(140)('sub', function(createHTML) { return function sub() { - return createHTML(this, "sub", "", ""); + return createHTML(this, 'sub', '', ''); }; }); @@ -2395,11 +2408,11 @@ }, /* 152 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // B.2.3.14 String.prototype.sup() - __webpack_require__(140)("sup", function(createHTML) { + __webpack_require__(140)('sup', function(createHTML) { return function sup() { - return createHTML(this, "sup", "", ""); + return createHTML(this, 'sup', '', ''); }; }); @@ -2410,7 +2423,7 @@ // 20.3.3.1 / 15.9.4.4 Date.now() var $export = __webpack_require__(8); - $export($export.S, "Date", { + $export($export.S, 'Date', { now: function() { return new Date().getTime(); } @@ -2420,7 +2433,7 @@ }, /* 154 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var toObject = __webpack_require__(57); var toPrimitive = __webpack_require__(16); @@ -2438,13 +2451,13 @@ }) !== 1 ); }), - "Date", + 'Date', { // eslint-disable-next-line no-unused-vars toJSON: function toJSON(key) { var O = toObject(this); var pv = toPrimitive(O); - return typeof pv == "number" && !isFinite(pv) + return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); } @@ -2462,7 +2475,7 @@ // PhantomJS / old WebKit has a broken implementations $export( $export.P + $export.F * (Date.prototype.toISOString !== toISOString), - "Date", + 'Date', { toISOString: toISOString } @@ -2472,21 +2485,21 @@ }, /* 156 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() var fails = __webpack_require__(7); var getTime = Date.prototype.getTime; var $toISOString = Date.prototype.toISOString; var lz = function(num) { - return num > 9 ? num : "0" + num; + return num > 9 ? num : '0' + num; }; // PhantomJS / old WebKit has a broken implementations module.exports = fails(function() { return ( - $toISOString.call(new Date(-5e13 - 1)) != "0385-07-25T07:06:39.999Z" + $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z' ); }) || !fails(function() { @@ -2494,27 +2507,27 @@ }) ? function toISOString() { if (!isFinite(getTime.call(this))) - throw RangeError("Invalid time value"); + throw RangeError('Invalid time value'); var d = this; var y = d.getUTCFullYear(); var m = d.getUTCMilliseconds(); - var s = y < 0 ? "-" : y > 9999 ? "+" : ""; + var s = y < 0 ? '-' : y > 9999 ? '+' : ''; return ( s + - ("00000" + Math.abs(y)).slice(s ? -6 : -4) + - "-" + + ('00000' + Math.abs(y)).slice(s ? -6 : -4) + + '-' + lz(d.getUTCMonth() + 1) + - "-" + + '-' + lz(d.getUTCDate()) + - "T" + + 'T' + lz(d.getUTCHours()) + - ":" + + ':' + lz(d.getUTCMinutes()) + - ":" + + ':' + lz(d.getUTCSeconds()) + - "." + - (m > 99 ? m : "0" + lz(m)) + - "Z" + '.' + + (m > 99 ? m : '0' + lz(m)) + + 'Z' ); } : $toISOString; @@ -2524,11 +2537,11 @@ /* 157 */ /***/ function(module, exports, __webpack_require__) { var DateProto = Date.prototype; - var INVALID_DATE = "Invalid Date"; - var TO_STRING = "toString"; + var INVALID_DATE = 'Invalid Date'; + var TO_STRING = 'toString'; var $toString = DateProto[TO_STRING]; var getTime = DateProto.getTime; - if (new Date(NaN) + "" != INVALID_DATE) { + if (new Date(NaN) + '' != INVALID_DATE) { __webpack_require__(18)(DateProto, TO_STRING, function toString() { var value = getTime.call(this); // eslint-disable-next-line no-self-compare @@ -2540,7 +2553,7 @@ }, /* 158 */ /***/ function(module, exports, __webpack_require__) { - var TO_PRIMITIVE = __webpack_require__(25)("toPrimitive"); + var TO_PRIMITIVE = __webpack_require__(26)('toPrimitive'); var proto = Date.prototype; if (!(TO_PRIMITIVE in proto)) @@ -2550,14 +2563,14 @@ }, /* 159 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var anObject = __webpack_require__(12); var toPrimitive = __webpack_require__(16); - var NUMBER = "number"; + var NUMBER = 'number'; module.exports = function(hint) { - if (hint !== "string" && hint !== NUMBER && hint !== "default") - throw TypeError("Incorrect hint"); + if (hint !== 'string' && hint !== NUMBER && hint !== 'default') + throw TypeError('Incorrect hint'); return toPrimitive(anObject(this), hint != NUMBER); }; @@ -2568,13 +2581,13 @@ // 22.1.2.2 / 15.4.3.2 Array.isArray(arg) var $export = __webpack_require__(8); - $export($export.S, "Array", { isArray: __webpack_require__(44) }); + $export($export.S, 'Array', { isArray: __webpack_require__(44) }); /***/ }, /* 161 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var ctx = __webpack_require__(20); var $export = __webpack_require__(8); var toObject = __webpack_require__(57); @@ -2590,14 +2603,14 @@ !__webpack_require__(166)(function(iter) { Array.from(iter); }), - "Array", + 'Array', { // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) from: function from( arrayLike /* , mapfn = undefined, thisArg = undefined */ ) { var O = toObject(arrayLike); - var C = typeof this == "function" ? this : Array; + var C = typeof this == 'function' ? this : Array; var aLen = arguments.length; var mapfn = aLen > 1 ? arguments[1] : undefined; var mapping = mapfn !== undefined; @@ -2648,7 +2661,7 @@ return entries ? fn(anObject(value)[0], value[1]) : fn(value); // 7.4.6 IteratorClose(iterator, completion) } catch (e) { - var ret = iterator["return"]; + var ret = iterator['return']; if (ret !== undefined) anObject(ret.call(iterator)); throw e; } @@ -2660,7 +2673,7 @@ /***/ function(module, exports, __webpack_require__) { // check on default Array iterator var Iterators = __webpack_require__(129); - var ITERATOR = __webpack_require__(25)("iterator"); + var ITERATOR = __webpack_require__(26)('iterator'); var ArrayProto = Array.prototype; module.exports = function(it) { @@ -2674,7 +2687,7 @@ }, /* 164 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $defineProperty = __webpack_require__(11); var createDesc = __webpack_require__(17); @@ -2689,23 +2702,23 @@ /* 165 */ /***/ function(module, exports, __webpack_require__) { var classof = __webpack_require__(74); - var ITERATOR = __webpack_require__(25)("iterator"); + var ITERATOR = __webpack_require__(26)('iterator'); var Iterators = __webpack_require__(129); module.exports = __webpack_require__(9).getIteratorMethod = function(it) { if (it != undefined) - return it[ITERATOR] || it["@@iterator"] || Iterators[classof(it)]; + return it[ITERATOR] || it['@@iterator'] || Iterators[classof(it)]; }; /***/ }, /* 166 */ /***/ function(module, exports, __webpack_require__) { - var ITERATOR = __webpack_require__(25)("iterator"); + var ITERATOR = __webpack_require__(26)('iterator'); var SAFE_CLOSING = false; try { var riter = [7][ITERATOR](); - riter["return"] = function() { + riter['return'] = function() { SAFE_CLOSING = true; }; // eslint-disable-next-line no-throw-literal @@ -2739,7 +2752,7 @@ }, /* 167 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var createProperty = __webpack_require__(164); @@ -2753,13 +2766,13 @@ } return !(Array.of.call(F) instanceof F); }), - "Array", + 'Array', { // 22.1.2.3 Array.of( ...items) of: function of(/* ...args */) { var index = 0; var aLen = arguments.length; - var result = new (typeof this == "function" ? this : Array)(aLen); + var result = new (typeof this == 'function' ? this : Array)(aLen); while (aLen > index) createProperty(result, index, arguments[index++]); result.length = aLen; @@ -2772,7 +2785,7 @@ }, /* 168 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // 22.1.3.13 Array.prototype.join(separator) var $export = __webpack_require__(8); var toIObject = __webpack_require__(32); @@ -2784,12 +2797,12 @@ $export.F * (__webpack_require__(33) != Object || !__webpack_require__(169)(arrayJoin)), - "Array", + 'Array', { join: function join(separator) { return arrayJoin.call( toIObject(this), - separator === undefined ? "," : separator + separator === undefined ? ',' : separator ); } } @@ -2799,7 +2812,7 @@ }, /* 169 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var fails = __webpack_require__(7); module.exports = function(method, arg) { @@ -2824,7 +2837,7 @@ }, /* 170 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var html = __webpack_require__(47); var cof = __webpack_require__(34); @@ -2839,21 +2852,21 @@ __webpack_require__(7)(function() { if (html) arraySlice.call(html); }), - "Array", + 'Array', { slice: function slice(begin, end) { var len = toLength(this.length); var klass = cof(this); end = end === undefined ? len : end; - if (klass == "Array") return arraySlice.call(this, begin, end); + if (klass == 'Array') return arraySlice.call(this, begin, end); var start = toAbsoluteIndex(begin, len); var upTo = toAbsoluteIndex(end, len); var size = toLength(upTo - start); - var cloned = Array(size); + var cloned = new Array(size); var i = 0; for (; i < size; i++) cloned[i] = - klass == "String" ? this.charAt(start + i) : this[start + i]; + klass == 'String' ? this.charAt(start + i) : this[start + i]; return cloned; } } @@ -2863,7 +2876,7 @@ }, /* 171 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var aFunction = __webpack_require__(21); var toObject = __webpack_require__(57); @@ -2884,7 +2897,7 @@ // Old WebKit }) || !__webpack_require__(169)($sort)), - "Array", + 'Array', { // 22.1.3.25 Array.prototype.sort(comparefn) sort: function sort(comparefn) { @@ -2899,12 +2912,12 @@ }, /* 172 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var $forEach = __webpack_require__(173)(0); var STRICT = __webpack_require__(169)([].forEach, true); - $export($export.P + $export.F * !STRICT, "Array", { + $export($export.P + $export.F * !STRICT, 'Array', { // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg]) forEach: function forEach(callbackfn /* , thisArg */) { return $forEach(this, callbackfn, arguments[1]); @@ -2943,7 +2956,9 @@ var index = 0; var result = IS_MAP ? create($this, length) - : IS_FILTER ? create($this, 0) : undefined; + : IS_FILTER + ? create($this, 0) + : undefined; var val, res; for (; length > index; index++) if (NO_HOLES || index in self) { @@ -2951,8 +2966,8 @@ res = f(val, index, O); if (TYPE) { if (IS_MAP) result[index] = res; + // map else if (res) - // map switch (TYPE) { case 3: return true; // some @@ -2987,14 +3002,14 @@ /***/ function(module, exports, __webpack_require__) { var isObject = __webpack_require__(13); var isArray = __webpack_require__(44); - var SPECIES = __webpack_require__(25)("species"); + var SPECIES = __webpack_require__(26)('species'); module.exports = function(original) { var C; if (isArray(original)) { C = original.constructor; // cross-realm fallback - if (typeof C == "function" && (C === Array || isArray(C.prototype))) + if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; if (isObject(C)) { C = C[SPECIES]; @@ -3008,13 +3023,13 @@ }, /* 176 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var $map = __webpack_require__(173)(1); $export( $export.P + $export.F * !__webpack_require__(169)([].map, true), - "Array", + 'Array', { // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg]) map: function map(callbackfn /* , thisArg */) { @@ -3027,13 +3042,13 @@ }, /* 177 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var $filter = __webpack_require__(173)(2); $export( $export.P + $export.F * !__webpack_require__(169)([].filter, true), - "Array", + 'Array', { // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg]) filter: function filter(callbackfn /* , thisArg */) { @@ -3046,13 +3061,13 @@ }, /* 178 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var $some = __webpack_require__(173)(3); $export( $export.P + $export.F * !__webpack_require__(169)([].some, true), - "Array", + 'Array', { // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg]) some: function some(callbackfn /* , thisArg */) { @@ -3065,13 +3080,13 @@ }, /* 179 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var $every = __webpack_require__(173)(4); $export( $export.P + $export.F * !__webpack_require__(169)([].every, true), - "Array", + 'Array', { // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg]) every: function every(callbackfn /* , thisArg */) { @@ -3084,13 +3099,13 @@ }, /* 180 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var $reduce = __webpack_require__(181); $export( $export.P + $export.F * !__webpack_require__(169)([].reduce, true), - "Array", + 'Array', { // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue]) reduce: function reduce(callbackfn /* , initialValue */) { @@ -3130,7 +3145,7 @@ } index += i; if (isRight ? index < 0 : length <= index) { - throw TypeError("Reduce of empty array with no initial value"); + throw TypeError('Reduce of empty array with no initial value'); } } for (; isRight ? index >= 0 : length > index; index += i) @@ -3144,13 +3159,13 @@ }, /* 182 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var $reduce = __webpack_require__(181); $export( $export.P + $export.F * !__webpack_require__(169)([].reduceRight, true), - "Array", + 'Array', { // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue]) reduceRight: function reduceRight(callbackfn /* , initialValue */) { @@ -3169,7 +3184,7 @@ }, /* 183 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var $indexOf = __webpack_require__(36)(false); var $native = [].indexOf; @@ -3178,7 +3193,7 @@ $export( $export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(169)($native)), - "Array", + 'Array', { // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex]) indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { @@ -3194,7 +3209,7 @@ }, /* 184 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var toIObject = __webpack_require__(32); var toInteger = __webpack_require__(38); @@ -3205,7 +3220,7 @@ $export( $export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(169)($native)), - "Array", + 'Array', { // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex]) lastIndexOf: function lastIndexOf( @@ -3233,16 +3248,16 @@ // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) var $export = __webpack_require__(8); - $export($export.P, "Array", { copyWithin: __webpack_require__(186) }); + $export($export.P, 'Array', { copyWithin: __webpack_require__(186) }); - __webpack_require__(187)("copyWithin"); + __webpack_require__(187)('copyWithin'); /***/ }, /* 186 */ /***/ function(module, exports, __webpack_require__) { // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) - "use strict"; + 'use strict'; var toObject = __webpack_require__(57); var toAbsoluteIndex = __webpack_require__(39); var toLength = __webpack_require__(37); @@ -3279,7 +3294,7 @@ /* 187 */ /***/ function(module, exports, __webpack_require__) { // 22.1.3.31 Array.prototype[@@unscopables] - var UNSCOPABLES = __webpack_require__(25)("unscopables"); + var UNSCOPABLES = __webpack_require__(26)('unscopables'); var ArrayProto = Array.prototype; if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(10)(ArrayProto, UNSCOPABLES, {}); @@ -3294,16 +3309,16 @@ // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) var $export = __webpack_require__(8); - $export($export.P, "Array", { fill: __webpack_require__(189) }); + $export($export.P, 'Array', { fill: __webpack_require__(189) }); - __webpack_require__(187)("fill"); + __webpack_require__(187)('fill'); /***/ }, /* 189 */ /***/ function(module, exports, __webpack_require__) { // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) - "use strict"; + 'use strict'; var toObject = __webpack_require__(57); var toAbsoluteIndex = __webpack_require__(39); var toLength = __webpack_require__(37); @@ -3325,18 +3340,18 @@ }, /* 190 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) var $export = __webpack_require__(8); var $find = __webpack_require__(173)(5); - var KEY = "find"; + var KEY = 'find'; var forced = true; // Shouldn't skip holes if (KEY in []) Array(1)[KEY](function() { forced = false; }); - $export($export.P + $export.F * forced, "Array", { + $export($export.P + $export.F * forced, 'Array', { find: function find(callbackfn /* , that = undefined */) { return $find( this, @@ -3351,18 +3366,18 @@ }, /* 191 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) var $export = __webpack_require__(8); var $find = __webpack_require__(173)(6); - var KEY = "findIndex"; + var KEY = 'findIndex'; var forced = true; // Shouldn't skip holes if (KEY in []) Array(1)[KEY](function() { forced = false; }); - $export($export.P + $export.F * forced, "Array", { + $export($export.P + $export.F * forced, 'Array', { findIndex: function findIndex(callbackfn /* , that = undefined */) { return $find( this, @@ -3377,17 +3392,17 @@ }, /* 192 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(193)("Array"); + __webpack_require__(193)('Array'); /***/ }, /* 193 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var global = __webpack_require__(4); var dP = __webpack_require__(11); var DESCRIPTORS = __webpack_require__(6); - var SPECIES = __webpack_require__(25)("species"); + var SPECIES = __webpack_require__(26)('species'); module.exports = function(KEY) { var C = global[KEY]; @@ -3403,7 +3418,7 @@ /***/ }, /* 194 */ - [881, 187, 195, 129, 32, 128], + [846, 187, 195, 129, 32, 128], /* 195 */ /***/ function(module, exports) { module.exports = function(done, value) { @@ -3432,12 +3447,12 @@ __webpack_require__(6) && (!CORRECT_NEW || __webpack_require__(7)(function() { - re2[__webpack_require__(25)("match")] = false; + re2[__webpack_require__(26)('match')] = false; // RegExp constructor can alter flags and IsRegExp works correct with @@match return ( $RegExp(re1) != re1 || $RegExp(re2) == re2 || - $RegExp(re1, "i") != "/a/i" + $RegExp(re1, 'i') != '/a/i' ); })) ) { @@ -3473,26 +3488,26 @@ for (var keys = gOPN(Base), i = 0; keys.length > i; ) proxy(keys[i++]); proto.constructor = $RegExp; $RegExp.prototype = proto; - __webpack_require__(18)(global, "RegExp", $RegExp); + __webpack_require__(18)(global, 'RegExp', $RegExp); } - __webpack_require__(193)("RegExp"); + __webpack_require__(193)('RegExp'); /***/ }, /* 197 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // 21.2.5.3 get RegExp.prototype.flags var anObject = __webpack_require__(12); module.exports = function() { var that = anObject(this); - var result = ""; - if (that.global) result += "g"; - if (that.ignoreCase) result += "i"; - if (that.multiline) result += "m"; - if (that.unicode) result += "u"; - if (that.sticky) result += "y"; + var result = ''; + if (that.global) result += 'g'; + if (that.ignoreCase) result += 'i'; + if (that.multiline) result += 'm'; + if (that.unicode) result += 'u'; + if (that.sticky) result += 'y'; return result; }; @@ -3500,12 +3515,12 @@ }, /* 198 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; __webpack_require__(199); var anObject = __webpack_require__(12); var $flags = __webpack_require__(197); var DESCRIPTORS = __webpack_require__(6); - var TO_STRING = "toString"; + var TO_STRING = 'toString'; var $toString = /./[TO_STRING]; var define = function(fn) { @@ -3515,17 +3530,19 @@ // 21.2.5.14 RegExp.prototype.toString() if ( __webpack_require__(7)(function() { - return $toString.call({ source: "a", flags: "b" }) != "/a/b"; + return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; }) ) { define(function toString() { var R = anObject(this); - return "/".concat( + return '/'.concat( R.source, - "/", - "flags" in R + '/', + 'flags' in R ? R.flags - : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined + : !DESCRIPTORS && R instanceof RegExp + ? $flags.call(R) + : undefined ); }); // FF44- RegExp#toString has a wrong name @@ -3540,8 +3557,8 @@ /* 199 */ /***/ function(module, exports, __webpack_require__) { // 21.2.5.3 get RegExp.prototype.flags() - if (__webpack_require__(6) && /./g.flags != "g") - __webpack_require__(11).f(RegExp.prototype, "flags", { + if (__webpack_require__(6) && /./g.flags != 'g') + __webpack_require__(11).f(RegExp.prototype, 'flags', { configurable: true, get: __webpack_require__(197) }); @@ -3551,11 +3568,11 @@ /* 200 */ /***/ function(module, exports, __webpack_require__) { // @@match logic - __webpack_require__(201)("match", 1, function(defined, MATCH, $match) { + __webpack_require__(201)('match', 1, function(defined, MATCH, $match) { // 21.1.3.11 String.prototype.match(regexp) return [ function match(regexp) { - "use strict"; + 'use strict'; var O = defined(this); var fn = regexp == undefined ? undefined : regexp[MATCH]; return fn !== undefined @@ -3570,16 +3587,16 @@ }, /* 201 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var hide = __webpack_require__(10); var redefine = __webpack_require__(18); var fails = __webpack_require__(7); var defined = __webpack_require__(35); - var wks = __webpack_require__(25); + var wks = __webpack_require__(26); module.exports = function(KEY, length, exec) { var SYMBOL = wks(KEY); - var fns = exec(defined, SYMBOL, ""[KEY]); + var fns = exec(defined, SYMBOL, ''[KEY]); var strfn = fns[0]; var rxfn = fns[1]; if ( @@ -3588,7 +3605,7 @@ O[SYMBOL] = function() { return 7; }; - return ""[KEY](O) != 7; + return ''[KEY](O) != 7; }) ) { redefine(String.prototype, KEY, strfn); @@ -3615,7 +3632,7 @@ /* 202 */ /***/ function(module, exports, __webpack_require__) { // @@replace logic - __webpack_require__(201)("replace", 2, function( + __webpack_require__(201)('replace', 2, function( defined, REPLACE, $replace @@ -3623,7 +3640,7 @@ // 21.1.3.14 String.prototype.replace(searchValue, replaceValue) return [ function replace(searchValue, replaceValue) { - "use strict"; + 'use strict'; var O = defined(this); var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; @@ -3640,11 +3657,11 @@ /* 203 */ /***/ function(module, exports, __webpack_require__) { // @@search logic - __webpack_require__(201)("search", 1, function(defined, SEARCH, $search) { + __webpack_require__(201)('search', 1, function(defined, SEARCH, $search) { // 21.1.3.15 String.prototype.search(regexp) return [ function search(regexp) { - "use strict"; + 'use strict'; var O = defined(this); var fn = regexp == undefined ? undefined : regexp[SEARCH]; return fn !== undefined @@ -3660,23 +3677,23 @@ /* 204 */ /***/ function(module, exports, __webpack_require__) { // @@split logic - __webpack_require__(201)("split", 2, function(defined, SPLIT, $split) { - "use strict"; + __webpack_require__(201)('split', 2, function(defined, SPLIT, $split) { + 'use strict'; var isRegExp = __webpack_require__(134); var _split = $split; var $push = [].push; - var $SPLIT = "split"; - var LENGTH = "length"; - var LAST_INDEX = "lastIndex"; + var $SPLIT = 'split'; + var LENGTH = 'length'; + var LAST_INDEX = 'lastIndex'; if ( - "abbc"[$SPLIT](/(b)*/)[1] == "c" || - "test"[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || - "ab"[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || - "."[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || - "."[$SPLIT](/()()/)[LENGTH] > 1 || - ""[$SPLIT](/.?/)[LENGTH] + 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || + 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || + 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || + '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || + '.'[$SPLIT](/()()/)[LENGTH] > 1 || + ''[$SPLIT](/.?/)[LENGTH] ) { - var NPCG = /()??/.exec("")[1] === undefined; // nonparticipating capturing group + var NPCG = /()??/.exec('')[1] === undefined; // nonparticipating capturing group // based on es5-shim implementation, need to rework it $split = function(separator, limit) { var string = String(this); @@ -3686,19 +3703,19 @@ return _split.call(string, separator, limit); var output = []; var flags = - (separator.ignoreCase ? "i" : "") + - (separator.multiline ? "m" : "") + - (separator.unicode ? "u" : "") + - (separator.sticky ? "y" : ""); + (separator.ignoreCase ? 'i' : '') + + (separator.multiline ? 'm' : '') + + (separator.unicode ? 'u' : '') + + (separator.sticky ? 'y' : ''); var lastLastIndex = 0; var splitLimit = limit === undefined ? 4294967295 : limit >>> 0; // Make `global` and avoid `lastIndex` issues by working with a copy - var separatorCopy = new RegExp(separator.source, flags + "g"); + var separatorCopy = new RegExp(separator.source, flags + 'g'); var separator2, match, lastIndex, lastLength, i; // Doesn't need flags gy, but they don't hurt if (!NPCG) separator2 = new RegExp( - "^" + separatorCopy.source + "$(?!\\s)", + '^' + separatorCopy.source + '$(?!\\s)', flags ); while ((match = separatorCopy.exec(string))) { @@ -3723,14 +3740,14 @@ separatorCopy[LAST_INDEX]++; // Avoid an infinite loop } if (lastLastIndex === string[LENGTH]) { - if (lastLength || !separatorCopy.test("")) output.push(""); + if (lastLength || !separatorCopy.test('')) output.push(''); } else output.push(string.slice(lastLastIndex)); return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; }; // Chakra, V8 - } else if ("0"[$SPLIT](undefined, 0)[LENGTH]) { + } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { $split = function(separator, limit) { return separator === undefined && limit === 0 ? [] @@ -3754,8 +3771,8 @@ }, /* 205 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; - var LIBRARY = __webpack_require__(28); + 'use strict'; + var LIBRARY = __webpack_require__(24); var global = __webpack_require__(4); var ctx = __webpack_require__(20); var classof = __webpack_require__(74); @@ -3769,12 +3786,15 @@ var microtask = __webpack_require__(210)(); var newPromiseCapabilityModule = __webpack_require__(211); var perform = __webpack_require__(212); - var promiseResolve = __webpack_require__(213); - var PROMISE = "Promise"; + var userAgent = __webpack_require__(213); + var promiseResolve = __webpack_require__(214); + var PROMISE = 'Promise'; var TypeError = global.TypeError; var process = global.process; + var versions = process && process.versions; + var v8 = (versions && versions.v8) || ''; var $Promise = global[PROMISE]; - var isNode = classof(process) == "process"; + var isNode = classof(process) == 'process'; var empty = function() { /* empty */ }; @@ -3787,14 +3807,19 @@ // correct subclassing with @@species support var promise = $Promise.resolve(1); var FakePromise = ((promise.constructor = {})[ - __webpack_require__(25)("species") + __webpack_require__(26)('species') ] = function(exec) { exec(empty, empty); }); // unhandled rejections tracking support, NodeJS Promise without it fails @@species test return ( - (isNode || typeof PromiseRejectionEvent == "function") && - promise.then(empty) instanceof FakePromise + (isNode || typeof PromiseRejectionEvent == 'function') && + promise.then(empty) instanceof FakePromise && + // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables + // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 + // we can't detect it synchronously, so just check versions + v8.indexOf('6.6') !== 0 && + userAgent.indexOf('Chrome/66') === -1 ); } catch (e) { /* empty */ @@ -3804,7 +3829,7 @@ // helpers var isThenable = function(it) { var then; - return isObject(it) && typeof (then = it.then) == "function" + return isObject(it) && typeof (then = it.then) == 'function' ? then : false; }; @@ -3821,7 +3846,7 @@ var resolve = reaction.resolve; var reject = reaction.reject; var domain = reaction.domain; - var result, then; + var result, then, exited; try { if (handler) { if (!ok) { @@ -3831,16 +3856,20 @@ if (handler === true) result = value; else { if (domain) domain.enter(); - result = handler(value); - if (domain) domain.exit(); + result = handler(value); // may throw + if (domain) { + domain.exit(); + exited = true; + } } if (result === reaction.promise) { - reject(TypeError("Promise-chain cycle")); + reject(TypeError('Promise-chain cycle')); } else if ((then = isThenable(result))) { then.call(result, resolve, reject); } else resolve(result); } else reject(value); } catch (e) { + if (domain && !exited) domain.exit(); reject(e); } }; @@ -3858,11 +3887,11 @@ if (unhandled) { result = perform(function() { if (isNode) { - process.emit("unhandledRejection", value, promise); + process.emit('unhandledRejection', value, promise); } else if ((handler = global.onunhandledrejection)) { handler({ promise: promise, reason: value }); } else if ((console = global.console) && console.error) { - console.error("Unhandled promise rejection", value); + console.error('Unhandled promise rejection', value); } }); // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should @@ -3873,21 +3902,13 @@ }); }; var isUnhandled = function(promise) { - if (promise._h == 1) return false; - var chain = promise._a || promise._c; - var i = 0; - var reaction; - while (chain.length > i) { - reaction = chain[i++]; - if (reaction.fail || !isUnhandled(reaction.promise)) return false; - } - return true; + return promise._h !== 1 && (promise._a || promise._c).length === 0; }; var onHandleUnhandled = function(promise) { task.call(global, function() { var handler; if (isNode) { - process.emit("rejectionHandled", promise); + process.emit('rejectionHandled', promise); } else if ((handler = global.onrejectionhandled)) { handler({ promise: promise, reason: promise._v }); } @@ -3939,7 +3960,7 @@ if (!USE_NATIVE) { // 25.4.3.1 Promise(executor) $Promise = function Promise(executor) { - anInstance(this, $Promise, PROMISE, "_h"); + anInstance(this, $Promise, PROMISE, '_h'); aFunction(executor); Internal.call(this); try { @@ -3958,14 +3979,14 @@ this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled this._n = false; // <- notify }; - Internal.prototype = __webpack_require__(214)($Promise.prototype, { + Internal.prototype = __webpack_require__(215)($Promise.prototype, { // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) then: function then(onFulfilled, onRejected) { var reaction = newPromiseCapability( speciesConstructor(this, $Promise) ); - reaction.ok = typeof onFulfilled == "function" ? onFulfilled : true; - reaction.fail = typeof onRejected == "function" && onRejected; + reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; + reaction.fail = typeof onRejected == 'function' && onRejected; reaction.domain = isNode ? process.domain : undefined; this._c.push(reaction); if (this._a) this._a.push(reaction); @@ -3993,7 +4014,7 @@ $export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); - __webpack_require__(24)($Promise, PROMISE); + __webpack_require__(25)($Promise, PROMISE); __webpack_require__(193)(PROMISE); Wrapper = __webpack_require__(9)[PROMISE]; @@ -4022,7 +4043,7 @@ !( USE_NATIVE && __webpack_require__(166)(function(iter) { - $Promise.all(iter)["catch"](empty); + $Promise.all(iter)['catch'](empty); }) ), PROMISE, @@ -4079,7 +4100,7 @@ !(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it) ) { - throw TypeError(name + ": incorrect invocation!"); + throw TypeError(name + ': incorrect invocation!'); } return it; }; @@ -4111,8 +4132,8 @@ var f = ctx(fn, that, entries ? 2 : 1); var index = 0; var length, step, iterator, result; - if (typeof iterFn != "function") - throw TypeError(iterable + " is not iterable!"); + if (typeof iterFn != 'function') + throw TypeError(iterable + ' is not iterable!'); // fast case for arrays with default iterator if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { @@ -4141,7 +4162,7 @@ // 7.3.20 SpeciesConstructor(O, defaultConstructor) var anObject = __webpack_require__(12); var aFunction = __webpack_require__(21); - var SPECIES = __webpack_require__(25)("species"); + var SPECIES = __webpack_require__(26)('species'); module.exports = function(O, D) { var C = anObject(O).constructor; var S; @@ -4166,7 +4187,7 @@ var Dispatch = global.Dispatch; var counter = 0; var queue = {}; - var ONREADYSTATECHANGE = "onreadystatechange"; + var ONREADYSTATECHANGE = 'onreadystatechange'; var defer, channel, port; var run = function() { var id = +this; @@ -4188,7 +4209,7 @@ while (arguments.length > i) args.push(arguments[i++]); queue[++counter] = function() { // eslint-disable-next-line no-new-func - invoke(typeof fn == "function" ? fn : Function(fn), args); + invoke(typeof fn == 'function' ? fn : Function(fn), args); }; defer(counter); return counter; @@ -4197,7 +4218,7 @@ delete queue[id]; }; // Node.js 0.8- - if (__webpack_require__(34)(process) == "process") { + if (__webpack_require__(34)(process) == 'process') { defer = function(id) { process.nextTick(ctx(run, id, 1)); }; @@ -4216,17 +4237,17 @@ // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' } else if ( global.addEventListener && - typeof postMessage == "function" && + typeof postMessage == 'function' && !global.importScripts ) { defer = function(id) { - global.postMessage(id + "", "*"); + global.postMessage(id + '', '*'); }; - global.addEventListener("message", listener, false); + global.addEventListener('message', listener, false); // IE8- - } else if (ONREADYSTATECHANGE in cel("script")) { + } else if (ONREADYSTATECHANGE in cel('script')) { defer = function(id) { - html.appendChild(cel("script"))[ONREADYSTATECHANGE] = function() { + html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function() { html.removeChild(this); run.call(id); }; @@ -4252,7 +4273,7 @@ var Observer = global.MutationObserver || global.WebKitMutationObserver; var process = global.process; var Promise = global.Promise; - var isNode = __webpack_require__(34)(process) == "process"; + var isNode = __webpack_require__(34)(process) == 'process'; module.exports = function() { var head, last, notify; @@ -4280,17 +4301,21 @@ notify = function() { process.nextTick(flush); }; - // browsers with MutationObserver - } else if (Observer) { + // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339 + } else if ( + Observer && + !(global.navigator && global.navigator.standalone) + ) { var toggle = true; - var node = document.createTextNode(""); + var node = document.createTextNode(''); new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new notify = function() { node.data = toggle = !toggle; }; // environments with maybe non-completely correct, but existent Promise } else if (Promise && Promise.resolve) { - var promise = Promise.resolve(); + // Promise.resolve without an argument throws an error in LG WebOS 2 + var promise = Promise.resolve(undefined); notify = function() { promise.then(flush); }; @@ -4322,7 +4347,7 @@ }, /* 211 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // 25.4.1.5 NewPromiseCapability(C) var aFunction = __webpack_require__(21); @@ -4330,7 +4355,7 @@ var resolve, reject; this.promise = new C(function($$resolve, $$reject) { if (resolve !== undefined || reject !== undefined) - throw TypeError("Bad Promise constructor"); + throw TypeError('Bad Promise constructor'); resolve = $$resolve; reject = $$reject; }); @@ -4357,6 +4382,15 @@ /***/ }, /* 213 */ + /***/ function(module, exports, __webpack_require__) { + var global = __webpack_require__(4); + var navigator = global.navigator; + + module.exports = (navigator && navigator.userAgent) || ''; + + /***/ + }, + /* 214 */ /***/ function(module, exports, __webpack_require__) { var anObject = __webpack_require__(12); var isObject = __webpack_require__(13); @@ -4373,7 +4407,7 @@ /***/ }, - /* 214 */ + /* 215 */ /***/ function(module, exports, __webpack_require__) { var redefine = __webpack_require__(18); module.exports = function(target, src, safe) { @@ -4383,15 +4417,15 @@ /***/ }, - /* 215 */ + /* 216 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; - var strong = __webpack_require__(216); - var validate = __webpack_require__(217); - var MAP = "Map"; + 'use strict'; + var strong = __webpack_require__(217); + var validate = __webpack_require__(218); + var MAP = 'Map'; // 23.1 Map Objects - module.exports = __webpack_require__(218)( + module.exports = __webpack_require__(219)( MAP, function(get) { return function Map() { @@ -4415,12 +4449,12 @@ /***/ }, - /* 216 */ + /* 217 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var dP = __webpack_require__(11).f; var create = __webpack_require__(45); - var redefineAll = __webpack_require__(214); + var redefineAll = __webpack_require__(215); var ctx = __webpack_require__(20); var anInstance = __webpack_require__(206); var forOf = __webpack_require__(207); @@ -4429,14 +4463,14 @@ var setSpecies = __webpack_require__(193); var DESCRIPTORS = __webpack_require__(6); var fastKey = __webpack_require__(22).fastKey; - var validate = __webpack_require__(217); - var SIZE = DESCRIPTORS ? "_s" : "size"; + var validate = __webpack_require__(218); + var SIZE = DESCRIPTORS ? '_s' : 'size'; var getEntry = function(that, key) { // fast case var index = fastKey(key); var entry; - if (index !== "F") return that._i[index]; + if (index !== 'F') return that._i[index]; // frozen object case for (entry = that._f; entry; entry = entry.n) { if (entry.k == key) return entry; @@ -4446,7 +4480,7 @@ module.exports = { getConstructor: function(wrapper, NAME, IS_MAP, ADDER) { var C = wrapper(function(that, iterable) { - anInstance(that, C, NAME, "_i"); + anInstance(that, C, NAME, '_i'); that._t = NAME; // collection type that._i = create(null); // index that._f = undefined; // first entry @@ -4514,7 +4548,7 @@ } }); if (DESCRIPTORS) - dP(C.prototype, "size", { + dP(C.prototype, 'size', { get: function() { return validate(this, NAME)[SIZE]; } @@ -4541,7 +4575,7 @@ if (prev) prev.n = entry; that[SIZE]++; // add to index - if (index !== "F") that._i[index] = entry; + if (index !== 'F') that._i[index] = entry; } return that; }, @@ -4573,11 +4607,11 @@ return step(1); } // return step by kind - if (kind == "keys") return step(0, entry.k); - if (kind == "values") return step(0, entry.v); + if (kind == 'keys') return step(0, entry.k); + if (kind == 'values') return step(0, entry.v); return step(0, [entry.k, entry.v]); }, - IS_MAP ? "entries" : "values", + IS_MAP ? 'entries' : 'values', !IS_MAP, true ); @@ -4589,31 +4623,31 @@ /***/ }, - /* 217 */ + /* 218 */ /***/ function(module, exports, __webpack_require__) { var isObject = __webpack_require__(13); module.exports = function(it, TYPE) { if (!isObject(it) || it._t !== TYPE) - throw TypeError("Incompatible receiver, " + TYPE + " required!"); + throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); return it; }; /***/ }, - /* 218 */ + /* 219 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var global = __webpack_require__(4); var $export = __webpack_require__(8); var redefine = __webpack_require__(18); - var redefineAll = __webpack_require__(214); + var redefineAll = __webpack_require__(215); var meta = __webpack_require__(22); var forOf = __webpack_require__(207); var anInstance = __webpack_require__(206); var isObject = __webpack_require__(13); var fails = __webpack_require__(7); var $iterDetect = __webpack_require__(166); - var setToStringTag = __webpack_require__(24); + var setToStringTag = __webpack_require__(25); var inheritIfRequired = __webpack_require__(87); module.exports = function( @@ -4626,7 +4660,7 @@ ) { var Base = global[NAME]; var C = Base; - var ADDER = IS_MAP ? "set" : "add"; + var ADDER = IS_MAP ? 'set' : 'add'; var proto = C && C.prototype; var O = {}; var fixMethod = function(KEY) { @@ -4634,25 +4668,25 @@ redefine( proto, KEY, - KEY == "delete" + KEY == 'delete' ? function(a) { return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); } - : KEY == "has" + : KEY == 'has' ? function has(a) { return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); } - : KEY == "get" + : KEY == 'get' ? function get(a) { return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a); } - : KEY == "add" + : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; @@ -4664,7 +4698,7 @@ ); }; if ( - typeof C != "function" || + typeof C != 'function' || !( IS_WEAK || (proto.forEach && @@ -4712,9 +4746,9 @@ proto.constructor = C; } if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { - fixMethod("delete"); - fixMethod("has"); - IS_MAP && fixMethod("get"); + fixMethod('delete'); + fixMethod('has'); + IS_MAP && fixMethod('get'); } if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); // weak collections should not contains .clear method @@ -4733,15 +4767,15 @@ /***/ }, - /* 219 */ + /* 220 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; - var strong = __webpack_require__(216); - var validate = __webpack_require__(217); - var SET = "Set"; + 'use strict'; + var strong = __webpack_require__(217); + var validate = __webpack_require__(218); + var SET = 'Set'; // 23.2 Set Objects - module.exports = __webpack_require__(218)( + module.exports = __webpack_require__(219)( SET, function(get) { return function Set() { @@ -4763,18 +4797,18 @@ /***/ }, - /* 220 */ + /* 221 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var each = __webpack_require__(173)(0); var redefine = __webpack_require__(18); var meta = __webpack_require__(22); var assign = __webpack_require__(68); - var weak = __webpack_require__(221); + var weak = __webpack_require__(222); var isObject = __webpack_require__(13); var fails = __webpack_require__(7); - var validate = __webpack_require__(217); - var WEAK_MAP = "WeakMap"; + var validate = __webpack_require__(218); + var WEAK_MAP = 'WeakMap'; var getWeak = meta.getWeak; var isExtensible = Object.isExtensible; var uncaughtFrozenStore = weak.ufstore; @@ -4804,7 +4838,7 @@ }; // 23.3 WeakMap Objects - var $WeakMap = (module.exports = __webpack_require__(218)( + var $WeakMap = (module.exports = __webpack_require__(219)( WEAK_MAP, wrapper, methods, @@ -4824,7 +4858,7 @@ InternalMap = weak.getConstructor(wrapper, WEAK_MAP); assign(InternalMap.prototype, methods); meta.NEED = true; - each(["delete", "has", "get", "set"], function(key) { + each(['delete', 'has', 'get', 'set'], function(key) { var proto = $WeakMap.prototype; var method = proto[key]; redefine(proto, key, function(a, b) { @@ -4832,7 +4866,7 @@ if (isObject(a) && !isExtensible(a)) { if (!this._f) this._f = new InternalMap(); var result = this._f[key](a, b); - return key == "set" ? this : result; + return key == 'set' ? this : result; // store all the rest on native weakmap } return method.call(this, a, b); @@ -4842,10 +4876,10 @@ /***/ }, - /* 221 */ + /* 222 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; - var redefineAll = __webpack_require__(214); + 'use strict'; + var redefineAll = __webpack_require__(215); var getWeak = __webpack_require__(22).getWeak; var anObject = __webpack_require__(12); var isObject = __webpack_require__(13); @@ -4853,7 +4887,7 @@ var forOf = __webpack_require__(207); var createArrayMethod = __webpack_require__(173); var $has = __webpack_require__(5); - var validate = __webpack_require__(217); + var validate = __webpack_require__(218); var arrayFind = createArrayMethod(5); var arrayFindIndex = createArrayMethod(6); var id = 0; @@ -4895,7 +4929,7 @@ module.exports = { getConstructor: function(wrapper, NAME, IS_MAP, ADDER) { var C = wrapper(function(that, iterable) { - anInstance(that, C, NAME, "_i"); + anInstance(that, C, NAME, '_i'); that._t = NAME; // collection type that._i = id++; // collection id that._l = undefined; // leak store for uncaught frozen objects @@ -4909,7 +4943,7 @@ if (!isObject(key)) return false; var data = getWeak(key); if (data === true) - return uncaughtFrozenStore(validate(this, NAME))["delete"](key); + return uncaughtFrozenStore(validate(this, NAME))['delete'](key); return data && $has(data, this._i) && delete data[this._i]; }, // 23.3.3.4 WeakMap.prototype.has(key) @@ -4935,15 +4969,15 @@ /***/ }, - /* 222 */ + /* 223 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; - var weak = __webpack_require__(221); - var validate = __webpack_require__(217); - var WEAK_SET = "WeakSet"; + 'use strict'; + var weak = __webpack_require__(222); + var validate = __webpack_require__(218); + var WEAK_SET = 'WeakSet'; // 23.4 WeakSet Objects - __webpack_require__(218)( + __webpack_require__(219)( WEAK_SET, function(get) { return function WeakSet() { @@ -4963,12 +4997,12 @@ /***/ }, - /* 223 */ + /* 224 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); - var $typed = __webpack_require__(224); - var buffer = __webpack_require__(225); + var $typed = __webpack_require__(225); + var buffer = __webpack_require__(226); var anObject = __webpack_require__(12); var toAbsoluteIndex = __webpack_require__(39); var toLength = __webpack_require__(37); @@ -4980,7 +5014,7 @@ var $isView = $typed.ABV && ArrayBuffer.isView; var $slice = $ArrayBuffer.prototype.slice; var VIEW = $typed.VIEW; - var ARRAY_BUFFER = "ArrayBuffer"; + var ARRAY_BUFFER = 'ArrayBuffer'; $export( $export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), @@ -5009,14 +5043,14 @@ return $slice.call(anObject(this), start); // FF fix var len = anObject(this).byteLength; var first = toAbsoluteIndex(start, len); - var final = toAbsoluteIndex(end === undefined ? len : end, len); + var fin = toAbsoluteIndex(end === undefined ? len : end, len); var result = new (speciesConstructor(this, $ArrayBuffer))( - toLength(final - first) + toLength(fin - first) ); var viewS = new $DataView(this); var viewT = new $DataView(result); var index = 0; - while (first < final) { + while (first < fin) { viewT.setUint8(index++, viewS.getUint8(first++)); } return result; @@ -5028,21 +5062,21 @@ /***/ }, - /* 224 */ + /* 225 */ /***/ function(module, exports, __webpack_require__) { var global = __webpack_require__(4); var hide = __webpack_require__(10); var uid = __webpack_require__(19); - var TYPED = uid("typed_array"); - var VIEW = uid("view"); + var TYPED = uid('typed_array'); + var VIEW = uid('view'); var ABV = !!(global.ArrayBuffer && global.DataView); var CONSTR = ABV; var i = 0; var l = 9; var Typed; - var TypedArrayConstructors = "Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split( - "," + var TypedArrayConstructors = 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'.split( + ',' ); while (i < l) { @@ -5061,29 +5095,29 @@ /***/ }, - /* 225 */ + /* 226 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var global = __webpack_require__(4); var DESCRIPTORS = __webpack_require__(6); - var LIBRARY = __webpack_require__(28); - var $typed = __webpack_require__(224); + var LIBRARY = __webpack_require__(24); + var $typed = __webpack_require__(225); var hide = __webpack_require__(10); - var redefineAll = __webpack_require__(214); + var redefineAll = __webpack_require__(215); var fails = __webpack_require__(7); var anInstance = __webpack_require__(206); var toInteger = __webpack_require__(38); var toLength = __webpack_require__(37); - var toIndex = __webpack_require__(226); + var toIndex = __webpack_require__(227); var gOPN = __webpack_require__(49).f; var dP = __webpack_require__(11).f; var arrayFill = __webpack_require__(189); - var setToStringTag = __webpack_require__(24); - var ARRAY_BUFFER = "ArrayBuffer"; - var DATA_VIEW = "DataView"; - var PROTOTYPE = "prototype"; - var WRONG_LENGTH = "Wrong length!"; - var WRONG_INDEX = "Wrong index!"; + var setToStringTag = __webpack_require__(25); + var ARRAY_BUFFER = 'ArrayBuffer'; + var DATA_VIEW = 'DataView'; + var PROTOTYPE = 'prototype'; + var WRONG_LENGTH = 'Wrong length!'; + var WRONG_INDEX = 'Wrong index!'; var $ArrayBuffer = global[ARRAY_BUFFER]; var $DataView = global[DATA_VIEW]; var Math = global.Math; @@ -5096,16 +5130,16 @@ var floor = Math.floor; var log = Math.log; var LN2 = Math.LN2; - var BUFFER = "buffer"; - var BYTE_LENGTH = "byteLength"; - var BYTE_OFFSET = "byteOffset"; - var $BUFFER = DESCRIPTORS ? "_b" : BUFFER; - var $LENGTH = DESCRIPTORS ? "_l" : BYTE_LENGTH; - var $OFFSET = DESCRIPTORS ? "_o" : BYTE_OFFSET; + var BUFFER = 'buffer'; + var BYTE_LENGTH = 'byteLength'; + var BYTE_OFFSET = 'byteOffset'; + var $BUFFER = DESCRIPTORS ? '_b' : BUFFER; + var $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH; + var $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET; // IEEE754 conversions based on https://github.com/feross/ieee754 function packIEEE754(value, mLen, nBytes) { - var buffer = Array(nBytes); + var buffer = new Array(nBytes); var eLen = nBytes * 8 - mLen - 1; var eMax = (1 << eLen) - 1; var eBias = eMax >> 1; @@ -5234,7 +5268,7 @@ $ArrayBuffer = function ArrayBuffer(length) { anInstance(this, $ArrayBuffer, ARRAY_BUFFER); var byteLength = toIndex(length); - this._b = arrayFill.call(Array(byteLength), 0); + this._b = arrayFill.call(new Array(byteLength), 0); this[$LENGTH] = byteLength; }; @@ -5244,7 +5278,7 @@ var bufferLength = buffer[$LENGTH]; var offset = toInteger(byteOffset); if (offset < 0 || offset > bufferLength) - throw RangeError("Wrong offset!"); + throw RangeError('Wrong offset!'); byteLength = byteLength === undefined ? bufferLength - offset @@ -5257,10 +5291,10 @@ }; if (DESCRIPTORS) { - addGetter($ArrayBuffer, BYTE_LENGTH, "_l"); - addGetter($DataView, BUFFER, "_b"); - addGetter($DataView, BYTE_LENGTH, "_l"); - addGetter($DataView, BYTE_OFFSET, "_o"); + addGetter($ArrayBuffer, BYTE_LENGTH, '_l'); + addGetter($DataView, BUFFER, '_b'); + addGetter($DataView, BYTE_LENGTH, '_l'); + addGetter($DataView, BYTE_OFFSET, '_o'); } redefineAll($DataView[PROTOTYPE], { @@ -5381,7 +5415,7 @@ /***/ }, - /* 226 */ + /* 227 */ /***/ function(module, exports, __webpack_require__) { // https://tc39.github.io/ecma262/#sec-toindex var toInteger = __webpack_require__(38); @@ -5390,27 +5424,27 @@ if (it === undefined) return 0; var number = toInteger(it); var length = toLength(number); - if (number !== length) throw RangeError("Wrong length!"); + if (number !== length) throw RangeError('Wrong length!'); return length; }; /***/ }, - /* 227 */ + /* 228 */ /***/ function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); $export( - $export.G + $export.W + $export.F * !__webpack_require__(224).ABV, + $export.G + $export.W + $export.F * !__webpack_require__(225).ABV, { - DataView: __webpack_require__(225).DataView + DataView: __webpack_require__(226).DataView } ); /***/ }, - /* 228 */ + /* 229 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(229)("Int8", 1, function(init) { + __webpack_require__(230)('Int8', 1, function(init) { return function Int8Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; @@ -5418,24 +5452,24 @@ /***/ }, - /* 229 */ + /* 230 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; if (__webpack_require__(6)) { - var LIBRARY = __webpack_require__(28); + var LIBRARY = __webpack_require__(24); var global = __webpack_require__(4); var fails = __webpack_require__(7); var $export = __webpack_require__(8); - var $typed = __webpack_require__(224); - var $buffer = __webpack_require__(225); + var $typed = __webpack_require__(225); + var $buffer = __webpack_require__(226); var ctx = __webpack_require__(20); var anInstance = __webpack_require__(206); var propertyDesc = __webpack_require__(17); var hide = __webpack_require__(10); - var redefineAll = __webpack_require__(214); + var redefineAll = __webpack_require__(215); var toInteger = __webpack_require__(38); var toLength = __webpack_require__(37); - var toIndex = __webpack_require__(226); + var toIndex = __webpack_require__(227); var toAbsoluteIndex = __webpack_require__(39); var toPrimitive = __webpack_require__(16); var has = __webpack_require__(5); @@ -5448,7 +5482,7 @@ var gOPN = __webpack_require__(49).f; var getIterFn = __webpack_require__(165); var uid = __webpack_require__(19); - var wks = __webpack_require__(25); + var wks = __webpack_require__(26); var createArrayMethod = __webpack_require__(173); var createArrayIncludes = __webpack_require__(36); var speciesConstructor = __webpack_require__(208); @@ -5465,10 +5499,10 @@ var RangeError = global.RangeError; var TypeError = global.TypeError; var Uint8Array = global.Uint8Array; - var ARRAY_BUFFER = "ArrayBuffer"; - var SHARED_BUFFER = "Shared" + ARRAY_BUFFER; - var BYTES_PER_ELEMENT = "BYTES_PER_ELEMENT"; - var PROTOTYPE = "prototype"; + var ARRAY_BUFFER = 'ArrayBuffer'; + var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER; + var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; + var PROTOTYPE = 'prototype'; var ArrayProto = Array[PROTOTYPE]; var $ArrayBuffer = $buffer.ArrayBuffer; var $DataView = $buffer.DataView; @@ -5491,14 +5525,14 @@ var arraySlice = ArrayProto.slice; var arrayToString = ArrayProto.toString; var arrayToLocaleString = ArrayProto.toLocaleString; - var ITERATOR = wks("iterator"); - var TAG = wks("toStringTag"); - var TYPED_CONSTRUCTOR = uid("typed_constructor"); - var DEF_CONSTRUCTOR = uid("def_constructor"); + var ITERATOR = wks('iterator'); + var TAG = wks('toStringTag'); + var TYPED_CONSTRUCTOR = uid('typed_constructor'); + var DEF_CONSTRUCTOR = uid('def_constructor'); var ALL_CONSTRUCTORS = $typed.CONSTR; var TYPED_ARRAY = $typed.TYPED; var VIEW = $typed.VIEW; - var WRONG_LENGTH = "Wrong length!"; + var WRONG_LENGTH = 'Wrong length!'; var $map = createArrayMethod(1, function(O, length) { return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length); @@ -5518,18 +5552,18 @@ var toOffset = function(it, BYTES) { var offset = toInteger(it); - if (offset < 0 || offset % BYTES) throw RangeError("Wrong offset!"); + if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!'); return offset; }; var validate = function(it) { if (isObject(it) && TYPED_ARRAY in it) return it; - throw TypeError(it + " is not a typed array!"); + throw TypeError(it + ' is not a typed array!'); }; var allocate = function(C, length) { if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) { - throw TypeError("It is not a typed array constructor!"); + throw TypeError('It is not a typed array constructor!'); } return new C(length); }; @@ -5764,7 +5798,7 @@ return ( isObject(target) && target[TYPED_ARRAY] && - typeof key != "symbol" && + typeof key != 'symbol' && key in target && String(+key) == String(key) ); @@ -5778,13 +5812,13 @@ if ( isTAIndex(target, (key = toPrimitive(key, true))) && isObject(desc) && - has(desc, "value") && - !has(desc, "get") && - !has(desc, "set") && + has(desc, 'value') && + !has(desc, 'get') && + !has(desc, 'set') && // TODO: add validation descriptor w/o calling accessors !desc.configurable && - (!has(desc, "writable") || desc.writable) && - (!has(desc, "enumerable") || desc.enumerable) + (!has(desc, 'writable') || desc.writable) && + (!has(desc, 'enumerable') || desc.enumerable) ) { target[key] = desc.value; return target; @@ -5797,7 +5831,7 @@ $DP.f = $setDesc; } - $export($export.S + $export.F * !ALL_CONSTRUCTORS, "Object", { + $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', { getOwnPropertyDescriptor: $getDesc, defineProperty: $setDesc }); @@ -5824,10 +5858,10 @@ toString: arrayToString, toLocaleString: $toLocaleString }); - addGetter($TypedArrayPrototype$, "buffer", "b"); - addGetter($TypedArrayPrototype$, "byteOffset", "o"); - addGetter($TypedArrayPrototype$, "byteLength", "l"); - addGetter($TypedArrayPrototype$, "length", "e"); + addGetter($TypedArrayPrototype$, 'buffer', 'b'); + addGetter($TypedArrayPrototype$, 'byteOffset', 'o'); + addGetter($TypedArrayPrototype$, 'byteLength', 'l'); + addGetter($TypedArrayPrototype$, 'length', 'e'); dP($TypedArrayPrototype$, TAG, { get: function() { return this[TYPED_ARRAY]; @@ -5837,9 +5871,9 @@ // eslint-disable-next-line max-statements module.exports = function(KEY, BYTES, wrapper, CLAMPED) { CLAMPED = !!CLAMPED; - var NAME = KEY + (CLAMPED ? "Clamped" : "") + "Array"; - var GETTER = "get" + KEY; - var SETTER = "set" + KEY; + var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array'; + var GETTER = 'get' + KEY; + var SETTER = 'set' + KEY; var TypedArray = global[NAME]; var Base = TypedArray || {}; var TAC = TypedArray && getPrototypeOf(TypedArray); @@ -5856,7 +5890,9 @@ value = (value = Math.round(value)) < 0 ? 0 - : value > 0xff ? 0xff : value & 0xff; + : value > 0xff + ? 0xff + : value & 0xff; data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN); }; var addElement = function(that, index) { @@ -5872,7 +5908,7 @@ }; if (FORCED) { TypedArray = wrapper(function(that, data, $offset, $length) { - anInstance(that, TypedArray, NAME, "_d"); + anInstance(that, TypedArray, NAME, '_d'); var index = 0; var offset = 0; var buffer, byteLength, length, klass; @@ -5903,7 +5939,7 @@ } else { return $from.call(TypedArray, data); } - hide(that, "_d", { + hide(that, '_d', { b: buffer, o: offset, l: byteLength, @@ -5915,7 +5951,7 @@ TypedArrayPrototype = TypedArray[PROTOTYPE] = create( $TypedArrayPrototype$ ); - hide(TypedArrayPrototype, "constructor", TypedArray); + hide(TypedArrayPrototype, 'constructor', TypedArray); } else if ( !fails(function() { TypedArray(1); @@ -5964,7 +6000,7 @@ var $nativeIterator = TypedArrayPrototype[ITERATOR]; var CORRECT_ITER_NAME = !!$nativeIterator && - ($nativeIterator.name == "values" || + ($nativeIterator.name == 'values' || $nativeIterator.name == undefined); var $iterator = $iterators.values; hide(TypedArray, TYPED_CONSTRUCTOR, true); @@ -6056,9 +6092,9 @@ /***/ }, - /* 230 */ + /* 231 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(229)("Uint8", 1, function(init) { + __webpack_require__(230)('Uint8', 1, function(init) { return function Uint8Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; @@ -6066,10 +6102,10 @@ /***/ }, - /* 231 */ + /* 232 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(229)( - "Uint8", + __webpack_require__(230)( + 'Uint8', 1, function(init) { return function Uint8ClampedArray(data, byteOffset, length) { @@ -6081,9 +6117,9 @@ /***/ }, - /* 232 */ + /* 233 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(229)("Int16", 2, function(init) { + __webpack_require__(230)('Int16', 2, function(init) { return function Int16Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; @@ -6091,9 +6127,9 @@ /***/ }, - /* 233 */ + /* 234 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(229)("Uint16", 2, function(init) { + __webpack_require__(230)('Uint16', 2, function(init) { return function Uint16Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; @@ -6101,9 +6137,9 @@ /***/ }, - /* 234 */ + /* 235 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(229)("Int32", 4, function(init) { + __webpack_require__(230)('Int32', 4, function(init) { return function Int32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; @@ -6111,9 +6147,9 @@ /***/ }, - /* 235 */ + /* 236 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(229)("Uint32", 4, function(init) { + __webpack_require__(230)('Uint32', 4, function(init) { return function Uint32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; @@ -6121,9 +6157,9 @@ /***/ }, - /* 236 */ + /* 237 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(229)("Float32", 4, function(init) { + __webpack_require__(230)('Float32', 4, function(init) { return function Float32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; @@ -6131,9 +6167,9 @@ /***/ }, - /* 237 */ + /* 238 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(229)("Float64", 8, function(init) { + __webpack_require__(230)('Float64', 8, function(init) { return function Float64Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; @@ -6141,7 +6177,7 @@ /***/ }, - /* 238 */ + /* 239 */ /***/ function(module, exports, __webpack_require__) { // 26.1.1 Reflect.apply(target, thisArgument, argumentsList) var $export = __webpack_require__(8); @@ -6158,7 +6194,7 @@ /* empty */ }); }), - "Reflect", + 'Reflect', { apply: function apply(target, thisArgument, argumentsList) { var T = aFunction(target); @@ -6172,7 +6208,7 @@ /***/ }, - /* 239 */ + /* 240 */ /***/ function(module, exports, __webpack_require__) { // 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) var $export = __webpack_require__(8); @@ -6206,7 +6242,7 @@ }); }); - $export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), "Reflect", { + $export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { construct: function construct(Target, args /* , newTarget */) { aFunction(Target); anObject(args); @@ -6243,7 +6279,7 @@ /***/ }, - /* 240 */ + /* 241 */ /***/ function(module, exports, __webpack_require__) { // 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) var dP = __webpack_require__(11); @@ -6261,7 +6297,7 @@ value: 2 }); }), - "Reflect", + 'Reflect', { defineProperty: function defineProperty( target, @@ -6283,14 +6319,14 @@ /***/ }, - /* 241 */ + /* 242 */ /***/ function(module, exports, __webpack_require__) { // 26.1.4 Reflect.deleteProperty(target, propertyKey) var $export = __webpack_require__(8); var gOPD = __webpack_require__(50).f; var anObject = __webpack_require__(12); - $export($export.S, "Reflect", { + $export($export.S, 'Reflect', { deleteProperty: function deleteProperty(target, propertyKey) { var desc = gOPD(anObject(target), propertyKey); return desc && !desc.configurable @@ -6301,9 +6337,9 @@ /***/ }, - /* 242 */ + /* 243 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // 26.1.5 Reflect.enumerate(target) var $export = __webpack_require__(8); var anObject = __webpack_require__(12); @@ -6314,7 +6350,7 @@ var key; for (key in iterated) keys.push(key); }; - __webpack_require__(130)(Enumerate, "Object", function() { + __webpack_require__(130)(Enumerate, 'Object', function() { var that = this; var keys = that._k; var key; @@ -6324,7 +6360,7 @@ return { value: key, done: false }; }); - $export($export.S, "Reflect", { + $export($export.S, 'Reflect', { enumerate: function enumerate(target) { return new Enumerate(target); } @@ -6332,7 +6368,7 @@ /***/ }, - /* 243 */ + /* 244 */ /***/ function(module, exports, __webpack_require__) { // 26.1.6 Reflect.get(target, propertyKey [, receiver]) var gOPD = __webpack_require__(50); @@ -6347,25 +6383,27 @@ var desc, proto; if (anObject(target) === receiver) return target[propertyKey]; if ((desc = gOPD.f(target, propertyKey))) - return has(desc, "value") + return has(desc, 'value') ? desc.value - : desc.get !== undefined ? desc.get.call(receiver) : undefined; + : desc.get !== undefined + ? desc.get.call(receiver) + : undefined; if (isObject((proto = getPrototypeOf(target)))) return get(proto, propertyKey, receiver); } - $export($export.S, "Reflect", { get: get }); + $export($export.S, 'Reflect', { get: get }); /***/ }, - /* 244 */ + /* 245 */ /***/ function(module, exports, __webpack_require__) { // 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) var gOPD = __webpack_require__(50); var $export = __webpack_require__(8); var anObject = __webpack_require__(12); - $export($export.S, "Reflect", { + $export($export.S, 'Reflect', { getOwnPropertyDescriptor: function getOwnPropertyDescriptor( target, propertyKey @@ -6376,14 +6414,14 @@ /***/ }, - /* 245 */ + /* 246 */ /***/ function(module, exports, __webpack_require__) { // 26.1.8 Reflect.getPrototypeOf(target) var $export = __webpack_require__(8); var getProto = __webpack_require__(58); var anObject = __webpack_require__(12); - $export($export.S, "Reflect", { + $export($export.S, 'Reflect', { getPrototypeOf: function getPrototypeOf(target) { return getProto(anObject(target)); } @@ -6391,12 +6429,12 @@ /***/ }, - /* 246 */ + /* 247 */ /***/ function(module, exports, __webpack_require__) { // 26.1.9 Reflect.has(target, propertyKey) var $export = __webpack_require__(8); - $export($export.S, "Reflect", { + $export($export.S, 'Reflect', { has: function has(target, propertyKey) { return propertyKey in target; } @@ -6404,14 +6442,14 @@ /***/ }, - /* 247 */ + /* 248 */ /***/ function(module, exports, __webpack_require__) { // 26.1.10 Reflect.isExtensible(target) var $export = __webpack_require__(8); var anObject = __webpack_require__(12); var $isExtensible = Object.isExtensible; - $export($export.S, "Reflect", { + $export($export.S, 'Reflect', { isExtensible: function isExtensible(target) { anObject(target); return $isExtensible ? $isExtensible(target) : true; @@ -6420,16 +6458,16 @@ /***/ }, - /* 248 */ + /* 249 */ /***/ function(module, exports, __webpack_require__) { // 26.1.11 Reflect.ownKeys(target) var $export = __webpack_require__(8); - $export($export.S, "Reflect", { ownKeys: __webpack_require__(249) }); + $export($export.S, 'Reflect', { ownKeys: __webpack_require__(250) }); /***/ }, - /* 249 */ + /* 250 */ /***/ function(module, exports, __webpack_require__) { // all object keys, includes non-enumerable and symbols var gOPN = __webpack_require__(49); @@ -6446,14 +6484,14 @@ /***/ }, - /* 250 */ + /* 251 */ /***/ function(module, exports, __webpack_require__) { // 26.1.12 Reflect.preventExtensions(target) var $export = __webpack_require__(8); var anObject = __webpack_require__(12); var $preventExtensions = Object.preventExtensions; - $export($export.S, "Reflect", { + $export($export.S, 'Reflect', { preventExtensions: function preventExtensions(target) { anObject(target); try { @@ -6467,7 +6505,7 @@ /***/ }, - /* 251 */ + /* 252 */ /***/ function(module, exports, __webpack_require__) { // 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) var dP = __webpack_require__(11); @@ -6489,11 +6527,18 @@ } ownDesc = createDesc(0); } - if (has(ownDesc, "value")) { + if (has(ownDesc, 'value')) { if (ownDesc.writable === false || !isObject(receiver)) return false; - existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0); - existingDescriptor.value = V; - dP.f(receiver, propertyKey, existingDescriptor); + if ((existingDescriptor = gOPD.f(receiver, propertyKey))) { + if ( + existingDescriptor.get || + existingDescriptor.set || + existingDescriptor.writable === false + ) + return false; + existingDescriptor.value = V; + dP.f(receiver, propertyKey, existingDescriptor); + } else dP.f(receiver, propertyKey, createDesc(0, V)); return true; } return ownDesc.set === undefined @@ -6501,18 +6546,18 @@ : (ownDesc.set.call(receiver, V), true); } - $export($export.S, "Reflect", { set: set }); + $export($export.S, 'Reflect', { set: set }); /***/ }, - /* 252 */ + /* 253 */ /***/ function(module, exports, __webpack_require__) { // 26.1.14 Reflect.setPrototypeOf(target, proto) var $export = __webpack_require__(8); var setProto = __webpack_require__(72); if (setProto) - $export($export.S, "Reflect", { + $export($export.S, 'Reflect', { setPrototypeOf: function setPrototypeOf(target, proto) { setProto.check(target, proto); try { @@ -6526,14 +6571,14 @@ /***/ }, - /* 253 */ + /* 254 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // https://github.com/tc39/Array.prototype.includes var $export = __webpack_require__(8); var $includes = __webpack_require__(36)(true); - $export($export.P, "Array", { + $export($export.P, 'Array', { includes: function includes(el /* , fromIndex = 0 */) { return $includes( this, @@ -6543,22 +6588,22 @@ } }); - __webpack_require__(187)("includes"); + __webpack_require__(187)('includes'); /***/ }, - /* 254 */ + /* 255 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap var $export = __webpack_require__(8); - var flattenIntoArray = __webpack_require__(255); + var flattenIntoArray = __webpack_require__(256); var toObject = __webpack_require__(57); var toLength = __webpack_require__(37); var aFunction = __webpack_require__(21); var arraySpeciesCreate = __webpack_require__(174); - $export($export.P, "Array", { + $export($export.P, 'Array', { flatMap: function flatMap(callbackfn /* , thisArg */) { var O = toObject(this); var sourceLen, A; @@ -6570,19 +6615,19 @@ } }); - __webpack_require__(187)("flatMap"); + __webpack_require__(187)('flatMap'); /***/ }, - /* 255 */ + /* 256 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray var isArray = __webpack_require__(44); var isObject = __webpack_require__(13); var toLength = __webpack_require__(37); var ctx = __webpack_require__(20); - var IS_CONCAT_SPREADABLE = __webpack_require__(25)("isConcatSpreadable"); + var IS_CONCAT_SPREADABLE = __webpack_require__(26)('isConcatSpreadable'); function flattenIntoArray( target, @@ -6638,18 +6683,18 @@ /***/ }, - /* 256 */ + /* 257 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatten var $export = __webpack_require__(8); - var flattenIntoArray = __webpack_require__(255); + var flattenIntoArray = __webpack_require__(256); var toObject = __webpack_require__(57); var toLength = __webpack_require__(37); var toInteger = __webpack_require__(38); var arraySpeciesCreate = __webpack_require__(174); - $export($export.P, "Array", { + $export($export.P, 'Array', { flatten: function flatten(/* depthArg = 1 */) { var depthArg = arguments[0]; var O = toObject(this); @@ -6667,18 +6712,18 @@ } }); - __webpack_require__(187)("flatten"); + __webpack_require__(187)('flatten'); /***/ }, - /* 257 */ + /* 258 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // https://github.com/mathiasbynens/String.prototype.at var $export = __webpack_require__(8); var $at = __webpack_require__(127)(true); - $export($export.P, "String", { + $export($export.P, 'String', { at: function at(pos) { return $at(this, pos); } @@ -6686,27 +6731,34 @@ /***/ }, - /* 258 */ + /* 259 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // https://github.com/tc39/proposal-string-pad-start-end var $export = __webpack_require__(8); - var $pad = __webpack_require__(259); + var $pad = __webpack_require__(260); + var userAgent = __webpack_require__(213); - $export($export.P, "String", { - padStart: function padStart(maxLength /* , fillString = ' ' */) { - return $pad( - this, - maxLength, - arguments.length > 1 ? arguments[1] : undefined, - true - ); + // https://github.com/zloirock/core-js/issues/280 + $export( + $export.P + + $export.F * /Version\/10\.\d+(\.\d+)? Safari\//.test(userAgent), + 'String', + { + padStart: function padStart(maxLength /* , fillString = ' ' */) { + return $pad( + this, + maxLength, + arguments.length > 1 ? arguments[1] : undefined, + true + ); + } } - }); + ); /***/ }, - /* 259 */ + /* 260 */ /***/ function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-string-pad-start-end var toLength = __webpack_require__(37); @@ -6716,9 +6768,9 @@ module.exports = function(that, maxLength, fillString, left) { var S = String(defined(that)); var stringLength = S.length; - var fillStr = fillString === undefined ? " " : String(fillString); + var fillStr = fillString === undefined ? ' ' : String(fillString); var intMaxLength = toLength(maxLength); - if (intMaxLength <= stringLength || fillStr == "") return S; + if (intMaxLength <= stringLength || fillStr == '') return S; var fillLen = intMaxLength - stringLength; var stringFiller = repeat.call( fillStr, @@ -6731,61 +6783,68 @@ /***/ }, - /* 260 */ + /* 261 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // https://github.com/tc39/proposal-string-pad-start-end var $export = __webpack_require__(8); - var $pad = __webpack_require__(259); + var $pad = __webpack_require__(260); + var userAgent = __webpack_require__(213); - $export($export.P, "String", { - padEnd: function padEnd(maxLength /* , fillString = ' ' */) { - return $pad( - this, - maxLength, - arguments.length > 1 ? arguments[1] : undefined, - false - ); + // https://github.com/zloirock/core-js/issues/280 + $export( + $export.P + + $export.F * /Version\/10\.\d+(\.\d+)? Safari\//.test(userAgent), + 'String', + { + padEnd: function padEnd(maxLength /* , fillString = ' ' */) { + return $pad( + this, + maxLength, + arguments.length > 1 ? arguments[1] : undefined, + false + ); + } } - }); + ); /***/ }, - /* 261 */ + /* 262 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // https://github.com/sebmarkbage/ecmascript-string-left-right-trim __webpack_require__(82)( - "trimLeft", + 'trimLeft', function($trim) { return function trimLeft() { return $trim(this, 1); }; }, - "trimStart" + 'trimStart' ); /***/ }, - /* 262 */ + /* 263 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // https://github.com/sebmarkbage/ecmascript-string-left-right-trim __webpack_require__(82)( - "trimRight", + 'trimRight', function($trim) { return function trimRight() { return $trim(this, 2); }; }, - "trimEnd" + 'trimEnd' ); /***/ }, - /* 263 */ + /* 264 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // https://tc39.github.io/String.prototype.matchAll/ var $export = __webpack_require__(8); var defined = __webpack_require__(35); @@ -6801,25 +6860,25 @@ __webpack_require__(130)( $RegExpStringIterator, - "RegExp String", + 'RegExp String', function next() { var match = this._r.exec(this._s); return { value: match, done: match === null }; } ); - $export($export.P, "String", { + $export($export.P, 'String', { matchAll: function matchAll(regexp) { defined(this); - if (!isRegExp(regexp)) throw TypeError(regexp + " is not a regexp!"); + if (!isRegExp(regexp)) throw TypeError(regexp + ' is not a regexp!'); var S = String(this); var flags = - "flags" in RegExpProto + 'flags' in RegExpProto ? String(regexp.flags) : getFlags.call(regexp); var rx = new RegExp( regexp.source, - ~flags.indexOf("g") ? flags : "g" + flags + ~flags.indexOf('g') ? flags : 'g' + flags ); rx.lastIndex = toLength(regexp.lastIndex); return new $RegExpStringIterator(rx, S); @@ -6828,20 +6887,20 @@ /***/ }, - /* 264 */ - [882, 27], /* 265 */ - [883, 27], + [847, 28], /* 266 */ + [848, 28], + /* 267 */ /***/ function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-object-getownpropertydescriptors var $export = __webpack_require__(8); - var ownKeys = __webpack_require__(249); + var ownKeys = __webpack_require__(250); var toIObject = __webpack_require__(32); var gOPD = __webpack_require__(50); var createProperty = __webpack_require__(164); - $export($export.S, "Object", { + $export($export.S, 'Object', { getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { var O = toIObject(object); var getDesc = gOPD.f; @@ -6859,13 +6918,13 @@ /***/ }, - /* 267 */ + /* 268 */ /***/ function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-object-values-entries var $export = __webpack_require__(8); - var $values = __webpack_require__(268)(false); + var $values = __webpack_require__(269)(false); - $export($export.S, "Object", { + $export($export.S, 'Object', { values: function values(it) { return $values(it); } @@ -6873,7 +6932,7 @@ /***/ }, - /* 268 */ + /* 269 */ /***/ function(module, exports, __webpack_require__) { var getKeys = __webpack_require__(30); var toIObject = __webpack_require__(32); @@ -6896,13 +6955,13 @@ /***/ }, - /* 269 */ + /* 270 */ /***/ function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-object-values-entries var $export = __webpack_require__(8); - var $entries = __webpack_require__(268)(true); + var $entries = __webpack_require__(269)(true); - $export($export.S, "Object", { + $export($export.S, 'Object', { entries: function entries(it) { return $entries(it); } @@ -6910,9 +6969,9 @@ /***/ }, - /* 270 */ + /* 271 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var toObject = __webpack_require__(57); var aFunction = __webpack_require__(21); @@ -6920,7 +6979,7 @@ // B.2.2.2 Object.prototype.__defineGetter__(P, getter) __webpack_require__(6) && - $export($export.P + __webpack_require__(271), "Object", { + $export($export.P + __webpack_require__(272), 'Object', { __defineGetter__: function __defineGetter__(P, getter) { $defineProperty.f(toObject(this), P, { get: aFunction(getter), @@ -6932,12 +6991,12 @@ /***/ }, - /* 271 */ + /* 272 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // Forced replacement prototype accessors methods module.exports = - __webpack_require__(28) || + __webpack_require__(24) || !__webpack_require__(7)(function() { var K = Math.random(); // In FF throws only define methods @@ -6950,9 +7009,9 @@ /***/ }, - /* 272 */ + /* 273 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var toObject = __webpack_require__(57); var aFunction = __webpack_require__(21); @@ -6960,7 +7019,7 @@ // B.2.2.3 Object.prototype.__defineSetter__(P, setter) __webpack_require__(6) && - $export($export.P + __webpack_require__(271), "Object", { + $export($export.P + __webpack_require__(272), 'Object', { __defineSetter__: function __defineSetter__(P, setter) { $defineProperty.f(toObject(this), P, { set: aFunction(setter), @@ -6972,9 +7031,9 @@ /***/ }, - /* 273 */ + /* 274 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var toObject = __webpack_require__(57); var toPrimitive = __webpack_require__(16); @@ -6983,7 +7042,7 @@ // B.2.2.4 Object.prototype.__lookupGetter__(P) __webpack_require__(6) && - $export($export.P + __webpack_require__(271), "Object", { + $export($export.P + __webpack_require__(272), 'Object', { __lookupGetter__: function __lookupGetter__(P) { var O = toObject(this); var K = toPrimitive(P, true); @@ -6996,9 +7055,9 @@ /***/ }, - /* 274 */ + /* 275 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var toObject = __webpack_require__(57); var toPrimitive = __webpack_require__(16); @@ -7007,7 +7066,7 @@ // B.2.2.5 Object.prototype.__lookupSetter__(P) __webpack_require__(6) && - $export($export.P + __webpack_require__(271), "Object", { + $export($export.P + __webpack_require__(272), 'Object', { __lookupSetter__: function __lookupSetter__(P) { var O = toObject(this); var K = toPrimitive(P, true); @@ -7020,22 +7079,22 @@ /***/ }, - /* 275 */ + /* 276 */ /***/ function(module, exports, __webpack_require__) { // https://github.com/DavidBruant/Map-Set.prototype.toJSON var $export = __webpack_require__(8); - $export($export.P + $export.R, "Map", { - toJSON: __webpack_require__(276)("Map") + $export($export.P + $export.R, 'Map', { + toJSON: __webpack_require__(277)('Map') }); /***/ }, - /* 276 */ + /* 277 */ /***/ function(module, exports, __webpack_require__) { // https://github.com/DavidBruant/Map-Set.prototype.toJSON var classof = __webpack_require__(74); - var from = __webpack_require__(277); + var from = __webpack_require__(278); module.exports = function(NAME) { return function toJSON() { if (classof(this) != NAME) @@ -7046,7 +7105,7 @@ /***/ }, - /* 277 */ + /* 278 */ /***/ function(module, exports, __webpack_require__) { var forOf = __webpack_require__(207); @@ -7058,27 +7117,27 @@ /***/ }, - /* 278 */ + /* 279 */ /***/ function(module, exports, __webpack_require__) { // https://github.com/DavidBruant/Map-Set.prototype.toJSON var $export = __webpack_require__(8); - $export($export.P + $export.R, "Set", { - toJSON: __webpack_require__(276)("Set") + $export($export.P + $export.R, 'Set', { + toJSON: __webpack_require__(277)('Set') }); /***/ }, - /* 279 */ + /* 280 */ /***/ function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-map.of - __webpack_require__(280)("Map"); + __webpack_require__(281)('Map'); /***/ }, - /* 280 */ + /* 281 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // https://tc39.github.io/proposal-setmap-offrom/ var $export = __webpack_require__(8); @@ -7086,7 +7145,7 @@ $export($export.S, COLLECTION, { of: function of() { var length = arguments.length; - var A = Array(length); + var A = new Array(length); while (length--) A[length] = arguments[length]; return new this(A); } @@ -7095,37 +7154,37 @@ /***/ }, - /* 281 */ + /* 282 */ /***/ function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-set.of - __webpack_require__(280)("Set"); + __webpack_require__(281)('Set'); /***/ }, - /* 282 */ + /* 283 */ /***/ function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of - __webpack_require__(280)("WeakMap"); + __webpack_require__(281)('WeakMap'); /***/ }, - /* 283 */ + /* 284 */ /***/ function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of - __webpack_require__(280)("WeakSet"); + __webpack_require__(281)('WeakSet'); /***/ }, - /* 284 */ + /* 285 */ /***/ function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-map.from - __webpack_require__(285)("Map"); + __webpack_require__(286)('Map'); /***/ }, - /* 285 */ + /* 286 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // https://tc39.github.io/proposal-setmap-offrom/ var $export = __webpack_require__(8); var aFunction = __webpack_require__(21); @@ -7158,28 +7217,28 @@ /***/ }, - /* 286 */ + /* 287 */ /***/ function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-set.from - __webpack_require__(285)("Set"); + __webpack_require__(286)('Set'); /***/ }, - /* 287 */ + /* 288 */ /***/ function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from - __webpack_require__(285)("WeakMap"); + __webpack_require__(286)('WeakMap'); /***/ }, - /* 288 */ + /* 289 */ /***/ function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from - __webpack_require__(285)("WeakSet"); + __webpack_require__(286)('WeakSet'); /***/ }, - /* 289 */ + /* 290 */ /***/ function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-global var $export = __webpack_require__(8); @@ -7188,35 +7247,35 @@ /***/ }, - /* 290 */ + /* 291 */ /***/ function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-global var $export = __webpack_require__(8); - $export($export.S, "System", { global: __webpack_require__(4) }); + $export($export.S, 'System', { global: __webpack_require__(4) }); /***/ }, - /* 291 */ + /* 292 */ /***/ function(module, exports, __webpack_require__) { // https://github.com/ljharb/proposal-is-error var $export = __webpack_require__(8); var cof = __webpack_require__(34); - $export($export.S, "Error", { + $export($export.S, 'Error', { isError: function isError(it) { - return cof(it) === "Error"; + return cof(it) === 'Error'; } }); /***/ }, - /* 292 */ + /* 293 */ /***/ function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = __webpack_require__(8); - $export($export.S, "Math", { + $export($export.S, 'Math', { clamp: function clamp(x, lower, upper) { return Math.min(upper, Math.max(lower, x)); } @@ -7224,22 +7283,22 @@ /***/ }, - /* 293 */ + /* 294 */ /***/ function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = __webpack_require__(8); - $export($export.S, "Math", { DEG_PER_RAD: Math.PI / 180 }); + $export($export.S, 'Math', { DEG_PER_RAD: Math.PI / 180 }); /***/ }, - /* 294 */ + /* 295 */ /***/ function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = __webpack_require__(8); var RAD_PER_DEG = 180 / Math.PI; - $export($export.S, "Math", { + $export($export.S, 'Math', { degrees: function degrees(radians) { return radians * RAD_PER_DEG; } @@ -7247,14 +7306,14 @@ /***/ }, - /* 295 */ + /* 296 */ /***/ function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = __webpack_require__(8); - var scale = __webpack_require__(296); + var scale = __webpack_require__(297); var fround = __webpack_require__(113); - $export($export.S, "Math", { + $export($export.S, 'Math', { fscale: function fscale(x, inLow, inHigh, outLow, outHigh) { return fround(scale(x, inLow, inHigh, outLow, outHigh)); } @@ -7262,7 +7321,7 @@ /***/ }, - /* 296 */ + /* 297 */ /***/ function(module, exports) { // https://rwaldron.github.io/proposal-math-extensions/ module.exports = @@ -7283,17 +7342,17 @@ ) return NaN; if (x === Infinity || x === -Infinity) return x; - return (x - inLow) * (outHigh - outLow) / (inHigh - inLow) + outLow; + return ((x - inLow) * (outHigh - outLow)) / (inHigh - inLow) + outLow; }; /***/ }, - /* 297 */ + /* 298 */ /***/ function(module, exports, __webpack_require__) { // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 var $export = __webpack_require__(8); - $export($export.S, "Math", { + $export($export.S, 'Math', { iaddh: function iaddh(x0, x1, y0, y1) { var $x0 = x0 >>> 0; var $x1 = x1 >>> 0; @@ -7309,12 +7368,12 @@ /***/ }, - /* 298 */ + /* 299 */ /***/ function(module, exports, __webpack_require__) { // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 var $export = __webpack_require__(8); - $export($export.S, "Math", { + $export($export.S, 'Math', { isubh: function isubh(x0, x1, y0, y1) { var $x0 = x0 >>> 0; var $x1 = x1 >>> 0; @@ -7330,12 +7389,12 @@ /***/ }, - /* 299 */ + /* 300 */ /***/ function(module, exports, __webpack_require__) { // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 var $export = __webpack_require__(8); - $export($export.S, "Math", { + $export($export.S, 'Math', { imulh: function imulh(u, v) { var UINT16 = 0xffff; var $u = +u; @@ -7353,22 +7412,22 @@ /***/ }, - /* 300 */ + /* 301 */ /***/ function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = __webpack_require__(8); - $export($export.S, "Math", { RAD_PER_DEG: 180 / Math.PI }); + $export($export.S, 'Math', { RAD_PER_DEG: 180 / Math.PI }); /***/ }, - /* 301 */ + /* 302 */ /***/ function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = __webpack_require__(8); var DEG_PER_RAD = Math.PI / 180; - $export($export.S, "Math", { + $export($export.S, 'Math', { radians: function radians(degrees) { return degrees * DEG_PER_RAD; } @@ -7376,21 +7435,21 @@ /***/ }, - /* 302 */ + /* 303 */ /***/ function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = __webpack_require__(8); - $export($export.S, "Math", { scale: __webpack_require__(296) }); + $export($export.S, 'Math', { scale: __webpack_require__(297) }); /***/ }, - /* 303 */ + /* 304 */ /***/ function(module, exports, __webpack_require__) { // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 var $export = __webpack_require__(8); - $export($export.S, "Math", { + $export($export.S, 'Math', { umulh: function umulh(u, v) { var UINT16 = 0xffff; var $u = +u; @@ -7408,12 +7467,12 @@ /***/ }, - /* 304 */ + /* 305 */ /***/ function(module, exports, __webpack_require__) { // http://jfbastien.github.io/papers/Math.signbit.html var $export = __webpack_require__(8); - $export($export.S, "Math", { + $export($export.S, 'Math', { signbit: function signbit(x) { // eslint-disable-next-line no-self-compare return (x = +x) != x ? x : x == 0 ? 1 / x == Infinity : x > 0; @@ -7422,20 +7481,20 @@ /***/ }, - /* 305 */ + /* 306 */ /***/ function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-promise-finally - "use strict"; + 'use strict'; var $export = __webpack_require__(8); var core = __webpack_require__(9); var global = __webpack_require__(4); var speciesConstructor = __webpack_require__(208); - var promiseResolve = __webpack_require__(213); + var promiseResolve = __webpack_require__(214); - $export($export.P + $export.R, "Promise", { + $export($export.P + $export.R, 'Promise', { finally: function(onFinally) { var C = speciesConstructor(this, core.Promise || global.Promise); - var isFunction = typeof onFinally == "function"; + var isFunction = typeof onFinally == 'function'; return this.then( isFunction ? function(x) { @@ -7457,15 +7516,15 @@ /***/ }, - /* 306 */ + /* 307 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // https://github.com/tc39/proposal-promise-try var $export = __webpack_require__(8); var newPromiseCapability = __webpack_require__(211); var perform = __webpack_require__(212); - $export($export.S, "Promise", { + $export($export.S, 'Promise', { try: function(callbackfn) { var promiseCapability = newPromiseCapability.f(this); var result = perform(callbackfn); @@ -7478,9 +7537,9 @@ /***/ }, - /* 307 */ + /* 308 */ /***/ function(module, exports, __webpack_require__) { - var metadata = __webpack_require__(308); + var metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var toMetaKey = metadata.key; var ordinaryDefineOwnMetadata = metadata.set; @@ -7503,13 +7562,13 @@ /***/ }, - /* 308 */ + /* 309 */ /***/ function(module, exports, __webpack_require__) { - var Map = __webpack_require__(215); + var Map = __webpack_require__(216); var $export = __webpack_require__(8); - var shared = __webpack_require__(23)("metadata"); + var shared = __webpack_require__(23)('metadata'); var store = - shared.store || (shared.store = new (__webpack_require__(220))()); + shared.store || (shared.store = new (__webpack_require__(221))()); var getOrCreateMetadataMap = function(target, targetKey, create) { var targetMetadata = store.get(target); @@ -7552,10 +7611,10 @@ return keys; }; var toMetaKey = function(it) { - return it === undefined || typeof it == "symbol" ? it : String(it); + return it === undefined || typeof it == 'symbol' ? it : String(it); }; var exp = function(O) { - $export($export.S, "Reflect", O); + $export($export.S, 'Reflect', O); }; module.exports = { @@ -7571,9 +7630,9 @@ /***/ }, - /* 309 */ + /* 310 */ /***/ function(module, exports, __webpack_require__) { - var metadata = __webpack_require__(308); + var metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var toMetaKey = metadata.key; var getOrCreateMetadataMap = metadata.map; @@ -7591,20 +7650,20 @@ targetKey, false ); - if (metadataMap === undefined || !metadataMap["delete"](metadataKey)) + if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false; if (metadataMap.size) return true; var targetMetadata = store.get(target); - targetMetadata["delete"](targetKey); - return !!targetMetadata.size || store["delete"](target); + targetMetadata['delete'](targetKey); + return !!targetMetadata.size || store['delete'](target); } }); /***/ }, - /* 310 */ + /* 311 */ /***/ function(module, exports, __webpack_require__) { - var metadata = __webpack_require__(308); + var metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var getPrototypeOf = __webpack_require__(58); var ordinaryHasOwnMetadata = metadata.has; @@ -7635,11 +7694,11 @@ /***/ }, - /* 311 */ + /* 312 */ /***/ function(module, exports, __webpack_require__) { - var Set = __webpack_require__(219); - var from = __webpack_require__(277); - var metadata = __webpack_require__(308); + var Set = __webpack_require__(220); + var from = __webpack_require__(278); + var metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var getPrototypeOf = __webpack_require__(58); var ordinaryOwnMetadataKeys = metadata.keys; @@ -7651,7 +7710,9 @@ if (parent === null) return oKeys; var pKeys = ordinaryMetadataKeys(parent, P); return pKeys.length - ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys + ? oKeys.length + ? from(new Set(oKeys.concat(pKeys))) + : pKeys : oKeys; }; @@ -7666,9 +7727,9 @@ /***/ }, - /* 312 */ + /* 313 */ /***/ function(module, exports, __webpack_require__) { - var metadata = __webpack_require__(308); + var metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var ordinaryGetOwnMetadata = metadata.get; var toMetaKey = metadata.key; @@ -7688,9 +7749,9 @@ /***/ }, - /* 313 */ + /* 314 */ /***/ function(module, exports, __webpack_require__) { - var metadata = __webpack_require__(308); + var metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var ordinaryOwnMetadataKeys = metadata.keys; var toMetaKey = metadata.key; @@ -7708,9 +7769,9 @@ /***/ }, - /* 314 */ + /* 315 */ /***/ function(module, exports, __webpack_require__) { - var metadata = __webpack_require__(308); + var metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var getPrototypeOf = __webpack_require__(58); var ordinaryHasOwnMetadata = metadata.has; @@ -7740,9 +7801,9 @@ /***/ }, - /* 315 */ + /* 316 */ /***/ function(module, exports, __webpack_require__) { - var metadata = __webpack_require__(308); + var metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var ordinaryHasOwnMetadata = metadata.has; var toMetaKey = metadata.key; @@ -7762,9 +7823,9 @@ /***/ }, - /* 316 */ + /* 317 */ /***/ function(module, exports, __webpack_require__) { - var $metadata = __webpack_require__(308); + var $metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var aFunction = __webpack_require__(21); var toMetaKey = $metadata.key; @@ -7785,13 +7846,13 @@ /***/ }, - /* 317 */ + /* 318 */ /***/ function(module, exports, __webpack_require__) { // https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask var $export = __webpack_require__(8); var microtask = __webpack_require__(210)(); var process = __webpack_require__(4).process; - var isNode = __webpack_require__(34)(process) == "process"; + var isNode = __webpack_require__(34)(process) == 'process'; $export($export.G, { asap: function asap(fn) { @@ -7802,19 +7863,19 @@ /***/ }, - /* 318 */ + /* 319 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; // https://github.com/zenparsing/es-observable var $export = __webpack_require__(8); var global = __webpack_require__(4); var core = __webpack_require__(9); var microtask = __webpack_require__(210)(); - var OBSERVABLE = __webpack_require__(25)("observable"); + var OBSERVABLE = __webpack_require__(26)('observable'); var aFunction = __webpack_require__(21); var anObject = __webpack_require__(12); var anInstance = __webpack_require__(206); - var redefineAll = __webpack_require__(214); + var redefineAll = __webpack_require__(215); var hide = __webpack_require__(10); var forOf = __webpack_require__(207); var RETURN = forOf.RETURN; @@ -7851,7 +7912,7 @@ var cleanup = subscriber(observer); var subscription = cleanup; if (cleanup != null) { - if (typeof cleanup.unsubscribe === "function") + if (typeof cleanup.unsubscribe === 'function') cleanup = function() { subscription.unsubscribe(); }; @@ -7939,7 +8000,7 @@ ); var $Observable = function Observable(subscriber) { - anInstance(this, $Observable, "Observable", "_f")._f = aFunction( + anInstance(this, $Observable, 'Observable', '_f')._f = aFunction( subscriber ); }; @@ -7973,7 +8034,7 @@ redefineAll($Observable, { from: function from(x) { - var C = typeof this === "function" ? this : $Observable; + var C = typeof this === 'function' ? this : $Observable; var method = getMethod(anObject(x)[OBSERVABLE]); if (method) { var observable = anObject(method.call(x)); @@ -8009,9 +8070,9 @@ }); }, of: function of() { - for (var i = 0, l = arguments.length, items = Array(l); i < l; ) + for (var i = 0, l = arguments.length, items = new Array(l); i < l; ) items[i] = arguments[i++]; - return new (typeof this === "function" ? this : $Observable)(function( + return new (typeof this === 'function' ? this : $Observable)(function( observer ) { var done = false; @@ -8037,18 +8098,18 @@ $export($export.G, { Observable: $Observable }); - __webpack_require__(193)("Observable"); + __webpack_require__(193)('Observable'); /***/ }, - /* 319 */ + /* 320 */ /***/ function(module, exports, __webpack_require__) { // ie9- setTimeout & setInterval additional parameters fix var global = __webpack_require__(4); var $export = __webpack_require__(8); - var navigator = global.navigator; + var userAgent = __webpack_require__(213); var slice = [].slice; - var MSIE = !!navigator && /MSIE .\./.test(navigator.userAgent); // <- dirty ie9- check + var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check var wrap = function(set) { return function(fn, time /* , ...args */) { var boundArgs = arguments.length > 2; @@ -8057,7 +8118,7 @@ boundArgs ? function() { // eslint-disable-next-line no-new-func - (typeof fn == "function" ? fn : Function(fn)).apply( + (typeof fn == 'function' ? fn : Function(fn)).apply( this, args ); @@ -8074,7 +8135,7 @@ /***/ }, - /* 320 */ + /* 321 */ /***/ function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); var $task = __webpack_require__(209); @@ -8085,7 +8146,7 @@ /***/ }, - /* 321 */ + /* 322 */ /***/ function(module, exports, __webpack_require__) { var $iterators = __webpack_require__(194); var getKeys = __webpack_require__(30); @@ -8093,9 +8154,9 @@ var global = __webpack_require__(4); var hide = __webpack_require__(10); var Iterators = __webpack_require__(129); - var wks = __webpack_require__(25); - var ITERATOR = wks("iterator"); - var TO_STRING_TAG = wks("toStringTag"); + var wks = __webpack_require__(26); + var ITERATOR = wks('iterator'); + var TO_STRING_TAG = wks('toStringTag'); var ArrayValues = Iterators.Array; var DOMIterables = { @@ -8154,7 +8215,7 @@ /***/ }, - /* 322 */ + /* 323 */ /***/ function(module, exports) { /* WEBPACK VAR INJECTION */ (function(global) { /** @@ -8168,17 +8229,17 @@ */ !(function(global) { - "use strict"; + 'use strict'; var Op = Object.prototype; var hasOwn = Op.hasOwnProperty; var undefined; // More compressible than void 0. - var $Symbol = typeof Symbol === "function" ? Symbol : {}; - var iteratorSymbol = $Symbol.iterator || "@@iterator"; - var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; - var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; + var $Symbol = typeof Symbol === 'function' ? Symbol : {}; + var iteratorSymbol = $Symbol.iterator || '@@iterator'; + var asyncIteratorSymbol = $Symbol.asyncIterator || '@@asyncIterator'; + var toStringTagSymbol = $Symbol.toStringTag || '@@toStringTag'; - var inModule = typeof module === "object"; + var inModule = typeof module === 'object'; var runtime = global.regeneratorRuntime; if (runtime) { if (inModule) { @@ -8224,16 +8285,16 @@ // has a stable shape and so hopefully should be cheap to allocate. function tryCatch(fn, obj, arg) { try { - return { type: "normal", arg: fn.call(obj, arg) }; + return { type: 'normal', arg: fn.call(obj, arg) }; } catch (err) { - return { type: "throw", arg: err }; + return { type: 'throw', arg: err }; } } - var GenStateSuspendedStart = "suspendedStart"; - var GenStateSuspendedYield = "suspendedYield"; - var GenStateExecuting = "executing"; - var GenStateCompleted = "completed"; + var GenStateSuspendedStart = 'suspendedStart'; + var GenStateSuspendedYield = 'suspendedYield'; + var GenStateExecuting = 'executing'; + var GenStateCompleted = 'completed'; // Returning this object from the innerFn has the same effect as // breaking out of the dispatch switch statement. @@ -8274,12 +8335,12 @@ GeneratorFunctionPrototype.constructor = GeneratorFunction; GeneratorFunctionPrototype[ toStringTagSymbol - ] = GeneratorFunction.displayName = "GeneratorFunction"; + ] = GeneratorFunction.displayName = 'GeneratorFunction'; // Helper for defining the .next, .throw, and .return methods of the // Iterator interface in terms of a single ._invoke method. function defineIteratorMethods(prototype) { - ["next", "throw", "return"].forEach(function(method) { + ['next', 'throw', 'return'].forEach(function(method) { prototype[method] = function(arg) { return this._invoke(method, arg); }; @@ -8287,12 +8348,12 @@ } runtime.isGeneratorFunction = function(genFun) { - var ctor = typeof genFun === "function" && genFun.constructor; + var ctor = typeof genFun === 'function' && genFun.constructor; return ctor ? ctor === GeneratorFunction || // For the native GeneratorFunction constructor, the best we can // do is to check its .name property. - (ctor.displayName || ctor.name) === "GeneratorFunction" + (ctor.displayName || ctor.name) === 'GeneratorFunction' : false; }; @@ -8302,7 +8363,7 @@ } else { genFun.__proto__ = GeneratorFunctionPrototype; if (!(toStringTagSymbol in genFun)) { - genFun[toStringTagSymbol] = "GeneratorFunction"; + genFun[toStringTagSymbol] = 'GeneratorFunction'; } } genFun.prototype = Object.create(Gp); @@ -8320,22 +8381,22 @@ function AsyncIterator(generator) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); - if (record.type === "throw") { + if (record.type === 'throw') { reject(record.arg); } else { var result = record.arg; var value = result.value; if ( value && - typeof value === "object" && - hasOwn.call(value, "__await") + typeof value === 'object' && + hasOwn.call(value, '__await') ) { return Promise.resolve(value.__await).then( function(value) { - invoke("next", value, resolve, reject); + invoke('next', value, resolve, reject); }, function(err) { - invoke("throw", err, resolve, reject); + invoke('throw', err, resolve, reject); } ); } @@ -8362,7 +8423,7 @@ } } - if (typeof global.process === "object" && global.process.domain) { + if (typeof global.process === 'object' && global.process.domain) { invoke = global.process.domain.bind(invoke); } @@ -8429,11 +8490,11 @@ return function invoke(method, arg) { if (state === GenStateExecuting) { - throw new Error("Generator is already running"); + throw new Error('Generator is already running'); } if (state === GenStateCompleted) { - if (method === "throw") { + if (method === 'throw') { throw arg; } @@ -8455,25 +8516,25 @@ } } - if (context.method === "next") { + if (context.method === 'next') { // Setting context._sent for legacy support of Babel's // function.sent implementation. context.sent = context._sent = context.arg; - } else if (context.method === "throw") { + } else if (context.method === 'throw') { if (state === GenStateSuspendedStart) { state = GenStateCompleted; throw context.arg; } context.dispatchException(context.arg); - } else if (context.method === "return") { - context.abrupt("return", context.arg); + } else if (context.method === 'return') { + context.abrupt('return', context.arg); } state = GenStateExecuting; var record = tryCatch(innerFn, self, context); - if (record.type === "normal") { + if (record.type === 'normal') { // If an exception is thrown from innerFn, we leave state === // GenStateExecuting and loop back for another invocation. state = context.done @@ -8488,11 +8549,11 @@ value: record.arg, done: context.done }; - } else if (record.type === "throw") { + } else if (record.type === 'throw') { state = GenStateCompleted; // Dispatch the exception by looping back around to the // context.dispatchException(context.arg) call above. - context.method = "throw"; + context.method = 'throw'; context.arg = record.arg; } } @@ -8510,22 +8571,22 @@ // method always terminates the yield* loop. context.delegate = null; - if (context.method === "throw") { + if (context.method === 'throw') { if (delegate.iterator.return) { // If the delegate iterator has a return method, give it a // chance to clean up. - context.method = "return"; + context.method = 'return'; context.arg = undefined; maybeInvokeDelegate(delegate, context); - if (context.method === "throw") { + if (context.method === 'throw') { // If maybeInvokeDelegate(context) changed context.method from // "return" to "throw", let that override the TypeError below. return ContinueSentinel; } } - context.method = "throw"; + context.method = 'throw'; context.arg = new TypeError( "The iterator does not provide a 'throw' method" ); @@ -8536,8 +8597,8 @@ var record = tryCatch(method, delegate.iterator, context.arg); - if (record.type === "throw") { - context.method = "throw"; + if (record.type === 'throw') { + context.method = 'throw'; context.arg = record.arg; context.delegate = null; return ContinueSentinel; @@ -8546,8 +8607,8 @@ var info = record.arg; if (!info) { - context.method = "throw"; - context.arg = new TypeError("iterator result is not an object"); + context.method = 'throw'; + context.arg = new TypeError('iterator result is not an object'); context.delegate = null; return ContinueSentinel; } @@ -8566,8 +8627,8 @@ // "consumed" by the delegate iterator. If context.method was // "return", allow the original .return call to continue in the // outer generator. - if (context.method !== "return") { - context.method = "next"; + if (context.method !== 'return') { + context.method = 'next'; context.arg = undefined; } } else { @@ -8585,7 +8646,7 @@ // unified ._invoke helper method. defineIteratorMethods(Gp); - Gp[toStringTagSymbol] = "Generator"; + Gp[toStringTagSymbol] = 'Generator'; // A Generator should always return itself as the iterator object when the // @@iterator function is called on it. Some browsers' implementations of the @@ -8597,7 +8658,7 @@ }; Gp.toString = function() { - return "[object Generator]"; + return '[object Generator]'; }; function pushTryEntry(locs) { @@ -8617,7 +8678,7 @@ function resetTryEntry(entry) { var record = entry.completion || {}; - record.type = "normal"; + record.type = 'normal'; delete record.arg; entry.completion = record; } @@ -8626,7 +8687,7 @@ // The root entry object (effectively a try statement without a catch // or a finally block) gives us a place to store values thrown from // locations where there is no enclosing try statement. - this.tryEntries = [{ tryLoc: "root" }]; + this.tryEntries = [{ tryLoc: 'root' }]; tryLocsList.forEach(pushTryEntry, this); this.reset(true); } @@ -8665,7 +8726,7 @@ return iteratorMethod.call(iterable); } - if (typeof iterable.next === "function") { + if (typeof iterable.next === 'function') { return iterable; } @@ -8711,7 +8772,7 @@ this.done = false; this.delegate = null; - this.method = "next"; + this.method = 'next'; this.arg = undefined; this.tryEntries.forEach(resetTryEntry); @@ -8720,7 +8781,7 @@ for (var name in this) { // Not sure about the optimal order of these conditions: if ( - name.charAt(0) === "t" && + name.charAt(0) === 't' && hasOwn.call(this, name) && !isNaN(+name.slice(1)) ) { @@ -8735,7 +8796,7 @@ var rootEntry = this.tryEntries[0]; var rootRecord = rootEntry.completion; - if (rootRecord.type === "throw") { + if (rootRecord.type === 'throw') { throw rootRecord.arg; } @@ -8749,14 +8810,14 @@ var context = this; function handle(loc, caught) { - record.type = "throw"; + record.type = 'throw'; record.arg = exception; context.next = loc; if (caught) { // If the dispatched exception was caught by a catch block, // then let that catch block handle the exception normally. - context.method = "next"; + context.method = 'next'; context.arg = undefined; } @@ -8767,16 +8828,16 @@ var entry = this.tryEntries[i]; var record = entry.completion; - if (entry.tryLoc === "root") { + if (entry.tryLoc === 'root') { // Exception thrown outside of any try block that could handle // it, so set the completion value of the entire function to // throw the exception. - return handle("end"); + return handle('end'); } if (entry.tryLoc <= this.prev) { - var hasCatch = hasOwn.call(entry, "catchLoc"); - var hasFinally = hasOwn.call(entry, "finallyLoc"); + var hasCatch = hasOwn.call(entry, 'catchLoc'); + var hasFinally = hasOwn.call(entry, 'finallyLoc'); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) { @@ -8793,7 +8854,7 @@ return handle(entry.finallyLoc); } } else { - throw new Error("try statement without catch or finally"); + throw new Error('try statement without catch or finally'); } } } @@ -8804,7 +8865,7 @@ var entry = this.tryEntries[i]; if ( entry.tryLoc <= this.prev && - hasOwn.call(entry, "finallyLoc") && + hasOwn.call(entry, 'finallyLoc') && this.prev < entry.finallyLoc ) { var finallyEntry = entry; @@ -8814,7 +8875,7 @@ if ( finallyEntry && - (type === "break" || type === "continue") && + (type === 'break' || type === 'continue') && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc ) { @@ -8828,7 +8889,7 @@ record.arg = arg; if (finallyEntry) { - this.method = "next"; + this.method = 'next'; this.next = finallyEntry.finallyLoc; return ContinueSentinel; } @@ -8837,17 +8898,17 @@ }, complete: function(record, afterLoc) { - if (record.type === "throw") { + if (record.type === 'throw') { throw record.arg; } - if (record.type === "break" || record.type === "continue") { + if (record.type === 'break' || record.type === 'continue') { this.next = record.arg; - } else if (record.type === "return") { + } else if (record.type === 'return') { this.rval = this.arg = record.arg; - this.method = "return"; - this.next = "end"; - } else if (record.type === "normal" && afterLoc) { + this.method = 'return'; + this.next = 'end'; + } else if (record.type === 'normal' && afterLoc) { this.next = afterLoc; } @@ -8870,7 +8931,7 @@ var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; - if (record.type === "throw") { + if (record.type === 'throw') { var thrown = record.arg; resetTryEntry(entry); } @@ -8880,7 +8941,7 @@ // The context.catch method must only be called with a location // argument that corresponds to a known catch block. - throw new Error("illegal catch attempt"); + throw new Error('illegal catch attempt'); }, delegateYield: function(iterable, resultName, nextLoc) { @@ -8890,7 +8951,7 @@ nextLoc: nextLoc }; - if (this.method === "next") { + if (this.method === 'next') { // Deliberately forget the last sent value so that we don't // accidentally pass it on to the delegate. this.arg = undefined; @@ -8903,11 +8964,13 @@ // Among the various tricks for obtaining a reference to the global // object, this seems to be the most reliable technique that does not // use indirect eval (which violates Content Security Policy). - typeof global === "object" + typeof global === 'object' ? global - : typeof window === "object" + : typeof window === 'object' ? window - : typeof self === "object" ? self : this + : typeof self === 'object' + ? self + : this ); /* WEBPACK VAR INJECTION */ @@ -8920,20 +8983,20 @@ /***/ }, - /* 323 */ + /* 324 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(324); + __webpack_require__(325); module.exports = __webpack_require__(9).RegExp.escape; /***/ }, - /* 324 */ + /* 325 */ /***/ function(module, exports, __webpack_require__) { // https://github.com/benjamingr/RexExp.escape var $export = __webpack_require__(8); - var $re = __webpack_require__(325)(/[\\^$*+?.()|[\]{}]/g, "\\$&"); + var $re = __webpack_require__(326)(/[\\^$*+?.()|[\]{}]/g, '\\$&'); - $export($export.S, "RegExp", { + $export($export.S, 'RegExp', { escape: function escape(it) { return $re(it); } @@ -8941,7 +9004,7 @@ /***/ }, - /* 325 */ + /* 326 */ /***/ function(module, exports) { module.exports = function(regExp, replace) { var replacer = @@ -8957,19 +9020,19 @@ /***/ }, - /* 326 */ + /* 327 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDom = __webpack_require__(332); + var _reactDom = __webpack_require__(334); var _reactDom2 = _interopRequireDefault(_reactDom); - var _root = __webpack_require__(342); + var _root = __webpack_require__(343); var _root2 = _interopRequireDefault(_root); @@ -8979,345 +9042,404 @@ _reactDom2.default.render( _react2.default.createElement(_root2.default, null), - document.getElementById("app") + document.getElementById('app') ); /***/ }, - /* 327 */ + /* 328 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; - if (true) { - module.exports = __webpack_require__(328); + if (undefined === 'production') { + module.exports = __webpack_require__(329); } else { - module.exports = require("./cjs/react.development.js"); + module.exports = __webpack_require__(331); } /***/ }, - /* 328 */ + /* 329 */ /***/ function(module, exports, __webpack_require__) { - /** @license React v16.1.0 + /** @license React v16.5.2 * react.production.min.js * - * Copyright (c) 2013-present, Facebook, Inc. + * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ - "use strict"; - var m = __webpack_require__(329), - n = __webpack_require__(330), - p = __webpack_require__(331); - function q(a) { + + 'use strict'; + var m = __webpack_require__(330), + n = 'function' === typeof Symbol && Symbol.for, + p = n ? Symbol.for('react.element') : 60103, + q = n ? Symbol.for('react.portal') : 60106, + r = n ? Symbol.for('react.fragment') : 60107, + t = n ? Symbol.for('react.strict_mode') : 60108, + u = n ? Symbol.for('react.profiler') : 60114, + v = n ? Symbol.for('react.provider') : 60109, + w = n ? Symbol.for('react.context') : 60110, + x = n ? Symbol.for('react.async_mode') : 60111, + y = n ? Symbol.for('react.forward_ref') : 60112; + n && Symbol.for('react.placeholder'); + var z = 'function' === typeof Symbol && Symbol.iterator; + function A(a, b, d, c, e, g, h, f) { + if (!a) { + a = void 0; + if (void 0 === b) + a = Error( + 'Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.' + ); + else { + var k = [d, c, e, g, h, f], + l = 0; + a = Error( + b.replace(/%s/g, function() { + return k[l++]; + }) + ); + a.name = 'Invariant Violation'; + } + a.framesToPop = 1; + throw a; + } + } + function B(a) { for ( var b = arguments.length - 1, - e = - "Minified React error #" + - a + - "; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d" + - a, - d = 0; - d < b; - d++ + d = 'https://reactjs.org/docs/error-decoder.html?invariant=' + a, + c = 0; + c < b; + c++ ) - e += "\x26args[]\x3d" + encodeURIComponent(arguments[d + 1]); - b = Error( - e + - " for the full message or use the non-minified dev environment for full errors and additional helpful warnings." + d += '&args[]=' + encodeURIComponent(arguments[c + 1]); + A( + !1, + 'Minified React error #' + + a + + '; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ', + d ); - b.name = "Invariant Violation"; - b.framesToPop = 1; - throw b; } - var r = { - isMounted: function() { - return !1; + var C = { + isMounted: function() { + return !1; + }, + enqueueForceUpdate: function() {}, + enqueueReplaceState: function() {}, + enqueueSetState: function() {} }, - enqueueForceUpdate: function() {}, - enqueueReplaceState: function() {}, - enqueueSetState: function() {} - }; - function t(a, b, e) { + D = {}; + function E(a, b, d) { this.props = a; this.context = b; - this.refs = n; - this.updater = e || r; + this.refs = D; + this.updater = d || C; } - t.prototype.isReactComponent = {}; - t.prototype.setState = function(a, b) { - "object" !== typeof a && "function" !== typeof a && null != a - ? q("85") + E.prototype.isReactComponent = {}; + E.prototype.setState = function(a, b) { + 'object' !== typeof a && 'function' !== typeof a && null != a + ? B('85') : void 0; - this.updater.enqueueSetState(this, a, b, "setState"); + this.updater.enqueueSetState(this, a, b, 'setState'); }; - t.prototype.forceUpdate = function(a) { - this.updater.enqueueForceUpdate(this, a, "forceUpdate"); + E.prototype.forceUpdate = function(a) { + this.updater.enqueueForceUpdate(this, a, 'forceUpdate'); }; - function u(a, b, e) { - this.props = a; - this.context = b; - this.refs = n; - this.updater = e || r; - } - function v() {} - v.prototype = t.prototype; - var w = (u.prototype = new v()); - w.constructor = u; - m(w, t.prototype); - w.isPureReactComponent = !0; - function x(a, b, e) { + function F() {} + F.prototype = E.prototype; + function G(a, b, d) { this.props = a; this.context = b; - this.refs = n; - this.updater = e || r; - } - var y = (x.prototype = new v()); - y.constructor = x; - m(y, t.prototype); - y.unstable_isAsyncReactComponent = !0; - y.render = function() { - return this.props.children; - }; - var z = { current: null }, - A = Object.prototype.hasOwnProperty, - B = - ("function" === typeof Symbol && - Symbol["for"] && - Symbol["for"]("react.element")) || - 60103, - C = { key: !0, ref: !0, __self: !0, __source: !0 }; - function D(a, b, e) { - var d, - c = {}, - h = null, - k = null; + this.refs = D; + this.updater = d || C; + } + var H = (G.prototype = new F()); + H.constructor = G; + m(H, E.prototype); + H.isPureReactComponent = !0; + var I = { current: null, currentDispatcher: null }, + J = Object.prototype.hasOwnProperty, + K = { key: !0, ref: !0, __self: !0, __source: !0 }; + function L(a, b, d) { + var c = void 0, + e = {}, + g = null, + h = null; if (null != b) - for (d in (void 0 !== b.ref && (k = b.ref), - void 0 !== b.key && (h = "" + b.key), + for (c in (void 0 !== b.ref && (h = b.ref), + void 0 !== b.key && (g = '' + b.key), b)) - A.call(b, d) && !C.hasOwnProperty(d) && (c[d] = b[d]); + J.call(b, c) && !K.hasOwnProperty(c) && (e[c] = b[c]); var f = arguments.length - 2; - if (1 === f) c.children = e; + if (1 === f) e.children = d; else if (1 < f) { - for (var g = Array(f), l = 0; l < f; l++) g[l] = arguments[l + 2]; - c.children = g; + for (var k = Array(f), l = 0; l < f; l++) k[l] = arguments[l + 2]; + e.children = k; } if (a && a.defaultProps) - for (d in ((f = a.defaultProps), f)) void 0 === c[d] && (c[d] = f[d]); + for (c in ((f = a.defaultProps), f)) void 0 === e[c] && (e[c] = f[c]); return { - $$typeof: B, + $$typeof: p, type: a, - key: h, - ref: k, - props: c, - _owner: z.current - }; - } - function E(a) { - return "object" === typeof a && null !== a && a.$$typeof === B; - } - var F = "function" === typeof Symbol && Symbol.iterator, - G = - ("function" === typeof Symbol && - Symbol["for"] && - Symbol["for"]("react.element")) || - 60103, - H = - ("function" === typeof Symbol && - Symbol["for"] && - Symbol["for"]("react.portal")) || - 60106; + key: g, + ref: h, + props: e, + _owner: I.current + }; + } + function M(a, b) { + return { + $$typeof: p, + type: a.type, + key: b, + ref: a.ref, + props: a.props, + _owner: a._owner + }; + } + function N(a) { + return 'object' === typeof a && null !== a && a.$$typeof === p; + } function escape(a) { - var b = { "\x3d": "\x3d0", ":": "\x3d2" }; + var b = { '=': '=0', ':': '=2' }; return ( - "$" + - ("" + a).replace(/[=:]/g, function(a) { + '$' + + ('' + a).replace(/[=:]/g, function(a) { return b[a]; }) ); } - var I = /\/+/g, - J = []; - function K(a, b, e, d) { - if (J.length) { - var c = J.pop(); - c.result = a; - c.keyPrefix = b; - c.func = e; - c.context = d; - c.count = 0; - return c; + var O = /\/+/g, + P = []; + function Q(a, b, d, c) { + if (P.length) { + var e = P.pop(); + e.result = a; + e.keyPrefix = b; + e.func = d; + e.context = c; + e.count = 0; + return e; } - return { result: a, keyPrefix: b, func: e, context: d, count: 0 }; + return { result: a, keyPrefix: b, func: d, context: c, count: 0 }; } - function L(a) { + function R(a) { a.result = null; a.keyPrefix = null; a.func = null; a.context = null; a.count = 0; - 10 > J.length && J.push(a); + 10 > P.length && P.push(a); } - function M(a, b, e, d) { - var c = typeof a; - if ("undefined" === c || "boolean" === c) a = null; - if ( - null === a || - "string" === c || - "number" === c || - ("object" === c && a.$$typeof === G) || - ("object" === c && a.$$typeof === H) - ) - return e(d, a, "" === b ? "." + N(a, 0) : b), 1; - var h = 0; - b = "" === b ? "." : b + ":"; + function S(a, b, d, c) { + var e = typeof a; + if ('undefined' === e || 'boolean' === e) a = null; + var g = !1; + if (null === a) g = !0; + else + switch (e) { + case 'string': + case 'number': + g = !0; + break; + case 'object': + switch (a.$$typeof) { + case p: + case q: + g = !0; + } + } + if (g) return d(c, a, '' === b ? '.' + T(a, 0) : b), 1; + g = 0; + b = '' === b ? '.' : b + ':'; if (Array.isArray(a)) - for (var k = 0; k < a.length; k++) { - c = a[k]; - var f = b + N(c, k); - h += M(c, f, e, d); + for (var h = 0; h < a.length; h++) { + e = a[h]; + var f = b + T(e, h); + g += S(e, f, d, c); } else if ( - ((f = (F && a[F]) || a["@@iterator"]), "function" === typeof f) + (null === a || 'object' !== typeof a + ? (f = null) + : ((f = (z && a[z]) || a['@@iterator']), + (f = 'function' === typeof f ? f : null)), + 'function' === typeof f) ) - for (a = f.call(a), k = 0; !(c = a.next()).done; ) - (c = c.value), (f = b + N(c, k++)), (h += M(c, f, e, d)); + for (a = f.call(a), h = 0; !(e = a.next()).done; ) + (e = e.value), (f = b + T(e, h++)), (g += S(e, f, d, c)); else - "object" === c && - ((e = "" + a), - q( - "31", - "[object Object]" === e - ? "object with keys {" + Object.keys(a).join(", ") + "}" - : e, - "" + 'object' === e && + ((d = '' + a), + B( + '31', + '[object Object]' === d + ? 'object with keys {' + Object.keys(a).join(', ') + '}' + : d, + '' )); - return h; + return g; + } + function U(a, b, d) { + return null == a ? 0 : S(a, '', b, d); } - function N(a, b) { - return "object" === typeof a && null !== a && null != a.key + function T(a, b) { + return 'object' === typeof a && null !== a && null != a.key ? escape(a.key) : b.toString(36); } - function O(a, b) { + function V(a, b) { a.func.call(a.context, b, a.count++); } - function P(a, b, e) { - var d = a.result, - c = a.keyPrefix; + function aa(a, b, d) { + var c = a.result, + e = a.keyPrefix; a = a.func.call(a.context, b, a.count++); Array.isArray(a) - ? Q(a, d, e, p.thatReturnsArgument) + ? W(a, c, d, function(a) { + return a; + }) : null != a && - (E(a) && - ((b = - c + - (!a.key || (b && b.key === a.key) - ? "" - : ("" + a.key).replace(I, "$\x26/") + "/") + - e), - (a = { - $$typeof: B, - type: a.type, - key: b, - ref: a.ref, - props: a.props, - _owner: a._owner - })), - d.push(a)); - } - function Q(a, b, e, d, c) { - var h = ""; - null != e && (h = ("" + e).replace(I, "$\x26/") + "/"); - b = K(b, h, d, c); - null == a || M(a, "", P, b); - L(b); - } - "function" === typeof Symbol && - Symbol["for"] && - Symbol["for"]("react.fragment"); - var R = { + (N(a) && + (a = M( + a, + e + + (!a.key || (b && b.key === a.key) + ? '' + : ('' + a.key).replace(O, '$&/') + '/') + + d + )), + c.push(a)); + } + function W(a, b, d, c, e) { + var g = ''; + null != d && (g = ('' + d).replace(O, '$&/') + '/'); + b = Q(b, g, c, e); + U(a, aa, b); + R(b); + } + function ba(a, b) { + var d = I.currentDispatcher; + null === d ? B('277') : void 0; + return d.readContext(a, b); + } + var X = { Children: { - map: function(a, b, e) { + map: function(a, b, d) { if (null == a) return a; - var d = []; - Q(a, d, null, b, e); - return d; + var c = []; + W(a, c, null, b, d); + return c; }, - forEach: function(a, b, e) { + forEach: function(a, b, d) { if (null == a) return a; - b = K(null, null, b, e); - null == a || M(a, "", O, b); - L(b); + b = Q(null, null, b, d); + U(a, V, b); + R(b); }, count: function(a) { - return null == a ? 0 : M(a, "", p.thatReturnsNull, null); + return U( + a, + function() { + return null; + }, + null + ); }, toArray: function(a) { var b = []; - Q(a, b, null, p.thatReturnsArgument); + W(a, b, null, function(a) { + return a; + }); return b; }, only: function(a) { - E(a) ? void 0 : q("143"); + N(a) ? void 0 : B('143'); return a; } }, - Component: t, - PureComponent: u, - unstable_AsyncComponent: x, - createElement: D, - cloneElement: function(a, b, e) { - var d = m({}, a.props), - c = a.key, + createRef: function() { + return { current: null }; + }, + Component: E, + PureComponent: G, + createContext: function(a, b) { + void 0 === b && (b = null); + a = { + $$typeof: w, + _calculateChangedBits: b, + _currentValue: a, + _currentValue2: a, + Provider: null, + Consumer: null, + unstable_read: null + }; + a.Provider = { $$typeof: v, _context: a }; + a.Consumer = a; + a.unstable_read = ba.bind(null, a); + return a; + }, + forwardRef: function(a) { + return { $$typeof: y, render: a }; + }, + Fragment: r, + StrictMode: t, + unstable_AsyncMode: x, + unstable_Profiler: u, + createElement: L, + cloneElement: function(a, b, d) { + null === a || void 0 === a ? B('267', a) : void 0; + var c = void 0, + e = m({}, a.props), + g = a.key, h = a.ref, - k = a._owner; + f = a._owner; if (null != b) { - void 0 !== b.ref && ((h = b.ref), (k = z.current)); - void 0 !== b.key && (c = "" + b.key); - if (a.type && a.type.defaultProps) var f = a.type.defaultProps; - for (g in b) - A.call(b, g) && - !C.hasOwnProperty(g) && - (d[g] = void 0 === b[g] && void 0 !== f ? f[g] : b[g]); - } - var g = arguments.length - 2; - if (1 === g) d.children = e; - else if (1 < g) { - f = Array(g); - for (var l = 0; l < g; l++) f[l] = arguments[l + 2]; - d.children = f; + void 0 !== b.ref && ((h = b.ref), (f = I.current)); + void 0 !== b.key && (g = '' + b.key); + var k = void 0; + a.type && a.type.defaultProps && (k = a.type.defaultProps); + for (c in b) + J.call(b, c) && + !K.hasOwnProperty(c) && + (e[c] = void 0 === b[c] && void 0 !== k ? k[c] : b[c]); + } + c = arguments.length - 2; + if (1 === c) e.children = d; + else if (1 < c) { + k = Array(c); + for (var l = 0; l < c; l++) k[l] = arguments[l + 2]; + e.children = k; } return { - $$typeof: B, + $$typeof: p, type: a.type, - key: c, + key: g, ref: h, - props: d, - _owner: k + props: e, + _owner: f }; }, createFactory: function(a) { - var b = D.bind(null, a); + var b = L.bind(null, a); b.type = a; return b; }, - isValidElement: E, - version: "16.1.0", + isValidElement: N, + version: '16.5.2', __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: { - ReactCurrentOwner: z, + ReactCurrentOwner: I, assign: m } }, - S = Object.freeze({ default: R }), - T = (S && R) || S; - module.exports = T["default"] ? T["default"] : T; + Y = { default: X }, + Z = (Y && X) || Y; + module.exports = Z.default || Z; /***/ }, - /* 329 */ + /* 330 */ /***/ function(module, exports) { /* object-assign @@ -9325,7 +9447,7 @@ @license MIT */ - "use strict"; + 'use strict'; /* eslint-disable no-unused-vars */ var getOwnPropertySymbols = Object.getOwnPropertySymbols; var hasOwnProperty = Object.prototype.hasOwnProperty; @@ -9334,7 +9456,7 @@ function toObject(val) { if (val === null || val === undefined) { throw new TypeError( - "Object.assign cannot be called with null or undefined" + 'Object.assign cannot be called with null or undefined' ); } @@ -9350,32 +9472,32 @@ // Detect buggy property enumeration order in older V8 versions. // https://bugs.chromium.org/p/v8/issues/detail?id=4118 - var test1 = new String("abc"); // eslint-disable-line no-new-wrappers - test1[5] = "de"; - if (Object.getOwnPropertyNames(test1)[0] === "5") { + var test1 = new String('abc'); // eslint-disable-line no-new-wrappers + test1[5] = 'de'; + if (Object.getOwnPropertyNames(test1)[0] === '5') { return false; } // https://bugs.chromium.org/p/v8/issues/detail?id=3056 var test2 = {}; for (var i = 0; i < 10; i++) { - test2["_" + String.fromCharCode(i)] = i; + test2['_' + String.fromCharCode(i)] = i; } var order2 = Object.getOwnPropertyNames(test2).map(function(n) { return test2[n]; }); - if (order2.join("") !== "0123456789") { + if (order2.join('') !== '0123456789') { return false; } // https://bugs.chromium.org/p/v8/issues/detail?id=3056 var test3 = {}; - "abcdefghijklmnopqrst".split("").forEach(function(letter) { + 'abcdefghijklmnopqrst'.split('').forEach(function(letter) { test3[letter] = letter; }); if ( - Object.keys(Object.assign({}, test3)).join("") !== - "abcdefghijklmnopqrst" + Object.keys(Object.assign({}, test3)).join('') !== + 'abcdefghijklmnopqrst' ) { return false; } @@ -9418,6071 +9540,33114 @@ /***/ }, - /* 330 */ + /* 331 */ /***/ function(module, exports, __webpack_require__) { - /** - * Copyright (c) 2013-present, Facebook, Inc. + /** @license React v16.5.2 + * react.development.js + * + * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - * */ - "use strict"; + 'use strict'; - var emptyObject = {}; + if (undefined !== 'production') { + (function() { + 'use strict'; + + var _assign = __webpack_require__(330); + var checkPropTypes = __webpack_require__(332); + + // TODO: this is special because it gets imported during build. + + var ReactVersion = '16.5.2'; + + // The Symbol used to tag the ReactElement-like types. If there is no native Symbol + // nor polyfill, then a plain number is used for performance. + var hasSymbol = typeof Symbol === 'function' && Symbol.for; + + var REACT_ELEMENT_TYPE = hasSymbol + ? Symbol.for('react.element') + : 0xeac7; + var REACT_PORTAL_TYPE = hasSymbol + ? Symbol.for('react.portal') + : 0xeaca; + var REACT_FRAGMENT_TYPE = hasSymbol + ? Symbol.for('react.fragment') + : 0xeacb; + var REACT_STRICT_MODE_TYPE = hasSymbol + ? Symbol.for('react.strict_mode') + : 0xeacc; + var REACT_PROFILER_TYPE = hasSymbol + ? Symbol.for('react.profiler') + : 0xead2; + var REACT_PROVIDER_TYPE = hasSymbol + ? Symbol.for('react.provider') + : 0xeacd; + var REACT_CONTEXT_TYPE = hasSymbol + ? Symbol.for('react.context') + : 0xeace; + var REACT_ASYNC_MODE_TYPE = hasSymbol + ? Symbol.for('react.async_mode') + : 0xeacf; + var REACT_FORWARD_REF_TYPE = hasSymbol + ? Symbol.for('react.forward_ref') + : 0xead0; + var REACT_PLACEHOLDER_TYPE = hasSymbol + ? Symbol.for('react.placeholder') + : 0xead1; + + var MAYBE_ITERATOR_SYMBOL = + typeof Symbol === 'function' && Symbol.iterator; + var FAUX_ITERATOR_SYMBOL = '@@iterator'; + + function getIteratorFn(maybeIterable) { + if (maybeIterable === null || typeof maybeIterable !== 'object') { + return null; + } + var maybeIterator = + (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) || + maybeIterable[FAUX_ITERATOR_SYMBOL]; + if (typeof maybeIterator === 'function') { + return maybeIterator; + } + return null; + } - if (false) { - Object.freeze(emptyObject); - } + // Exports ReactDOM.createRoot - module.exports = emptyObject; + // Experimental error-boundary API that can recover from errors within a single + // render phase - /***/ - }, - /* 331 */ - /***/ function(module, exports) { - "use strict"; + // Suspense + var enableSuspense = false; + // Helps identify side effects in begin-phase lifecycle hooks and setState reducers: - /** - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - * - */ + // In some cases, StrictMode should also double-render lifecycles. + // This can be confusing for tests though, + // And it can be bad for performance in production. + // This feature flag can be used to control the behavior: - function makeEmptyFunction(arg) { - return function() { - return arg; - }; - } + // To preserve the "Pause on caught exceptions" behavior of the debugger, we + // replay the begin phase of a failed component inside invokeGuardedCallback. - /** - * 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() {}; + // Warn about deprecated, async-unsafe lifecycles; relates to RFC #6: - 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; - }; + // Warn about legacy context API - module.exports = emptyFunction; + // Gather advanced timing metrics for Profiler subtrees. - /***/ - }, - /* 332 */ - /***/ function(module, exports, __webpack_require__) { - "use strict"; + // Trace which interactions trigger each commit. - function checkDCE() { - /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ - if ( - typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined" || - typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== "function" - ) { - return; - } - if (false) { - // This branch is unreachable because this function is only called - // in production, but the condition is true only in development. - // Therefore if the branch is still here, dead code elimination wasn't - // properly applied. - // Don't change the message. React DevTools relies on it. Also make sure - // this message doesn't occur elsewhere in this function, or it will cause - // a false positive. - throw new Error("^_^"); - } - try { - // Verify that the code above has been dead code eliminated (DCE'd). - __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE); - } catch (err) { - // DevTools shouldn't crash React, no matter what. - // We should still report in case we break this code. - console.error(err); - } - } + // Only used in www builds. - if (true) { - // DCE check should happen before ReactDOM bundle executes so that - // DevTools can report bad minification during injection. - checkDCE(); - module.exports = __webpack_require__(333); - } else { - module.exports = require("./cjs/react-dom.development.js"); - } + // Only used in www builds. - /***/ - }, - /* 333 */ - /***/ function(module, exports, __webpack_require__) { - /** @license React v16.1.0 - * react-dom.production.min.js - * - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - /* - Modernizr 3.0.0pre (Custom Build) | MIT - */ - "use strict"; - var aa = __webpack_require__(327), - m = __webpack_require__(334), - A = __webpack_require__(329), - B = __webpack_require__(331), - ca = __webpack_require__(335), - da = __webpack_require__(336), - ea = __webpack_require__(337), - ha = __webpack_require__(338), - ia = __webpack_require__(341), - C = __webpack_require__(330); - function D(a) { - for ( - var b = arguments.length - 1, - c = - "Minified React error #" + - a + - "; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d" + - a, - d = 0; - d < b; - d++ - ) - c += "\x26args[]\x3d" + encodeURIComponent(arguments[d + 1]); - b = Error( - c + - " for the full message or use the non-minified dev environment for full errors and additional helpful warnings." - ); - b.name = "Invariant Violation"; - b.framesToPop = 1; - throw b; - } - aa ? void 0 : D("227"); - var la = { - children: !0, - dangerouslySetInnerHTML: !0, - defaultValue: !0, - defaultChecked: !0, - innerHTML: !0, - suppressContentEditableWarning: !0, - suppressHydrationWarning: !0, - style: !0 - }; - function qa(a, b) { - return (a & b) === b; - } - var ra = { - MUST_USE_PROPERTY: 1, - HAS_BOOLEAN_VALUE: 4, - HAS_NUMERIC_VALUE: 8, - HAS_POSITIVE_NUMERIC_VALUE: 24, - HAS_OVERLOADED_BOOLEAN_VALUE: 32, - HAS_STRING_BOOLEAN_VALUE: 64, - injectDOMPropertyConfig: function(a) { - var b = ra, - c = a.Properties || {}, - d = a.DOMAttributeNamespaces || {}, - e = a.DOMAttributeNames || {}; - a = a.DOMMutationMethods || {}; - for (var f in c) { - sa.hasOwnProperty(f) ? D("48", f) : void 0; - var g = f.toLowerCase(), - k = c[f]; - g = { - attributeName: g, - attributeNamespace: null, - propertyName: f, - mutationMethod: null, - mustUseProperty: qa(k, b.MUST_USE_PROPERTY), - hasBooleanValue: qa(k, b.HAS_BOOLEAN_VALUE), - hasNumericValue: qa(k, b.HAS_NUMERIC_VALUE), - hasPositiveNumericValue: qa(k, b.HAS_POSITIVE_NUMERIC_VALUE), - hasOverloadedBooleanValue: qa( - k, - b.HAS_OVERLOADED_BOOLEAN_VALUE - ), - hasStringBooleanValue: qa(k, b.HAS_STRING_BOOLEAN_VALUE) - }; - 1 >= - g.hasBooleanValue + - g.hasNumericValue + - g.hasOverloadedBooleanValue - ? void 0 - : D("50", f); - e.hasOwnProperty(f) && (g.attributeName = e[f]); - d.hasOwnProperty(f) && (g.attributeNamespace = d[f]); - a.hasOwnProperty(f) && (g.mutationMethod = a[f]); - sa[f] = g; + // React Fire: prevent the value and checked attributes from syncing + // with their related DOM properties + + /** + * Use invariant() to assert state which your program assumes to be true. + * + * Provide sprintf-style format (only %s is supported) and arguments + * to provide information about what broke and what you were + * expecting. + * + * The invariant message will be stripped in production, but the invariant + * will remain to ensure logic does not differ in production. + */ + + var validateFormat = function() {}; + + { + validateFormat = function(format) { + if (format === undefined) { + throw new Error('invariant requires an error message argument'); + } + }; + } + + function invariant(condition, format, a, b, c, d, e, f) { + validateFormat(format); + + if (!condition) { + var error = void 0; + if (format === undefined) { + error = new Error( + 'Minified exception occurred; use the non-minified dev environment ' + + 'for the full error message and additional helpful warnings.' + ); + } else { + var args = [a, b, c, d, e, f]; + var argIndex = 0; + error = new Error( + format.replace(/%s/g, function() { + return args[argIndex++]; + }) + ); + error.name = 'Invariant Violation'; + } + + error.framesToPop = 1; // we don't care about invariant's own frame + throw error; } } - }, - sa = {}; - function ta(a, b) { - if ( - la.hasOwnProperty(a) || - (2 < a.length && - ("o" === a[0] || "O" === a[0]) && - ("n" === a[1] || "N" === a[1])) - ) - return !1; - if (null === b) return !0; - switch (typeof b) { - case "boolean": - return ( - la.hasOwnProperty(a) - ? (a = !0) - : (b = ua(a)) - ? (a = - b.hasBooleanValue || - b.hasStringBooleanValue || - b.hasOverloadedBooleanValue) - : ((a = a.toLowerCase().slice(0, 5)), - (a = "data-" === a || "aria-" === a)), - a + + // Relying on the `invariant()` implementation lets us + // preserve the format and params in the www builds. + + /** + * 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 lowPriorityWarning = function() {}; + + { + 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]; + } + + var argIndex = 0; + var message = + 'Warning: ' + + format.replace(/%s/g, function() { + return args[argIndex++]; + }); + if (typeof console !== 'undefined') { + console.warn(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) {} + }; + + lowPriorityWarning = function(condition, format) { + if (format === undefined) { + throw new Error( + '`lowPriorityWarning(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]; + } + + printWarning.apply(undefined, [format].concat(args)); + } + }; + } + + var lowPriorityWarning$1 = lowPriorityWarning; + + /** + * 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 warningWithoutStack = function() {}; + + { + warningWithoutStack = function(condition, format) { + for ( + var _len = arguments.length, + args = Array(_len > 2 ? _len - 2 : 0), + _key = 2; + _key < _len; + _key++ + ) { + args[_key - 2] = arguments[_key]; + } + + if (format === undefined) { + throw new Error( + '`warningWithoutStack(condition, format, ...args)` requires a warning ' + + 'message argument' + ); + } + if (args.length > 8) { + // Check before the condition to catch violations early. + throw new Error( + 'warningWithoutStack() currently supports at most 8 arguments.' + ); + } + if (condition) { + return; + } + if (typeof console !== 'undefined') { + var _args$map = args.map(function(item) { + return '' + item; + }), + a = _args$map[0], + b = _args$map[1], + c = _args$map[2], + d = _args$map[3], + e = _args$map[4], + f = _args$map[5], + g = _args$map[6], + h = _args$map[7]; + + var message = 'Warning: ' + format; + + // We intentionally don't use spread (or .apply) because it breaks IE9: + // https://github.com/facebook/react/issues/13610 + switch (args.length) { + case 0: + console.error(message); + break; + case 1: + console.error(message, a); + break; + case 2: + console.error(message, a, b); + break; + case 3: + console.error(message, a, b, c); + break; + case 4: + console.error(message, a, b, c, d); + break; + case 5: + console.error(message, a, b, c, d, e); + break; + case 6: + console.error(message, a, b, c, d, e, f); + break; + case 7: + console.error(message, a, b, c, d, e, f, g); + break; + case 8: + console.error(message, a, b, c, d, e, f, g, h); + break; + default: + throw new Error( + 'warningWithoutStack() currently supports at most 8 arguments.' + ); + } + } + 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. + var argIndex = 0; + var _message = + 'Warning: ' + + format.replace(/%s/g, function() { + return args[argIndex++]; + }); + throw new Error(_message); + } catch (x) {} + }; + } + + var warningWithoutStack$1 = warningWithoutStack; + + var didWarnStateUpdateForUnmountedComponent = {}; + + function warnNoop(publicInstance, callerName) { + { + var _constructor = publicInstance.constructor; + var componentName = + (_constructor && + (_constructor.displayName || _constructor.name)) || + 'ReactClass'; + var warningKey = componentName + '.' + callerName; + if (didWarnStateUpdateForUnmountedComponent[warningKey]) { + return; + } + warningWithoutStack$1( + false, + "Can't call %s on a component that is not yet mounted. " + + 'This is a no-op, but it might indicate a bug in your application. ' + + 'Instead, assign to `this.state` directly or define a `state = {};` ' + + 'class property with the desired state in the %s component.', + callerName, + componentName + ); + didWarnStateUpdateForUnmountedComponent[warningKey] = true; + } + } + + /** + * 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; + }, + + /** + * 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. + * @param {?function} callback Called after component is updated. + * @param {?string} callerName name of the calling function in the public API. + * @internal + */ + enqueueForceUpdate: function(publicInstance, callback, callerName) { + 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. + * @param {?function} callback Called after component is updated. + * @param {?string} callerName name of the calling function in the public API. + * @internal + */ + enqueueReplaceState: function( + publicInstance, + completeState, + callback, + callerName + ) { + 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. + * @param {?function} callback Called after component is updated. + * @param {?string} Name of the calling function in the public API. + * @internal + */ + enqueueSetState: function( + publicInstance, + partialState, + callback, + callerName + ) { + warnNoop(publicInstance, 'setState'); + } + }; + + var emptyObject = {}; + { + Object.freeze(emptyObject); + } + + /** + * Base class helpers for the updating state of a component. + */ + function Component(props, context, updater) { + this.props = props; + this.context = context; + // If a component has string refs, we will assign a different object later. + this.refs = emptyObject; + // We initialize the default updater but the real one gets injected by the + // renderer. + this.updater = updater || ReactNoopUpdateQueue; + } + + Component.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 + */ + Component.prototype.setState = function(partialState, callback) { + !( + typeof partialState === 'object' || + typeof partialState === 'function' || + partialState == null + ) + ? invariant( + false, + 'setState(...): takes an object of state variables to update or a function which returns an object of state variables.' + ) + : void 0; + this.updater.enqueueSetState( + this, + partialState, + callback, + 'setState' ); - case "undefined": - case "number": - case "string": - case "object": - return !0; - default: - return !1; - } - } - function ua(a) { - return sa.hasOwnProperty(a) ? sa[a] : null; - } - var va = ra, - wa = va.MUST_USE_PROPERTY, - H = va.HAS_BOOLEAN_VALUE, - xa = va.HAS_NUMERIC_VALUE, - ya = va.HAS_POSITIVE_NUMERIC_VALUE, - za = va.HAS_STRING_BOOLEAN_VALUE, - Aa = { - Properties: { - allowFullScreen: H, - autoFocus: za, - async: H, - autoPlay: H, - capture: H, - checked: wa | H, - cols: ya, - contentEditable: za, - controls: H, - default: H, - defer: H, - disabled: H, - download: va.HAS_OVERLOADED_BOOLEAN_VALUE, - draggable: za, - formNoValidate: H, - hidden: H, - loop: H, - multiple: wa | H, - muted: wa | H, - noValidate: H, - open: H, - playsInline: H, - readOnly: H, - required: H, - reversed: H, - rows: ya, - rowSpan: xa, - scoped: H, - seamless: H, - selected: wa | H, - size: ya, - start: xa, - span: ya, - spellCheck: za, - style: 0, - tabIndex: 0, - itemScope: H, - acceptCharset: 0, - className: 0, - htmlFor: 0, - httpEquiv: 0, - value: za - }, - DOMAttributeNames: { - acceptCharset: "accept-charset", - className: "class", - htmlFor: "for", - httpEquiv: "http-equiv" - }, - DOMMutationMethods: { - value: function(a, b) { - if (null == b) return a.removeAttribute("value"); - "number" !== a.type || !1 === a.hasAttribute("value") - ? a.setAttribute("value", "" + b) - : a.validity && - !a.validity.badInput && - a.ownerDocument.activeElement !== a && - a.setAttribute("value", "" + b); + }; + + /** + * 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 + */ + Component.prototype.forceUpdate = function(callback) { + this.updater.enqueueForceUpdate(this, callback, 'forceUpdate'); + }; + + /** + * 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. + */ + { + 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) { + Object.defineProperty(Component.prototype, methodName, { + get: function() { + lowPriorityWarning$1( + 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]); + } } } - }, - Ba = va.HAS_STRING_BOOLEAN_VALUE, - K = { - xlink: "http://www.w3.org/1999/xlink", - xml: "http://www.w3.org/XML/1998/namespace" - }, - Ca = { - Properties: { - autoReverse: Ba, - externalResourcesRequired: Ba, - preserveAlpha: Ba - }, - DOMAttributeNames: { - autoReverse: "autoReverse", - externalResourcesRequired: "externalResourcesRequired", - preserveAlpha: "preserveAlpha" - }, - DOMAttributeNamespaces: { - xlinkActuate: K.xlink, - xlinkArcrole: K.xlink, - xlinkHref: K.xlink, - xlinkRole: K.xlink, - xlinkShow: K.xlink, - xlinkTitle: K.xlink, - xlinkType: K.xlink, - xmlBase: K.xml, - xmlLang: K.xml, - xmlSpace: K.xml + + function ComponentDummy() {} + ComponentDummy.prototype = Component.prototype; + + /** + * Convenience component with default shallow equality check for sCU. + */ + function PureComponent(props, context, updater) { + this.props = props; + this.context = context; + // If a component has string refs, we will assign a different object later. + this.refs = emptyObject; + this.updater = updater || ReactNoopUpdateQueue; + } + + var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy()); + pureComponentPrototype.constructor = PureComponent; + // Avoid an extra prototype jump for these methods. + _assign(pureComponentPrototype, Component.prototype); + pureComponentPrototype.isPureReactComponent = true; + + // an immutable object with a single mutable value + function createRef() { + var refObject = { + current: null + }; + { + Object.seal(refObject); + } + return refObject; } - }, - Da = /[\-\:]([a-z])/g; - function Ea(a) { - return a[1].toUpperCase(); - } - "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode x-height xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xmlns:xlink xml:lang xml:space" - .split(" ") - .forEach(function(a) { - var b = a.replace(Da, Ea); - Ca.Properties[b] = 0; - Ca.DOMAttributeNames[b] = a; - }); - va.injectDOMPropertyConfig(Aa); - va.injectDOMPropertyConfig(Ca); - var N = { - _caughtError: null, - _hasCaughtError: !1, - _rethrowError: null, - _hasRethrowError: !1, - injection: { - injectErrorUtils: function(a) { - "function" !== typeof a.invokeGuardedCallback ? D("197") : void 0; - Ha = a.invokeGuardedCallback; + + /** + * Keeps track of the current owner. + * + * The current owner is the component who should own any components that are + * currently being constructed. + */ + var ReactCurrentOwner = { + /** + * @internal + * @type {ReactComponent} + */ + current: null, + currentDispatcher: null + }; + + var BEFORE_SLASH_RE = /^(.*)[\\\/]/; + + var describeComponentFrame = function(name, source, ownerName) { + var sourceInfo = ''; + if (source) { + var path = source.fileName; + var fileName = path.replace(BEFORE_SLASH_RE, ''); + { + // In DEV, include code for a common special case: + // prefer "folder/index.js" instead of just "index.js". + if (/^index\./.test(fileName)) { + var match = path.match(BEFORE_SLASH_RE); + if (match) { + var pathBeforeSlash = match[1]; + if (pathBeforeSlash) { + var folderName = pathBeforeSlash.replace( + BEFORE_SLASH_RE, + '' + ); + fileName = folderName + '/' + fileName; + } + } + } + } + sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')'; + } else if (ownerName) { + sourceInfo = ' (created by ' + ownerName + ')'; + } + return '\n in ' + (name || 'Unknown') + sourceInfo; + }; + + var Resolved = 1; + + function refineResolvedThenable(thenable) { + return thenable._reactStatus === Resolved + ? thenable._reactResult + : null; } - }, - invokeGuardedCallback: function(a, b, c, d, e, f, g, k, h) { - Ha.apply(N, arguments); - }, - invokeGuardedCallbackAndCatchFirstError: function( - a, - b, - c, - d, - e, - f, - g, - k, - h - ) { - N.invokeGuardedCallback.apply(this, arguments); - if (N.hasCaughtError()) { - var r = N.clearCaughtError(); - N._hasRethrowError || - ((N._hasRethrowError = !0), (N._rethrowError = r)); + + function getComponentName(type) { + if (type == null) { + // Host root, text node or just invalid type. + return null; + } + { + if (typeof type.tag === 'number') { + warningWithoutStack$1( + false, + 'Received an unexpected object in getComponentName(). ' + + 'This is likely a bug in React. Please file an issue.' + ); + } + } + if (typeof type === 'function') { + return type.displayName || type.name || null; + } + if (typeof type === 'string') { + return type; + } + switch (type) { + case REACT_ASYNC_MODE_TYPE: + return 'AsyncMode'; + case REACT_FRAGMENT_TYPE: + return 'Fragment'; + case REACT_PORTAL_TYPE: + return 'Portal'; + case REACT_PROFILER_TYPE: + return 'Profiler'; + case REACT_STRICT_MODE_TYPE: + return 'StrictMode'; + case REACT_PLACEHOLDER_TYPE: + return 'Placeholder'; + } + if (typeof type === 'object') { + switch (type.$$typeof) { + case REACT_CONTEXT_TYPE: + return 'Context.Consumer'; + case REACT_PROVIDER_TYPE: + return 'Context.Provider'; + case REACT_FORWARD_REF_TYPE: + var renderFn = type.render; + var functionName = + renderFn.displayName || renderFn.name || ''; + return ( + type.displayName || + (functionName !== '' + ? 'ForwardRef(' + functionName + ')' + : 'ForwardRef') + ); + } + if (typeof type.then === 'function') { + var thenable = type; + var resolvedThenable = refineResolvedThenable(thenable); + if (resolvedThenable) { + return getComponentName(resolvedThenable); + } + } + } + return null; } - }, - rethrowCaughtError: function() { - return Ia.apply(N, arguments); - }, - hasCaughtError: function() { - return N._hasCaughtError; - }, - clearCaughtError: function() { - if (N._hasCaughtError) { - var a = N._caughtError; - N._caughtError = null; - N._hasCaughtError = !1; - return a; + + var ReactDebugCurrentFrame = {}; + + var currentlyValidatingElement = null; + + function setCurrentlyValidatingElement(element) { + { + currentlyValidatingElement = element; + } } - D("198"); - } - }; - function Ha(a, b, c, d, e, f, g, k, h) { - N._hasCaughtError = !1; - N._caughtError = null; - var r = Array.prototype.slice.call(arguments, 3); - try { - b.apply(c, r); - } catch (n) { - (N._caughtError = n), (N._hasCaughtError = !0); - } - } - function Ia() { - if (N._hasRethrowError) { - var a = N._rethrowError; - N._rethrowError = null; - N._hasRethrowError = !1; - throw a; - } - } - var Ja = null, - Ka = {}; - function La() { - if (Ja) - for (var a in Ka) { - var b = Ka[a], - c = Ja.indexOf(a); - -1 < c ? void 0 : D("96", a); - if (!Ma[c]) { - b.extractEvents ? void 0 : D("97", a); - Ma[c] = b; - c = b.eventTypes; - for (var d in c) { - var e = void 0; - var f = c[d], - g = b, - k = d; - Na.hasOwnProperty(k) ? D("99", k) : void 0; - Na[k] = f; - var h = f.phasedRegistrationNames; - if (h) { - for (e in h) h.hasOwnProperty(e) && Oa(h[e], g, k); - e = !0; - } else - f.registrationName - ? (Oa(f.registrationName, g, k), (e = !0)) - : (e = !1); - e ? void 0 : D("98", d, a); + + { + // Stack implementation injected by the current renderer. + ReactDebugCurrentFrame.getCurrentStack = null; + + ReactDebugCurrentFrame.getStackAddendum = function() { + var stack = ''; + + // Add an extra top frame while an element is being validated + if (currentlyValidatingElement) { + var name = getComponentName(currentlyValidatingElement.type); + var owner = currentlyValidatingElement._owner; + stack += describeComponentFrame( + name, + currentlyValidatingElement._source, + owner && getComponentName(owner.type) + ); + } + + // Delegate to the injected renderer-specific implementation + var impl = ReactDebugCurrentFrame.getCurrentStack; + if (impl) { + stack += impl() || ''; + } + + return stack; + }; + } + + var ReactSharedInternals = { + ReactCurrentOwner: ReactCurrentOwner, + // Used by renderers to avoid bundling object-assign twice in UMD bundles: + assign: _assign + }; + + { + _assign(ReactSharedInternals, { + // These should not be included in production. + ReactDebugCurrentFrame: ReactDebugCurrentFrame, + // Shim for React DOM 16.0.0 which still destructured (but not used) this. + // TODO: remove in React 17.0. + ReactComponentTreeHook: {} + }); + } + + /** + * 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 = warningWithoutStack$1; + + { + warning = function(condition, format) { + if (condition) { + return; + } + var ReactDebugCurrentFrame = + ReactSharedInternals.ReactDebugCurrentFrame; + var stack = ReactDebugCurrentFrame.getStackAddendum(); + // eslint-disable-next-line react-internal/warning-and-invariant-args + + for ( + var _len = arguments.length, + args = Array(_len > 2 ? _len - 2 : 0), + _key = 2; + _key < _len; + _key++ + ) { + args[_key - 2] = arguments[_key]; + } + + warningWithoutStack$1.apply( + undefined, + [false, format + '%s'].concat(args, [stack]) + ); + }; + } + + var warning$1 = warning; + + var hasOwnProperty = Object.prototype.hasOwnProperty; + + var RESERVED_PROPS = { + key: true, + ref: true, + __self: true, + __source: true + }; + + var specialPropKeyWarningShown = void 0; + var specialPropRefWarningShown = void 0; + + function hasValidRef(config) { + { + if (hasOwnProperty.call(config, 'ref')) { + var getter = Object.getOwnPropertyDescriptor(config, 'ref').get; + if (getter && getter.isReactWarning) { + return false; + } } } + return config.ref !== undefined; } - } - function Oa(a, b, c) { - Pa[a] ? D("100", a) : void 0; - Pa[a] = b; - Qa[a] = b.eventTypes[c].dependencies; - } - var Ma = [], - Na = {}, - Pa = {}, - Qa = {}; - function Ra(a) { - Ja ? D("101") : void 0; - Ja = Array.prototype.slice.call(a); - La(); - } - function Sa(a) { - var b = !1, - c; - for (c in a) - if (a.hasOwnProperty(c)) { - var d = a[c]; - (Ka.hasOwnProperty(c) && Ka[c] === d) || - (Ka[c] ? D("102", c) : void 0, (Ka[c] = d), (b = !0)); - } - b && La(); - } - var Ta = Object.freeze({ - plugins: Ma, - eventNameDispatchConfigs: Na, - registrationNameModules: Pa, - registrationNameDependencies: Qa, - possibleRegistrationNames: null, - injectEventPluginOrder: Ra, - injectEventPluginsByName: Sa - }), - Ua = null, - Va = null, - Wa = null; - function Xa(a, b, c, d) { - b = a.type || "unknown-event"; - a.currentTarget = Wa(d); - N.invokeGuardedCallbackAndCatchFirstError(b, c, void 0, a); - a.currentTarget = null; - } - function Ya(a, b) { - null == b ? D("30") : void 0; - if (null == a) return b; - if (Array.isArray(a)) { - if (Array.isArray(b)) return a.push.apply(a, b), a; - a.push(b); - return a; - } - return Array.isArray(b) ? [a].concat(b) : [a, b]; - } - function Za(a, b, c) { - Array.isArray(a) ? a.forEach(b, c) : a && b.call(c, a); - } - var $a = null; - function ab(a, b) { - if (a) { - var c = a._dispatchListeners, - d = a._dispatchInstances; - if (Array.isArray(c)) - for (var e = 0; e < c.length && !a.isPropagationStopped(); e++) - Xa(a, b, c[e], d[e]); - else c && Xa(a, b, c, d); - a._dispatchListeners = null; - a._dispatchInstances = null; - a.isPersistent() || a.constructor.release(a); - } - } - function bb(a) { - return ab(a, !0); - } - function cb(a) { - return ab(a, !1); - } - var db = { injectEventPluginOrder: Ra, injectEventPluginsByName: Sa }; - function eb(a, b) { - var c = a.stateNode; - if (!c) return null; - var d = Ua(c); - if (!d) return null; - c = d[b]; - a: switch (b) { - case "onClick": - case "onClickCapture": - case "onDoubleClick": - case "onDoubleClickCapture": - case "onMouseDown": - case "onMouseDownCapture": - case "onMouseMove": - case "onMouseMoveCapture": - case "onMouseUp": - case "onMouseUpCapture": - (d = !d.disabled) || - ((a = a.type), - (d = !( - "button" === a || - "input" === a || - "select" === a || - "textarea" === a - ))); - a = !d; - break a; - default: - a = !1; - } - if (a) return null; - c && "function" !== typeof c ? D("231", b, typeof c) : void 0; - return c; - } - function jb(a, b, c, d) { - for (var e, f = 0; f < Ma.length; f++) { - var g = Ma[f]; - g && (g = g.extractEvents(a, b, c, d)) && (e = Ya(e, g)); - } - return e; - } - function kb(a) { - a && ($a = Ya($a, a)); - } - function lb(a) { - var b = $a; - $a = null; - a ? Za(b, bb) : Za(b, cb); - $a ? D("95") : void 0; - N.rethrowCaughtError(); - } - var mb = Object.freeze({ - injection: db, - getListener: eb, - extractEvents: jb, - enqueueEvents: kb, - processEventQueue: lb - }), - nb = Math.random() - .toString(36) - .slice(2), - O = "__reactInternalInstance$" + nb, - ob = "__reactEventHandlers$" + nb; - function pb(a) { - if (a[O]) return a[O]; - for (var b = []; !a[O]; ) - if ((b.push(a), a.parentNode)) a = a.parentNode; - else return null; - var c = void 0, - d = a[O]; - if (5 === d.tag || 6 === d.tag) return d; - for (; a && (d = a[O]); a = b.pop()) c = d; - return c; - } - function qb(a) { - if (5 === a.tag || 6 === a.tag) return a.stateNode; - D("33"); - } - function rb(a) { - return a[ob] || null; - } - var sb = Object.freeze({ - precacheFiberNode: function(a, b) { - b[O] = a; - }, - getClosestInstanceFromNode: pb, - getInstanceFromNode: function(a) { - a = a[O]; - return !a || (5 !== a.tag && 6 !== a.tag) ? null : a; - }, - getNodeFromInstance: qb, - getFiberCurrentPropsFromNode: rb, - updateFiberProps: function(a, b) { - a[ob] = b; - } - }); - function Q(a) { - do a = a["return"]; - while (a && 5 !== a.tag); - return a ? a : null; - } - function tb(a, b, c) { - for (var d = []; a; ) d.push(a), (a = Q(a)); - for (a = d.length; 0 < a--; ) b(d[a], "captured", c); - for (a = 0; a < d.length; a++) b(d[a], "bubbled", c); - } - function ub(a, b, c) { - if ((b = eb(a, c.dispatchConfig.phasedRegistrationNames[b]))) - (c._dispatchListeners = Ya(c._dispatchListeners, b)), - (c._dispatchInstances = Ya(c._dispatchInstances, a)); - } - function vb(a) { - a && - a.dispatchConfig.phasedRegistrationNames && - tb(a._targetInst, ub, a); - } - function wb(a) { - if (a && a.dispatchConfig.phasedRegistrationNames) { - var b = a._targetInst; - b = b ? Q(b) : null; - tb(b, ub, a); - } - } - function xb(a, b, c) { - a && - c && - c.dispatchConfig.registrationName && - (b = eb(a, c.dispatchConfig.registrationName)) && - ((c._dispatchListeners = Ya(c._dispatchListeners, b)), - (c._dispatchInstances = Ya(c._dispatchInstances, a))); - } - function yb(a) { - a && a.dispatchConfig.registrationName && xb(a._targetInst, null, a); - } - function zb(a) { - Za(a, vb); - } - function Ab(a, b, c, d) { - if (c && d) - a: { - var e = c; - for (var f = d, g = 0, k = e; k; k = Q(k)) g++; - k = 0; - for (var h = f; h; h = Q(h)) k++; - for (; 0 < g - k; ) (e = Q(e)), g--; - for (; 0 < k - g; ) (f = Q(f)), k--; - for (; g--; ) { - if (e === f || e === f.alternate) break a; - e = Q(e); - f = Q(f); - } - e = null; - } - else e = null; - f = e; - for (e = []; c && c !== f; ) { - g = c.alternate; - if (null !== g && g === f) break; - e.push(c); - c = Q(c); - } - for (c = []; d && d !== f; ) { - g = d.alternate; - if (null !== g && g === f) break; - c.push(d); - d = Q(d); - } - for (d = 0; d < e.length; d++) xb(e[d], "bubbled", a); - for (a = c.length; 0 < a--; ) xb(c[a], "captured", b); - } - var Bb = Object.freeze({ - accumulateTwoPhaseDispatches: zb, - accumulateTwoPhaseDispatchesSkipTarget: function(a) { - Za(a, wb); - }, - accumulateEnterLeaveDispatches: Ab, - accumulateDirectDispatches: function(a) { - Za(a, yb); + + function hasValidKey(config) { + { + if (hasOwnProperty.call(config, 'key')) { + var getter = Object.getOwnPropertyDescriptor(config, 'key').get; + if (getter && getter.isReactWarning) { + return false; + } + } + } + return config.key !== undefined; } - }), - Cb = null; - function Db() { - !Cb && - m.canUseDOM && - (Cb = - "textContent" in document.documentElement - ? "textContent" - : "innerText"); - return Cb; - } - var R = { _root: null, _startText: null, _fallbackText: null }; - function Eb() { - if (R._fallbackText) return R._fallbackText; - var a, - b = R._startText, - c = b.length, - d, - e = Fb(), - f = e.length; - for (a = 0; a < c && b[a] === e[a]; a++); - var g = c - a; - for (d = 1; d <= g && b[c - d] === e[f - d]; d++); - R._fallbackText = e.slice(a, 1 < d ? 1 - d : void 0); - return R._fallbackText; - } - function Fb() { - return "value" in R._root ? R._root.value : R._root[Db()]; - } - var Gb = "dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split( - " " - ), - Hb = { - type: null, - target: null, - currentTarget: B.thatReturnsNull, - eventPhase: null, - bubbles: null, - cancelable: null, - timeStamp: function(a) { - return a.timeStamp || Date.now(); - }, - defaultPrevented: null, - isTrusted: null - }; - function S(a, b, c, d) { - this.dispatchConfig = a; - this._targetInst = b; - this.nativeEvent = c; - a = this.constructor.Interface; - for (var e in a) - a.hasOwnProperty(e) && - ((b = a[e]) - ? (this[e] = b(c)) - : "target" === e ? (this.target = d) : (this[e] = c[e])); - this.isDefaultPrevented = (null != c.defaultPrevented - ? c.defaultPrevented - : !1 === c.returnValue) - ? B.thatReturnsTrue - : B.thatReturnsFalse; - this.isPropagationStopped = B.thatReturnsFalse; - return this; - } - A(S.prototype, { - preventDefault: function() { - this.defaultPrevented = !0; - var a = this.nativeEvent; - a && - (a.preventDefault - ? a.preventDefault() - : "unknown" !== typeof a.returnValue && (a.returnValue = !1), - (this.isDefaultPrevented = B.thatReturnsTrue)); - }, - stopPropagation: function() { - var a = this.nativeEvent; - a && - (a.stopPropagation - ? a.stopPropagation() - : "unknown" !== typeof a.cancelBubble && (a.cancelBubble = !0), - (this.isPropagationStopped = B.thatReturnsTrue)); - }, - persist: function() { - this.isPersistent = B.thatReturnsTrue; - }, - isPersistent: B.thatReturnsFalse, - destructor: function() { - var a = this.constructor.Interface, - b; - for (b in a) this[b] = null; - for (a = 0; a < Gb.length; a++) this[Gb[a]] = null; - } - }); - S.Interface = Hb; - S.augmentClass = function(a, b) { - function c() {} - c.prototype = this.prototype; - var d = new c(); - A(d, a.prototype); - a.prototype = d; - a.prototype.constructor = a; - a.Interface = A({}, this.Interface, b); - a.augmentClass = this.augmentClass; - Ib(a); - }; - Ib(S); - function Jb(a, b, c, d) { - if (this.eventPool.length) { - var e = this.eventPool.pop(); - this.call(e, a, b, c, d); - return e; - } - return new this(a, b, c, d); - } - function Qb(a) { - a instanceof this ? void 0 : D("223"); - a.destructor(); - 10 > this.eventPool.length && this.eventPool.push(a); - } - function Ib(a) { - a.eventPool = []; - a.getPooled = Jb; - a.release = Qb; - } - function Rb(a, b, c, d) { - return S.call(this, a, b, c, d); - } - S.augmentClass(Rb, { data: null }); - function Sb(a, b, c, d) { - return S.call(this, a, b, c, d); - } - S.augmentClass(Sb, { data: null }); - var Tb = [9, 13, 27, 32], - Ub = m.canUseDOM && "CompositionEvent" in window, - Vb = null; - m.canUseDOM && "documentMode" in document && (Vb = document.documentMode); - var Wb; - if ((Wb = m.canUseDOM && "TextEvent" in window && !Vb)) { - var Xb = window.opera; - Wb = !( - "object" === typeof Xb && - "function" === typeof Xb.version && - 12 >= parseInt(Xb.version(), 10) - ); - } - var Yb = Wb, - Zb = m.canUseDOM && (!Ub || (Vb && 8 < Vb && 11 >= Vb)), - $b = String.fromCharCode(32), - ac = { - beforeInput: { - phasedRegistrationNames: { - bubbled: "onBeforeInput", - captured: "onBeforeInputCapture" - }, - dependencies: [ - "topCompositionEnd", - "topKeyPress", - "topTextInput", - "topPaste" - ] - }, - compositionEnd: { - phasedRegistrationNames: { - bubbled: "onCompositionEnd", - captured: "onCompositionEndCapture" - }, - dependencies: "topBlur topCompositionEnd topKeyDown topKeyPress topKeyUp topMouseDown".split( - " " - ) - }, - compositionStart: { - phasedRegistrationNames: { - bubbled: "onCompositionStart", - captured: "onCompositionStartCapture" - }, - dependencies: "topBlur topCompositionStart topKeyDown topKeyPress topKeyUp topMouseDown".split( - " " - ) - }, - compositionUpdate: { - phasedRegistrationNames: { - bubbled: "onCompositionUpdate", - captured: "onCompositionUpdateCapture" - }, - dependencies: "topBlur topCompositionUpdate topKeyDown topKeyPress topKeyUp topMouseDown".split( - " " - ) + + function defineKeyPropWarningGetter(props, displayName) { + var warnAboutAccessingKey = function() { + if (!specialPropKeyWarningShown) { + specialPropKeyWarningShown = true; + warningWithoutStack$1( + 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 + ); + } + }; + warnAboutAccessingKey.isReactWarning = true; + Object.defineProperty(props, 'key', { + get: warnAboutAccessingKey, + configurable: true + }); } - }, - bc = !1; - function cc(a, b) { - switch (a) { - case "topKeyUp": - return -1 !== Tb.indexOf(b.keyCode); - case "topKeyDown": - return 229 !== b.keyCode; - case "topKeyPress": - case "topMouseDown": - case "topBlur": - return !0; - default: - return !1; - } - } - function dc(a) { - a = a.detail; - return "object" === typeof a && "data" in a ? a.data : null; - } - var ec = !1; - function fc(a, b) { - switch (a) { - case "topCompositionEnd": - return dc(b); - case "topKeyPress": - if (32 !== b.which) return null; - bc = !0; - return $b; - case "topTextInput": - return (a = b.data), a === $b && bc ? null : a; - default: - return null; - } - } - function gc(a, b) { - if (ec) - return "topCompositionEnd" === a || (!Ub && cc(a, b)) - ? ((a = Eb()), - (R._root = null), - (R._startText = null), - (R._fallbackText = null), - (ec = !1), - a) - : null; - switch (a) { - case "topPaste": - return null; - case "topKeyPress": + + function defineRefPropWarningGetter(props, displayName) { + var warnAboutAccessingRef = function() { + if (!specialPropRefWarningShown) { + specialPropRefWarningShown = true; + warningWithoutStack$1( + 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 + ); + } + }; + warnAboutAccessingRef.isReactWarning = true; + Object.defineProperty(props, 'ref', { + get: warnAboutAccessingRef, + configurable: true + }); + } + + /** + * 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 {*} 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 allows 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, + + // Record the component responsible for creating this element. + _owner: owner + }; + + { + // 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 = {}; + + // 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. + 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 + }); + if (Object.freeze) { + Object.freeze(element.props); + Object.freeze(element); + } + } + + return element; + }; + + /** + * Create and return a new ReactElement of the given type. + * See https://reactjs.org/docs/react-api.html#createelement + */ + function createElement(type, config, children) { + var propName = void 0; + + // Reserved names are extracted + var props = {}; + + var key = null; + var ref = null; + var self = null; + var source = null; + + if (config != null) { + if (hasValidRef(config)) { + ref = config.ref; + } + if (hasValidKey(config)) { + key = '' + config.key; + } + + 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]; + } + } + } + + // 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 (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 (key || ref) { + 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 + ); + } + + /** + * Return a function that produces ReactElements of a given type. + * See https://reactjs.org/docs/react-api.html#createfactory + */ + + function cloneAndReplaceKey(oldElement, newKey) { + var newElement = ReactElement( + oldElement.type, + newKey, + oldElement.ref, + oldElement._self, + oldElement._source, + oldElement._owner, + oldElement.props + ); + + return newElement; + } + + /** + * Clone and return a new ReactElement using element as the starting point. + * See https://reactjs.org/docs/react-api.html#cloneelement + */ + function cloneElement(element, config, children) { + !!(element === null || element === undefined) + ? invariant( + false, + 'React.cloneElement(...): The argument must be a React element, but you passed %s.', + element + ) + : void 0; + + var propName = void 0; + + // 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; + + 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 = void 0; + 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]; + } + } + } + } + + // 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; + } + + return ReactElement( + element.type, + key, + ref, + self, + source, + owner, + props + ); + } + + /** + * Verifies the object is a ReactElement. + * See https://reactjs.org/docs/react-api.html#isvalidelement + * @param {?object} object + * @return {boolean} True if `object` is a ReactElement. + * @final + */ + function isValidElement(object) { + return ( + typeof object === 'object' && + object !== null && + object.$$typeof === REACT_ELEMENT_TYPE + ); + } + + var SEPARATOR = '.'; + var SUBSEPARATOR = ':'; + + /** + * Escape and wrap key so it is safe to use as a reactid + * + * @param {string} key to be escaped. + * @return {string} the escaped key. + */ + function escape(key) { + var escapeRegex = /[=:]/g; + var escaperLookup = { + '=': '=0', + ':': '=2' + }; + var escapedString = ('' + key).replace(escapeRegex, function( + match + ) { + return escaperLookup[match]; + }); + + return '$' + escapedString; + } + + /** + * TODO: Test that a single child and an array with one item have the same key + * pattern. + */ + + var didWarnAboutMaps = false; + + var userProvidedKeyEscapeRegex = /\/+/g; + function escapeUserProvidedKey(text) { + return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/'); + } + + var POOL_SIZE = 10; + var traverseContextPool = []; + function getPooledTraverseContext( + mapResult, + keyPrefix, + mapFunction, + mapContext + ) { + if (traverseContextPool.length) { + var traverseContext = traverseContextPool.pop(); + traverseContext.result = mapResult; + traverseContext.keyPrefix = keyPrefix; + traverseContext.func = mapFunction; + traverseContext.context = mapContext; + traverseContext.count = 0; + return traverseContext; + } else { + return { + result: mapResult, + keyPrefix: keyPrefix, + func: mapFunction, + context: mapContext, + count: 0 + }; + } + } + + function releaseTraverseContext(traverseContext) { + traverseContext.result = null; + traverseContext.keyPrefix = null; + traverseContext.func = null; + traverseContext.context = null; + traverseContext.count = 0; + if (traverseContextPool.length < POOL_SIZE) { + traverseContextPool.push(traverseContext); + } + } + + /** + * @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; + } + + var invokeCallback = false; + + if (children === null) { + invokeCallback = true; + } else { + switch (type) { + case 'string': + case 'number': + invokeCallback = true; + break; + case 'object': + switch (children.$$typeof) { + case REACT_ELEMENT_TYPE: + case REACT_PORTAL_TYPE: + invokeCallback = true; + } + } + } + + if (invokeCallback) { + 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 = void 0; + var nextName = void 0; + 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 (typeof iteratorFn === 'function') { + { + // Warn about using Maps as children + if (iteratorFn === children.entries) { + !didWarnAboutMaps + ? warning$1( + false, + 'Using Maps as children is unsupported and will likely yield ' + + 'unexpected results. Convert it to a sequence/iterable of keyed ' + + 'ReactElements instead.' + ) + : void 0; + didWarnAboutMaps = true; + } + } + + var iterator = iteratorFn.call(children); + var step = void 0; + var ii = 0; + while (!(step = iterator.next()).done) { + child = step.value; + nextName = nextNamePrefix + getComponentKey(child, ii++); + subtreeCount += traverseAllChildrenImpl( + child, + nextName, + callback, + traverseContext + ); + } + } else if (type === 'object') { + var addendum = ''; + { + addendum = + ' If you meant to render a collection of children, use an array ' + + 'instead.' + + ReactDebugCurrentFrame.getStackAddendum(); + } + var childrenString = '' + children; + 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 + ); + } + } + + 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 + ); + } + + /** + * 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 ( - !(b.ctrlKey || b.altKey || b.metaKey) || - (b.ctrlKey && b.altKey) + typeof component === 'object' && + component !== null && + component.key != null ) { - if (b.char && 1 < b.char.length) return b.char; - if (b.which) return String.fromCharCode(b.which); + // Explicit key + return escape(component.key); } - return null; - case "topCompositionEnd": - return Zb ? null : b.data; - default: - return null; - } - } - var hc = { - eventTypes: ac, - extractEvents: function(a, b, c, d) { - var e; - if (Ub) - b: { - switch (a) { - case "topCompositionStart": - var f = ac.compositionStart; - break b; - case "topCompositionEnd": - f = ac.compositionEnd; - break b; - case "topCompositionUpdate": - f = ac.compositionUpdate; - break b; + // Implicit key determined by the index in the set + return index.toString(36); + } + + function forEachSingleChild(bookKeeping, child, name) { + var func = bookKeeping.func, + context = bookKeeping.context; + + func.call(context, child, bookKeeping.count++); + } + + /** + * Iterates through children that are typically specified as `props.children`. + * + * See https://reactjs.org/docs/react-api.html#reactchildrenforeach + * + * 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; + } + var traverseContext = getPooledTraverseContext( + null, + null, + forEachFunc, + forEachContext + ); + traverseAllChildren(children, forEachSingleChild, traverseContext); + releaseTraverseContext(traverseContext); + } + + 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, + function(c) { + return c; } - f = void 0; + ); + } else if (mappedChild != null) { + if (isValidElement(mappedChild)) { + mappedChild = 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 + ); } - else - ec - ? cc(a, c) && (f = ac.compositionEnd) - : "topKeyDown" === a && - 229 === c.keyCode && - (f = ac.compositionStart); - f - ? (Zb && - (ec || f !== ac.compositionStart - ? f === ac.compositionEnd && ec && (e = Eb()) - : ((R._root = d), (R._startText = Fb()), (ec = !0))), - (f = Rb.getPooled(f, b, c, d)), - e ? (f.data = e) : ((e = dc(c)), null !== e && (f.data = e)), - zb(f), - (e = f)) - : (e = null); - (a = Yb ? fc(a, c) : gc(a, c)) - ? ((b = Sb.getPooled(ac.beforeInput, b, c, d)), - (b.data = a), - zb(b)) - : (b = null); - return [e, b]; + result.push(mappedChild); + } } - }, - ic = null, - jc = null, - kc = null; - function lc(a) { - if ((a = Va(a))) { - ic && "function" === typeof ic.restoreControlledState - ? void 0 - : D("194"); - var b = Ua(a.stateNode); - ic.restoreControlledState(a.stateNode, a.type, b); - } - } - var mc = { - injectFiberControlledHostComponent: function(a) { - ic = a; - } - }; - function nc(a) { - jc ? (kc ? kc.push(a) : (kc = [a])) : (jc = a); - } - function oc() { - if (jc) { - var a = jc, - b = kc; - kc = jc = null; - lc(a); - if (b) for (a = 0; a < b.length; a++) lc(b[a]); - } - } - var pc = Object.freeze({ - injection: mc, - enqueueStateRestore: nc, - restoreStateIfNeeded: oc - }); - function qc(a, b) { - return a(b); - } - var rc = !1; - function sc(a, b) { - if (rc) return qc(a, b); - rc = !0; - try { - return qc(a, b); - } finally { - (rc = !1), oc(); - } - } - var tc = { - color: !0, - date: !0, - datetime: !0, - "datetime-local": !0, - email: !0, - month: !0, - number: !0, - password: !0, - range: !0, - search: !0, - tel: !0, - text: !0, - time: !0, - url: !0, - week: !0 - }; - function uc(a) { - var b = a && a.nodeName && a.nodeName.toLowerCase(); - return "input" === b ? !!tc[a.type] : "textarea" === b ? !0 : !1; - } - function vc(a) { - a = a.target || a.srcElement || window; - a.correspondingUseElement && (a = a.correspondingUseElement); - return 3 === a.nodeType ? a.parentNode : a; - } - var wc; - m.canUseDOM && - (wc = - document.implementation && - document.implementation.hasFeature && - !0 !== document.implementation.hasFeature("", "")); - function xc(a, b) { - if (!m.canUseDOM || (b && !("addEventListener" in document))) return !1; - b = "on" + a; - var c = b in document; - c || - ((c = document.createElement("div")), - c.setAttribute(b, "return;"), - (c = "function" === typeof c[b])); - !c && - wc && - "wheel" === a && - (c = document.implementation.hasFeature("Events.wheel", "3.0")); - return c; - } - function yc(a) { - var b = a.type; - return ( - (a = a.nodeName) && - "input" === a.toLowerCase() && - ("checkbox" === b || "radio" === b) - ); - } - function zc(a) { - var b = yc(a) ? "checked" : "value", - c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b), - d = "" + a[b]; - if ( - !a.hasOwnProperty(b) && - "function" === typeof c.get && - "function" === typeof c.set - ) - return ( - Object.defineProperty(a, b, { - enumerable: c.enumerable, - configurable: !0, - get: function() { - return c.get.call(this); + + function mapIntoWithKeyPrefixInternal( + children, + array, + prefix, + func, + context + ) { + var escapedPrefix = ''; + if (prefix != null) { + escapedPrefix = escapeUserProvidedKey(prefix) + '/'; + } + var traverseContext = getPooledTraverseContext( + array, + escapedPrefix, + func, + context + ); + traverseAllChildren( + children, + mapSingleChildIntoContext, + traverseContext + ); + releaseTraverseContext(traverseContext); + } + + /** + * Maps children that are typically specified as `props.children`. + * + * See https://reactjs.org/docs/react-api.html#reactchildrenmap + * + * 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. + */ + function mapChildren(children, func, context) { + if (children == null) { + return children; + } + var result = []; + mapIntoWithKeyPrefixInternal(children, result, null, func, context); + return result; + } + + /** + * Count the number of children that are typically specified as + * `props.children`. + * + * See https://reactjs.org/docs/react-api.html#reactchildrencount + * + * @param {?*} children Children tree container. + * @return {number} The number of children. + */ + function countChildren(children) { + return traverseAllChildren( + children, + function() { + return null; }, - set: function(a) { - d = "" + a; - c.set.call(this, a); + null + ); + } + + /** + * Flatten a children object (typically specified as `props.children`) and + * return an array with appropriately re-keyed children. + * + * See https://reactjs.org/docs/react-api.html#reactchildrentoarray + */ + function toArray(children) { + var result = []; + mapIntoWithKeyPrefixInternal(children, result, null, function( + child + ) { + return child; + }); + return result; + } + + /** + * Returns the first child in a collection of children and verifies that there + * is only one child in the collection. + * + * See https://reactjs.org/docs/react-api.html#reactchildrenonly + * + * The current implementation of this function assumes that a single child gets + * passed without a wrapper, but the purpose of this helper function is to + * abstract away the particular structure of children. + * + * @param {?object} children Child collection structure. + * @return {ReactElement} The first and only `ReactElement` contained in the + * structure. + */ + function onlyChild(children) { + !isValidElement(children) + ? invariant( + false, + 'React.Children.only expected to receive a single React element child.' + ) + : void 0; + return children; + } + + function readContext(context, observedBits) { + var dispatcher = ReactCurrentOwner.currentDispatcher; + !(dispatcher !== null) + ? invariant( + false, + 'Context.unstable_read(): Context can only be read while React is rendering, e.g. inside the render method or getDerivedStateFromProps.' + ) + : void 0; + return dispatcher.readContext(context, observedBits); + } + + function createContext(defaultValue, calculateChangedBits) { + if (calculateChangedBits === undefined) { + calculateChangedBits = null; + } else { + { + !( + calculateChangedBits === null || + typeof calculateChangedBits === 'function' + ) + ? warningWithoutStack$1( + false, + 'createContext: Expected the optional second argument to be a ' + + 'function. Instead received: %s', + calculateChangedBits + ) + : void 0; } - }), + } + + var context = { + $$typeof: REACT_CONTEXT_TYPE, + _calculateChangedBits: calculateChangedBits, + // As a workaround to support multiple concurrent renderers, we categorize + // some renderers as primary and others as secondary. We only expect + // there to be two concurrent renderers at most: React Native (primary) and + // Fabric (secondary); React DOM (primary) and React ART (secondary). + // Secondary renderers store their context values on separate fields. + _currentValue: defaultValue, + _currentValue2: defaultValue, + // These are circular + Provider: null, + Consumer: null, + unstable_read: null + }; + + context.Provider = { + $$typeof: REACT_PROVIDER_TYPE, + _context: context + }; + context.Consumer = context; + context.unstable_read = readContext.bind(null, context); + { - getValue: function() { - return d; - }, - setValue: function(a) { - d = "" + a; + context._currentRenderer = null; + context._currentRenderer2 = null; + } + + return context; + } + + function lazy(ctor) { + var thenable = null; + return { + then: function(resolve, reject) { + if (thenable === null) { + // Lazily create thenable by wrapping in an extra thenable. + thenable = ctor(); + ctor = null; + } + return thenable.then(resolve, reject); }, - stopTracking: function() { - a._valueTracker = null; - delete a[b]; + + // React uses these fields to store the result. + _reactStatus: -1, + _reactResult: null + }; + } + + function forwardRef(render) { + { + if (typeof render !== 'function') { + warningWithoutStack$1( + false, + 'forwardRef requires a render function but was given %s.', + render === null ? 'null' : typeof render + ); + } else { + !// Do not warn for 0 arguments because it could be due to usage of the 'arguments' object + (render.length === 0 || render.length === 2) + ? warningWithoutStack$1( + false, + 'forwardRef render functions accept exactly two parameters: props and ref. %s', + render.length === 1 + ? 'Did you forget to use the ref parameter?' + : 'Any additional parameter will be undefined.' + ) + : void 0; + } + + if (render != null) { + !(render.defaultProps == null && render.propTypes == null) + ? warningWithoutStack$1( + false, + 'forwardRef render functions do not support propTypes or defaultProps. ' + + 'Did you accidentally pass a React component?' + ) + : void 0; } } - ); - } - function Ac(a) { - a._valueTracker || (a._valueTracker = zc(a)); - } - function Bc(a) { - if (!a) return !1; - var b = a._valueTracker; - if (!b) return !0; - var c = b.getValue(); - var d = ""; - a && (d = yc(a) ? (a.checked ? "true" : "false") : a.value); - a = d; - return a !== c ? (b.setValue(a), !0) : !1; - } - var Cc = { - change: { - phasedRegistrationNames: { - bubbled: "onChange", - captured: "onChangeCapture" - }, - dependencies: "topBlur topChange topClick topFocus topInput topKeyDown topKeyUp topSelectionChange".split( - " " - ) + + return { + $$typeof: REACT_FORWARD_REF_TYPE, + render: render + }; + } + + function isValidElementType(type) { + return ( + typeof type === 'string' || + typeof type === 'function' || + // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. + type === REACT_FRAGMENT_TYPE || + type === REACT_ASYNC_MODE_TYPE || + type === REACT_PROFILER_TYPE || + type === REACT_STRICT_MODE_TYPE || + type === REACT_PLACEHOLDER_TYPE || + (typeof type === 'object' && + type !== null && + (typeof type.then === 'function' || + type.$$typeof === REACT_PROVIDER_TYPE || + type.$$typeof === REACT_CONTEXT_TYPE || + type.$$typeof === REACT_FORWARD_REF_TYPE)) + ); + } + + /** + * ReactElementValidator provides a wrapper around a element factory + * which validates the props passed to the element. This is intended to be + * used only in DEV and could be replaced by a static type checker for languages + * that support it. + */ + + var propTypesMisspellWarningShown = void 0; + + { + propTypesMisspellWarningShown = false; + } + + function getDeclarationErrorAddendum() { + if (ReactCurrentOwner.current) { + var name = getComponentName(ReactCurrentOwner.current.type); + if (name) { + return '\n\nCheck the render method of `' + name + '`.'; + } + } + return ''; + } + + function getSourceInfoErrorAddendum(elementProps) { + if ( + elementProps !== null && + elementProps !== undefined && + elementProps.__source !== undefined + ) { + var source = elementProps.__source; + var fileName = source.fileName.replace(/^.*[\\\/]/, ''); + var lineNumber = source.lineNumber; + return ( + '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.' + ); + } + return ''; + } + + /** + * Warn if there's no key explicitly set on dynamic arrays of children or + * object keys are not valid. This allows us to keep track of children between + * updates. + */ + var ownerHasKeyUseWarning = {}; + + function getCurrentComponentErrorInfo(parentType) { + var info = getDeclarationErrorAddendum(); + + if (!info) { + var parentName = + typeof parentType === 'string' + ? parentType + : parentType.displayName || parentType.name; + if (parentName) { + info = + '\n\nCheck the top-level render call using <' + + parentName + + '>.'; + } + } + return info; + } + + /** + * Warn if the element doesn't have an explicit key assigned to it. + * This element is in an array. The array could grow and shrink or be + * reordered. All children that haven't already been validated are required to + * have a "key" property assigned to it. Error statuses are cached so a warning + * will only be shown once. + * + * @internal + * @param {ReactElement} element Element that requires a key. + * @param {*} parentType element's parent's type. + */ + function validateExplicitKey(element, parentType) { + if ( + !element._store || + element._store.validated || + element.key != null + ) { + return; + } + element._store.validated = true; + + var currentComponentErrorInfo = getCurrentComponentErrorInfo( + parentType + ); + if (ownerHasKeyUseWarning[currentComponentErrorInfo]) { + return; + } + ownerHasKeyUseWarning[currentComponentErrorInfo] = true; + + // Usually the current owner is the offender, but if it accepts children as a + // property, it may be the creator of the child that's responsible for + // assigning it a key. + var childOwner = ''; + if ( + element && + element._owner && + element._owner !== ReactCurrentOwner.current + ) { + // Give the component that originally created this child. + childOwner = + ' It was passed a child from ' + + getComponentName(element._owner.type) + + '.'; + } + + setCurrentlyValidatingElement(element); + { + warning$1( + false, + 'Each child in an array or iterator should have a unique "key" prop.' + + '%s%s See https://fb.me/react-warning-keys for more information.', + currentComponentErrorInfo, + childOwner + ); + } + setCurrentlyValidatingElement(null); + } + + /** + * Ensure that every element either is passed in a static location, in an + * array with an explicit keys property defined, or in an object literal + * with valid key property. + * + * @internal + * @param {ReactNode} node Statically passed child of any type. + * @param {*} parentType node's parent's type. + */ + function validateChildKeys(node, parentType) { + if (typeof node !== 'object') { + return; + } + if (Array.isArray(node)) { + for (var i = 0; i < node.length; i++) { + var child = node[i]; + if (isValidElement(child)) { + validateExplicitKey(child, parentType); + } + } + } else if (isValidElement(node)) { + // This element was passed in a valid location. + if (node._store) { + node._store.validated = true; + } + } else if (node) { + var iteratorFn = getIteratorFn(node); + if (typeof iteratorFn === 'function') { + // Entry iterators used to provide implicit keys, + // but now we print a separate warning for them later. + if (iteratorFn !== node.entries) { + var iterator = iteratorFn.call(node); + var step = void 0; + while (!(step = iterator.next()).done) { + if (isValidElement(step.value)) { + validateExplicitKey(step.value, parentType); + } + } + } + } + } + } + + /** + * Given an element, validate that its props follow the propTypes definition, + * provided by the type. + * + * @param {ReactElement} element + */ + function validatePropTypes(element) { + var type = element.type; + var name = void 0, + propTypes = void 0; + if (typeof type === 'function') { + // Class or functional component + name = type.displayName || type.name; + propTypes = type.propTypes; + } else if ( + typeof type === 'object' && + type !== null && + type.$$typeof === REACT_FORWARD_REF_TYPE + ) { + // ForwardRef + var functionName = + type.render.displayName || type.render.name || ''; + name = + type.displayName || + (functionName !== '' + ? 'ForwardRef(' + functionName + ')' + : 'ForwardRef'); + propTypes = type.propTypes; + } else { + return; + } + if (propTypes) { + setCurrentlyValidatingElement(element); + checkPropTypes( + propTypes, + element.props, + 'prop', + name, + ReactDebugCurrentFrame.getStackAddendum + ); + setCurrentlyValidatingElement(null); + } else if ( + type.PropTypes !== undefined && + !propTypesMisspellWarningShown + ) { + propTypesMisspellWarningShown = true; + warningWithoutStack$1( + false, + 'Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', + name || 'Unknown' + ); + } + if (typeof type.getDefaultProps === 'function') { + !type.getDefaultProps.isReactClassApproved + ? warningWithoutStack$1( + false, + 'getDefaultProps is only used on classic React.createClass ' + + 'definitions. Use a static property named `defaultProps` instead.' + ) + : void 0; + } + } + + /** + * Given a fragment, validate that it can only be provided with fragment props + * @param {ReactElement} fragment + */ + function validateFragmentProps(fragment) { + setCurrentlyValidatingElement(fragment); + + var keys = Object.keys(fragment.props); + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + if (key !== 'children' && key !== 'key') { + warning$1( + false, + 'Invalid prop `%s` supplied to `React.Fragment`. ' + + 'React.Fragment can only have `key` and `children` props.', + key + ); + break; + } + } + + if (fragment.ref !== null) { + warning$1( + false, + 'Invalid attribute `ref` supplied to `React.Fragment`.' + ); + } + + setCurrentlyValidatingElement(null); + } + + function createElementWithValidation(type, props, children) { + var validType = isValidElementType(type); + + // We warn in this case but don't throw. We expect the element creation to + // succeed and there will likely be errors in render. + if (!validType) { + var info = ''; + 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, or you might have mixed up default and named imports."; + } + + var sourceInfo = getSourceInfoErrorAddendum(props); + if (sourceInfo) { + info += sourceInfo; + } else { + info += getDeclarationErrorAddendum(); + } + + var typeString = void 0; + if (type === null) { + typeString = 'null'; + } else if (Array.isArray(type)) { + typeString = 'array'; + } else if ( + type !== undefined && + type.$$typeof === REACT_ELEMENT_TYPE + ) { + typeString = + '<' + (getComponentName(type.type) || 'Unknown') + ' />'; + info = + ' Did you accidentally export a JSX literal instead of a component?'; + } else { + typeString = typeof type; + } + + warning$1( + false, + 'React.createElement: type is invalid -- expected a string (for ' + + 'built-in components) or a class/function (for composite ' + + 'components) but got: %s.%s', + typeString, + info + ); + } + + var element = createElement.apply(this, arguments); + + // The result can be nullish if a mock or a custom function is used. + // TODO: Drop this when these are no longer allowed as the type argument. + if (element == null) { + return element; + } + + // Skip key warning if the type isn't valid since our key validation logic + // doesn't expect a non-string/function type and can throw confusing errors. + // We don't want exception behavior to differ between dev and prod. + // (Rendering will throw with a helpful message and as soon as the type is + // fixed, the key warnings will appear.) + if (validType) { + for (var i = 2; i < arguments.length; i++) { + validateChildKeys(arguments[i], type); + } + } + + if (type === REACT_FRAGMENT_TYPE) { + validateFragmentProps(element); + } else { + validatePropTypes(element); + } + + return element; + } + + function createFactoryWithValidation(type) { + var validatedFactory = createElementWithValidation.bind(null, type); + validatedFactory.type = type; + // Legacy hook: remove it + { + Object.defineProperty(validatedFactory, 'type', { + enumerable: false, + get: function() { + lowPriorityWarning$1( + false, + 'Factory.type is deprecated. Access the class directly ' + + 'before passing it to createFactory.' + ); + Object.defineProperty(this, 'type', { + value: type + }); + return type; + } + }); + } + + return validatedFactory; + } + + function cloneElementWithValidation(element, props, children) { + var newElement = cloneElement.apply(this, arguments); + for (var i = 2; i < arguments.length; i++) { + validateChildKeys(arguments[i], newElement.type); + } + validatePropTypes(newElement); + return newElement; + } + + var React = { + Children: { + map: mapChildren, + forEach: forEachChildren, + count: countChildren, + toArray: toArray, + only: onlyChild + }, + + createRef: createRef, + Component: Component, + PureComponent: PureComponent, + + createContext: createContext, + forwardRef: forwardRef, + + Fragment: REACT_FRAGMENT_TYPE, + StrictMode: REACT_STRICT_MODE_TYPE, + unstable_AsyncMode: REACT_ASYNC_MODE_TYPE, + unstable_Profiler: REACT_PROFILER_TYPE, + + createElement: createElementWithValidation, + cloneElement: cloneElementWithValidation, + createFactory: createFactoryWithValidation, + isValidElement: isValidElement, + + version: ReactVersion, + + __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ReactSharedInternals + }; + + if (enableSuspense) { + React.Placeholder = REACT_PLACEHOLDER_TYPE; + React.lazy = lazy; + } + + var React$2 = Object.freeze({ + default: React + }); + + var React$3 = (React$2 && React) || React$2; + + // TODO: decide on the top-level export form. + // This is hacky but makes it work with both Rollup and Jest. + var react = React$3.default || React$3; + + module.exports = react; + })(); + } + + /***/ + }, + /* 332 */ + /***/ function(module, exports, __webpack_require__) { + /** + * Copyright (c) 2013-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + + 'use strict'; + + var printWarning = function() {}; + + if (undefined !== 'production') { + var ReactPropTypesSecret = __webpack_require__(333); + var loggedTypeFailures = {}; + + printWarning = function(text) { + var message = 'Warning: ' + text; + 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) {} + }; + } + + /** + * Assert that the values match with the type specs. + * Error messages are memorized and will only be shown once. + * + * @param {object} typeSpecs Map of name to a ReactPropType + * @param {object} values Runtime values that need to be type-checked + * @param {string} location e.g. "prop", "context", "child context" + * @param {string} componentName Name of the component for error messages. + * @param {?Function} getStack Returns the component stack. + * @private + */ + function checkPropTypes( + typeSpecs, + values, + location, + componentName, + getStack + ) { + if (undefined !== 'production') { + for (var typeSpecName in typeSpecs) { + if (typeSpecs.hasOwnProperty(typeSpecName)) { + var error; + // Prop type validation may throw. In case they do, we don't want to + // fail the render phase where it didn't fail before. So we log it. + // After these have been cleaned up, we'll let them throw. + try { + // This is intentionally an invariant that gets caught. It's the same + // behavior as without this statement except with a better message. + if (typeof typeSpecs[typeSpecName] !== 'function') { + var err = Error( + (componentName || 'React class') + + ': ' + + location + + ' type `' + + typeSpecName + + '` is invalid; ' + + 'it must be a function, usually from the `prop-types` package, but received `' + + typeof typeSpecs[typeSpecName] + + '`.' + ); + err.name = 'Invariant Violation'; + throw err; + } + error = typeSpecs[typeSpecName]( + values, + typeSpecName, + componentName, + location, + null, + ReactPropTypesSecret + ); + } catch (ex) { + error = ex; + } + if (error && !(error instanceof Error)) { + printWarning( + (componentName || 'React class') + + ': type specification of ' + + location + + ' `' + + typeSpecName + + '` is invalid; the type checker ' + + 'function must return `null` or an `Error` but returned a ' + + typeof error + + '. ' + + 'You may have forgotten to pass an argument to the type checker ' + + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + + 'shape all require an argument).' + ); + } + if ( + error instanceof Error && + !(error.message in loggedTypeFailures) + ) { + // Only monitor this failure once because there tends to be a lot of the + // same error. + loggedTypeFailures[error.message] = true; + + var stack = getStack ? getStack() : ''; + + printWarning( + 'Failed ' + + location + + ' type: ' + + error.message + + (stack != null ? stack : '') + ); + } + } + } + } + } + + module.exports = checkPropTypes; + + /***/ + }, + /* 333 */ + /***/ function(module, exports) { + /** + * Copyright (c) 2013-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + + 'use strict'; + + var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; + + module.exports = ReactPropTypesSecret; + + /***/ + }, + /* 334 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; + + function checkDCE() { + /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ + if ( + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' || + typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function' + ) { + return; + } + if (undefined !== 'production') { + // This branch is unreachable because this function is only called + // in production, but the condition is true only in development. + // Therefore if the branch is still here, dead code elimination wasn't + // properly applied. + // Don't change the message. React DevTools relies on it. Also make sure + // this message doesn't occur elsewhere in this function, or it will cause + // a false positive. + throw new Error('^_^'); + } + try { + // Verify that the code above has been dead code eliminated (DCE'd). + __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE); + } catch (err) { + // DevTools shouldn't crash React, no matter what. + // We should still report in case we break this code. + console.error(err); + } + } + + if (undefined === 'production') { + // DCE check should happen before ReactDOM bundle executes so that + // DevTools can report bad minification during injection. + checkDCE(); + module.exports = __webpack_require__(335); + } else { + module.exports = __webpack_require__(339); + } + + /***/ + }, + /* 335 */ + /***/ function(module, exports, __webpack_require__) { + /** @license React v16.5.2 + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + + /* + Modernizr 3.0.0pre (Custom Build) | MIT + */ + 'use strict'; + var aa = __webpack_require__(328), + n = __webpack_require__(330), + ba = __webpack_require__(336); + function ca(a, b, c, d, e, f, g, h) { + if (!a) { + a = void 0; + if (void 0 === b) + a = Error( + 'Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.' + ); + else { + var k = [c, d, e, f, g, h], + l = 0; + a = Error( + b.replace(/%s/g, function() { + return k[l++]; + }) + ); + a.name = 'Invariant Violation'; + } + a.framesToPop = 1; + throw a; } - }; - function Dc(a, b, c) { - a = S.getPooled(Cc.change, a, b, c); - a.type = "change"; - nc(c); - zb(a); - return a; } - var Ec = null, - Fc = null; - function Gc(a) { - kb(a); - lb(!1); + function t(a) { + for ( + var b = arguments.length - 1, + c = 'https://reactjs.org/docs/error-decoder.html?invariant=' + a, + d = 0; + d < b; + d++ + ) + c += '&args[]=' + encodeURIComponent(arguments[d + 1]); + ca( + !1, + 'Minified React error #' + + a + + '; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ', + c + ); } - function Hc(a) { - var b = qb(a); - if (Bc(b)) return a; + aa ? void 0 : t('227'); + function da(a, b, c, d, e, f, g, h, k) { + var l = Array.prototype.slice.call(arguments, 3); + try { + b.apply(c, l); + } catch (m) { + this.onError(m); + } + } + var ea = !1, + fa = null, + ha = !1, + ia = null, + ja = { + onError: function(a) { + ea = !0; + fa = a; + } + }; + function ka(a, b, c, d, e, f, g, h, k) { + ea = !1; + fa = null; + da.apply(ja, arguments); + } + function la(a, b, c, d, e, f, g, h, k) { + ka.apply(this, arguments); + if (ea) { + if (ea) { + var l = fa; + ea = !1; + fa = null; + } else t('198'), (l = void 0); + ha || ((ha = !0), (ia = l)); + } + } + var ma = null, + na = {}; + function oa() { + if (ma) + for (var a in na) { + var b = na[a], + c = ma.indexOf(a); + -1 < c ? void 0 : t('96', a); + if (!pa[c]) { + b.extractEvents ? void 0 : t('97', a); + pa[c] = b; + c = b.eventTypes; + for (var d in c) { + var e = void 0; + var f = c[d], + g = b, + h = d; + qa.hasOwnProperty(h) ? t('99', h) : void 0; + qa[h] = f; + var k = f.phasedRegistrationNames; + if (k) { + for (e in k) k.hasOwnProperty(e) && ra(k[e], g, h); + e = !0; + } else + f.registrationName + ? (ra(f.registrationName, g, h), (e = !0)) + : (e = !1); + e ? void 0 : t('98', d, a); + } + } + } } - function Ic(a, b) { - if ("topChange" === a) return b; + function ra(a, b, c) { + sa[a] ? t('100', a) : void 0; + sa[a] = b; + ta[a] = b.eventTypes[c].dependencies; } - var Jc = !1; - m.canUseDOM && - (Jc = - xc("input") && (!document.documentMode || 9 < document.documentMode)); - function Qc() { - Ec && (Ec.detachEvent("onpropertychange", Rc), (Fc = Ec = null)); + var pa = [], + qa = {}, + sa = {}, + ta = {}, + ua = null, + va = null, + wa = null; + function xa(a, b, c, d) { + b = a.type || 'unknown-event'; + a.currentTarget = wa(d); + la(b, c, void 0, a); + a.currentTarget = null; } - function Rc(a) { - "value" === a.propertyName && - Hc(Fc) && - ((a = Dc(Fc, a, vc(a))), sc(Gc, a)); + function ya(a, b) { + null == b ? t('30') : void 0; + if (null == a) return b; + if (Array.isArray(a)) { + if (Array.isArray(b)) return a.push.apply(a, b), a; + a.push(b); + return a; + } + return Array.isArray(b) ? [a].concat(b) : [a, b]; } - function Sc(a, b, c) { - "topFocus" === a - ? (Qc(), (Ec = b), (Fc = c), Ec.attachEvent("onpropertychange", Rc)) - : "topBlur" === a && Qc(); + function za(a, b, c) { + Array.isArray(a) ? a.forEach(b, c) : a && b.call(c, a); } - function Tc(a) { - if ( - "topSelectionChange" === a || - "topKeyUp" === a || - "topKeyDown" === a - ) - return Hc(Fc); + var Aa = null; + function Ba(a, b) { + if (a) { + var c = a._dispatchListeners, + d = a._dispatchInstances; + if (Array.isArray(c)) + for (var e = 0; e < c.length && !a.isPropagationStopped(); e++) + xa(a, b, c[e], d[e]); + else c && xa(a, b, c, d); + a._dispatchListeners = null; + a._dispatchInstances = null; + a.isPersistent() || a.constructor.release(a); + } } - function Uc(a, b) { - if ("topClick" === a) return Hc(b); + function Ca(a) { + return Ba(a, !0); } - function Vc(a, b) { - if ("topInput" === a || "topChange" === a) return Hc(b); + function Da(a) { + return Ba(a, !1); } - var Wc = { - eventTypes: Cc, - _isInputEventSupported: Jc, - extractEvents: function(a, b, c, d) { - var e = b ? qb(b) : window, - f = e.nodeName && e.nodeName.toLowerCase(); - if ("select" === f || ("input" === f && "file" === e.type)) - var g = Ic; - else if (uc(e)) - if (Jc) g = Vc; - else { - g = Tc; - var k = Sc; + var Ea = { + injectEventPluginOrder: function(a) { + ma ? t('101') : void 0; + ma = Array.prototype.slice.call(a); + oa(); + }, + injectEventPluginsByName: function(a) { + var b = !1, + c; + for (c in a) + if (a.hasOwnProperty(c)) { + var d = a[c]; + (na.hasOwnProperty(c) && na[c] === d) || + (na[c] ? t('102', c) : void 0, (na[c] = d), (b = !0)); } - else - (f = e.nodeName), - !f || - "input" !== f.toLowerCase() || - ("checkbox" !== e.type && "radio" !== e.type) || - (g = Uc); - if (g && (g = g(a, b))) return Dc(g, c, d); - k && k(a, e, b); - "topBlur" === a && - null != b && - (a = b._wrapperState || e._wrapperState) && - a.controlled && - "number" === e.type && - ((a = "" + e.value), - e.getAttribute("value") !== a && e.setAttribute("value", a)); + b && oa(); } }; - function Xc(a, b, c, d) { - return S.call(this, a, b, c, d); - } - S.augmentClass(Xc, { view: null, detail: null }); - var Yc = { - Alt: "altKey", - Control: "ctrlKey", - Meta: "metaKey", - Shift: "shiftKey" - }; - function Zc(a) { - var b = this.nativeEvent; - return b.getModifierState - ? b.getModifierState(a) - : (a = Yc[a]) ? !!b[a] : !1; - } - function $c() { - return Zc; - } - function ad(a, b, c, d) { - return S.call(this, a, b, c, d); - } - Xc.augmentClass(ad, { - screenX: null, - screenY: null, - clientX: null, - clientY: null, - pageX: null, - pageY: null, - ctrlKey: null, - shiftKey: null, - altKey: null, - metaKey: null, - getModifierState: $c, - button: null, - buttons: null, - relatedTarget: function(a) { - return ( - a.relatedTarget || - (a.fromElement === a.srcElement ? a.toElement : a.fromElement) - ); + function Fa(a, b) { + var c = a.stateNode; + if (!c) return null; + var d = ua(c); + if (!d) return null; + c = d[b]; + a: switch (b) { + case 'onClick': + case 'onClickCapture': + case 'onDoubleClick': + case 'onDoubleClickCapture': + case 'onMouseDown': + case 'onMouseDownCapture': + case 'onMouseMove': + case 'onMouseMoveCapture': + case 'onMouseUp': + case 'onMouseUpCapture': + (d = !d.disabled) || + ((a = a.type), + (d = !( + 'button' === a || + 'input' === a || + 'select' === a || + 'textarea' === a + ))); + a = !d; + break a; + default: + a = !1; + } + if (a) return null; + c && 'function' !== typeof c ? t('231', b, typeof c) : void 0; + return c; + } + function Ga(a, b) { + null !== a && (Aa = ya(Aa, a)); + a = Aa; + Aa = null; + if (a && (b ? za(a, Ca) : za(a, Da), Aa ? t('95') : void 0, ha)) + throw ((b = ia), (ha = !1), (ia = null), b); + } + var Ha = Math.random() + .toString(36) + .slice(2), + Ia = '__reactInternalInstance$' + Ha, + Ja = '__reactEventHandlers$' + Ha; + function Ka(a) { + if (a[Ia]) return a[Ia]; + for (; !a[Ia]; ) + if (a.parentNode) a = a.parentNode; + else return null; + a = a[Ia]; + return 7 === a.tag || 8 === a.tag ? a : null; + } + function La(a) { + a = a[Ia]; + return !a || (7 !== a.tag && 8 !== a.tag) ? null : a; + } + function Ma(a) { + if (7 === a.tag || 8 === a.tag) return a.stateNode; + t('33'); + } + function Na(a) { + return a[Ja] || null; + } + function Oa(a) { + do a = a.return; + while (a && 7 !== a.tag); + return a ? a : null; + } + function Pa(a, b, c) { + if ((b = Fa(a, c.dispatchConfig.phasedRegistrationNames[b]))) + (c._dispatchListeners = ya(c._dispatchListeners, b)), + (c._dispatchInstances = ya(c._dispatchInstances, a)); + } + function Qa(a) { + if (a && a.dispatchConfig.phasedRegistrationNames) { + for (var b = a._targetInst, c = []; b; ) c.push(b), (b = Oa(b)); + for (b = c.length; 0 < b--; ) Pa(c[b], 'captured', a); + for (b = 0; b < c.length; b++) Pa(c[b], 'bubbled', a); + } + } + function Ra(a, b, c) { + a && + c && + c.dispatchConfig.registrationName && + (b = Fa(a, c.dispatchConfig.registrationName)) && + ((c._dispatchListeners = ya(c._dispatchListeners, b)), + (c._dispatchInstances = ya(c._dispatchInstances, a))); + } + function Ta(a) { + a && a.dispatchConfig.registrationName && Ra(a._targetInst, null, a); + } + function Ua(a) { + za(a, Qa); + } + var Va = !( + 'undefined' === typeof window || + !window.document || + !window.document.createElement + ); + function Wa(a, b) { + var c = {}; + c[a.toLowerCase()] = b.toLowerCase(); + c['Webkit' + a] = 'webkit' + b; + c['Moz' + a] = 'moz' + b; + return c; + } + var Ya = { + animationend: Wa('Animation', 'AnimationEnd'), + animationiteration: Wa('Animation', 'AnimationIteration'), + animationstart: Wa('Animation', 'AnimationStart'), + transitionend: Wa('Transition', 'TransitionEnd') + }, + Za = {}, + $a = {}; + Va && + (($a = document.createElement('div').style), + 'AnimationEvent' in window || + (delete Ya.animationend.animation, + delete Ya.animationiteration.animation, + delete Ya.animationstart.animation), + 'TransitionEvent' in window || delete Ya.transitionend.transition); + function ab(a) { + if (Za[a]) return Za[a]; + if (!Ya[a]) return a; + var b = Ya[a], + c; + for (c in b) if (b.hasOwnProperty(c) && c in $a) return (Za[a] = b[c]); + return a; + } + var bb = ab('animationend'), + cb = ab('animationiteration'), + db = ab('animationstart'), + eb = ab('transitionend'), + fb = 'abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting'.split( + ' ' + ), + gb = null, + hb = null, + ib = null; + function jb() { + if (ib) return ib; + var a, + b = hb, + c = b.length, + d, + e = 'value' in gb ? gb.value : gb.textContent, + f = e.length; + for (a = 0; a < c && b[a] === e[a]; a++); + var g = c - a; + for (d = 1; d <= g && b[c - d] === e[f - d]; d++); + return (ib = e.slice(a, 1 < d ? 1 - d : void 0)); + } + function kb() { + return !0; + } + function lb() { + return !1; + } + function z(a, b, c, d) { + this.dispatchConfig = a; + this._targetInst = b; + this.nativeEvent = c; + a = this.constructor.Interface; + for (var e in a) + a.hasOwnProperty(e) && + ((b = a[e]) + ? (this[e] = b(c)) + : 'target' === e + ? (this.target = d) + : (this[e] = c[e])); + this.isDefaultPrevented = (null != c.defaultPrevented + ? c.defaultPrevented + : !1 === c.returnValue) + ? kb + : lb; + this.isPropagationStopped = lb; + return this; + } + n(z.prototype, { + preventDefault: function() { + this.defaultPrevented = !0; + var a = this.nativeEvent; + a && + (a.preventDefault + ? a.preventDefault() + : 'unknown' !== typeof a.returnValue && (a.returnValue = !1), + (this.isDefaultPrevented = kb)); + }, + stopPropagation: function() { + var a = this.nativeEvent; + a && + (a.stopPropagation + ? a.stopPropagation() + : 'unknown' !== typeof a.cancelBubble && (a.cancelBubble = !0), + (this.isPropagationStopped = kb)); + }, + persist: function() { + this.isPersistent = kb; + }, + isPersistent: lb, + destructor: function() { + var a = this.constructor.Interface, + b; + for (b in a) this[b] = null; + this.nativeEvent = this._targetInst = this.dispatchConfig = null; + this.isPropagationStopped = this.isDefaultPrevented = lb; + this._dispatchInstances = this._dispatchListeners = null; } }); - var bd = { - mouseEnter: { - registrationName: "onMouseEnter", - dependencies: ["topMouseOut", "topMouseOver"] - }, - mouseLeave: { - registrationName: "onMouseLeave", - dependencies: ["topMouseOut", "topMouseOver"] - } + z.Interface = { + type: null, + target: null, + currentTarget: function() { + return null; }, - cd = { - eventTypes: bd, - extractEvents: function(a, b, c, d) { - if ( - ("topMouseOver" === a && (c.relatedTarget || c.fromElement)) || - ("topMouseOut" !== a && "topMouseOver" !== a) + eventPhase: null, + bubbles: null, + cancelable: null, + timeStamp: function(a) { + return a.timeStamp || Date.now(); + }, + defaultPrevented: null, + isTrusted: null + }; + z.extend = function(a) { + function b() {} + function c() { + return d.apply(this, arguments); + } + var d = this; + b.prototype = d.prototype; + var e = new b(); + n(e, c.prototype); + c.prototype = e; + c.prototype.constructor = c; + c.Interface = n({}, d.Interface, a); + c.extend = d.extend; + mb(c); + return c; + }; + mb(z); + function nb(a, b, c, d) { + if (this.eventPool.length) { + var e = this.eventPool.pop(); + this.call(e, a, b, c, d); + return e; + } + return new this(a, b, c, d); + } + function ob(a) { + a instanceof this ? void 0 : t('279'); + a.destructor(); + 10 > this.eventPool.length && this.eventPool.push(a); + } + function mb(a) { + a.eventPool = []; + a.getPooled = nb; + a.release = ob; + } + var pb = z.extend({ data: null }), + qb = z.extend({ data: null }), + rb = [9, 13, 27, 32], + sb = Va && 'CompositionEvent' in window, + tb = null; + Va && 'documentMode' in document && (tb = document.documentMode); + var ub = Va && 'TextEvent' in window && !tb, + vb = Va && (!sb || (tb && 8 < tb && 11 >= tb)), + wb = String.fromCharCode(32), + xb = { + beforeInput: { + phasedRegistrationNames: { + bubbled: 'onBeforeInput', + captured: 'onBeforeInputCapture' + }, + dependencies: ['compositionend', 'keypress', 'textInput', 'paste'] + }, + compositionEnd: { + phasedRegistrationNames: { + bubbled: 'onCompositionEnd', + captured: 'onCompositionEndCapture' + }, + dependencies: 'blur compositionend keydown keypress keyup mousedown'.split( + ' ' + ) + }, + compositionStart: { + phasedRegistrationNames: { + bubbled: 'onCompositionStart', + captured: 'onCompositionStartCapture' + }, + dependencies: 'blur compositionstart keydown keypress keyup mousedown'.split( + ' ' + ) + }, + compositionUpdate: { + phasedRegistrationNames: { + bubbled: 'onCompositionUpdate', + captured: 'onCompositionUpdateCapture' + }, + dependencies: 'blur compositionupdate keydown keypress keyup mousedown'.split( + ' ' ) - return null; - var e = - d.window === d - ? d - : (e = d.ownerDocument) - ? e.defaultView || e.parentWindow - : window; - "topMouseOut" === a - ? ((a = b), - (b = (b = c.relatedTarget || c.toElement) ? pb(b) : null)) - : (a = null); - if (a === b) return null; - var f = null == a ? e : qb(a); - e = null == b ? e : qb(b); - var g = ad.getPooled(bd.mouseLeave, a, c, d); - g.type = "mouseleave"; - g.target = f; - g.relatedTarget = e; - c = ad.getPooled(bd.mouseEnter, b, c, d); - c.type = "mouseenter"; - c.target = e; - c.relatedTarget = f; - Ab(g, c, a, b); - return [g, c]; } }, - dd = - aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED - .ReactCurrentOwner; - function ed(a) { - a = a.type; - return "string" === typeof a - ? a - : "function" === typeof a ? a.displayName || a.name : null; - } - function fd(a) { - var b = a; - if (a.alternate) for (; b["return"]; ) b = b["return"]; - else { - if (0 !== (b.effectTag & 2)) return 1; - for (; b["return"]; ) - if (((b = b["return"]), 0 !== (b.effectTag & 2))) return 1; + yb = !1; + function zb(a, b) { + switch (a) { + case 'keyup': + return -1 !== rb.indexOf(b.keyCode); + case 'keydown': + return 229 !== b.keyCode; + case 'keypress': + case 'mousedown': + case 'blur': + return !0; + default: + return !1; } - return 3 === b.tag ? 2 : 3; } - function gd(a) { - return (a = a._reactInternalFiber) ? 2 === fd(a) : !1; + function Ab(a) { + a = a.detail; + return 'object' === typeof a && 'data' in a ? a.data : null; + } + var Bb = !1; + function Cb(a, b) { + switch (a) { + case 'compositionend': + return Ab(b); + case 'keypress': + if (32 !== b.which) return null; + yb = !0; + return wb; + case 'textInput': + return (a = b.data), a === wb && yb ? null : a; + default: + return null; + } } - function hd(a) { - 2 !== fd(a) ? D("188") : void 0; + function Db(a, b) { + if (Bb) + return 'compositionend' === a || (!sb && zb(a, b)) + ? ((a = jb()), (ib = hb = gb = null), (Bb = !1), a) + : null; + switch (a) { + case 'paste': + return null; + case 'keypress': + if ( + !(b.ctrlKey || b.altKey || b.metaKey) || + (b.ctrlKey && b.altKey) + ) { + if (b.char && 1 < b.char.length) return b.char; + if (b.which) return String.fromCharCode(b.which); + } + return null; + case 'compositionend': + return vb && 'ko' !== b.locale ? null : b.data; + default: + return null; + } } - function id(a) { - var b = a.alternate; - if (!b) - return (b = fd(a)), 3 === b ? D("188") : void 0, 1 === b ? null : a; - for (var c = a, d = b; ; ) { - var e = c["return"], - f = e ? e.alternate : null; - if (!e || !f) break; - if (e.child === f.child) { - for (var g = e.child; g; ) { - if (g === c) return hd(e), a; - if (g === d) return hd(e), b; - g = g.sibling; + var Eb = { + eventTypes: xb, + extractEvents: function(a, b, c, d) { + var e = void 0; + var f = void 0; + if (sb) + b: { + switch (a) { + case 'compositionstart': + e = xb.compositionStart; + break b; + case 'compositionend': + e = xb.compositionEnd; + break b; + case 'compositionupdate': + e = xb.compositionUpdate; + break b; + } + e = void 0; + } + else + Bb + ? zb(a, c) && (e = xb.compositionEnd) + : 'keydown' === a && + 229 === c.keyCode && + (e = xb.compositionStart); + e + ? (vb && + 'ko' !== c.locale && + (Bb || e !== xb.compositionStart + ? e === xb.compositionEnd && Bb && (f = jb()) + : ((gb = d), + (hb = 'value' in gb ? gb.value : gb.textContent), + (Bb = !0))), + (e = pb.getPooled(e, b, c, d)), + f ? (e.data = f) : ((f = Ab(c)), null !== f && (e.data = f)), + Ua(e), + (f = e)) + : (f = null); + (a = ub ? Cb(a, c) : Db(a, c)) + ? ((b = qb.getPooled(xb.beforeInput, b, c, d)), + (b.data = a), + Ua(b)) + : (b = null); + return null === f ? b : null === b ? f : [f, b]; + } + }, + Fb = null, + Gb = null, + Hb = null; + function Ib(a) { + if ((a = va(a))) { + 'function' !== typeof Fb ? t('280') : void 0; + var b = ua(a.stateNode); + Fb(a.stateNode, a.type, b); + } + } + function Jb(a) { + Gb ? (Hb ? Hb.push(a) : (Hb = [a])) : (Gb = a); + } + function Kb() { + if (Gb) { + var a = Gb, + b = Hb; + Hb = Gb = null; + Ib(a); + if (b) for (a = 0; a < b.length; a++) Ib(b[a]); + } + } + function Lb(a, b) { + return a(b); + } + function Mb(a, b, c) { + return a(b, c); + } + function Nb() {} + var Ob = !1; + function Pb(a, b) { + if (Ob) return a(b); + Ob = !0; + try { + return Lb(a, b); + } finally { + if (((Ob = !1), null !== Gb || null !== Hb)) Nb(), Kb(); + } + } + var Qb = { + color: !0, + date: !0, + datetime: !0, + 'datetime-local': !0, + email: !0, + month: !0, + number: !0, + password: !0, + range: !0, + search: !0, + tel: !0, + text: !0, + time: !0, + url: !0, + week: !0 + }; + function Rb(a) { + var b = a && a.nodeName && a.nodeName.toLowerCase(); + return 'input' === b ? !!Qb[a.type] : 'textarea' === b ? !0 : !1; + } + function Sb(a) { + a = a.target || a.srcElement || window; + a.correspondingUseElement && (a = a.correspondingUseElement); + return 3 === a.nodeType ? a.parentNode : a; + } + function Tb(a) { + if (!Va) return !1; + a = 'on' + a; + var b = a in document; + b || + ((b = document.createElement('div')), + b.setAttribute(a, 'return;'), + (b = 'function' === typeof b[a])); + return b; + } + function Ub(a) { + var b = a.type; + return ( + (a = a.nodeName) && + 'input' === a.toLowerCase() && + ('checkbox' === b || 'radio' === b) + ); + } + function Vb(a) { + var b = Ub(a) ? 'checked' : 'value', + c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b), + d = '' + a[b]; + if ( + !a.hasOwnProperty(b) && + 'undefined' !== typeof c && + 'function' === typeof c.get && + 'function' === typeof c.set + ) { + var e = c.get, + f = c.set; + Object.defineProperty(a, b, { + configurable: !0, + get: function() { + return e.call(this); + }, + set: function(a) { + d = '' + a; + f.call(this, a); + } + }); + Object.defineProperty(a, b, { enumerable: c.enumerable }); + return { + getValue: function() { + return d; + }, + setValue: function(a) { + d = '' + a; + }, + stopTracking: function() { + a._valueTracker = null; + delete a[b]; + } + }; + } + } + function Wb(a) { + a._valueTracker || (a._valueTracker = Vb(a)); + } + function Xb(a) { + if (!a) return !1; + var b = a._valueTracker; + if (!b) return !0; + var c = b.getValue(); + var d = ''; + a && (d = Ub(a) ? (a.checked ? 'true' : 'false') : a.value); + a = d; + return a !== c ? (b.setValue(a), !0) : !1; + } + var Yb = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, + Zb = /^(.*)[\\\/]/, + C = 'function' === typeof Symbol && Symbol.for, + $b = C ? Symbol.for('react.element') : 60103, + ac = C ? Symbol.for('react.portal') : 60106, + bc = C ? Symbol.for('react.fragment') : 60107, + cc = C ? Symbol.for('react.strict_mode') : 60108, + dc = C ? Symbol.for('react.profiler') : 60114, + ec = C ? Symbol.for('react.provider') : 60109, + fc = C ? Symbol.for('react.context') : 60110, + gc = C ? Symbol.for('react.async_mode') : 60111, + hc = C ? Symbol.for('react.forward_ref') : 60112, + ic = C ? Symbol.for('react.placeholder') : 60113, + jc = 'function' === typeof Symbol && Symbol.iterator; + function kc(a) { + if (null === a || 'object' !== typeof a) return null; + a = (jc && a[jc]) || a['@@iterator']; + return 'function' === typeof a ? a : null; + } + function lc(a) { + if (null == a) return null; + if ('function' === typeof a) return a.displayName || a.name || null; + if ('string' === typeof a) return a; + switch (a) { + case gc: + return 'AsyncMode'; + case bc: + return 'Fragment'; + case ac: + return 'Portal'; + case dc: + return 'Profiler'; + case cc: + return 'StrictMode'; + case ic: + return 'Placeholder'; + } + if ('object' === typeof a) { + switch (a.$$typeof) { + case fc: + return 'Context.Consumer'; + case ec: + return 'Context.Provider'; + case hc: + var b = a.render; + b = b.displayName || b.name || ''; + return ( + a.displayName || + ('' !== b ? 'ForwardRef(' + b + ')' : 'ForwardRef') + ); + } + if ( + 'function' === typeof a.then && + (a = 1 === a._reactStatus ? a._reactResult : null) + ) + return lc(a); + } + return null; + } + function mc(a) { + var b = ''; + do { + a: switch (a.tag) { + case 4: + case 0: + case 1: + case 2: + case 3: + case 7: + case 10: + var c = a._debugOwner, + d = a._debugSource, + e = lc(a.type); + var f = null; + c && (f = lc(c.type)); + c = e; + e = ''; + d + ? (e = + ' (at ' + + d.fileName.replace(Zb, '') + + ':' + + d.lineNumber + + ')') + : f && (e = ' (created by ' + f + ')'); + f = '\n in ' + (c || 'Unknown') + e; + break a; + default: + f = ''; + } + b += f; + a = a.return; + } while (a); + return b; + } + var nc = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, + pc = Object.prototype.hasOwnProperty, + qc = {}, + rc = {}; + function sc(a) { + if (pc.call(rc, a)) return !0; + if (pc.call(qc, a)) return !1; + if (nc.test(a)) return (rc[a] = !0); + qc[a] = !0; + return !1; + } + function tc(a, b, c, d) { + if (null !== c && 0 === c.type) return !1; + switch (typeof b) { + case 'function': + case 'symbol': + return !0; + case 'boolean': + if (d) return !1; + if (null !== c) return !c.acceptsBooleans; + a = a.toLowerCase().slice(0, 5); + return 'data-' !== a && 'aria-' !== a; + default: + return !1; + } + } + function uc(a, b, c, d) { + if (null === b || 'undefined' === typeof b || tc(a, b, c, d)) return !0; + if (d) return !1; + if (null !== c) + switch (c.type) { + case 3: + return !b; + case 4: + return !1 === b; + case 5: + return isNaN(b); + case 6: + return isNaN(b) || 1 > b; + } + return !1; + } + function D(a, b, c, d, e) { + this.acceptsBooleans = 2 === b || 3 === b || 4 === b; + this.attributeName = d; + this.attributeNamespace = e; + this.mustUseProperty = c; + this.propertyName = a; + this.type = b; + } + var E = {}; + 'children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style' + .split(' ') + .forEach(function(a) { + E[a] = new D(a, 0, !1, a, null); + }); + [ + ['acceptCharset', 'accept-charset'], + ['className', 'class'], + ['htmlFor', 'for'], + ['httpEquiv', 'http-equiv'] + ].forEach(function(a) { + var b = a[0]; + E[b] = new D(b, 1, !1, a[1], null); + }); + ['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(function( + a + ) { + E[a] = new D(a, 2, !1, a.toLowerCase(), null); + }); + [ + 'autoReverse', + 'externalResourcesRequired', + 'focusable', + 'preserveAlpha' + ].forEach(function(a) { + E[a] = new D(a, 2, !1, a, null); + }); + 'allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope' + .split(' ') + .forEach(function(a) { + E[a] = new D(a, 3, !1, a.toLowerCase(), null); + }); + ['checked', 'multiple', 'muted', 'selected'].forEach(function(a) { + E[a] = new D(a, 3, !0, a, null); + }); + ['capture', 'download'].forEach(function(a) { + E[a] = new D(a, 4, !1, a, null); + }); + ['cols', 'rows', 'size', 'span'].forEach(function(a) { + E[a] = new D(a, 6, !1, a, null); + }); + ['rowSpan', 'start'].forEach(function(a) { + E[a] = new D(a, 5, !1, a.toLowerCase(), null); + }); + var vc = /[\-:]([a-z])/g; + function wc(a) { + return a[1].toUpperCase(); + } + 'accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height' + .split(' ') + .forEach(function(a) { + var b = a.replace(vc, wc); + E[b] = new D(b, 1, !1, a, null); + }); + 'xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type' + .split(' ') + .forEach(function(a) { + var b = a.replace(vc, wc); + E[b] = new D(b, 1, !1, a, 'http://www.w3.org/1999/xlink'); + }); + ['xml:base', 'xml:lang', 'xml:space'].forEach(function(a) { + var b = a.replace(vc, wc); + E[b] = new D(b, 1, !1, a, 'http://www.w3.org/XML/1998/namespace'); + }); + E.tabIndex = new D('tabIndex', 1, !1, 'tabindex', null); + function xc(a, b, c, d) { + var e = E.hasOwnProperty(b) ? E[b] : null; + var f = + null !== e + ? 0 === e.type + : d + ? !1 + : !(2 < b.length) || + ('o' !== b[0] && 'O' !== b[0]) || + ('n' !== b[1] && 'N' !== b[1]) + ? !1 + : !0; + f || + (uc(b, c, e, d) && (c = null), + d || null === e + ? sc(b) && + (null === c ? a.removeAttribute(b) : a.setAttribute(b, '' + c)) + : e.mustUseProperty + ? (a[e.propertyName] = null === c ? (3 === e.type ? !1 : '') : c) + : ((b = e.attributeName), + (d = e.attributeNamespace), + null === c + ? a.removeAttribute(b) + : ((e = e.type), + (c = 3 === e || (4 === e && !0 === c) ? '' : '' + c), + d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c)))); + } + function yc(a) { + switch (typeof a) { + case 'boolean': + case 'number': + case 'object': + case 'string': + case 'undefined': + return a; + default: + return ''; + } + } + function zc(a, b) { + var c = b.checked; + return n({}, b, { + defaultChecked: void 0, + defaultValue: void 0, + value: void 0, + checked: null != c ? c : a._wrapperState.initialChecked + }); + } + function Bc(a, b) { + var c = null == b.defaultValue ? '' : b.defaultValue, + d = null != b.checked ? b.checked : b.defaultChecked; + c = yc(null != b.value ? b.value : c); + a._wrapperState = { + initialChecked: d, + initialValue: c, + controlled: + 'checkbox' === b.type || 'radio' === b.type + ? null != b.checked + : null != b.value + }; + } + function Cc(a, b) { + b = b.checked; + null != b && xc(a, 'checked', b, !1); + } + function Dc(a, b) { + Cc(a, b); + var c = yc(b.value), + d = b.type; + if (null != c) + if ('number' === d) { + if ((0 === c && '' === a.value) || a.value != c) a.value = '' + c; + } else a.value !== '' + c && (a.value = '' + c); + else if ('submit' === d || 'reset' === d) { + a.removeAttribute('value'); + return; + } + b.hasOwnProperty('value') + ? Ec(a, b.type, c) + : b.hasOwnProperty('defaultValue') && + Ec(a, b.type, yc(b.defaultValue)); + null == b.checked && + null != b.defaultChecked && + (a.defaultChecked = !!b.defaultChecked); + } + function Fc(a, b, c) { + if (b.hasOwnProperty('value') || b.hasOwnProperty('defaultValue')) { + var d = b.type; + if ( + !( + ('submit' !== d && 'reset' !== d) || + (void 0 !== b.value && null !== b.value) + ) + ) + return; + b = '' + a._wrapperState.initialValue; + c || b === a.value || (a.value = b); + a.defaultValue = b; + } + c = a.name; + '' !== c && (a.name = ''); + a.defaultChecked = !a.defaultChecked; + a.defaultChecked = !!a._wrapperState.initialChecked; + '' !== c && (a.name = c); + } + function Ec(a, b, c) { + if ('number' !== b || a.ownerDocument.activeElement !== a) + null == c + ? (a.defaultValue = '' + a._wrapperState.initialValue) + : a.defaultValue !== '' + c && (a.defaultValue = '' + c); + } + var Gc = { + change: { + phasedRegistrationNames: { + bubbled: 'onChange', + captured: 'onChangeCapture' + }, + dependencies: 'blur change click focus input keydown keyup selectionchange'.split( + ' ' + ) + } + }; + function Hc(a, b, c) { + a = z.getPooled(Gc.change, a, b, c); + a.type = 'change'; + Jb(c); + Ua(a); + return a; + } + var Ic = null, + Jc = null; + function Kc(a) { + Ga(a, !1); + } + function Lc(a) { + var b = Ma(a); + if (Xb(b)) return a; + } + function Mc(a, b) { + if ('change' === a) return b; + } + var Nc = !1; + Va && + (Nc = + Tb('input') && (!document.documentMode || 9 < document.documentMode)); + function Oc() { + Ic && (Ic.detachEvent('onpropertychange', Pc), (Jc = Ic = null)); + } + function Pc(a) { + 'value' === a.propertyName && + Lc(Jc) && + ((a = Hc(Jc, a, Sb(a))), Pb(Kc, a)); + } + function Qc(a, b, c) { + 'focus' === a + ? (Oc(), (Ic = b), (Jc = c), Ic.attachEvent('onpropertychange', Pc)) + : 'blur' === a && Oc(); + } + function Rc(a) { + if ('selectionchange' === a || 'keyup' === a || 'keydown' === a) + return Lc(Jc); + } + function Sc(a, b) { + if ('click' === a) return Lc(b); + } + function Tc(a, b) { + if ('input' === a || 'change' === a) return Lc(b); + } + var Uc = { + eventTypes: Gc, + _isInputEventSupported: Nc, + extractEvents: function(a, b, c, d) { + var e = b ? Ma(b) : window, + f = void 0, + g = void 0, + h = e.nodeName && e.nodeName.toLowerCase(); + 'select' === h || ('input' === h && 'file' === e.type) + ? (f = Mc) + : Rb(e) + ? Nc + ? (f = Tc) + : ((f = Rc), (g = Qc)) + : (h = e.nodeName) && + 'input' === h.toLowerCase() && + ('checkbox' === e.type || 'radio' === e.type) && + (f = Sc); + if (f && (f = f(a, b))) return Hc(f, c, d); + g && g(a, e, b); + 'blur' === a && + (a = e._wrapperState) && + a.controlled && + 'number' === e.type && + Ec(e, 'number', e.value); + } + }, + Vc = z.extend({ view: null, detail: null }), + Wc = { + Alt: 'altKey', + Control: 'ctrlKey', + Meta: 'metaKey', + Shift: 'shiftKey' + }; + function Xc(a) { + var b = this.nativeEvent; + return b.getModifierState + ? b.getModifierState(a) + : (a = Wc[a]) + ? !!b[a] + : !1; + } + function Yc() { + return Xc; + } + var Zc = 0, + $c = 0, + ad = !1, + bd = !1, + cd = Vc.extend({ + screenX: null, + screenY: null, + clientX: null, + clientY: null, + pageX: null, + pageY: null, + ctrlKey: null, + shiftKey: null, + altKey: null, + metaKey: null, + getModifierState: Yc, + button: null, + buttons: null, + relatedTarget: function(a) { + return ( + a.relatedTarget || + (a.fromElement === a.srcElement ? a.toElement : a.fromElement) + ); + }, + movementX: function(a) { + if ('movementX' in a) return a.movementX; + var b = Zc; + Zc = a.screenX; + return ad + ? 'mousemove' === a.type + ? a.screenX - b + : 0 + : ((ad = !0), 0); + }, + movementY: function(a) { + if ('movementY' in a) return a.movementY; + var b = $c; + $c = a.screenY; + return bd + ? 'mousemove' === a.type + ? a.screenY - b + : 0 + : ((bd = !0), 0); + } + }), + dd = cd.extend({ + pointerId: null, + width: null, + height: null, + pressure: null, + tangentialPressure: null, + tiltX: null, + tiltY: null, + twist: null, + pointerType: null, + isPrimary: null + }), + ed = { + mouseEnter: { + registrationName: 'onMouseEnter', + dependencies: ['mouseout', 'mouseover'] + }, + mouseLeave: { + registrationName: 'onMouseLeave', + dependencies: ['mouseout', 'mouseover'] + }, + pointerEnter: { + registrationName: 'onPointerEnter', + dependencies: ['pointerout', 'pointerover'] + }, + pointerLeave: { + registrationName: 'onPointerLeave', + dependencies: ['pointerout', 'pointerover'] + } + }, + fd = { + eventTypes: ed, + extractEvents: function(a, b, c, d) { + var e = 'mouseover' === a || 'pointerover' === a, + f = 'mouseout' === a || 'pointerout' === a; + if ((e && (c.relatedTarget || c.fromElement)) || (!f && !e)) + return null; + e = + d.window === d + ? d + : (e = d.ownerDocument) + ? e.defaultView || e.parentWindow + : window; + f + ? ((f = b), + (b = (b = c.relatedTarget || c.toElement) ? Ka(b) : null)) + : (f = null); + if (f === b) return null; + var g = void 0, + h = void 0, + k = void 0, + l = void 0; + if ('mouseout' === a || 'mouseover' === a) + (g = cd), (h = ed.mouseLeave), (k = ed.mouseEnter), (l = 'mouse'); + else if ('pointerout' === a || 'pointerover' === a) + (g = dd), + (h = ed.pointerLeave), + (k = ed.pointerEnter), + (l = 'pointer'); + var m = null == f ? e : Ma(f); + e = null == b ? e : Ma(b); + a = g.getPooled(h, f, c, d); + a.type = l + 'leave'; + a.target = m; + a.relatedTarget = e; + c = g.getPooled(k, b, c, d); + c.type = l + 'enter'; + c.target = e; + c.relatedTarget = m; + d = b; + if (f && d) + a: { + b = f; + e = d; + l = 0; + for (g = b; g; g = Oa(g)) l++; + g = 0; + for (k = e; k; k = Oa(k)) g++; + for (; 0 < l - g; ) (b = Oa(b)), l--; + for (; 0 < g - l; ) (e = Oa(e)), g--; + for (; l--; ) { + if (b === e || b === e.alternate) break a; + b = Oa(b); + e = Oa(e); + } + b = null; + } + else b = null; + e = b; + for (b = []; f && f !== e; ) { + l = f.alternate; + if (null !== l && l === e) break; + b.push(f); + f = Oa(f); + } + for (f = []; d && d !== e; ) { + l = d.alternate; + if (null !== l && l === e) break; + f.push(d); + d = Oa(d); + } + for (d = 0; d < b.length; d++) Ra(b[d], 'bubbled', a); + for (d = f.length; 0 < d--; ) Ra(f[d], 'captured', c); + return [a, c]; + } + }, + gd = Object.prototype.hasOwnProperty; + function hd(a, b) { + return a === b + ? 0 !== a || 0 !== b || 1 / a === 1 / b + : a !== a && b !== b; + } + function id(a, b) { + if (hd(a, b)) return !0; + if ( + 'object' !== typeof a || + null === a || + 'object' !== typeof b || + null === b + ) + return !1; + var c = Object.keys(a), + d = Object.keys(b); + if (c.length !== d.length) return !1; + for (d = 0; d < c.length; d++) + if (!gd.call(b, c[d]) || !hd(a[c[d]], b[c[d]])) return !1; + return !0; + } + function jd(a) { + var b = a; + if (a.alternate) for (; b.return; ) b = b.return; + else { + if (0 !== (b.effectTag & 2)) return 1; + for (; b.return; ) + if (((b = b.return), 0 !== (b.effectTag & 2))) return 1; + } + return 5 === b.tag ? 2 : 3; + } + function kd(a) { + 2 !== jd(a) ? t('188') : void 0; + } + function ld(a) { + var b = a.alternate; + if (!b) + return (b = jd(a)), 3 === b ? t('188') : void 0, 1 === b ? null : a; + for (var c = a, d = b; ; ) { + var e = c.return, + f = e ? e.alternate : null; + if (!e || !f) break; + if (e.child === f.child) { + for (var g = e.child; g; ) { + if (g === c) return kd(e), a; + if (g === d) return kd(e), b; + g = g.sibling; + } + t('188'); + } + if (c.return !== d.return) (c = e), (d = f); + else { + g = !1; + for (var h = e.child; h; ) { + if (h === c) { + g = !0; + c = e; + d = f; + break; + } + if (h === d) { + g = !0; + d = e; + c = f; + break; + } + h = h.sibling; + } + if (!g) { + for (h = f.child; h; ) { + if (h === c) { + g = !0; + c = f; + d = e; + break; + } + if (h === d) { + g = !0; + d = f; + c = e; + break; + } + h = h.sibling; + } + g ? void 0 : t('189'); + } + } + c.alternate !== d ? t('190') : void 0; + } + 5 !== c.tag ? t('188') : void 0; + return c.stateNode.current === c ? a : b; + } + function md(a) { + a = ld(a); + if (!a) return null; + for (var b = a; ; ) { + if (7 === b.tag || 8 === b.tag) return b; + if (b.child) (b.child.return = b), (b = b.child); + else { + if (b === a) break; + for (; !b.sibling; ) { + if (!b.return || b.return === a) return null; + b = b.return; + } + b.sibling.return = b.return; + b = b.sibling; + } + } + return null; + } + var nd = z.extend({ + animationName: null, + elapsedTime: null, + pseudoElement: null + }), + od = z.extend({ + clipboardData: function(a) { + return 'clipboardData' in a + ? a.clipboardData + : window.clipboardData; + } + }), + pd = Vc.extend({ relatedTarget: null }); + function qd(a) { + var b = a.keyCode; + 'charCode' in a + ? ((a = a.charCode), 0 === a && 13 === b && (a = 13)) + : (a = b); + 10 === a && (a = 13); + return 32 <= a || 13 === a ? a : 0; + } + var rd = { + Esc: 'Escape', + Spacebar: ' ', + Left: 'ArrowLeft', + Up: 'ArrowUp', + Right: 'ArrowRight', + Down: 'ArrowDown', + Del: 'Delete', + Win: 'OS', + Menu: 'ContextMenu', + Apps: 'ContextMenu', + Scroll: 'ScrollLock', + MozPrintableKey: 'Unidentified' + }, + sd = { + 8: 'Backspace', + 9: 'Tab', + 12: 'Clear', + 13: 'Enter', + 16: 'Shift', + 17: 'Control', + 18: 'Alt', + 19: 'Pause', + 20: 'CapsLock', + 27: 'Escape', + 32: ' ', + 33: 'PageUp', + 34: 'PageDown', + 35: 'End', + 36: 'Home', + 37: 'ArrowLeft', + 38: 'ArrowUp', + 39: 'ArrowRight', + 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', + 144: 'NumLock', + 145: 'ScrollLock', + 224: 'Meta' + }, + td = Vc.extend({ + key: function(a) { + if (a.key) { + var b = rd[a.key] || a.key; + if ('Unidentified' !== b) return b; + } + return 'keypress' === a.type + ? ((a = qd(a)), 13 === a ? 'Enter' : String.fromCharCode(a)) + : 'keydown' === a.type || 'keyup' === a.type + ? sd[a.keyCode] || 'Unidentified' + : ''; + }, + location: null, + ctrlKey: null, + shiftKey: null, + altKey: null, + metaKey: null, + repeat: null, + locale: null, + getModifierState: Yc, + charCode: function(a) { + return 'keypress' === a.type ? qd(a) : 0; + }, + keyCode: function(a) { + return 'keydown' === a.type || 'keyup' === a.type ? a.keyCode : 0; + }, + which: function(a) { + return 'keypress' === a.type + ? qd(a) + : 'keydown' === a.type || 'keyup' === a.type + ? a.keyCode + : 0; + } + }), + ud = cd.extend({ dataTransfer: null }), + vd = Vc.extend({ + touches: null, + targetTouches: null, + changedTouches: null, + altKey: null, + metaKey: null, + ctrlKey: null, + shiftKey: null, + getModifierState: Yc + }), + wd = z.extend({ + propertyName: null, + elapsedTime: null, + pseudoElement: null + }), + xd = cd.extend({ + deltaX: function(a) { + return 'deltaX' in a + ? a.deltaX + : 'wheelDeltaX' in a + ? -a.wheelDeltaX + : 0; + }, + deltaY: function(a) { + return 'deltaY' in a + ? a.deltaY + : 'wheelDeltaY' in a + ? -a.wheelDeltaY + : 'wheelDelta' in a + ? -a.wheelDelta + : 0; + }, + deltaZ: null, + deltaMode: null + }), + yd = [ + ['abort', 'abort'], + [bb, 'animationEnd'], + [cb, 'animationIteration'], + [db, 'animationStart'], + ['canplay', 'canPlay'], + ['canplaythrough', 'canPlayThrough'], + ['drag', 'drag'], + ['dragenter', 'dragEnter'], + ['dragexit', 'dragExit'], + ['dragleave', 'dragLeave'], + ['dragover', 'dragOver'], + ['durationchange', 'durationChange'], + ['emptied', 'emptied'], + ['encrypted', 'encrypted'], + ['ended', 'ended'], + ['error', 'error'], + ['gotpointercapture', 'gotPointerCapture'], + ['load', 'load'], + ['loadeddata', 'loadedData'], + ['loadedmetadata', 'loadedMetadata'], + ['loadstart', 'loadStart'], + ['lostpointercapture', 'lostPointerCapture'], + ['mousemove', 'mouseMove'], + ['mouseout', 'mouseOut'], + ['mouseover', 'mouseOver'], + ['playing', 'playing'], + ['pointermove', 'pointerMove'], + ['pointerout', 'pointerOut'], + ['pointerover', 'pointerOver'], + ['progress', 'progress'], + ['scroll', 'scroll'], + ['seeking', 'seeking'], + ['stalled', 'stalled'], + ['suspend', 'suspend'], + ['timeupdate', 'timeUpdate'], + ['toggle', 'toggle'], + ['touchmove', 'touchMove'], + [eb, 'transitionEnd'], + ['waiting', 'waiting'], + ['wheel', 'wheel'] + ], + zd = {}, + Ad = {}; + function Bd(a, b) { + var c = a[0]; + a = a[1]; + var d = 'on' + (a[0].toUpperCase() + a.slice(1)); + b = { + phasedRegistrationNames: { bubbled: d, captured: d + 'Capture' }, + dependencies: [c], + isInteractive: b + }; + zd[a] = b; + Ad[c] = b; + } + [ + ['blur', 'blur'], + ['cancel', 'cancel'], + ['click', 'click'], + ['close', 'close'], + ['contextmenu', 'contextMenu'], + ['copy', 'copy'], + ['cut', 'cut'], + ['auxclick', 'auxClick'], + ['dblclick', 'doubleClick'], + ['dragend', 'dragEnd'], + ['dragstart', 'dragStart'], + ['drop', 'drop'], + ['focus', 'focus'], + ['input', 'input'], + ['invalid', 'invalid'], + ['keydown', 'keyDown'], + ['keypress', 'keyPress'], + ['keyup', 'keyUp'], + ['mousedown', 'mouseDown'], + ['mouseup', 'mouseUp'], + ['paste', 'paste'], + ['pause', 'pause'], + ['play', 'play'], + ['pointercancel', 'pointerCancel'], + ['pointerdown', 'pointerDown'], + ['pointerup', 'pointerUp'], + ['ratechange', 'rateChange'], + ['reset', 'reset'], + ['seeked', 'seeked'], + ['submit', 'submit'], + ['touchcancel', 'touchCancel'], + ['touchend', 'touchEnd'], + ['touchstart', 'touchStart'], + ['volumechange', 'volumeChange'] + ].forEach(function(a) { + Bd(a, !0); + }); + yd.forEach(function(a) { + Bd(a, !1); + }); + var Cd = { + eventTypes: zd, + isInteractiveTopLevelEventType: function(a) { + a = Ad[a]; + return void 0 !== a && !0 === a.isInteractive; + }, + extractEvents: function(a, b, c, d) { + var e = Ad[a]; + if (!e) return null; + switch (a) { + case 'keypress': + if (0 === qd(c)) return null; + case 'keydown': + case 'keyup': + a = td; + break; + case 'blur': + case 'focus': + a = pd; + break; + case 'click': + if (2 === c.button) return null; + case 'auxclick': + case 'dblclick': + case 'mousedown': + case 'mousemove': + case 'mouseup': + case 'mouseout': + case 'mouseover': + case 'contextmenu': + a = cd; + break; + case 'drag': + case 'dragend': + case 'dragenter': + case 'dragexit': + case 'dragleave': + case 'dragover': + case 'dragstart': + case 'drop': + a = ud; + break; + case 'touchcancel': + case 'touchend': + case 'touchmove': + case 'touchstart': + a = vd; + break; + case bb: + case cb: + case db: + a = nd; + break; + case eb: + a = wd; + break; + case 'scroll': + a = Vc; + break; + case 'wheel': + a = xd; + break; + case 'copy': + case 'cut': + case 'paste': + a = od; + break; + case 'gotpointercapture': + case 'lostpointercapture': + case 'pointercancel': + case 'pointerdown': + case 'pointermove': + case 'pointerout': + case 'pointerover': + case 'pointerup': + a = dd; + break; + default: + a = z; + } + b = a.getPooled(e, b, c, d); + Ua(b); + return b; + } + }, + Dd = Cd.isInteractiveTopLevelEventType, + Ed = []; + function Fd(a) { + var b = a.targetInst, + c = b; + do { + if (!c) { + a.ancestors.push(c); + break; + } + var d; + for (d = c; d.return; ) d = d.return; + d = 5 !== d.tag ? null : d.stateNode.containerInfo; + if (!d) break; + a.ancestors.push(c); + c = Ka(d); + } while (c); + for (c = 0; c < a.ancestors.length; c++) { + b = a.ancestors[c]; + var e = Sb(a.nativeEvent); + d = a.topLevelType; + for (var f = a.nativeEvent, g = null, h = 0; h < pa.length; h++) { + var k = pa[h]; + k && (k = k.extractEvents(d, b, f, e)) && (g = ya(g, k)); + } + Ga(g, !1); + } + } + var Gd = !0; + function F(a, b) { + if (!b) return null; + var c = (Dd(a) ? Hd : Id).bind(null, a); + b.addEventListener(a, c, !1); + } + function Jd(a, b) { + if (!b) return null; + var c = (Dd(a) ? Hd : Id).bind(null, a); + b.addEventListener(a, c, !0); + } + function Hd(a, b) { + Mb(Id, a, b); + } + function Id(a, b) { + if (Gd) { + var c = Sb(b); + c = Ka(c); + null === c || 'number' !== typeof c.tag || 2 === jd(c) || (c = null); + if (Ed.length) { + var d = Ed.pop(); + d.topLevelType = a; + d.nativeEvent = b; + d.targetInst = c; + a = d; + } else + a = { + topLevelType: a, + nativeEvent: b, + targetInst: c, + ancestors: [] + }; + try { + Pb(Fd, a); + } finally { + (a.topLevelType = null), + (a.nativeEvent = null), + (a.targetInst = null), + (a.ancestors.length = 0), + 10 > Ed.length && Ed.push(a); + } + } + } + var Kd = {}, + Ld = 0, + Md = '_reactListenersID' + ('' + Math.random()).slice(2); + function Nd(a) { + Object.prototype.hasOwnProperty.call(a, Md) || + ((a[Md] = Ld++), (Kd[a[Md]] = {})); + return Kd[a[Md]]; + } + function Od(a) { + a = a || ('undefined' !== typeof document ? document : void 0); + if ('undefined' === typeof a) return null; + try { + return a.activeElement || a.body; + } catch (b) { + return a.body; + } + } + function Qd(a) { + for (; a && a.firstChild; ) a = a.firstChild; + return a; + } + function Rd(a, b) { + var c = Qd(a); + a = 0; + for (var d; c; ) { + if (3 === c.nodeType) { + d = a + c.textContent.length; + if (a <= b && d >= b) return { node: c, offset: b - a }; + a = d; + } + a: { + for (; c; ) { + if (c.nextSibling) { + c = c.nextSibling; + break a; + } + c = c.parentNode; + } + c = void 0; + } + c = Qd(c); + } + } + function Sd(a, b) { + return a && b + ? a === b + ? !0 + : a && 3 === a.nodeType + ? !1 + : b && 3 === b.nodeType + ? Sd(a, b.parentNode) + : 'contains' in a + ? a.contains(b) + : a.compareDocumentPosition + ? !!(a.compareDocumentPosition(b) & 16) + : !1 + : !1; + } + function Td() { + for (var a = window, b = Od(); b instanceof a.HTMLIFrameElement; ) { + try { + a = b.contentDocument.defaultView; + } catch (c) { + break; + } + b = Od(a.document); + } + return b; + } + function Ud(a) { + var b = a && a.nodeName && a.nodeName.toLowerCase(); + return ( + b && + (('input' === b && + ('text' === a.type || + 'search' === a.type || + 'tel' === a.type || + 'url' === a.type || + 'password' === a.type)) || + 'textarea' === b || + 'true' === a.contentEditable) + ); + } + var Vd = Va && 'documentMode' in document && 11 >= document.documentMode, + Wd = { + select: { + phasedRegistrationNames: { + bubbled: 'onSelect', + captured: 'onSelectCapture' + }, + dependencies: 'blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange'.split( + ' ' + ) + } + }, + Xd = null, + Yd = null, + Zd = null, + $d = !1; + function ae(a, b) { + var c = + b.window === b ? b.document : 9 === b.nodeType ? b : b.ownerDocument; + if ($d || null == Xd || Xd !== Od(c)) return null; + c = Xd; + 'selectionStart' in c && Ud(c) + ? (c = { start: c.selectionStart, end: c.selectionEnd }) + : ((c = ( + (c.ownerDocument && c.ownerDocument.defaultView) || + window + ).getSelection()), + (c = { + anchorNode: c.anchorNode, + anchorOffset: c.anchorOffset, + focusNode: c.focusNode, + focusOffset: c.focusOffset + })); + return Zd && id(Zd, c) + ? null + : ((Zd = c), + (a = z.getPooled(Wd.select, Yd, a, b)), + (a.type = 'select'), + (a.target = Xd), + Ua(a), + a); + } + var be = { + eventTypes: Wd, + extractEvents: function(a, b, c, d) { + var e = + d.window === d + ? d.document + : 9 === d.nodeType + ? d + : d.ownerDocument, + f; + if (!(f = !e)) { + a: { + e = Nd(e); + f = ta.onSelect; + for (var g = 0; g < f.length; g++) { + var h = f[g]; + if (!e.hasOwnProperty(h) || !e[h]) { + e = !1; + break a; + } + } + e = !0; + } + f = !e; + } + if (f) return null; + e = b ? Ma(b) : window; + switch (a) { + case 'focus': + if (Rb(e) || 'true' === e.contentEditable) + (Xd = e), (Yd = b), (Zd = null); + break; + case 'blur': + Zd = Yd = Xd = null; + break; + case 'mousedown': + $d = !0; + break; + case 'contextmenu': + case 'mouseup': + case 'dragend': + return ($d = !1), ae(c, d); + case 'selectionchange': + if (Vd) break; + case 'keydown': + case 'keyup': + return ae(c, d); + } + return null; + } + }; + Ea.injectEventPluginOrder( + 'ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin'.split( + ' ' + ) + ); + ua = Na; + va = La; + wa = Ma; + Ea.injectEventPluginsByName({ + SimpleEventPlugin: Cd, + EnterLeaveEventPlugin: fd, + ChangeEventPlugin: Uc, + SelectEventPlugin: be, + BeforeInputEventPlugin: Eb + }); + function ce(a) { + var b = ''; + aa.Children.forEach(a, function(a) { + null != a && (b += a); + }); + return b; + } + function de(a, b) { + a = n({ children: void 0 }, b); + if ((b = ce(b.children))) a.children = b; + return a; + } + function ee(a, b, c, d) { + a = a.options; + if (b) { + b = {}; + for (var e = 0; e < c.length; e++) b['$' + c[e]] = !0; + for (c = 0; c < a.length; c++) + (e = b.hasOwnProperty('$' + a[c].value)), + a[c].selected !== e && (a[c].selected = e), + e && d && (a[c].defaultSelected = !0); + } else { + c = '' + yc(c); + b = null; + for (e = 0; e < a.length; e++) { + if (a[e].value === c) { + a[e].selected = !0; + d && (a[e].defaultSelected = !0); + return; + } + null !== b || a[e].disabled || (b = a[e]); + } + null !== b && (b.selected = !0); + } + } + function fe(a, b) { + null != b.dangerouslySetInnerHTML ? t('91') : void 0; + return n({}, b, { + value: void 0, + defaultValue: void 0, + children: '' + a._wrapperState.initialValue + }); + } + function ge(a, b) { + var c = b.value; + null == c && + ((c = b.defaultValue), + (b = b.children), + null != b && + (null != c ? t('92') : void 0, + Array.isArray(b) && (1 >= b.length ? void 0 : t('93'), (b = b[0])), + (c = b)), + null == c && (c = '')); + a._wrapperState = { initialValue: yc(c) }; + } + function he(a, b) { + var c = yc(b.value), + d = yc(b.defaultValue); + null != c && + ((c = '' + c), + c !== a.value && (a.value = c), + null == b.defaultValue && + a.defaultValue !== c && + (a.defaultValue = c)); + null != d && (a.defaultValue = '' + d); + } + function ie(a) { + var b = a.textContent; + b === a._wrapperState.initialValue && (a.value = b); + } + var je = { + html: 'http://www.w3.org/1999/xhtml', + mathml: 'http://www.w3.org/1998/Math/MathML', + svg: 'http://www.w3.org/2000/svg' + }; + function ke(a) { + switch (a) { + case 'svg': + return 'http://www.w3.org/2000/svg'; + case 'math': + return 'http://www.w3.org/1998/Math/MathML'; + default: + return 'http://www.w3.org/1999/xhtml'; + } + } + function le(a, b) { + return null == a || 'http://www.w3.org/1999/xhtml' === a + ? ke(b) + : 'http://www.w3.org/2000/svg' === a && 'foreignObject' === b + ? 'http://www.w3.org/1999/xhtml' + : a; + } + var me = void 0, + ne = (function(a) { + return 'undefined' !== typeof MSApp && MSApp.execUnsafeLocalFunction + ? function(b, c, d, e) { + MSApp.execUnsafeLocalFunction(function() { + return a(b, c, d, e); + }); + } + : a; + })(function(a, b) { + if (a.namespaceURI !== je.svg || 'innerHTML' in a) a.innerHTML = b; + else { + me = me || document.createElement('div'); + me.innerHTML = '' + b + ''; + for (b = me.firstChild; a.firstChild; ) a.removeChild(a.firstChild); + for (; b.firstChild; ) a.appendChild(b.firstChild); + } + }); + function oe(a, b) { + if (b) { + var c = a.firstChild; + if (c && c === a.lastChild && 3 === c.nodeType) { + c.nodeValue = b; + return; + } + } + a.textContent = b; + } + var pe = { + animationIterationCount: !0, + borderImageOutset: !0, + borderImageSlice: !0, + borderImageWidth: !0, + boxFlex: !0, + boxFlexGroup: !0, + boxOrdinalGroup: !0, + columnCount: !0, + columns: !0, + flex: !0, + flexGrow: !0, + flexPositive: !0, + flexShrink: !0, + flexNegative: !0, + flexOrder: !0, + gridArea: !0, + gridRow: !0, + gridRowEnd: !0, + gridRowSpan: !0, + gridRowStart: !0, + gridColumn: !0, + gridColumnEnd: !0, + gridColumnSpan: !0, + gridColumnStart: !0, + fontWeight: !0, + lineClamp: !0, + lineHeight: !0, + opacity: !0, + order: !0, + orphans: !0, + tabSize: !0, + widows: !0, + zIndex: !0, + zoom: !0, + fillOpacity: !0, + floodOpacity: !0, + stopOpacity: !0, + strokeDasharray: !0, + strokeDashoffset: !0, + strokeMiterlimit: !0, + strokeOpacity: !0, + strokeWidth: !0 + }, + qe = ['Webkit', 'ms', 'Moz', 'O']; + Object.keys(pe).forEach(function(a) { + qe.forEach(function(b) { + b = b + a.charAt(0).toUpperCase() + a.substring(1); + pe[b] = pe[a]; + }); + }); + function re(a, b) { + a = a.style; + for (var c in b) + if (b.hasOwnProperty(c)) { + var d = 0 === c.indexOf('--'); + var e = c; + var f = b[c]; + e = + null == f || 'boolean' === typeof f || '' === f + ? '' + : d || + 'number' !== typeof f || + 0 === f || + (pe.hasOwnProperty(e) && pe[e]) + ? ('' + f).trim() + : f + 'px'; + 'float' === c && (c = 'cssFloat'); + d ? a.setProperty(c, e) : (a[c] = e); + } + } + var se = n( + { menuitem: !0 }, + { + area: !0, + base: !0, + br: !0, + col: !0, + embed: !0, + hr: !0, + img: !0, + input: !0, + keygen: !0, + link: !0, + meta: !0, + param: !0, + source: !0, + track: !0, + wbr: !0 + } + ); + function te(a, b) { + b && + (se[a] && + (null != b.children || null != b.dangerouslySetInnerHTML + ? t('137', a, '') + : void 0), + null != b.dangerouslySetInnerHTML && + (null != b.children ? t('60') : void 0, + 'object' === typeof b.dangerouslySetInnerHTML && + '__html' in b.dangerouslySetInnerHTML + ? void 0 + : t('61')), + null != b.style && 'object' !== typeof b.style + ? t('62', '') + : void 0); + } + function ue(a, b) { + if (-1 === a.indexOf('-')) return 'string' === typeof b.is; + switch (a) { + case 'annotation-xml': + case 'color-profile': + case 'font-face': + case 'font-face-src': + case 'font-face-uri': + case 'font-face-format': + case 'font-face-name': + case 'missing-glyph': + return !1; + default: + return !0; + } + } + function ve(a, b) { + a = 9 === a.nodeType || 11 === a.nodeType ? a : a.ownerDocument; + var c = Nd(a); + b = ta[b]; + for (var d = 0; d < b.length; d++) { + var e = b[d]; + if (!c.hasOwnProperty(e) || !c[e]) { + switch (e) { + case 'scroll': + Jd('scroll', a); + break; + case 'focus': + case 'blur': + Jd('focus', a); + Jd('blur', a); + c.blur = !0; + c.focus = !0; + break; + case 'cancel': + case 'close': + Tb(e) && Jd(e, a); + break; + case 'invalid': + case 'submit': + case 'reset': + break; + default: + -1 === fb.indexOf(e) && F(e, a); + } + c[e] = !0; + } + } + } + function we() {} + var xe = null, + ye = null; + function ze(a, b) { + switch (a) { + case 'button': + case 'input': + case 'select': + case 'textarea': + return !!b.autoFocus; + } + return !1; + } + function Ae(a, b) { + return ( + 'textarea' === a || + 'option' === a || + 'noscript' === a || + 'string' === typeof b.children || + 'number' === typeof b.children || + ('object' === typeof b.dangerouslySetInnerHTML && + null !== b.dangerouslySetInnerHTML && + null != b.dangerouslySetInnerHTML.__html) + ); + } + function Be(a) { + for (a = a.nextSibling; a && 1 !== a.nodeType && 3 !== a.nodeType; ) + a = a.nextSibling; + return a; + } + function Ce(a) { + for (a = a.firstChild; a && 1 !== a.nodeType && 3 !== a.nodeType; ) + a = a.nextSibling; + return a; + } + new Set(); + var De = [], + Ee = -1; + function G(a) { + 0 > Ee || ((a.current = De[Ee]), (De[Ee] = null), Ee--); + } + function H(a, b) { + Ee++; + De[Ee] = a.current; + a.current = b; + } + var Fe = {}, + I = { current: Fe }, + J = { current: !1 }, + Ge = Fe; + function He(a, b) { + var c = a.type.contextTypes; + if (!c) return Fe; + var d = a.stateNode; + if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) + return d.__reactInternalMemoizedMaskedChildContext; + var e = {}, + f; + for (f in c) e[f] = b[f]; + d && + ((a = a.stateNode), + (a.__reactInternalMemoizedUnmaskedChildContext = b), + (a.__reactInternalMemoizedMaskedChildContext = e)); + return e; + } + function K(a) { + a = a.childContextTypes; + return null !== a && void 0 !== a; + } + function Ie(a) { + G(J, a); + G(I, a); + } + function Je(a) { + G(J, a); + G(I, a); + } + function Ke(a, b, c) { + I.current !== Fe ? t('168') : void 0; + H(I, b, a); + H(J, c, a); + } + function Le(a, b, c) { + var d = a.stateNode; + a = b.childContextTypes; + if ('function' !== typeof d.getChildContext) return c; + d = d.getChildContext(); + for (var e in d) e in a ? void 0 : t('108', lc(b) || 'Unknown', e); + return n({}, c, d); + } + function Me(a) { + var b = a.stateNode; + b = (b && b.__reactInternalMemoizedMergedChildContext) || Fe; + Ge = I.current; + H(I, b, a); + H(J, J.current, a); + return !0; + } + function Ne(a, b, c) { + var d = a.stateNode; + d ? void 0 : t('169'); + c + ? ((b = Le(a, b, Ge)), + (d.__reactInternalMemoizedMergedChildContext = b), + G(J, a), + G(I, a), + H(I, b, a)) + : G(J, a); + H(J, c, a); + } + var Oe = null, + Pe = null; + function Qe(a) { + return function(b) { + try { + return a(b); + } catch (c) {} + }; + } + function Re(a) { + if ('undefined' === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1; + var b = __REACT_DEVTOOLS_GLOBAL_HOOK__; + if (b.isDisabled || !b.supportsFiber) return !0; + try { + var c = b.inject(a); + Oe = Qe(function(a) { + return b.onCommitFiberRoot(c, a); + }); + Pe = Qe(function(a) { + return b.onCommitFiberUnmount(c, a); + }); + } catch (d) {} + return !0; + } + function Se(a, b, c, d) { + this.tag = a; + this.key = c; + this.sibling = this.child = this.return = this.stateNode = this.type = null; + this.index = 0; + this.ref = null; + this.pendingProps = b; + this.firstContextDependency = this.memoizedState = this.updateQueue = this.memoizedProps = null; + this.mode = d; + this.effectTag = 0; + this.lastEffect = this.firstEffect = this.nextEffect = null; + this.childExpirationTime = this.expirationTime = 0; + this.alternate = null; + } + function Te(a) { + a = a.prototype; + return !(!a || !a.isReactComponent); + } + function Ue(a, b, c) { + var d = a.alternate; + null === d + ? ((d = new Se(a.tag, b, a.key, a.mode)), + (d.type = a.type), + (d.stateNode = a.stateNode), + (d.alternate = a), + (a.alternate = d)) + : ((d.pendingProps = b), + (d.effectTag = 0), + (d.nextEffect = null), + (d.firstEffect = null), + (d.lastEffect = null)); + d.childExpirationTime = a.childExpirationTime; + d.expirationTime = b !== a.pendingProps ? c : a.expirationTime; + d.child = a.child; + d.memoizedProps = a.memoizedProps; + d.memoizedState = a.memoizedState; + d.updateQueue = a.updateQueue; + d.firstContextDependency = a.firstContextDependency; + d.sibling = a.sibling; + d.index = a.index; + d.ref = a.ref; + return d; + } + function Ve(a, b, c) { + var d = a.type, + e = a.key; + a = a.props; + var f = void 0; + if ('function' === typeof d) f = Te(d) ? 2 : 4; + else if ('string' === typeof d) f = 7; + else + a: switch (d) { + case bc: + return We(a.children, b, c, e); + case gc: + f = 10; + b |= 3; + break; + case cc: + f = 10; + b |= 2; + break; + case dc: + return ( + (d = new Se(15, a, e, b | 4)), + (d.type = dc), + (d.expirationTime = c), + d + ); + case ic: + f = 16; + break; + default: + if ('object' === typeof d && null !== d) + switch (d.$$typeof) { + case ec: + f = 12; + break a; + case fc: + f = 11; + break a; + case hc: + f = 13; + break a; + default: + if ('function' === typeof d.then) { + f = 4; + break a; + } + } + t('130', null == d ? d : typeof d, ''); + } + b = new Se(f, a, e, b); + b.type = d; + b.expirationTime = c; + return b; + } + function We(a, b, c, d) { + a = new Se(9, a, d, b); + a.expirationTime = c; + return a; + } + function Xe(a, b, c) { + a = new Se(8, a, null, b); + a.expirationTime = c; + return a; + } + function Ye(a, b, c) { + b = new Se(6, null !== a.children ? a.children : [], a.key, b); + b.expirationTime = c; + b.stateNode = { + containerInfo: a.containerInfo, + pendingChildren: null, + implementation: a.implementation + }; + return b; + } + function Ze(a, b) { + a.didError = !1; + var c = a.earliestPendingTime; + 0 === c + ? (a.earliestPendingTime = a.latestPendingTime = b) + : c > b + ? (a.earliestPendingTime = b) + : a.latestPendingTime < b && (a.latestPendingTime = b); + $e(b, a); + } + function $e(a, b) { + var c = b.earliestSuspendedTime, + d = b.latestSuspendedTime, + e = b.earliestPendingTime, + f = b.latestPingedTime; + e = 0 !== e ? e : f; + 0 === e && (0 === a || d > a) && (e = d); + a = e; + 0 !== a && 0 !== c && c < a && (a = c); + b.nextExpirationTimeToWorkOn = e; + b.expirationTime = a; + } + var af = !1; + function bf(a) { + return { + baseState: a, + firstUpdate: null, + lastUpdate: null, + firstCapturedUpdate: null, + lastCapturedUpdate: null, + firstEffect: null, + lastEffect: null, + firstCapturedEffect: null, + lastCapturedEffect: null + }; + } + function cf(a) { + return { + baseState: a.baseState, + firstUpdate: a.firstUpdate, + lastUpdate: a.lastUpdate, + firstCapturedUpdate: null, + lastCapturedUpdate: null, + firstEffect: null, + lastEffect: null, + firstCapturedEffect: null, + lastCapturedEffect: null + }; + } + function df(a) { + return { + expirationTime: a, + tag: 0, + payload: null, + callback: null, + next: null, + nextEffect: null + }; + } + function ef(a, b) { + null === a.lastUpdate + ? (a.firstUpdate = a.lastUpdate = b) + : ((a.lastUpdate.next = b), (a.lastUpdate = b)); + } + function ff(a, b) { + var c = a.alternate; + if (null === c) { + var d = a.updateQueue; + var e = null; + null === d && (d = a.updateQueue = bf(a.memoizedState)); + } else + (d = a.updateQueue), + (e = c.updateQueue), + null === d + ? null === e + ? ((d = a.updateQueue = bf(a.memoizedState)), + (e = c.updateQueue = bf(c.memoizedState))) + : (d = a.updateQueue = cf(e)) + : null === e && (e = c.updateQueue = cf(d)); + null === e || d === e + ? ef(d, b) + : null === d.lastUpdate || null === e.lastUpdate + ? (ef(d, b), ef(e, b)) + : (ef(d, b), (e.lastUpdate = b)); + } + function gf(a, b) { + var c = a.updateQueue; + c = null === c ? (a.updateQueue = bf(a.memoizedState)) : hf(a, c); + null === c.lastCapturedUpdate + ? (c.firstCapturedUpdate = c.lastCapturedUpdate = b) + : ((c.lastCapturedUpdate.next = b), (c.lastCapturedUpdate = b)); + } + function hf(a, b) { + var c = a.alternate; + null !== c && b === c.updateQueue && (b = a.updateQueue = cf(b)); + return b; + } + function jf(a, b, c, d, e, f) { + switch (c.tag) { + case 1: + return ( + (a = c.payload), 'function' === typeof a ? a.call(f, d, e) : a + ); + case 3: + a.effectTag = (a.effectTag & -1025) | 64; + case 0: + a = c.payload; + e = 'function' === typeof a ? a.call(f, d, e) : a; + if (null === e || void 0 === e) break; + return n({}, d, e); + case 2: + af = !0; + } + return d; + } + function kf(a, b, c, d, e) { + af = !1; + b = hf(a, b); + for ( + var f = b.baseState, g = null, h = 0, k = b.firstUpdate, l = f; + null !== k; + + ) { + var m = k.expirationTime; + if (m > e) { + if ((null === g && ((g = k), (f = l)), 0 === h || h > m)) h = m; + } else + (l = jf(a, b, k, l, c, d)), + null !== k.callback && + ((a.effectTag |= 32), + (k.nextEffect = null), + null === b.lastEffect + ? (b.firstEffect = b.lastEffect = k) + : ((b.lastEffect.nextEffect = k), (b.lastEffect = k))); + k = k.next; + } + m = null; + for (k = b.firstCapturedUpdate; null !== k; ) { + var r = k.expirationTime; + if (r > e) { + if ( + (null === m && ((m = k), null === g && (f = l)), 0 === h || h > r) + ) + h = r; + } else + (l = jf(a, b, k, l, c, d)), + null !== k.callback && + ((a.effectTag |= 32), + (k.nextEffect = null), + null === b.lastCapturedEffect + ? (b.firstCapturedEffect = b.lastCapturedEffect = k) + : ((b.lastCapturedEffect.nextEffect = k), + (b.lastCapturedEffect = k))); + k = k.next; + } + null === g && (b.lastUpdate = null); + null === m ? (b.lastCapturedUpdate = null) : (a.effectTag |= 32); + null === g && null === m && (f = l); + b.baseState = f; + b.firstUpdate = g; + b.firstCapturedUpdate = m; + a.expirationTime = h; + a.memoizedState = l; + } + function lf(a, b, c) { + null !== b.firstCapturedUpdate && + (null !== b.lastUpdate && + ((b.lastUpdate.next = b.firstCapturedUpdate), + (b.lastUpdate = b.lastCapturedUpdate)), + (b.firstCapturedUpdate = b.lastCapturedUpdate = null)); + mf(b.firstEffect, c); + b.firstEffect = b.lastEffect = null; + mf(b.firstCapturedEffect, c); + b.firstCapturedEffect = b.lastCapturedEffect = null; + } + function mf(a, b) { + for (; null !== a; ) { + var c = a.callback; + if (null !== c) { + a.callback = null; + var d = b; + 'function' !== typeof c ? t('191', c) : void 0; + c.call(d); + } + a = a.nextEffect; + } + } + function nf(a, b) { + return { value: a, source: b, stack: mc(b) }; + } + var of = { current: null }, + pf = null, + qf = null, + rf = null; + function sf(a, b) { + var c = a.type._context; + H(of, c._currentValue, a); + c._currentValue = b; + } + function tf(a) { + var b = of.current; + G(of, a); + a.type._context._currentValue = b; + } + function uf(a) { + pf = a; + rf = qf = null; + a.firstContextDependency = null; + } + function vf(a, b) { + if (rf !== a && !1 !== b && 0 !== b) { + if ('number' !== typeof b || 1073741823 === b) + (rf = a), (b = 1073741823); + b = { context: a, observedBits: b, next: null }; + null === qf + ? (null === pf ? t('277') : void 0, + (pf.firstContextDependency = qf = b)) + : (qf = qf.next = b); + } + return a._currentValue; + } + var wf = {}, + L = { current: wf }, + xf = { current: wf }, + yf = { current: wf }; + function zf(a) { + a === wf ? t('174') : void 0; + return a; + } + function Af(a, b) { + H(yf, b, a); + H(xf, a, a); + H(L, wf, a); + var c = b.nodeType; + switch (c) { + case 9: + case 11: + b = (b = b.documentElement) ? b.namespaceURI : le(null, ''); + break; + default: + (c = 8 === c ? b.parentNode : b), + (b = c.namespaceURI || null), + (c = c.tagName), + (b = le(b, c)); + } + G(L, a); + H(L, b, a); + } + function Bf(a) { + G(L, a); + G(xf, a); + G(yf, a); + } + function Cf(a) { + zf(yf.current); + var b = zf(L.current); + var c = le(b, a.type); + b !== c && (H(xf, a, a), H(L, c, a)); + } + function Df(a) { + xf.current === a && (G(L, a), G(xf, a)); + } + var Ef = new aa.Component().refs; + function Ff(a, b, c, d) { + b = a.memoizedState; + c = c(d, b); + c = null === c || void 0 === c ? b : n({}, b, c); + a.memoizedState = c; + d = a.updateQueue; + null !== d && 0 === a.expirationTime && (d.baseState = c); + } + var Jf = { + isMounted: function(a) { + return (a = a._reactInternalFiber) ? 2 === jd(a) : !1; + }, + enqueueSetState: function(a, b, c) { + a = a._reactInternalFiber; + var d = Gf(); + d = Hf(d, a); + var e = df(d); + e.payload = b; + void 0 !== c && null !== c && (e.callback = c); + ff(a, e); + If(a, d); + }, + enqueueReplaceState: function(a, b, c) { + a = a._reactInternalFiber; + var d = Gf(); + d = Hf(d, a); + var e = df(d); + e.tag = 1; + e.payload = b; + void 0 !== c && null !== c && (e.callback = c); + ff(a, e); + If(a, d); + }, + enqueueForceUpdate: function(a, b) { + a = a._reactInternalFiber; + var c = Gf(); + c = Hf(c, a); + var d = df(c); + d.tag = 2; + void 0 !== b && null !== b && (d.callback = b); + ff(a, d); + If(a, c); + } + }; + function Kf(a, b, c, d, e, f, g) { + a = a.stateNode; + return 'function' === typeof a.shouldComponentUpdate + ? a.shouldComponentUpdate(d, f, g) + : b.prototype && b.prototype.isPureReactComponent + ? !id(c, d) || !id(e, f) + : !0; + } + function Lf(a, b, c, d) { + a = b.state; + 'function' === typeof b.componentWillReceiveProps && + b.componentWillReceiveProps(c, d); + 'function' === typeof b.UNSAFE_componentWillReceiveProps && + b.UNSAFE_componentWillReceiveProps(c, d); + b.state !== a && Jf.enqueueReplaceState(b, b.state, null); + } + function Mf(a, b, c, d) { + var e = a.stateNode, + f = K(b) ? Ge : I.current; + e.props = c; + e.state = a.memoizedState; + e.refs = Ef; + e.context = He(a, f); + f = a.updateQueue; + null !== f && (kf(a, f, c, e, d), (e.state = a.memoizedState)); + f = b.getDerivedStateFromProps; + 'function' === typeof f && + (Ff(a, b, f, c), (e.state = a.memoizedState)); + 'function' === typeof b.getDerivedStateFromProps || + 'function' === typeof e.getSnapshotBeforeUpdate || + ('function' !== typeof e.UNSAFE_componentWillMount && + 'function' !== typeof e.componentWillMount) || + ((b = e.state), + 'function' === typeof e.componentWillMount && e.componentWillMount(), + 'function' === typeof e.UNSAFE_componentWillMount && + e.UNSAFE_componentWillMount(), + b !== e.state && Jf.enqueueReplaceState(e, e.state, null), + (f = a.updateQueue), + null !== f && (kf(a, f, c, e, d), (e.state = a.memoizedState))); + 'function' === typeof e.componentDidMount && (a.effectTag |= 4); + } + var Nf = Array.isArray; + function Of(a, b, c) { + a = c.ref; + if (null !== a && 'function' !== typeof a && 'object' !== typeof a) { + if (c._owner) { + c = c._owner; + var d = void 0; + c && + (2 !== c.tag && 3 !== c.tag ? t('110') : void 0, + (d = c.stateNode)); + d ? void 0 : t('147', a); + var e = '' + a; + if ( + null !== b && + null !== b.ref && + 'function' === typeof b.ref && + b.ref._stringRef === e + ) + return b.ref; + b = function(a) { + var b = d.refs; + b === Ef && (b = d.refs = {}); + null === a ? delete b[e] : (b[e] = a); + }; + b._stringRef = e; + return b; + } + 'string' !== typeof a ? t('284') : void 0; + c._owner ? void 0 : t('254', a); + } + return a; + } + function Pf(a, b) { + 'textarea' !== a.type && + t( + '31', + '[object Object]' === Object.prototype.toString.call(b) + ? 'object with keys {' + Object.keys(b).join(', ') + '}' + : b, + '' + ); + } + function Qf(a) { + function b(b, c) { + if (a) { + var d = b.lastEffect; + null !== d + ? ((d.nextEffect = c), (b.lastEffect = c)) + : (b.firstEffect = b.lastEffect = c); + c.nextEffect = null; + c.effectTag = 8; + } + } + function c(c, d) { + if (!a) return null; + for (; null !== d; ) b(c, d), (d = d.sibling); + return null; + } + function d(a, b) { + for (a = new Map(); null !== b; ) + null !== b.key ? a.set(b.key, b) : a.set(b.index, b), + (b = b.sibling); + return a; + } + function e(a, b, c) { + a = Ue(a, b, c); + a.index = 0; + a.sibling = null; + return a; + } + function f(b, c, d) { + b.index = d; + if (!a) return c; + d = b.alternate; + if (null !== d) + return (d = d.index), d < c ? ((b.effectTag = 2), c) : d; + b.effectTag = 2; + return c; + } + function g(b) { + a && null === b.alternate && (b.effectTag = 2); + return b; + } + function h(a, b, c, d) { + if (null === b || 8 !== b.tag) + return (b = Xe(c, a.mode, d)), (b.return = a), b; + b = e(b, c, d); + b.return = a; + return b; + } + function k(a, b, c, d) { + if (null !== b && b.type === c.type) + return ( + (d = e(b, c.props, d)), (d.ref = Of(a, b, c)), (d.return = a), d + ); + d = Ve(c, a.mode, d); + d.ref = Of(a, b, c); + d.return = a; + return d; + } + function l(a, b, c, d) { + if ( + null === b || + 6 !== b.tag || + b.stateNode.containerInfo !== c.containerInfo || + b.stateNode.implementation !== c.implementation + ) + return (b = Ye(c, a.mode, d)), (b.return = a), b; + b = e(b, c.children || [], d); + b.return = a; + return b; + } + function m(a, b, c, d, f) { + if (null === b || 9 !== b.tag) + return (b = We(c, a.mode, d, f)), (b.return = a), b; + b = e(b, c, d); + b.return = a; + return b; + } + function r(a, b, c) { + if ('string' === typeof b || 'number' === typeof b) + return (b = Xe('' + b, a.mode, c)), (b.return = a), b; + if ('object' === typeof b && null !== b) { + switch (b.$$typeof) { + case $b: + return ( + (c = Ve(b, a.mode, c)), + (c.ref = Of(a, null, b)), + (c.return = a), + c + ); + case ac: + return (b = Ye(b, a.mode, c)), (b.return = a), b; + } + if (Nf(b) || kc(b)) + return (b = We(b, a.mode, c, null)), (b.return = a), b; + Pf(a, b); + } + return null; + } + function A(a, b, c, d) { + var e = null !== b ? b.key : null; + if ('string' === typeof c || 'number' === typeof c) + return null !== e ? null : h(a, b, '' + c, d); + if ('object' === typeof c && null !== c) { + switch (c.$$typeof) { + case $b: + return c.key === e + ? c.type === bc + ? m(a, b, c.props.children, d, e) + : k(a, b, c, d) + : null; + case ac: + return c.key === e ? l(a, b, c, d) : null; + } + if (Nf(c) || kc(c)) return null !== e ? null : m(a, b, c, d, null); + Pf(a, c); + } + return null; + } + function S(a, b, c, d, e) { + if ('string' === typeof d || 'number' === typeof d) + return (a = a.get(c) || null), h(b, a, '' + d, e); + if ('object' === typeof d && null !== d) { + switch (d.$$typeof) { + case $b: + return ( + (a = a.get(null === d.key ? c : d.key) || null), + d.type === bc + ? m(b, a, d.props.children, e, d.key) + : k(b, a, d, e) + ); + case ac: + return ( + (a = a.get(null === d.key ? c : d.key) || null), l(b, a, d, e) + ); + } + if (Nf(d) || kc(d)) + return (a = a.get(c) || null), m(b, a, d, e, null); + Pf(b, d); + } + return null; + } + function B(e, g, h, k) { + for ( + var l = null, m = null, p = g, u = (g = 0), q = null; + null !== p && u < h.length; + u++ + ) { + p.index > u ? ((q = p), (p = null)) : (q = p.sibling); + var v = A(e, p, h[u], k); + if (null === v) { + null === p && (p = q); + break; + } + a && p && null === v.alternate && b(e, p); + g = f(v, g, u); + null === m ? (l = v) : (m.sibling = v); + m = v; + p = q; + } + if (u === h.length) return c(e, p), l; + if (null === p) { + for (; u < h.length; u++) + if ((p = r(e, h[u], k))) + (g = f(p, g, u)), + null === m ? (l = p) : (m.sibling = p), + (m = p); + return l; + } + for (p = d(e, p); u < h.length; u++) + if ((q = S(p, e, u, h[u], k))) + a && null !== q.alternate && p.delete(null === q.key ? u : q.key), + (g = f(q, g, u)), + null === m ? (l = q) : (m.sibling = q), + (m = q); + a && + p.forEach(function(a) { + return b(e, a); + }); + return l; + } + function P(e, g, h, k) { + var l = kc(h); + 'function' !== typeof l ? t('150') : void 0; + h = l.call(h); + null == h ? t('151') : void 0; + for ( + var m = (l = null), p = g, u = (g = 0), q = null, v = h.next(); + null !== p && !v.done; + u++, v = h.next() + ) { + p.index > u ? ((q = p), (p = null)) : (q = p.sibling); + var x = A(e, p, v.value, k); + if (null === x) { + p || (p = q); + break; + } + a && p && null === x.alternate && b(e, p); + g = f(x, g, u); + null === m ? (l = x) : (m.sibling = x); + m = x; + p = q; + } + if (v.done) return c(e, p), l; + if (null === p) { + for (; !v.done; u++, v = h.next()) + (v = r(e, v.value, k)), + null !== v && + ((g = f(v, g, u)), + null === m ? (l = v) : (m.sibling = v), + (m = v)); + return l; + } + for (p = d(e, p); !v.done; u++, v = h.next()) + (v = S(p, e, u, v.value, k)), + null !== v && + (a && + null !== v.alternate && + p.delete(null === v.key ? u : v.key), + (g = f(v, g, u)), + null === m ? (l = v) : (m.sibling = v), + (m = v)); + a && + p.forEach(function(a) { + return b(e, a); + }); + return l; + } + return function(a, d, f, h) { + var k = + 'object' === typeof f && + null !== f && + f.type === bc && + null === f.key; + k && (f = f.props.children); + var l = 'object' === typeof f && null !== f; + if (l) + switch (f.$$typeof) { + case $b: + a: { + l = f.key; + for (k = d; null !== k; ) { + if (k.key === l) + if (9 === k.tag ? f.type === bc : k.type === f.type) { + c(a, k.sibling); + d = e(k, f.type === bc ? f.props.children : f.props, h); + d.ref = Of(a, k, f); + d.return = a; + a = d; + break a; + } else { + c(a, k); + break; + } + else b(a, k); + k = k.sibling; + } + f.type === bc + ? ((d = We(f.props.children, a.mode, h, f.key)), + (d.return = a), + (a = d)) + : ((h = Ve(f, a.mode, h)), + (h.ref = Of(a, d, f)), + (h.return = a), + (a = h)); + } + return g(a); + case ac: + a: { + for (k = f.key; null !== d; ) { + if (d.key === k) + if ( + 6 === d.tag && + d.stateNode.containerInfo === f.containerInfo && + d.stateNode.implementation === f.implementation + ) { + c(a, d.sibling); + d = e(d, f.children || [], h); + d.return = a; + a = d; + break a; + } else { + c(a, d); + break; + } + else b(a, d); + d = d.sibling; + } + d = Ye(f, a.mode, h); + d.return = a; + a = d; + } + return g(a); + } + if ('string' === typeof f || 'number' === typeof f) + return ( + (f = '' + f), + null !== d && 8 === d.tag + ? (c(a, d.sibling), (d = e(d, f, h)), (d.return = a), (a = d)) + : (c(a, d), (d = Xe(f, a.mode, h)), (d.return = a), (a = d)), + g(a) + ); + if (Nf(f)) return B(a, d, f, h); + if (kc(f)) return P(a, d, f, h); + l && Pf(a, f); + if ('undefined' === typeof f && !k) + switch (a.tag) { + case 2: + case 3: + case 0: + (h = a.type), t('152', h.displayName || h.name || 'Component'); + } + return c(a, d); + }; + } + var Rf = Qf(!0), + Sf = Qf(!1), + Tf = null, + Uf = null, + Vf = !1; + function Wf(a, b) { + var c = new Se(7, null, null, 0); + c.type = 'DELETED'; + c.stateNode = b; + c.return = a; + c.effectTag = 8; + null !== a.lastEffect + ? ((a.lastEffect.nextEffect = c), (a.lastEffect = c)) + : (a.firstEffect = a.lastEffect = c); + } + function Xf(a, b) { + switch (a.tag) { + case 7: + var c = a.type; + b = + 1 !== b.nodeType || c.toLowerCase() !== b.nodeName.toLowerCase() + ? null + : b; + return null !== b ? ((a.stateNode = b), !0) : !1; + case 8: + return ( + (b = '' === a.pendingProps || 3 !== b.nodeType ? null : b), + null !== b ? ((a.stateNode = b), !0) : !1 + ); + default: + return !1; + } + } + function Yf(a) { + if (Vf) { + var b = Uf; + if (b) { + var c = b; + if (!Xf(a, b)) { + b = Be(c); + if (!b || !Xf(a, b)) { + a.effectTag |= 2; + Vf = !1; + Tf = a; + return; + } + Wf(Tf, c); + } + Tf = a; + Uf = Ce(b); + } else (a.effectTag |= 2), (Vf = !1), (Tf = a); + } + } + function Zf(a) { + for (a = a.return; null !== a && 7 !== a.tag && 5 !== a.tag; ) + a = a.return; + Tf = a; + } + function $f(a) { + if (a !== Tf) return !1; + if (!Vf) return Zf(a), (Vf = !0), !1; + var b = a.type; + if ( + 7 !== a.tag || + ('head' !== b && 'body' !== b && !Ae(b, a.memoizedProps)) + ) + for (b = Uf; b; ) Wf(a, b), (b = Be(b)); + Zf(a); + Uf = Tf ? Be(a.stateNode) : null; + return !0; + } + function ag() { + Uf = Tf = null; + Vf = !1; + } + function bg(a) { + switch (a._reactStatus) { + case 1: + return a._reactResult; + case 2: + throw a._reactResult; + case 0: + throw a; + default: + throw ((a._reactStatus = 0), + a.then( + function(b) { + if (0 === a._reactStatus) { + a._reactStatus = 1; + if ('object' === typeof b && null !== b) { + var c = b.default; + b = void 0 !== c && null !== c ? c : b; + } + a._reactResult = b; + } + }, + function(b) { + 0 === a._reactStatus && + ((a._reactStatus = 2), (a._reactResult = b)); + } + ), + a); + } + } + var cg = Yb.ReactCurrentOwner; + function M(a, b, c, d) { + b.child = null === a ? Sf(b, null, c, d) : Rf(b, a.child, c, d); + } + function dg(a, b, c, d, e) { + c = c.render; + var f = b.ref; + if ( + !J.current && + b.memoizedProps === d && + f === (null !== a ? a.ref : null) + ) + return eg(a, b, e); + c = c(d, f); + M(a, b, c, e); + b.memoizedProps = d; + return b.child; + } + function fg(a, b) { + var c = b.ref; + if ((null === a && null !== c) || (null !== a && a.ref !== c)) + b.effectTag |= 128; + } + function gg(a, b, c, d, e) { + var f = K(c) ? Ge : I.current; + f = He(b, f); + uf(b, e); + c = c(d, f); + b.effectTag |= 1; + M(a, b, c, e); + b.memoizedProps = d; + return b.child; + } + function hg(a, b, c, d, e) { + if (K(c)) { + var f = !0; + Me(b); + } else f = !1; + uf(b, e); + if (null === a) + if (null === b.stateNode) { + var g = K(c) ? Ge : I.current, + h = c.contextTypes, + k = null !== h && void 0 !== h; + h = k ? He(b, g) : Fe; + var l = new c(d, h); + b.memoizedState = + null !== l.state && void 0 !== l.state ? l.state : null; + l.updater = Jf; + b.stateNode = l; + l._reactInternalFiber = b; + k && + ((k = b.stateNode), + (k.__reactInternalMemoizedUnmaskedChildContext = g), + (k.__reactInternalMemoizedMaskedChildContext = h)); + Mf(b, c, d, e); + d = !0; + } else { + g = b.stateNode; + h = b.memoizedProps; + g.props = h; + var m = g.context; + k = K(c) ? Ge : I.current; + k = He(b, k); + var r = c.getDerivedStateFromProps; + (l = + 'function' === typeof r || + 'function' === typeof g.getSnapshotBeforeUpdate) || + ('function' !== typeof g.UNSAFE_componentWillReceiveProps && + 'function' !== typeof g.componentWillReceiveProps) || + ((h !== d || m !== k) && Lf(b, g, d, k)); + af = !1; + var A = b.memoizedState; + m = g.state = A; + var S = b.updateQueue; + null !== S && (kf(b, S, d, g, e), (m = b.memoizedState)); + h !== d || A !== m || J.current || af + ? ('function' === typeof r && + (Ff(b, c, r, d), (m = b.memoizedState)), + (h = af || Kf(b, c, h, d, A, m, k)) + ? (l || + ('function' !== typeof g.UNSAFE_componentWillMount && + 'function' !== typeof g.componentWillMount) || + ('function' === typeof g.componentWillMount && + g.componentWillMount(), + 'function' === typeof g.UNSAFE_componentWillMount && + g.UNSAFE_componentWillMount()), + 'function' === typeof g.componentDidMount && + (b.effectTag |= 4)) + : ('function' === typeof g.componentDidMount && + (b.effectTag |= 4), + (b.memoizedProps = d), + (b.memoizedState = m)), + (g.props = d), + (g.state = m), + (g.context = k), + (d = h)) + : ('function' === typeof g.componentDidMount && + (b.effectTag |= 4), + (d = !1)); + } + else + (g = b.stateNode), + (h = b.memoizedProps), + (g.props = h), + (m = g.context), + (k = K(c) ? Ge : I.current), + (k = He(b, k)), + (r = c.getDerivedStateFromProps), + (l = + 'function' === typeof r || + 'function' === typeof g.getSnapshotBeforeUpdate) || + ('function' !== typeof g.UNSAFE_componentWillReceiveProps && + 'function' !== typeof g.componentWillReceiveProps) || + ((h !== d || m !== k) && Lf(b, g, d, k)), + (af = !1), + (m = b.memoizedState), + (A = g.state = m), + (S = b.updateQueue), + null !== S && (kf(b, S, d, g, e), (A = b.memoizedState)), + h !== d || m !== A || J.current || af + ? ('function' === typeof r && + (Ff(b, c, r, d), (A = b.memoizedState)), + (r = af || Kf(b, c, h, d, m, A, k)) + ? (l || + ('function' !== typeof g.UNSAFE_componentWillUpdate && + 'function' !== typeof g.componentWillUpdate) || + ('function' === typeof g.componentWillUpdate && + g.componentWillUpdate(d, A, k), + 'function' === typeof g.UNSAFE_componentWillUpdate && + g.UNSAFE_componentWillUpdate(d, A, k)), + 'function' === typeof g.componentDidUpdate && + (b.effectTag |= 4), + 'function' === typeof g.getSnapshotBeforeUpdate && + (b.effectTag |= 256)) + : ('function' !== typeof g.componentDidUpdate || + (h === a.memoizedProps && m === a.memoizedState) || + (b.effectTag |= 4), + 'function' !== typeof g.getSnapshotBeforeUpdate || + (h === a.memoizedProps && m === a.memoizedState) || + (b.effectTag |= 256), + (b.memoizedProps = d), + (b.memoizedState = A)), + (g.props = d), + (g.state = A), + (g.context = k), + (d = r)) + : ('function' !== typeof g.componentDidUpdate || + (h === a.memoizedProps && m === a.memoizedState) || + (b.effectTag |= 4), + 'function' !== typeof g.getSnapshotBeforeUpdate || + (h === a.memoizedProps && m === a.memoizedState) || + (b.effectTag |= 256), + (d = !1)); + return ig(a, b, c, d, f, e); + } + function ig(a, b, c, d, e, f) { + fg(a, b); + var g = 0 !== (b.effectTag & 64); + if (!d && !g) return e && Ne(b, c, !1), eg(a, b, f); + d = b.stateNode; + cg.current = b; + var h = g ? null : d.render(); + b.effectTag |= 1; + null !== a && g && (M(a, b, null, f), (b.child = null)); + M(a, b, h, f); + b.memoizedState = d.state; + b.memoizedProps = d.props; + e && Ne(b, c, !0); + return b.child; + } + function jg(a) { + var b = a.stateNode; + b.pendingContext + ? Ke(a, b.pendingContext, b.pendingContext !== b.context) + : b.context && Ke(a, b.context, !1); + Af(a, b.containerInfo); + } + function ng(a, b) { + if (a && a.defaultProps) { + b = n({}, b); + a = a.defaultProps; + for (var c in a) void 0 === b[c] && (b[c] = a[c]); + } + return b; + } + function og(a, b, c, d) { + null !== a ? t('155') : void 0; + var e = b.pendingProps; + if ( + 'object' === typeof c && + null !== c && + 'function' === typeof c.then + ) { + c = bg(c); + var f = c; + f = + 'function' === typeof f + ? Te(f) + ? 3 + : 1 + : void 0 !== f && null !== f && f.$$typeof + ? 14 + : 4; + f = b.tag = f; + var g = ng(c, e); + switch (f) { + case 1: + return gg(a, b, c, g, d); + case 3: + return hg(a, b, c, g, d); + case 14: + return dg(a, b, c, g, d); + default: + t('283', c); + } + } + f = He(b, I.current); + uf(b, d); + f = c(e, f); + b.effectTag |= 1; + if ( + 'object' === typeof f && + null !== f && + 'function' === typeof f.render && + void 0 === f.$$typeof + ) { + b.tag = 2; + K(c) ? ((g = !0), Me(b)) : (g = !1); + b.memoizedState = + null !== f.state && void 0 !== f.state ? f.state : null; + var h = c.getDerivedStateFromProps; + 'function' === typeof h && Ff(b, c, h, e); + f.updater = Jf; + b.stateNode = f; + f._reactInternalFiber = b; + Mf(b, c, e, d); + return ig(a, b, c, !0, g, d); + } + b.tag = 0; + M(a, b, f, d); + b.memoizedProps = e; + return b.child; + } + function eg(a, b, c) { + null !== a && (b.firstContextDependency = a.firstContextDependency); + var d = b.childExpirationTime; + if (0 === d || d > c) return null; + null !== a && b.child !== a.child ? t('153') : void 0; + if (null !== b.child) { + a = b.child; + c = Ue(a, a.pendingProps, a.expirationTime); + b.child = c; + for (c.return = b; null !== a.sibling; ) + (a = a.sibling), + (c = c.sibling = Ue(a, a.pendingProps, a.expirationTime)), + (c.return = b); + c.sibling = null; + } + return b.child; + } + function pg(a, b, c) { + var d = b.expirationTime; + if (!J.current && (0 === d || d > c)) { + switch (b.tag) { + case 5: + jg(b); + ag(); + break; + case 7: + Cf(b); + break; + case 2: + K(b.type) && Me(b); + break; + case 3: + K(b.type._reactResult) && Me(b); + break; + case 6: + Af(b, b.stateNode.containerInfo); + break; + case 12: + sf(b, b.memoizedProps.value); + } + return eg(a, b, c); + } + b.expirationTime = 0; + switch (b.tag) { + case 4: + return og(a, b, b.type, c); + case 0: + return gg(a, b, b.type, b.pendingProps, c); + case 1: + var e = b.type._reactResult; + d = b.pendingProps; + a = gg(a, b, e, ng(e, d), c); + b.memoizedProps = d; + return a; + case 2: + return hg(a, b, b.type, b.pendingProps, c); + case 3: + return ( + (e = b.type._reactResult), + (d = b.pendingProps), + (a = hg(a, b, e, ng(e, d), c)), + (b.memoizedProps = d), + a + ); + case 5: + jg(b); + d = b.updateQueue; + null === d ? t('282') : void 0; + e = b.memoizedState; + e = null !== e ? e.element : null; + kf(b, d, b.pendingProps, null, c); + d = b.memoizedState.element; + if (d === e) ag(), (b = eg(a, b, c)); + else { + e = b.stateNode; + if ((e = (null === a || null === a.child) && e.hydrate)) + (Uf = Ce(b.stateNode.containerInfo)), (Tf = b), (e = Vf = !0); + e + ? ((b.effectTag |= 2), (b.child = Sf(b, null, d, c))) + : (M(a, b, d, c), ag()); + b = b.child; + } + return b; + case 7: + Cf(b); + null === a && Yf(b); + d = b.type; + e = b.pendingProps; + var f = null !== a ? a.memoizedProps : null, + g = e.children; + Ae(d, e) + ? (g = null) + : null !== f && Ae(d, f) && (b.effectTag |= 16); + fg(a, b); + 1073741823 !== c && b.mode & 1 && e.hidden + ? ((b.expirationTime = 1073741823), + (b.memoizedProps = e), + (b = null)) + : (M(a, b, g, c), (b.memoizedProps = e), (b = b.child)); + return b; + case 8: + return ( + null === a && Yf(b), (b.memoizedProps = b.pendingProps), null + ); + case 16: + return null; + case 6: + return ( + Af(b, b.stateNode.containerInfo), + (d = b.pendingProps), + null === a ? (b.child = Rf(b, null, d, c)) : M(a, b, d, c), + (b.memoizedProps = d), + b.child + ); + case 13: + return dg(a, b, b.type, b.pendingProps, c); + case 14: + return ( + (e = b.type._reactResult), + (d = b.pendingProps), + (a = dg(a, b, e, ng(e, d), c)), + (b.memoizedProps = d), + a + ); + case 9: + return ( + (d = b.pendingProps), + M(a, b, d, c), + (b.memoizedProps = d), + b.child + ); + case 10: + return ( + (d = b.pendingProps.children), + M(a, b, d, c), + (b.memoizedProps = d), + b.child + ); + case 15: + return ( + (d = b.pendingProps), + M(a, b, d.children, c), + (b.memoizedProps = d), + b.child + ); + case 12: + a: { + d = b.type._context; + e = b.pendingProps; + g = b.memoizedProps; + f = e.value; + b.memoizedProps = e; + sf(b, f); + if (null !== g) { + var h = g.value; + f = + (h === f && (0 !== h || 1 / h === 1 / f)) || + (h !== h && f !== f) + ? 0 + : ('function' === typeof d._calculateChangedBits + ? d._calculateChangedBits(h, f) + : 1073741823) | 0; + if (0 === f) { + if (g.children === e.children && !J.current) { + b = eg(a, b, c); + break a; + } + } else + for ( + g = b.child, null !== g && (g.return = b); + null !== g; + + ) { + h = g.firstContextDependency; + if (null !== h) { + do { + if (h.context === d && 0 !== (h.observedBits & f)) { + if (2 === g.tag || 3 === g.tag) { + var k = df(c); + k.tag = 2; + ff(g, k); + } + if (0 === g.expirationTime || g.expirationTime > c) + g.expirationTime = c; + k = g.alternate; + null !== k && + (0 === k.expirationTime || k.expirationTime > c) && + (k.expirationTime = c); + for (var l = g.return; null !== l; ) { + k = l.alternate; + if ( + 0 === l.childExpirationTime || + l.childExpirationTime > c + ) + (l.childExpirationTime = c), + null !== k && + (0 === k.childExpirationTime || + k.childExpirationTime > c) && + (k.childExpirationTime = c); + else if ( + null !== k && + (0 === k.childExpirationTime || + k.childExpirationTime > c) + ) + k.childExpirationTime = c; + else break; + l = l.return; + } + } + k = g.child; + h = h.next; + } while (null !== h); + } else + k = + 12 === g.tag + ? g.type === b.type + ? null + : g.child + : g.child; + if (null !== k) k.return = g; + else + for (k = g; null !== k; ) { + if (k === b) { + k = null; + break; + } + g = k.sibling; + if (null !== g) { + g.return = k.return; + k = g; + break; + } + k = k.return; + } + g = k; + } + } + M(a, b, e.children, c); + b = b.child; + } + return b; + case 11: + return ( + (f = b.type), + (d = b.pendingProps), + (e = d.children), + uf(b, c), + (f = vf(f, d.unstable_observedBits)), + (e = e(f)), + (b.effectTag |= 1), + M(a, b, e, c), + (b.memoizedProps = d), + b.child + ); + default: + t('156'); + } + } + function qg(a) { + a.effectTag |= 4; + } + var rg = void 0, + sg = void 0, + tg = void 0; + rg = function() {}; + sg = function(a, b, c, d, e) { + var f = a.memoizedProps; + if (f !== d) { + var g = b.stateNode; + zf(L.current); + a = null; + switch (c) { + case 'input': + f = zc(g, f); + d = zc(g, d); + a = []; + break; + case 'option': + f = de(g, f); + d = de(g, d); + a = []; + break; + case 'select': + f = n({}, f, { value: void 0 }); + d = n({}, d, { value: void 0 }); + a = []; + break; + case 'textarea': + f = fe(g, f); + d = fe(g, d); + a = []; + break; + default: + 'function' !== typeof f.onClick && + 'function' === typeof d.onClick && + (g.onclick = we); + } + te(c, d); + g = c = void 0; + var h = null; + for (c in f) + if (!d.hasOwnProperty(c) && f.hasOwnProperty(c) && null != f[c]) + if ('style' === c) { + var k = f[c]; + for (g in k) + k.hasOwnProperty(g) && (h || (h = {}), (h[g] = '')); + } else + 'dangerouslySetInnerHTML' !== c && + 'children' !== c && + 'suppressContentEditableWarning' !== c && + 'suppressHydrationWarning' !== c && + 'autoFocus' !== c && + (sa.hasOwnProperty(c) + ? a || (a = []) + : (a = a || []).push(c, null)); + for (c in d) { + var l = d[c]; + k = null != f ? f[c] : void 0; + if (d.hasOwnProperty(c) && l !== k && (null != l || null != k)) + if ('style' === c) + if (k) { + for (g in k) + !k.hasOwnProperty(g) || + (l && l.hasOwnProperty(g)) || + (h || (h = {}), (h[g] = '')); + for (g in l) + l.hasOwnProperty(g) && + k[g] !== l[g] && + (h || (h = {}), (h[g] = l[g])); + } else h || (a || (a = []), a.push(c, h)), (h = l); + else + 'dangerouslySetInnerHTML' === c + ? ((l = l ? l.__html : void 0), + (k = k ? k.__html : void 0), + null != l && k !== l && (a = a || []).push(c, '' + l)) + : 'children' === c + ? k === l || + ('string' !== typeof l && 'number' !== typeof l) || + (a = a || []).push(c, '' + l) + : 'suppressContentEditableWarning' !== c && + 'suppressHydrationWarning' !== c && + (sa.hasOwnProperty(c) + ? (null != l && ve(e, c), a || k === l || (a = [])) + : (a = a || []).push(c, l)); + } + h && (a = a || []).push('style', h); + e = a; + (b.updateQueue = e) && qg(b); + } + }; + tg = function(a, b, c, d) { + c !== d && qg(b); + }; + function ug(a, b) { + var c = b.source, + d = b.stack; + null === d && null !== c && (d = mc(c)); + null !== c && lc(c.type); + b = b.value; + null !== a && 2 === a.tag && lc(a.type); + try { + console.error(b); + } catch (e) { + setTimeout(function() { + throw e; + }); + } + } + function vg(a) { + var b = a.ref; + if (null !== b) + if ('function' === typeof b) + try { + b(null); + } catch (c) { + wg(a, c); + } + else b.current = null; + } + function xg(a) { + 'function' === typeof Pe && Pe(a); + switch (a.tag) { + case 2: + case 3: + vg(a); + var b = a.stateNode; + if ('function' === typeof b.componentWillUnmount) + try { + (b.props = a.memoizedProps), + (b.state = a.memoizedState), + b.componentWillUnmount(); + } catch (c) { + wg(a, c); + } + break; + case 7: + vg(a); + break; + case 6: + yg(a); + } + } + function zg(a) { + return 7 === a.tag || 5 === a.tag || 6 === a.tag; + } + function Ag(a) { + a: { + for (var b = a.return; null !== b; ) { + if (zg(b)) { + var c = b; + break a; + } + b = b.return; + } + t('160'); + c = void 0; + } + var d = (b = void 0); + switch (c.tag) { + case 7: + b = c.stateNode; + d = !1; + break; + case 5: + b = c.stateNode.containerInfo; + d = !0; + break; + case 6: + b = c.stateNode.containerInfo; + d = !0; + break; + default: + t('161'); + } + c.effectTag & 16 && (oe(b, ''), (c.effectTag &= -17)); + a: b: for (c = a; ; ) { + for (; null === c.sibling; ) { + if (null === c.return || zg(c.return)) { + c = null; + break a; + } + c = c.return; + } + c.sibling.return = c.return; + for (c = c.sibling; 7 !== c.tag && 8 !== c.tag; ) { + if (c.effectTag & 2) continue b; + if (null === c.child || 6 === c.tag) continue b; + else (c.child.return = c), (c = c.child); + } + if (!(c.effectTag & 2)) { + c = c.stateNode; + break a; + } + } + for (var e = a; ; ) { + if (7 === e.tag || 8 === e.tag) + if (c) + if (d) { + var f = b, + g = e.stateNode, + h = c; + 8 === f.nodeType + ? f.parentNode.insertBefore(g, h) + : f.insertBefore(g, h); + } else b.insertBefore(e.stateNode, c); + else + d + ? ((f = b), + (g = e.stateNode), + 8 === f.nodeType + ? ((h = f.parentNode), h.insertBefore(g, f)) + : ((h = f), h.appendChild(g)), + null === h.onclick && (h.onclick = we)) + : b.appendChild(e.stateNode); + else if (6 !== e.tag && null !== e.child) { + e.child.return = e; + e = e.child; + continue; + } + if (e === a) break; + for (; null === e.sibling; ) { + if (null === e.return || e.return === a) return; + e = e.return; + } + e.sibling.return = e.return; + e = e.sibling; + } + } + function yg(a) { + for (var b = a, c = !1, d = void 0, e = void 0; ; ) { + if (!c) { + c = b.return; + a: for (;;) { + null === c ? t('160') : void 0; + switch (c.tag) { + case 7: + d = c.stateNode; + e = !1; + break a; + case 5: + d = c.stateNode.containerInfo; + e = !0; + break a; + case 6: + d = c.stateNode.containerInfo; + e = !0; + break a; + } + c = c.return; + } + c = !0; + } + if (7 === b.tag || 8 === b.tag) { + a: for (var f = b, g = f; ; ) + if ((xg(g), null !== g.child && 6 !== g.tag)) + (g.child.return = g), (g = g.child); + else { + if (g === f) break; + for (; null === g.sibling; ) { + if (null === g.return || g.return === f) break a; + g = g.return; + } + g.sibling.return = g.return; + g = g.sibling; + } + e + ? ((f = d), + (g = b.stateNode), + 8 === f.nodeType + ? f.parentNode.removeChild(g) + : f.removeChild(g)) + : d.removeChild(b.stateNode); + } else if ( + (6 === b.tag ? ((d = b.stateNode.containerInfo), (e = !0)) : xg(b), + null !== b.child) + ) { + b.child.return = b; + b = b.child; + continue; + } + if (b === a) break; + for (; null === b.sibling; ) { + if (null === b.return || b.return === a) return; + b = b.return; + 6 === b.tag && (c = !1); + } + b.sibling.return = b.return; + b = b.sibling; + } + } + function Bg(a, b) { + switch (b.tag) { + case 2: + case 3: + break; + case 7: + var c = b.stateNode; + if (null != c) { + var d = b.memoizedProps, + e = null !== a ? a.memoizedProps : d; + a = b.type; + var f = b.updateQueue; + b.updateQueue = null; + if (null !== f) { + c[Ja] = d; + 'input' === a && + 'radio' === d.type && + null != d.name && + Cc(c, d); + ue(a, e); + b = ue(a, d); + for (e = 0; e < f.length; e += 2) { + var g = f[e], + h = f[e + 1]; + 'style' === g + ? re(c, h) + : 'dangerouslySetInnerHTML' === g + ? ne(c, h) + : 'children' === g + ? oe(c, h) + : xc(c, g, h, b); + } + switch (a) { + case 'input': + Dc(c, d); + break; + case 'textarea': + he(c, d); + break; + case 'select': + (a = c._wrapperState.wasMultiple), + (c._wrapperState.wasMultiple = !!d.multiple), + (f = d.value), + null != f + ? ee(c, !!d.multiple, f, !1) + : a !== !!d.multiple && + (null != d.defaultValue + ? ee(c, !!d.multiple, d.defaultValue, !0) + : ee(c, !!d.multiple, d.multiple ? [] : '', !1)); + } + } + } + break; + case 8: + null === b.stateNode ? t('162') : void 0; + b.stateNode.nodeValue = b.memoizedProps; + break; + case 5: + break; + case 15: + break; + case 16: + break; + default: + t('163'); + } + } + function Cg(a, b, c) { + c = df(c); + c.tag = 3; + c.payload = { element: null }; + var d = b.value; + c.callback = function() { + Dg(d); + ug(a, b); + }; + return c; + } + function Eg(a, b, c) { + c = df(c); + c.tag = 3; + var d = a.stateNode; + null !== d && + 'function' === typeof d.componentDidCatch && + (c.callback = function() { + null === Fg ? (Fg = new Set([this])) : Fg.add(this); + var c = b.value, + d = b.stack; + ug(a, b); + this.componentDidCatch(c, { componentStack: null !== d ? d : '' }); + }); + return c; + } + function Gg(a) { + switch (a.tag) { + case 2: + K(a.type) && Ie(a); + var b = a.effectTag; + return b & 1024 ? ((a.effectTag = (b & -1025) | 64), a) : null; + case 3: + return ( + K(a.type._reactResult) && Ie(a), + (b = a.effectTag), + b & 1024 ? ((a.effectTag = (b & -1025) | 64), a) : null + ); + case 5: + return ( + Bf(a), + Je(a), + (b = a.effectTag), + 0 !== (b & 64) ? t('285') : void 0, + (a.effectTag = (b & -1025) | 64), + a + ); + case 7: + return Df(a), null; + case 16: + return ( + (b = a.effectTag), + b & 1024 ? ((a.effectTag = (b & -1025) | 64), a) : null + ); + case 6: + return Bf(a), null; + case 12: + return tf(a), null; + default: + return null; + } + } + var Hg = { readContext: vf }, + Ig = Yb.ReactCurrentOwner, + Jg = 0, + Kg = 0, + Lg = !1, + N = null, + Mg = null, + O = 0, + Ng = !1, + Q = null, + Og = !1, + Fg = null; + function Pg() { + if (null !== N) + for (var a = N.return; null !== a; ) { + var b = a; + switch (b.tag) { + case 2: + var c = b.type.childContextTypes; + null !== c && void 0 !== c && Ie(b); + break; + case 3: + c = b.type._reactResult.childContextTypes; + null !== c && void 0 !== c && Ie(b); + break; + case 5: + Bf(b); + Je(b); + break; + case 7: + Df(b); + break; + case 6: + Bf(b); + break; + case 12: + tf(b); + } + a = a.return; + } + Mg = null; + O = 0; + Ng = !1; + N = null; + } + function Qg(a) { + for (;;) { + var b = a.alternate, + c = a.return, + d = a.sibling; + if (0 === (a.effectTag & 512)) { + var e = b; + b = a; + var f = b.pendingProps; + switch (b.tag) { + case 0: + case 1: + break; + case 2: + K(b.type) && Ie(b); + break; + case 3: + K(b.type._reactResult) && Ie(b); + break; + case 5: + Bf(b); + Je(b); + f = b.stateNode; + f.pendingContext && + ((f.context = f.pendingContext), (f.pendingContext = null)); + if (null === e || null === e.child) $f(b), (b.effectTag &= -3); + rg(b); + break; + case 7: + Df(b); + var g = zf(yf.current), + h = b.type; + if (null !== e && null != b.stateNode) + sg(e, b, h, f, g), e.ref !== b.ref && (b.effectTag |= 128); + else if (f) { + var k = zf(L.current); + if ($f(b)) { + f = b; + e = f.stateNode; + var l = f.type, + m = f.memoizedProps, + r = g; + e[Ia] = f; + e[Ja] = m; + h = void 0; + g = l; + switch (g) { + case 'iframe': + case 'object': + F('load', e); + break; + case 'video': + case 'audio': + for (l = 0; l < fb.length; l++) F(fb[l], e); + break; + case 'source': + F('error', e); + break; + case 'img': + case 'image': + case 'link': + F('error', e); + F('load', e); + break; + case 'form': + F('reset', e); + F('submit', e); + break; + case 'details': + F('toggle', e); + break; + case 'input': + Bc(e, m); + F('invalid', e); + ve(r, 'onChange'); + break; + case 'select': + e._wrapperState = { wasMultiple: !!m.multiple }; + F('invalid', e); + ve(r, 'onChange'); + break; + case 'textarea': + ge(e, m), F('invalid', e), ve(r, 'onChange'); + } + te(g, m); + l = null; + for (h in m) + m.hasOwnProperty(h) && + ((k = m[h]), + 'children' === h + ? 'string' === typeof k + ? e.textContent !== k && (l = ['children', k]) + : 'number' === typeof k && + e.textContent !== '' + k && + (l = ['children', '' + k]) + : sa.hasOwnProperty(h) && null != k && ve(r, h)); + switch (g) { + case 'input': + Wb(e); + Fc(e, m, !0); + break; + case 'textarea': + Wb(e); + ie(e, m); + break; + case 'select': + case 'option': + break; + default: + 'function' === typeof m.onClick && (e.onclick = we); + } + h = l; + f.updateQueue = h; + f = null !== h ? !0 : !1; + f && qg(b); + } else { + m = b; + e = h; + r = f; + l = 9 === g.nodeType ? g : g.ownerDocument; + k === je.html && (k = ke(e)); + k === je.html + ? 'script' === e + ? ((e = l.createElement('div')), + (e.innerHTML = '", + end: '', returnEnd: true, - subLanguage: ["actionscript", "javascript", "handlebars", "xml"] + subLanguage: ['actionscript', 'javascript', 'handlebars', 'xml'] } }, { - className: "meta", - variants: [ - { begin: /<\?xml/, end: /\?>/, relevance: 10 }, - { begin: /<\?\w+/, end: /\?>/ } - ] - }, - { - className: "tag", - begin: "?", - end: "/?>", + className: 'tag', + begin: '?', + end: '/?>', contains: [ { - className: "name", + className: 'name', begin: /[^\/><\s]+/, relevance: 0 }, @@ -19049,16 +46550,16 @@ /***/ }, - /* 357 */ + /* 360 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["adoc"], + aliases: ['adoc'], contains: [ // block comment hljs.COMMENT( - "^/{4,}\\n", - "\\n/{4,}$", + '^/{4,}\\n', + '\\n/{4,}$', // can also be done as... //'^/{4,}$', //'^/{4,}$', @@ -19067,66 +46568,66 @@ } ), // line comment - hljs.COMMENT("^//", "$", { + hljs.COMMENT('^//', '$', { relevance: 0 }), // title { - className: "title", - begin: "^\\.\\w.*$" + className: 'title', + begin: '^\\.\\w.*$' }, // example, admonition & sidebar blocks { - begin: "^[=\\*]{4,}\\n", - end: "\\n^[=\\*]{4,}$", + begin: '^[=\\*]{4,}\\n', + end: '\\n^[=\\*]{4,}$', relevance: 10 }, // headings { - className: "section", + className: 'section', relevance: 10, variants: [ - { begin: "^(={1,5}) .+?( \\1)?$" }, - { begin: "^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$" } + { begin: '^(={1,5}) .+?( \\1)?$' }, + { begin: '^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$' } ] }, // document attributes { - className: "meta", - begin: "^:.+?:", - end: "\\s", + className: 'meta', + begin: '^:.+?:', + end: '\\s', excludeEnd: true, relevance: 10 }, // block attributes { - className: "meta", - begin: "^\\[.+?\\]$", + className: 'meta', + begin: '^\\[.+?\\]$', relevance: 0 }, // quoteblocks { - className: "quote", - begin: "^_{4,}\\n", - end: "\\n_{4,}$", + className: 'quote', + begin: '^_{4,}\\n', + end: '\\n_{4,}$', relevance: 10 }, // listing and literal blocks { - className: "code", - begin: "^[\\-\\.]{4,}\\n", - end: "\\n[\\-\\.]{4,}$", + className: 'code', + begin: '^[\\-\\.]{4,}\\n', + end: '\\n[\\-\\.]{4,}$', relevance: 10 }, // passthrough blocks { - begin: "^\\+{4,}\\n", - end: "\\n\\+{4,}$", + begin: '^\\+{4,}\\n', + end: '\\n\\+{4,}$', contains: [ { - begin: "<", - end: ">", - subLanguage: "xml", + begin: '<', + end: '>', + subLanguage: 'xml', relevance: 0 } ], @@ -19134,32 +46635,32 @@ }, // lists (can only capture indicators) { - className: "bullet", - begin: "^(\\*+|\\-+|\\.+|[^\\n]+?::)\\s+" + className: 'bullet', + begin: '^(\\*+|\\-+|\\.+|[^\\n]+?::)\\s+' }, // admonition { - className: "symbol", - begin: "^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+", + className: 'symbol', + begin: '^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+', relevance: 10 }, // inline strong { - className: "strong", + className: 'strong', // must not follow a word character or be followed by an asterisk or space - begin: "\\B\\*(?![\\*\\s])", - end: "(\\n{2}|\\*)", + begin: '\\B\\*(?![\\*\\s])', + end: '(\\n{2}|\\*)', // allow escaped asterisk followed by word char contains: [ { - begin: "\\\\*\\w", + begin: '\\\\*\\w', relevance: 0 } ] }, // inline emphasis { - className: "emphasis", + className: 'emphasis', // must not follow a word character or be followed by a single quote or space begin: "\\B'(?!['\\s])", end: "(\\n{2}|')", @@ -19174,28 +46675,28 @@ }, // inline emphasis (alt) { - className: "emphasis", + className: 'emphasis', // must not follow a word character or be followed by an underline or space - begin: "_(?![_\\s])", - end: "(\\n{2}|_)", + begin: '_(?![_\\s])', + end: '(\\n{2}|_)', relevance: 0 }, // inline smart quotes { - className: "string", + className: 'string', variants: [{ begin: "``.+?''" }, { begin: "`.+?'" }] }, // inline code snippets (TODO should get same treatment as strong and emphasis) { - className: "code", - begin: "(`.+?`|\\+.+?\\+)", + className: 'code', + begin: '(`.+?`|\\+.+?\\+)', relevance: 0 }, // indented literal block { - className: "code", - begin: "^[ \\t]", - end: "$", + className: 'code', + begin: '^[ \\t]', + end: '$', relevance: 0 }, // horizontal rules @@ -19205,23 +46706,23 @@ }, // images and links { - begin: "(link:)?(http|https|ftp|file|irc|image:?):\\S+\\[.*?\\]", + begin: '(link:)?(http|https|ftp|file|irc|image:?):\\S+\\[.*?\\]', returnBegin: true, contains: [ { - begin: "(link|image:?):", + begin: '(link|image:?):', relevance: 0 }, { - className: "link", - begin: "\\w", - end: "[^\\[]+", + className: 'link', + begin: '\\w', + end: '[^\\[]+', relevance: 0 }, { - className: "string", - begin: "\\[", - end: "\\]", + className: 'string', + begin: '\\[', + end: '\\]', excludeBegin: true, excludeEnd: true, relevance: 0 @@ -19235,24 +46736,24 @@ /***/ }, - /* 358 */ + /* 361 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = - "false synchronized int abstract float private char boolean static null if const " + - "for true while long throw strictfp finally protected import native final return void " + - "enum else extends implements break transient new catch instanceof byte super volatile case " + - "assert short package default double public try this switch continue throws privileged " + - "aspectOf adviceexecution proceed cflowbelow cflow initialization preinitialization " + - "staticinitialization withincode target within execution getWithinTypeName handler " + - "thisJoinPoint thisJoinPointStaticPart thisEnclosingJoinPointStaticPart declare parents " + - "warning error soft precedence thisAspectInstance"; - var SHORTKEYS = "get set args call"; + 'false synchronized int abstract float private char boolean static null if const ' + + 'for true while long throw strictfp finally protected import native final return void ' + + 'enum else extends implements break transient new catch instanceof byte super volatile case ' + + 'assert short package default double public try this switch continue throws privileged ' + + 'aspectOf adviceexecution proceed cflowbelow cflow initialization preinitialization ' + + 'staticinitialization withincode target within execution getWithinTypeName handler ' + + 'thisJoinPoint thisJoinPointStaticPart thisEnclosingJoinPointStaticPart declare parents ' + + 'warning error soft precedence thisAspectInstance'; + var SHORTKEYS = 'get set args call'; return { keywords: KEYWORDS, illegal: /<\/|#/, contains: [ - hljs.COMMENT("/\\*\\*", "\\*/", { + hljs.COMMENT('/\\*\\*', '\\*/', { relevance: 0, contains: [ { @@ -19261,8 +46762,8 @@ relevance: 0 }, { - className: "doctag", - begin: "@[A-Za-z]+" + className: 'doctag', + begin: '@[A-Za-z]+' } ] }), @@ -19271,47 +46772,47 @@ hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, { - className: "class", - beginKeywords: "aspect", + className: 'class', + beginKeywords: 'aspect', end: /[{;=]/, excludeEnd: true, illegal: /[:;"\[\]]/, contains: [ { beginKeywords: - "extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton" + 'extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton' }, hljs.UNDERSCORE_TITLE_MODE, { begin: /\([^\)]*/, end: /[)]+/, - keywords: KEYWORDS + " " + SHORTKEYS, + keywords: KEYWORDS + ' ' + SHORTKEYS, excludeEnd: false } ] }, { - className: "class", - beginKeywords: "class interface", + className: 'class', + beginKeywords: 'class interface', end: /[{;=]/, excludeEnd: true, relevance: 0, - keywords: "class interface", + keywords: 'class interface', illegal: /[:"\[\]]/, contains: [ - { beginKeywords: "extends implements" }, + { beginKeywords: 'extends implements' }, hljs.UNDERSCORE_TITLE_MODE ] }, { // AspectJ Constructs - beginKeywords: "pointcut after before around throwing returning", + beginKeywords: 'pointcut after before around throwing returning', end: /[)]/, excludeEnd: false, illegal: /["\[\]]/, contains: [ { - begin: hljs.UNDERSCORE_IDENT_RE + "\\s*\\(", + begin: hljs.UNDERSCORE_IDENT_RE + '\\s*\\(', returnBegin: true, contains: [hljs.UNDERSCORE_TITLE_MODE] } @@ -19327,8 +46828,8 @@ illegal: /["\[\]]/, contains: [ { - begin: hljs.UNDERSCORE_IDENT_RE + "\\s*\\(", - keywords: KEYWORDS + " " + SHORTKEYS, + begin: hljs.UNDERSCORE_IDENT_RE + '\\s*\\(', + keywords: KEYWORDS + ' ' + SHORTKEYS, relevance: 0 }, hljs.QUOTE_STRING_MODE @@ -19336,12 +46837,12 @@ }, { // this prevents 'new Name(...), or throw ...' from being recognized as a function definition - beginKeywords: "new throw", + beginKeywords: 'new throw', relevance: 0 }, { // the function class is a bit different for AspectJ compared to the Java language - className: "function", + className: 'function', begin: /\w+ +\w+(\.)?\w+\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/, returnBegin: true, end: /[{;=]/, @@ -19349,13 +46850,13 @@ excludeEnd: true, contains: [ { - begin: hljs.UNDERSCORE_IDENT_RE + "\\s*\\(", + begin: hljs.UNDERSCORE_IDENT_RE + '\\s*\\(', returnBegin: true, relevance: 0, contains: [hljs.UNDERSCORE_TITLE_MODE] }, { - className: "params", + className: 'params', begin: /\(/, end: /\)/, relevance: 0, @@ -19374,8 +46875,8 @@ hljs.C_NUMBER_MODE, { // annotation is also used in this language - className: "meta", - begin: "@[A-Za-z]+" + className: 'meta', + begin: '@[A-Za-z]+' } ] }; @@ -19383,57 +46884,57 @@ /***/ }, - /* 359 */ + /* 362 */ /***/ function(module, exports) { module.exports = function(hljs) { var BACKTICK_ESCAPE = { - begin: "`[\\s\\S]" + begin: '`[\\s\\S]' }; return { case_insensitive: true, - aliases: ["ahk"], + aliases: ['ahk'], keywords: { keyword: - "Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group", - literal: "A|0 true false NOT AND OR", - built_in: "ComSpec Clipboard ClipboardAll ErrorLevel" + 'Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group', + literal: 'A|0 true false NOT AND OR', + built_in: 'ComSpec Clipboard ClipboardAll ErrorLevel' }, contains: [ { - className: "built_in", - begin: "A_[a-zA-Z0-9]+" + className: 'built_in', + begin: 'A_[a-zA-Z0-9]+' }, BACKTICK_ESCAPE, hljs.inherit(hljs.QUOTE_STRING_MODE, { contains: [BACKTICK_ESCAPE] }), - hljs.COMMENT(";", "$", { relevance: 0 }), + hljs.COMMENT(';', '$', { relevance: 0 }), hljs.C_BLOCK_COMMENT_MODE, { - className: "number", + className: 'number', begin: hljs.NUMBER_RE, relevance: 0 }, { - className: "subst", // FIXED - begin: "%(?=[a-zA-Z0-9#_$@])", - end: "%", - illegal: "[^a-zA-Z0-9#_$@]" + className: 'subst', // FIXED + begin: '%(?=[a-zA-Z0-9#_$@])', + end: '%', + illegal: '[^a-zA-Z0-9#_$@]' }, { - className: "built_in", - begin: "^\\s*\\w+\\s*," + className: 'built_in', + begin: '^\\s*\\w+\\s*,' //I don't really know if this is totally relevant }, { - className: "meta", - begin: "^\\s*#w+", - end: "$", + className: 'meta', + begin: '^\\s*#w+', + end: '$', relevance: 0 }, { - className: "symbol", + className: 'symbol', contains: [BACKTICK_ESCAPE], variants: [ { begin: '^[^\\n";]+::(?!=)' }, @@ -19443,7 +46944,7 @@ }, { // consecutive commas, not for highlighting but just for relevance - begin: ",\\s*," + begin: ',\\s*,' } ] }; @@ -19451,30 +46952,30 @@ /***/ }, - /* 360 */ + /* 363 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = - "ByRef Case Const ContinueCase ContinueLoop " + - "Default Dim Do Else ElseIf EndFunc EndIf EndSelect " + - "EndSwitch EndWith Enum Exit ExitLoop For Func " + - "Global If In Local Next ReDim Return Select Static " + - "Step Switch Then To Until Volatile WEnd While With", - LITERAL = "True False And Null Not Or", + 'ByRef Case Const ContinueCase ContinueLoop ' + + 'Default Dim Do Else ElseIf EndFunc EndIf EndSelect ' + + 'EndSwitch EndWith Enum Exit ExitLoop For Func ' + + 'Global If In Local Next ReDim Return Select Static ' + + 'Step Switch Then To Until Volatile WEnd While With', + LITERAL = 'True False And Null Not Or', BUILT_IN = - "Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait", + 'Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait', COMMENT = { variants: [ - hljs.COMMENT(";", "$", { relevance: 0 }), - hljs.COMMENT("#cs", "#ce"), - hljs.COMMENT("#comments-start", "#comments-end") + hljs.COMMENT(';', '$', { relevance: 0 }), + hljs.COMMENT('#cs', '#ce'), + hljs.COMMENT('#comments-start', '#comments-end') ] }, VARIABLE = { - begin: "\\$[A-z0-9_]+" + begin: '\\$[A-z0-9_]+' }, STRING = { - className: "string", + className: 'string', variants: [ { begin: /"/, @@ -19502,12 +47003,12 @@ variants: [hljs.BINARY_NUMBER_MODE, hljs.C_NUMBER_MODE] }, PREPROCESSOR = { - className: "meta", - begin: "#", - end: "$", + className: 'meta', + begin: '#', + end: '$', keywords: { - "meta-keyword": - "comments include include-once NoTrayIcon OnAutoItStartRegister pragma compile RequireAdmin" + 'meta-keyword': + 'comments include include-once NoTrayIcon OnAutoItStartRegister pragma compile RequireAdmin' }, contains: [ { @@ -19515,17 +47016,17 @@ relevance: 0 }, { - beginKeywords: "include", - keywords: { "meta-keyword": "include" }, - end: "$", + beginKeywords: 'include', + keywords: { 'meta-keyword': 'include' }, + end: '$', contains: [ STRING, { - className: "meta-string", + className: 'meta-string', variants: [ { - begin: "<", - end: ">" + begin: '<', + end: '>' }, { begin: /"/, @@ -19556,24 +47057,24 @@ ] }, CONSTANT = { - className: "symbol", + className: 'symbol', // begin: '@', // end: '$', // keywords: 'AppDataCommonDir AppDataDir AutoItExe AutoItPID AutoItVersion AutoItX64 COM_EventObj CommonFilesDir Compiled ComputerName ComSpec CPUArch CR CRLF DesktopCommonDir DesktopDepth DesktopDir DesktopHeight DesktopRefresh DesktopWidth DocumentsCommonDir error exitCode exitMethod extended FavoritesCommonDir FavoritesDir GUI_CtrlHandle GUI_CtrlId GUI_DragFile GUI_DragId GUI_DropId GUI_WinHandle HomeDrive HomePath HomeShare HotKeyPressed HOUR IPAddress1 IPAddress2 IPAddress3 IPAddress4 KBLayout LF LocalAppDataDir LogonDNSDomain LogonDomain LogonServer MDAY MIN MON MSEC MUILang MyDocumentsDir NumParams OSArch OSBuild OSLang OSServicePack OSType OSVersion ProgramFilesDir ProgramsCommonDir ProgramsDir ScriptDir ScriptFullPath ScriptLineNumber ScriptName SEC StartMenuCommonDir StartMenuDir StartupCommonDir StartupDir SW_DISABLE SW_ENABLE SW_HIDE SW_LOCK SW_MAXIMIZE SW_MINIMIZE SW_RESTORE SW_SHOW SW_SHOWDEFAULT SW_SHOWMAXIMIZED SW_SHOWMINIMIZED SW_SHOWMINNOACTIVE SW_SHOWNA SW_SHOWNOACTIVATE SW_SHOWNORMAL SW_UNLOCK SystemDir TAB TempDir TRAY_ID TrayIconFlashing TrayIconVisible UserName UserProfileDir WDAY WindowsDir WorkingDir YDAY YEAR', // relevance: 5 - begin: "@[A-z0-9_]+" + begin: '@[A-z0-9_]+' }, FUNCTION = { - className: "function", - beginKeywords: "Func", - end: "$", - illegal: "\\$|\\[|%", + className: 'function', + beginKeywords: 'Func', + end: '$', + illegal: '\\$|\\[|%', contains: [ hljs.UNDERSCORE_TITLE_MODE, { - className: "params", - begin: "\\(", - end: "\\)", + className: 'params', + begin: '\\(', + end: '\\)', contains: [VARIABLE, STRING, NUMBER] } ] @@ -19601,63 +47102,63 @@ /***/ }, - /* 361 */ + /* 364 */ /***/ function(module, exports) { module.exports = function(hljs) { return { case_insensitive: true, - lexemes: "\\.?" + hljs.IDENT_RE, + lexemes: '\\.?' + hljs.IDENT_RE, keywords: { keyword: /* mnemonic */ - "adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs " + - "brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr " + - "clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor " + - "fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul " + - "muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs " + - "sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub " + - "subi swap tst wdr", + 'adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs ' + + 'brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr ' + + 'clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor ' + + 'fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul ' + + 'muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs ' + + 'sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub ' + + 'subi swap tst wdr', built_in: /* general purpose registers */ - "r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 " + - "r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl " + + 'r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 ' + + 'r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ' + /* IO Registers (ATMega128) */ - "ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h " + - "tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c " + - "ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg " + - "ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk " + - "tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al " + - "ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr " + - "porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 " + - "ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf", + 'ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h ' + + 'tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ' + + 'ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ' + + 'ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk ' + + 'tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ' + + 'ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr ' + + 'porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ' + + 'ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf', meta: - ".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list " + - ".listmac .macro .nolist .org .set" + '.byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list ' + + '.listmac .macro .nolist .org .set' }, contains: [ hljs.C_BLOCK_COMMENT_MODE, - hljs.COMMENT(";", "$", { + hljs.COMMENT(';', '$', { relevance: 0 }), hljs.C_NUMBER_MODE, // 0x..., decimal, float hljs.BINARY_NUMBER_MODE, // 0b... { - className: "number", - begin: "\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)" // $..., 0o... + className: 'number', + begin: '\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)' // $..., 0o... }, hljs.QUOTE_STRING_MODE, { - className: "string", + className: 'string', begin: "'", end: "[^\\\\]'", illegal: "[^\\\\][^']" }, - { className: "symbol", begin: "^[A-Za-z0-9_.$]+:" }, - { className: "meta", begin: "#", end: "$" }, + { className: 'symbol', begin: '^[A-Za-z0-9_.$]+:' }, + { className: 'meta', begin: '#', end: '$' }, { // подстановка в «.macro» - className: "subst", - begin: "@[0-9]+" + className: 'subst', + begin: '@[0-9]+' } ] }; @@ -19665,17 +47166,17 @@ /***/ }, - /* 362 */ + /* 365 */ /***/ function(module, exports) { module.exports = function(hljs) { var VARIABLE = { - className: "variable", + className: 'variable', variants: [{ begin: /\$[\w\d#@][\w\d_]*/ }, { begin: /\$\{(.*?)}/ }] }; var KEYWORDS = - "BEGIN END if else while do for in break continue delete next nextfile function func exit|10"; + 'BEGIN END if else while do for in break continue delete next nextfile function func exit|10'; var STRING = { - className: "string", + className: 'string', contains: [hljs.BACKSLASH_ESCAPE], variants: [ { @@ -19726,17 +47227,17 @@ /***/ }, - /* 363 */ + /* 366 */ /***/ function(module, exports) { module.exports = function(hljs) { return { keywords: - "false int abstract private char boolean static null if for true " + - "while long throw finally protected final return void enum else " + - "break new catch byte super case short default double public try this switch " + - "continue reverse firstfast firstonly forupdate nofetch sum avg minof maxof count " + - "order group by asc desc index hint like dispaly edit client server ttsbegin " + - "ttscommit str real date container anytype common div mod", + 'false int abstract private char boolean static null if for true ' + + 'while long throw finally protected final return void enum else ' + + 'break new catch byte super case short default double public try this switch ' + + 'continue reverse firstfast firstonly forupdate nofetch sum avg minof maxof count ' + + 'order group by asc desc index hint like dispaly edit client server ttsbegin ' + + 'ttscommit str real date container anytype common div mod', contains: [ hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, @@ -19744,18 +47245,18 @@ hljs.QUOTE_STRING_MODE, hljs.C_NUMBER_MODE, { - className: "meta", - begin: "#", - end: "$" + className: 'meta', + begin: '#', + end: '$' }, { - className: "class", - beginKeywords: "class interface", - end: "{", + className: 'class', + beginKeywords: 'class interface', + end: '{', excludeEnd: true, - illegal: ":", + illegal: ':', contains: [ - { beginKeywords: "extends implements" }, + { beginKeywords: 'extends implements' }, hljs.UNDERSCORE_TITLE_MODE ] } @@ -19765,22 +47266,22 @@ /***/ }, - /* 364 */ + /* 367 */ /***/ function(module, exports) { module.exports = function(hljs) { var VAR = { - className: "variable", + className: 'variable', variants: [{ begin: /\$[\w\d#@][\w\d_]*/ }, { begin: /\$\{(.*?)}/ }] }; var QUOTE_STRING = { - className: "string", + className: 'string', begin: /"/, end: /"/, contains: [ hljs.BACKSLASH_ESCAPE, VAR, { - className: "variable", + className: 'variable', begin: /\$\(/, end: /\)/, contains: [hljs.BACKSLASH_ESCAPE] @@ -19788,45 +47289,45 @@ ] }; var APOS_STRING = { - className: "string", + className: 'string', begin: /'/, end: /'/ }; return { - aliases: ["sh", "zsh"], + aliases: ['sh', 'zsh'], lexemes: /\b-?[a-z\._]+\b/, keywords: { keyword: - "if then else elif fi for while in do done case esac function", - literal: "true false", + 'if then else elif fi for while in do done case esac function', + literal: 'true false', built_in: // Shell built-ins // http://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html - "break cd continue eval exec exit export getopts hash pwd readonly return shift test times " + - "trap umask unset " + + 'break cd continue eval exec exit export getopts hash pwd readonly return shift test times ' + + 'trap umask unset ' + // Bash built-ins - "alias bind builtin caller command declare echo enable help let local logout mapfile printf " + - "read readarray source type typeset ulimit unalias " + + 'alias bind builtin caller command declare echo enable help let local logout mapfile printf ' + + 'read readarray source type typeset ulimit unalias ' + // Shell modifiers - "set shopt " + + 'set shopt ' + // Zsh built-ins - "autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles " + - "compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate " + - "fc fg float functions getcap getln history integer jobs kill limit log noglob popd print " + - "pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit " + - "unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof " + - "zpty zregexparse zsocket zstyle ztcp", - _: "-ne -eq -lt -gt -f -d -e -s -l -a" // relevance booster + 'autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles ' + + 'compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate ' + + 'fc fg float functions getcap getln history integer jobs kill limit log noglob popd print ' + + 'pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit ' + + 'unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof ' + + 'zpty zregexparse zsocket zstyle ztcp', + _: '-ne -eq -lt -gt -f -d -e -s -l -a' // relevance booster }, contains: [ { - className: "meta", + className: 'meta', begin: /^#![^\n]+sh\s*$/, relevance: 10 }, { - className: "function", + className: 'function', begin: /\w[\w\d_]*\s*\(\s*\)\s*\{/, returnBegin: true, contains: [ @@ -19844,54 +47345,54 @@ /***/ }, - /* 365 */ + /* 368 */ /***/ function(module, exports) { module.exports = function(hljs) { return { case_insensitive: true, - illegal: "^.", + illegal: '^.', // Support explicitely typed variables that end with $%! or #. - lexemes: "[a-zA-Z][a-zA-Z0-9_$%!#]*", + lexemes: '[a-zA-Z][a-zA-Z0-9_$%!#]*', keywords: { keyword: - "ABS ASC AND ATN AUTO|0 BEEP BLOAD|10 BSAVE|10 CALL CALLS CDBL CHAIN CHDIR CHR$|10 CINT CIRCLE " + - "CLEAR CLOSE CLS COLOR COM COMMON CONT COS CSNG CSRLIN CVD CVI CVS DATA DATE$ " + - "DEFDBL DEFINT DEFSNG DEFSTR DEF|0 SEG USR DELETE DIM DRAW EDIT END ENVIRON ENVIRON$ " + - "EOF EQV ERASE ERDEV ERDEV$ ERL ERR ERROR EXP FIELD FILES FIX FOR|0 FRE GET GOSUB|10 GOTO " + - "HEX$ IF|0 THEN ELSE|0 INKEY$ INP INPUT INPUT# INPUT$ INSTR IMP INT IOCTL IOCTL$ KEY ON " + - "OFF LIST KILL LEFT$ LEN LET LINE LLIST LOAD LOC LOCATE LOF LOG LPRINT USING LSET " + - "MERGE MID$ MKDIR MKD$ MKI$ MKS$ MOD NAME NEW NEXT NOISE NOT OCT$ ON OR PEN PLAY STRIG OPEN OPTION " + - "BASE OUT PAINT PALETTE PCOPY PEEK PMAP POINT POKE POS PRINT PRINT] PSET PRESET " + - "PUT RANDOMIZE READ REM RENUM RESET|0 RESTORE RESUME RETURN|0 RIGHT$ RMDIR RND RSET " + - "RUN SAVE SCREEN SGN SHELL SIN SOUND SPACE$ SPC SQR STEP STICK STOP STR$ STRING$ SWAP " + - "SYSTEM TAB TAN TIME$ TIMER TROFF TRON TO USR VAL VARPTR VARPTR$ VIEW WAIT WHILE " + - "WEND WIDTH WINDOW WRITE XOR" + 'ABS ASC AND ATN AUTO|0 BEEP BLOAD|10 BSAVE|10 CALL CALLS CDBL CHAIN CHDIR CHR$|10 CINT CIRCLE ' + + 'CLEAR CLOSE CLS COLOR COM COMMON CONT COS CSNG CSRLIN CVD CVI CVS DATA DATE$ ' + + 'DEFDBL DEFINT DEFSNG DEFSTR DEF|0 SEG USR DELETE DIM DRAW EDIT END ENVIRON ENVIRON$ ' + + 'EOF EQV ERASE ERDEV ERDEV$ ERL ERR ERROR EXP FIELD FILES FIX FOR|0 FRE GET GOSUB|10 GOTO ' + + 'HEX$ IF|0 THEN ELSE|0 INKEY$ INP INPUT INPUT# INPUT$ INSTR IMP INT IOCTL IOCTL$ KEY ON ' + + 'OFF LIST KILL LEFT$ LEN LET LINE LLIST LOAD LOC LOCATE LOF LOG LPRINT USING LSET ' + + 'MERGE MID$ MKDIR MKD$ MKI$ MKS$ MOD NAME NEW NEXT NOISE NOT OCT$ ON OR PEN PLAY STRIG OPEN OPTION ' + + 'BASE OUT PAINT PALETTE PCOPY PEEK PMAP POINT POKE POS PRINT PRINT] PSET PRESET ' + + 'PUT RANDOMIZE READ REM RENUM RESET|0 RESTORE RESUME RETURN|0 RIGHT$ RMDIR RND RSET ' + + 'RUN SAVE SCREEN SGN SHELL SIN SOUND SPACE$ SPC SQR STEP STICK STOP STR$ STRING$ SWAP ' + + 'SYSTEM TAB TAN TIME$ TIMER TROFF TRON TO USR VAL VARPTR VARPTR$ VIEW WAIT WHILE ' + + 'WEND WIDTH WINDOW WRITE XOR' }, contains: [ hljs.QUOTE_STRING_MODE, - hljs.COMMENT("REM", "$", { relevance: 10 }), - hljs.COMMENT("'", "$", { relevance: 0 }), + hljs.COMMENT('REM', '$', { relevance: 10 }), + hljs.COMMENT("'", '$', { relevance: 0 }), { // Match line numbers - className: "symbol", - begin: "^[0-9]+ ", + className: 'symbol', + begin: '^[0-9]+ ', relevance: 10 }, { // Match typed numeric constants (1000, 12.34!, 1.2e5, 1.5#, 1.2D2) - className: "number", - begin: "\\b([0-9]+[0-9edED.]*[#!]?)", + className: 'number', + begin: '\\b([0-9]+[0-9edED.]*[#!]?)', relevance: 0 }, { // Match hexadecimal numbers (&Hxxxx) - className: "number", - begin: "(&[hH][0-9a-fA-F]{1,4})" + className: 'number', + begin: '(&[hH][0-9a-fA-F]{1,4})' }, { // Match octal numbers (&Oxxxxxx) - className: "number", - begin: "(&[oO][0-7]{1,6})" + className: 'number', + begin: '(&[oO][0-7]{1,6})' } ] }; @@ -19899,14 +47400,14 @@ /***/ }, - /* 366 */ + /* 369 */ /***/ function(module, exports) { module.exports = function(hljs) { return { contains: [ // Attribute { - className: "attribute", + className: 'attribute', begin: /, end: />/ }, @@ -19934,33 +47435,33 @@ /***/ }, - /* 367 */ + /* 370 */ /***/ function(module, exports) { module.exports = function(hljs) { var LITERAL = { - className: "literal", - begin: "[\\+\\-]", + className: 'literal', + begin: '[\\+\\-]', relevance: 0 }; return { - aliases: ["bf"], + aliases: ['bf'], contains: [ hljs.COMMENT( - "[^\\[\\]\\.,\\+\\-<> \r\n]", - "[\\[\\]\\.,\\+\\-<> \r\n]", + '[^\\[\\]\\.,\\+\\-<> \r\n]', + '[\\[\\]\\.,\\+\\-<> \r\n]', { returnEnd: true, relevance: 0 } ), { - className: "title", - begin: "[\\[\\]]", + className: 'title', + begin: '[\\[\\]]', relevance: 0 }, { - className: "string", - begin: "[\\.,]", + className: 'string', + begin: '[\\.,]', relevance: 0 }, { @@ -19976,13 +47477,13 @@ /***/ }, - /* 368 */ + /* 371 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = - "div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to " + - "until while with var"; - var LITERALS = "false true"; + 'div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to ' + + 'until while with var'; + var LITERALS = 'false true'; var COMMENT_MODES = [ hljs.C_LINE_COMMENT_MODE, hljs.COMMENT(/\{/, /\}/, { @@ -19993,35 +47494,35 @@ }) ]; var STRING = { - className: "string", + className: 'string', begin: /'/, end: /'/, contains: [{ begin: /''/ }] }; var CHAR_STRING = { - className: "string", + className: 'string', begin: /(#\d+)+/ }; var DATE = { - className: "number", - begin: "\\b\\d+(\\.\\d+)?(DT|D|T)", + className: 'number', + begin: '\\b\\d+(\\.\\d+)?(DT|D|T)', relevance: 0 }; var DBL_QUOTED_VARIABLE = { - className: "string", // not a string technically but makes sense to be highlighted in the same style + className: 'string', // not a string technically but makes sense to be highlighted in the same style begin: '"', end: '"' }; var PROCEDURE = { - className: "function", - beginKeywords: "procedure", + className: 'function', + beginKeywords: 'procedure', end: /[:;]/, - keywords: "procedure|10", + keywords: 'procedure|10', contains: [ hljs.TITLE_MODE, { - className: "params", + className: 'params', begin: /\(/, end: /\)/, keywords: KEYWORDS, @@ -20031,9 +47532,9 @@ }; var OBJECT = { - className: "class", + className: 'class', begin: - "OBJECT (Table|Form|Report|Dataport|Codeunit|XMLport|MenuSuite|Page|Query) (\\d+) ([^\\r\\n]+)", + 'OBJECT (Table|Form|Report|Dataport|Codeunit|XMLport|MenuSuite|Page|Query) (\\d+) ([^\\r\\n]+)', returnBegin: true, contains: [hljs.TITLE_MODE, PROCEDURE] }; @@ -20056,35 +47557,35 @@ /***/ }, - /* 369 */ + /* 372 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["capnp"], + aliases: ['capnp'], keywords: { keyword: - "struct enum interface union group import using const annotation extends in of on as with from fixed", + 'struct enum interface union group import using const annotation extends in of on as with from fixed', built_in: - "Void Bool Int8 Int16 Int32 Int64 UInt8 UInt16 UInt32 UInt64 Float32 Float64 " + - "Text Data AnyPointer AnyStruct Capability List", - literal: "true false" + 'Void Bool Int8 Int16 Int32 Int64 UInt8 UInt16 UInt32 UInt64 Float32 Float64 ' + + 'Text Data AnyPointer AnyStruct Capability List', + literal: 'true false' }, contains: [ hljs.QUOTE_STRING_MODE, hljs.NUMBER_MODE, hljs.HASH_COMMENT_MODE, { - className: "meta", + className: 'meta', begin: /@0x[\w\d]{16};/, illegal: /\n/ }, { - className: "symbol", + className: 'symbol', begin: /@\d+\b/ }, { - className: "class", - beginKeywords: "struct enum", + className: 'class', + beginKeywords: 'struct enum', end: /\{/, illegal: /\n/, contains: [ @@ -20094,8 +47595,8 @@ ] }, { - className: "class", - beginKeywords: "interface", + className: 'class', + beginKeywords: 'interface', end: /\{/, illegal: /\n/, contains: [ @@ -20110,23 +47611,23 @@ /***/ }, - /* 370 */ + /* 373 */ /***/ function(module, exports) { module.exports = function(hljs) { // 2.3. Identifiers and keywords var KEYWORDS = - "assembly module package import alias class interface object given value " + - "assign void function new of extends satisfies abstracts in out return " + - "break continue throw assert dynamic if else switch case for while try " + - "catch finally then let this outer super is exists nonempty"; + 'assembly module package import alias class interface object given value ' + + 'assign void function new of extends satisfies abstracts in out return ' + + 'break continue throw assert dynamic if else switch case for while try ' + + 'catch finally then let this outer super is exists nonempty'; // 7.4.1 Declaration Modifiers var DECLARATION_MODIFIERS = - "shared abstract formal default actual variable late native deprecated" + - "final sealed annotation suppressWarnings small"; + 'shared abstract formal default actual variable late native deprecated' + + 'final sealed annotation suppressWarnings small'; // 7.4.2 Documentation - var DOCUMENTATION = "doc by license see throws tagged"; + var DOCUMENTATION = 'doc by license see throws tagged'; var SUBST = { - className: "subst", + className: 'subst', excludeBegin: true, excludeEnd: true, begin: /``/, @@ -20137,29 +47638,29 @@ var EXPRESSIONS = [ { // verbatim string - className: "string", + className: 'string', begin: '"""', end: '"""', relevance: 10 }, { // string literal or template - className: "string", + className: 'string', begin: '"', end: '"', contains: [SUBST] }, { // character literal - className: "string", + className: 'string', begin: "'", end: "'" }, { // numeric literal - className: "number", + className: 'number', begin: - "#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?", + '#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?', relevance: 0 } ]; @@ -20167,16 +47668,16 @@ return { keywords: { - keyword: KEYWORDS + " " + DECLARATION_MODIFIERS, + keyword: KEYWORDS + ' ' + DECLARATION_MODIFIERS, meta: DOCUMENTATION }, - illegal: "\\$[^01]|#[^0-9a-fA-F]", + illegal: '\\$[^01]|#[^0-9a-fA-F]', contains: [ hljs.C_LINE_COMMENT_MODE, - hljs.COMMENT("/\\*", "\\*/", { contains: ["self"] }), + hljs.COMMENT('/\\*', '\\*/', { contains: ['self'] }), { // compiler annotation - className: "meta", + className: 'meta', begin: '@[a-z]\\w*(?:\\:"[^"]*")?' } ].concat(EXPRESSIONS) @@ -20185,18 +47686,18 @@ /***/ }, - /* 371 */ + /* 374 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["clean", "icl", "dcl"], + aliases: ['clean', 'icl', 'dcl'], keywords: { keyword: - "if let in with where case of class instance otherwise " + - "implementation definition system module from import qualified as " + - "special code inline foreign export ccall stdcall generic derive " + - "infix infixl infixr", - literal: "True False" + 'if let in with where case of class instance otherwise ' + + 'implementation definition system module from import qualified as ' + + 'special code inline foreign export ccall stdcall generic derive ' + + 'infix infixl infixr', + literal: 'True False' }, contains: [ hljs.C_LINE_COMMENT_MODE, @@ -20205,85 +47706,85 @@ hljs.QUOTE_STRING_MODE, hljs.C_NUMBER_MODE, - { begin: "->|<-[|:]?|::|#!?|>>=|\\{\\||\\|\\}|:==|=:|\\.\\.|<>|`" } // relevance booster + { begin: '->|<-[|:]?|::|#!?|>>=|\\{\\||\\|\\}|:==|=:|\\.\\.|<>|`' } // relevance booster ] }; }; /***/ }, - /* 372 */ + /* 375 */ /***/ function(module, exports) { module.exports = function(hljs) { var keywords = { - "builtin-name": + 'builtin-name': // Clojure keywords - "def defonce cond apply if-not if-let if not not= = < > <= >= == + / * - rem " + - "quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? " + - "set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? " + - "class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? " + - "string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . " + - "inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last " + - "drop-while while intern condp case reduced cycle split-at split-with repeat replicate " + - "iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext " + - "nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends " + - "add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler " + - "set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter " + - "monitor-exit defmacro defn defn- macroexpand macroexpand-1 for dosync and or " + - "when when-not when-let comp juxt partial sequence memoize constantly complement identity assert " + - "peek pop doto proxy defstruct first rest cons defprotocol cast coll deftype defrecord last butlast " + - "sigs reify second ffirst fnext nfirst nnext defmulti defmethod meta with-meta ns in-ns create-ns import " + - "refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! " + - "assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger " + - "bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline " + - "flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking " + - "assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! " + - "reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! " + - "new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty " + - "hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list " + - "disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer " + - "chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate " + - "unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta " + - "lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize" + 'def defonce cond apply if-not if-let if not not= = < > <= >= == + / * - rem ' + + 'quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? ' + + 'set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? ' + + 'class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? ' + + 'string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . ' + + 'inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last ' + + 'drop-while while intern condp case reduced cycle split-at split-with repeat replicate ' + + 'iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext ' + + 'nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends ' + + 'add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler ' + + 'set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter ' + + 'monitor-exit defmacro defn defn- macroexpand macroexpand-1 for dosync and or ' + + 'when when-not when-let comp juxt partial sequence memoize constantly complement identity assert ' + + 'peek pop doto proxy defstruct first rest cons defprotocol cast coll deftype defrecord last butlast ' + + 'sigs reify second ffirst fnext nfirst nnext defmulti defmethod meta with-meta ns in-ns create-ns import ' + + 'refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! ' + + 'assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger ' + + 'bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline ' + + 'flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking ' + + 'assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! ' + + 'reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! ' + + 'new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty ' + + 'hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list ' + + 'disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer ' + + 'chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate ' + + 'unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta ' + + 'lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize' }; var SYMBOLSTART = "a-zA-Z_\\-!.?+*=<>'"; - var SYMBOL_RE = "[" + SYMBOLSTART + "][" + SYMBOLSTART + "0-9/;:]*"; - var SIMPLE_NUMBER_RE = "[-+]?\\d+(\\.\\d+)?"; + var SYMBOL_RE = '[' + SYMBOLSTART + '][' + SYMBOLSTART + '0-9/;:]*'; + var SIMPLE_NUMBER_RE = '[-+]?\\d+(\\.\\d+)?'; var SYMBOL = { begin: SYMBOL_RE, relevance: 0 }; var NUMBER = { - className: "number", + className: 'number', begin: SIMPLE_NUMBER_RE, relevance: 0 }; var STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }); - var COMMENT = hljs.COMMENT(";", "$", { + var COMMENT = hljs.COMMENT(';', '$', { relevance: 0 }); var LITERAL = { - className: "literal", + className: 'literal', begin: /\b(true|false|nil)\b/ }; var COLLECTION = { - begin: "[\\[\\{]", - end: "[\\]\\}]" + begin: '[\\[\\{]', + end: '[\\]\\}]' }; var HINT = { - className: "comment", - begin: "\\^" + SYMBOL_RE + className: 'comment', + begin: '\\^' + SYMBOL_RE }; - var HINT_COL = hljs.COMMENT("\\^\\{", "\\}"); + var HINT_COL = hljs.COMMENT('\\^\\{', '\\}'); var KEY = { - className: "symbol", - begin: "[:]{1,2}" + SYMBOL_RE + className: 'symbol', + begin: '[:]{1,2}' + SYMBOL_RE }; var LIST = { - begin: "\\(", - end: "\\)" + begin: '\\(', + end: '\\)' }; var BODY = { endsWithParent: true, @@ -20292,7 +47793,7 @@ var NAME = { keywords: keywords, lexemes: SYMBOL_RE, - className: "name", + className: 'name', begin: SYMBOL_RE, starts: BODY }; @@ -20309,13 +47810,13 @@ SYMBOL ]; - LIST.contains = [hljs.COMMENT("comment", ""), NAME, BODY]; + LIST.contains = [hljs.COMMENT('comment', ''), NAME, BODY]; BODY.contains = DEFAULT_CONTAINS; COLLECTION.contains = DEFAULT_CONTAINS; HINT_COL.contains = [COLLECTION]; return { - aliases: ["clj"], + aliases: ['clj'], illegal: /\S/, contains: [ LIST, @@ -20333,17 +47834,17 @@ /***/ }, - /* 373 */ + /* 376 */ /***/ function(module, exports) { module.exports = function(hljs) { return { contains: [ { - className: "meta", + className: 'meta', begin: /^([\w.-]+|\s*#_)=>/, starts: { end: /$/, - subLanguage: "clojure" + subLanguage: 'clojure' } } ] @@ -20352,39 +47853,54 @@ /***/ }, - /* 374 */ + /* 377 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["cmake.in"], + aliases: ['cmake.in'], case_insensitive: true, keywords: { keyword: - "add_custom_command add_custom_target add_definitions add_dependencies " + - "add_executable add_library add_subdirectory add_test aux_source_directory " + - "break build_command cmake_minimum_required cmake_policy configure_file " + - "create_test_sourcelist define_property else elseif enable_language enable_testing " + - "endforeach endfunction endif endmacro endwhile execute_process export find_file " + - "find_library find_package find_path find_program fltk_wrap_ui foreach function " + - "get_cmake_property get_directory_property get_filename_component get_property " + - "get_source_file_property get_target_property get_test_property if include " + - "include_directories include_external_msproject include_regular_expression install " + - "link_directories load_cache load_command macro mark_as_advanced message option " + - "output_required_files project qt_wrap_cpp qt_wrap_ui remove_definitions return " + - "separate_arguments set set_directory_properties set_property " + - "set_source_files_properties set_target_properties set_tests_properties site_name " + - "source_group string target_link_libraries try_compile try_run unset variable_watch " + - "while build_name exec_program export_library_dependencies install_files " + - "install_programs install_targets link_libraries make_directory remove subdir_depends " + - "subdirs use_mangled_mesa utility_source variable_requires write_file " + - "qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or " + - "equal less greater strless strgreater strequal matches" + // scripting commands + 'break cmake_host_system_information cmake_minimum_required cmake_parse_arguments ' + + 'cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro ' + + 'endwhile execute_process file find_file find_library find_package find_path ' + + 'find_program foreach function get_cmake_property get_directory_property ' + + 'get_filename_component get_property if include include_guard list macro ' + + 'mark_as_advanced math message option return separate_arguments ' + + 'set_directory_properties set_property set site_name string unset variable_watch while ' + + // project commands + 'add_compile_definitions add_compile_options add_custom_command add_custom_target ' + + 'add_definitions add_dependencies add_executable add_library add_link_options ' + + 'add_subdirectory add_test aux_source_directory build_command create_test_sourcelist ' + + 'define_property enable_language enable_testing export fltk_wrap_ui ' + + 'get_source_file_property get_target_property get_test_property include_directories ' + + 'include_external_msproject include_regular_expression install link_directories ' + + 'link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions ' + + 'set_source_files_properties set_target_properties set_tests_properties source_group ' + + 'target_compile_definitions target_compile_features target_compile_options ' + + 'target_include_directories target_link_directories target_link_libraries ' + + 'target_link_options target_sources try_compile try_run ' + + // CTest commands + 'ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ' + + 'ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ' + + 'ctest_test ctest_update ctest_upload ' + + // deprecated commands + 'build_name exec_program export_library_dependencies install_files install_programs ' + + 'install_targets load_command make_directory output_required_files remove ' + + 'subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file ' + + 'qt5_use_modules qt5_use_package qt5_wrap_cpp ' + + // core keywords + 'on off true false and or not command policy target test exists is_newer_than ' + + 'is_directory is_symlink is_absolute matches less greater equal less_equal ' + + 'greater_equal strless strgreater strequal strless_equal strgreater_equal version_less ' + + 'version_greater version_equal version_less_equal version_greater_equal in_list defined' }, contains: [ { - className: "variable", - begin: "\\${", - end: "}" + className: 'variable', + begin: '\\${', + end: '}' }, hljs.HASH_COMMENT_MODE, hljs.QUOTE_STRING_MODE, @@ -20395,26 +47911,26 @@ /***/ }, - /* 375 */ + /* 378 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { keyword: // JS keywords - "in if for while finally new do return else break catch instanceof throw try this " + - "switch continue typeof delete debugger super yield import export from as default await " + + 'in if for while finally new do return else break catch instanceof throw try this ' + + 'switch continue typeof delete debugger super yield import export from as default await ' + // Coffee keywords - "then unless until loop of by when and or is isnt not", + 'then unless until loop of by when and or is isnt not', literal: // JS literals - "true false null undefined " + + 'true false null undefined ' + // Coffee literals - "yes no on off", - built_in: "npm require console print module global window document" + 'yes no on off', + built_in: 'npm require console print module global window document' }; - var JS_IDENT_RE = "[A-Za-z$_][0-9A-Za-z$_]*"; + var JS_IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*'; var SUBST = { - className: "subst", + className: 'subst', begin: /#\{/, end: /}/, keywords: KEYWORDS @@ -20422,10 +47938,10 @@ var EXPRESSIONS = [ hljs.BINARY_NUMBER_MODE, hljs.inherit(hljs.C_NUMBER_MODE, { - starts: { end: "(\\s*/)?", relevance: 0 } + starts: { end: '(\\s*/)?', relevance: 0 } }), // a number tries to eat the following slash to prevent treating it as a regexp { - className: "string", + className: 'string', variants: [ { begin: /'''/, @@ -20450,15 +47966,15 @@ ] }, { - className: "regexp", + className: 'regexp', variants: [ { - begin: "///", - end: "///", + begin: '///', + end: '///', contains: [SUBST, hljs.HASH_COMMENT_MODE] }, { - begin: "//[gim]*", + begin: '//[gim]*', relevance: 0 }, { @@ -20469,20 +47985,20 @@ ] }, { - begin: "@" + JS_IDENT_RE // relevance booster + begin: '@' + JS_IDENT_RE // relevance booster }, { - subLanguage: "javascript", + subLanguage: 'javascript', excludeBegin: true, excludeEnd: true, variants: [ { - begin: "```", - end: "```" + begin: '```', + end: '```' }, { - begin: "`", - end: "`" + begin: '`', + end: '`' } ] } @@ -20490,10 +48006,10 @@ SUBST.contains = EXPRESSIONS; var TITLE = hljs.inherit(hljs.TITLE_MODE, { begin: JS_IDENT_RE }); - var PARAMS_RE = "(\\(.*\\))?\\s*\\B[-=]>"; + var PARAMS_RE = '(\\(.*\\))?\\s*\\B[-=]>'; var PARAMS = { - className: "params", - begin: "\\([^\\(]", + className: 'params', + begin: '\\([^\\(]', returnBegin: true, /* We need another contained nameless mode to not have every nested pair of parens to be called "params" */ @@ -20502,22 +48018,22 @@ begin: /\(/, end: /\)/, keywords: KEYWORDS, - contains: ["self"].concat(EXPRESSIONS) + contains: ['self'].concat(EXPRESSIONS) } ] }; return { - aliases: ["coffee", "cson", "iced"], + aliases: ['coffee', 'cson', 'iced'], keywords: KEYWORDS, illegal: /\/\*/, contains: EXPRESSIONS.concat([ - hljs.COMMENT("###", "###"), + hljs.COMMENT('###', '###'), hljs.HASH_COMMENT_MODE, { - className: "function", - begin: "^\\s*" + JS_IDENT_RE + "\\s*=\\s*" + PARAMS_RE, - end: "[-=]>", + className: 'function', + begin: '^\\s*' + JS_IDENT_RE + '\\s*=\\s*' + PARAMS_RE, + end: '[-=]>', returnBegin: true, contains: [TITLE, PARAMS] }, @@ -20527,22 +48043,22 @@ relevance: 0, contains: [ { - className: "function", + className: 'function', begin: PARAMS_RE, - end: "[-=]>", + end: '[-=]>', returnBegin: true, contains: [PARAMS] } ] }, { - className: "class", - beginKeywords: "class", - end: "$", + className: 'class', + beginKeywords: 'class', + end: '$', illegal: /[:="\[\]]/, contains: [ { - beginKeywords: "extends", + beginKeywords: 'extends', endsWithParent: true, illegal: /[:="\[\]]/, contains: [TITLE] @@ -20551,8 +48067,8 @@ ] }, { - begin: JS_IDENT_RE + ":", - end: ":", + begin: JS_IDENT_RE + ':', + end: ':', returnBegin: true, returnEnd: true, relevance: 0 @@ -20563,69 +48079,69 @@ /***/ }, - /* 376 */ + /* 379 */ /***/ function(module, exports) { module.exports = function(hljs) { return { keywords: { keyword: - "_ as at cofix else end exists exists2 fix for forall fun if IF in let " + - "match mod Prop return Set then Type using where with " + - "Abort About Add Admit Admitted All Arguments Assumptions Axiom Back BackTo " + - "Backtrack Bind Blacklist Canonical Cd Check Class Classes Close Coercion " + - "Coercions CoFixpoint CoInductive Collection Combined Compute Conjecture " + - "Conjectures Constant constr Constraint Constructors Context Corollary " + - "CreateHintDb Cut Declare Defined Definition Delimit Dependencies Dependent" + - "Derive Drop eauto End Equality Eval Example Existential Existentials " + - "Existing Export exporting Extern Extract Extraction Fact Field Fields File " + - "Fixpoint Focus for From Function Functional Generalizable Global Goal Grab " + - "Grammar Graph Guarded Heap Hint HintDb Hints Hypotheses Hypothesis ident " + - "Identity If Immediate Implicit Import Include Inductive Infix Info Initial " + - "Inline Inspect Instance Instances Intro Intros Inversion Inversion_clear " + - "Language Left Lemma Let Libraries Library Load LoadPath Local Locate Ltac ML " + - "Mode Module Modules Monomorphic Morphism Next NoInline Notation Obligation " + - "Obligations Opaque Open Optimize Options Parameter Parameters Parametric " + - "Path Paths pattern Polymorphic Preterm Print Printing Program Projections " + - "Proof Proposition Pwd Qed Quit Rec Record Recursive Redirect Relation Remark " + - "Remove Require Reserved Reset Resolve Restart Rewrite Right Ring Rings Save " + - "Scheme Scope Scopes Script Search SearchAbout SearchHead SearchPattern " + - "SearchRewrite Section Separate Set Setoid Show Solve Sorted Step Strategies " + - "Strategy Structure SubClass Table Tables Tactic Term Test Theorem Time " + - "Timeout Transparent Type Typeclasses Types Undelimit Undo Unfocus Unfocused " + - "Unfold Universe Universes Unset Unshelve using Variable Variables Variant " + - "Verbose Visibility where with", + '_ as at cofix else end exists exists2 fix for forall fun if IF in let ' + + 'match mod Prop return Set then Type using where with ' + + 'Abort About Add Admit Admitted All Arguments Assumptions Axiom Back BackTo ' + + 'Backtrack Bind Blacklist Canonical Cd Check Class Classes Close Coercion ' + + 'Coercions CoFixpoint CoInductive Collection Combined Compute Conjecture ' + + 'Conjectures Constant constr Constraint Constructors Context Corollary ' + + 'CreateHintDb Cut Declare Defined Definition Delimit Dependencies Dependent' + + 'Derive Drop eauto End Equality Eval Example Existential Existentials ' + + 'Existing Export exporting Extern Extract Extraction Fact Field Fields File ' + + 'Fixpoint Focus for From Function Functional Generalizable Global Goal Grab ' + + 'Grammar Graph Guarded Heap Hint HintDb Hints Hypotheses Hypothesis ident ' + + 'Identity If Immediate Implicit Import Include Inductive Infix Info Initial ' + + 'Inline Inspect Instance Instances Intro Intros Inversion Inversion_clear ' + + 'Language Left Lemma Let Libraries Library Load LoadPath Local Locate Ltac ML ' + + 'Mode Module Modules Monomorphic Morphism Next NoInline Notation Obligation ' + + 'Obligations Opaque Open Optimize Options Parameter Parameters Parametric ' + + 'Path Paths pattern Polymorphic Preterm Print Printing Program Projections ' + + 'Proof Proposition Pwd Qed Quit Rec Record Recursive Redirect Relation Remark ' + + 'Remove Require Reserved Reset Resolve Restart Rewrite Right Ring Rings Save ' + + 'Scheme Scope Scopes Script Search SearchAbout SearchHead SearchPattern ' + + 'SearchRewrite Section Separate Set Setoid Show Solve Sorted Step Strategies ' + + 'Strategy Structure SubClass Table Tables Tactic Term Test Theorem Time ' + + 'Timeout Transparent Type Typeclasses Types Undelimit Undo Unfocus Unfocused ' + + 'Unfold Universe Universes Unset Unshelve using Variable Variables Variant ' + + 'Verbose Visibility where with', built_in: - "abstract absurd admit after apply as assert assumption at auto autorewrite " + - "autounfold before bottom btauto by case case_eq cbn cbv change " + - "classical_left classical_right clear clearbody cofix compare compute " + - "congruence constr_eq constructor contradict contradiction cut cutrewrite " + - "cycle decide decompose dependent destruct destruction dintuition " + - "discriminate discrR do double dtauto eapply eassumption eauto ecase " + - "econstructor edestruct ediscriminate eelim eexact eexists einduction " + - "einjection eleft elim elimtype enough equality erewrite eright " + - "esimplify_eq esplit evar exact exactly_once exfalso exists f_equal fail " + - "field field_simplify field_simplify_eq first firstorder fix fold fourier " + - "functional generalize generalizing gfail give_up has_evar hnf idtac in " + - "induction injection instantiate intro intro_pattern intros intuition " + - "inversion inversion_clear is_evar is_var lapply lazy left lia lra move " + - "native_compute nia nsatz omega once pattern pose progress proof psatz quote " + - "record red refine reflexivity remember rename repeat replace revert " + - "revgoals rewrite rewrite_strat right ring ring_simplify rtauto set " + - "setoid_reflexivity setoid_replace setoid_rewrite setoid_symmetry " + - "setoid_transitivity shelve shelve_unifiable simpl simple simplify_eq solve " + - "specialize split split_Rabs split_Rmult stepl stepr subst sum swap " + - "symmetry tactic tauto time timeout top transitivity trivial try tryif " + - "unfold unify until using vm_compute with" + 'abstract absurd admit after apply as assert assumption at auto autorewrite ' + + 'autounfold before bottom btauto by case case_eq cbn cbv change ' + + 'classical_left classical_right clear clearbody cofix compare compute ' + + 'congruence constr_eq constructor contradict contradiction cut cutrewrite ' + + 'cycle decide decompose dependent destruct destruction dintuition ' + + 'discriminate discrR do double dtauto eapply eassumption eauto ecase ' + + 'econstructor edestruct ediscriminate eelim eexact eexists einduction ' + + 'einjection eleft elim elimtype enough equality erewrite eright ' + + 'esimplify_eq esplit evar exact exactly_once exfalso exists f_equal fail ' + + 'field field_simplify field_simplify_eq first firstorder fix fold fourier ' + + 'functional generalize generalizing gfail give_up has_evar hnf idtac in ' + + 'induction injection instantiate intro intro_pattern intros intuition ' + + 'inversion inversion_clear is_evar is_var lapply lazy left lia lra move ' + + 'native_compute nia nsatz omega once pattern pose progress proof psatz quote ' + + 'record red refine reflexivity remember rename repeat replace revert ' + + 'revgoals rewrite rewrite_strat right ring ring_simplify rtauto set ' + + 'setoid_reflexivity setoid_replace setoid_rewrite setoid_symmetry ' + + 'setoid_transitivity shelve shelve_unifiable simpl simple simplify_eq solve ' + + 'specialize split split_Rabs split_Rmult stepl stepr subst sum swap ' + + 'symmetry tactic tauto time timeout top transitivity trivial try tryif ' + + 'unfold unify until using vm_compute with' }, contains: [ hljs.QUOTE_STRING_MODE, - hljs.COMMENT("\\(\\*", "\\*\\)"), + hljs.COMMENT('\\(\\*', '\\*\\)'), hljs.C_NUMBER_MODE, { - className: "type", + className: 'type', excludeBegin: true, - begin: "\\|\\s*", - end: "\\w+" + begin: '\\|\\s*', + end: '\\w+' }, { begin: /[-=]>/ } // relevance booster ] @@ -20634,11 +48150,11 @@ /***/ }, - /* 377 */ + /* 380 */ /***/ function(module, exports) { module.exports = function cos(hljs) { var STRINGS = { - className: "string", + className: 'string', variants: [ { begin: '"', @@ -20655,19 +48171,19 @@ }; var NUMBERS = { - className: "number", - begin: "\\b(\\d+(\\.\\d*)?|\\.\\d+)", + className: 'number', + begin: '\\b(\\d+(\\.\\d*)?|\\.\\d+)', relevance: 0 }; var COS_KEYWORDS = - "property parameter class classmethod clientmethod extends as break " + - "catch close continue do d|0 else elseif for goto halt hang h|0 if job " + - "j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 " + - "tcommit throw trollback try tstart use view while write w|0 xecute x|0 " + - "zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert " + - "zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit " + - "zsync ascii"; + 'property parameter class classmethod clientmethod extends as break ' + + 'catch close continue do d|0 else elseif for goto halt hang h|0 if job ' + + 'j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 ' + + 'tcommit throw trollback try tstart use view while write w|0 xecute x|0 ' + + 'zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert ' + + 'zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit ' + + 'zsync ascii'; // registered function - no need in them due to all functions are highlighted, // but I'll just leave this here. @@ -20708,7 +48224,7 @@ return { case_insensitive: true, - aliases: ["cos", "cls"], + aliases: ['cos', 'cls'], keywords: COS_KEYWORDS, contains: [ NUMBERS, @@ -20716,34 +48232,34 @@ hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, { - className: "comment", + className: 'comment', begin: /;/, - end: "$", + end: '$', relevance: 0 }, { // Functions and user-defined functions: write $ztime(60*60*3), $$myFunc(10), $$^Val(1) - className: "built_in", + className: 'built_in', begin: /(?:\$\$?|\.\.)\^?[a-zA-Z]+/ }, { // Macro command: quit $$$OK - className: "built_in", + className: 'built_in', begin: /\$\$\$[a-zA-Z]+/ }, { // Special (global) variables: write %request.Content; Built-in classes: %Library.Integer - className: "built_in", + className: 'built_in', begin: /%[a-z]+(?:\.[a-z]+)*/ }, { // Global variable: set ^globalName = 12 write ^globalName - className: "symbol", + className: 'symbol', begin: /\^%?[a-zA-Z][\w]*/ }, { // Some control constructions: do ##class(Package.ClassName).Method(), ##super() - className: "keyword", + className: 'keyword', begin: /##class|##super|#define|#dim/ }, @@ -20754,20 +48270,20 @@ end: /\)/, excludeBegin: true, excludeEnd: true, - subLanguage: "sql" + subLanguage: 'sql' }, { begin: /&(js|jscript|javascript), end: />/, excludeBegin: true, excludeEnd: true, - subLanguage: "javascript" + subLanguage: 'javascript' }, { // this brakes first and last tag, but this is the only way to embed a valid html begin: /&html<\s*, end: />\s*>/, - subLanguage: "xml" + subLanguage: 'xml' } ] }; @@ -20775,99 +48291,99 @@ /***/ }, - /* 378 */ + /* 381 */ /***/ function(module, exports) { module.exports = function(hljs) { - var RESOURCES = "primitive rsc_template"; + var RESOURCES = 'primitive rsc_template'; var COMMANDS = - "group clone ms master location colocation order fencing_topology " + - "rsc_ticket acl_target acl_group user role " + - "tag xml"; + 'group clone ms master location colocation order fencing_topology ' + + 'rsc_ticket acl_target acl_group user role ' + + 'tag xml'; - var PROPERTY_SETS = "property rsc_defaults op_defaults"; + var PROPERTY_SETS = 'property rsc_defaults op_defaults'; - var KEYWORDS = "params meta operations op rule attributes utilization"; + var KEYWORDS = 'params meta operations op rule attributes utilization'; var OPERATORS = - "read write deny defined not_defined in_range date spec in " + - "ref reference attribute type xpath version and or lt gt tag " + - "lte gte eq ne \\"; + 'read write deny defined not_defined in_range date spec in ' + + 'ref reference attribute type xpath version and or lt gt tag ' + + 'lte gte eq ne \\'; - var TYPES = "number string"; + var TYPES = 'number string'; var LITERALS = - "Master Started Slave Stopped start promote demote stop monitor true false"; + 'Master Started Slave Stopped start promote demote stop monitor true false'; return { - aliases: ["crm", "pcmk"], + aliases: ['crm', 'pcmk'], case_insensitive: true, keywords: { - keyword: KEYWORDS + " " + OPERATORS + " " + TYPES, + keyword: KEYWORDS + ' ' + OPERATORS + ' ' + TYPES, literal: LITERALS }, contains: [ hljs.HASH_COMMENT_MODE, { - beginKeywords: "node", + beginKeywords: 'node', starts: { - end: "\\s*([\\w_-]+:)?", + end: '\\s*([\\w_-]+:)?', starts: { - className: "title", - end: "\\s*[\\$\\w_][\\w_-]*" + className: 'title', + end: '\\s*[\\$\\w_][\\w_-]*' } } }, { beginKeywords: RESOURCES, starts: { - className: "title", - end: "\\s*[\\$\\w_][\\w_-]*", + className: 'title', + end: '\\s*[\\$\\w_][\\w_-]*', starts: { - end: "\\s*@?[\\w_][\\w_\\.:-]*" + end: '\\s*@?[\\w_][\\w_\\.:-]*' } } }, { - begin: "\\b(" + COMMANDS.split(" ").join("|") + ")\\s+", + begin: '\\b(' + COMMANDS.split(' ').join('|') + ')\\s+', keywords: COMMANDS, starts: { - className: "title", - end: "[\\$\\w_][\\w_-]*" + className: 'title', + end: '[\\$\\w_][\\w_-]*' } }, { beginKeywords: PROPERTY_SETS, starts: { - className: "title", - end: "\\s*([\\w_-]+:)?" + className: 'title', + end: '\\s*([\\w_-]+:)?' } }, hljs.QUOTE_STRING_MODE, { - className: "meta", - begin: "(ocf|systemd|service|lsb):[\\w_:-]+", + className: 'meta', + begin: '(ocf|systemd|service|lsb):[\\w_:-]+', relevance: 0 }, { - className: "number", - begin: "\\b\\d+(\\.\\d+)?(ms|s|h|m)?", + className: 'number', + begin: '\\b\\d+(\\.\\d+)?(ms|s|h|m)?', relevance: 0 }, { - className: "literal", - begin: "[-]?(infinity|inf)", + className: 'literal', + begin: '[-]?(infinity|inf)', relevance: 0 }, { - className: "attr", + className: 'attr', begin: /([A-Za-z\$_\#][\w_-]+)=/, relevance: 0 }, { - className: "tag", - begin: "?", - end: "/?>", + className: 'tag', + begin: '?', + end: '/?>', relevance: 0 } ] @@ -20876,35 +48392,35 @@ /***/ }, - /* 379 */ + /* 382 */ /***/ function(module, exports) { module.exports = function(hljs) { - var NUM_SUFFIX = "(_[uif](8|16|32|64))?"; - var CRYSTAL_IDENT_RE = "[a-zA-Z_]\\w*[!?=]?"; + var NUM_SUFFIX = '(_[uif](8|16|32|64))?'; + var CRYSTAL_IDENT_RE = '[a-zA-Z_]\\w*[!?=]?'; var RE_STARTER = - "!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|" + - ">>|>|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~"; + '!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|' + + '>>|>|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~'; var CRYSTAL_METHOD_RE = - "[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\][=?]?"; + '[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\][=?]?'; var CRYSTAL_KEYWORDS = { keyword: - "abstract alias as as? asm begin break case class def do else elsif end ensure enum extend for fun if " + - "include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? " + - "return require select self sizeof struct super then type typeof union uninitialized unless until when while with yield " + - "__DIR__ __END_LINE__ __FILE__ __LINE__", - literal: "false nil true" + 'abstract alias as as? asm begin break case class def do else elsif end ensure enum extend for fun if ' + + 'include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? ' + + 'return require select self sizeof struct super then type typeof union uninitialized unless until when while with yield ' + + '__DIR__ __END_LINE__ __FILE__ __LINE__', + literal: 'false nil true' }; var SUBST = { - className: "subst", - begin: "#{", - end: "}", + className: 'subst', + begin: '#{', + end: '}', keywords: CRYSTAL_KEYWORDS }; var EXPANSION = { - className: "template-variable", + className: 'template-variable', variants: [ - { begin: "\\{\\{", end: "\\}\\}" }, - { begin: "\\{%", end: "%\\}" } + { begin: '\\{\\{', end: '\\}\\}' }, + { begin: '\\{%', end: '%\\}' } ], keywords: CRYSTAL_KEYWORDS }; @@ -20915,114 +48431,114 @@ return contains; } var STRING = { - className: "string", + className: 'string', contains: [hljs.BACKSLASH_ESCAPE, SUBST], variants: [ { begin: /'/, end: /'/ }, { begin: /"/, end: /"/ }, { begin: /`/, end: /`/ }, { - begin: "%w?\\(", - end: "\\)", - contains: recursiveParen("\\(", "\\)") + begin: '%w?\\(', + end: '\\)', + contains: recursiveParen('\\(', '\\)') }, { - begin: "%w?\\[", - end: "\\]", - contains: recursiveParen("\\[", "\\]") + begin: '%w?\\[', + end: '\\]', + contains: recursiveParen('\\[', '\\]') }, - { begin: "%w?{", end: "}", contains: recursiveParen("{", "}") }, - { begin: "%w?<", end: ">", contains: recursiveParen("<", ">") }, - { begin: "%w?/", end: "/" }, - { begin: "%w?%", end: "%" }, - { begin: "%w?-", end: "-" }, - { begin: "%w?\\|", end: "\\|" }, + { begin: '%w?{', end: '}', contains: recursiveParen('{', '}') }, + { begin: '%w?<', end: '>', contains: recursiveParen('<', '>') }, + { begin: '%w?/', end: '/' }, + { begin: '%w?%', end: '%' }, + { begin: '%w?-', end: '-' }, + { begin: '%w?\\|', end: '\\|' }, { begin: /<<-\w+$/, end: /^\s*\w+$/ } ], relevance: 0 }; var Q_STRING = { - className: "string", + className: 'string', variants: [ { - begin: "%q\\(", - end: "\\)", - contains: recursiveParen("\\(", "\\)") + begin: '%q\\(', + end: '\\)', + contains: recursiveParen('\\(', '\\)') }, { - begin: "%q\\[", - end: "\\]", - contains: recursiveParen("\\[", "\\]") + begin: '%q\\[', + end: '\\]', + contains: recursiveParen('\\[', '\\]') }, - { begin: "%q{", end: "}", contains: recursiveParen("{", "}") }, - { begin: "%q<", end: ">", contains: recursiveParen("<", ">") }, - { begin: "%q/", end: "/" }, - { begin: "%q%", end: "%" }, - { begin: "%q-", end: "-" }, - { begin: "%q\\|", end: "\\|" }, + { begin: '%q{', end: '}', contains: recursiveParen('{', '}') }, + { begin: '%q<', end: '>', contains: recursiveParen('<', '>') }, + { begin: '%q/', end: '/' }, + { begin: '%q%', end: '%' }, + { begin: '%q-', end: '-' }, + { begin: '%q\\|', end: '\\|' }, { begin: /<<-'\w+'$/, end: /^\s*\w+$/ } ], relevance: 0 }; var REGEXP = { - begin: "(" + RE_STARTER + ")\\s*", + begin: '(' + RE_STARTER + ')\\s*', contains: [ { - className: "regexp", + className: 'regexp', contains: [hljs.BACKSLASH_ESCAPE, SUBST], variants: [ - { begin: "//[a-z]*", relevance: 0 }, - { begin: "/", end: "/[a-z]*" }, + { begin: '//[a-z]*', relevance: 0 }, + { begin: '/', end: '/[a-z]*' }, { - begin: "%r\\(", - end: "\\)", - contains: recursiveParen("\\(", "\\)") + begin: '%r\\(', + end: '\\)', + contains: recursiveParen('\\(', '\\)') }, { - begin: "%r\\[", - end: "\\]", - contains: recursiveParen("\\[", "\\]") + begin: '%r\\[', + end: '\\]', + contains: recursiveParen('\\[', '\\]') }, - { begin: "%r{", end: "}", contains: recursiveParen("{", "}") }, - { begin: "%r<", end: ">", contains: recursiveParen("<", ">") }, - { begin: "%r/", end: "/" }, - { begin: "%r%", end: "%" }, - { begin: "%r-", end: "-" }, - { begin: "%r\\|", end: "\\|" } + { begin: '%r{', end: '}', contains: recursiveParen('{', '}') }, + { begin: '%r<', end: '>', contains: recursiveParen('<', '>') }, + { begin: '%r/', end: '/' }, + { begin: '%r%', end: '%' }, + { begin: '%r-', end: '-' }, + { begin: '%r\\|', end: '\\|' } ] } ], relevance: 0 }; var REGEXP2 = { - className: "regexp", + className: 'regexp', contains: [hljs.BACKSLASH_ESCAPE, SUBST], variants: [ { - begin: "%r\\(", - end: "\\)", - contains: recursiveParen("\\(", "\\)") + begin: '%r\\(', + end: '\\)', + contains: recursiveParen('\\(', '\\)') }, { - begin: "%r\\[", - end: "\\]", - contains: recursiveParen("\\[", "\\]") + begin: '%r\\[', + end: '\\]', + contains: recursiveParen('\\[', '\\]') }, - { begin: "%r{", end: "}", contains: recursiveParen("{", "}") }, - { begin: "%r<", end: ">", contains: recursiveParen("<", ">") }, - { begin: "%r/", end: "/" }, - { begin: "%r%", end: "%" }, - { begin: "%r-", end: "-" }, - { begin: "%r\\|", end: "\\|" } + { begin: '%r{', end: '}', contains: recursiveParen('{', '}') }, + { begin: '%r<', end: '>', contains: recursiveParen('<', '>') }, + { begin: '%r/', end: '/' }, + { begin: '%r%', end: '%' }, + { begin: '%r-', end: '-' }, + { begin: '%r\\|', end: '\\|' } ], relevance: 0 }; var ATTRIBUTE = { - className: "meta", - begin: "@\\[", - end: "\\]", + className: 'meta', + begin: '@\\[', + end: '\\]', contains: [ - hljs.inherit(hljs.QUOTE_STRING_MODE, { className: "meta-string" }) + hljs.inherit(hljs.QUOTE_STRING_MODE, { className: 'meta-string' }) ] }; var CRYSTAL_DEFAULT_CONTAINS = [ @@ -21034,34 +48550,34 @@ ATTRIBUTE, hljs.HASH_COMMENT_MODE, { - className: "class", - beginKeywords: "class module struct", - end: "$|;", + className: 'class', + beginKeywords: 'class module struct', + end: '$|;', illegal: /=/, contains: [ hljs.HASH_COMMENT_MODE, hljs.inherit(hljs.TITLE_MODE, { - begin: "[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?" + begin: '[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?' }), - { begin: "<" } // relevance booster for inheritance + { begin: '<' } // relevance booster for inheritance ] }, { - className: "class", - beginKeywords: "lib enum union", - end: "$|;", + className: 'class', + beginKeywords: 'lib enum union', + end: '$|;', illegal: /=/, contains: [ hljs.HASH_COMMENT_MODE, hljs.inherit(hljs.TITLE_MODE, { - begin: "[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?" + begin: '[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?' }) ], relevance: 10 }, { - className: "function", - beginKeywords: "def", + className: 'function', + beginKeywords: 'def', end: /\B\b/, contains: [ hljs.inherit(hljs.TITLE_MODE, { @@ -21071,8 +48587,8 @@ ] }, { - className: "function", - beginKeywords: "fun macro", + className: 'function', + beginKeywords: 'fun macro', end: /\B\b/, contains: [ hljs.inherit(hljs.TITLE_MODE, { @@ -21083,25 +48599,25 @@ relevance: 5 }, { - className: "symbol", - begin: hljs.UNDERSCORE_IDENT_RE + "(\\!|\\?)?:", + className: 'symbol', + begin: hljs.UNDERSCORE_IDENT_RE + '(\\!|\\?)?:', relevance: 0 }, { - className: "symbol", - begin: ":", + className: 'symbol', + begin: ':', contains: [STRING, { begin: CRYSTAL_METHOD_RE }], relevance: 0 }, { - className: "number", + className: 'number', variants: [ - { begin: "\\b0b([01_]*[01])" + NUM_SUFFIX }, - { begin: "\\b0o([0-7_]*[0-7])" + NUM_SUFFIX }, - { begin: "\\b0x([A-Fa-f0-9_]*[A-Fa-f0-9])" + NUM_SUFFIX }, + { begin: '\\b0b([01_]*[01])' + NUM_SUFFIX }, + { begin: '\\b0o([0-7_]*[0-7])' + NUM_SUFFIX }, + { begin: '\\b0x([A-Fa-f0-9_]*[A-Fa-f0-9])' + NUM_SUFFIX }, { begin: - "\\b(([0-9][0-9_]*[0-9]|[0-9])(\\.[0-9_]*[0-9])?([eE][+-]?[0-9_]*[0-9])?)" + + '\\b(([0-9][0-9_]*[0-9]|[0-9])(\\.[0-9_]*[0-9])?([eE][+-]?[0-9_]*[0-9])?)' + NUM_SUFFIX } ], @@ -21112,7 +48628,7 @@ EXPANSION.contains = CRYSTAL_DEFAULT_CONTAINS.slice(1); // without EXPANSION return { - aliases: ["cr"], + aliases: ['cr'], lexemes: CRYSTAL_IDENT_RE, keywords: CRYSTAL_KEYWORDS, contains: CRYSTAL_DEFAULT_CONTAINS @@ -21121,26 +48637,40 @@ /***/ }, - /* 380 */ + /* 383 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { keyword: // Normal keywords. - "abstract as base bool break byte case catch char checked const continue decimal " + - "default delegate do double enum event explicit extern finally fixed float " + - "for foreach goto if implicit in int interface internal is lock long nameof " + - "object operator out override params private protected public readonly ref sbyte " + - "sealed short sizeof stackalloc static string struct switch this try typeof " + - "uint ulong unchecked unsafe ushort using virtual void volatile while " + + 'abstract as base bool break byte case catch char checked const continue decimal ' + + 'default delegate do double enum event explicit extern finally fixed float ' + + 'for foreach goto if implicit in int interface internal is lock long nameof ' + + 'object operator out override params private protected public readonly ref sbyte ' + + 'sealed short sizeof stackalloc static string struct switch this try typeof ' + + 'uint ulong unchecked unsafe ushort using virtual void volatile while ' + // Contextual keywords. - "add alias ascending async await by descending dynamic equals from get global group into join " + - "let on orderby partial remove select set value var where yield", - literal: "null false true" + 'add alias ascending async await by descending dynamic equals from get global group into join ' + + 'let on orderby partial remove select set value var where yield', + literal: 'null false true' + }; + var NUMBERS = { + className: 'number', + variants: [ + { begin: "\\b(0b[01']+)" }, + { + begin: + "(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)" + }, + { + begin: + "(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)" + } + ], + relevance: 0 }; - var VERBATIM_STRING = { - className: "string", + className: 'string', begin: '@"', end: '"', contains: [{ begin: '""' }] @@ -21149,37 +48679,37 @@ illegal: /\n/ }); var SUBST = { - className: "subst", - begin: "{", - end: "}", + className: 'subst', + begin: '{', + end: '}', keywords: KEYWORDS }; var SUBST_NO_LF = hljs.inherit(SUBST, { illegal: /\n/ }); var INTERPOLATED_STRING = { - className: "string", + className: 'string', begin: /\$"/, end: '"', illegal: /\n/, contains: [ - { begin: "{{" }, - { begin: "}}" }, + { begin: '{{' }, + { begin: '}}' }, hljs.BACKSLASH_ESCAPE, SUBST_NO_LF ] }; var INTERPOLATED_VERBATIM_STRING = { - className: "string", + className: 'string', begin: /\$@"/, end: '"', - contains: [{ begin: "{{" }, { begin: "}}" }, { begin: '""' }, SUBST] + contains: [{ begin: '{{' }, { begin: '}}' }, { begin: '""' }, SUBST] }; var INTERPOLATED_VERBATIM_STRING_NO_LF = hljs.inherit( INTERPOLATED_VERBATIM_STRING, { illegal: /\n/, contains: [ - { begin: "{{" }, - { begin: "}}" }, + { begin: '{{' }, + { begin: '}}' }, { begin: '""' }, SUBST_NO_LF ] @@ -21191,7 +48721,7 @@ VERBATIM_STRING, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, - hljs.C_NUMBER_MODE, + NUMBERS, hljs.C_BLOCK_COMMENT_MODE ]; SUBST_NO_LF.contains = [ @@ -21200,7 +48730,7 @@ VERBATIM_STRING_NO_LF, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, - hljs.C_NUMBER_MODE, + NUMBERS, hljs.inherit(hljs.C_BLOCK_COMMENT_MODE, { illegal: /\n/ }) ]; var STRING = { @@ -21215,33 +48745,33 @@ var TYPE_IDENT_RE = hljs.IDENT_RE + - "(<" + + '(<' + hljs.IDENT_RE + - "(\\s*,\\s*" + + '(\\s*,\\s*' + hljs.IDENT_RE + - ")*>)?(\\[\\])?"; + ')*>)?(\\[\\])?'; return { - aliases: ["csharp"], + aliases: ['csharp'], keywords: KEYWORDS, illegal: /::/, contains: [ - hljs.COMMENT("///", "$", { + hljs.COMMENT('///', '$', { returnBegin: true, contains: [ { - className: "doctag", + className: 'doctag', variants: [ { - begin: "///", + begin: '///', relevance: 0 }, { - begin: "" + begin: '' }, { - begin: "?", - end: ">" + begin: '?', + end: '>' } ] } @@ -21250,20 +48780,20 @@ hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, { - className: "meta", - begin: "#", - end: "$", + className: 'meta', + begin: '#', + end: '$', keywords: { - "meta-keyword": - "if else elif endif define undef warning error line region endregion pragma checksum" + 'meta-keyword': + 'if else elif endif define undef warning error line region endregion pragma checksum' } }, STRING, - hljs.C_NUMBER_MODE, + NUMBERS, { - beginKeywords: "class interface", + beginKeywords: 'class interface', end: /[{;=]/, - illegal: /[^\s:]/, + illegal: /[^\s:,]/, contains: [ hljs.TITLE_MODE, hljs.C_LINE_COMMENT_MODE, @@ -21271,57 +48801,53 @@ ] }, { - beginKeywords: "namespace", + beginKeywords: 'namespace', end: /[{;=]/, illegal: /[^\s:]/, contains: [ - hljs.inherit(hljs.TITLE_MODE, { begin: "[a-zA-Z](\\.?\\w)*" }), + hljs.inherit(hljs.TITLE_MODE, { begin: '[a-zA-Z](\\.?\\w)*' }), hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE ] }, { // [Attributes("")] - className: "meta", - begin: "^\\s*\\[", + className: 'meta', + begin: '^\\s*\\[', excludeBegin: true, - end: "\\]", + end: '\\]', excludeEnd: true, - contains: [{ className: "meta-string", begin: /"/, end: /"/ }] + contains: [{ className: 'meta-string', begin: /"/, end: /"/ }] }, { // Expression keywords prevent 'keyword Name(...)' from being // recognized as a function definition - beginKeywords: "new return throw await else", + beginKeywords: 'new return throw await else', relevance: 0 }, { - className: "function", - begin: "(" + TYPE_IDENT_RE + "\\s+)+" + hljs.IDENT_RE + "\\s*\\(", + className: 'function', + begin: '(' + TYPE_IDENT_RE + '\\s+)+' + hljs.IDENT_RE + '\\s*\\(', returnBegin: true, - end: /[{;=]/, + end: /\s*[{;=]/, excludeEnd: true, keywords: KEYWORDS, contains: [ { - begin: hljs.IDENT_RE + "\\s*\\(", + begin: hljs.IDENT_RE + '\\s*\\(', returnBegin: true, contains: [hljs.TITLE_MODE], relevance: 0 }, { - className: "params", + className: 'params', begin: /\(/, end: /\)/, excludeBegin: true, excludeEnd: true, keywords: KEYWORDS, relevance: 0, - contains: [ - STRING, - hljs.C_NUMBER_MODE, - hljs.C_BLOCK_COMMENT_MODE - ] + contains: [STRING, NUMBERS, hljs.C_BLOCK_COMMENT_MODE] }, hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE @@ -21333,28 +48859,28 @@ /***/ }, - /* 381 */ + /* 384 */ /***/ function(module, exports) { module.exports = function(hljs) { return { case_insensitive: false, - lexemes: "[a-zA-Z][a-zA-Z0-9_-]*", + lexemes: '[a-zA-Z][a-zA-Z0-9_-]*', keywords: { keyword: - "base-uri child-src connect-src default-src font-src form-action" + - " frame-ancestors frame-src img-src media-src object-src plugin-types" + - " report-uri sandbox script-src style-src" + 'base-uri child-src connect-src default-src font-src form-action' + + ' frame-ancestors frame-src img-src media-src object-src plugin-types' + + ' report-uri sandbox script-src style-src' }, contains: [ { - className: "string", + className: 'string', begin: "'", end: "'" }, { - className: "attribute", - begin: "^Content", - end: ":", + className: 'attribute', + begin: '^Content', + end: ':', excludeEnd: true } ] @@ -21363,20 +48889,20 @@ /***/ }, - /* 382 */ + /* 385 */ /***/ function(module, exports) { module.exports = function(hljs) { - var IDENT_RE = "[a-zA-Z-][a-zA-Z0-9_-]*"; + var IDENT_RE = '[a-zA-Z-][a-zA-Z0-9_-]*'; var RULE = { begin: /[A-Z\_\.\-]+\s*:/, returnBegin: true, - end: ";", + end: ';', endsWithParent: true, contains: [ { - className: "attribute", + className: 'attribute', begin: /\S/, - end: ":", + end: ':', excludeEnd: true, starts: { endsWithParent: true, @@ -21387,7 +48913,7 @@ returnBegin: true, contains: [ { - className: "built_in", + className: 'built_in', begin: /[\w-]+/ }, { @@ -21405,12 +48931,12 @@ hljs.APOS_STRING_MODE, hljs.C_BLOCK_COMMENT_MODE, { - className: "number", - begin: "#[0-9A-Fa-f]+" + className: 'number', + begin: '#[0-9A-Fa-f]+' }, { - className: "meta", - begin: "!important" + className: 'meta', + begin: '!important' } ] } @@ -21424,38 +48950,38 @@ contains: [ hljs.C_BLOCK_COMMENT_MODE, { - className: "selector-id", + className: 'selector-id', begin: /#[A-Za-z0-9_-]+/ }, { - className: "selector-class", + className: 'selector-class', begin: /\.[A-Za-z0-9_-]+/ }, { - className: "selector-attr", + className: 'selector-attr', begin: /\[/, end: /\]/, - illegal: "$" + illegal: '$' }, { - className: "selector-pseudo", + className: 'selector-pseudo', begin: /:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/ }, { - begin: "@(font-face|page)", - lexemes: "[a-z-]+", - keywords: "font-face page" + begin: '@(font-face|page)', + lexemes: '[a-z-]+', + keywords: 'font-face page' }, { - begin: "@", - end: "[{;]", // at_rule eating first "{" is a good thing + begin: '@', + end: '[{;]', // at_rule eating first "{" is a good thing // because it doesn’t let it to be parsed as // a rule set but instead drops parser into // the default mode which is how it should be. illegal: /:/, // break on Less variables @var: ... contains: [ { - className: "keyword", + className: 'keyword', begin: /\w+/ }, { @@ -21472,13 +48998,13 @@ ] }, { - className: "selector-tag", + className: 'selector-tag', begin: IDENT_RE, relevance: 0 }, { - begin: "{", - end: "}", + begin: '{', + end: '}', illegal: /\S/, contains: [hljs.C_BLOCK_COMMENT_MODE, RULE] } @@ -21488,9 +49014,10 @@ /***/ }, - /* 383 */ + /* 386 */ /***/ function(module, exports) { - module.exports /** + module.exports + /** * Known issues: * * - invalid hex string literals will be recognized as a double quoted strings @@ -21512,19 +49039,19 @@ */ var D_KEYWORDS = { keyword: - "abstract alias align asm assert auto body break byte case cast catch class " + - "const continue debug default delete deprecated do else enum export extern final " + - "finally for foreach foreach_reverse|10 goto if immutable import in inout int " + - "interface invariant is lazy macro mixin module new nothrow out override package " + - "pragma private protected public pure ref return scope shared static struct " + - "super switch synchronized template this throw try typedef typeid typeof union " + - "unittest version void volatile while with __FILE__ __LINE__ __gshared|10 " + - "__thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__", + 'abstract alias align asm assert auto body break byte case cast catch class ' + + 'const continue debug default delete deprecated do else enum export extern final ' + + 'finally for foreach foreach_reverse|10 goto if immutable import in inout int ' + + 'interface invariant is lazy macro mixin module new nothrow out override package ' + + 'pragma private protected public pure ref return scope shared static struct ' + + 'super switch synchronized template this throw try typedef typeid typeof union ' + + 'unittest version void volatile while with __FILE__ __LINE__ __gshared|10 ' + + '__thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__', built_in: - "bool cdouble cent cfloat char creal dchar delegate double dstring float function " + - "idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar " + - "wstring", - literal: "false null true" + 'bool cdouble cent cfloat char creal dchar delegate double dstring float function ' + + 'idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar ' + + 'wstring', + literal: 'false null true' }; /** @@ -21532,48 +49059,48 @@ * * @type {String} */ - var decimal_integer_re = "(0|[1-9][\\d_]*)", - decimal_integer_nosus_re = "(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)", - binary_integer_re = "0[bB][01_]+", + var decimal_integer_re = '(0|[1-9][\\d_]*)', + decimal_integer_nosus_re = '(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)', + binary_integer_re = '0[bB][01_]+', hexadecimal_digits_re = - "([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)", - hexadecimal_integer_re = "0[xX]" + hexadecimal_digits_re, - decimal_exponent_re = "([eE][+-]?" + decimal_integer_nosus_re + ")", + '([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)', + hexadecimal_integer_re = '0[xX]' + hexadecimal_digits_re, + decimal_exponent_re = '([eE][+-]?' + decimal_integer_nosus_re + ')', decimal_float_re = - "(" + + '(' + decimal_integer_nosus_re + - "(\\.\\d*|" + + '(\\.\\d*|' + decimal_exponent_re + - ")|" + - "\\d+\\." + + ')|' + + '\\d+\\.' + decimal_integer_nosus_re + decimal_integer_nosus_re + - "|" + - "\\." + + '|' + + '\\.' + decimal_integer_re + decimal_exponent_re + - "?" + - ")", + '?' + + ')', hexadecimal_float_re = - "(0[xX](" + + '(0[xX](' + hexadecimal_digits_re + - "\\." + + '\\.' + hexadecimal_digits_re + - "|" + - "\\.?" + + '|' + + '\\.?' + hexadecimal_digits_re + - ")[pP][+-]?" + + ')[pP][+-]?' + decimal_integer_nosus_re + - ")", + ')', integer_re = - "(" + + '(' + decimal_integer_re + - "|" + + '|' + binary_integer_re + - "|" + + '|' + hexadecimal_integer_re + - ")", - float_re = "(" + hexadecimal_float_re + "|" + decimal_float_re + ")"; + ')', + float_re = '(' + hexadecimal_float_re + '|' + decimal_float_re + ')'; /** * Escape sequence supported in D string and character literals @@ -21581,14 +49108,14 @@ * @type {String} */ var escape_sequence_re = - "\\\\(" + - "['\"\\?\\\\abfnrtv]|" + // common escapes - "u[\\dA-Fa-f]{4}|" + // four hex digit unicode codepoint - "[0-7]{1,3}|" + // one to three octal digit ascii char code - "x[\\dA-Fa-f]{2}|" + // two hex digit ascii char code - "U[\\dA-Fa-f]{8}" + // eight hex digit unicode codepoint - ")|" + - "&[a-zA-Z\\d]{2,};"; // named character entity + '\\\\(' + + '[\'"\\?\\\\abfnrtv]|' + // common escapes + 'u[\\dA-Fa-f]{4}|' + // four hex digit unicode codepoint + '[0-7]{1,3}|' + // one to three octal digit ascii char code + 'x[\\dA-Fa-f]{2}|' + // two hex digit ascii char code + 'U[\\dA-Fa-f]{8}' + // eight hex digit unicode codepoint + ')|' + + '&[a-zA-Z\\d]{2,};'; // named character entity /** * D integer number literals @@ -21596,8 +49123,8 @@ * @type {Object} */ var D_INTEGER_MODE = { - className: "number", - begin: "\\b" + integer_re + "(L|u|U|Lu|LU|uL|UL)?", + className: 'number', + begin: '\\b' + integer_re + '(L|u|U|Lu|LU|uL|UL)?', relevance: 0 }; @@ -21606,14 +49133,14 @@ * @type {Object} */ var D_FLOAT_MODE = { - className: "number", + className: 'number', begin: - "\\b(" + + '\\b(' + float_re + - "([fF]|L|i|[fF]i|Li)?|" + + '([fF]|L|i|[fF]i|Li)?|' + integer_re + - "(i|[fF]i|Li)" + - ")", + '(i|[fF]i|Li)' + + ')', relevance: 0 }; @@ -21623,10 +49150,10 @@ * @type {Object} */ var D_CHARACTER_MODE = { - className: "string", - begin: "'(" + escape_sequence_re + "|.)", + className: 'string', + begin: "'(" + escape_sequence_re + '|.)', end: "'", - illegal: "." + illegal: '.' }; /** @@ -21645,7 +49172,7 @@ * @type {Object} */ var D_STRING_MODE = { - className: "string", + className: 'string', begin: '"', contains: [D_ESCAPE_SEQUENCE], end: '"[cwd]?' @@ -21657,7 +49184,7 @@ * @type {Object} */ var D_WYSIWYG_DELIMITED_STRING_MODE = { - className: "string", + className: 'string', begin: '[rq]"', end: '"[cwd]?', relevance: 5 @@ -21669,9 +49196,9 @@ * @type {Object} */ var D_ALTERNATE_WYSIWYG_STRING_MODE = { - className: "string", - begin: "`", - end: "`[cwd]?" + className: 'string', + begin: '`', + end: '`[cwd]?' }; /** @@ -21680,7 +49207,7 @@ * @type {Object} */ var D_HEX_STRING_MODE = { - className: "string", + className: 'string', begin: 'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?', relevance: 10 }; @@ -21691,7 +49218,7 @@ * @type {Object} */ var D_TOKEN_STRING_MODE = { - className: "string", + className: 'string', begin: 'q"\\{', end: '\\}"' }; @@ -21702,9 +49229,9 @@ * @type {Object} */ var D_HASHBANG_MODE = { - className: "meta", - begin: "^#!", - end: "$", + className: 'meta', + begin: '^#!', + end: '$', relevance: 5 }; @@ -21714,9 +49241,9 @@ * @type {Object} */ var D_SPECIAL_TOKEN_SEQUENCE_MODE = { - className: "meta", - begin: "#(line)", - end: "$", + className: 'meta', + begin: '#(line)', + end: '$', relevance: 5 }; @@ -21726,8 +49253,8 @@ * @type {Object} */ var D_ATTRIBUTE_MODE = { - className: "keyword", - begin: "@[a-zA-Z_][a-zA-Z_\\d]*" + className: 'keyword', + begin: '@[a-zA-Z_][a-zA-Z_\\d]*' }; /** @@ -21735,8 +49262,8 @@ * * @type {Object} */ - var D_NESTING_COMMENT_MODE = hljs.COMMENT("\\/\\+", "\\+\\/", { - contains: ["self"], + var D_NESTING_COMMENT_MODE = hljs.COMMENT('\\/\\+', '\\+\\/', { + contains: ['self'], relevance: 10 }); @@ -21764,101 +49291,101 @@ /***/ }, - /* 384 */ + /* 387 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["md", "mkdown", "mkd"], + aliases: ['md', 'mkdown', 'mkd'], contains: [ // highlight headers { - className: "section", + className: 'section', variants: [ - { begin: "^#{1,6}", end: "$" }, - { begin: "^.+?\\n[=-]{2,}$" } + { begin: '^#{1,6}', end: '$' }, + { begin: '^.+?\\n[=-]{2,}$' } ] }, // inline html { - begin: "<", - end: ">", - subLanguage: "xml", + begin: '<', + end: '>', + subLanguage: 'xml', relevance: 0 }, // lists (indicators only) { - className: "bullet", - begin: "^([*+-]|(\\d+\\.))\\s+" + className: 'bullet', + begin: '^([*+-]|(\\d+\\.))\\s+' }, // strong segments { - className: "strong", - begin: "[*_]{2}.+?[*_]{2}" + className: 'strong', + begin: '[*_]{2}.+?[*_]{2}' }, // emphasis segments { - className: "emphasis", + className: 'emphasis', variants: [ - { begin: "\\*.+?\\*" }, + { begin: '\\*.+?\\*' }, { - begin: "_.+?_", + begin: '_.+?_', relevance: 0 } ] }, // blockquotes { - className: "quote", - begin: "^>\\s+", - end: "$" + className: 'quote', + begin: '^>\\s+', + end: '$' }, // code snippets { - className: "code", + className: 'code', variants: [ { - begin: "^```w*s*$", - end: "^```s*$" + begin: '^```w*s*$', + end: '^```s*$' }, { - begin: "`.+?`" + begin: '`.+?`' }, { - begin: "^( {4}|\t)", - end: "$", + begin: '^( {4}|\t)', + end: '$', relevance: 0 } ] }, // horizontal rules { - begin: "^[-\\*]{3,}", - end: "$" + begin: '^[-\\*]{3,}', + end: '$' }, // using links - title and link { - begin: "\\[.+?\\][\\(\\[].*?[\\)\\]]", + begin: '\\[.+?\\][\\(\\[].*?[\\)\\]]', returnBegin: true, contains: [ { - className: "string", - begin: "\\[", - end: "\\]", + className: 'string', + begin: '\\[', + end: '\\]', excludeBegin: true, returnEnd: true, relevance: 0 }, { - className: "link", - begin: "\\]\\(", - end: "\\)", + className: 'link', + begin: '\\]\\(', + end: '\\)', excludeBegin: true, excludeEnd: true }, { - className: "symbol", - begin: "\\]\\[", - end: "\\]", + className: 'symbol', + begin: '\\]\\[', + end: '\\]', excludeBegin: true, excludeEnd: true } @@ -21870,14 +49397,14 @@ returnBegin: true, contains: [ { - className: "symbol", + className: 'symbol', begin: /\[/, end: /\]/, excludeBegin: true, excludeEnd: true }, { - className: "link", + className: 'link', begin: /:\s*/, end: /$/, excludeBegin: true @@ -21890,18 +49417,20 @@ /***/ }, - /* 385 */ + /* 388 */ /***/ function(module, exports) { module.exports = function(hljs) { var SUBST = { - className: "subst", - begin: "\\$\\{", - end: "}", - keywords: "true false null this is new super" + className: 'subst', + variants: [ + { begin: '\\${', end: '}' }, + { begin: '\\$[A-Za-z0-9_]+' } + ], + keywords: 'true false null this is new super' }; var STRING = { - className: "string", + className: 'string', variants: [ { begin: "r'''", @@ -21914,12 +49443,12 @@ { begin: "r'", end: "'", - illegal: "\\n" + illegal: '\\n' }, { begin: 'r"', end: '"', - illegal: "\\n" + illegal: '\\n' }, { begin: "'''", @@ -21934,13 +49463,13 @@ { begin: "'", end: "'", - illegal: "\\n", + illegal: '\\n', contains: [hljs.BACKSLASH_ESCAPE, SUBST] }, { begin: '"', end: '"', - illegal: "\\n", + illegal: '\\n', contains: [hljs.BACKSLASH_ESCAPE, SUBST] } ] @@ -21949,48 +49478,48 @@ var KEYWORDS = { keyword: - "assert async await break case catch class const continue default do else enum extends false final " + - "finally for if in is new null rethrow return super switch sync this throw true try var void while with yield " + - "abstract as dynamic export external factory get implements import library operator part set static typedef", + 'assert async await break case catch class const continue default do else enum extends false final ' + + 'finally for if in is new null rethrow return super switch sync this throw true try var void while with yield ' + + 'abstract as dynamic export external factory get implements import library operator part set static typedef', built_in: // dart:core - "print Comparable DateTime Duration Function Iterable Iterator List Map Match Null Object Pattern RegExp Set " + - "Stopwatch String StringBuffer StringSink Symbol Type Uri bool double int num " + + 'print Comparable DateTime Duration Function Iterable Iterator List Map Match Null Object Pattern RegExp Set ' + + 'Stopwatch String StringBuffer StringSink Symbol Type Uri bool double int num ' + // dart:html - "document window querySelector querySelectorAll Element ElementList" + 'document window querySelector querySelectorAll Element ElementList' }; return { keywords: KEYWORDS, contains: [ STRING, - hljs.COMMENT("/\\*\\*", "\\*/", { - subLanguage: "markdown" + hljs.COMMENT('/\\*\\*', '\\*/', { + subLanguage: 'markdown' }), - hljs.COMMENT("///", "$", { - subLanguage: "markdown" + hljs.COMMENT('///', '$', { + subLanguage: 'markdown' }), hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, { - className: "class", - beginKeywords: "class interface", - end: "{", + className: 'class', + beginKeywords: 'class interface', + end: '{', excludeEnd: true, contains: [ { - beginKeywords: "extends implements" + beginKeywords: 'extends implements' }, hljs.UNDERSCORE_TITLE_MODE ] }, hljs.C_NUMBER_MODE, { - className: "meta", - begin: "@[A-Za-z]+" + className: 'meta', + begin: '@[A-Za-z]+' }, { - begin: "=>" // No markup, just a relevance booster + begin: '=>' // No markup, just a relevance booster } ] }; @@ -21998,57 +49527,57 @@ /***/ }, - /* 386 */ + /* 389 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = - "exports register file shl array record property for mod while set ally label uses raise not " + - "stored class safecall var interface or private static exit index inherited to else stdcall " + - "override shr asm far resourcestring finalization packed virtual out and protected library do " + - "xorwrite goto near function end div overload object unit begin string on inline repeat until " + - "destructor write message program with read initialization except default nil if case cdecl in " + - "downto threadvar of try pascal const external constructor type public then implementation " + - "finally published procedure absolute reintroduce operator as is abstract alias assembler " + - "bitpacked break continue cppdecl cvar enumerator experimental platform deprecated " + - "unimplemented dynamic export far16 forward generic helper implements interrupt iochecks " + - "local name nodefault noreturn nostackframe oldfpccall otherwise saveregisters softfloat " + - "specialize strict unaligned varargs "; + 'exports register file shl array record property for mod while set ally label uses raise not ' + + 'stored class safecall var interface or private static exit index inherited to else stdcall ' + + 'override shr asm far resourcestring finalization packed virtual out and protected library do ' + + 'xorwrite goto near function end div overload object unit begin string on inline repeat until ' + + 'destructor write message program with read initialization except default nil if case cdecl in ' + + 'downto threadvar of try pascal const external constructor type public then implementation ' + + 'finally published procedure absolute reintroduce operator as is abstract alias assembler ' + + 'bitpacked break continue cppdecl cvar enumerator experimental platform deprecated ' + + 'unimplemented dynamic export far16 forward generic helper implements interrupt iochecks ' + + 'local name nodefault noreturn nostackframe oldfpccall otherwise saveregisters softfloat ' + + 'specialize strict unaligned varargs '; var COMMENT_MODES = [ hljs.C_LINE_COMMENT_MODE, hljs.COMMENT(/\{/, /\}/, { relevance: 0 }), hljs.COMMENT(/\(\*/, /\*\)/, { relevance: 10 }) ]; var DIRECTIVE = { - className: "meta", + className: 'meta', variants: [ { begin: /\{\$/, end: /\}/ }, { begin: /\(\*\$/, end: /\*\)/ } ] }; var STRING = { - className: "string", + className: 'string', begin: /'/, end: /'/, contains: [{ begin: /''/ }] }; var CHAR_STRING = { - className: "string", + className: 'string', begin: /(#\d+)+/ }; var CLASS = { - begin: hljs.IDENT_RE + "\\s*=\\s*class\\s*\\(", + begin: hljs.IDENT_RE + '\\s*=\\s*class\\s*\\(', returnBegin: true, contains: [hljs.TITLE_MODE] }; var FUNCTION = { - className: "function", - beginKeywords: "function constructor destructor procedure", + className: 'function', + beginKeywords: 'function constructor destructor procedure', end: /[:;]/, - keywords: "function constructor|10 destructor|10 procedure|10", + keywords: 'function constructor|10 destructor|10 procedure|10', contains: [ hljs.TITLE_MODE, { - className: "params", + className: 'params', begin: /\(/, end: /\)/, keywords: KEYWORDS, @@ -22059,14 +49588,14 @@ }; return { aliases: [ - "dpr", - "dfm", - "pas", - "pascal", - "freepascal", - "lazarus", - "lpr", - "lfm" + 'dpr', + 'dfm', + 'pas', + 'pascal', + 'freepascal', + 'lazarus', + 'lpr', + 'lfm' ], case_insensitive: true, keywords: KEYWORDS, @@ -22084,14 +49613,14 @@ /***/ }, - /* 387 */ + /* 390 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["patch"], + aliases: ['patch'], contains: [ { - className: "meta", + className: 'meta', relevance: 10, variants: [ { begin: /^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/ }, @@ -22100,7 +49629,7 @@ ] }, { - className: "comment", + className: 'comment', variants: [ { begin: /Index: /, end: /$/ }, { begin: /={3,}/, end: /$/ }, @@ -22111,19 +49640,19 @@ ] }, { - className: "addition", - begin: "^\\+", - end: "$" + className: 'addition', + begin: '^\\+', + end: '$' }, { - className: "deletion", - begin: "^\\-", - end: "$" + className: 'deletion', + begin: '^\\-', + end: '$' }, { - className: "addition", - begin: "^\\!", - end: "$" + className: 'addition', + begin: '^\\!', + end: '$' } ] }; @@ -22131,55 +49660,55 @@ /***/ }, - /* 388 */ + /* 391 */ /***/ function(module, exports) { module.exports = function(hljs) { var FILTER = { begin: /\|[A-Za-z]+:?/, keywords: { name: - "truncatewords removetags linebreaksbr yesno get_digit timesince random striptags " + - "filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands " + - "title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode " + - "timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort " + - "dictsortreversed default_if_none pluralize lower join center default " + - "truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first " + - "escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize " + - "localtime utc timezone" + 'truncatewords removetags linebreaksbr yesno get_digit timesince random striptags ' + + 'filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands ' + + 'title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode ' + + 'timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort ' + + 'dictsortreversed default_if_none pluralize lower join center default ' + + 'truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first ' + + 'escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize ' + + 'localtime utc timezone' }, contains: [hljs.QUOTE_STRING_MODE, hljs.APOS_STRING_MODE] }; return { - aliases: ["jinja"], + aliases: ['jinja'], case_insensitive: true, - subLanguage: "xml", + subLanguage: 'xml', contains: [ hljs.COMMENT(/\{%\s*comment\s*%}/, /\{%\s*endcomment\s*%}/), hljs.COMMENT(/\{#/, /#}/), { - className: "template-tag", + className: 'template-tag', begin: /\{%/, end: /%}/, contains: [ { - className: "name", + className: 'name', begin: /\w+/, keywords: { name: - "comment endcomment load templatetag ifchanged endifchanged if endif firstof for " + - "endfor ifnotequal endifnotequal widthratio extends include spaceless " + - "endspaceless regroup ifequal endifequal ssi now with cycle url filter " + - "endfilter debug block endblock else autoescape endautoescape csrf_token empty elif " + - "endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix " + - "plural get_current_language language get_available_languages " + - "get_current_language_bidi get_language_info get_language_info_list localize " + - "endlocalize localtime endlocaltime timezone endtimezone get_current_timezone " + - "verbatim" + 'comment endcomment load templatetag ifchanged endifchanged if endif firstof for ' + + 'endfor ifnotequal endifnotequal widthratio extends include spaceless ' + + 'endspaceless regroup ifequal endifequal ssi now with cycle url filter ' + + 'endfilter debug block endblock else autoescape endautoescape csrf_token empty elif ' + + 'endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix ' + + 'plural get_current_language language get_available_languages ' + + 'get_current_language_bidi get_language_info get_language_info_list localize ' + + 'endlocalize localtime endlocaltime timezone endtimezone get_current_timezone ' + + 'verbatim' }, starts: { endsWithParent: true, - keywords: "in by as", + keywords: 'in by as', contains: [FILTER], relevance: 0 } @@ -22187,7 +49716,7 @@ ] }, { - className: "template-variable", + className: 'template-variable', begin: /\{\{/, end: /}}/, contains: [FILTER] @@ -22198,33 +49727,33 @@ /***/ }, - /* 389 */ + /* 392 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["bind", "zone"], + aliases: ['bind', 'zone'], keywords: { keyword: - "IN A AAAA AFSDB APL CAA CDNSKEY CDS CERT CNAME DHCID DLV DNAME DNSKEY DS HIP IPSECKEY KEY KX " + - "LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM PTR RRSIG RP SIG SOA SRV SSHFP TA TKEY TLSA TSIG TXT" + 'IN A AAAA AFSDB APL CAA CDNSKEY CDS CERT CNAME DHCID DLV DNAME DNSKEY DS HIP IPSECKEY KEY KX ' + + 'LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM PTR RRSIG RP SIG SOA SRV SSHFP TA TKEY TLSA TSIG TXT' }, contains: [ - hljs.COMMENT(";", "$", { relevance: 0 }), + hljs.COMMENT(';', '$', { relevance: 0 }), { - className: "meta", + className: 'meta', begin: /^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/ }, // IPv6 { - className: "number", + className: 'number', begin: - "((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b" + '((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b' }, // IPv4 { - className: "number", + className: 'number', begin: - "((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b" + '((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b' }, hljs.inherit(hljs.NUMBER_MODE, { begin: /\b\d+[dhwm]?/ }) ] @@ -22233,13 +49762,13 @@ /***/ }, - /* 390 */ + /* 393 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["docker"], + aliases: ['docker'], case_insensitive: true, - keywords: "from maintainer expose env arg user onbuild stopsignal", + keywords: 'from maintainer expose env arg user onbuild stopsignal', contains: [ hljs.HASH_COMMENT_MODE, hljs.APOS_STRING_MODE, @@ -22247,68 +49776,68 @@ hljs.NUMBER_MODE, { beginKeywords: - "run cmd entrypoint volume add copy workdir label healthcheck shell", + 'run cmd entrypoint volume add copy workdir label healthcheck shell', starts: { end: /[^\\]\n/, - subLanguage: "bash" + subLanguage: 'bash' } } ], - illegal: "" + illegal: '' }; }; /***/ }, - /* 391 */ + /* 394 */ /***/ function(module, exports) { module.exports = function(hljs) { var COMMENT = hljs.COMMENT(/^\s*@?rem\b/, /$/, { relevance: 10 }); var LABEL = { - className: "symbol", - begin: "^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)", + className: 'symbol', + begin: '^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)', relevance: 0 }; return { - aliases: ["bat", "cmd"], + aliases: ['bat', 'cmd'], case_insensitive: true, illegal: /\/\*/, keywords: { keyword: - "if else goto for in do call exit not exist errorlevel defined " + - "equ neq lss leq gtr geq", + 'if else goto for in do call exit not exist errorlevel defined ' + + 'equ neq lss leq gtr geq', built_in: - "prn nul lpt3 lpt2 lpt1 con com4 com3 com2 com1 aux " + - "shift cd dir echo setlocal endlocal set pause copy " + - "append assoc at attrib break cacls cd chcp chdir chkdsk chkntfs cls cmd color " + - "comp compact convert date dir diskcomp diskcopy doskey erase fs " + - "find findstr format ftype graftabl help keyb label md mkdir mode more move path " + - "pause print popd pushd promt rd recover rem rename replace restore rmdir shift" + - "sort start subst time title tree type ver verify vol " + + 'prn nul lpt3 lpt2 lpt1 con com4 com3 com2 com1 aux ' + + 'shift cd dir echo setlocal endlocal set pause copy ' + + 'append assoc at attrib break cacls cd chcp chdir chkdsk chkntfs cls cmd color ' + + 'comp compact convert date dir diskcomp diskcopy doskey erase fs ' + + 'find findstr format ftype graftabl help keyb label md mkdir mode more move path ' + + 'pause print popd pushd promt rd recover rem rename replace restore rmdir shift' + + 'sort start subst time title tree type ver verify vol ' + // winutils - "ping net ipconfig taskkill xcopy ren del" + 'ping net ipconfig taskkill xcopy ren del' }, contains: [ { - className: "variable", + className: 'variable', begin: /%%[^ ]|%[^ ]+?%|![^ ]+?!/ }, { - className: "function", + className: 'function', begin: LABEL.begin, - end: "goto:eof", + end: 'goto:eof', contains: [ hljs.inherit(hljs.TITLE_MODE, { - begin: "([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*" + begin: '([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*' }), COMMENT ] }, { - className: "number", - begin: "\\b\\d+", + className: 'number', + begin: '\\b\\d+', relevance: 0 }, COMMENT @@ -22318,54 +49847,54 @@ /***/ }, - /* 392 */ + /* 395 */ /***/ function(module, exports) { module.exports = function(hljs) { var QUOTED_PROPERTY = { - className: "string", + className: 'string', begin: /"/, end: /"/ }; var APOS_PROPERTY = { - className: "string", + className: 'string', begin: /'/, end: /'/ }; var UNQUOTED_PROPERTY = { - className: "string", - begin: "[\\w-?]+:\\w+", - end: "\\W", + className: 'string', + begin: '[\\w-?]+:\\w+', + end: '\\W', relevance: 0 }; var VALUELESS_PROPERTY = { - className: "string", - begin: "\\w+-?\\w+", - end: "\\W", + className: 'string', + begin: '\\w+-?\\w+', + end: '\\W', relevance: 0 }; return { - keywords: "dsconfig", + keywords: 'dsconfig', contains: [ { - className: "keyword", - begin: "^dsconfig", - end: "\\s", + className: 'keyword', + begin: '^dsconfig', + end: '\\s', excludeEnd: true, relevance: 10 }, { - className: "built_in", - begin: "(list|create|get|set|delete)-(\\w+)", - end: "\\s", + className: 'built_in', + begin: '(list|create|get|set|delete)-(\\w+)', + end: '\\s', excludeEnd: true, - illegal: "!@#$%^&*()", + illegal: '!@#$%^&*()', relevance: 10 }, { - className: "built_in", - begin: "--(\\w+)", - end: "\\s", + className: 'built_in', + begin: '--(\\w+)', + end: '\\s', excludeEnd: true }, QUOTED_PROPERTY, @@ -22379,11 +49908,11 @@ /***/ }, - /* 393 */ + /* 396 */ /***/ function(module, exports) { module.exports = function(hljs) { var STRINGS = { - className: "string", + className: 'string', variants: [ hljs.inherit(hljs.QUOTE_STRING_MODE, { begin: '((u8?|U)|L)?"' }), { @@ -22394,26 +49923,26 @@ { begin: "'\\\\?.", end: "'", - illegal: "." + illegal: '.' } ] }; var NUMBERS = { - className: "number", + className: 'number', variants: [ - { begin: "\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)" }, + { begin: '\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)' }, { begin: hljs.C_NUMBER_RE } ], relevance: 0 }; var PREPROCESSOR = { - className: "meta", - begin: "#", - end: "$", + className: 'meta', + begin: '#', + end: '$', keywords: { - "meta-keyword": "if else elif endif define undef ifdef ifndef" + 'meta-keyword': 'if else elif endif define undef ifdef ifndef' }, contains: [ { @@ -22421,16 +49950,16 @@ relevance: 0 }, { - beginKeywords: "include", - end: "$", - keywords: { "meta-keyword": "include" }, + beginKeywords: 'include', + end: '$', + keywords: { 'meta-keyword': 'include' }, contains: [ - hljs.inherit(STRINGS, { className: "meta-string" }), + hljs.inherit(STRINGS, { className: 'meta-string' }), { - className: "meta-string", - begin: "<", - end: ">", - illegal: "\\n" + className: 'meta-string', + begin: '<', + end: '>', + illegal: '\\n' } ] }, @@ -22441,29 +49970,29 @@ }; var DTS_REFERENCE = { - className: "variable", - begin: "\\&[a-z\\d_]*\\b" + className: 'variable', + begin: '\\&[a-z\\d_]*\\b' }; var DTS_KEYWORD = { - className: "meta-keyword", - begin: "/[a-z][a-z\\d-]*/" + className: 'meta-keyword', + begin: '/[a-z][a-z\\d-]*/' }; var DTS_LABEL = { - className: "symbol", - begin: "^\\s*[a-zA-Z_][a-zA-Z\\d_]*:" + className: 'symbol', + begin: '^\\s*[a-zA-Z_][a-zA-Z\\d_]*:' }; var DTS_CELL_PROPERTY = { - className: "params", - begin: "<", - end: ">", + className: 'params', + begin: '<', + end: '>', contains: [NUMBERS, DTS_REFERENCE] }; var DTS_NODE = { - className: "class", + className: 'class', begin: /[a-zA-Z_][a-zA-Z\d_@]*\s{/, end: /[{;=]/, returnBegin: true, @@ -22471,9 +50000,9 @@ }; var DTS_ROOT_NODE = { - className: "class", - begin: "/\\s*{", - end: "};", + className: 'class', + begin: '/\\s*{', + end: '};', relevance: 10, contains: [ DTS_REFERENCE, @@ -22489,7 +50018,7 @@ }; return { - keywords: "", + keywords: '', contains: [ DTS_ROOT_NODE, DTS_REFERENCE, @@ -22503,8 +50032,8 @@ STRINGS, PREPROCESSOR, { - begin: hljs.IDENT_RE + "::", - keywords: "" + begin: hljs.IDENT_RE + '::', + keywords: '' } ] }; @@ -22512,24 +50041,24 @@ /***/ }, - /* 394 */ + /* 397 */ /***/ function(module, exports) { module.exports = function(hljs) { var EXPRESSION_KEYWORDS = - "if eq ne lt lte gt gte select default math sep"; + 'if eq ne lt lte gt gte select default math sep'; return { - aliases: ["dst"], + aliases: ['dst'], case_insensitive: true, - subLanguage: "xml", + subLanguage: 'xml', contains: [ { - className: "template-tag", + className: 'template-tag', begin: /\{[#\/]/, end: /\}/, illegal: /;/, contains: [ { - className: "name", + className: 'name', begin: /[a-zA-Z\.-]+/, starts: { endsWithParent: true, @@ -22540,7 +50069,7 @@ ] }, { - className: "template-variable", + className: 'template-variable', begin: /\{/, end: /\}/, illegal: /;/, @@ -22552,18 +50081,18 @@ /***/ }, - /* 395 */ + /* 398 */ /***/ function(module, exports) { module.exports = function(hljs) { var commentMode = hljs.COMMENT(/\(\*/, /\*\)/); var nonTerminalMode = { - className: "attribute", + className: 'attribute', begin: /^[ ]*[a-zA-Z][a-zA-Z-]*([\s-]+[a-zA-Z][a-zA-Z]*)*/ }; var specialSequenceMode = { - className: "meta", + className: 'meta', begin: /\?.*\?/ }; @@ -22587,25 +50116,25 @@ /***/ }, - /* 396 */ + /* 399 */ /***/ function(module, exports) { module.exports = function(hljs) { - var ELIXIR_IDENT_RE = "[a-zA-Z_][a-zA-Z0-9_]*(\\!|\\?)?"; + var ELIXIR_IDENT_RE = '[a-zA-Z_][a-zA-Z0-9_.]*(\\!|\\?)?'; var ELIXIR_METHOD_RE = - "[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"; + '[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?'; var ELIXIR_KEYWORDS = - "and false then defined module in return redo retry end for true self when " + - "next until do begin unless nil break not case cond alias while ensure or " + - "include use alias fn quote"; + 'and false then defined module in return redo retry end for true self when ' + + 'next until do begin unless nil break not case cond alias while ensure or ' + + 'include use alias fn quote require import with|0'; var SUBST = { - className: "subst", - begin: "#\\{", - end: "}", + className: 'subst', + begin: '#\\{', + end: '}', lexemes: ELIXIR_IDENT_RE, keywords: ELIXIR_KEYWORDS }; var STRING = { - className: "string", + className: 'string', contains: [hljs.BACKSLASH_ESCAPE, SUBST], variants: [ { @@ -22619,8 +50148,8 @@ ] }; var FUNCTION = { - className: "function", - beginKeywords: "def defp defmacro", + className: 'function', + beginKeywords: 'def defp defmacro', end: /\B\b/, // the mode is ended by the title contains: [ hljs.inherit(hljs.TITLE_MODE, { @@ -22630,8 +50159,8 @@ ] }; var CLASS = hljs.inherit(FUNCTION, { - className: "class", - beginKeywords: "defimpl defmodule defprotocol defrecord", + className: 'class', + beginKeywords: 'defimpl defmodule defprotocol defrecord', end: /\bdo\b|$|;/ }); var ELIXIR_DEFAULT_CONTAINS = [ @@ -22640,46 +50169,49 @@ CLASS, FUNCTION, { - className: "symbol", - begin: ":(?!\\s)", + begin: '::' + }, + { + className: 'symbol', + begin: ':(?![\\s:])', contains: [STRING, { begin: ELIXIR_METHOD_RE }], relevance: 0 }, { - className: "symbol", - begin: ELIXIR_IDENT_RE + ":", + className: 'symbol', + begin: ELIXIR_IDENT_RE + ':(?!:)', relevance: 0 }, { - className: "number", + className: 'number', begin: - "(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b", + '(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b', relevance: 0 }, { - className: "variable", - begin: "(\\$\\W)|((\\$|\\@\\@?)(\\w+))" + className: 'variable', + begin: '(\\$\\W)|((\\$|\\@\\@?)(\\w+))' }, { - begin: "->" + begin: '->' }, { // regexp container - begin: "(" + hljs.RE_STARTERS_RE + ")\\s*", + begin: '(' + hljs.RE_STARTERS_RE + ')\\s*', contains: [ hljs.HASH_COMMENT_MODE, { - className: "regexp", - illegal: "\\n", + className: 'regexp', + illegal: '\\n', contains: [hljs.BACKSLASH_ESCAPE, SUBST], variants: [ { - begin: "/", - end: "/[a-z]*" + begin: '/', + end: '/[a-z]*' }, { - begin: "%r\\[", - end: "\\][a-z]*" + begin: '%r\\[', + end: '\\][a-z]*' } ] } @@ -22698,93 +50230,100 @@ /***/ }, - /* 397 */ + /* 400 */ /***/ function(module, exports) { module.exports = function(hljs) { var COMMENT = { variants: [ - hljs.COMMENT("--", "$"), - hljs.COMMENT("{-", "-}", { - contains: ["self"] + hljs.COMMENT('--', '$'), + hljs.COMMENT('{-', '-}', { + contains: ['self'] }) ] }; var CONSTRUCTOR = { - className: "type", + className: 'type', begin: "\\b[A-Z][\\w']*", // TODO: other constructors (built-in, infix). relevance: 0 }; var LIST = { - begin: "\\(", - end: "\\)", + begin: '\\(', + end: '\\)', illegal: '"', contains: [ { - className: "type", - begin: "\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?" + className: 'type', + begin: '\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?' }, COMMENT ] }; var RECORD = { - begin: "{", - end: "}", + begin: '{', + end: '}', contains: LIST.contains }; + var CHARACTER = { + className: 'string', + begin: "'\\\\?.", + end: "'", + illegal: '.' + }; + return { keywords: - "let in if then else case of where module import exposing " + - "type alias as infix infixl infixr port effect command subscription", + 'let in if then else case of where module import exposing ' + + 'type alias as infix infixl infixr port effect command subscription', contains: [ // Top-level constructions. { - beginKeywords: "port effect module", - end: "exposing", + beginKeywords: 'port effect module', + end: 'exposing', keywords: - "port effect module where command subscription exposing", + 'port effect module where command subscription exposing', contains: [LIST, COMMENT], - illegal: "\\W\\.|;" + illegal: '\\W\\.|;' }, { - begin: "import", - end: "$", - keywords: "import as exposing", + begin: 'import', + end: '$', + keywords: 'import as exposing', contains: [LIST, COMMENT], - illegal: "\\W\\.|;" + illegal: '\\W\\.|;' }, { - begin: "type", - end: "$", - keywords: "type alias", + begin: 'type', + end: '$', + keywords: 'type alias', contains: [CONSTRUCTOR, LIST, RECORD, COMMENT] }, { - beginKeywords: "infix infixl infixr", - end: "$", + beginKeywords: 'infix infixl infixr', + end: '$', contains: [hljs.C_NUMBER_MODE, COMMENT] }, { - begin: "port", - end: "$", - keywords: "port", + begin: 'port', + end: '$', + keywords: 'port', contains: [COMMENT] }, // Literals and names. - // TODO: characters. + CHARACTER, hljs.QUOTE_STRING_MODE, hljs.C_NUMBER_MODE, CONSTRUCTOR, hljs.inherit(hljs.TITLE_MODE, { begin: "^[_a-z][\\w']*" }), COMMENT, - { begin: "->|<-" } // No markup, relevance booster + { begin: '->|<-' } // No markup, relevance booster ], illegal: /;/ }; @@ -22792,57 +50331,57 @@ /***/ }, - /* 398 */ + /* 401 */ /***/ function(module, exports) { module.exports = function(hljs) { var RUBY_METHOD_RE = - "[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"; + '[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?'; var RUBY_KEYWORDS = { keyword: - "and then defined module in return redo if BEGIN retry end for self when " + - "next until do begin unless END rescue else break undef not super class case " + - "require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor", - literal: "true false nil" + 'and then defined module in return redo if BEGIN retry end for self when ' + + 'next until do begin unless END rescue else break undef not super class case ' + + 'require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor', + literal: 'true false nil' }; var YARDOCTAG = { - className: "doctag", - begin: "@[A-Za-z]+" + className: 'doctag', + begin: '@[A-Za-z]+' }; var IRB_OBJECT = { - begin: "#<", - end: ">" + begin: '#<', + end: '>' }; var COMMENT_MODES = [ - hljs.COMMENT("#", "$", { + hljs.COMMENT('#', '$', { contains: [YARDOCTAG] }), - hljs.COMMENT("^\\=begin", "^\\=end", { + hljs.COMMENT('^\\=begin', '^\\=end', { contains: [YARDOCTAG], relevance: 10 }), - hljs.COMMENT("^__END__", "\\n$") + hljs.COMMENT('^__END__', '\\n$') ]; var SUBST = { - className: "subst", - begin: "#\\{", - end: "}", + className: 'subst', + begin: '#\\{', + end: '}', keywords: RUBY_KEYWORDS }; var STRING = { - className: "string", + className: 'string', contains: [hljs.BACKSLASH_ESCAPE, SUBST], variants: [ { begin: /'/, end: /'/ }, { begin: /"/, end: /"/ }, { begin: /`/, end: /`/ }, - { begin: "%[qQwWx]?\\(", end: "\\)" }, - { begin: "%[qQwWx]?\\[", end: "\\]" }, - { begin: "%[qQwWx]?{", end: "}" }, - { begin: "%[qQwWx]?<", end: ">" }, - { begin: "%[qQwWx]?/", end: "/" }, - { begin: "%[qQwWx]?%", end: "%" }, - { begin: "%[qQwWx]?-", end: "-" }, - { begin: "%[qQwWx]?\\|", end: "\\|" }, + { begin: '%[qQwWx]?\\(', end: '\\)' }, + { begin: '%[qQwWx]?\\[', end: '\\]' }, + { begin: '%[qQwWx]?{', end: '}' }, + { begin: '%[qQwWx]?<', end: '>' }, + { begin: '%[qQwWx]?/', end: '/' }, + { begin: '%[qQwWx]?%', end: '%' }, + { begin: '%[qQwWx]?-', end: '-' }, + { begin: '%[qQwWx]?\\|', end: '\\|' }, { // \B in the beginning suppresses recognition of ?-sequences where ? // is the last character of a preceding identifier, as in: `func?4` @@ -22855,9 +50394,9 @@ ] }; var PARAMS = { - className: "params", - begin: "\\(", - end: "\\)", + className: 'params', + begin: '\\(', + end: '\\)', endsParent: true, keywords: RUBY_KEYWORDS }; @@ -22866,28 +50405,28 @@ STRING, IRB_OBJECT, { - className: "class", - beginKeywords: "class module", - end: "$|;", + className: 'class', + beginKeywords: 'class module', + end: '$|;', illegal: /=/, contains: [ hljs.inherit(hljs.TITLE_MODE, { - begin: "[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?" + begin: '[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?' }), { - begin: "<\\s*", + begin: '<\\s*', contains: [ { - begin: "(" + hljs.IDENT_RE + "::)?" + hljs.IDENT_RE + begin: '(' + hljs.IDENT_RE + '::)?' + hljs.IDENT_RE } ] } ].concat(COMMENT_MODES) }, { - className: "function", - beginKeywords: "def", - end: "$|;", + className: 'function', + beginKeywords: 'def', + end: '$|;', contains: [ hljs.inherit(hljs.TITLE_MODE, { begin: RUBY_METHOD_RE }), PARAMS @@ -22895,50 +50434,50 @@ }, { // swallow namespace qualifiers before symbols - begin: hljs.IDENT_RE + "::" + begin: hljs.IDENT_RE + '::' }, { - className: "symbol", - begin: hljs.UNDERSCORE_IDENT_RE + "(\\!|\\?)?:", + className: 'symbol', + begin: hljs.UNDERSCORE_IDENT_RE + '(\\!|\\?)?:', relevance: 0 }, { - className: "symbol", - begin: ":(?!\\s)", + className: 'symbol', + begin: ':(?!\\s)', contains: [STRING, { begin: RUBY_METHOD_RE }], relevance: 0 }, { - className: "number", + className: 'number', begin: - "(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b", + '(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b', relevance: 0 }, { - begin: "(\\$\\W)|((\\$|\\@\\@?)(\\w+))" // variables + begin: '(\\$\\W)|((\\$|\\@\\@?)(\\w+))' // variables }, { - className: "params", + className: 'params', begin: /\|/, end: /\|/, keywords: RUBY_KEYWORDS }, { // regexp container - begin: "(" + hljs.RE_STARTERS_RE + "|unless)\\s*", - keywords: "unless", + begin: '(' + hljs.RE_STARTERS_RE + '|unless)\\s*', + keywords: 'unless', contains: [ IRB_OBJECT, { - className: "regexp", + className: 'regexp', contains: [hljs.BACKSLASH_ESCAPE, SUBST], illegal: /\n/, variants: [ - { begin: "/", end: "/[a-z]*" }, - { begin: "%r{", end: "}[a-z]*" }, - { begin: "%r\\(", end: "\\)[a-z]*" }, - { begin: "%r!", end: "![a-z]*" }, - { begin: "%r\\[", end: "\\][a-z]*" } + { begin: '/', end: '/[a-z]*' }, + { begin: '%r{', end: '}[a-z]*' }, + { begin: '%r\\(', end: '\\)[a-z]*' }, + { begin: '%r!', end: '![a-z]*' }, + { begin: '%r\\[', end: '\\][a-z]*' } ] } ].concat(COMMENT_MODES), @@ -22949,37 +50488,37 @@ SUBST.contains = RUBY_DEFAULT_CONTAINS; PARAMS.contains = RUBY_DEFAULT_CONTAINS; - var SIMPLE_PROMPT = "[>?]>"; - var DEFAULT_PROMPT = "[\\w#]+\\(\\w+\\):\\d+:\\d+>"; - var RVM_PROMPT = "(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>"; + var SIMPLE_PROMPT = '[>?]>'; + var DEFAULT_PROMPT = '[\\w#]+\\(\\w+\\):\\d+:\\d+>'; + var RVM_PROMPT = '(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>'; var IRB_DEFAULT = [ { begin: /^\s*=>/, starts: { - end: "$", + end: '$', contains: RUBY_DEFAULT_CONTAINS } }, { - className: "meta", + className: 'meta', begin: - "^(" + + '^(' + SIMPLE_PROMPT + - "|" + + '|' + DEFAULT_PROMPT + - "|" + + '|' + RVM_PROMPT + - ")", + ')', starts: { - end: "$", + end: '$', contains: RUBY_DEFAULT_CONTAINS } } ]; return { - aliases: ["rb", "gemspec", "podspec", "thor", "irb"], + aliases: ['rb', 'gemspec', 'podspec', 'thor', 'irb'], keywords: RUBY_KEYWORDS, illegal: /\/\*/, contains: COMMENT_MODES.concat(IRB_DEFAULT).concat( @@ -22990,17 +50529,17 @@ /***/ }, - /* 399 */ + /* 402 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - subLanguage: "xml", + subLanguage: 'xml', contains: [ - hljs.COMMENT("<%#", "%>"), + hljs.COMMENT('<%#', '%>'), { - begin: "<%[%=-]?", - end: "[%-]?%>", - subLanguage: "ruby", + begin: '<%[%=-]?', + end: '[%-]?%>', + subLanguage: 'ruby', excludeBegin: true, excludeEnd: true } @@ -23010,41 +50549,41 @@ /***/ }, - /* 400 */ + /* 403 */ /***/ function(module, exports) { module.exports = function(hljs) { return { keywords: { - built_in: "spawn spawn_link self", + built_in: 'spawn spawn_link self', keyword: - "after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if " + - "let not of or orelse|10 query receive rem try when xor" + 'after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if ' + + 'let not of or orelse|10 query receive rem try when xor' }, contains: [ { - className: "meta", - begin: "^[0-9]+> ", + className: 'meta', + begin: '^[0-9]+> ', relevance: 10 }, - hljs.COMMENT("%", "$"), + hljs.COMMENT('%', '$'), { - className: "number", - begin: "\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)", + className: 'number', + begin: '\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)', relevance: 0 }, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, { - begin: "\\?(::)?([A-Z]\\w*(::)?)+" + begin: '\\?(::)?([A-Z]\\w*(::)?)+' }, { - begin: "->" + begin: '->' }, { - begin: "ok" + begin: 'ok' }, { - begin: "!" + begin: '!' }, { begin: @@ -23061,31 +50600,31 @@ /***/ }, - /* 401 */ + /* 404 */ /***/ function(module, exports) { module.exports = function(hljs) { var BASIC_ATOM_RE = "[a-z'][a-zA-Z0-9_']*"; var FUNCTION_NAME_RE = - "(" + BASIC_ATOM_RE + ":" + BASIC_ATOM_RE + "|" + BASIC_ATOM_RE + ")"; + '(' + BASIC_ATOM_RE + ':' + BASIC_ATOM_RE + '|' + BASIC_ATOM_RE + ')'; var ERLANG_RESERVED = { keyword: - "after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if " + - "let not of orelse|10 query receive rem try when xor", - literal: "false true" + 'after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if ' + + 'let not of orelse|10 query receive rem try when xor', + literal: 'false true' }; - var COMMENT = hljs.COMMENT("%", "$"); + var COMMENT = hljs.COMMENT('%', '$'); var NUMBER = { - className: "number", - begin: "\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)", + className: 'number', + begin: '\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)', relevance: 0 }; var NAMED_FUN = { - begin: "fun\\s+" + BASIC_ATOM_RE + "/\\d+" + begin: 'fun\\s+' + BASIC_ATOM_RE + '/\\d+' }; var FUNCTION_CALL = { - begin: FUNCTION_NAME_RE + "\\(", - end: "\\)", + begin: FUNCTION_NAME_RE + '\\(', + end: '\\)', returnBegin: true, relevance: 0, contains: [ @@ -23094,8 +50633,8 @@ relevance: 0 }, { - begin: "\\(", - end: "\\)", + begin: '\\(', + end: '\\)', endsWithParent: true, returnEnd: true, relevance: 0 @@ -23104,31 +50643,31 @@ ] }; var TUPLE = { - begin: "{", - end: "}", + begin: '{', + end: '}', relevance: 0 // "contains" defined later }; var VAR1 = { - begin: "\\b_([A-Z][A-Za-z0-9_]*)?", + begin: '\\b_([A-Z][A-Za-z0-9_]*)?', relevance: 0 }; var VAR2 = { - begin: "[A-Z][a-zA-Z0-9_]*", + begin: '[A-Z][a-zA-Z0-9_]*', relevance: 0 }; var RECORD_ACCESS = { - begin: "#" + hljs.UNDERSCORE_IDENT_RE, + begin: '#' + hljs.UNDERSCORE_IDENT_RE, relevance: 0, returnBegin: true, contains: [ { - begin: "#" + hljs.UNDERSCORE_IDENT_RE, + begin: '#' + hljs.UNDERSCORE_IDENT_RE, relevance: 0 }, { - begin: "{", - end: "}", + begin: '{', + end: '}', relevance: 0 // "contains" defined later } @@ -23136,14 +50675,14 @@ }; var BLOCK_STATEMENTS = { - beginKeywords: "fun receive if try case", - end: "end", + beginKeywords: 'fun receive if try case', + end: 'end', keywords: ERLANG_RESERVED }; BLOCK_STATEMENTS.contains = [ COMMENT, NAMED_FUN, - hljs.inherit(hljs.APOS_STRING_MODE, { className: "" }), + hljs.inherit(hljs.APOS_STRING_MODE, { className: '' }), BLOCK_STATEMENTS, FUNCTION_CALL, hljs.QUOTE_STRING_MODE, @@ -23171,44 +50710,44 @@ RECORD_ACCESS.contains[1].contains = BASIC_MODES; var PARAMS = { - className: "params", - begin: "\\(", - end: "\\)", + className: 'params', + begin: '\\(', + end: '\\)', contains: BASIC_MODES }; return { - aliases: ["erl"], + aliases: ['erl'], keywords: ERLANG_RESERVED, - illegal: "(|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))", + illegal: '(|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))', contains: [ { - className: "function", - begin: "^" + BASIC_ATOM_RE + "\\s*\\(", - end: "->", + className: 'function', + begin: '^' + BASIC_ATOM_RE + '\\s*\\(', + end: '->', returnBegin: true, - illegal: "\\(|#|//|/\\*|\\\\|:|;", + illegal: '\\(|#|//|/\\*|\\\\|:|;', contains: [ PARAMS, hljs.inherit(hljs.TITLE_MODE, { begin: BASIC_ATOM_RE }) ], starts: { - end: ";|\\.", + end: ';|\\.', keywords: ERLANG_RESERVED, contains: BASIC_MODES } }, COMMENT, { - begin: "^-", - end: "\\.", + begin: '^-', + end: '\\.', relevance: 0, excludeEnd: true, returnBegin: true, - lexemes: "-" + hljs.IDENT_RE, + lexemes: '-' + hljs.IDENT_RE, keywords: - "-module -record -undef -export -ifdef -ifndef -author -copyright -doc -vsn " + - "-import -include -include_lib -compile -define -else -endif -file -behaviour " + - "-behavior -spec", + '-module -record -undef -export -ifdef -ifndef -author -copyright -doc -vsn ' + + '-import -include -include_lib -compile -define -else -endif -file -behaviour ' + + '-behavior -spec', contains: [PARAMS] }, NUMBER, @@ -23224,17 +50763,17 @@ /***/ }, - /* 402 */ + /* 405 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["xlsx", "xls"], + aliases: ['xlsx', 'xls'], case_insensitive: true, lexemes: /[a-zA-Z][\w\.]*/, // built-in functions imported from https://web.archive.org/web/20160513042710/https://support.office.com/en-us/article/Excel-functions-alphabetical-b3944572-255d-4efb-bb96-c6d90033e188 keywords: { built_in: - "ABS ACCRINT ACCRINTM ACOS ACOSH ACOT ACOTH AGGREGATE ADDRESS AMORDEGRC AMORLINC AND ARABIC AREAS ASC ASIN ASINH ATAN ATAN2 ATANH AVEDEV AVERAGE AVERAGEA AVERAGEIF AVERAGEIFS BAHTTEXT BASE BESSELI BESSELJ BESSELK BESSELY BETADIST BETA.DIST BETAINV BETA.INV BIN2DEC BIN2HEX BIN2OCT BINOMDIST BINOM.DIST BINOM.DIST.RANGE BINOM.INV BITAND BITLSHIFT BITOR BITRSHIFT BITXOR CALL CEILING CEILING.MATH CEILING.PRECISE CELL CHAR CHIDIST CHIINV CHITEST CHISQ.DIST CHISQ.DIST.RT CHISQ.INV CHISQ.INV.RT CHISQ.TEST CHOOSE CLEAN CODE COLUMN COLUMNS COMBIN COMBINA COMPLEX CONCAT CONCATENATE CONFIDENCE CONFIDENCE.NORM CONFIDENCE.T CONVERT CORREL COS COSH COT COTH COUNT COUNTA COUNTBLANK COUNTIF COUNTIFS COUPDAYBS COUPDAYS COUPDAYSNC COUPNCD COUPNUM COUPPCD COVAR COVARIANCE.P COVARIANCE.S CRITBINOM CSC CSCH CUBEKPIMEMBER CUBEMEMBER CUBEMEMBERPROPERTY CUBERANKEDMEMBER CUBESET CUBESETCOUNT CUBEVALUE CUMIPMT CUMPRINC DATE DATEDIF DATEVALUE DAVERAGE DAY DAYS DAYS360 DB DBCS DCOUNT DCOUNTA DDB DEC2BIN DEC2HEX DEC2OCT DECIMAL DEGREES DELTA DEVSQ DGET DISC DMAX DMIN DOLLAR DOLLARDE DOLLARFR DPRODUCT DSTDEV DSTDEVP DSUM DURATION DVAR DVARP EDATE EFFECT ENCODEURL EOMONTH ERF ERF.PRECISE ERFC ERFC.PRECISE ERROR.TYPE EUROCONVERT EVEN EXACT EXP EXPON.DIST EXPONDIST FACT FACTDOUBLE FALSE|0 F.DIST FDIST F.DIST.RT FILTERXML FIND FINDB F.INV F.INV.RT FINV FISHER FISHERINV FIXED FLOOR FLOOR.MATH FLOOR.PRECISE FORECAST FORECAST.ETS FORECAST.ETS.CONFINT FORECAST.ETS.SEASONALITY FORECAST.ETS.STAT FORECAST.LINEAR FORMULATEXT FREQUENCY F.TEST FTEST FV FVSCHEDULE GAMMA GAMMA.DIST GAMMADIST GAMMA.INV GAMMAINV GAMMALN GAMMALN.PRECISE GAUSS GCD GEOMEAN GESTEP GETPIVOTDATA GROWTH HARMEAN HEX2BIN HEX2DEC HEX2OCT HLOOKUP HOUR HYPERLINK HYPGEOM.DIST HYPGEOMDIST IF|0 IFERROR IFNA IFS IMABS IMAGINARY IMARGUMENT IMCONJUGATE IMCOS IMCOSH IMCOT IMCSC IMCSCH IMDIV IMEXP IMLN IMLOG10 IMLOG2 IMPOWER IMPRODUCT IMREAL IMSEC IMSECH IMSIN IMSINH IMSQRT IMSUB IMSUM IMTAN INDEX INDIRECT INFO INT INTERCEPT INTRATE IPMT IRR ISBLANK ISERR ISERROR ISEVEN ISFORMULA ISLOGICAL ISNA ISNONTEXT ISNUMBER ISODD ISREF ISTEXT ISO.CEILING ISOWEEKNUM ISPMT JIS KURT LARGE LCM LEFT LEFTB LEN LENB LINEST LN LOG LOG10 LOGEST LOGINV LOGNORM.DIST LOGNORMDIST LOGNORM.INV LOOKUP LOWER MATCH MAX MAXA MAXIFS MDETERM MDURATION MEDIAN MID MIDBs MIN MINIFS MINA MINUTE MINVERSE MIRR MMULT MOD MODE MODE.MULT MODE.SNGL MONTH MROUND MULTINOMIAL MUNIT N NA NEGBINOM.DIST NEGBINOMDIST NETWORKDAYS NETWORKDAYS.INTL NOMINAL NORM.DIST NORMDIST NORMINV NORM.INV NORM.S.DIST NORMSDIST NORM.S.INV NORMSINV NOT NOW NPER NPV NUMBERVALUE OCT2BIN OCT2DEC OCT2HEX ODD ODDFPRICE ODDFYIELD ODDLPRICE ODDLYIELD OFFSET OR PDURATION PEARSON PERCENTILE.EXC PERCENTILE.INC PERCENTILE PERCENTRANK.EXC PERCENTRANK.INC PERCENTRANK PERMUT PERMUTATIONA PHI PHONETIC PI PMT POISSON.DIST POISSON POWER PPMT PRICE PRICEDISC PRICEMAT PROB PRODUCT PROPER PV QUARTILE QUARTILE.EXC QUARTILE.INC QUOTIENT RADIANS RAND RANDBETWEEN RANK.AVG RANK.EQ RANK RATE RECEIVED REGISTER.ID REPLACE REPLACEB REPT RIGHT RIGHTB ROMAN ROUND ROUNDDOWN ROUNDUP ROW ROWS RRI RSQ RTD SEARCH SEARCHB SEC SECH SECOND SERIESSUM SHEET SHEETS SIGN SIN SINH SKEW SKEW.P SLN SLOPE SMALL SQL.REQUEST SQRT SQRTPI STANDARDIZE STDEV STDEV.P STDEV.S STDEVA STDEVP STDEVPA STEYX SUBSTITUTE SUBTOTAL SUM SUMIF SUMIFS SUMPRODUCT SUMSQ SUMX2MY2 SUMX2PY2 SUMXMY2 SWITCH SYD T TAN TANH TBILLEQ TBILLPRICE TBILLYIELD T.DIST T.DIST.2T T.DIST.RT TDIST TEXT TEXTJOIN TIME TIMEVALUE T.INV T.INV.2T TINV TODAY TRANSPOSE TREND TRIM TRIMMEAN TRUE|0 TRUNC T.TEST TTEST TYPE UNICHAR UNICODE UPPER VALUE VAR VAR.P VAR.S VARA VARP VARPA VDB VLOOKUP WEBSERVICE WEEKDAY WEEKNUM WEIBULL WEIBULL.DIST WORKDAY WORKDAY.INTL XIRR XNPV XOR YEAR YEARFRAC YIELD YIELDDISC YIELDMAT Z.TEST ZTEST" + 'ABS ACCRINT ACCRINTM ACOS ACOSH ACOT ACOTH AGGREGATE ADDRESS AMORDEGRC AMORLINC AND ARABIC AREAS ASC ASIN ASINH ATAN ATAN2 ATANH AVEDEV AVERAGE AVERAGEA AVERAGEIF AVERAGEIFS BAHTTEXT BASE BESSELI BESSELJ BESSELK BESSELY BETADIST BETA.DIST BETAINV BETA.INV BIN2DEC BIN2HEX BIN2OCT BINOMDIST BINOM.DIST BINOM.DIST.RANGE BINOM.INV BITAND BITLSHIFT BITOR BITRSHIFT BITXOR CALL CEILING CEILING.MATH CEILING.PRECISE CELL CHAR CHIDIST CHIINV CHITEST CHISQ.DIST CHISQ.DIST.RT CHISQ.INV CHISQ.INV.RT CHISQ.TEST CHOOSE CLEAN CODE COLUMN COLUMNS COMBIN COMBINA COMPLEX CONCAT CONCATENATE CONFIDENCE CONFIDENCE.NORM CONFIDENCE.T CONVERT CORREL COS COSH COT COTH COUNT COUNTA COUNTBLANK COUNTIF COUNTIFS COUPDAYBS COUPDAYS COUPDAYSNC COUPNCD COUPNUM COUPPCD COVAR COVARIANCE.P COVARIANCE.S CRITBINOM CSC CSCH CUBEKPIMEMBER CUBEMEMBER CUBEMEMBERPROPERTY CUBERANKEDMEMBER CUBESET CUBESETCOUNT CUBEVALUE CUMIPMT CUMPRINC DATE DATEDIF DATEVALUE DAVERAGE DAY DAYS DAYS360 DB DBCS DCOUNT DCOUNTA DDB DEC2BIN DEC2HEX DEC2OCT DECIMAL DEGREES DELTA DEVSQ DGET DISC DMAX DMIN DOLLAR DOLLARDE DOLLARFR DPRODUCT DSTDEV DSTDEVP DSUM DURATION DVAR DVARP EDATE EFFECT ENCODEURL EOMONTH ERF ERF.PRECISE ERFC ERFC.PRECISE ERROR.TYPE EUROCONVERT EVEN EXACT EXP EXPON.DIST EXPONDIST FACT FACTDOUBLE FALSE|0 F.DIST FDIST F.DIST.RT FILTERXML FIND FINDB F.INV F.INV.RT FINV FISHER FISHERINV FIXED FLOOR FLOOR.MATH FLOOR.PRECISE FORECAST FORECAST.ETS FORECAST.ETS.CONFINT FORECAST.ETS.SEASONALITY FORECAST.ETS.STAT FORECAST.LINEAR FORMULATEXT FREQUENCY F.TEST FTEST FV FVSCHEDULE GAMMA GAMMA.DIST GAMMADIST GAMMA.INV GAMMAINV GAMMALN GAMMALN.PRECISE GAUSS GCD GEOMEAN GESTEP GETPIVOTDATA GROWTH HARMEAN HEX2BIN HEX2DEC HEX2OCT HLOOKUP HOUR HYPERLINK HYPGEOM.DIST HYPGEOMDIST IF|0 IFERROR IFNA IFS IMABS IMAGINARY IMARGUMENT IMCONJUGATE IMCOS IMCOSH IMCOT IMCSC IMCSCH IMDIV IMEXP IMLN IMLOG10 IMLOG2 IMPOWER IMPRODUCT IMREAL IMSEC IMSECH IMSIN IMSINH IMSQRT IMSUB IMSUM IMTAN INDEX INDIRECT INFO INT INTERCEPT INTRATE IPMT IRR ISBLANK ISERR ISERROR ISEVEN ISFORMULA ISLOGICAL ISNA ISNONTEXT ISNUMBER ISODD ISREF ISTEXT ISO.CEILING ISOWEEKNUM ISPMT JIS KURT LARGE LCM LEFT LEFTB LEN LENB LINEST LN LOG LOG10 LOGEST LOGINV LOGNORM.DIST LOGNORMDIST LOGNORM.INV LOOKUP LOWER MATCH MAX MAXA MAXIFS MDETERM MDURATION MEDIAN MID MIDBs MIN MINIFS MINA MINUTE MINVERSE MIRR MMULT MOD MODE MODE.MULT MODE.SNGL MONTH MROUND MULTINOMIAL MUNIT N NA NEGBINOM.DIST NEGBINOMDIST NETWORKDAYS NETWORKDAYS.INTL NOMINAL NORM.DIST NORMDIST NORMINV NORM.INV NORM.S.DIST NORMSDIST NORM.S.INV NORMSINV NOT NOW NPER NPV NUMBERVALUE OCT2BIN OCT2DEC OCT2HEX ODD ODDFPRICE ODDFYIELD ODDLPRICE ODDLYIELD OFFSET OR PDURATION PEARSON PERCENTILE.EXC PERCENTILE.INC PERCENTILE PERCENTRANK.EXC PERCENTRANK.INC PERCENTRANK PERMUT PERMUTATIONA PHI PHONETIC PI PMT POISSON.DIST POISSON POWER PPMT PRICE PRICEDISC PRICEMAT PROB PRODUCT PROPER PV QUARTILE QUARTILE.EXC QUARTILE.INC QUOTIENT RADIANS RAND RANDBETWEEN RANK.AVG RANK.EQ RANK RATE RECEIVED REGISTER.ID REPLACE REPLACEB REPT RIGHT RIGHTB ROMAN ROUND ROUNDDOWN ROUNDUP ROW ROWS RRI RSQ RTD SEARCH SEARCHB SEC SECH SECOND SERIESSUM SHEET SHEETS SIGN SIN SINH SKEW SKEW.P SLN SLOPE SMALL SQL.REQUEST SQRT SQRTPI STANDARDIZE STDEV STDEV.P STDEV.S STDEVA STDEVP STDEVPA STEYX SUBSTITUTE SUBTOTAL SUM SUMIF SUMIFS SUMPRODUCT SUMSQ SUMX2MY2 SUMX2PY2 SUMXMY2 SWITCH SYD T TAN TANH TBILLEQ TBILLPRICE TBILLYIELD T.DIST T.DIST.2T T.DIST.RT TDIST TEXT TEXTJOIN TIME TIMEVALUE T.INV T.INV.2T TINV TODAY TRANSPOSE TREND TRIM TRIMMEAN TRUE|0 TRUNC T.TEST TTEST TYPE UNICHAR UNICODE UPPER VALUE VAR VAR.P VAR.S VARA VARP VARPA VDB VLOOKUP WEBSERVICE WEEKDAY WEEKNUM WEIBULL WEIBULL.DIST WORKDAY WORKDAY.INTL XIRR XNPV XOR YEAR YEARFRAC YIELD YIELDDISC YIELDMAT Z.TEST ZTEST' }, contains: [ { @@ -23249,7 +50788,7 @@ /* technically, there can be more than 2 letters in column names, but this prevents conflict with some keywords */ { /* matches a reference to a single cell */ - className: "symbol", + className: 'symbol', begin: /\b[A-Z]{1,2}\d+\b/, end: /[^\d]/, excludeEnd: true, @@ -23257,15 +50796,15 @@ }, { /* matches a reference to a range of cells */ - className: "symbol", + className: 'symbol', begin: /[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/, relevance: 0 }, hljs.BACKSLASH_ESCAPE, hljs.QUOTE_STRING_MODE, { - className: "number", - begin: hljs.NUMBER_RE + "(%)?", + className: 'number', + begin: hljs.NUMBER_RE + '(%)?', relevance: 0 }, /* Excel formula comments are done by putting the comment in a function call to N() */ @@ -23280,7 +50819,7 @@ /***/ }, - /* 403 */ + /* 406 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -23297,14 +50836,14 @@ end: /=([^\u2401\u0001=]+)/, returnEnd: true, returnBegin: false, - className: "attr" + className: 'attr' }, { begin: /=/, end: /([\u2401\u0001])/, excludeEnd: true, excludeBegin: true, - className: "string" + className: 'string' } ] } @@ -23315,16 +50854,16 @@ /***/ }, - /* 404 */ + /* 407 */ /***/ function(module, exports) { module.exports = function(hljs) { var CHAR = { - className: "string", + className: 'string', begin: /'(.|\\[xXuU][a-zA-Z0-9]+)'/ }; var STRING = { - className: "string", + className: 'string', variants: [ { begin: '"', @@ -23334,13 +50873,13 @@ }; var NAME = { - className: "title", + className: 'title', begin: /[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/ }; var METHOD = { - className: "function", - beginKeywords: "def", + className: 'function', + beginKeywords: 'def', end: /[:={\[(\n;]/, excludeEnd: true, contains: [NAME] @@ -23348,9 +50887,9 @@ return { keywords: { - literal: "true false", + literal: 'true false', keyword: - "case class def else enum if impl import in lat rel index let match namespace switch type yield with" + 'case class def else enum if impl import in lat rel index let match namespace switch type yield with' }, contains: [ hljs.C_LINE_COMMENT_MODE, @@ -23365,83 +50904,83 @@ /***/ }, - /* 405 */ + /* 408 */ /***/ function(module, exports) { module.exports = function(hljs) { var PARAMS = { - className: "params", - begin: "\\(", - end: "\\)" + className: 'params', + begin: '\\(', + end: '\\)' }; var F_KEYWORDS = { - literal: ".False. .True.", + literal: '.False. .True.', keyword: - "kind do while private call intrinsic where elsewhere " + - "type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then " + - "public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. " + - "goto save else use module select case " + - "access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit " + - "continue format pause cycle exit " + - "c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg " + - "synchronous nopass non_overridable pass protected volatile abstract extends import " + - "non_intrinsic value deferred generic final enumerator class associate bind enum " + - "c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t " + - "c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double " + - "c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr " + - "c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer " + - "c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor " + - "numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control " + - "ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive " + - "pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure " + - "integer real character complex logical dimension allocatable|10 parameter " + - "external implicit|10 none double precision assign intent optional pointer " + - "target in out common equivalence data", + 'kind do while private call intrinsic where elsewhere ' + + 'type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then ' + + 'public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. ' + + 'goto save else use module select case ' + + 'access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit ' + + 'continue format pause cycle exit ' + + 'c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg ' + + 'synchronous nopass non_overridable pass protected volatile abstract extends import ' + + 'non_intrinsic value deferred generic final enumerator class associate bind enum ' + + 'c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t ' + + 'c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double ' + + 'c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr ' + + 'c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer ' + + 'c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor ' + + 'numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ' + + 'ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive ' + + 'pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure ' + + 'integer real character complex logical dimension allocatable|10 parameter ' + + 'external implicit|10 none double precision assign intent optional pointer ' + + 'target in out common equivalence data', built_in: - "alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint " + - "dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl " + - "algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama " + - "iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod " + - "qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log " + - "log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate " + - "adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product " + - "eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul " + - "maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product " + - "radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind " + - "set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer " + - "dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end " + - "ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode " + - "is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of" + - "acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 " + - "atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits " + - "bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr " + - "num_images parity popcnt poppar shifta shiftl shiftr this_image" + 'alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint ' + + 'dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl ' + + 'algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama ' + + 'iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod ' + + 'qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log ' + + 'log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate ' + + 'adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product ' + + 'eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul ' + + 'maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product ' + + 'radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind ' + + 'set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer ' + + 'dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ' + + 'ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode ' + + 'is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of' + + 'acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 ' + + 'atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits ' + + 'bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr ' + + 'num_images parity popcnt poppar shifta shiftl shiftr this_image' }; return { case_insensitive: true, - aliases: ["f90", "f95"], + aliases: ['f90', 'f95'], keywords: F_KEYWORDS, illegal: /\/\*/, contains: [ hljs.inherit(hljs.APOS_STRING_MODE, { - className: "string", + className: 'string', relevance: 0 }), hljs.inherit(hljs.QUOTE_STRING_MODE, { - className: "string", + className: 'string', relevance: 0 }), { - className: "function", - beginKeywords: "subroutine function program", - illegal: "[${=\\n]", + className: 'function', + beginKeywords: 'subroutine function program', + illegal: '[${=\\n]', contains: [hljs.UNDERSCORE_TITLE_MODE, PARAMS] }, - hljs.COMMENT("!", "$", { relevance: 0 }), + hljs.COMMENT('!', '$', { relevance: 0 }), { - className: "number", + className: 'number', begin: - "(?=\\b|\\+|\\-|\\.)(?=\\.\\d|\\d)(?:\\d+)?(?:\\.?\\d*)(?:[de][+-]?\\d+)?\\b\\.?", + '(?=\\b|\\+|\\-|\\.)(?=\\.\\d|\\d)(?:\\d+)?(?:\\.?\\d*)(?:[de][+-]?\\d+)?\\b\\.?', relevance: 0 } ] @@ -23450,58 +50989,58 @@ /***/ }, - /* 406 */ + /* 409 */ /***/ function(module, exports) { module.exports = function(hljs) { var TYPEPARAM = { - begin: "<", - end: ">", + begin: '<', + end: '>', contains: [hljs.inherit(hljs.TITLE_MODE, { begin: /'[a-zA-Z0-9_]+/ })] }; return { - aliases: ["fs"], + aliases: ['fs'], keywords: - "abstract and as assert base begin class default delegate do done " + - "downcast downto elif else end exception extern false finally for " + - "fun function global if in inherit inline interface internal lazy let " + - "match member module mutable namespace new null of open or " + - "override private public rec return sig static struct then to " + - "true try type upcast use val void when while with yield", + 'abstract and as assert base begin class default delegate do done ' + + 'downcast downto elif else end exception extern false finally for ' + + 'fun function global if in inherit inline interface internal lazy let ' + + 'match member module mutable namespace new null of open or ' + + 'override private public rec return sig static struct then to ' + + 'true try type upcast use val void when while with yield', illegal: /\/\*/, contains: [ { // monad builder keywords (matches before non-bang kws) - className: "keyword", + className: 'keyword', begin: /\b(yield|return|let|do)!/ }, { - className: "string", + className: 'string', begin: '@"', end: '"', contains: [{ begin: '""' }] }, { - className: "string", + className: 'string', begin: '"""', end: '"""' }, - hljs.COMMENT("\\(\\*", "\\*\\)"), + hljs.COMMENT('\\(\\*', '\\*\\)'), { - className: "class", - beginKeywords: "type", - end: "\\(|=|$", + className: 'class', + beginKeywords: 'type', + end: '\\(|=|$', excludeEnd: true, contains: [hljs.UNDERSCORE_TITLE_MODE, TYPEPARAM] }, { - className: "meta", - begin: "\\[<", - end: ">\\]", + className: 'meta', + begin: '\\[<', + end: '>\\]', relevance: 10 }, { - className: "symbol", + className: 'symbol', begin: "\\B('[A-Za-z])\\b", contains: [hljs.BACKSLASH_ESCAPE] }, @@ -23514,54 +51053,54 @@ /***/ }, - /* 407 */ + /* 410 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { keyword: - "abort acronym acronyms alias all and assign binary card diag display " + - "else eq file files for free ge gt if integer le loop lt maximizing " + - "minimizing model models ne negative no not option options or ord " + - "positive prod put putpage puttl repeat sameas semicont semiint smax " + - "smin solve sos1 sos2 sum system table then until using while xor yes", - literal: "eps inf na", - "built-in": - "abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy " + - "cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact " + - "floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max " + - "min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power " + - "randBinomial randLinear randTriangle round rPower sigmoid sign " + - "signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt " + - "tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp " + - "bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt " + - "rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear " + - "jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion " + - "handleCollect handleDelete handleStatus handleSubmit heapFree " + - "heapLimit heapSize jobHandle jobKill jobStatus jobTerminate " + - "licenseLevel licenseStatus maxExecError sleep timeClose timeComp " + - "timeElapsed timeExec timeStart" + 'abort acronym acronyms alias all and assign binary card diag display ' + + 'else eq file files for free ge gt if integer le loop lt maximizing ' + + 'minimizing model models ne negative no not option options or ord ' + + 'positive prod put putpage puttl repeat sameas semicont semiint smax ' + + 'smin solve sos1 sos2 sum system table then until using while xor yes', + literal: 'eps inf na', + 'built-in': + 'abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy ' + + 'cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact ' + + 'floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max ' + + 'min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power ' + + 'randBinomial randLinear randTriangle round rPower sigmoid sign ' + + 'signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt ' + + 'tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp ' + + 'bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt ' + + 'rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear ' + + 'jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion ' + + 'handleCollect handleDelete handleStatus handleSubmit heapFree ' + + 'heapLimit heapSize jobHandle jobKill jobStatus jobTerminate ' + + 'licenseLevel licenseStatus maxExecError sleep timeClose timeComp ' + + 'timeElapsed timeExec timeStart' }; var PARAMS = { - className: "params", + className: 'params', begin: /\(/, end: /\)/, excludeBegin: true, excludeEnd: true }; var SYMBOLS = { - className: "symbol", + className: 'symbol', variants: [{ begin: /\=[lgenxc]=/ }, { begin: /\$/ }] }; var QSTR = { // One-line quoted comment string - className: "comment", + className: 'comment', variants: [{ begin: "'", end: "'" }, { begin: '"', end: '"' }], - illegal: "\\n", + illegal: '\\n', contains: [hljs.BACKSLASH_ESCAPE] }; var ASSIGNMENT = { - begin: "/", - end: "/", + begin: '/', + end: '/', keywords: KEYWORDS, contains: [ QSTR, @@ -23576,13 +51115,13 @@ // Parameter/set/variable description text begin: /[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/, excludeBegin: true, - end: "$", + end: '$', endsWithParent: true, contains: [ QSTR, ASSIGNMENT, { - className: "comment", + className: 'comment', begin: /([ ]*[a-z0-9*=?@>\\<:\-,()$\[\]_.{}!+%^]+)+/, relevance: 0 } @@ -23590,24 +51129,24 @@ }; return { - aliases: ["gms"], + aliases: ['gms'], case_insensitive: true, keywords: KEYWORDS, contains: [ hljs.COMMENT(/^\$ontext/, /^\$offtext/), { - className: "meta", - begin: "^\\$[a-z0-9]+", - end: "$", + className: 'meta', + begin: '^\\$[a-z0-9]+', + end: '$', returnBegin: true, contains: [ { - className: "meta-keyword", - begin: "^\\$[a-z0-9]+" + className: 'meta-keyword', + begin: '^\\$[a-z0-9]+' } ] }, - hljs.COMMENT("^\\*", "$"), + hljs.COMMENT('^\\*', '$'), hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, hljs.QUOTE_STRING_MODE, @@ -23615,11 +51154,11 @@ // Declarations { beginKeywords: - "set sets parameter parameters variable variables " + - "scalar scalars equation equations", - end: ";", + 'set sets parameter parameters variable variables ' + + 'scalar scalars equation equations', + end: ';', contains: [ - hljs.COMMENT("^\\*", "$"), + hljs.COMMENT('^\\*', '$'), hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, hljs.QUOTE_STRING_MODE, @@ -23630,17 +51169,17 @@ }, { // table environment - beginKeywords: "table", - end: ";", + beginKeywords: 'table', + end: ';', returnBegin: true, contains: [ { // table header row - beginKeywords: "table", - end: "$", + beginKeywords: 'table', + end: '$', contains: [DESCTEXT] }, - hljs.COMMENT("^\\*", "$"), + hljs.COMMENT('^\\*', '$'), hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, hljs.QUOTE_STRING_MODE, @@ -23651,13 +51190,13 @@ }, // Function definitions { - className: "function", + className: 'function', begin: /^[a-z][a-z0-9_,\-+' ()$]+\.{2}/, returnBegin: true, contains: [ { // Function title - className: "title", + className: 'title', begin: /^[a-z0-9_]+/ }, PARAMS, @@ -23672,120 +51211,120 @@ /***/ }, - /* 408 */ + /* 411 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { keyword: - "and bool break call callexe checkinterrupt clear clearg closeall cls comlog compile " + - "continue create debug declare delete disable dlibrary dllcall do dos ed edit else " + - "elseif enable end endfor endif endp endo errorlog errorlogat expr external fn " + - "for format goto gosub graph if keyword let lib library line load loadarray loadexe " + - "loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow " + - "matrix msym ndpclex new not open or output outwidth plot plotsym pop prcsn print " + - "printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen " + - "scroll setarray show sparse stop string struct system trace trap threadfor " + - "threadendfor threadbegin threadjoin threadstat threadend until use while winprint", + 'and bool break call callexe checkinterrupt clear clearg closeall cls comlog compile ' + + 'continue create debug declare delete disable dlibrary dllcall do dos ed edit else ' + + 'elseif enable end endfor endif endp endo errorlog errorlogat expr external fn ' + + 'for format goto gosub graph if keyword let lib library line load loadarray loadexe ' + + 'loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow ' + + 'matrix msym ndpclex new not open or output outwidth plot plotsym pop prcsn print ' + + 'printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen ' + + 'scroll setarray show sparse stop string struct system trace trap threadfor ' + + 'threadendfor threadbegin threadjoin threadstat threadend until use while winprint', built_in: - "abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol " + - "AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks " + - "AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults " + - "annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness " + - "annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd " + - "astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar " + - "base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 " + - "cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv " + - "cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn " + - "cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi " + - "cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir " + - "ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated " + - "complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs " + - "cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos " + - "datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd " + - "dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName " + - "dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy " + - "dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen " + - "dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA " + - "dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField " + - "dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition " + - "dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows " + - "dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly " + - "dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy " + - "dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl " + - "dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt " + - "dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday " + - "dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays " + - "endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error " + - "etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut " + - "EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol " + - "EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq " + - "feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt " + - "floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC " + - "gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders " + - "gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse " + - "gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray " + - "getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders " + - "getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT " + - "gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm " + - "hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 " + - "indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 " + - "inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf " + - "isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv " + - "lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn " + - "lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind " + - "loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars " + - "makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli " + - "mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave " + - "movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate " + - "olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto " + - "pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox " + - "plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea " + - "plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout " + - "plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill " + - "plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol " + - "plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange " + - "plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel " + - "plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot " + - "pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames " + - "pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector " + - "pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate " + - "qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr " + - "real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn " + - "rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel " + - "rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn " + - "rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh " + - "rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind " + - "scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa " + - "setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind " + - "sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL " + - "spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense " + - "spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet " + - "sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt " + - "strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr " + - "surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname threadBegin threadEnd threadEndFor threadFor " + - "threadJoin threadStat time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk " + - "trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt " + - "utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs " + - "vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window " + - "writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM " + - "xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute " + - "h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels " + - "plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin strtrim sylvester", + 'abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol ' + + 'AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks ' + + 'AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults ' + + 'annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness ' + + 'annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd ' + + 'astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar ' + + 'base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 ' + + 'cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv ' + + 'cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn ' + + 'cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi ' + + 'cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ' + + 'ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated ' + + 'complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs ' + + 'cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos ' + + 'datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd ' + + 'dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName ' + + 'dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy ' + + 'dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen ' + + 'dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA ' + + 'dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField ' + + 'dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition ' + + 'dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows ' + + 'dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly ' + + 'dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy ' + + 'dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl ' + + 'dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt ' + + 'dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday ' + + 'dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays ' + + 'endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error ' + + 'etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut ' + + 'EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol ' + + 'EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq ' + + 'feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt ' + + 'floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC ' + + 'gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders ' + + 'gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse ' + + 'gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray ' + + 'getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders ' + + 'getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT ' + + 'gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm ' + + 'hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 ' + + 'indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 ' + + 'inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf ' + + 'isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv ' + + 'lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn ' + + 'lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind ' + + 'loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars ' + + 'makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli ' + + 'mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave ' + + 'movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate ' + + 'olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto ' + + 'pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox ' + + 'plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea ' + + 'plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout ' + + 'plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill ' + + 'plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol ' + + 'plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange ' + + 'plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel ' + + 'plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot ' + + 'pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames ' + + 'pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector ' + + 'pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate ' + + 'qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr ' + + 'real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn ' + + 'rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel ' + + 'rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn ' + + 'rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh ' + + 'rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind ' + + 'scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa ' + + 'setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind ' + + 'sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL ' + + 'spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense ' + + 'spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet ' + + 'sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt ' + + 'strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr ' + + 'surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname threadBegin threadEnd threadEndFor threadFor ' + + 'threadJoin threadStat time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk ' + + 'trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt ' + + 'utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs ' + + 'vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window ' + + 'writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM ' + + 'xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute ' + + 'h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels ' + + 'plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin strtrim sylvester', literal: - "DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS " + - "DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 " + - "DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS " + - "DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES " + - "DB_TRANSACTIONS DB_UNICODE DB_VIEWS" + 'DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS ' + + 'DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 ' + + 'DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS ' + + 'DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES ' + + 'DB_TRANSACTIONS DB_UNICODE DB_VIEWS' }; var PREPROCESSOR = { - className: "meta", - begin: "#", - end: "$", + className: 'meta', + begin: '#', + end: '$', keywords: { - "meta-keyword": - "define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline" + 'meta-keyword': + 'define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline' }, contains: [ { @@ -23793,15 +51332,15 @@ relevance: 0 }, { - beginKeywords: "include", - end: "$", - keywords: { "meta-keyword": "include" }, + beginKeywords: 'include', + end: '$', + keywords: { 'meta-keyword': 'include' }, contains: [ { - className: "meta-string", + className: 'meta-string', begin: '"', end: '"', - illegal: "\\n" + illegal: '\\n' } ] }, @@ -23810,10 +51349,10 @@ ] }; - var FUNCTION_TITLE = hljs.UNDERSCORE_IDENT_RE + "\\s*\\(?"; + var FUNCTION_TITLE = hljs.UNDERSCORE_IDENT_RE + '\\s*\\(?'; var PARSE_PARAMS = [ { - className: "params", + className: 'params', begin: /\(/, end: /\)/, keywords: KEYWORDS, @@ -23827,26 +51366,26 @@ ]; return { - aliases: ["gss"], + aliases: ['gss'], case_insensitive: true, // language is case-insensitive keywords: KEYWORDS, - illegal: "(\\{[%#]|[%#]\\})", + illegal: '(\\{[%#]|[%#]\\})', contains: [ hljs.C_NUMBER_MODE, hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, - hljs.COMMENT("@", "@"), + hljs.COMMENT('@', '@'), PREPROCESSOR, { - className: "string", + className: 'string', begin: '"', end: '"', contains: [hljs.BACKSLASH_ESCAPE] }, { - className: "function", - beginKeywords: "proc keyword", - end: ";", + className: 'function', + beginKeywords: 'proc keyword', + end: ';', excludeEnd: true, keywords: KEYWORDS, contains: [ @@ -23863,14 +51402,14 @@ ].concat(PARSE_PARAMS) }, { - className: "function", - beginKeywords: "fn", - end: ";", + className: 'function', + beginKeywords: 'fn', + end: ';', excludeEnd: true, keywords: KEYWORDS, contains: [ { - begin: FUNCTION_TITLE + hljs.IDENT_RE + "\\)?\\s*\\=\\s*", + begin: FUNCTION_TITLE + hljs.IDENT_RE + '\\)?\\s*\\=\\s*', returnBegin: true, contains: [hljs.UNDERSCORE_TITLE_MODE], relevance: 0 @@ -23881,9 +51420,9 @@ ].concat(PARSE_PARAMS) }, { - className: "function", - begin: "\\bexternal (proc|keyword|fn)\\s+", - end: ";", + className: 'function', + begin: '\\bexternal (proc|keyword|fn)\\s+', + end: ';', excludeEnd: true, keywords: KEYWORDS, contains: [ @@ -23898,12 +51437,12 @@ ] }, { - className: "function", + className: 'function', begin: - "\\bexternal (matrix|string|array|sparse matrix|struct " + + '\\bexternal (matrix|string|array|sparse matrix|struct ' + hljs.IDENT_RE + - ")\\s+", - end: ";", + ')\\s+', + end: ';', excludeEnd: true, keywords: KEYWORDS, contains: [hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE] @@ -23914,63 +51453,63 @@ /***/ }, - /* 409 */ + /* 412 */ /***/ function(module, exports) { module.exports = function(hljs) { - var GCODE_IDENT_RE = "[A-Z_][A-Z0-9_.]*"; - var GCODE_CLOSE_RE = "\\%"; + var GCODE_IDENT_RE = '[A-Z_][A-Z0-9_.]*'; + var GCODE_CLOSE_RE = '\\%'; var GCODE_KEYWORDS = - "IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT " + - "EQ LT GT NE GE LE OR XOR"; + 'IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT ' + + 'EQ LT GT NE GE LE OR XOR'; var GCODE_START = { - className: "meta", - begin: "([O])([0-9]+)" + className: 'meta', + begin: '([O])([0-9]+)' }; var GCODE_CODE = [ hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, hljs.COMMENT(/\(/, /\)/), hljs.inherit(hljs.C_NUMBER_MODE, { - begin: "([-+]?([0-9]*\\.?[0-9]+\\.?))|" + hljs.C_NUMBER_RE + begin: '([-+]?([0-9]*\\.?[0-9]+\\.?))|' + hljs.C_NUMBER_RE }), hljs.inherit(hljs.APOS_STRING_MODE, { illegal: null }), hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }), { - className: "name", - begin: "([G])([0-9]+\\.?[0-9]?)" + className: 'name', + begin: '([G])([0-9]+\\.?[0-9]?)' }, { - className: "name", - begin: "([M])([0-9]+\\.?[0-9]?)" + className: 'name', + begin: '([M])([0-9]+\\.?[0-9]?)' }, { - className: "attr", - begin: "(VC|VS|#)", - end: "(\\d+)" + className: 'attr', + begin: '(VC|VS|#)', + end: '(\\d+)' }, { - className: "attr", - begin: "(VZOFX|VZOFY|VZOFZ)" + className: 'attr', + begin: '(VZOFX|VZOFY|VZOFZ)' }, { - className: "built_in", - begin: "(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)", - end: "([-+]?([0-9]*\\.?[0-9]+\\.?))(\\])" + className: 'built_in', + begin: '(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)', + end: '([-+]?([0-9]*\\.?[0-9]+\\.?))(\\])' }, { - className: "symbol", + className: 'symbol', variants: [ { - begin: "N", - end: "\\d+", - illegal: "\\W" + begin: 'N', + end: '\\d+', + illegal: '\\W' } ] } ]; return { - aliases: ["nc"], + aliases: ['nc'], // Some implementations (CNC controls) of G-code are interoperable with uppercase and lowercase letters seamlessly. // However, most prefer all uppercase and uppercase is customary. case_insensitive: true, @@ -23978,7 +51517,7 @@ keywords: GCODE_KEYWORDS, contains: [ { - className: "meta", + className: 'meta', begin: GCODE_CLOSE_RE }, GCODE_START @@ -23988,41 +51527,41 @@ /***/ }, - /* 410 */ + /* 413 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["feature"], + aliases: ['feature'], keywords: - "Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When", + 'Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When', contains: [ { - className: "symbol", - begin: "\\*", + className: 'symbol', + begin: '\\*', relevance: 0 }, { - className: "meta", - begin: "@[^@\\s]+" + className: 'meta', + begin: '@[^@\\s]+' }, { - begin: "\\|", - end: "\\|\\w*$", + begin: '\\|', + end: '\\|\\w*$', contains: [ { - className: "string", - begin: "[^|]+" + className: 'string', + begin: '[^|]+' } ] }, { - className: "variable", - begin: "<", - end: ">" + className: 'variable', + begin: '<', + end: '>' }, hljs.HASH_COMMENT_MODE, { - className: "string", + className: 'string', begin: '"""', end: '"""' }, @@ -24033,111 +51572,111 @@ /***/ }, - /* 411 */ + /* 414 */ /***/ function(module, exports) { module.exports = function(hljs) { return { keywords: { keyword: // Statements - "break continue discard do else for if return while switch case default " + + 'break continue discard do else for if return while switch case default ' + // Qualifiers - "attribute binding buffer ccw centroid centroid varying coherent column_major const cw " + - "depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing " + - "flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant " + - "invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y " + - "local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left " + - "out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f " + - "r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict " + - "rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 " + - "rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 " + - "rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip " + - "triangles triangles_adjacency uniform varying vertices volatile writeonly", + 'attribute binding buffer ccw centroid centroid varying coherent column_major const cw ' + + 'depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing ' + + 'flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant ' + + 'invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y ' + + 'local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left ' + + 'out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f ' + + 'r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict ' + + 'rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 ' + + 'rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 ' + + 'rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip ' + + 'triangles triangles_adjacency uniform varying vertices volatile writeonly', type: - "atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 " + - "dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray " + - "iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer" + - "iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray " + - "image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray " + - "isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D " + - "isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 " + - "mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray " + - "sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow " + - "sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D " + - "samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow " + - "image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect " + - "uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray " + - "usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D " + - "samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void", + 'atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 ' + + 'dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray ' + + 'iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer' + + 'iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray ' + + 'image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray ' + + 'isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D ' + + 'isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 ' + + 'mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray ' + + 'sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow ' + + 'sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D ' + + 'samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow ' + + 'image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect ' + + 'uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray ' + + 'usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D ' + + 'samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void', built_in: // Constants - "gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes " + - "gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms " + - "gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers " + - "gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits " + - "gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize " + - "gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters " + - "gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors " + - "gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers " + - "gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents " + - "gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits " + - "gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents " + - "gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset " + - "gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms " + - "gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits " + - "gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents " + - "gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters " + - "gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents " + - "gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents " + - "gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits " + - "gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors " + - "gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms " + - "gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits " + - "gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset " + + 'gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes ' + + 'gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms ' + + 'gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers ' + + 'gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits ' + + 'gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize ' + + 'gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters ' + + 'gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors ' + + 'gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers ' + + 'gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents ' + + 'gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits ' + + 'gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents ' + + 'gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset ' + + 'gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms ' + + 'gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits ' + + 'gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents ' + + 'gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters ' + + 'gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents ' + + 'gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents ' + + 'gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits ' + + 'gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors ' + + 'gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms ' + + 'gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits ' + + 'gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset ' + // Variables - "gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial " + - "gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color " + - "gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord " + - "gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor " + - "gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial " + - "gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel " + - "gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix " + - "gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose " + - "gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose " + - "gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 " + - "gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 " + - "gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ " + - "gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord " + - "gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse " + - "gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask " + - "gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter " + - "gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose " + - "gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out " + + 'gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial ' + + 'gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color ' + + 'gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord ' + + 'gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor ' + + 'gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial ' + + 'gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel ' + + 'gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix ' + + 'gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose ' + + 'gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose ' + + 'gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 ' + + 'gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 ' + + 'gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ ' + + 'gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord ' + + 'gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse ' + + 'gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask ' + + 'gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter ' + + 'gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose ' + + 'gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out ' + // Functions - "EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin " + - "asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement " + - "atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier " + - "bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross " + - "dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB " + - "floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan " + - "greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap " + - "imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad " + - "imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset " + - "interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log " + - "log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer " + - "memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 " + - "normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 " + - "packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod " + - "shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh " + - "smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod " + - "texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod " + - "texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod " + - "textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset " + - "textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset " + - "textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod " + - "textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 " + - "unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow", - literal: "true false" + 'EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin ' + + 'asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement ' + + 'atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier ' + + 'bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross ' + + 'dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB ' + + 'floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan ' + + 'greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap ' + + 'imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad ' + + 'imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset ' + + 'interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log ' + + 'log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer ' + + 'memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 ' + + 'normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 ' + + 'packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod ' + + 'shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh ' + + 'smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod ' + + 'texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod ' + + 'texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod ' + + 'textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset ' + + 'textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset ' + + 'textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod ' + + 'textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 ' + + 'unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow', + literal: 'true false' }, illegal: '"', contains: [ @@ -24145,9 +51684,9 @@ hljs.C_BLOCK_COMMENT_MODE, hljs.C_NUMBER_MODE, { - className: "meta", - begin: "#", - end: "$" + className: 'meta', + begin: '#', + end: '$' } ] }; @@ -24155,38 +51694,919 @@ /***/ }, - /* 412 */ + /* 415 */ + /***/ function(module, exports) { + module.exports = function(hljs) { + var GML_KEYWORDS = { + keywords: + 'begin end if then else while do for break continue with until ' + + 'repeat exit and or xor not return mod div switch case default var ' + + 'globalvar enum #macro #region #endregion', + built_in: + 'is_real is_string is_array is_undefined is_int32 is_int64 ' + + 'is_ptr is_vec3 is_vec4 is_matrix is_bool typeof ' + + 'variable_global_exists variable_global_get variable_global_set ' + + 'variable_instance_exists variable_instance_get variable_instance_set ' + + 'variable_instance_get_names array_length_1d array_length_2d ' + + 'array_height_2d array_equals array_create array_copy random ' + + 'random_range irandom irandom_range random_set_seed random_get_seed ' + + 'randomize randomise choose abs round floor ceil sign frac sqrt sqr ' + + 'exp ln log2 log10 sin cos tan arcsin arccos arctan arctan2 dsin dcos ' + + 'dtan darcsin darccos darctan darctan2 degtorad radtodeg power logn ' + + 'min max mean median clamp lerp dot_product dot_product_3d ' + + 'dot_product_normalised dot_product_3d_normalised ' + + 'dot_product_normalized dot_product_3d_normalized math_set_epsilon ' + + 'math_get_epsilon angle_difference point_distance_3d point_distance ' + + 'point_direction lengthdir_x lengthdir_y real string int64 ptr ' + + 'string_format chr ansi_char ord string_length string_byte_length ' + + 'string_pos string_copy string_char_at string_ord_at string_byte_at ' + + 'string_set_byte_at string_delete string_insert string_lower ' + + 'string_upper string_repeat string_letters string_digits ' + + 'string_lettersdigits string_replace string_replace_all string_count ' + + 'string_hash_to_newline clipboard_has_text clipboard_set_text ' + + 'clipboard_get_text date_current_datetime date_create_datetime ' + + 'date_valid_datetime date_inc_year date_inc_month date_inc_week ' + + 'date_inc_day date_inc_hour date_inc_minute date_inc_second ' + + 'date_get_year date_get_month date_get_week date_get_day ' + + 'date_get_hour date_get_minute date_get_second date_get_weekday ' + + 'date_get_day_of_year date_get_hour_of_year date_get_minute_of_year ' + + 'date_get_second_of_year date_year_span date_month_span ' + + 'date_week_span date_day_span date_hour_span date_minute_span ' + + 'date_second_span date_compare_datetime date_compare_date ' + + 'date_compare_time date_date_of date_time_of date_datetime_string ' + + 'date_date_string date_time_string date_days_in_month ' + + 'date_days_in_year date_leap_year date_is_today date_set_timezone ' + + 'date_get_timezone game_set_speed game_get_speed motion_set ' + + 'motion_add place_free place_empty place_meeting place_snapped ' + + 'move_random move_snap move_towards_point move_contact_solid ' + + 'move_contact_all move_outside_solid move_outside_all ' + + 'move_bounce_solid move_bounce_all move_wrap distance_to_point ' + + 'distance_to_object position_empty position_meeting path_start ' + + 'path_end mp_linear_step mp_potential_step mp_linear_step_object ' + + 'mp_potential_step_object mp_potential_settings mp_linear_path ' + + 'mp_potential_path mp_linear_path_object mp_potential_path_object ' + + 'mp_grid_create mp_grid_destroy mp_grid_clear_all mp_grid_clear_cell ' + + 'mp_grid_clear_rectangle mp_grid_add_cell mp_grid_get_cell ' + + 'mp_grid_add_rectangle mp_grid_add_instances mp_grid_path ' + + 'mp_grid_draw mp_grid_to_ds_grid collision_point collision_rectangle ' + + 'collision_circle collision_ellipse collision_line ' + + 'collision_point_list collision_rectangle_list collision_circle_list ' + + 'collision_ellipse_list collision_line_list instance_position_list ' + + 'instance_place_list point_in_rectangle ' + + 'point_in_triangle point_in_circle rectangle_in_rectangle ' + + 'rectangle_in_triangle rectangle_in_circle instance_find ' + + 'instance_exists instance_number instance_position instance_nearest ' + + 'instance_furthest instance_place instance_create_depth ' + + 'instance_create_layer instance_copy instance_change instance_destroy ' + + 'position_destroy position_change instance_id_get ' + + 'instance_deactivate_all instance_deactivate_object ' + + 'instance_deactivate_region instance_activate_all ' + + 'instance_activate_object instance_activate_region room_goto ' + + 'room_goto_previous room_goto_next room_previous room_next ' + + 'room_restart game_end game_restart game_load game_save ' + + 'game_save_buffer game_load_buffer event_perform event_user ' + + 'event_perform_object event_inherited show_debug_message ' + + 'show_debug_overlay debug_event debug_get_callstack alarm_get ' + + 'alarm_set font_texture_page_size keyboard_set_map keyboard_get_map ' + + 'keyboard_unset_map keyboard_check keyboard_check_pressed ' + + 'keyboard_check_released keyboard_check_direct keyboard_get_numlock ' + + 'keyboard_set_numlock keyboard_key_press keyboard_key_release ' + + 'keyboard_clear io_clear mouse_check_button ' + + 'mouse_check_button_pressed mouse_check_button_released ' + + 'mouse_wheel_up mouse_wheel_down mouse_clear draw_self draw_sprite ' + + 'draw_sprite_pos draw_sprite_ext draw_sprite_stretched ' + + 'draw_sprite_stretched_ext draw_sprite_tiled draw_sprite_tiled_ext ' + + 'draw_sprite_part draw_sprite_part_ext draw_sprite_general draw_clear ' + + 'draw_clear_alpha draw_point draw_line draw_line_width draw_rectangle ' + + 'draw_roundrect draw_roundrect_ext draw_triangle draw_circle ' + + 'draw_ellipse draw_set_circle_precision draw_arrow draw_button ' + + 'draw_path draw_healthbar draw_getpixel draw_getpixel_ext ' + + 'draw_set_colour draw_set_color draw_set_alpha draw_get_colour ' + + 'draw_get_color draw_get_alpha merge_colour make_colour_rgb ' + + 'make_colour_hsv colour_get_red colour_get_green colour_get_blue ' + + 'colour_get_hue colour_get_saturation colour_get_value merge_color ' + + 'make_color_rgb make_color_hsv color_get_red color_get_green ' + + 'color_get_blue color_get_hue color_get_saturation color_get_value ' + + 'merge_color screen_save screen_save_part draw_set_font ' + + 'draw_set_halign draw_set_valign draw_text draw_text_ext string_width ' + + 'string_height string_width_ext string_height_ext ' + + 'draw_text_transformed draw_text_ext_transformed draw_text_colour ' + + 'draw_text_ext_colour draw_text_transformed_colour ' + + 'draw_text_ext_transformed_colour draw_text_color draw_text_ext_color ' + + 'draw_text_transformed_color draw_text_ext_transformed_color ' + + 'draw_point_colour draw_line_colour draw_line_width_colour ' + + 'draw_rectangle_colour draw_roundrect_colour ' + + 'draw_roundrect_colour_ext draw_triangle_colour draw_circle_colour ' + + 'draw_ellipse_colour draw_point_color draw_line_color ' + + 'draw_line_width_color draw_rectangle_color draw_roundrect_color ' + + 'draw_roundrect_color_ext draw_triangle_color draw_circle_color ' + + 'draw_ellipse_color draw_primitive_begin draw_vertex ' + + 'draw_vertex_colour draw_vertex_color draw_primitive_end ' + + 'sprite_get_uvs font_get_uvs sprite_get_texture font_get_texture ' + + 'texture_get_width texture_get_height texture_get_uvs ' + + 'draw_primitive_begin_texture draw_vertex_texture ' + + 'draw_vertex_texture_colour draw_vertex_texture_color ' + + 'texture_global_scale surface_create surface_create_ext ' + + 'surface_resize surface_free surface_exists surface_get_width ' + + 'surface_get_height surface_get_texture surface_set_target ' + + 'surface_set_target_ext surface_reset_target surface_depth_disable ' + + 'surface_get_depth_disable draw_surface draw_surface_stretched ' + + 'draw_surface_tiled draw_surface_part draw_surface_ext ' + + 'draw_surface_stretched_ext draw_surface_tiled_ext ' + + 'draw_surface_part_ext draw_surface_general surface_getpixel ' + + 'surface_getpixel_ext surface_save surface_save_part surface_copy ' + + 'surface_copy_part application_surface_draw_enable ' + + 'application_get_position application_surface_enable ' + + 'application_surface_is_enabled display_get_width display_get_height ' + + 'display_get_orientation display_get_gui_width display_get_gui_height ' + + 'display_reset display_mouse_get_x display_mouse_get_y ' + + 'display_mouse_set display_set_ui_visibility ' + + 'window_set_fullscreen window_get_fullscreen ' + + 'window_set_caption window_set_min_width window_set_max_width ' + + 'window_set_min_height window_set_max_height window_get_visible_rects ' + + 'window_get_caption window_set_cursor window_get_cursor ' + + 'window_set_colour window_get_colour window_set_color ' + + 'window_get_color window_set_position window_set_size ' + + 'window_set_rectangle window_center window_get_x window_get_y ' + + 'window_get_width window_get_height window_mouse_get_x ' + + 'window_mouse_get_y window_mouse_set window_view_mouse_get_x ' + + 'window_view_mouse_get_y window_views_mouse_get_x ' + + 'window_views_mouse_get_y audio_listener_position ' + + 'audio_listener_velocity audio_listener_orientation ' + + 'audio_emitter_position audio_emitter_create audio_emitter_free ' + + 'audio_emitter_exists audio_emitter_pitch audio_emitter_velocity ' + + 'audio_emitter_falloff audio_emitter_gain audio_play_sound ' + + 'audio_play_sound_on audio_play_sound_at audio_stop_sound ' + + 'audio_resume_music audio_music_is_playing audio_resume_sound ' + + 'audio_pause_sound audio_pause_music audio_channel_num ' + + 'audio_sound_length audio_get_type audio_falloff_set_model ' + + 'audio_play_music audio_stop_music audio_master_gain audio_music_gain ' + + 'audio_sound_gain audio_sound_pitch audio_stop_all audio_resume_all ' + + 'audio_pause_all audio_is_playing audio_is_paused audio_exists ' + + 'audio_sound_set_track_position audio_sound_get_track_position ' + + 'audio_emitter_get_gain audio_emitter_get_pitch audio_emitter_get_x ' + + 'audio_emitter_get_y audio_emitter_get_z audio_emitter_get_vx ' + + 'audio_emitter_get_vy audio_emitter_get_vz ' + + 'audio_listener_set_position audio_listener_set_velocity ' + + 'audio_listener_set_orientation audio_listener_get_data ' + + 'audio_set_master_gain audio_get_master_gain audio_sound_get_gain ' + + 'audio_sound_get_pitch audio_get_name audio_sound_set_track_position ' + + 'audio_sound_get_track_position audio_create_stream ' + + 'audio_destroy_stream audio_create_sync_group ' + + 'audio_destroy_sync_group audio_play_in_sync_group ' + + 'audio_start_sync_group audio_stop_sync_group audio_pause_sync_group ' + + 'audio_resume_sync_group audio_sync_group_get_track_pos ' + + 'audio_sync_group_debug audio_sync_group_is_playing audio_debug ' + + 'audio_group_load audio_group_unload audio_group_is_loaded ' + + 'audio_group_load_progress audio_group_name audio_group_stop_all ' + + 'audio_group_set_gain audio_create_buffer_sound ' + + 'audio_free_buffer_sound audio_create_play_queue ' + + 'audio_free_play_queue audio_queue_sound audio_get_recorder_count ' + + 'audio_get_recorder_info audio_start_recording audio_stop_recording ' + + 'audio_sound_get_listener_mask audio_emitter_get_listener_mask ' + + 'audio_get_listener_mask audio_sound_set_listener_mask ' + + 'audio_emitter_set_listener_mask audio_set_listener_mask ' + + 'audio_get_listener_count audio_get_listener_info audio_system ' + + 'show_message show_message_async clickable_add clickable_add_ext ' + + 'clickable_change clickable_change_ext clickable_delete ' + + 'clickable_exists clickable_set_style show_question ' + + 'show_question_async get_integer get_string get_integer_async ' + + 'get_string_async get_login_async get_open_filename get_save_filename ' + + 'get_open_filename_ext get_save_filename_ext show_error ' + + 'highscore_clear highscore_add highscore_value highscore_name ' + + 'draw_highscore sprite_exists sprite_get_name sprite_get_number ' + + 'sprite_get_width sprite_get_height sprite_get_xoffset ' + + 'sprite_get_yoffset sprite_get_bbox_left sprite_get_bbox_right ' + + 'sprite_get_bbox_top sprite_get_bbox_bottom sprite_save ' + + 'sprite_save_strip sprite_set_cache_size sprite_set_cache_size_ext ' + + 'sprite_get_tpe sprite_prefetch sprite_prefetch_multi sprite_flush ' + + 'sprite_flush_multi sprite_set_speed sprite_get_speed_type ' + + 'sprite_get_speed font_exists font_get_name font_get_fontname ' + + 'font_get_bold font_get_italic font_get_first font_get_last ' + + 'font_get_size font_set_cache_size path_exists path_get_name ' + + 'path_get_length path_get_time path_get_kind path_get_closed ' + + 'path_get_precision path_get_number path_get_point_x path_get_point_y ' + + 'path_get_point_speed path_get_x path_get_y path_get_speed ' + + 'script_exists script_get_name timeline_add timeline_delete ' + + 'timeline_clear timeline_exists timeline_get_name ' + + 'timeline_moment_clear timeline_moment_add_script timeline_size ' + + 'timeline_max_moment object_exists object_get_name object_get_sprite ' + + 'object_get_solid object_get_visible object_get_persistent ' + + 'object_get_mask object_get_parent object_get_physics ' + + 'object_is_ancestor room_exists room_get_name sprite_set_offset ' + + 'sprite_duplicate sprite_assign sprite_merge sprite_add ' + + 'sprite_replace sprite_create_from_surface sprite_add_from_surface ' + + 'sprite_delete sprite_set_alpha_from_sprite sprite_collision_mask ' + + 'font_add_enable_aa font_add_get_enable_aa font_add font_add_sprite ' + + 'font_add_sprite_ext font_replace font_replace_sprite ' + + 'font_replace_sprite_ext font_delete path_set_kind path_set_closed ' + + 'path_set_precision path_add path_assign path_duplicate path_append ' + + 'path_delete path_add_point path_insert_point path_change_point ' + + 'path_delete_point path_clear_points path_reverse path_mirror ' + + 'path_flip path_rotate path_rescale path_shift script_execute ' + + 'object_set_sprite object_set_solid object_set_visible ' + + 'object_set_persistent object_set_mask room_set_width room_set_height ' + + 'room_set_persistent room_set_background_colour ' + + 'room_set_background_color room_set_view room_set_viewport ' + + 'room_get_viewport room_set_view_enabled room_add room_duplicate ' + + 'room_assign room_instance_add room_instance_clear room_get_camera ' + + 'room_set_camera asset_get_index asset_get_type ' + + 'file_text_open_from_string file_text_open_read file_text_open_write ' + + 'file_text_open_append file_text_close file_text_write_string ' + + 'file_text_write_real file_text_writeln file_text_read_string ' + + 'file_text_read_real file_text_readln file_text_eof file_text_eoln ' + + 'file_exists file_delete file_rename file_copy directory_exists ' + + 'directory_create directory_destroy file_find_first file_find_next ' + + 'file_find_close file_attributes filename_name filename_path ' + + 'filename_dir filename_drive filename_ext filename_change_ext ' + + 'file_bin_open file_bin_rewrite file_bin_close file_bin_position ' + + 'file_bin_size file_bin_seek file_bin_write_byte file_bin_read_byte ' + + 'parameter_count parameter_string environment_get_variable ' + + 'ini_open_from_string ini_open ini_close ini_read_string ' + + 'ini_read_real ini_write_string ini_write_real ini_key_exists ' + + 'ini_section_exists ini_key_delete ini_section_delete ' + + 'ds_set_precision ds_exists ds_stack_create ds_stack_destroy ' + + 'ds_stack_clear ds_stack_copy ds_stack_size ds_stack_empty ' + + 'ds_stack_push ds_stack_pop ds_stack_top ds_stack_write ds_stack_read ' + + 'ds_queue_create ds_queue_destroy ds_queue_clear ds_queue_copy ' + + 'ds_queue_size ds_queue_empty ds_queue_enqueue ds_queue_dequeue ' + + 'ds_queue_head ds_queue_tail ds_queue_write ds_queue_read ' + + 'ds_list_create ds_list_destroy ds_list_clear ds_list_copy ' + + 'ds_list_size ds_list_empty ds_list_add ds_list_insert ' + + 'ds_list_replace ds_list_delete ds_list_find_index ds_list_find_value ' + + 'ds_list_mark_as_list ds_list_mark_as_map ds_list_sort ' + + 'ds_list_shuffle ds_list_write ds_list_read ds_list_set ds_map_create ' + + 'ds_map_destroy ds_map_clear ds_map_copy ds_map_size ds_map_empty ' + + 'ds_map_add ds_map_add_list ds_map_add_map ds_map_replace ' + + 'ds_map_replace_map ds_map_replace_list ds_map_delete ds_map_exists ' + + 'ds_map_find_value ds_map_find_previous ds_map_find_next ' + + 'ds_map_find_first ds_map_find_last ds_map_write ds_map_read ' + + 'ds_map_secure_save ds_map_secure_load ds_map_secure_load_buffer ' + + 'ds_map_secure_save_buffer ds_map_set ds_priority_create ' + + 'ds_priority_destroy ds_priority_clear ds_priority_copy ' + + 'ds_priority_size ds_priority_empty ds_priority_add ' + + 'ds_priority_change_priority ds_priority_find_priority ' + + 'ds_priority_delete_value ds_priority_delete_min ds_priority_find_min ' + + 'ds_priority_delete_max ds_priority_find_max ds_priority_write ' + + 'ds_priority_read ds_grid_create ds_grid_destroy ds_grid_copy ' + + 'ds_grid_resize ds_grid_width ds_grid_height ds_grid_clear ' + + 'ds_grid_set ds_grid_add ds_grid_multiply ds_grid_set_region ' + + 'ds_grid_add_region ds_grid_multiply_region ds_grid_set_disk ' + + 'ds_grid_add_disk ds_grid_multiply_disk ds_grid_set_grid_region ' + + 'ds_grid_add_grid_region ds_grid_multiply_grid_region ds_grid_get ' + + 'ds_grid_get_sum ds_grid_get_max ds_grid_get_min ds_grid_get_mean ' + + 'ds_grid_get_disk_sum ds_grid_get_disk_min ds_grid_get_disk_max ' + + 'ds_grid_get_disk_mean ds_grid_value_exists ds_grid_value_x ' + + 'ds_grid_value_y ds_grid_value_disk_exists ds_grid_value_disk_x ' + + 'ds_grid_value_disk_y ds_grid_shuffle ds_grid_write ds_grid_read ' + + 'ds_grid_sort ds_grid_set ds_grid_get effect_create_below ' + + 'effect_create_above effect_clear part_type_create part_type_destroy ' + + 'part_type_exists part_type_clear part_type_shape part_type_sprite ' + + 'part_type_size part_type_scale part_type_orientation part_type_life ' + + 'part_type_step part_type_death part_type_speed part_type_direction ' + + 'part_type_gravity part_type_colour1 part_type_colour2 ' + + 'part_type_colour3 part_type_colour_mix part_type_colour_rgb ' + + 'part_type_colour_hsv part_type_color1 part_type_color2 ' + + 'part_type_color3 part_type_color_mix part_type_color_rgb ' + + 'part_type_color_hsv part_type_alpha1 part_type_alpha2 ' + + 'part_type_alpha3 part_type_blend part_system_create ' + + 'part_system_create_layer part_system_destroy part_system_exists ' + + 'part_system_clear part_system_draw_order part_system_depth ' + + 'part_system_position part_system_automatic_update ' + + 'part_system_automatic_draw part_system_update part_system_drawit ' + + 'part_system_get_layer part_system_layer part_particles_create ' + + 'part_particles_create_colour part_particles_create_color ' + + 'part_particles_clear part_particles_count part_emitter_create ' + + 'part_emitter_destroy part_emitter_destroy_all part_emitter_exists ' + + 'part_emitter_clear part_emitter_region part_emitter_burst ' + + 'part_emitter_stream external_call external_define external_free ' + + 'window_handle window_device matrix_get matrix_set ' + + 'matrix_build_identity matrix_build matrix_build_lookat ' + + 'matrix_build_projection_ortho matrix_build_projection_perspective ' + + 'matrix_build_projection_perspective_fov matrix_multiply ' + + 'matrix_transform_vertex matrix_stack_push matrix_stack_pop ' + + 'matrix_stack_multiply matrix_stack_set matrix_stack_clear ' + + 'matrix_stack_top matrix_stack_is_empty browser_input_capture ' + + 'os_get_config os_get_info os_get_language os_get_region ' + + 'os_lock_orientation display_get_dpi_x display_get_dpi_y ' + + 'display_set_gui_size display_set_gui_maximise ' + + 'display_set_gui_maximize device_mouse_dbclick_enable ' + + 'display_set_timing_method display_get_timing_method ' + + 'display_set_sleep_margin display_get_sleep_margin virtual_key_add ' + + 'virtual_key_hide virtual_key_delete virtual_key_show ' + + 'draw_enable_drawevent draw_enable_swf_aa draw_set_swf_aa_level ' + + 'draw_get_swf_aa_level draw_texture_flush draw_flush ' + + 'gpu_set_blendenable gpu_set_ztestenable gpu_set_zfunc ' + + 'gpu_set_zwriteenable gpu_set_lightingenable gpu_set_fog ' + + 'gpu_set_cullmode gpu_set_blendmode gpu_set_blendmode_ext ' + + 'gpu_set_blendmode_ext_sepalpha gpu_set_colorwriteenable ' + + 'gpu_set_colourwriteenable gpu_set_alphatestenable ' + + 'gpu_set_alphatestref gpu_set_alphatestfunc gpu_set_texfilter ' + + 'gpu_set_texfilter_ext gpu_set_texrepeat gpu_set_texrepeat_ext ' + + 'gpu_set_tex_filter gpu_set_tex_filter_ext gpu_set_tex_repeat ' + + 'gpu_set_tex_repeat_ext gpu_set_tex_mip_filter ' + + 'gpu_set_tex_mip_filter_ext gpu_set_tex_mip_bias ' + + 'gpu_set_tex_mip_bias_ext gpu_set_tex_min_mip gpu_set_tex_min_mip_ext ' + + 'gpu_set_tex_max_mip gpu_set_tex_max_mip_ext gpu_set_tex_max_aniso ' + + 'gpu_set_tex_max_aniso_ext gpu_set_tex_mip_enable ' + + 'gpu_set_tex_mip_enable_ext gpu_get_blendenable gpu_get_ztestenable ' + + 'gpu_get_zfunc gpu_get_zwriteenable gpu_get_lightingenable ' + + 'gpu_get_fog gpu_get_cullmode gpu_get_blendmode gpu_get_blendmode_ext ' + + 'gpu_get_blendmode_ext_sepalpha gpu_get_blendmode_src ' + + 'gpu_get_blendmode_dest gpu_get_blendmode_srcalpha ' + + 'gpu_get_blendmode_destalpha gpu_get_colorwriteenable ' + + 'gpu_get_colourwriteenable gpu_get_alphatestenable ' + + 'gpu_get_alphatestref gpu_get_alphatestfunc gpu_get_texfilter ' + + 'gpu_get_texfilter_ext gpu_get_texrepeat gpu_get_texrepeat_ext ' + + 'gpu_get_tex_filter gpu_get_tex_filter_ext gpu_get_tex_repeat ' + + 'gpu_get_tex_repeat_ext gpu_get_tex_mip_filter ' + + 'gpu_get_tex_mip_filter_ext gpu_get_tex_mip_bias ' + + 'gpu_get_tex_mip_bias_ext gpu_get_tex_min_mip gpu_get_tex_min_mip_ext ' + + 'gpu_get_tex_max_mip gpu_get_tex_max_mip_ext gpu_get_tex_max_aniso ' + + 'gpu_get_tex_max_aniso_ext gpu_get_tex_mip_enable ' + + 'gpu_get_tex_mip_enable_ext gpu_push_state gpu_pop_state ' + + 'gpu_get_state gpu_set_state draw_light_define_ambient ' + + 'draw_light_define_direction draw_light_define_point ' + + 'draw_light_enable draw_set_lighting draw_light_get_ambient ' + + 'draw_light_get draw_get_lighting shop_leave_rating url_get_domain ' + + 'url_open url_open_ext url_open_full get_timer achievement_login ' + + 'achievement_logout achievement_post achievement_increment ' + + 'achievement_post_score achievement_available ' + + 'achievement_show_achievements achievement_show_leaderboards ' + + 'achievement_load_friends achievement_load_leaderboard ' + + 'achievement_send_challenge achievement_load_progress ' + + 'achievement_reset achievement_login_status achievement_get_pic ' + + 'achievement_show_challenge_notifications achievement_get_challenges ' + + 'achievement_event achievement_show achievement_get_info ' + + 'cloud_file_save cloud_string_save cloud_synchronise ads_enable ' + + 'ads_disable ads_setup ads_engagement_launch ads_engagement_available ' + + 'ads_engagement_active ads_event ads_event_preload ' + + 'ads_set_reward_callback ads_get_display_height ads_get_display_width ' + + 'ads_move ads_interstitial_available ads_interstitial_display ' + + 'device_get_tilt_x device_get_tilt_y device_get_tilt_z ' + + 'device_is_keypad_open device_mouse_check_button ' + + 'device_mouse_check_button_pressed device_mouse_check_button_released ' + + 'device_mouse_x device_mouse_y device_mouse_raw_x device_mouse_raw_y ' + + 'device_mouse_x_to_gui device_mouse_y_to_gui iap_activate iap_status ' + + 'iap_enumerate_products iap_restore_all iap_acquire iap_consume ' + + 'iap_product_details iap_purchase_details facebook_init ' + + 'facebook_login facebook_status facebook_graph_request ' + + 'facebook_dialog facebook_logout facebook_launch_offerwall ' + + 'facebook_post_message facebook_send_invite facebook_user_id ' + + 'facebook_accesstoken facebook_check_permission ' + + 'facebook_request_read_permissions ' + + 'facebook_request_publish_permissions gamepad_is_supported ' + + 'gamepad_get_device_count gamepad_is_connected ' + + 'gamepad_get_description gamepad_get_button_threshold ' + + 'gamepad_set_button_threshold gamepad_get_axis_deadzone ' + + 'gamepad_set_axis_deadzone gamepad_button_count gamepad_button_check ' + + 'gamepad_button_check_pressed gamepad_button_check_released ' + + 'gamepad_button_value gamepad_axis_count gamepad_axis_value ' + + 'gamepad_set_vibration gamepad_set_colour gamepad_set_color ' + + 'os_is_paused window_has_focus code_is_compiled http_get ' + + 'http_get_file http_post_string http_request json_encode json_decode ' + + 'zip_unzip load_csv base64_encode base64_decode md5_string_unicode ' + + 'md5_string_utf8 md5_file os_is_network_connected sha1_string_unicode ' + + 'sha1_string_utf8 sha1_file os_powersave_enable analytics_event ' + + 'analytics_event_ext win8_livetile_tile_notification ' + + 'win8_livetile_tile_clear win8_livetile_badge_notification ' + + 'win8_livetile_badge_clear win8_livetile_queue_enable ' + + 'win8_secondarytile_pin win8_secondarytile_badge_notification ' + + 'win8_secondarytile_delete win8_livetile_notification_begin ' + + 'win8_livetile_notification_secondary_begin ' + + 'win8_livetile_notification_expiry win8_livetile_notification_tag ' + + 'win8_livetile_notification_text_add ' + + 'win8_livetile_notification_image_add win8_livetile_notification_end ' + + 'win8_appbar_enable win8_appbar_add_element ' + + 'win8_appbar_remove_element win8_settingscharm_add_entry ' + + 'win8_settingscharm_add_html_entry win8_settingscharm_add_xaml_entry ' + + 'win8_settingscharm_set_xaml_property ' + + 'win8_settingscharm_get_xaml_property win8_settingscharm_remove_entry ' + + 'win8_share_image win8_share_screenshot win8_share_file ' + + 'win8_share_url win8_share_text win8_search_enable ' + + 'win8_search_disable win8_search_add_suggestions ' + + 'win8_device_touchscreen_available win8_license_initialize_sandbox ' + + 'win8_license_trial_version winphone_license_trial_version ' + + 'winphone_tile_title winphone_tile_count winphone_tile_back_title ' + + 'winphone_tile_back_content winphone_tile_back_content_wide ' + + 'winphone_tile_front_image winphone_tile_front_image_small ' + + 'winphone_tile_front_image_wide winphone_tile_back_image ' + + 'winphone_tile_back_image_wide winphone_tile_background_colour ' + + 'winphone_tile_background_color winphone_tile_icon_image ' + + 'winphone_tile_small_icon_image winphone_tile_wide_content ' + + 'winphone_tile_cycle_images winphone_tile_small_background_image ' + + 'physics_world_create physics_world_gravity ' + + 'physics_world_update_speed physics_world_update_iterations ' + + 'physics_world_draw_debug physics_pause_enable physics_fixture_create ' + + 'physics_fixture_set_kinematic physics_fixture_set_density ' + + 'physics_fixture_set_awake physics_fixture_set_restitution ' + + 'physics_fixture_set_friction physics_fixture_set_collision_group ' + + 'physics_fixture_set_sensor physics_fixture_set_linear_damping ' + + 'physics_fixture_set_angular_damping physics_fixture_set_circle_shape ' + + 'physics_fixture_set_box_shape physics_fixture_set_edge_shape ' + + 'physics_fixture_set_polygon_shape physics_fixture_set_chain_shape ' + + 'physics_fixture_add_point physics_fixture_bind ' + + 'physics_fixture_bind_ext physics_fixture_delete physics_apply_force ' + + 'physics_apply_impulse physics_apply_angular_impulse ' + + 'physics_apply_local_force physics_apply_local_impulse ' + + 'physics_apply_torque physics_mass_properties physics_draw_debug ' + + 'physics_test_overlap physics_remove_fixture physics_set_friction ' + + 'physics_set_density physics_set_restitution physics_get_friction ' + + 'physics_get_density physics_get_restitution ' + + 'physics_joint_distance_create physics_joint_rope_create ' + + 'physics_joint_revolute_create physics_joint_prismatic_create ' + + 'physics_joint_pulley_create physics_joint_wheel_create ' + + 'physics_joint_weld_create physics_joint_friction_create ' + + 'physics_joint_gear_create physics_joint_enable_motor ' + + 'physics_joint_get_value physics_joint_set_value physics_joint_delete ' + + 'physics_particle_create physics_particle_delete ' + + 'physics_particle_delete_region_circle ' + + 'physics_particle_delete_region_box ' + + 'physics_particle_delete_region_poly physics_particle_set_flags ' + + 'physics_particle_set_category_flags physics_particle_draw ' + + 'physics_particle_draw_ext physics_particle_count ' + + 'physics_particle_get_data physics_particle_get_data_particle ' + + 'physics_particle_group_begin physics_particle_group_circle ' + + 'physics_particle_group_box physics_particle_group_polygon ' + + 'physics_particle_group_add_point physics_particle_group_end ' + + 'physics_particle_group_join physics_particle_group_delete ' + + 'physics_particle_group_count physics_particle_group_get_data ' + + 'physics_particle_group_get_mass physics_particle_group_get_inertia ' + + 'physics_particle_group_get_centre_x ' + + 'physics_particle_group_get_centre_y physics_particle_group_get_vel_x ' + + 'physics_particle_group_get_vel_y physics_particle_group_get_ang_vel ' + + 'physics_particle_group_get_x physics_particle_group_get_y ' + + 'physics_particle_group_get_angle physics_particle_set_group_flags ' + + 'physics_particle_get_group_flags physics_particle_get_max_count ' + + 'physics_particle_get_radius physics_particle_get_density ' + + 'physics_particle_get_damping physics_particle_get_gravity_scale ' + + 'physics_particle_set_max_count physics_particle_set_radius ' + + 'physics_particle_set_density physics_particle_set_damping ' + + 'physics_particle_set_gravity_scale network_create_socket ' + + 'network_create_socket_ext network_create_server ' + + 'network_create_server_raw network_connect network_connect_raw ' + + 'network_send_packet network_send_raw network_send_broadcast ' + + 'network_send_udp network_send_udp_raw network_set_timeout ' + + 'network_set_config network_resolve network_destroy buffer_create ' + + 'buffer_write buffer_read buffer_seek buffer_get_surface ' + + 'buffer_set_surface buffer_delete buffer_exists buffer_get_type ' + + 'buffer_get_alignment buffer_poke buffer_peek buffer_save ' + + 'buffer_save_ext buffer_load buffer_load_ext buffer_load_partial ' + + 'buffer_copy buffer_fill buffer_get_size buffer_tell buffer_resize ' + + 'buffer_md5 buffer_sha1 buffer_base64_encode buffer_base64_decode ' + + 'buffer_base64_decode_ext buffer_sizeof buffer_get_address ' + + 'buffer_create_from_vertex_buffer ' + + 'buffer_create_from_vertex_buffer_ext buffer_copy_from_vertex_buffer ' + + 'buffer_async_group_begin buffer_async_group_option ' + + 'buffer_async_group_end buffer_load_async buffer_save_async ' + + 'gml_release_mode gml_pragma steam_activate_overlay ' + + 'steam_is_overlay_enabled steam_is_overlay_activated ' + + 'steam_get_persona_name steam_initialised ' + + 'steam_is_cloud_enabled_for_app steam_is_cloud_enabled_for_account ' + + 'steam_file_persisted steam_get_quota_total steam_get_quota_free ' + + 'steam_file_write steam_file_write_file steam_file_read ' + + 'steam_file_delete steam_file_exists steam_file_size steam_file_share ' + + 'steam_is_screenshot_requested steam_send_screenshot ' + + 'steam_is_user_logged_on steam_get_user_steam_id steam_user_owns_dlc ' + + 'steam_user_installed_dlc steam_set_achievement steam_get_achievement ' + + 'steam_clear_achievement steam_set_stat_int steam_set_stat_float ' + + 'steam_set_stat_avg_rate steam_get_stat_int steam_get_stat_float ' + + 'steam_get_stat_avg_rate steam_reset_all_stats ' + + 'steam_reset_all_stats_achievements steam_stats_ready ' + + 'steam_create_leaderboard steam_upload_score steam_upload_score_ext ' + + 'steam_download_scores_around_user steam_download_scores ' + + 'steam_download_friends_scores steam_upload_score_buffer ' + + 'steam_upload_score_buffer_ext steam_current_game_language ' + + 'steam_available_languages steam_activate_overlay_browser ' + + 'steam_activate_overlay_user steam_activate_overlay_store ' + + 'steam_get_user_persona_name steam_get_app_id ' + + 'steam_get_user_account_id steam_ugc_download steam_ugc_create_item ' + + 'steam_ugc_start_item_update steam_ugc_set_item_title ' + + 'steam_ugc_set_item_description steam_ugc_set_item_visibility ' + + 'steam_ugc_set_item_tags steam_ugc_set_item_content ' + + 'steam_ugc_set_item_preview steam_ugc_submit_item_update ' + + 'steam_ugc_get_item_update_progress steam_ugc_subscribe_item ' + + 'steam_ugc_unsubscribe_item steam_ugc_num_subscribed_items ' + + 'steam_ugc_get_subscribed_items steam_ugc_get_item_install_info ' + + 'steam_ugc_get_item_update_info steam_ugc_request_item_details ' + + 'steam_ugc_create_query_user steam_ugc_create_query_user_ex ' + + 'steam_ugc_create_query_all steam_ugc_create_query_all_ex ' + + 'steam_ugc_query_set_cloud_filename_filter ' + + 'steam_ugc_query_set_match_any_tag steam_ugc_query_set_search_text ' + + 'steam_ugc_query_set_ranked_by_trend_days ' + + 'steam_ugc_query_add_required_tag steam_ugc_query_add_excluded_tag ' + + 'steam_ugc_query_set_return_long_description ' + + 'steam_ugc_query_set_return_total_only ' + + 'steam_ugc_query_set_allow_cached_response steam_ugc_send_query ' + + 'shader_set shader_get_name shader_reset shader_current ' + + 'shader_is_compiled shader_get_sampler_index shader_get_uniform ' + + 'shader_set_uniform_i shader_set_uniform_i_array shader_set_uniform_f ' + + 'shader_set_uniform_f_array shader_set_uniform_matrix ' + + 'shader_set_uniform_matrix_array shader_enable_corner_id ' + + 'texture_set_stage texture_get_texel_width texture_get_texel_height ' + + 'shaders_are_supported vertex_format_begin vertex_format_end ' + + 'vertex_format_delete vertex_format_add_position ' + + 'vertex_format_add_position_3d vertex_format_add_colour ' + + 'vertex_format_add_color vertex_format_add_normal ' + + 'vertex_format_add_texcoord vertex_format_add_textcoord ' + + 'vertex_format_add_custom vertex_create_buffer ' + + 'vertex_create_buffer_ext vertex_delete_buffer vertex_begin ' + + 'vertex_end vertex_position vertex_position_3d vertex_colour ' + + 'vertex_color vertex_argb vertex_texcoord vertex_normal vertex_float1 ' + + 'vertex_float2 vertex_float3 vertex_float4 vertex_ubyte4 ' + + 'vertex_submit vertex_freeze vertex_get_number vertex_get_buffer_size ' + + 'vertex_create_buffer_from_buffer ' + + 'vertex_create_buffer_from_buffer_ext push_local_notification ' + + 'push_get_first_local_notification push_get_next_local_notification ' + + 'push_cancel_local_notification skeleton_animation_set ' + + 'skeleton_animation_get skeleton_animation_mix ' + + 'skeleton_animation_set_ext skeleton_animation_get_ext ' + + 'skeleton_animation_get_duration skeleton_animation_get_frames ' + + 'skeleton_animation_clear skeleton_skin_set skeleton_skin_get ' + + 'skeleton_attachment_set skeleton_attachment_get ' + + 'skeleton_attachment_create skeleton_collision_draw_set ' + + 'skeleton_bone_data_get skeleton_bone_data_set ' + + 'skeleton_bone_state_get skeleton_bone_state_set skeleton_get_minmax ' + + 'skeleton_get_num_bounds skeleton_get_bounds ' + + 'skeleton_animation_get_frame skeleton_animation_set_frame ' + + 'draw_skeleton draw_skeleton_time draw_skeleton_instance ' + + 'draw_skeleton_collision skeleton_animation_list skeleton_skin_list ' + + 'skeleton_slot_data layer_get_id layer_get_id_at_depth ' + + 'layer_get_depth layer_create layer_destroy layer_destroy_instances ' + + 'layer_add_instance layer_has_instance layer_set_visible ' + + 'layer_get_visible layer_exists layer_x layer_y layer_get_x ' + + 'layer_get_y layer_hspeed layer_vspeed layer_get_hspeed ' + + 'layer_get_vspeed layer_script_begin layer_script_end layer_shader ' + + 'layer_get_script_begin layer_get_script_end layer_get_shader ' + + 'layer_set_target_room layer_get_target_room layer_reset_target_room ' + + 'layer_get_all layer_get_all_elements layer_get_name layer_depth ' + + 'layer_get_element_layer layer_get_element_type layer_element_move ' + + 'layer_force_draw_depth layer_is_draw_depth_forced ' + + 'layer_get_forced_depth layer_background_get_id ' + + 'layer_background_exists layer_background_create ' + + 'layer_background_destroy layer_background_visible ' + + 'layer_background_change layer_background_sprite ' + + 'layer_background_htiled layer_background_vtiled ' + + 'layer_background_stretch layer_background_yscale ' + + 'layer_background_xscale layer_background_blend ' + + 'layer_background_alpha layer_background_index layer_background_speed ' + + 'layer_background_get_visible layer_background_get_sprite ' + + 'layer_background_get_htiled layer_background_get_vtiled ' + + 'layer_background_get_stretch layer_background_get_yscale ' + + 'layer_background_get_xscale layer_background_get_blend ' + + 'layer_background_get_alpha layer_background_get_index ' + + 'layer_background_get_speed layer_sprite_get_id layer_sprite_exists ' + + 'layer_sprite_create layer_sprite_destroy layer_sprite_change ' + + 'layer_sprite_index layer_sprite_speed layer_sprite_xscale ' + + 'layer_sprite_yscale layer_sprite_angle layer_sprite_blend ' + + 'layer_sprite_alpha layer_sprite_x layer_sprite_y ' + + 'layer_sprite_get_sprite layer_sprite_get_index ' + + 'layer_sprite_get_speed layer_sprite_get_xscale ' + + 'layer_sprite_get_yscale layer_sprite_get_angle ' + + 'layer_sprite_get_blend layer_sprite_get_alpha layer_sprite_get_x ' + + 'layer_sprite_get_y layer_tilemap_get_id layer_tilemap_exists ' + + 'layer_tilemap_create layer_tilemap_destroy tilemap_tileset tilemap_x ' + + 'tilemap_y tilemap_set tilemap_set_at_pixel tilemap_get_tileset ' + + 'tilemap_get_tile_width tilemap_get_tile_height tilemap_get_width ' + + 'tilemap_get_height tilemap_get_x tilemap_get_y tilemap_get ' + + 'tilemap_get_at_pixel tilemap_get_cell_x_at_pixel ' + + 'tilemap_get_cell_y_at_pixel tilemap_clear draw_tilemap draw_tile ' + + 'tilemap_set_global_mask tilemap_get_global_mask tilemap_set_mask ' + + 'tilemap_get_mask tilemap_get_frame tile_set_empty tile_set_index ' + + 'tile_set_flip tile_set_mirror tile_set_rotate tile_get_empty ' + + 'tile_get_index tile_get_flip tile_get_mirror tile_get_rotate ' + + 'layer_tile_exists layer_tile_create layer_tile_destroy ' + + 'layer_tile_change layer_tile_xscale layer_tile_yscale ' + + 'layer_tile_blend layer_tile_alpha layer_tile_x layer_tile_y ' + + 'layer_tile_region layer_tile_visible layer_tile_get_sprite ' + + 'layer_tile_get_xscale layer_tile_get_yscale layer_tile_get_blend ' + + 'layer_tile_get_alpha layer_tile_get_x layer_tile_get_y ' + + 'layer_tile_get_region layer_tile_get_visible ' + + 'layer_instance_get_instance instance_activate_layer ' + + 'instance_deactivate_layer camera_create camera_create_view ' + + 'camera_destroy camera_apply camera_get_active camera_get_default ' + + 'camera_set_default camera_set_view_mat camera_set_proj_mat ' + + 'camera_set_update_script camera_set_begin_script ' + + 'camera_set_end_script camera_set_view_pos camera_set_view_size ' + + 'camera_set_view_speed camera_set_view_border camera_set_view_angle ' + + 'camera_set_view_target camera_get_view_mat camera_get_proj_mat ' + + 'camera_get_update_script camera_get_begin_script ' + + 'camera_get_end_script camera_get_view_x camera_get_view_y ' + + 'camera_get_view_width camera_get_view_height camera_get_view_speed_x ' + + 'camera_get_view_speed_y camera_get_view_border_x ' + + 'camera_get_view_border_y camera_get_view_angle ' + + 'camera_get_view_target view_get_camera view_get_visible ' + + 'view_get_xport view_get_yport view_get_wport view_get_hport ' + + 'view_get_surface_id view_set_camera view_set_visible view_set_xport ' + + 'view_set_yport view_set_wport view_set_hport view_set_surface_id ' + + 'gesture_drag_time gesture_drag_distance gesture_flick_speed ' + + 'gesture_double_tap_time gesture_double_tap_distance ' + + 'gesture_pinch_distance gesture_pinch_angle_towards ' + + 'gesture_pinch_angle_away gesture_rotate_time gesture_rotate_angle ' + + 'gesture_tap_count gesture_get_drag_time gesture_get_drag_distance ' + + 'gesture_get_flick_speed gesture_get_double_tap_time ' + + 'gesture_get_double_tap_distance gesture_get_pinch_distance ' + + 'gesture_get_pinch_angle_towards gesture_get_pinch_angle_away ' + + 'gesture_get_rotate_time gesture_get_rotate_angle ' + + 'gesture_get_tap_count keyboard_virtual_show keyboard_virtual_hide ' + + 'keyboard_virtual_status keyboard_virtual_height', + literal: + 'self other all noone global local undefined pointer_invalid ' + + 'pointer_null path_action_stop path_action_restart ' + + 'path_action_continue path_action_reverse true false pi GM_build_date ' + + 'GM_version GM_runtime_version timezone_local timezone_utc ' + + 'gamespeed_fps gamespeed_microseconds ev_create ev_destroy ev_step ' + + 'ev_alarm ev_keyboard ev_mouse ev_collision ev_other ev_draw ' + + 'ev_draw_begin ev_draw_end ev_draw_pre ev_draw_post ev_keypress ' + + 'ev_keyrelease ev_trigger ev_left_button ev_right_button ' + + 'ev_middle_button ev_no_button ev_left_press ev_right_press ' + + 'ev_middle_press ev_left_release ev_right_release ev_middle_release ' + + 'ev_mouse_enter ev_mouse_leave ev_mouse_wheel_up ev_mouse_wheel_down ' + + 'ev_global_left_button ev_global_right_button ev_global_middle_button ' + + 'ev_global_left_press ev_global_right_press ev_global_middle_press ' + + 'ev_global_left_release ev_global_right_release ' + + 'ev_global_middle_release ev_joystick1_left ev_joystick1_right ' + + 'ev_joystick1_up ev_joystick1_down ev_joystick1_button1 ' + + 'ev_joystick1_button2 ev_joystick1_button3 ev_joystick1_button4 ' + + 'ev_joystick1_button5 ev_joystick1_button6 ev_joystick1_button7 ' + + 'ev_joystick1_button8 ev_joystick2_left ev_joystick2_right ' + + 'ev_joystick2_up ev_joystick2_down ev_joystick2_button1 ' + + 'ev_joystick2_button2 ev_joystick2_button3 ev_joystick2_button4 ' + + 'ev_joystick2_button5 ev_joystick2_button6 ev_joystick2_button7 ' + + 'ev_joystick2_button8 ev_outside ev_boundary ev_game_start ' + + 'ev_game_end ev_room_start ev_room_end ev_no_more_lives ' + + 'ev_animation_end ev_end_of_path ev_no_more_health ev_close_button ' + + 'ev_user0 ev_user1 ev_user2 ev_user3 ev_user4 ev_user5 ev_user6 ' + + 'ev_user7 ev_user8 ev_user9 ev_user10 ev_user11 ev_user12 ev_user13 ' + + 'ev_user14 ev_user15 ev_step_normal ev_step_begin ev_step_end ev_gui ' + + 'ev_gui_begin ev_gui_end ev_cleanup ev_gesture ev_gesture_tap ' + + 'ev_gesture_double_tap ev_gesture_drag_start ev_gesture_dragging ' + + 'ev_gesture_drag_end ev_gesture_flick ev_gesture_pinch_start ' + + 'ev_gesture_pinch_in ev_gesture_pinch_out ev_gesture_pinch_end ' + + 'ev_gesture_rotate_start ev_gesture_rotating ev_gesture_rotate_end ' + + 'ev_global_gesture_tap ev_global_gesture_double_tap ' + + 'ev_global_gesture_drag_start ev_global_gesture_dragging ' + + 'ev_global_gesture_drag_end ev_global_gesture_flick ' + + 'ev_global_gesture_pinch_start ev_global_gesture_pinch_in ' + + 'ev_global_gesture_pinch_out ev_global_gesture_pinch_end ' + + 'ev_global_gesture_rotate_start ev_global_gesture_rotating ' + + 'ev_global_gesture_rotate_end vk_nokey vk_anykey vk_enter vk_return ' + + 'vk_shift vk_control vk_alt vk_escape vk_space vk_backspace vk_tab ' + + 'vk_pause vk_printscreen vk_left vk_right vk_up vk_down vk_home ' + + 'vk_end vk_delete vk_insert vk_pageup vk_pagedown vk_f1 vk_f2 vk_f3 ' + + 'vk_f4 vk_f5 vk_f6 vk_f7 vk_f8 vk_f9 vk_f10 vk_f11 vk_f12 vk_numpad0 ' + + 'vk_numpad1 vk_numpad2 vk_numpad3 vk_numpad4 vk_numpad5 vk_numpad6 ' + + 'vk_numpad7 vk_numpad8 vk_numpad9 vk_divide vk_multiply vk_subtract ' + + 'vk_add vk_decimal vk_lshift vk_lcontrol vk_lalt vk_rshift ' + + 'vk_rcontrol vk_ralt mb_any mb_none mb_left mb_right mb_middle ' + + 'c_aqua c_black c_blue c_dkgray c_fuchsia c_gray c_green c_lime ' + + 'c_ltgray c_maroon c_navy c_olive c_purple c_red c_silver c_teal ' + + 'c_white c_yellow c_orange fa_left fa_center fa_right fa_top ' + + 'fa_middle fa_bottom pr_pointlist pr_linelist pr_linestrip ' + + 'pr_trianglelist pr_trianglestrip pr_trianglefan bm_complex bm_normal ' + + 'bm_add bm_max bm_subtract bm_zero bm_one bm_src_colour ' + + 'bm_inv_src_colour bm_src_color bm_inv_src_color bm_src_alpha ' + + 'bm_inv_src_alpha bm_dest_alpha bm_inv_dest_alpha bm_dest_colour ' + + 'bm_inv_dest_colour bm_dest_color bm_inv_dest_color bm_src_alpha_sat ' + + 'tf_point tf_linear tf_anisotropic mip_off mip_on mip_markedonly ' + + 'audio_falloff_none audio_falloff_inverse_distance ' + + 'audio_falloff_inverse_distance_clamped audio_falloff_linear_distance ' + + 'audio_falloff_linear_distance_clamped ' + + 'audio_falloff_exponent_distance ' + + 'audio_falloff_exponent_distance_clamped audio_old_system ' + + 'audio_new_system audio_mono audio_stereo audio_3d cr_default cr_none ' + + 'cr_arrow cr_cross cr_beam cr_size_nesw cr_size_ns cr_size_nwse ' + + 'cr_size_we cr_uparrow cr_hourglass cr_drag cr_appstart cr_handpoint ' + + 'cr_size_all spritespeed_framespersecond ' + + 'spritespeed_framespergameframe asset_object asset_unknown ' + + 'asset_sprite asset_sound asset_room asset_path asset_script ' + + 'asset_font asset_timeline asset_tiles asset_shader fa_readonly ' + + 'fa_hidden fa_sysfile fa_volumeid fa_directory fa_archive ' + + 'ds_type_map ds_type_list ds_type_stack ds_type_queue ds_type_grid ' + + 'ds_type_priority ef_explosion ef_ring ef_ellipse ef_firework ' + + 'ef_smoke ef_smokeup ef_star ef_spark ef_flare ef_cloud ef_rain ' + + 'ef_snow pt_shape_pixel pt_shape_disk pt_shape_square pt_shape_line ' + + 'pt_shape_star pt_shape_circle pt_shape_ring pt_shape_sphere ' + + 'pt_shape_flare pt_shape_spark pt_shape_explosion pt_shape_cloud ' + + 'pt_shape_smoke pt_shape_snow ps_distr_linear ps_distr_gaussian ' + + 'ps_distr_invgaussian ps_shape_rectangle ps_shape_ellipse ' + + 'ps_shape_diamond ps_shape_line ty_real ty_string dll_cdecl ' + + 'dll_stdcall matrix_view matrix_projection matrix_world os_win32 ' + + 'os_windows os_macosx os_ios os_android os_symbian os_linux ' + + 'os_unknown os_winphone os_tizen os_win8native ' + + 'os_wiiu os_3ds os_psvita os_bb10 os_ps4 os_xboxone ' + + 'os_ps3 os_xbox360 os_uwp os_tvos os_switch ' + + 'browser_not_a_browser browser_unknown browser_ie browser_firefox ' + + 'browser_chrome browser_safari browser_safari_mobile browser_opera ' + + 'browser_tizen browser_edge browser_windows_store browser_ie_mobile ' + + 'device_ios_unknown device_ios_iphone device_ios_iphone_retina ' + + 'device_ios_ipad device_ios_ipad_retina device_ios_iphone5 ' + + 'device_ios_iphone6 device_ios_iphone6plus device_emulator ' + + 'device_tablet display_landscape display_landscape_flipped ' + + 'display_portrait display_portrait_flipped tm_sleep tm_countvsyncs ' + + 'of_challenge_win of_challen ge_lose of_challenge_tie ' + + 'leaderboard_type_number leaderboard_type_time_mins_secs ' + + 'cmpfunc_never cmpfunc_less cmpfunc_equal cmpfunc_lessequal ' + + 'cmpfunc_greater cmpfunc_notequal cmpfunc_greaterequal cmpfunc_always ' + + 'cull_noculling cull_clockwise cull_counterclockwise lighttype_dir ' + + 'lighttype_point iap_ev_storeload iap_ev_product iap_ev_purchase ' + + 'iap_ev_consume iap_ev_restore iap_storeload_ok iap_storeload_failed ' + + 'iap_status_uninitialised iap_status_unavailable iap_status_loading ' + + 'iap_status_available iap_status_processing iap_status_restoring ' + + 'iap_failed iap_unavailable iap_available iap_purchased iap_canceled ' + + 'iap_refunded fb_login_default fb_login_fallback_to_webview ' + + 'fb_login_no_fallback_to_webview fb_login_forcing_webview ' + + 'fb_login_use_system_account fb_login_forcing_safari ' + + 'phy_joint_anchor_1_x phy_joint_anchor_1_y phy_joint_anchor_2_x ' + + 'phy_joint_anchor_2_y phy_joint_reaction_force_x ' + + 'phy_joint_reaction_force_y phy_joint_reaction_torque ' + + 'phy_joint_motor_speed phy_joint_angle phy_joint_motor_torque ' + + 'phy_joint_max_motor_torque phy_joint_translation phy_joint_speed ' + + 'phy_joint_motor_force phy_joint_max_motor_force phy_joint_length_1 ' + + 'phy_joint_length_2 phy_joint_damping_ratio phy_joint_frequency ' + + 'phy_joint_lower_angle_limit phy_joint_upper_angle_limit ' + + 'phy_joint_angle_limits phy_joint_max_length phy_joint_max_torque ' + + 'phy_joint_max_force phy_debug_render_aabb ' + + 'phy_debug_render_collision_pairs phy_debug_render_coms ' + + 'phy_debug_render_core_shapes phy_debug_render_joints ' + + 'phy_debug_render_obb phy_debug_render_shapes ' + + 'phy_particle_flag_water phy_particle_flag_zombie ' + + 'phy_particle_flag_wall phy_particle_flag_spring ' + + 'phy_particle_flag_elastic phy_particle_flag_viscous ' + + 'phy_particle_flag_powder phy_particle_flag_tensile ' + + 'phy_particle_flag_colourmixing phy_particle_flag_colormixing ' + + 'phy_particle_group_flag_solid phy_particle_group_flag_rigid ' + + 'phy_particle_data_flag_typeflags phy_particle_data_flag_position ' + + 'phy_particle_data_flag_velocity phy_particle_data_flag_colour ' + + 'phy_particle_data_flag_color phy_particle_data_flag_category ' + + 'achievement_our_info achievement_friends_info ' + + 'achievement_leaderboard_info achievement_achievement_info ' + + 'achievement_filter_all_players achievement_filter_friends_only ' + + 'achievement_filter_favorites_only ' + + 'achievement_type_achievement_challenge ' + + 'achievement_type_score_challenge achievement_pic_loaded ' + + 'achievement_show_ui achievement_show_profile ' + + 'achievement_show_leaderboard achievement_show_achievement ' + + 'achievement_show_bank achievement_show_friend_picker ' + + 'achievement_show_purchase_prompt network_socket_tcp ' + + 'network_socket_udp network_socket_bluetooth network_type_connect ' + + 'network_type_disconnect network_type_data ' + + 'network_type_non_blocking_connect network_config_connect_timeout ' + + 'network_config_use_non_blocking_socket ' + + 'network_config_enable_reliable_udp ' + + 'network_config_disable_reliable_udp buffer_fixed buffer_grow ' + + 'buffer_wrap buffer_fast buffer_vbuffer buffer_network buffer_u8 ' + + 'buffer_s8 buffer_u16 buffer_s16 buffer_u32 buffer_s32 buffer_u64 ' + + 'buffer_f16 buffer_f32 buffer_f64 buffer_bool buffer_text ' + + 'buffer_string buffer_surface_copy buffer_seek_start ' + + 'buffer_seek_relative buffer_seek_end ' + + 'buffer_generalerror buffer_outofspace buffer_outofbounds ' + + 'buffer_invalidtype text_type button_type input_type ANSI_CHARSET ' + + 'DEFAULT_CHARSET EASTEUROPE_CHARSET RUSSIAN_CHARSET SYMBOL_CHARSET ' + + 'SHIFTJIS_CHARSET HANGEUL_CHARSET GB2312_CHARSET CHINESEBIG5_CHARSET ' + + 'JOHAB_CHARSET HEBREW_CHARSET ARABIC_CHARSET GREEK_CHARSET ' + + 'TURKISH_CHARSET VIETNAMESE_CHARSET THAI_CHARSET MAC_CHARSET ' + + 'BALTIC_CHARSET OEM_CHARSET gp_face1 gp_face2 gp_face3 gp_face4 ' + + 'gp_shoulderl gp_shoulderr gp_shoulderlb gp_shoulderrb gp_select ' + + 'gp_start gp_stickl gp_stickr gp_padu gp_padd gp_padl gp_padr ' + + 'gp_axislh gp_axislv gp_axisrh gp_axisrv ov_friends ov_community ' + + 'ov_players ov_settings ov_gamegroup ov_achievements lb_sort_none ' + + 'lb_sort_ascending lb_sort_descending lb_disp_none lb_disp_numeric ' + + 'lb_disp_time_sec lb_disp_time_ms ugc_result_success ' + + 'ugc_filetype_community ugc_filetype_microtrans ugc_visibility_public ' + + 'ugc_visibility_friends_only ugc_visibility_private ' + + 'ugc_query_RankedByVote ugc_query_RankedByPublicationDate ' + + 'ugc_query_AcceptedForGameRankedByAcceptanceDate ' + + 'ugc_query_RankedByTrend ' + + 'ugc_query_FavoritedByFriendsRankedByPublicationDate ' + + 'ugc_query_CreatedByFriendsRankedByPublicationDate ' + + 'ugc_query_RankedByNumTimesReported ' + + 'ugc_query_CreatedByFollowedUsersRankedByPublicationDate ' + + 'ugc_query_NotYetRated ugc_query_RankedByTotalVotesAsc ' + + 'ugc_query_RankedByVotesUp ugc_query_RankedByTextSearch ' + + 'ugc_sortorder_CreationOrderDesc ugc_sortorder_CreationOrderAsc ' + + 'ugc_sortorder_TitleAsc ugc_sortorder_LastUpdatedDesc ' + + 'ugc_sortorder_SubscriptionDateDesc ugc_sortorder_VoteScoreDesc ' + + 'ugc_sortorder_ForModeration ugc_list_Published ugc_list_VotedOn ' + + 'ugc_list_VotedUp ugc_list_VotedDown ugc_list_WillVoteLater ' + + 'ugc_list_Favorited ugc_list_Subscribed ugc_list_UsedOrPlayed ' + + 'ugc_list_Followed ugc_match_Items ugc_match_Items_Mtx ' + + 'ugc_match_Items_ReadyToUse ugc_match_Collections ugc_match_Artwork ' + + 'ugc_match_Videos ugc_match_Screenshots ugc_match_AllGuides ' + + 'ugc_match_WebGuides ugc_match_IntegratedGuides ' + + 'ugc_match_UsableInGame ugc_match_ControllerBindings ' + + 'vertex_usage_position vertex_usage_colour vertex_usage_color ' + + 'vertex_usage_normal vertex_usage_texcoord vertex_usage_textcoord ' + + 'vertex_usage_blendweight vertex_usage_blendindices ' + + 'vertex_usage_psize vertex_usage_tangent vertex_usage_binormal ' + + 'vertex_usage_fog vertex_usage_depth vertex_usage_sample ' + + 'vertex_type_float1 vertex_type_float2 vertex_type_float3 ' + + 'vertex_type_float4 vertex_type_colour vertex_type_color ' + + 'vertex_type_ubyte4 layerelementtype_undefined ' + + 'layerelementtype_background layerelementtype_instance ' + + 'layerelementtype_oldtilemap layerelementtype_sprite ' + + 'layerelementtype_tilemap layerelementtype_particlesystem ' + + 'layerelementtype_tile tile_rotate tile_flip tile_mirror ' + + 'tile_index_mask kbv_type_default kbv_type_ascii kbv_type_url ' + + 'kbv_type_email kbv_type_numbers kbv_type_phone kbv_type_phone_name ' + + 'kbv_returnkey_default kbv_returnkey_go kbv_returnkey_google ' + + 'kbv_returnkey_join kbv_returnkey_next kbv_returnkey_route ' + + 'kbv_returnkey_search kbv_returnkey_send kbv_returnkey_yahoo ' + + 'kbv_returnkey_done kbv_returnkey_continue kbv_returnkey_emergency ' + + 'kbv_autocapitalize_none kbv_autocapitalize_words ' + + 'kbv_autocapitalize_sentences kbv_autocapitalize_characters', + symbol: + 'argument_relative argument argument0 argument1 argument2 ' + + 'argument3 argument4 argument5 argument6 argument7 argument8 ' + + 'argument9 argument10 argument11 argument12 argument13 argument14 ' + + 'argument15 argument_count x y xprevious yprevious xstart ystart ' + + 'hspeed vspeed direction speed friction gravity gravity_direction ' + + 'path_index path_position path_positionprevious path_speed ' + + 'path_scale path_orientation path_endaction object_index id solid ' + + 'persistent mask_index instance_count instance_id room_speed fps ' + + 'fps_real current_time current_year current_month current_day ' + + 'current_weekday current_hour current_minute current_second alarm ' + + 'timeline_index timeline_position timeline_speed timeline_running ' + + 'timeline_loop room room_first room_last room_width room_height ' + + 'room_caption room_persistent score lives health show_score ' + + 'show_lives show_health caption_score caption_lives caption_health ' + + 'event_type event_number event_object event_action ' + + 'application_surface gamemaker_pro gamemaker_registered ' + + 'gamemaker_version error_occurred error_last debug_mode ' + + 'keyboard_key keyboard_lastkey keyboard_lastchar keyboard_string ' + + 'mouse_x mouse_y mouse_button mouse_lastbutton cursor_sprite ' + + 'visible sprite_index sprite_width sprite_height sprite_xoffset ' + + 'sprite_yoffset image_number image_index image_speed depth ' + + 'image_xscale image_yscale image_angle image_alpha image_blend ' + + 'bbox_left bbox_right bbox_top bbox_bottom layer background_colour ' + + 'background_showcolour background_color background_showcolor ' + + 'view_enabled view_current view_visible view_xview view_yview ' + + 'view_wview view_hview view_xport view_yport view_wport view_hport ' + + 'view_angle view_hborder view_vborder view_hspeed view_vspeed ' + + 'view_object view_surface_id view_camera game_id game_display_name ' + + 'game_project_name game_save_id working_directory temp_directory ' + + 'program_directory browser_width browser_height os_type os_device ' + + 'os_browser os_version display_aa async_load delta_time ' + + 'webgl_enabled event_data iap_data phy_rotation phy_position_x ' + + 'phy_position_y phy_angular_velocity phy_linear_velocity_x ' + + 'phy_linear_velocity_y phy_speed_x phy_speed_y phy_speed ' + + 'phy_angular_damping phy_linear_damping phy_bullet ' + + 'phy_fixed_rotation phy_active phy_mass phy_inertia phy_com_x ' + + 'phy_com_y phy_dynamic phy_kinematic phy_sleeping ' + + 'phy_collision_points phy_collision_x phy_collision_y ' + + 'phy_col_normal_x phy_col_normal_y phy_position_xprevious ' + + 'phy_position_yprevious' + }; + + return { + aliases: ['gml', 'GML'], + case_insensitive: false, // language is case-insensitive + keywords: GML_KEYWORDS, + + contains: [ + hljs.C_LINE_COMMENT_MODE, + hljs.C_BLOCK_COMMENT_MODE, + hljs.APOS_STRING_MODE, + hljs.QUOTE_STRING_MODE, + hljs.C_NUMBER_MODE + ] + }; + }; + + /***/ + }, + /* 416 */ /***/ function(module, exports) { module.exports = function(hljs) { var GO_KEYWORDS = { keyword: - "break default func interface select case map struct chan else goto package switch " + - "const fallthrough if range type continue for import return var go defer " + - "bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 " + - "uint16 uint32 uint64 int uint uintptr rune", - literal: "true false iota nil", + 'break default func interface select case map struct chan else goto package switch ' + + 'const fallthrough if range type continue for import return var go defer ' + + 'bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 ' + + 'uint16 uint32 uint64 int uint uintptr rune', + literal: 'true false iota nil', built_in: - "append cap close complex copy imag len make new panic print println real recover delete" + 'append cap close complex copy imag len make new panic print println real recover delete' }; return { - aliases: ["golang"], + aliases: ['golang'], keywords: GO_KEYWORDS, - illegal: "", + illegal: '', contains: [ hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, { - className: "string", + className: 'string', variants: [ hljs.QUOTE_STRING_MODE, { begin: "'", end: "[^\\\\]'" }, - { begin: "`", end: "`" } + { begin: '`', end: '`' } ] }, { - className: "number", + className: 'number', variants: [ - { begin: hljs.C_NUMBER_RE + "[dflsi]", relevance: 1 }, + { begin: hljs.C_NUMBER_RE + '[dflsi]', relevance: 1 }, hljs.C_NUMBER_MODE ] }, @@ -24194,14 +52614,14 @@ begin: /:=/ // relevance booster }, { - className: "function", - beginKeywords: "func", + className: 'function', + beginKeywords: 'func', end: /\s*\{/, excludeEnd: true, contains: [ hljs.TITLE_MODE, { - className: "params", + className: 'params', begin: /\(/, end: /\)/, keywords: GO_KEYWORDS, @@ -24215,26 +52635,26 @@ /***/ }, - /* 413 */ + /* 417 */ /***/ function(module, exports) { module.exports = function(hljs) { return { keywords: { keyword: - "println readln print import module function local return let var " + - "while for foreach times in case when match with break continue " + - "augment augmentation each find filter reduce " + - "if then else otherwise try catch finally raise throw orIfNull " + - "DynamicObject|10 DynamicVariable struct Observable map set vector list array", - literal: "true false null" + 'println readln print import module function local return let var ' + + 'while for foreach times in case when match with break continue ' + + 'augment augmentation each find filter reduce ' + + 'if then else otherwise try catch finally raise throw orIfNull ' + + 'DynamicObject|10 DynamicVariable struct Observable map set vector list array', + literal: 'true false null' }, contains: [ hljs.HASH_COMMENT_MODE, hljs.QUOTE_STRING_MODE, hljs.C_NUMBER_MODE, { - className: "meta", - begin: "@[A-Za-z]+" + className: 'meta', + begin: '@[A-Za-z]+' } ] }; @@ -24242,30 +52662,30 @@ /***/ }, - /* 414 */ + /* 418 */ /***/ function(module, exports) { module.exports = function(hljs) { return { case_insensitive: true, keywords: { keyword: - "task project allprojects subprojects artifacts buildscript configurations " + - "dependencies repositories sourceSets description delete from into include " + - "exclude source classpath destinationDir includes options sourceCompatibility " + - "targetCompatibility group flatDir doLast doFirst flatten todir fromdir ant " + - "def abstract break case catch continue default do else extends final finally " + - "for if implements instanceof native new private protected public return static " + - "switch synchronized throw throws transient try volatile while strictfp package " + - "import false null super this true antlrtask checkstyle codenarc copy boolean " + - "byte char class double float int interface long short void compile runTime " + - "file fileTree abs any append asList asWritable call collect compareTo count " + - "div dump each eachByte eachFile eachLine every find findAll flatten getAt " + - "getErr getIn getOut getText grep immutable inject inspect intersect invokeMethods " + - "isCase join leftShift minus multiply newInputStream newOutputStream newPrintWriter " + - "newReader newWriter next plus pop power previous print println push putAt read " + - "readBytes readLines reverse reverseEach round size sort splitEachLine step subMap " + - "times toInteger toList tokenize upto waitForOrKill withPrintWriter withReader " + - "withStream withWriter withWriterAppend write writeLine" + 'task project allprojects subprojects artifacts buildscript configurations ' + + 'dependencies repositories sourceSets description delete from into include ' + + 'exclude source classpath destinationDir includes options sourceCompatibility ' + + 'targetCompatibility group flatDir doLast doFirst flatten todir fromdir ant ' + + 'def abstract break case catch continue default do else extends final finally ' + + 'for if implements instanceof native new private protected public return static ' + + 'switch synchronized throw throws transient try volatile while strictfp package ' + + 'import false null super this true antlrtask checkstyle codenarc copy boolean ' + + 'byte char class double float int interface long short void compile runTime ' + + 'file fileTree abs any append asList asWritable call collect compareTo count ' + + 'div dump each eachByte eachFile eachLine every find findAll flatten getAt ' + + 'getErr getIn getOut getText grep immutable inject inspect intersect invokeMethods ' + + 'isCase join leftShift minus multiply newInputStream newOutputStream newPrintWriter ' + + 'newReader newWriter next plus pop power previous print println push putAt read ' + + 'readBytes readLines reverse reverseEach round size sort splitEachLine step subMap ' + + 'times toInteger toList tokenize upto waitForOrKill withPrintWriter withReader ' + + 'withStream withWriter withWriterAppend write writeLine' }, contains: [ hljs.C_LINE_COMMENT_MODE, @@ -24280,24 +52700,24 @@ /***/ }, - /* 415 */ + /* 419 */ /***/ function(module, exports) { module.exports = function(hljs) { return { keywords: { - literal: "true false null", + literal: 'true false null', keyword: - "byte short char int long boolean float double void " + + 'byte short char int long boolean float double void ' + // groovy specific keywords - "def as in assert trait " + + 'def as in assert trait ' + // common keywords with Java - "super this abstract static volatile transient public private protected synchronized final " + - "class interface enum if else for while switch case break default continue " + - "throw throws try catch finally implements extends new import package return instanceof" + 'super this abstract static volatile transient public private protected synchronized final ' + + 'class interface enum if else for while switch case break default continue ' + + 'throw throws try catch finally implements extends new import package return instanceof' }, contains: [ - hljs.COMMENT("/\\*\\*", "\\*/", { + hljs.COMMENT('/\\*\\*', '\\*/', { relevance: 0, contains: [ { @@ -24306,61 +52726,61 @@ relevance: 0 }, { - className: "doctag", - begin: "@[A-Za-z]+" + className: 'doctag', + begin: '@[A-Za-z]+' } ] }), hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, { - className: "string", + className: 'string', begin: '"""', end: '"""' }, { - className: "string", + className: 'string', begin: "'''", end: "'''" }, { - className: "string", - begin: "\\$/", - end: "/\\$", + className: 'string', + begin: '\\$/', + end: '/\\$', relevance: 10 }, hljs.APOS_STRING_MODE, { - className: "regexp", + className: 'regexp', begin: /~?\/[^\/\n]+\//, contains: [hljs.BACKSLASH_ESCAPE] }, hljs.QUOTE_STRING_MODE, { - className: "meta", - begin: "^#!/usr/bin/env", - end: "$", - illegal: "\n" + className: 'meta', + begin: '^#!/usr/bin/env', + end: '$', + illegal: '\n' }, hljs.BINARY_NUMBER_MODE, { - className: "class", - beginKeywords: "class interface trait enum", - end: "{", - illegal: ":", + className: 'class', + beginKeywords: 'class interface trait enum', + end: '{', + illegal: ':', contains: [ - { beginKeywords: "extends implements" }, + { beginKeywords: 'extends implements' }, hljs.UNDERSCORE_TITLE_MODE ] }, hljs.C_NUMBER_MODE, { - className: "meta", - begin: "@[A-Za-z]+" + className: 'meta', + begin: '@[A-Za-z]+' }, { // highlight map keys and named parameters as strings - className: "string", + className: 'string', begin: /[^\?]{0}[A-Za-z0-9_$]+ *:/ }, { @@ -24371,8 +52791,8 @@ }, { // highlight labeled statements - className: "symbol", - begin: "^\\s*[A-Za-z0-9_$]+:", + className: 'symbol', + begin: '^\\s*[A-Za-z0-9_$]+:', relevance: 0 } ], @@ -24382,63 +52802,63 @@ /***/ }, - /* 416 */ + /* 420 */ /***/ function(module, exports) { module.exports = function(hljs) { // TODO support filter tags like :javascript, support inline HTML return { case_insensitive: true, contains: [ { - className: "meta", + className: 'meta', begin: - "^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$", + '^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$', relevance: 10 }, // FIXME these comments should be allowed to span indented lines - hljs.COMMENT("^\\s*(!=#|=#|-#|/).*$", false, { + hljs.COMMENT('^\\s*(!=#|=#|-#|/).*$', false, { relevance: 0 }), { - begin: "^\\s*(-|=|!=)(?!#)", + begin: '^\\s*(-|=|!=)(?!#)', starts: { - end: "\\n", - subLanguage: "ruby" + end: '\\n', + subLanguage: 'ruby' } }, { - className: "tag", - begin: "^\\s*%", + className: 'tag', + begin: '^\\s*%', contains: [ { - className: "selector-tag", - begin: "\\w+" + className: 'selector-tag', + begin: '\\w+' }, { - className: "selector-id", - begin: "#[\\w-]+" + className: 'selector-id', + begin: '#[\\w-]+' }, { - className: "selector-class", - begin: "\\.[\\w-]+" + className: 'selector-class', + begin: '\\.[\\w-]+' }, { - begin: "{\\s*", - end: "\\s*}", + begin: '{\\s*', + end: '\\s*}', contains: [ { - begin: ":\\w+\\s*=>", - end: ",\\s+", + begin: ':\\w+\\s*=>', + end: ',\\s+', returnBegin: true, endsWithParent: true, contains: [ { - className: "attr", - begin: ":\\w+" + className: 'attr', + begin: ':\\w+' }, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, { - begin: "\\w+", + begin: '\\w+', relevance: 0 } ] @@ -24446,25 +52866,25 @@ ] }, { - begin: "\\(\\s*", - end: "\\s*\\)", + begin: '\\(\\s*', + end: '\\s*\\)', excludeEnd: true, contains: [ { - begin: "\\w+\\s*=", - end: "\\s+", + begin: '\\w+\\s*=', + end: '\\s+', returnBegin: true, endsWithParent: true, contains: [ { - className: "attr", - begin: "\\w+", + className: 'attr', + begin: '\\w+', relevance: 0 }, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, { - begin: "\\w+", + begin: '\\w+', relevance: 0 } ] @@ -24474,13 +52894,13 @@ ] }, { - begin: "^\\s*[=~]\\s*" + begin: '^\\s*[=~]\\s*' }, { - begin: "#{", + begin: '#{', starts: { - end: "}", - subLanguage: "ruby" + end: '}', + subLanguage: 'ruby' } } ] @@ -24489,26 +52909,26 @@ /***/ }, - /* 417 */ + /* 421 */ /***/ function(module, exports) { module.exports = function(hljs) { var BUILT_INS = { - "builtin-name": - "each in with if else unless bindattr action collection debugger log outlet template unbound view yield" + 'builtin-name': + 'each in with if else unless bindattr action collection debugger log outlet template unbound view yield' }; return { - aliases: ["hbs", "html.hbs", "html.handlebars"], + aliases: ['hbs', 'html.hbs', 'html.handlebars'], case_insensitive: true, - subLanguage: "xml", + subLanguage: 'xml', contains: [ - hljs.COMMENT("{{!(--)?", "(--)?}}"), + hljs.COMMENT('{{!(--)?', '(--)?}}'), { - className: "template-tag", + className: 'template-tag', begin: /\{\{[#\/]/, end: /\}\}/, contains: [ { - className: "name", + className: 'name', begin: /[a-zA-Z\.-]+/, keywords: BUILT_INS, starts: { @@ -24520,7 +52940,7 @@ ] }, { - className: "template-variable", + className: 'template-variable', begin: /\{\{/, end: /\}\}/, keywords: BUILT_INS @@ -24531,46 +52951,46 @@ /***/ }, - /* 418 */ + /* 422 */ /***/ function(module, exports) { module.exports = function(hljs) { var COMMENT = { variants: [ - hljs.COMMENT("--", "$"), - hljs.COMMENT("{-", "-}", { - contains: ["self"] + hljs.COMMENT('--', '$'), + hljs.COMMENT('{-', '-}', { + contains: ['self'] }) ] }; var PRAGMA = { - className: "meta", - begin: "{-#", - end: "#-}" + className: 'meta', + begin: '{-#', + end: '#-}' }; var PREPROCESSOR = { - className: "meta", - begin: "^#", - end: "$" + className: 'meta', + begin: '^#', + end: '$' }; var CONSTRUCTOR = { - className: "type", + className: 'type', begin: "\\b[A-Z][\\w']*", // TODO: other constructors (build-in, infix). relevance: 0 }; var LIST = { - begin: "\\(", - end: "\\)", + begin: '\\(', + end: '\\)', illegal: '"', contains: [ PRAGMA, PREPROCESSOR, { - className: "type", - begin: "\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?" + className: 'type', + begin: '\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?' }, hljs.inherit(hljs.TITLE_MODE, { begin: "[_a-z][\\w']*" }), COMMENT @@ -24578,72 +52998,72 @@ }; var RECORD = { - begin: "{", - end: "}", + begin: '{', + end: '}', contains: LIST.contains }; return { - aliases: ["hs"], + aliases: ['hs'], keywords: - "let in if then else case of where do module import hiding " + - "qualified type data newtype deriving class instance as default " + - "infix infixl infixr foreign export ccall stdcall cplusplus " + - "jvm dotnet safe unsafe family forall mdo proc rec", + 'let in if then else case of where do module import hiding ' + + 'qualified type data newtype deriving class instance as default ' + + 'infix infixl infixr foreign export ccall stdcall cplusplus ' + + 'jvm dotnet safe unsafe family forall mdo proc rec', contains: [ // Top-level constructions. { - beginKeywords: "module", - end: "where", - keywords: "module where", + beginKeywords: 'module', + end: 'where', + keywords: 'module where', contains: [LIST, COMMENT], - illegal: "\\W\\.|;" + illegal: '\\W\\.|;' }, { - begin: "\\bimport\\b", - end: "$", - keywords: "import qualified as hiding", + begin: '\\bimport\\b', + end: '$', + keywords: 'import qualified as hiding', contains: [LIST, COMMENT], - illegal: "\\W\\.|;" + illegal: '\\W\\.|;' }, { - className: "class", - begin: "^(\\s*)?(class|instance)\\b", - end: "where", - keywords: "class family instance where", + className: 'class', + begin: '^(\\s*)?(class|instance)\\b', + end: 'where', + keywords: 'class family instance where', contains: [CONSTRUCTOR, LIST, COMMENT] }, { - className: "class", - begin: "\\b(data|(new)?type)\\b", - end: "$", - keywords: "data family type newtype deriving", + className: 'class', + begin: '\\b(data|(new)?type)\\b', + end: '$', + keywords: 'data family type newtype deriving', contains: [PRAGMA, CONSTRUCTOR, LIST, RECORD, COMMENT] }, { - beginKeywords: "default", - end: "$", + beginKeywords: 'default', + end: '$', contains: [CONSTRUCTOR, LIST, COMMENT] }, { - beginKeywords: "infix infixl infixr", - end: "$", + beginKeywords: 'infix infixl infixr', + end: '$', contains: [hljs.C_NUMBER_MODE, COMMENT] }, { - begin: "\\bforeign\\b", - end: "$", + begin: '\\bforeign\\b', + end: '$', keywords: - "foreign import export ccall stdcall cplusplus jvm " + - "dotnet safe unsafe", + 'foreign import export ccall stdcall cplusplus jvm ' + + 'dotnet safe unsafe', contains: [CONSTRUCTOR, hljs.QUOTE_STRING_MODE, COMMENT] }, { - className: "meta", - begin: "#!\\/usr\\/bin\\/env runhaskell", - end: "$" + className: 'meta', + begin: '#!\\/usr\\/bin\\/env runhaskell', + end: '$' }, // "Whitespaces". @@ -24661,48 +53081,48 @@ COMMENT, - { begin: "->|<-" } // No markup, relevance booster + { begin: '->|<-' } // No markup, relevance booster ] }; }; /***/ }, - /* 419 */ + /* 423 */ /***/ function(module, exports) { module.exports = function(hljs) { - var IDENT_RE = "[a-zA-Z_$][a-zA-Z0-9_$]*"; - var IDENT_FUNC_RETURN_TYPE_RE = "([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)"; + var IDENT_RE = '[a-zA-Z_$][a-zA-Z0-9_$]*'; + var IDENT_FUNC_RETURN_TYPE_RE = '([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)'; - var HAXE_BASIC_TYPES = "Int Float String Bool Dynamic Void Array "; + var HAXE_BASIC_TYPES = 'Int Float String Bool Dynamic Void Array '; return { - aliases: ["hx"], + aliases: ['hx'], keywords: { keyword: - "break case cast catch continue default do dynamic else enum extern " + - "for function here if import in inline never new override package private get set " + - "public return static super switch this throw trace try typedef untyped using var while " + + 'break case cast catch continue default do dynamic else enum extern ' + + 'for function here if import in inline never new override package private get set ' + + 'public return static super switch this throw trace try typedef untyped using var while ' + HAXE_BASIC_TYPES, - built_in: "trace this", - literal: "true false null _" + built_in: 'trace this', + literal: 'true false null _' }, contains: [ { - className: "string", // interpolate-able strings + className: 'string', // interpolate-able strings begin: "'", end: "'", contains: [ hljs.BACKSLASH_ESCAPE, { - className: "subst", // interpolation - begin: "\\$\\{", - end: "\\}" + className: 'subst', // interpolation + begin: '\\$\\{', + end: '\\}' }, { - className: "subst", // interpolation - begin: "\\$", - end: "\\W}" + className: 'subst', // interpolation + begin: '\\$', + end: '\\W}' } ] }, @@ -24711,90 +53131,90 @@ hljs.C_BLOCK_COMMENT_MODE, hljs.C_NUMBER_MODE, { - className: "meta", // compiler meta - begin: "@:", - end: "$" + className: 'meta', // compiler meta + begin: '@:', + end: '$' }, { - className: "meta", // compiler conditionals - begin: "#", - end: "$", - keywords: { "meta-keyword": "if else elseif end error" } + className: 'meta', // compiler conditionals + begin: '#', + end: '$', + keywords: { 'meta-keyword': 'if else elseif end error' } }, { - className: "type", // function types - begin: ":[ \t]*", - end: "[^A-Za-z0-9_ \t\\->]", + className: 'type', // function types + begin: ':[ \t]*', + end: '[^A-Za-z0-9_ \t\\->]', excludeBegin: true, excludeEnd: true, relevance: 0 }, { - className: "type", // types - begin: ":[ \t]*", - end: "\\W", + className: 'type', // types + begin: ':[ \t]*', + end: '\\W', excludeBegin: true, excludeEnd: true }, { - className: "type", // instantiation - begin: "new *", - end: "\\W", + className: 'type', // instantiation + begin: 'new *', + end: '\\W', excludeBegin: true, excludeEnd: true }, { - className: "class", // enums - beginKeywords: "enum", - end: "\\{", + className: 'class', // enums + beginKeywords: 'enum', + end: '\\{', contains: [hljs.TITLE_MODE] }, { - className: "class", // abstracts - beginKeywords: "abstract", - end: "[\\{$]", + className: 'class', // abstracts + beginKeywords: 'abstract', + end: '[\\{$]', contains: [ { - className: "type", - begin: "\\(", - end: "\\)", + className: 'type', + begin: '\\(', + end: '\\)', excludeBegin: true, excludeEnd: true }, { - className: "type", - begin: "from +", - end: "\\W", + className: 'type', + begin: 'from +', + end: '\\W', excludeBegin: true, excludeEnd: true }, { - className: "type", - begin: "to +", - end: "\\W", + className: 'type', + begin: 'to +', + end: '\\W', excludeBegin: true, excludeEnd: true }, hljs.TITLE_MODE ], keywords: { - keyword: "abstract from to" + keyword: 'abstract from to' } }, { - className: "class", // classes - begin: "\\b(class|interface) +", - end: "[\\{$]", + className: 'class', // classes + begin: '\\b(class|interface) +', + end: '[\\{$]', excludeEnd: true, - keywords: "class interface", + keywords: 'class interface', contains: [ { - className: "keyword", - begin: "\\b(extends|implements) +", - keywords: "extends implements", + className: 'keyword', + begin: '\\b(extends|implements) +', + keywords: 'extends implements', contains: [ { - className: "type", + className: 'type', begin: hljs.IDENT_RE, relevance: 0 } @@ -24804,11 +53224,11 @@ ] }, { - className: "function", - beginKeywords: "function", - end: "\\(", + className: 'function', + beginKeywords: 'function', + end: '\\(', excludeEnd: true, - illegal: "\\S", + illegal: '\\S', contains: [hljs.TITLE_MODE] } ], @@ -24818,14 +53238,14 @@ /***/ }, - /* 420 */ + /* 424 */ /***/ function(module, exports) { module.exports = function(hljs) { return { case_insensitive: true, lexemes: /[\w\._]+/, keywords: - "goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop", + 'goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop', contains: [ hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, @@ -24834,26 +53254,26 @@ { // multi-line string - className: "string", + className: 'string', begin: '{"', end: '"}', contains: [hljs.BACKSLASH_ESCAPE] }, - hljs.COMMENT(";", "$", { relevance: 0 }), + hljs.COMMENT(';', '$', { relevance: 0 }), { // pre-processor - className: "meta", - begin: "#", - end: "$", + className: 'meta', + begin: '#', + end: '$', keywords: { - "meta-keyword": - "addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib" + 'meta-keyword': + 'addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib' }, contains: [ hljs.inherit(hljs.QUOTE_STRING_MODE, { - className: "meta-string" + className: 'meta-string' }), hljs.NUMBER_MODE, hljs.C_NUMBER_MODE, @@ -24864,8 +53284,8 @@ { // label - className: "symbol", - begin: "^\\*(\\w+|@)" + className: 'symbol', + begin: '^\\*(\\w+|@)' }, hljs.NUMBER_MODE, @@ -24876,11 +53296,11 @@ /***/ }, - /* 421 */ + /* 425 */ /***/ function(module, exports) { module.exports = function(hljs) { var BUILT_INS = - "action collection component concat debugger each each-in else get hash if input link-to loc log mut outlet partial query-params render textarea unbound unless with yield view"; + 'action collection component concat debugger each each-in else get hash if input link-to loc log mut outlet partial query-params render textarea unbound unless with yield view'; var ATTR_ASSIGNMENT = { illegal: /\}\}/, @@ -24889,7 +53309,7 @@ relevance: 0, contains: [ { - className: "attr", + className: 'attr', begin: /[a-zA-Z0-9_]+/ } ] @@ -24915,33 +53335,33 @@ var TAG_INNARDS = { endsWithParent: true, relevance: 0, - keywords: { keyword: "as", built_in: BUILT_INS }, + keywords: { keyword: 'as', built_in: BUILT_INS }, contains: [hljs.QUOTE_STRING_MODE, ATTR_ASSIGNMENT, hljs.NUMBER_MODE] }; return { case_insensitive: true, - subLanguage: "xml", + subLanguage: 'xml', contains: [ - hljs.COMMENT("{{!(--)?", "(--)?}}"), + hljs.COMMENT('{{!(--)?', '(--)?}}'), { - className: "template-tag", + className: 'template-tag', begin: /\{\{[#\/]/, end: /\}\}/, contains: [ { - className: "name", + className: 'name', begin: /[a-zA-Z\.\-]+/, - keywords: { "builtin-name": BUILT_INS }, + keywords: { 'builtin-name': BUILT_INS }, starts: TAG_INNARDS } ] }, { - className: "template-variable", + className: 'template-variable', begin: /\{\{[a-zA-Z][a-zA-Z\-]+/, end: /\}\}/, - keywords: { keyword: "as", built_in: BUILT_INS }, + keywords: { keyword: 'as', built_in: BUILT_INS }, contains: [hljs.QUOTE_STRING_MODE] } ] @@ -24950,28 +53370,28 @@ /***/ }, - /* 422 */ + /* 426 */ /***/ function(module, exports) { module.exports = function(hljs) { - var VERSION = "HTTP/[0-9\\.]+"; + var VERSION = 'HTTP/[0-9\\.]+'; return { - aliases: ["https"], - illegal: "\\S", + aliases: ['https'], + illegal: '\\S', contains: [ { - begin: "^" + VERSION, - end: "$", - contains: [{ className: "number", begin: "\\b\\d{3}\\b" }] + begin: '^' + VERSION, + end: '$', + contains: [{ className: 'number', begin: '\\b\\d{3}\\b' }] }, { - begin: "^[A-Z]+ (.*?) " + VERSION + "$", + begin: '^[A-Z]+ (.*?) ' + VERSION + '$', returnBegin: true, - end: "$", + end: '$', contains: [ { - className: "string", - begin: " ", - end: " ", + className: 'string', + begin: ' ', + end: ' ', excludeBegin: true, excludeEnd: true }, @@ -24979,21 +53399,21 @@ begin: VERSION }, { - className: "keyword", - begin: "[A-Z]+" + className: 'keyword', + begin: '[A-Z]+' } ] }, { - className: "attribute", - begin: "^\\w", - end: ": ", + className: 'attribute', + begin: '^\\w', + end: ': ', excludeEnd: true, - illegal: "\\n|\\s|=", - starts: { end: "$", relevance: 0 } + illegal: '\\n|\\s|=', + starts: { end: '$', relevance: 0 } }, { - begin: "\\n\\n", + begin: '\\n\\n', starts: { subLanguage: [], endsWithParent: true } } ] @@ -25002,51 +53422,51 @@ /***/ }, - /* 423 */ + /* 427 */ /***/ function(module, exports) { module.exports = function(hljs) { var keywords = { - "builtin-name": + 'builtin-name': // keywords - "!= % %= & &= * ** **= *= *map " + - "+ += , --build-class-- --import-- -= . / // //= " + - "/= < << <<= <= = > >= >> >>= " + - "@ @= ^ ^= abs accumulate all and any ap-compose " + - "ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe " + - "ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast " + - "callable calling-module-name car case cdr chain chr coll? combinations compile " + - "compress cond cons cons? continue count curry cut cycle dec " + - "def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn " + - "defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir " + - "disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? " + - "end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first " + - "flatten float? fn fnc fnr for for* format fraction genexpr " + - "gensym get getattr global globals group-by hasattr hash hex id " + - "identity if if* if-not if-python2 import in inc input instance? " + - "integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even " + - "is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none " + - "is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass " + - "iter iterable? iterate iterator? keyword keyword? lambda last len let " + - "lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all " + - "map max merge-with method-decorator min multi-decorator multicombinations name neg? next " + - "none? nonlocal not not-in not? nth numeric? oct odd? open " + - "or ord partition permutations pos? post-route postwalk pow prewalk print " + - "product profile/calls profile/cpu put-route quasiquote quote raise range read read-str " + - "recursive-replace reduce remove repeat repeatedly repr require rest round route " + - "route-with-methods rwm second seq set-comp setattr setv some sorted string " + - "string? sum switch symbol? take take-nth take-while tee try unless " + - "unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms " + - "xi xor yield yield-from zero? zip zip-longest | |= ~" + '!= % %= & &= * ** **= *= *map ' + + '+ += , --build-class-- --import-- -= . / // //= ' + + '/= < << <<= <= = > >= >> >>= ' + + '@ @= ^ ^= abs accumulate all and any ap-compose ' + + 'ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ' + + 'ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast ' + + 'callable calling-module-name car case cdr chain chr coll? combinations compile ' + + 'compress cond cons cons? continue count curry cut cycle dec ' + + 'def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn ' + + 'defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir ' + + 'disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? ' + + 'end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first ' + + 'flatten float? fn fnc fnr for for* format fraction genexpr ' + + 'gensym get getattr global globals group-by hasattr hash hex id ' + + 'identity if if* if-not if-python2 import in inc input instance? ' + + 'integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even ' + + 'is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none ' + + 'is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass ' + + 'iter iterable? iterate iterator? keyword keyword? lambda last len let ' + + 'lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all ' + + 'map max merge-with method-decorator min multi-decorator multicombinations name neg? next ' + + 'none? nonlocal not not-in not? nth numeric? oct odd? open ' + + 'or ord partition permutations pos? post-route postwalk pow prewalk print ' + + 'product profile/calls profile/cpu put-route quasiquote quote raise range read read-str ' + + 'recursive-replace reduce remove repeat repeatedly repr require rest round route ' + + 'route-with-methods rwm second seq set-comp setattr setv some sorted string ' + + 'string? sum switch symbol? take take-nth take-while tee try unless ' + + 'unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms ' + + 'xi xor yield yield-from zero? zip zip-longest | |= ~' }; var SYMBOLSTART = "a-zA-Z_\\-!.?+*=<>'"; - var SYMBOL_RE = "[" + SYMBOLSTART + "][" + SYMBOLSTART + "0-9/;:]*"; - var SIMPLE_NUMBER_RE = "[-+]?\\d+(\\.\\d+)?"; + var SYMBOL_RE = '[' + SYMBOLSTART + '][' + SYMBOLSTART + '0-9/;:]*'; + var SIMPLE_NUMBER_RE = '[-+]?\\d+(\\.\\d+)?'; var SHEBANG = { - className: "meta", - begin: "^#!", - end: "$" + className: 'meta', + begin: '^#!', + end: '$' }; var SYMBOL = { @@ -25054,34 +53474,34 @@ relevance: 0 }; var NUMBER = { - className: "number", + className: 'number', begin: SIMPLE_NUMBER_RE, relevance: 0 }; var STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }); - var COMMENT = hljs.COMMENT(";", "$", { + var COMMENT = hljs.COMMENT(';', '$', { relevance: 0 }); var LITERAL = { - className: "literal", + className: 'literal', begin: /\b([Tt]rue|[Ff]alse|nil|None)\b/ }; var COLLECTION = { - begin: "[\\[\\{]", - end: "[\\]\\}]" + begin: '[\\[\\{]', + end: '[\\]\\}]' }; var HINT = { - className: "comment", - begin: "\\^" + SYMBOL_RE + className: 'comment', + begin: '\\^' + SYMBOL_RE }; - var HINT_COL = hljs.COMMENT("\\^\\{", "\\}"); + var HINT_COL = hljs.COMMENT('\\^\\{', '\\}'); var KEY = { - className: "symbol", - begin: "[:]{1,2}" + SYMBOL_RE + className: 'symbol', + begin: '[:]{1,2}' + SYMBOL_RE }; var LIST = { - begin: "\\(", - end: "\\)" + begin: '\\(', + end: '\\)' }; var BODY = { endsWithParent: true, @@ -25090,7 +53510,7 @@ var NAME = { keywords: keywords, lexemes: SYMBOL_RE, - className: "name", + className: 'name', begin: SYMBOL_RE, starts: BODY }; @@ -25107,12 +53527,12 @@ SYMBOL ]; - LIST.contains = [hljs.COMMENT("comment", ""), NAME, BODY]; + LIST.contains = [hljs.COMMENT('comment', ''), NAME, BODY]; BODY.contains = DEFAULT_CONTAINS; COLLECTION.contains = DEFAULT_CONTAINS; return { - aliases: ["hylang"], + aliases: ['hylang'], illegal: /\S/, contains: [ SHEBANG, @@ -25131,64 +53551,64 @@ /***/ }, - /* 424 */ + /* 428 */ /***/ function(module, exports) { module.exports = function(hljs) { - var START_BRACKET = "\\["; - var END_BRACKET = "\\]"; + var START_BRACKET = '\\['; + var END_BRACKET = '\\]'; return { - aliases: ["i7"], + aliases: ['i7'], case_insensitive: true, keywords: { // Some keywords more or less unique to I7, for relevance. keyword: // kind: - "thing room person man woman animal container " + - "supporter backdrop door " + + 'thing room person man woman animal container ' + + 'supporter backdrop door ' + // characteristic: - "scenery open closed locked inside gender " + + 'scenery open closed locked inside gender ' + // verb: - "is are say understand " + + 'is are say understand ' + // misc keyword: - "kind of rule" + 'kind of rule' }, contains: [ { - className: "string", + className: 'string', begin: '"', end: '"', relevance: 0, contains: [ { - className: "subst", + className: 'subst', begin: START_BRACKET, end: END_BRACKET } ] }, { - className: "section", + className: 'section', begin: /^(Volume|Book|Part|Chapter|Section|Table)\b/, - end: "$" + end: '$' }, { // Rule definition // This is here for relevance. begin: /^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/, - end: ":", + end: ':', contains: [ { //Rule name - begin: "\\(This", - end: "\\)" + begin: '\\(This', + end: '\\)' } ] }, { - className: "comment", + className: 'comment', begin: START_BRACKET, end: END_BRACKET, - contains: ["self"] + contains: ['self'] } ] }; @@ -25196,11 +53616,11 @@ /***/ }, - /* 425 */ + /* 429 */ /***/ function(module, exports) { module.exports = function(hljs) { var STRING = { - className: "string", + className: 'string', contains: [hljs.BACKSLASH_ESCAPE], variants: [ { @@ -25224,24 +53644,24 @@ ] }; return { - aliases: ["toml"], + aliases: ['toml'], case_insensitive: true, illegal: /\S/, contains: [ - hljs.COMMENT(";", "$"), + hljs.COMMENT(';', '$'), hljs.HASH_COMMENT_MODE, { - className: "section", + className: 'section', begin: /^\s*\[+/, end: /\]+/ }, { begin: /^[a-z0-9\[\]_-]+\s*=\s*/, - end: "$", + end: '$', returnBegin: true, contains: [ { - className: "attr", + className: 'attr', begin: /[a-z0-9\[\]_-]+/ }, { @@ -25250,11 +53670,11 @@ relevance: 0, contains: [ { - className: "literal", + className: 'literal', begin: /\bon|off|true|false|yes|no\b/ }, { - className: "variable", + className: 'variable', variants: [ { begin: /\$[\w\d"][\w\d_]*/ }, { begin: /\$\{(.*?)}/ } @@ -25262,7 +53682,7 @@ }, STRING, { - className: "number", + className: 'number', begin: /([\+\-]+)?[\d]+_[\d_]+/ }, hljs.NUMBER_MODE @@ -25276,62 +53696,62 @@ /***/ }, - /* 426 */ + /* 430 */ /***/ function(module, exports) { module.exports = function(hljs) { var PARAMS = { - className: "params", - begin: "\\(", - end: "\\)" + className: 'params', + begin: '\\(', + end: '\\)' }; var F_KEYWORDS = { - literal: ".False. .True.", + literal: '.False. .True.', keyword: - "kind do while private call intrinsic where elsewhere " + - "type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then " + - "public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. " + - "goto save else use module select case " + - "access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit " + - "continue format pause cycle exit " + - "c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg " + - "synchronous nopass non_overridable pass protected volatile abstract extends import " + - "non_intrinsic value deferred generic final enumerator class associate bind enum " + - "c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t " + - "c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double " + - "c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr " + - "c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer " + - "c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor " + - "numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control " + - "ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive " + - "pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure " + - "integer real character complex logical dimension allocatable|10 parameter " + - "external implicit|10 none double precision assign intent optional pointer " + - "target in out common equivalence data " + + 'kind do while private call intrinsic where elsewhere ' + + 'type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then ' + + 'public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. ' + + 'goto save else use module select case ' + + 'access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit ' + + 'continue format pause cycle exit ' + + 'c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg ' + + 'synchronous nopass non_overridable pass protected volatile abstract extends import ' + + 'non_intrinsic value deferred generic final enumerator class associate bind enum ' + + 'c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t ' + + 'c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double ' + + 'c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr ' + + 'c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer ' + + 'c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor ' + + 'numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ' + + 'ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive ' + + 'pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure ' + + 'integer real character complex logical dimension allocatable|10 parameter ' + + 'external implicit|10 none double precision assign intent optional pointer ' + + 'target in out common equivalence data ' + // IRPF90 special keywords - "begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch " + - "soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read", + 'begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch ' + + 'soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read', built_in: - "alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint " + - "dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl " + - "algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama " + - "iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod " + - "qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log " + - "log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate " + - "adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product " + - "eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul " + - "maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product " + - "radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind " + - "set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer " + - "dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end " + - "ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode " + - "is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of" + - "acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 " + - "atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits " + - "bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr " + - "num_images parity popcnt poppar shifta shiftl shiftr this_image " + + 'alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint ' + + 'dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl ' + + 'algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama ' + + 'iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod ' + + 'qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log ' + + 'log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate ' + + 'adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product ' + + 'eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul ' + + 'maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product ' + + 'radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind ' + + 'set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer ' + + 'dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ' + + 'ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode ' + + 'is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of' + + 'acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 ' + + 'atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits ' + + 'bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr ' + + 'num_images parity popcnt poppar shifta shiftl shiftr this_image ' + // IRPF90 special built_ins - "IRP_ALIGN irp_here" + 'IRP_ALIGN irp_here' }; return { case_insensitive: true, @@ -25339,25 +53759,25 @@ illegal: /\/\*/, contains: [ hljs.inherit(hljs.APOS_STRING_MODE, { - className: "string", + className: 'string', relevance: 0 }), hljs.inherit(hljs.QUOTE_STRING_MODE, { - className: "string", + className: 'string', relevance: 0 }), { - className: "function", - beginKeywords: "subroutine function program", - illegal: "[${=\\n]", + className: 'function', + beginKeywords: 'subroutine function program', + illegal: '[${=\\n]', contains: [hljs.UNDERSCORE_TITLE_MODE, PARAMS] }, - hljs.COMMENT("!", "$", { relevance: 0 }), - hljs.COMMENT("begin_doc", "end_doc", { relevance: 10 }), + hljs.COMMENT('!', '$', { relevance: 0 }), + hljs.COMMENT('begin_doc', 'end_doc', { relevance: 10 }), { - className: "number", + className: 'number', begin: - "(?=\\b|\\+|\\-|\\.)(?=\\.\\d|\\d)(?:\\d+)?(?:\\.?\\d*)(?:[de][+-]?\\d+)?\\b\\.?", + '(?=\\b|\\+|\\-|\\.)(?=\\.\\d|\\d)(?:\\d+)?(?:\\.?\\d*)(?:[de][+-]?\\d+)?\\b\\.?', relevance: 0 } ] @@ -25366,53 +53786,3240 @@ /***/ }, - /* 427 */ + /* 431 */ + /***/ function(module, exports) { + module.exports = function(hljs) { + // Определение идентификаторов + var UNDERSCORE_IDENT_RE = '[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*'; + + // Определение имен функций + var FUNCTION_NAME_IDENT_RE = '[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*'; + + // keyword : ключевые слова + var KEYWORD = + 'and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока ' + + 'except exitfor finally foreach все if если in в not не or или try while пока '; + + // SYSRES Constants + var sysres_constants = + 'SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT ' + + 'SYSRES_CONST_ACCES_RIGHT_TYPE_FULL ' + + 'SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW ' + + 'SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE ' + + 'SYSRES_CONST_ACCESS_NO_ACCESS_VIEW ' + + 'SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE ' + + 'SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE ' + + 'SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE ' + + 'SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE ' + + 'SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE ' + + 'SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE ' + + 'SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE ' + + 'SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE ' + + 'SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE ' + + 'SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE ' + + 'SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE ' + + 'SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE ' + + 'SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE ' + + 'SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE ' + + 'SYSRES_CONST_ACCESS_RIGHTS_VIEW ' + + 'SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE ' + + 'SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE ' + + 'SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE ' + + 'SYSRES_CONST_ACCESS_TYPE_CHANGE ' + + 'SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE ' + + 'SYSRES_CONST_ACCESS_TYPE_EXISTS ' + + 'SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE ' + + 'SYSRES_CONST_ACCESS_TYPE_FULL ' + + 'SYSRES_CONST_ACCESS_TYPE_FULL_CODE ' + + 'SYSRES_CONST_ACCESS_TYPE_VIEW ' + + 'SYSRES_CONST_ACCESS_TYPE_VIEW_CODE ' + + 'SYSRES_CONST_ACTION_TYPE_ABORT ' + + 'SYSRES_CONST_ACTION_TYPE_ACCEPT ' + + 'SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS ' + + 'SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT ' + + 'SYSRES_CONST_ACTION_TYPE_CHANGE_CARD ' + + 'SYSRES_CONST_ACTION_TYPE_CHANGE_KIND ' + + 'SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE ' + + 'SYSRES_CONST_ACTION_TYPE_CONTINUE ' + + 'SYSRES_CONST_ACTION_TYPE_COPY ' + + 'SYSRES_CONST_ACTION_TYPE_CREATE ' + + 'SYSRES_CONST_ACTION_TYPE_CREATE_VERSION ' + + 'SYSRES_CONST_ACTION_TYPE_DELETE ' + + 'SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT ' + + 'SYSRES_CONST_ACTION_TYPE_DELETE_VERSION ' + + 'SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS ' + + 'SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS ' + + 'SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE ' + + 'SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD ' + + 'SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD ' + + 'SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK ' + + 'SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK ' + + 'SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK ' + + 'SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK ' + + 'SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE ' + + 'SYSRES_CONST_ACTION_TYPE_LOCK ' + + 'SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER ' + + 'SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY ' + + 'SYSRES_CONST_ACTION_TYPE_MARK_AS_READED ' + + 'SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED ' + + 'SYSRES_CONST_ACTION_TYPE_MODIFY ' + + 'SYSRES_CONST_ACTION_TYPE_MODIFY_CARD ' + + 'SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE ' + + 'SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION ' + + 'SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE ' + + 'SYSRES_CONST_ACTION_TYPE_PERFORM ' + + 'SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY ' + + 'SYSRES_CONST_ACTION_TYPE_RESTART ' + + 'SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE ' + + 'SYSRES_CONST_ACTION_TYPE_REVISION ' + + 'SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL ' + + 'SYSRES_CONST_ACTION_TYPE_SIGN ' + + 'SYSRES_CONST_ACTION_TYPE_START ' + + 'SYSRES_CONST_ACTION_TYPE_UNLOCK ' + + 'SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER ' + + 'SYSRES_CONST_ACTION_TYPE_VERSION_STATE ' + + 'SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY ' + + 'SYSRES_CONST_ACTION_TYPE_VIEW ' + + 'SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY ' + + 'SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY ' + + 'SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY ' + + 'SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE ' + + 'SYSRES_CONST_ADD_REFERENCE_MODE_NAME ' + + 'SYSRES_CONST_ADDITION_REQUISITE_CODE ' + + 'SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE ' + + 'SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME ' + + 'SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME ' + + 'SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME ' + + 'SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE ' + + 'SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION ' + + 'SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS ' + + 'SYSRES_CONST_ALL_USERS_GROUP ' + + 'SYSRES_CONST_ALL_USERS_GROUP_NAME ' + + 'SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME ' + + 'SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE ' + + 'SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME ' + + 'SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE ' + + 'SYSRES_CONST_APPROVING_SIGNATURE_NAME ' + + 'SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE ' + + 'SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE ' + + 'SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE ' + + 'SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN ' + + 'SYSRES_CONST_ATTACH_TYPE_DOC ' + + 'SYSRES_CONST_ATTACH_TYPE_EDOC ' + + 'SYSRES_CONST_ATTACH_TYPE_FOLDER ' + + 'SYSRES_CONST_ATTACH_TYPE_JOB ' + + 'SYSRES_CONST_ATTACH_TYPE_REFERENCE ' + + 'SYSRES_CONST_ATTACH_TYPE_TASK ' + + 'SYSRES_CONST_AUTH_ENCODED_PASSWORD ' + + 'SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE ' + + 'SYSRES_CONST_AUTH_NOVELL ' + + 'SYSRES_CONST_AUTH_PASSWORD ' + + 'SYSRES_CONST_AUTH_PASSWORD_CODE ' + + 'SYSRES_CONST_AUTH_WINDOWS ' + + 'SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME ' + + 'SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE ' + + 'SYSRES_CONST_AUTO_ENUM_METHOD_FLAG ' + + 'SYSRES_CONST_AUTO_NUMERATION_CODE ' + + 'SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG ' + + 'SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE ' + + 'SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE ' + + 'SYSRES_CONST_AUTOTEXT_USAGE_ALL ' + + 'SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE ' + + 'SYSRES_CONST_AUTOTEXT_USAGE_SIGN ' + + 'SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE ' + + 'SYSRES_CONST_AUTOTEXT_USAGE_WORK ' + + 'SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE ' + + 'SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE ' + + 'SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE ' + + 'SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE ' + + 'SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE ' + + 'SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR ' + + 'SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR ' + + 'SYSRES_CONST_BTN_PART ' + + 'SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE ' + + 'SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE ' + + 'SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE ' + + 'SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT ' + + 'SYSRES_CONST_CARD_PART ' + + 'SYSRES_CONST_CARD_REFERENCE_MODE_NAME ' + + 'SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE ' + + 'SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE ' + + 'SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE ' + + 'SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE ' + + 'SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE ' + + 'SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE ' + + 'SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE ' + + 'SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE ' + + 'SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE ' + + 'SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE ' + + 'SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN ' + + 'SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER ' + + 'SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS ' + + 'SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS ' + + 'SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE ' + + 'SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER ' + + 'SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE ' + + 'SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT ' + + 'SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT ' + + 'SYSRES_CONST_CODE_COMPONENT_TYPE_URL ' + + 'SYSRES_CONST_CODE_REQUISITE_ACCESS ' + + 'SYSRES_CONST_CODE_REQUISITE_CODE ' + + 'SYSRES_CONST_CODE_REQUISITE_COMPONENT ' + + 'SYSRES_CONST_CODE_REQUISITE_DESCRIPTION ' + + 'SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT ' + + 'SYSRES_CONST_CODE_REQUISITE_RECORD ' + + 'SYSRES_CONST_COMMENT_REQ_CODE ' + + 'SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE ' + + 'SYSRES_CONST_COMP_CODE_GRD ' + + 'SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE ' + + 'SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS ' + + 'SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS ' + + 'SYSRES_CONST_COMPONENT_TYPE_DOCS ' + + 'SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS ' + + 'SYSRES_CONST_COMPONENT_TYPE_EDOCS ' + + 'SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE ' + + 'SYSRES_CONST_COMPONENT_TYPE_OTHER ' + + 'SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES ' + + 'SYSRES_CONST_COMPONENT_TYPE_REFERENCES ' + + 'SYSRES_CONST_COMPONENT_TYPE_REPORTS ' + + 'SYSRES_CONST_COMPONENT_TYPE_SCRIPTS ' + + 'SYSRES_CONST_COMPONENT_TYPE_URL ' + + 'SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE ' + + 'SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION ' + + 'SYSRES_CONST_CONST_FIRM_STATUS_COMMON ' + + 'SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL ' + + 'SYSRES_CONST_CONST_NEGATIVE_VALUE ' + + 'SYSRES_CONST_CONST_POSITIVE_VALUE ' + + 'SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE ' + + 'SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE ' + + 'SYSRES_CONST_CONTENTS_REQUISITE_CODE ' + + 'SYSRES_CONST_DATA_TYPE_BOOLEAN ' + + 'SYSRES_CONST_DATA_TYPE_DATE ' + + 'SYSRES_CONST_DATA_TYPE_FLOAT ' + + 'SYSRES_CONST_DATA_TYPE_INTEGER ' + + 'SYSRES_CONST_DATA_TYPE_PICK ' + + 'SYSRES_CONST_DATA_TYPE_REFERENCE ' + + 'SYSRES_CONST_DATA_TYPE_STRING ' + + 'SYSRES_CONST_DATA_TYPE_TEXT ' + + 'SYSRES_CONST_DATA_TYPE_VARIANT ' + + 'SYSRES_CONST_DATE_CLOSE_REQ_CODE ' + + 'SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR ' + + 'SYSRES_CONST_DATE_OPEN_REQ_CODE ' + + 'SYSRES_CONST_DATE_REQUISITE ' + + 'SYSRES_CONST_DATE_REQUISITE_CODE ' + + 'SYSRES_CONST_DATE_REQUISITE_NAME ' + + 'SYSRES_CONST_DATE_REQUISITE_TYPE ' + + 'SYSRES_CONST_DATE_TYPE_CHAR ' + + 'SYSRES_CONST_DATETIME_FORMAT_VALUE ' + + 'SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE ' + + 'SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE ' + + 'SYSRES_CONST_DESCRIPTION_REQUISITE_CODE ' + + 'SYSRES_CONST_DET1_PART ' + + 'SYSRES_CONST_DET2_PART ' + + 'SYSRES_CONST_DET3_PART ' + + 'SYSRES_CONST_DET4_PART ' + + 'SYSRES_CONST_DET5_PART ' + + 'SYSRES_CONST_DET6_PART ' + + 'SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE ' + + 'SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE ' + + 'SYSRES_CONST_DETAIL_REQ_CODE ' + + 'SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE ' + + 'SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME ' + + 'SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE ' + + 'SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME ' + + 'SYSRES_CONST_DOCUMENT_STORAGES_CODE ' + + 'SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME ' + + 'SYSRES_CONST_DOUBLE_REQUISITE_CODE ' + + 'SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE ' + + 'SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE ' + + 'SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE ' + + 'SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE ' + + 'SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE ' + + 'SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE ' + + 'SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE ' + + 'SYSRES_CONST_EDITORS_REFERENCE_CODE ' + + 'SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE ' + + 'SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE ' + + 'SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE ' + + 'SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE ' + + 'SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE ' + + 'SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE ' + + 'SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE ' + + 'SYSRES_CONST_EDOC_DATE_REQUISITE_CODE ' + + 'SYSRES_CONST_EDOC_KIND_REFERENCE_CODE ' + + 'SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE ' + + 'SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE ' + + 'SYSRES_CONST_EDOC_NONE_ENCODE_CODE ' + + 'SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE ' + + 'SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE ' + + 'SYSRES_CONST_EDOC_READONLY_ACCESS_CODE ' + + 'SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE ' + + 'SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE ' + + 'SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE ' + + 'SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE ' + + 'SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE ' + + 'SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE ' + + 'SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE ' + + 'SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE ' + + 'SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE ' + + 'SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE ' + + 'SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE ' + + 'SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE ' + + 'SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE ' + + 'SYSRES_CONST_EDOC_WRITE_ACCES_CODE ' + + 'SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE ' + + 'SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE ' + + 'SYSRES_CONST_END_DATE_REQUISITE_CODE ' + + 'SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE ' + + 'SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE ' + + 'SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE ' + + 'SYSRES_CONST_EXIST_CONST ' + + 'SYSRES_CONST_EXIST_VALUE ' + + 'SYSRES_CONST_EXPORT_LOCK_TYPE_ASK ' + + 'SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK ' + + 'SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK ' + + 'SYSRES_CONST_EXPORT_VERSION_TYPE_ASK ' + + 'SYSRES_CONST_EXPORT_VERSION_TYPE_LAST ' + + 'SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE ' + + 'SYSRES_CONST_EXTENSION_REQUISITE_CODE ' + + 'SYSRES_CONST_FILTER_NAME_REQUISITE_CODE ' + + 'SYSRES_CONST_FILTER_REQUISITE_CODE ' + + 'SYSRES_CONST_FILTER_TYPE_COMMON_CODE ' + + 'SYSRES_CONST_FILTER_TYPE_COMMON_NAME ' + + 'SYSRES_CONST_FILTER_TYPE_USER_CODE ' + + 'SYSRES_CONST_FILTER_TYPE_USER_NAME ' + + 'SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME ' + + 'SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR ' + + 'SYSRES_CONST_FLOAT_REQUISITE_TYPE ' + + 'SYSRES_CONST_FOLDER_AUTHOR_VALUE ' + + 'SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS ' + + 'SYSRES_CONST_FOLDER_KIND_COMPONENTS ' + + 'SYSRES_CONST_FOLDER_KIND_EDOCS ' + + 'SYSRES_CONST_FOLDER_KIND_JOBS ' + + 'SYSRES_CONST_FOLDER_KIND_TASKS ' + + 'SYSRES_CONST_FOLDER_TYPE_COMMON ' + + 'SYSRES_CONST_FOLDER_TYPE_COMPONENT ' + + 'SYSRES_CONST_FOLDER_TYPE_FAVORITES ' + + 'SYSRES_CONST_FOLDER_TYPE_INBOX ' + + 'SYSRES_CONST_FOLDER_TYPE_OUTBOX ' + + 'SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH ' + + 'SYSRES_CONST_FOLDER_TYPE_SEARCH ' + + 'SYSRES_CONST_FOLDER_TYPE_SHORTCUTS ' + + 'SYSRES_CONST_FOLDER_TYPE_USER ' + + 'SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG ' + + 'SYSRES_CONST_FULL_SUBSTITUTE_TYPE ' + + 'SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE ' + + 'SYSRES_CONST_FUNCTION_CANCEL_RESULT ' + + 'SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM ' + + 'SYSRES_CONST_FUNCTION_CATEGORY_USER ' + + 'SYSRES_CONST_FUNCTION_FAILURE_RESULT ' + + 'SYSRES_CONST_FUNCTION_SAVE_RESULT ' + + 'SYSRES_CONST_GENERATED_REQUISITE ' + + 'SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR ' + + 'SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE ' + + 'SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE ' + + 'SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME ' + + 'SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE ' + + 'SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME ' + + 'SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE ' + + 'SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE ' + + 'SYSRES_CONST_GROUP_NAME_REQUISITE_CODE ' + + 'SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE ' + + 'SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE ' + + 'SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE ' + + 'SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE ' + + 'SYSRES_CONST_GROUP_USER_REQUISITE_CODE ' + + 'SYSRES_CONST_GROUPS_REFERENCE_CODE ' + + 'SYSRES_CONST_GROUPS_REQUISITE_CODE ' + + 'SYSRES_CONST_HIDDEN_MODE_NAME ' + + 'SYSRES_CONST_HIGH_LVL_REQUISITE_CODE ' + + 'SYSRES_CONST_HISTORY_ACTION_CREATE_CODE ' + + 'SYSRES_CONST_HISTORY_ACTION_DELETE_CODE ' + + 'SYSRES_CONST_HISTORY_ACTION_EDIT_CODE ' + + 'SYSRES_CONST_HOUR_CHAR ' + + 'SYSRES_CONST_ID_REQUISITE_CODE ' + + 'SYSRES_CONST_IDSPS_REQUISITE_CODE ' + + 'SYSRES_CONST_IMAGE_MODE_COLOR ' + + 'SYSRES_CONST_IMAGE_MODE_GREYSCALE ' + + 'SYSRES_CONST_IMAGE_MODE_MONOCHROME ' + + 'SYSRES_CONST_IMPORTANCE_HIGH ' + + 'SYSRES_CONST_IMPORTANCE_LOW ' + + 'SYSRES_CONST_IMPORTANCE_NORMAL ' + + 'SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE ' + + 'SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE ' + + 'SYSRES_CONST_INT_REQUISITE ' + + 'SYSRES_CONST_INT_REQUISITE_TYPE ' + + 'SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR ' + + 'SYSRES_CONST_INTEGER_TYPE_CHAR ' + + 'SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE ' + + 'SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE ' + + 'SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE ' + + 'SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE ' + + 'SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE ' + + 'SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE ' + + 'SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE ' + + 'SYSRES_CONST_JOB_BLOCK_DESCRIPTION ' + + 'SYSRES_CONST_JOB_KIND_CONTROL_JOB ' + + 'SYSRES_CONST_JOB_KIND_JOB ' + + 'SYSRES_CONST_JOB_KIND_NOTICE ' + + 'SYSRES_CONST_JOB_STATE_ABORTED ' + + 'SYSRES_CONST_JOB_STATE_COMPLETE ' + + 'SYSRES_CONST_JOB_STATE_WORKING ' + + 'SYSRES_CONST_KIND_REQUISITE_CODE ' + + 'SYSRES_CONST_KIND_REQUISITE_NAME ' + + 'SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE ' + + 'SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE ' + + 'SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE ' + + 'SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE ' + + 'SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE ' + + 'SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE ' + + 'SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE ' + + 'SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE ' + + 'SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE ' + + 'SYSRES_CONST_KOD_INPUT_TYPE ' + + 'SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE ' + + 'SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE ' + + 'SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR ' + + 'SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT ' + + 'SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT ' + + 'SYSRES_CONST_LINK_OBJECT_KIND_EDOC ' + + 'SYSRES_CONST_LINK_OBJECT_KIND_FOLDER ' + + 'SYSRES_CONST_LINK_OBJECT_KIND_JOB ' + + 'SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE ' + + 'SYSRES_CONST_LINK_OBJECT_KIND_TASK ' + + 'SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE ' + + 'SYSRES_CONST_LIST_REFERENCE_MODE_NAME ' + + 'SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE ' + + 'SYSRES_CONST_MAIN_VIEW_CODE ' + + 'SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG ' + + 'SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE ' + + 'SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE ' + + 'SYSRES_CONST_MAXIMIZED_MODE_NAME ' + + 'SYSRES_CONST_ME_VALUE ' + + 'SYSRES_CONST_MESSAGE_ATTENTION_CAPTION ' + + 'SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION ' + + 'SYSRES_CONST_MESSAGE_ERROR_CAPTION ' + + 'SYSRES_CONST_MESSAGE_INFORMATION_CAPTION ' + + 'SYSRES_CONST_MINIMIZED_MODE_NAME ' + + 'SYSRES_CONST_MINUTE_CHAR ' + + 'SYSRES_CONST_MODULE_REQUISITE_CODE ' + + 'SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION ' + + 'SYSRES_CONST_MONTH_FORMAT_VALUE ' + + 'SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE ' + + 'SYSRES_CONST_NAME_REQUISITE_CODE ' + + 'SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE ' + + 'SYSRES_CONST_NAMEAN_INPUT_TYPE ' + + 'SYSRES_CONST_NEGATIVE_PICK_VALUE ' + + 'SYSRES_CONST_NEGATIVE_VALUE ' + + 'SYSRES_CONST_NO ' + + 'SYSRES_CONST_NO_PICK_VALUE ' + + 'SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE ' + + 'SYSRES_CONST_NO_VALUE ' + + 'SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE ' + + 'SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE ' + + 'SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE ' + + 'SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE ' + + 'SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE ' + + 'SYSRES_CONST_NORMAL_MODE_NAME ' + + 'SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE ' + + 'SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME ' + + 'SYSRES_CONST_NOTE_REQUISITE_CODE ' + + 'SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION ' + + 'SYSRES_CONST_NUM_REQUISITE ' + + 'SYSRES_CONST_NUM_STR_REQUISITE_CODE ' + + 'SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG ' + + 'SYSRES_CONST_NUMERATION_AUTO_STRONG ' + + 'SYSRES_CONST_NUMERATION_FROM_DICTONARY ' + + 'SYSRES_CONST_NUMERATION_MANUAL ' + + 'SYSRES_CONST_NUMERIC_TYPE_CHAR ' + + 'SYSRES_CONST_NUMREQ_REQUISITE_CODE ' + + 'SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE ' + + 'SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE ' + + 'SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE ' + + 'SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE ' + + 'SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE ' + + 'SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX ' + + 'SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR ' + + 'SYSRES_CONST_ORIGINALREF_REQUISITE_CODE ' + + 'SYSRES_CONST_OURFIRM_REF_CODE ' + + 'SYSRES_CONST_OURFIRM_REQUISITE_CODE ' + + 'SYSRES_CONST_OURFIRM_VAR ' + + 'SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE ' + + 'SYSRES_CONST_PICK_NEGATIVE_RESULT ' + + 'SYSRES_CONST_PICK_POSITIVE_RESULT ' + + 'SYSRES_CONST_PICK_REQUISITE ' + + 'SYSRES_CONST_PICK_REQUISITE_TYPE ' + + 'SYSRES_CONST_PICK_TYPE_CHAR ' + + 'SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE ' + + 'SYSRES_CONST_PLATFORM_VERSION_COMMENT ' + + 'SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE ' + + 'SYSRES_CONST_POSITIVE_PICK_VALUE ' + + 'SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE ' + + 'SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE ' + + 'SYSRES_CONST_PRIORITY_REQUISITE_CODE ' + + 'SYSRES_CONST_QUALIFIED_TASK_TYPE ' + + 'SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE ' + + 'SYSRES_CONST_RECSTAT_REQUISITE_CODE ' + + 'SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR ' + + 'SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE ' + + 'SYSRES_CONST_REF_REQUISITE ' + + 'SYSRES_CONST_REF_REQUISITE_TYPE ' + + 'SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE ' + + 'SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE ' + + 'SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE ' + + 'SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE ' + + 'SYSRES_CONST_REFERENCE_TYPE_CHAR ' + + 'SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME ' + + 'SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE ' + + 'SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE ' + + 'SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING ' + + 'SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN ' + + 'SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY ' + + 'SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE ' + + 'SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL ' + + 'SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE ' + + 'SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE ' + + 'SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE ' + + 'SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE ' + + 'SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE ' + + 'SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE ' + + 'SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE ' + + 'SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE ' + + 'SYSRES_CONST_REQ_MODE_AVAILABLE_CODE ' + + 'SYSRES_CONST_REQ_MODE_EDIT_CODE ' + + 'SYSRES_CONST_REQ_MODE_HIDDEN_CODE ' + + 'SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE ' + + 'SYSRES_CONST_REQ_MODE_VIEW_CODE ' + + 'SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE ' + + 'SYSRES_CONST_REQ_SECTION_VALUE ' + + 'SYSRES_CONST_REQ_TYPE_VALUE ' + + 'SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT ' + + 'SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL ' + + 'SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME ' + + 'SYSRES_CONST_REQUISITE_FORMAT_LEFT ' + + 'SYSRES_CONST_REQUISITE_FORMAT_RIGHT ' + + 'SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT ' + + 'SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE ' + + 'SYSRES_CONST_REQUISITE_SECTION_ACTIONS ' + + 'SYSRES_CONST_REQUISITE_SECTION_BUTTON ' + + 'SYSRES_CONST_REQUISITE_SECTION_BUTTONS ' + + 'SYSRES_CONST_REQUISITE_SECTION_CARD ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE10 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE11 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE12 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE13 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE14 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE15 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE16 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE17 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE18 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE19 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE2 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE20 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE21 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE22 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE23 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE24 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE3 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE4 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE5 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE6 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE7 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE8 ' + + 'SYSRES_CONST_REQUISITE_SECTION_TABLE9 ' + + 'SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE ' + + 'SYSRES_CONST_RIGHT_ALIGNMENT_CODE ' + + 'SYSRES_CONST_ROLES_REFERENCE_CODE ' + + 'SYSRES_CONST_ROUTE_STEP_AFTER_RUS ' + + 'SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS ' + + 'SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS ' + + 'SYSRES_CONST_ROUTE_TYPE_COMPLEX ' + + 'SYSRES_CONST_ROUTE_TYPE_PARALLEL ' + + 'SYSRES_CONST_ROUTE_TYPE_SERIAL ' + + 'SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE ' + + 'SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE ' + + 'SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE ' + + 'SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION ' + + 'SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE ' + + 'SYSRES_CONST_SEARCHES_COMPONENT_CONTENT ' + + 'SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME ' + + 'SYSRES_CONST_SEARCHES_EDOC_CONTENT ' + + 'SYSRES_CONST_SEARCHES_FOLDER_CONTENT ' + + 'SYSRES_CONST_SEARCHES_JOB_CONTENT ' + + 'SYSRES_CONST_SEARCHES_REFERENCE_CODE ' + + 'SYSRES_CONST_SEARCHES_TASK_CONTENT ' + + 'SYSRES_CONST_SECOND_CHAR ' + + 'SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE ' + + 'SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE ' + + 'SYSRES_CONST_SECTION_REQUISITE_CODE ' + + 'SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE ' + + 'SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE ' + + 'SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE ' + + 'SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE ' + + 'SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE ' + + 'SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE ' + + 'SYSRES_CONST_SELECT_REFERENCE_MODE_NAME ' + + 'SYSRES_CONST_SELECT_TYPE_SELECTABLE ' + + 'SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD ' + + 'SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD ' + + 'SYSRES_CONST_SELECT_TYPE_UNSLECTABLE ' + + 'SYSRES_CONST_SERVER_TYPE_MAIN ' + + 'SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE ' + + 'SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE ' + + 'SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE ' + + 'SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE ' + + 'SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE ' + + 'SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE ' + + 'SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE ' + + 'SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE ' + + 'SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE ' + + 'SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE ' + + 'SYSRES_CONST_STATE_REQ_NAME ' + + 'SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE ' + + 'SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE ' + + 'SYSRES_CONST_STATE_REQUISITE_CODE ' + + 'SYSRES_CONST_STATIC_ROLE_TYPE_CODE ' + + 'SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE ' + + 'SYSRES_CONST_STATUS_VALUE_AUTOCLEANING ' + + 'SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE ' + + 'SYSRES_CONST_STATUS_VALUE_COMPLETE ' + + 'SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE ' + + 'SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE ' + + 'SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE ' + + 'SYSRES_CONST_STATUS_VALUE_RED_SQUARE ' + + 'SYSRES_CONST_STATUS_VALUE_SUSPEND ' + + 'SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE ' + + 'SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE ' + + 'SYSRES_CONST_STORAGE_TYPE_FILE ' + + 'SYSRES_CONST_STORAGE_TYPE_SQL_SERVER ' + + 'SYSRES_CONST_STR_REQUISITE ' + + 'SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE ' + + 'SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR ' + + 'SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR ' + + 'SYSRES_CONST_STRING_REQUISITE_CODE ' + + 'SYSRES_CONST_STRING_REQUISITE_TYPE ' + + 'SYSRES_CONST_STRING_TYPE_CHAR ' + + 'SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE ' + + 'SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION ' + + 'SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE ' + + 'SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE ' + + 'SYSRES_CONST_SYSTEM_VERSION_COMMENT ' + + 'SYSRES_CONST_TASK_ACCESS_TYPE_ALL ' + + 'SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS ' + + 'SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL ' + + 'SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION ' + + 'SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD ' + + 'SYSRES_CONST_TASK_ENCODE_TYPE_NONE ' + + 'SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD ' + + 'SYSRES_CONST_TASK_ROUTE_ALL_CONDITION ' + + 'SYSRES_CONST_TASK_ROUTE_AND_CONDITION ' + + 'SYSRES_CONST_TASK_ROUTE_OR_CONDITION ' + + 'SYSRES_CONST_TASK_STATE_ABORTED ' + + 'SYSRES_CONST_TASK_STATE_COMPLETE ' + + 'SYSRES_CONST_TASK_STATE_CONTINUED ' + + 'SYSRES_CONST_TASK_STATE_CONTROL ' + + 'SYSRES_CONST_TASK_STATE_INIT ' + + 'SYSRES_CONST_TASK_STATE_WORKING ' + + 'SYSRES_CONST_TASK_TITLE ' + + 'SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE ' + + 'SYSRES_CONST_TASK_TYPES_REFERENCE_CODE ' + + 'SYSRES_CONST_TEMPLATES_REFERENCE_CODE ' + + 'SYSRES_CONST_TEST_DATE_REQUISITE_NAME ' + + 'SYSRES_CONST_TEST_DEV_DATABASE_NAME ' + + 'SYSRES_CONST_TEST_DEV_SYSTEM_CODE ' + + 'SYSRES_CONST_TEST_EDMS_DATABASE_NAME ' + + 'SYSRES_CONST_TEST_EDMS_MAIN_CODE ' + + 'SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME ' + + 'SYSRES_CONST_TEST_EDMS_SECOND_CODE ' + + 'SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME ' + + 'SYSRES_CONST_TEST_EDMS_SYSTEM_CODE ' + + 'SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME ' + + 'SYSRES_CONST_TEXT_REQUISITE ' + + 'SYSRES_CONST_TEXT_REQUISITE_CODE ' + + 'SYSRES_CONST_TEXT_REQUISITE_TYPE ' + + 'SYSRES_CONST_TEXT_TYPE_CHAR ' + + 'SYSRES_CONST_TYPE_CODE_REQUISITE_CODE ' + + 'SYSRES_CONST_TYPE_REQUISITE_CODE ' + + 'SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR ' + + 'SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE ' + + 'SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE ' + + 'SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE ' + + 'SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE ' + + 'SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME ' + + 'SYSRES_CONST_USE_ACCESS_TYPE_CODE ' + + 'SYSRES_CONST_USE_ACCESS_TYPE_NAME ' + + 'SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE ' + + 'SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE ' + + 'SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE ' + + 'SYSRES_CONST_USER_CATEGORY_NORMAL ' + + 'SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE ' + + 'SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE ' + + 'SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE ' + + 'SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE ' + + 'SYSRES_CONST_USER_COMMON_CATEGORY ' + + 'SYSRES_CONST_USER_COMMON_CATEGORY_CODE ' + + 'SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE ' + + 'SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE ' + + 'SYSRES_CONST_USER_LOGIN_REQUISITE_CODE ' + + 'SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE ' + + 'SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE ' + + 'SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE ' + + 'SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE ' + + 'SYSRES_CONST_USER_SERVICE_CATEGORY ' + + 'SYSRES_CONST_USER_SERVICE_CATEGORY_CODE ' + + 'SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE ' + + 'SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME ' + + 'SYSRES_CONST_USER_STATUS_DEVELOPER_CODE ' + + 'SYSRES_CONST_USER_STATUS_DEVELOPER_NAME ' + + 'SYSRES_CONST_USER_STATUS_DISABLED_CODE ' + + 'SYSRES_CONST_USER_STATUS_DISABLED_NAME ' + + 'SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE ' + + 'SYSRES_CONST_USER_STATUS_USER_CODE ' + + 'SYSRES_CONST_USER_STATUS_USER_NAME ' + + 'SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED ' + + 'SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER ' + + 'SYSRES_CONST_USER_TYPE_REQUISITE_CODE ' + + 'SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE ' + + 'SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE ' + + 'SYSRES_CONST_USERS_REFERENCE_CODE ' + + 'SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME ' + + 'SYSRES_CONST_USERS_REQUISITE_CODE ' + + 'SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE ' + + 'SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE ' + + 'SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE ' + + 'SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE ' + + 'SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE ' + + 'SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME ' + + 'SYSRES_CONST_VIEW_DEFAULT_CODE ' + + 'SYSRES_CONST_VIEW_DEFAULT_NAME ' + + 'SYSRES_CONST_VIEWER_REQUISITE_CODE ' + + 'SYSRES_CONST_WAITING_BLOCK_DESCRIPTION ' + + 'SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING ' + + 'SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING ' + + 'SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE ' + + 'SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE ' + + 'SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE ' + + 'SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE ' + + 'SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE ' + + 'SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS ' + + 'SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS ' + + 'SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD ' + + 'SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT ' + + 'SYSRES_CONST_XML_ENCODING ' + + 'SYSRES_CONST_XREC_STAT_REQUISITE_CODE ' + + 'SYSRES_CONST_XRECID_FIELD_NAME ' + + 'SYSRES_CONST_YES ' + + 'SYSRES_CONST_YES_NO_2_REQUISITE_CODE ' + + 'SYSRES_CONST_YES_NO_REQUISITE_CODE ' + + 'SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE ' + + 'SYSRES_CONST_YES_PICK_VALUE ' + + 'SYSRES_CONST_YES_VALUE '; + + // Base constant + var base_constants = 'CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE '; + + // Base group name + var base_group_name_constants = + 'ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME '; + + // Decision block properties + var decision_block_properties_constants = + 'DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY ' + + 'DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY '; + + // File extension + var file_extension_constants = + 'ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION ' + + 'SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION '; + + // Job block properties + var job_block_properties_constants = + 'JOB_BLOCK_ABORT_DEADLINE_PROPERTY ' + + 'JOB_BLOCK_AFTER_FINISH_EVENT ' + + 'JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT ' + + 'JOB_BLOCK_ATTACHMENT_PROPERTY ' + + 'JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY ' + + 'JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY ' + + 'JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT ' + + 'JOB_BLOCK_BEFORE_START_EVENT ' + + 'JOB_BLOCK_CREATED_JOBS_PROPERTY ' + + 'JOB_BLOCK_DEADLINE_PROPERTY ' + + 'JOB_BLOCK_EXECUTION_RESULTS_PROPERTY ' + + 'JOB_BLOCK_IS_PARALLEL_PROPERTY ' + + 'JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY ' + + 'JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY ' + + 'JOB_BLOCK_JOB_TEXT_PROPERTY ' + + 'JOB_BLOCK_NAME_PROPERTY ' + + 'JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY ' + + 'JOB_BLOCK_PERFORMER_PROPERTY ' + + 'JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY ' + + 'JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ' + + 'JOB_BLOCK_SUBJECT_PROPERTY '; + + // Language code + var language_code_constants = + 'ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE '; + + // Launching external applications + var launching_external_applications_constants = + 'smHidden smMaximized smMinimized smNormal wmNo wmYes '; + + // Link kind + var link_kind_constants = + 'COMPONENT_TOKEN_LINK_KIND ' + + 'DOCUMENT_LINK_KIND ' + + 'EDOCUMENT_LINK_KIND ' + + 'FOLDER_LINK_KIND ' + + 'JOB_LINK_KIND ' + + 'REFERENCE_LINK_KIND ' + + 'TASK_LINK_KIND '; + + // Lock type + var lock_type_constants = + 'COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE '; + + // Monitor block properties + var monitor_block_properties_constants = + 'MONITOR_BLOCK_AFTER_FINISH_EVENT ' + + 'MONITOR_BLOCK_BEFORE_START_EVENT ' + + 'MONITOR_BLOCK_DEADLINE_PROPERTY ' + + 'MONITOR_BLOCK_INTERVAL_PROPERTY ' + + 'MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY ' + + 'MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY ' + + 'MONITOR_BLOCK_NAME_PROPERTY ' + + 'MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ' + + 'MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY '; + + // Notice block properties + var notice_block_properties_constants = + 'NOTICE_BLOCK_AFTER_FINISH_EVENT ' + + 'NOTICE_BLOCK_ATTACHMENT_PROPERTY ' + + 'NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY ' + + 'NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY ' + + 'NOTICE_BLOCK_BEFORE_START_EVENT ' + + 'NOTICE_BLOCK_CREATED_NOTICES_PROPERTY ' + + 'NOTICE_BLOCK_DEADLINE_PROPERTY ' + + 'NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY ' + + 'NOTICE_BLOCK_NAME_PROPERTY ' + + 'NOTICE_BLOCK_NOTICE_TEXT_PROPERTY ' + + 'NOTICE_BLOCK_PERFORMER_PROPERTY ' + + 'NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ' + + 'NOTICE_BLOCK_SUBJECT_PROPERTY '; + + // Object events + var object_events_constants = + 'dseAfterCancel ' + + 'dseAfterClose ' + + 'dseAfterDelete ' + + 'dseAfterDeleteOutOfTransaction ' + + 'dseAfterInsert ' + + 'dseAfterOpen ' + + 'dseAfterScroll ' + + 'dseAfterUpdate ' + + 'dseAfterUpdateOutOfTransaction ' + + 'dseBeforeCancel ' + + 'dseBeforeClose ' + + 'dseBeforeDelete ' + + 'dseBeforeDetailUpdate ' + + 'dseBeforeInsert ' + + 'dseBeforeOpen ' + + 'dseBeforeUpdate ' + + 'dseOnAnyRequisiteChange ' + + 'dseOnCloseRecord ' + + 'dseOnDeleteError ' + + 'dseOnOpenRecord ' + + 'dseOnPrepareUpdate ' + + 'dseOnUpdateError ' + + 'dseOnUpdateRatifiedRecord ' + + 'dseOnValidDelete ' + + 'dseOnValidUpdate ' + + 'reOnChange ' + + 'reOnChangeValues ' + + 'SELECTION_BEGIN_ROUTE_EVENT ' + + 'SELECTION_END_ROUTE_EVENT '; + + // Object params + var object_params_constants = + 'CURRENT_PERIOD_IS_REQUIRED ' + + 'PREVIOUS_CARD_TYPE_NAME ' + + 'SHOW_RECORD_PROPERTIES_FORM '; + + // Other + var other_constants = + 'ACCESS_RIGHTS_SETTING_DIALOG_CODE ' + + 'ADMINISTRATOR_USER_CODE ' + + 'ANALYTIC_REPORT_TYPE ' + + 'asrtHideLocal ' + + 'asrtHideRemote ' + + 'CALCULATED_ROLE_TYPE_CODE ' + + 'COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE ' + + 'DCTS_TEST_PROTOCOLS_FOLDER_PATH ' + + 'E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED ' + + 'E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER ' + + 'E_EDOC_VERSION_ALREDY_SIGNED ' + + 'E_EDOC_VERSION_ALREDY_SIGNED_BY_USER ' + + 'EDOC_TYPES_CODE_REQUISITE_FIELD_NAME ' + + 'EDOCUMENTS_ALIAS_NAME ' + + 'FILES_FOLDER_PATH ' + + 'FILTER_OPERANDS_DELIMITER ' + + 'FILTER_OPERATIONS_DELIMITER ' + + 'FORMCARD_NAME ' + + 'FORMLIST_NAME ' + + 'GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE ' + + 'GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE ' + + 'INTEGRATED_REPORT_TYPE ' + + 'IS_BUILDER_APPLICATION_ROLE ' + + 'IS_BUILDER_APPLICATION_ROLE2 ' + + 'IS_BUILDER_USERS ' + + 'ISBSYSDEV ' + + 'LOG_FOLDER_PATH ' + + 'mbCancel ' + + 'mbNo ' + + 'mbNoToAll ' + + 'mbOK ' + + 'mbYes ' + + 'mbYesToAll ' + + 'MEMORY_DATASET_DESRIPTIONS_FILENAME ' + + 'mrNo ' + + 'mrNoToAll ' + + 'mrYes ' + + 'mrYesToAll ' + + 'MULTIPLE_SELECT_DIALOG_CODE ' + + 'NONOPERATING_RECORD_FLAG_FEMININE ' + + 'NONOPERATING_RECORD_FLAG_MASCULINE ' + + 'OPERATING_RECORD_FLAG_FEMININE ' + + 'OPERATING_RECORD_FLAG_MASCULINE ' + + 'PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE ' + + 'PROGRAM_INITIATED_LOOKUP_ACTION ' + + 'ratDelete ' + + 'ratEdit ' + + 'ratInsert ' + + 'REPORT_TYPE ' + + 'REQUIRED_PICK_VALUES_VARIABLE ' + + 'rmCard ' + + 'rmList ' + + 'SBRTE_PROGID_DEV ' + + 'SBRTE_PROGID_RELEASE ' + + 'STATIC_ROLE_TYPE_CODE ' + + 'SUPPRESS_EMPTY_TEMPLATE_CREATION ' + + 'SYSTEM_USER_CODE ' + + 'UPDATE_DIALOG_DATASET ' + + 'USED_IN_OBJECT_HINT_PARAM ' + + 'USER_INITIATED_LOOKUP_ACTION ' + + 'USER_NAME_FORMAT ' + + 'USER_SELECTION_RESTRICTIONS ' + + 'WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ' + + 'ELS_SUBTYPE_CONTROL_NAME ' + + 'ELS_FOLDER_KIND_CONTROL_NAME ' + + 'REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME '; + + // Privileges + var privileges_constants = + 'PRIVILEGE_COMPONENT_FULL_ACCESS ' + + 'PRIVILEGE_DEVELOPMENT_EXPORT ' + + 'PRIVILEGE_DEVELOPMENT_IMPORT ' + + 'PRIVILEGE_DOCUMENT_DELETE ' + + 'PRIVILEGE_ESD ' + + 'PRIVILEGE_FOLDER_DELETE ' + + 'PRIVILEGE_MANAGE_ACCESS_RIGHTS ' + + 'PRIVILEGE_MANAGE_REPLICATION ' + + 'PRIVILEGE_MANAGE_SESSION_SERVER ' + + 'PRIVILEGE_OBJECT_FULL_ACCESS ' + + 'PRIVILEGE_OBJECT_VIEW ' + + 'PRIVILEGE_RESERVE_LICENSE ' + + 'PRIVILEGE_SYSTEM_CUSTOMIZE ' + + 'PRIVILEGE_SYSTEM_DEVELOP ' + + 'PRIVILEGE_SYSTEM_INSTALL ' + + 'PRIVILEGE_TASK_DELETE ' + + 'PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE ' + + 'PRIVILEGES_PSEUDOREFERENCE_CODE '; + + // Pseudoreference code + var pseudoreference_code_constants = + 'ACCESS_TYPES_PSEUDOREFERENCE_CODE ' + + 'ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ' + + 'ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ' + + 'ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE ' + + 'AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE ' + + 'COMPONENTS_PSEUDOREFERENCE_CODE ' + + 'FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE ' + + 'GROUPS_PSEUDOREFERENCE_CODE ' + + 'RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE ' + + 'REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE ' + + 'REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE ' + + 'REFTYPES_PSEUDOREFERENCE_CODE ' + + 'REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE ' + + 'SEND_PROTOCOL_PSEUDOREFERENCE_CODE ' + + 'SUBSTITUTES_PSEUDOREFERENCE_CODE ' + + 'SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE ' + + 'UNITS_PSEUDOREFERENCE_CODE ' + + 'USERS_PSEUDOREFERENCE_CODE ' + + 'VIEWERS_PSEUDOREFERENCE_CODE '; + + // Requisite ISBCertificateType values + var requisite_ISBCertificateType_values_constants = + 'CERTIFICATE_TYPE_ENCRYPT ' + + 'CERTIFICATE_TYPE_SIGN ' + + 'CERTIFICATE_TYPE_SIGN_AND_ENCRYPT '; + + // Requisite ISBEDocStorageType values + var requisite_ISBEDocStorageType_values_constants = + 'STORAGE_TYPE_FILE ' + + 'STORAGE_TYPE_NAS_CIFS ' + + 'STORAGE_TYPE_SAPERION ' + + 'STORAGE_TYPE_SQL_SERVER '; + + // Requisite CompType2 values + var requisite_compType2_values_constants = + 'COMPTYPE2_REQUISITE_DOCUMENTS_VALUE ' + + 'COMPTYPE2_REQUISITE_TASKS_VALUE ' + + 'COMPTYPE2_REQUISITE_FOLDERS_VALUE ' + + 'COMPTYPE2_REQUISITE_REFERENCES_VALUE '; + + // Requisite name + var requisite_name_constants = + 'SYSREQ_CODE ' + + 'SYSREQ_COMPTYPE2 ' + + 'SYSREQ_CONST_AVAILABLE_FOR_WEB ' + + 'SYSREQ_CONST_COMMON_CODE ' + + 'SYSREQ_CONST_COMMON_VALUE ' + + 'SYSREQ_CONST_FIRM_CODE ' + + 'SYSREQ_CONST_FIRM_STATUS ' + + 'SYSREQ_CONST_FIRM_VALUE ' + + 'SYSREQ_CONST_SERVER_STATUS ' + + 'SYSREQ_CONTENTS ' + + 'SYSREQ_DATE_OPEN ' + + 'SYSREQ_DATE_CLOSE ' + + 'SYSREQ_DESCRIPTION ' + + 'SYSREQ_DESCRIPTION_LOCALIZE_ID ' + + 'SYSREQ_DOUBLE ' + + 'SYSREQ_EDOC_ACCESS_TYPE ' + + 'SYSREQ_EDOC_AUTHOR ' + + 'SYSREQ_EDOC_CREATED ' + + 'SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE ' + + 'SYSREQ_EDOC_EDITOR ' + + 'SYSREQ_EDOC_ENCODE_TYPE ' + + 'SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME ' + + 'SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION ' + + 'SYSREQ_EDOC_EXPORT_DATE ' + + 'SYSREQ_EDOC_EXPORTER ' + + 'SYSREQ_EDOC_KIND ' + + 'SYSREQ_EDOC_LIFE_STAGE_NAME ' + + 'SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE ' + + 'SYSREQ_EDOC_MODIFIED ' + + 'SYSREQ_EDOC_NAME ' + + 'SYSREQ_EDOC_NOTE ' + + 'SYSREQ_EDOC_QUALIFIED_ID ' + + 'SYSREQ_EDOC_SESSION_KEY ' + + 'SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME ' + + 'SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION ' + + 'SYSREQ_EDOC_SIGNATURE_TYPE ' + + 'SYSREQ_EDOC_SIGNED ' + + 'SYSREQ_EDOC_STORAGE ' + + 'SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE ' + + 'SYSREQ_EDOC_STORAGES_CHECK_RIGHTS ' + + 'SYSREQ_EDOC_STORAGES_COMPUTER_NAME ' + + 'SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE ' + + 'SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE ' + + 'SYSREQ_EDOC_STORAGES_FUNCTION ' + + 'SYSREQ_EDOC_STORAGES_INITIALIZED ' + + 'SYSREQ_EDOC_STORAGES_LOCAL_PATH ' + + 'SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME ' + + 'SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT ' + + 'SYSREQ_EDOC_STORAGES_SERVER_NAME ' + + 'SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME ' + + 'SYSREQ_EDOC_STORAGES_TYPE ' + + 'SYSREQ_EDOC_TEXT_MODIFIED ' + + 'SYSREQ_EDOC_TYPE_ACT_CODE ' + + 'SYSREQ_EDOC_TYPE_ACT_DESCRIPTION ' + + 'SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID ' + + 'SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE ' + + 'SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS ' + + 'SYSREQ_EDOC_TYPE_ACT_SECTION ' + + 'SYSREQ_EDOC_TYPE_ADD_PARAMS ' + + 'SYSREQ_EDOC_TYPE_COMMENT ' + + 'SYSREQ_EDOC_TYPE_EVENT_TEXT ' + + 'SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR ' + + 'SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID ' + + 'SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID ' + + 'SYSREQ_EDOC_TYPE_NUMERATION_METHOD ' + + 'SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE ' + + 'SYSREQ_EDOC_TYPE_REQ_CODE ' + + 'SYSREQ_EDOC_TYPE_REQ_DESCRIPTION ' + + 'SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID ' + + 'SYSREQ_EDOC_TYPE_REQ_IS_LEADING ' + + 'SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED ' + + 'SYSREQ_EDOC_TYPE_REQ_NUMBER ' + + 'SYSREQ_EDOC_TYPE_REQ_ON_CHANGE ' + + 'SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS ' + + 'SYSREQ_EDOC_TYPE_REQ_ON_SELECT ' + + 'SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND ' + + 'SYSREQ_EDOC_TYPE_REQ_SECTION ' + + 'SYSREQ_EDOC_TYPE_VIEW_CARD ' + + 'SYSREQ_EDOC_TYPE_VIEW_CODE ' + + 'SYSREQ_EDOC_TYPE_VIEW_COMMENT ' + + 'SYSREQ_EDOC_TYPE_VIEW_IS_MAIN ' + + 'SYSREQ_EDOC_TYPE_VIEW_NAME ' + + 'SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID ' + + 'SYSREQ_EDOC_VERSION_AUTHOR ' + + 'SYSREQ_EDOC_VERSION_CRC ' + + 'SYSREQ_EDOC_VERSION_DATA ' + + 'SYSREQ_EDOC_VERSION_EDITOR ' + + 'SYSREQ_EDOC_VERSION_EXPORT_DATE ' + + 'SYSREQ_EDOC_VERSION_EXPORTER ' + + 'SYSREQ_EDOC_VERSION_HIDDEN ' + + 'SYSREQ_EDOC_VERSION_LIFE_STAGE ' + + 'SYSREQ_EDOC_VERSION_MODIFIED ' + + 'SYSREQ_EDOC_VERSION_NOTE ' + + 'SYSREQ_EDOC_VERSION_SIGNATURE_TYPE ' + + 'SYSREQ_EDOC_VERSION_SIGNED ' + + 'SYSREQ_EDOC_VERSION_SIZE ' + + 'SYSREQ_EDOC_VERSION_SOURCE ' + + 'SYSREQ_EDOC_VERSION_TEXT_MODIFIED ' + + 'SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE ' + + 'SYSREQ_FOLDER_KIND ' + + 'SYSREQ_FUNC_CATEGORY ' + + 'SYSREQ_FUNC_COMMENT ' + + 'SYSREQ_FUNC_GROUP ' + + 'SYSREQ_FUNC_GROUP_COMMENT ' + + 'SYSREQ_FUNC_GROUP_NUMBER ' + + 'SYSREQ_FUNC_HELP ' + + 'SYSREQ_FUNC_PARAM_DEF_VALUE ' + + 'SYSREQ_FUNC_PARAM_IDENT ' + + 'SYSREQ_FUNC_PARAM_NUMBER ' + + 'SYSREQ_FUNC_PARAM_TYPE ' + + 'SYSREQ_FUNC_TEXT ' + + 'SYSREQ_GROUP_CATEGORY ' + + 'SYSREQ_ID ' + + 'SYSREQ_LAST_UPDATE ' + + 'SYSREQ_LEADER_REFERENCE ' + + 'SYSREQ_LINE_NUMBER ' + + 'SYSREQ_MAIN_RECORD_ID ' + + 'SYSREQ_NAME ' + + 'SYSREQ_NAME_LOCALIZE_ID ' + + 'SYSREQ_NOTE ' + + 'SYSREQ_ORIGINAL_RECORD ' + + 'SYSREQ_OUR_FIRM ' + + 'SYSREQ_PROFILING_SETTINGS_BATCH_LOGING ' + + 'SYSREQ_PROFILING_SETTINGS_BATCH_SIZE ' + + 'SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED ' + + 'SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED ' + + 'SYSREQ_PROFILING_SETTINGS_START_LOGGED ' + + 'SYSREQ_RECORD_STATUS ' + + 'SYSREQ_REF_REQ_FIELD_NAME ' + + 'SYSREQ_REF_REQ_FORMAT ' + + 'SYSREQ_REF_REQ_GENERATED ' + + 'SYSREQ_REF_REQ_LENGTH ' + + 'SYSREQ_REF_REQ_PRECISION ' + + 'SYSREQ_REF_REQ_REFERENCE ' + + 'SYSREQ_REF_REQ_SECTION ' + + 'SYSREQ_REF_REQ_STORED ' + + 'SYSREQ_REF_REQ_TOKENS ' + + 'SYSREQ_REF_REQ_TYPE ' + + 'SYSREQ_REF_REQ_VIEW ' + + 'SYSREQ_REF_TYPE_ACT_CODE ' + + 'SYSREQ_REF_TYPE_ACT_DESCRIPTION ' + + 'SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID ' + + 'SYSREQ_REF_TYPE_ACT_ON_EXECUTE ' + + 'SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS ' + + 'SYSREQ_REF_TYPE_ACT_SECTION ' + + 'SYSREQ_REF_TYPE_ADD_PARAMS ' + + 'SYSREQ_REF_TYPE_COMMENT ' + + 'SYSREQ_REF_TYPE_COMMON_SETTINGS ' + + 'SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME ' + + 'SYSREQ_REF_TYPE_EVENT_TEXT ' + + 'SYSREQ_REF_TYPE_MAIN_LEADING_REF ' + + 'SYSREQ_REF_TYPE_NAME_IN_SINGULAR ' + + 'SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID ' + + 'SYSREQ_REF_TYPE_NAME_LOCALIZE_ID ' + + 'SYSREQ_REF_TYPE_NUMERATION_METHOD ' + + 'SYSREQ_REF_TYPE_REQ_CODE ' + + 'SYSREQ_REF_TYPE_REQ_DESCRIPTION ' + + 'SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID ' + + 'SYSREQ_REF_TYPE_REQ_IS_CONTROL ' + + 'SYSREQ_REF_TYPE_REQ_IS_FILTER ' + + 'SYSREQ_REF_TYPE_REQ_IS_LEADING ' + + 'SYSREQ_REF_TYPE_REQ_IS_REQUIRED ' + + 'SYSREQ_REF_TYPE_REQ_NUMBER ' + + 'SYSREQ_REF_TYPE_REQ_ON_CHANGE ' + + 'SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS ' + + 'SYSREQ_REF_TYPE_REQ_ON_SELECT ' + + 'SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND ' + + 'SYSREQ_REF_TYPE_REQ_SECTION ' + + 'SYSREQ_REF_TYPE_VIEW_CARD ' + + 'SYSREQ_REF_TYPE_VIEW_CODE ' + + 'SYSREQ_REF_TYPE_VIEW_COMMENT ' + + 'SYSREQ_REF_TYPE_VIEW_IS_MAIN ' + + 'SYSREQ_REF_TYPE_VIEW_NAME ' + + 'SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID ' + + 'SYSREQ_REFERENCE_TYPE_ID ' + + 'SYSREQ_STATE ' + + 'SYSREQ_STATЕ ' + + 'SYSREQ_SYSTEM_SETTINGS_VALUE ' + + 'SYSREQ_TYPE ' + + 'SYSREQ_UNIT ' + + 'SYSREQ_UNIT_ID ' + + 'SYSREQ_USER_GROUPS_GROUP_FULL_NAME ' + + 'SYSREQ_USER_GROUPS_GROUP_NAME ' + + 'SYSREQ_USER_GROUPS_GROUP_SERVER_NAME ' + + 'SYSREQ_USERS_ACCESS_RIGHTS ' + + 'SYSREQ_USERS_AUTHENTICATION ' + + 'SYSREQ_USERS_CATEGORY ' + + 'SYSREQ_USERS_COMPONENT ' + + 'SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC ' + + 'SYSREQ_USERS_DOMAIN ' + + 'SYSREQ_USERS_FULL_USER_NAME ' + + 'SYSREQ_USERS_GROUP ' + + 'SYSREQ_USERS_IS_MAIN_SERVER ' + + 'SYSREQ_USERS_LOGIN ' + + 'SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC ' + + 'SYSREQ_USERS_STATUS ' + + 'SYSREQ_USERS_USER_CERTIFICATE ' + + 'SYSREQ_USERS_USER_CERTIFICATE_INFO ' + + 'SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME ' + + 'SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION ' + + 'SYSREQ_USERS_USER_CERTIFICATE_STATE ' + + 'SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME ' + + 'SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT ' + + 'SYSREQ_USERS_USER_DEFAULT_CERTIFICATE ' + + 'SYSREQ_USERS_USER_DESCRIPTION ' + + 'SYSREQ_USERS_USER_GLOBAL_NAME ' + + 'SYSREQ_USERS_USER_LOGIN ' + + 'SYSREQ_USERS_USER_MAIN_SERVER ' + + 'SYSREQ_USERS_USER_TYPE ' + + 'SYSREQ_WORK_RULES_FOLDER_ID '; + + // Result + var result_constants = 'RESULT_VAR_NAME RESULT_VAR_NAME_ENG '; + + // Rule identification + var rule_identification_constants = + 'AUTO_NUMERATION_RULE_ID ' + + 'CANT_CHANGE_ID_REQUISITE_RULE_ID ' + + 'CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID ' + + 'CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID ' + + 'CHECK_CODE_REQUISITE_RULE_ID ' + + 'CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID ' + + 'CHECK_FILTRATER_CHANGES_RULE_ID ' + + 'CHECK_RECORD_INTERVAL_RULE_ID ' + + 'CHECK_REFERENCE_INTERVAL_RULE_ID ' + + 'CHECK_REQUIRED_DATA_FULLNESS_RULE_ID ' + + 'CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID ' + + 'MAKE_RECORD_UNRATIFIED_RULE_ID ' + + 'RESTORE_AUTO_NUMERATION_RULE_ID ' + + 'SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID ' + + 'SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID ' + + 'SET_IDSPS_VALUE_RULE_ID ' + + 'SET_NEXT_CODE_VALUE_RULE_ID ' + + 'SET_OURFIRM_BOUNDS_RULE_ID ' + + 'SET_OURFIRM_REQUISITE_RULE_ID '; + + // Script block properties + var script_block_properties_constants = + 'SCRIPT_BLOCK_AFTER_FINISH_EVENT ' + + 'SCRIPT_BLOCK_BEFORE_START_EVENT ' + + 'SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY ' + + 'SCRIPT_BLOCK_NAME_PROPERTY ' + + 'SCRIPT_BLOCK_SCRIPT_PROPERTY '; + + // Subtask block properties + var subtask_block_properties_constants = + 'SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY ' + + 'SUBTASK_BLOCK_AFTER_FINISH_EVENT ' + + 'SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT ' + + 'SUBTASK_BLOCK_ATTACHMENTS_PROPERTY ' + + 'SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY ' + + 'SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY ' + + 'SUBTASK_BLOCK_BEFORE_START_EVENT ' + + 'SUBTASK_BLOCK_CREATED_TASK_PROPERTY ' + + 'SUBTASK_BLOCK_CREATION_EVENT ' + + 'SUBTASK_BLOCK_DEADLINE_PROPERTY ' + + 'SUBTASK_BLOCK_IMPORTANCE_PROPERTY ' + + 'SUBTASK_BLOCK_INITIATOR_PROPERTY ' + + 'SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY ' + + 'SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY ' + + 'SUBTASK_BLOCK_JOBS_TYPE_PROPERTY ' + + 'SUBTASK_BLOCK_NAME_PROPERTY ' + + 'SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY ' + + 'SUBTASK_BLOCK_PERFORMERS_PROPERTY ' + + 'SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY ' + + 'SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ' + + 'SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY ' + + 'SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY ' + + 'SUBTASK_BLOCK_START_EVENT ' + + 'SUBTASK_BLOCK_STEP_CONTROL_PROPERTY ' + + 'SUBTASK_BLOCK_SUBJECT_PROPERTY ' + + 'SUBTASK_BLOCK_TASK_CONTROL_PROPERTY ' + + 'SUBTASK_BLOCK_TEXT_PROPERTY ' + + 'SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY ' + + 'SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY ' + + 'SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY '; + + // System component + var system_component_constants = + 'SYSCOMP_CONTROL_JOBS ' + + 'SYSCOMP_FOLDERS ' + + 'SYSCOMP_JOBS ' + + 'SYSCOMP_NOTICES ' + + 'SYSCOMP_TASKS '; + + // System dialogs + var system_dialogs_constants = + 'SYSDLG_CREATE_EDOCUMENT ' + + 'SYSDLG_CREATE_EDOCUMENT_VERSION ' + + 'SYSDLG_CURRENT_PERIOD ' + + 'SYSDLG_EDIT_FUNCTION_HELP ' + + 'SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE ' + + 'SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS ' + + 'SYSDLG_EXPORT_SINGLE_EDOCUMENT ' + + 'SYSDLG_IMPORT_EDOCUMENT ' + + 'SYSDLG_MULTIPLE_SELECT ' + + 'SYSDLG_SETUP_ACCESS_RIGHTS ' + + 'SYSDLG_SETUP_DEFAULT_RIGHTS ' + + 'SYSDLG_SETUP_FILTER_CONDITION ' + + 'SYSDLG_SETUP_SIGN_RIGHTS ' + + 'SYSDLG_SETUP_TASK_OBSERVERS ' + + 'SYSDLG_SETUP_TASK_ROUTE ' + + 'SYSDLG_SETUP_USERS_LIST ' + + 'SYSDLG_SIGN_EDOCUMENT ' + + 'SYSDLG_SIGN_MULTIPLE_EDOCUMENTS '; + + // System reference names + var system_reference_names_constants = + 'SYSREF_ACCESS_RIGHTS_TYPES ' + + 'SYSREF_ADMINISTRATION_HISTORY ' + + 'SYSREF_ALL_AVAILABLE_COMPONENTS ' + + 'SYSREF_ALL_AVAILABLE_PRIVILEGES ' + + 'SYSREF_ALL_REPLICATING_COMPONENTS ' + + 'SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS ' + + 'SYSREF_CALENDAR_EVENTS ' + + 'SYSREF_COMPONENT_TOKEN_HISTORY ' + + 'SYSREF_COMPONENT_TOKENS ' + + 'SYSREF_COMPONENTS ' + + 'SYSREF_CONSTANTS ' + + 'SYSREF_DATA_RECEIVE_PROTOCOL ' + + 'SYSREF_DATA_SEND_PROTOCOL ' + + 'SYSREF_DIALOGS ' + + 'SYSREF_DIALOGS_REQUISITES ' + + 'SYSREF_EDITORS ' + + 'SYSREF_EDOC_CARDS ' + + 'SYSREF_EDOC_TYPES ' + + 'SYSREF_EDOCUMENT_CARD_REQUISITES ' + + 'SYSREF_EDOCUMENT_CARD_TYPES ' + + 'SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE ' + + 'SYSREF_EDOCUMENT_CARDS ' + + 'SYSREF_EDOCUMENT_HISTORY ' + + 'SYSREF_EDOCUMENT_KINDS ' + + 'SYSREF_EDOCUMENT_REQUISITES ' + + 'SYSREF_EDOCUMENT_SIGNATURES ' + + 'SYSREF_EDOCUMENT_TEMPLATES ' + + 'SYSREF_EDOCUMENT_TEXT_STORAGES ' + + 'SYSREF_EDOCUMENT_VIEWS ' + + 'SYSREF_FILTERER_SETUP_CONFLICTS ' + + 'SYSREF_FILTRATER_SETTING_CONFLICTS ' + + 'SYSREF_FOLDER_HISTORY ' + + 'SYSREF_FOLDERS ' + + 'SYSREF_FUNCTION_GROUPS ' + + 'SYSREF_FUNCTION_PARAMS ' + + 'SYSREF_FUNCTIONS ' + + 'SYSREF_JOB_HISTORY ' + + 'SYSREF_LINKS ' + + 'SYSREF_LOCALIZATION_DICTIONARY ' + + 'SYSREF_LOCALIZATION_LANGUAGES ' + + 'SYSREF_MODULES ' + + 'SYSREF_PRIVILEGES ' + + 'SYSREF_RECORD_HISTORY ' + + 'SYSREF_REFERENCE_REQUISITES ' + + 'SYSREF_REFERENCE_TYPE_VIEWS ' + + 'SYSREF_REFERENCE_TYPES ' + + 'SYSREF_REFERENCES ' + + 'SYSREF_REFERENCES_REQUISITES ' + + 'SYSREF_REMOTE_SERVERS ' + + 'SYSREF_REPLICATION_SESSIONS_LOG ' + + 'SYSREF_REPLICATION_SESSIONS_PROTOCOL ' + + 'SYSREF_REPORTS ' + + 'SYSREF_ROLES ' + + 'SYSREF_ROUTE_BLOCK_GROUPS ' + + 'SYSREF_ROUTE_BLOCKS ' + + 'SYSREF_SCRIPTS ' + + 'SYSREF_SEARCHES ' + + 'SYSREF_SERVER_EVENTS ' + + 'SYSREF_SERVER_EVENTS_HISTORY ' + + 'SYSREF_STANDARD_ROUTE_GROUPS ' + + 'SYSREF_STANDARD_ROUTES ' + + 'SYSREF_STATUSES ' + + 'SYSREF_SYSTEM_SETTINGS ' + + 'SYSREF_TASK_HISTORY ' + + 'SYSREF_TASK_KIND_GROUPS ' + + 'SYSREF_TASK_KINDS ' + + 'SYSREF_TASK_RIGHTS ' + + 'SYSREF_TASK_SIGNATURES ' + + 'SYSREF_TASKS ' + + 'SYSREF_UNITS ' + + 'SYSREF_USER_GROUPS ' + + 'SYSREF_USER_GROUPS_REFERENCE ' + + 'SYSREF_USER_SUBSTITUTION ' + + 'SYSREF_USERS ' + + 'SYSREF_USERS_REFERENCE ' + + 'SYSREF_VIEWERS ' + + 'SYSREF_WORKING_TIME_CALENDARS '; + + // Table name + var table_name_constants = + 'ACCESS_RIGHTS_TABLE_NAME ' + + 'EDMS_ACCESS_TABLE_NAME ' + + 'EDOC_TYPES_TABLE_NAME '; + + // Test + var test_constants = + 'TEST_DEV_DB_NAME ' + + 'TEST_DEV_SYSTEM_CODE ' + + 'TEST_EDMS_DB_NAME ' + + 'TEST_EDMS_MAIN_CODE ' + + 'TEST_EDMS_MAIN_DB_NAME ' + + 'TEST_EDMS_SECOND_CODE ' + + 'TEST_EDMS_SECOND_DB_NAME ' + + 'TEST_EDMS_SYSTEM_CODE ' + + 'TEST_ISB5_MAIN_CODE ' + + 'TEST_ISB5_SECOND_CODE ' + + 'TEST_SQL_SERVER_2005_NAME ' + + 'TEST_SQL_SERVER_NAME '; + + // Using the dialog windows + var using_the_dialog_windows_constants = + 'ATTENTION_CAPTION ' + + 'cbsCommandLinks ' + + 'cbsDefault ' + + 'CONFIRMATION_CAPTION ' + + 'ERROR_CAPTION ' + + 'INFORMATION_CAPTION ' + + 'mrCancel ' + + 'mrOk '; + + // Using the document + var using_the_document_constants = + 'EDOC_VERSION_ACTIVE_STAGE_CODE ' + + 'EDOC_VERSION_DESIGN_STAGE_CODE ' + + 'EDOC_VERSION_OBSOLETE_STAGE_CODE '; + + // Using the EA and encryption + var using_the_EA_and_encryption_constants = + 'cpDataEnciphermentEnabled ' + + 'cpDigitalSignatureEnabled ' + + 'cpID ' + + 'cpIssuer ' + + 'cpPluginVersion ' + + 'cpSerial ' + + 'cpSubjectName ' + + 'cpSubjSimpleName ' + + 'cpValidFromDate ' + + 'cpValidToDate '; + + // Using the ISBL-editor + var using_the_ISBL_editor_constants = + 'ISBL_SYNTAX ' + 'NO_SYNTAX ' + 'XML_SYNTAX '; + + // Wait block properties + var wait_block_properties_constants = + 'WAIT_BLOCK_AFTER_FINISH_EVENT ' + + 'WAIT_BLOCK_BEFORE_START_EVENT ' + + 'WAIT_BLOCK_DEADLINE_PROPERTY ' + + 'WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY ' + + 'WAIT_BLOCK_NAME_PROPERTY ' + + 'WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY '; + + // SYSRES Common + var sysres_common_constants = + 'SYSRES_COMMON ' + + 'SYSRES_CONST ' + + 'SYSRES_MBFUNC ' + + 'SYSRES_SBDATA ' + + 'SYSRES_SBGUI ' + + 'SYSRES_SBINTF ' + + 'SYSRES_SBREFDSC ' + + 'SYSRES_SQLERRORS ' + + 'SYSRES_SYSCOMP '; + + // Константы ==> built_in + var CONSTANTS = + sysres_constants + + base_constants + + base_group_name_constants + + decision_block_properties_constants + + file_extension_constants + + job_block_properties_constants + + language_code_constants + + launching_external_applications_constants + + link_kind_constants + + lock_type_constants + + monitor_block_properties_constants + + notice_block_properties_constants + + object_events_constants + + object_params_constants + + other_constants + + privileges_constants + + pseudoreference_code_constants + + requisite_ISBCertificateType_values_constants + + requisite_ISBEDocStorageType_values_constants + + requisite_compType2_values_constants + + requisite_name_constants + + result_constants + + rule_identification_constants + + script_block_properties_constants + + subtask_block_properties_constants + + system_component_constants + + system_dialogs_constants + + system_reference_names_constants + + table_name_constants + + test_constants + + using_the_dialog_windows_constants + + using_the_document_constants + + using_the_EA_and_encryption_constants + + using_the_ISBL_editor_constants + + wait_block_properties_constants + + sysres_common_constants; + + // enum TAccountType + var TAccountType = 'atUser atGroup atRole '; + + // enum TActionEnabledMode + var TActionEnabledMode = + 'aemEnabledAlways ' + + 'aemDisabledAlways ' + + 'aemEnabledOnBrowse ' + + 'aemEnabledOnEdit ' + + 'aemDisabledOnBrowseEmpty '; + + // enum TAddPosition + var TAddPosition = 'apBegin apEnd '; + + // enum TAlignment + var TAlignment = 'alLeft alRight '; + + // enum TAreaShowMode + var TAreaShowMode = + 'asmNever ' + + 'asmNoButCustomize ' + + 'asmAsLastTime ' + + 'asmYesButCustomize ' + + 'asmAlways '; + + // enum TCertificateInvalidationReason + var TCertificateInvalidationReason = 'cirCommon cirRevoked '; + + // enum TCertificateType + var TCertificateType = 'ctSignature ctEncode ctSignatureEncode '; + + // enum TCheckListBoxItemState + var TCheckListBoxItemState = 'clbUnchecked clbChecked clbGrayed '; + + // enum TCloseOnEsc + var TCloseOnEsc = 'ceISB ceAlways ceNever '; + + // enum TCompType + var TCompType = + 'ctDocument ' + + 'ctReference ' + + 'ctScript ' + + 'ctUnknown ' + + 'ctReport ' + + 'ctDialog ' + + 'ctFunction ' + + 'ctFolder ' + + 'ctEDocument ' + + 'ctTask ' + + 'ctJob ' + + 'ctNotice ' + + 'ctControlJob '; + + // enum TConditionFormat + var TConditionFormat = 'cfInternal cfDisplay '; + + // enum TConnectionIntent + var TConnectionIntent = 'ciUnspecified ciWrite ciRead '; + + // enum TContentKind + var TContentKind = + 'ckFolder ' + + 'ckEDocument ' + + 'ckTask ' + + 'ckJob ' + + 'ckComponentToken ' + + 'ckAny ' + + 'ckReference ' + + 'ckScript ' + + 'ckReport ' + + 'ckDialog '; + + // enum TControlType + var TControlType = + 'ctISBLEditor ' + + 'ctBevel ' + + 'ctButton ' + + 'ctCheckListBox ' + + 'ctComboBox ' + + 'ctComboEdit ' + + 'ctGrid ' + + 'ctDBCheckBox ' + + 'ctDBComboBox ' + + 'ctDBEdit ' + + 'ctDBEllipsis ' + + 'ctDBMemo ' + + 'ctDBNavigator ' + + 'ctDBRadioGroup ' + + 'ctDBStatusLabel ' + + 'ctEdit ' + + 'ctGroupBox ' + + 'ctInplaceHint ' + + 'ctMemo ' + + 'ctPanel ' + + 'ctListBox ' + + 'ctRadioButton ' + + 'ctRichEdit ' + + 'ctTabSheet ' + + 'ctWebBrowser ' + + 'ctImage ' + + 'ctHyperLink ' + + 'ctLabel ' + + 'ctDBMultiEllipsis ' + + 'ctRibbon ' + + 'ctRichView ' + + 'ctInnerPanel ' + + 'ctPanelGroup ' + + 'ctBitButton '; + + // enum TCriterionContentType + var TCriterionContentType = + 'cctDate ' + + 'cctInteger ' + + 'cctNumeric ' + + 'cctPick ' + + 'cctReference ' + + 'cctString ' + + 'cctText '; + + // enum TCultureType + var TCultureType = 'cltInternal cltPrimary cltGUI '; + + // enum TDataSetEventType + var TDataSetEventType = + 'dseBeforeOpen ' + + 'dseAfterOpen ' + + 'dseBeforeClose ' + + 'dseAfterClose ' + + 'dseOnValidDelete ' + + 'dseBeforeDelete ' + + 'dseAfterDelete ' + + 'dseAfterDeleteOutOfTransaction ' + + 'dseOnDeleteError ' + + 'dseBeforeInsert ' + + 'dseAfterInsert ' + + 'dseOnValidUpdate ' + + 'dseBeforeUpdate ' + + 'dseOnUpdateRatifiedRecord ' + + 'dseAfterUpdate ' + + 'dseAfterUpdateOutOfTransaction ' + + 'dseOnUpdateError ' + + 'dseAfterScroll ' + + 'dseOnOpenRecord ' + + 'dseOnCloseRecord ' + + 'dseBeforeCancel ' + + 'dseAfterCancel ' + + 'dseOnUpdateDeadlockError ' + + 'dseBeforeDetailUpdate ' + + 'dseOnPrepareUpdate ' + + 'dseOnAnyRequisiteChange '; + + // enum TDataSetState + var TDataSetState = 'dssEdit dssInsert dssBrowse dssInActive '; + + // enum TDateFormatType + var TDateFormatType = 'dftDate dftShortDate dftDateTime dftTimeStamp '; + + // enum TDateOffsetType + var TDateOffsetType = 'dotDays dotHours dotMinutes dotSeconds '; + + // enum TDateTimeKind + var TDateTimeKind = 'dtkndLocal dtkndUTC '; + + // enum TDeaAccessRights + var TDeaAccessRights = 'arNone arView arEdit arFull '; + + // enum TDocumentDefaultAction + var TDocumentDefaultAction = 'ddaView ddaEdit '; + + // enum TEditMode + var TEditMode = + 'emLock ' + + 'emEdit ' + + 'emSign ' + + 'emExportWithLock ' + + 'emImportWithUnlock ' + + 'emChangeVersionNote ' + + 'emOpenForModify ' + + 'emChangeLifeStage ' + + 'emDelete ' + + 'emCreateVersion ' + + 'emImport ' + + 'emUnlockExportedWithLock ' + + 'emStart ' + + 'emAbort ' + + 'emReInit ' + + 'emMarkAsReaded ' + + 'emMarkAsUnreaded ' + + 'emPerform ' + + 'emAccept ' + + 'emResume ' + + 'emChangeRights ' + + 'emEditRoute ' + + 'emEditObserver ' + + 'emRecoveryFromLocalCopy ' + + 'emChangeWorkAccessType ' + + 'emChangeEncodeTypeToCertificate ' + + 'emChangeEncodeTypeToPassword ' + + 'emChangeEncodeTypeToNone ' + + 'emChangeEncodeTypeToCertificatePassword ' + + 'emChangeStandardRoute ' + + 'emGetText ' + + 'emOpenForView ' + + 'emMoveToStorage ' + + 'emCreateObject ' + + 'emChangeVersionHidden ' + + 'emDeleteVersion ' + + 'emChangeLifeCycleStage ' + + 'emApprovingSign ' + + 'emExport ' + + 'emContinue ' + + 'emLockFromEdit ' + + 'emUnLockForEdit ' + + 'emLockForServer ' + + 'emUnlockFromServer ' + + 'emDelegateAccessRights ' + + 'emReEncode '; + + // enum TEditorCloseObservType + var TEditorCloseObservType = 'ecotFile ecotProcess '; + + // enum TEdmsApplicationAction + var TEdmsApplicationAction = + 'eaGet eaCopy eaCreate eaCreateStandardRoute '; + + // enum TEDocumentLockType + var TEDocumentLockType = 'edltAll edltNothing edltQuery '; + + // enum TEDocumentStepShowMode + var TEDocumentStepShowMode = 'essmText essmCard '; + + // enum TEDocumentStepVersionType + var TEDocumentStepVersionType = + 'esvtLast esvtLastActive esvtSpecified '; + + // enum TEDocumentStorageFunction + var TEDocumentStorageFunction = 'edsfExecutive edsfArchive '; + + // enum TEDocumentStorageType + var TEDocumentStorageType = 'edstSQLServer edstFile '; + + // enum TEDocumentVersionSourceType + var TEDocumentVersionSourceType = + 'edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile '; + + // enum TEDocumentVersionState + var TEDocumentVersionState = 'vsDefault vsDesign vsActive vsObsolete '; + + // enum TEncodeType + var TEncodeType = + 'etNone etCertificate etPassword etCertificatePassword '; + + // enum TExceptionCategory + var TExceptionCategory = 'ecException ecWarning ecInformation '; + + // enum TExportedSignaturesType + var TExportedSignaturesType = 'estAll estApprovingOnly '; + + // enum TExportedVersionType + var TExportedVersionType = 'evtLast evtLastActive evtQuery '; + + // enum TFieldDataType + var TFieldDataType = + 'fdtString ' + + 'fdtNumeric ' + + 'fdtInteger ' + + 'fdtDate ' + + 'fdtText ' + + 'fdtUnknown ' + + 'fdtWideString ' + + 'fdtLargeInteger '; + + // enum TFolderType + var TFolderType = + 'ftInbox ' + + 'ftOutbox ' + + 'ftFavorites ' + + 'ftCommonFolder ' + + 'ftUserFolder ' + + 'ftComponents ' + + 'ftQuickLaunch ' + + 'ftShortcuts ' + + 'ftSearch '; + + // enum TGridRowHeight + var TGridRowHeight = 'grhAuto ' + 'grhX1 ' + 'grhX2 ' + 'grhX3 '; + + // enum THyperlinkType + var THyperlinkType = 'hltText ' + 'hltRTF ' + 'hltHTML '; + + // enum TImageFileFormat + var TImageFileFormat = + 'iffBMP ' + + 'iffJPEG ' + + 'iffMultiPageTIFF ' + + 'iffSinglePageTIFF ' + + 'iffTIFF ' + + 'iffPNG '; + + // enum TImageMode + var TImageMode = 'im8bGrayscale ' + 'im24bRGB ' + 'im1bMonochrome '; + + // enum TImageType + var TImageType = 'itBMP ' + 'itJPEG ' + 'itWMF ' + 'itPNG '; + + // enum TInplaceHintKind + var TInplaceHintKind = + 'ikhInformation ' + 'ikhWarning ' + 'ikhError ' + 'ikhNoIcon '; + + // enum TISBLContext + var TISBLContext = + 'icUnknown ' + + 'icScript ' + + 'icFunction ' + + 'icIntegratedReport ' + + 'icAnalyticReport ' + + 'icDataSetEventHandler ' + + 'icActionHandler ' + + 'icFormEventHandler ' + + 'icLookUpEventHandler ' + + 'icRequisiteChangeEventHandler ' + + 'icBeforeSearchEventHandler ' + + 'icRoleCalculation ' + + 'icSelectRouteEventHandler ' + + 'icBlockPropertyCalculation ' + + 'icBlockQueryParamsEventHandler ' + + 'icChangeSearchResultEventHandler ' + + 'icBlockEventHandler ' + + 'icSubTaskInitEventHandler ' + + 'icEDocDataSetEventHandler ' + + 'icEDocLookUpEventHandler ' + + 'icEDocActionHandler ' + + 'icEDocFormEventHandler ' + + 'icEDocRequisiteChangeEventHandler ' + + 'icStructuredConversionRule ' + + 'icStructuredConversionEventBefore ' + + 'icStructuredConversionEventAfter ' + + 'icWizardEventHandler ' + + 'icWizardFinishEventHandler ' + + 'icWizardStepEventHandler ' + + 'icWizardStepFinishEventHandler ' + + 'icWizardActionEnableEventHandler ' + + 'icWizardActionExecuteEventHandler ' + + 'icCreateJobsHandler ' + + 'icCreateNoticesHandler ' + + 'icBeforeLookUpEventHandler ' + + 'icAfterLookUpEventHandler ' + + 'icTaskAbortEventHandler ' + + 'icWorkflowBlockActionHandler ' + + 'icDialogDataSetEventHandler ' + + 'icDialogActionHandler ' + + 'icDialogLookUpEventHandler ' + + 'icDialogRequisiteChangeEventHandler ' + + 'icDialogFormEventHandler ' + + 'icDialogValidCloseEventHandler ' + + 'icBlockFormEventHandler ' + + 'icTaskFormEventHandler ' + + 'icReferenceMethod ' + + 'icEDocMethod ' + + 'icDialogMethod ' + + 'icProcessMessageHandler '; + + // enum TItemShow + var TItemShow = 'isShow ' + 'isHide ' + 'isByUserSettings '; + + // enum TJobKind + var TJobKind = 'jkJob ' + 'jkNotice ' + 'jkControlJob '; + + // enum TJoinType + var TJoinType = + 'jtInner ' + 'jtLeft ' + 'jtRight ' + 'jtFull ' + 'jtCross '; + + // enum TLabelPos + var TLabelPos = 'lbpAbove ' + 'lbpBelow ' + 'lbpLeft ' + 'lbpRight '; + + // enum TLicensingType + var TLicensingType = 'eltPerConnection ' + 'eltPerUser '; + + // enum TLifeCycleStageFontColor + var TLifeCycleStageFontColor = + 'sfcUndefined ' + + 'sfcBlack ' + + 'sfcGreen ' + + 'sfcRed ' + + 'sfcBlue ' + + 'sfcOrange ' + + 'sfcLilac '; + + // enum TLifeCycleStageFontStyle + var TLifeCycleStageFontStyle = + 'sfsItalic ' + 'sfsStrikeout ' + 'sfsNormal '; + + // enum TLockableDevelopmentComponentType + var TLockableDevelopmentComponentType = + 'ldctStandardRoute ' + + 'ldctWizard ' + + 'ldctScript ' + + 'ldctFunction ' + + 'ldctRouteBlock ' + + 'ldctIntegratedReport ' + + 'ldctAnalyticReport ' + + 'ldctReferenceType ' + + 'ldctEDocumentType ' + + 'ldctDialog ' + + 'ldctServerEvents '; + + // enum TMaxRecordCountRestrictionType + var TMaxRecordCountRestrictionType = + 'mrcrtNone ' + 'mrcrtUser ' + 'mrcrtMaximal ' + 'mrcrtCustom '; + + // enum TRangeValueType + var TRangeValueType = + 'vtEqual ' + 'vtGreaterOrEqual ' + 'vtLessOrEqual ' + 'vtRange '; + + // enum TRelativeDate + var TRelativeDate = + 'rdYesterday ' + + 'rdToday ' + + 'rdTomorrow ' + + 'rdThisWeek ' + + 'rdThisMonth ' + + 'rdThisYear ' + + 'rdNextMonth ' + + 'rdNextWeek ' + + 'rdLastWeek ' + + 'rdLastMonth '; + + // enum TReportDestination + var TReportDestination = 'rdWindow ' + 'rdFile ' + 'rdPrinter '; + + // enum TReqDataType + var TReqDataType = + 'rdtString ' + + 'rdtNumeric ' + + 'rdtInteger ' + + 'rdtDate ' + + 'rdtReference ' + + 'rdtAccount ' + + 'rdtText ' + + 'rdtPick ' + + 'rdtUnknown ' + + 'rdtLargeInteger ' + + 'rdtDocument '; + + // enum TRequisiteEventType + var TRequisiteEventType = 'reOnChange ' + 'reOnChangeValues '; + + // enum TSBTimeType + var TSBTimeType = 'ttGlobal ' + 'ttLocal ' + 'ttUser ' + 'ttSystem '; + + // enum TSearchShowMode + var TSearchShowMode = + 'ssmBrowse ' + 'ssmSelect ' + 'ssmMultiSelect ' + 'ssmBrowseModal '; + + // enum TSelectMode + var TSelectMode = 'smSelect ' + 'smLike ' + 'smCard '; + + // enum TSignatureType + var TSignatureType = 'stNone ' + 'stAuthenticating ' + 'stApproving '; + + // enum TSignerContentType + var TSignerContentType = 'sctString ' + 'sctStream '; + + // enum TStringsSortType + var TStringsSortType = 'sstAnsiSort ' + 'sstNaturalSort '; + + // enum TStringValueType + var TStringValueType = 'svtEqual ' + 'svtContain '; + + // enum TStructuredObjectAttributeType + var TStructuredObjectAttributeType = + 'soatString ' + + 'soatNumeric ' + + 'soatInteger ' + + 'soatDatetime ' + + 'soatReferenceRecord ' + + 'soatText ' + + 'soatPick ' + + 'soatBoolean ' + + 'soatEDocument ' + + 'soatAccount ' + + 'soatIntegerCollection ' + + 'soatNumericCollection ' + + 'soatStringCollection ' + + 'soatPickCollection ' + + 'soatDatetimeCollection ' + + 'soatBooleanCollection ' + + 'soatReferenceRecordCollection ' + + 'soatEDocumentCollection ' + + 'soatAccountCollection ' + + 'soatContents ' + + 'soatUnknown '; + + // enum TTaskAbortReason + var TTaskAbortReason = + 'tarAbortByUser ' + 'tarAbortByWorkflowException '; + + // enum TTextValueType + var TTextValueType = 'tvtAllWords ' + 'tvtExactPhrase ' + 'tvtAnyWord '; + + // enum TUserObjectStatus + var TUserObjectStatus = + 'usNone ' + + 'usCompleted ' + + 'usRedSquare ' + + 'usBlueSquare ' + + 'usYellowSquare ' + + 'usGreenSquare ' + + 'usOrangeSquare ' + + 'usPurpleSquare ' + + 'usFollowUp '; + + // enum TUserType + var TUserType = + 'utUnknown ' + + 'utUser ' + + 'utDeveloper ' + + 'utAdministrator ' + + 'utSystemDeveloper ' + + 'utDisconnected '; + + // enum TValuesBuildType + var TValuesBuildType = + 'btAnd ' + 'btDetailAnd ' + 'btOr ' + 'btNotOr ' + 'btOnly '; + + // enum TViewMode + var TViewMode = 'vmView ' + 'vmSelect ' + 'vmNavigation '; + + // enum TViewSelectionMode + var TViewSelectionMode = + 'vsmSingle ' + + 'vsmMultiple ' + + 'vsmMultipleCheck ' + + 'vsmNoSelection '; + + // enum TWizardActionType + var TWizardActionType = + 'wfatPrevious ' + 'wfatNext ' + 'wfatCancel ' + 'wfatFinish '; + + // enum TWizardFormElementProperty + var TWizardFormElementProperty = + 'wfepUndefined ' + + 'wfepText3 ' + + 'wfepText6 ' + + 'wfepText9 ' + + 'wfepSpinEdit ' + + 'wfepDropDown ' + + 'wfepRadioGroup ' + + 'wfepFlag ' + + 'wfepText12 ' + + 'wfepText15 ' + + 'wfepText18 ' + + 'wfepText21 ' + + 'wfepText24 ' + + 'wfepText27 ' + + 'wfepText30 ' + + 'wfepRadioGroupColumn1 ' + + 'wfepRadioGroupColumn2 ' + + 'wfepRadioGroupColumn3 '; + + // enum TWizardFormElementType + var TWizardFormElementType = + 'wfetQueryParameter ' + 'wfetText ' + 'wfetDelimiter ' + 'wfetLabel '; + + // enum TWizardParamType + var TWizardParamType = + 'wptString ' + + 'wptInteger ' + + 'wptNumeric ' + + 'wptBoolean ' + + 'wptDateTime ' + + 'wptPick ' + + 'wptText ' + + 'wptUser ' + + 'wptUserList ' + + 'wptEDocumentInfo ' + + 'wptEDocumentInfoList ' + + 'wptReferenceRecordInfo ' + + 'wptReferenceRecordInfoList ' + + 'wptFolderInfo ' + + 'wptTaskInfo ' + + 'wptContents ' + + 'wptFileName ' + + 'wptDate '; + + // enum TWizardStepResult + var TWizardStepResult = + 'wsrComplete ' + + 'wsrGoNext ' + + 'wsrGoPrevious ' + + 'wsrCustom ' + + 'wsrCancel ' + + 'wsrGoFinal '; + + // enum TWizardStepType + var TWizardStepType = + 'wstForm ' + + 'wstEDocument ' + + 'wstTaskCard ' + + 'wstReferenceRecordCard ' + + 'wstFinal '; + + // enum TWorkAccessType + var TWorkAccessType = 'waAll ' + 'waPerformers ' + 'waManual '; + + // enum TWorkflowBlockType + var TWorkflowBlockType = + 'wsbStart ' + + 'wsbFinish ' + + 'wsbNotice ' + + 'wsbStep ' + + 'wsbDecision ' + + 'wsbWait ' + + 'wsbMonitor ' + + 'wsbScript ' + + 'wsbConnector ' + + 'wsbSubTask ' + + 'wsbLifeCycleStage ' + + 'wsbPause '; + + // enum TWorkflowDataType + var TWorkflowDataType = + 'wdtInteger ' + + 'wdtFloat ' + + 'wdtString ' + + 'wdtPick ' + + 'wdtDateTime ' + + 'wdtBoolean ' + + 'wdtTask ' + + 'wdtJob ' + + 'wdtFolder ' + + 'wdtEDocument ' + + 'wdtReferenceRecord ' + + 'wdtUser ' + + 'wdtGroup ' + + 'wdtRole ' + + 'wdtIntegerCollection ' + + 'wdtFloatCollection ' + + 'wdtStringCollection ' + + 'wdtPickCollection ' + + 'wdtDateTimeCollection ' + + 'wdtBooleanCollection ' + + 'wdtTaskCollection ' + + 'wdtJobCollection ' + + 'wdtFolderCollection ' + + 'wdtEDocumentCollection ' + + 'wdtReferenceRecordCollection ' + + 'wdtUserCollection ' + + 'wdtGroupCollection ' + + 'wdtRoleCollection ' + + 'wdtContents ' + + 'wdtUserList ' + + 'wdtSearchDescription ' + + 'wdtDeadLine ' + + 'wdtPickSet ' + + 'wdtAccountCollection '; + + // enum TWorkImportance + var TWorkImportance = 'wiLow ' + 'wiNormal ' + 'wiHigh '; + + // enum TWorkRouteType + var TWorkRouteType = 'wrtSoft ' + 'wrtHard '; + + // enum TWorkState + var TWorkState = + 'wsInit ' + + 'wsRunning ' + + 'wsDone ' + + 'wsControlled ' + + 'wsAborted ' + + 'wsContinued '; + + // enum TWorkTextBuildingMode + var TWorkTextBuildingMode = + 'wtmFull ' + 'wtmFromCurrent ' + 'wtmOnlyCurrent '; + + // Перечисления + var ENUMS = + TAccountType + + TActionEnabledMode + + TAddPosition + + TAlignment + + TAreaShowMode + + TCertificateInvalidationReason + + TCertificateType + + TCheckListBoxItemState + + TCloseOnEsc + + TCompType + + TConditionFormat + + TConnectionIntent + + TContentKind + + TControlType + + TCriterionContentType + + TCultureType + + TDataSetEventType + + TDataSetState + + TDateFormatType + + TDateOffsetType + + TDateTimeKind + + TDeaAccessRights + + TDocumentDefaultAction + + TEditMode + + TEditorCloseObservType + + TEdmsApplicationAction + + TEDocumentLockType + + TEDocumentStepShowMode + + TEDocumentStepVersionType + + TEDocumentStorageFunction + + TEDocumentStorageType + + TEDocumentVersionSourceType + + TEDocumentVersionState + + TEncodeType + + TExceptionCategory + + TExportedSignaturesType + + TExportedVersionType + + TFieldDataType + + TFolderType + + TGridRowHeight + + THyperlinkType + + TImageFileFormat + + TImageMode + + TImageType + + TInplaceHintKind + + TISBLContext + + TItemShow + + TJobKind + + TJoinType + + TLabelPos + + TLicensingType + + TLifeCycleStageFontColor + + TLifeCycleStageFontStyle + + TLockableDevelopmentComponentType + + TMaxRecordCountRestrictionType + + TRangeValueType + + TRelativeDate + + TReportDestination + + TReqDataType + + TRequisiteEventType + + TSBTimeType + + TSearchShowMode + + TSelectMode + + TSignatureType + + TSignerContentType + + TStringsSortType + + TStringValueType + + TStructuredObjectAttributeType + + TTaskAbortReason + + TTextValueType + + TUserObjectStatus + + TUserType + + TValuesBuildType + + TViewMode + + TViewSelectionMode + + TWizardActionType + + TWizardFormElementProperty + + TWizardFormElementType + + TWizardParamType + + TWizardStepResult + + TWizardStepType + + TWorkAccessType + + TWorkflowBlockType + + TWorkflowDataType + + TWorkImportance + + TWorkRouteType + + TWorkState + + TWorkTextBuildingMode; + + // Системные функции ==> SYSFUNCTIONS + var system_functions = + 'AddSubString ' + + 'AdjustLineBreaks ' + + 'AmountInWords ' + + 'Analysis ' + + 'ArrayDimCount ' + + 'ArrayHighBound ' + + 'ArrayLowBound ' + + 'ArrayOf ' + + 'ArrayReDim ' + + 'Assert ' + + 'Assigned ' + + 'BeginOfMonth ' + + 'BeginOfPeriod ' + + 'BuildProfilingOperationAnalysis ' + + 'CallProcedure ' + + 'CanReadFile ' + + 'CArrayElement ' + + 'CDataSetRequisite ' + + 'ChangeDate ' + + 'ChangeReferenceDataset ' + + 'Char ' + + 'CharPos ' + + 'CheckParam ' + + 'CheckParamValue ' + + 'CompareStrings ' + + 'ConstantExists ' + + 'ControlState ' + + 'ConvertDateStr ' + + 'Copy ' + + 'CopyFile ' + + 'CreateArray ' + + 'CreateCachedReference ' + + 'CreateConnection ' + + 'CreateDialog ' + + 'CreateDualListDialog ' + + 'CreateEditor ' + + 'CreateException ' + + 'CreateFile ' + + 'CreateFolderDialog ' + + 'CreateInputDialog ' + + 'CreateLinkFile ' + + 'CreateList ' + + 'CreateLock ' + + 'CreateMemoryDataSet ' + + 'CreateObject ' + + 'CreateOpenDialog ' + + 'CreateProgress ' + + 'CreateQuery ' + + 'CreateReference ' + + 'CreateReport ' + + 'CreateSaveDialog ' + + 'CreateScript ' + + 'CreateSQLPivotFunction ' + + 'CreateStringList ' + + 'CreateTreeListSelectDialog ' + + 'CSelectSQL ' + + 'CSQL ' + + 'CSubString ' + + 'CurrentUserID ' + + 'CurrentUserName ' + + 'CurrentVersion ' + + 'DataSetLocateEx ' + + 'DateDiff ' + + 'DateTimeDiff ' + + 'DateToStr ' + + 'DayOfWeek ' + + 'DeleteFile ' + + 'DirectoryExists ' + + 'DisableCheckAccessRights ' + + 'DisableCheckFullShowingRestriction ' + + 'DisableMassTaskSendingRestrictions ' + + 'DropTable ' + + 'DupeString ' + + 'EditText ' + + 'EnableCheckAccessRights ' + + 'EnableCheckFullShowingRestriction ' + + 'EnableMassTaskSendingRestrictions ' + + 'EndOfMonth ' + + 'EndOfPeriod ' + + 'ExceptionExists ' + + 'ExceptionsOff ' + + 'ExceptionsOn ' + + 'Execute ' + + 'ExecuteProcess ' + + 'Exit ' + + 'ExpandEnvironmentVariables ' + + 'ExtractFileDrive ' + + 'ExtractFileExt ' + + 'ExtractFileName ' + + 'ExtractFilePath ' + + 'ExtractParams ' + + 'FileExists ' + + 'FileSize ' + + 'FindFile ' + + 'FindSubString ' + + 'FirmContext ' + + 'ForceDirectories ' + + 'Format ' + + 'FormatDate ' + + 'FormatNumeric ' + + 'FormatSQLDate ' + + 'FormatString ' + + 'FreeException ' + + 'GetComponent ' + + 'GetComponentLaunchParam ' + + 'GetConstant ' + + 'GetLastException ' + + 'GetReferenceRecord ' + + 'GetRefTypeByRefID ' + + 'GetTableID ' + + 'GetTempFolder ' + + 'IfThen ' + + 'In ' + + 'IndexOf ' + + 'InputDialog ' + + 'InputDialogEx ' + + 'InteractiveMode ' + + 'IsFileLocked ' + + 'IsGraphicFile ' + + 'IsNumeric ' + + 'Length ' + + 'LoadString ' + + 'LoadStringFmt ' + + 'LocalTimeToUTC ' + + 'LowerCase ' + + 'Max ' + + 'MessageBox ' + + 'MessageBoxEx ' + + 'MimeDecodeBinary ' + + 'MimeDecodeString ' + + 'MimeEncodeBinary ' + + 'MimeEncodeString ' + + 'Min ' + + 'MoneyInWords ' + + 'MoveFile ' + + 'NewID ' + + 'Now ' + + 'OpenFile ' + + 'Ord ' + + 'Precision ' + + 'Raise ' + + 'ReadCertificateFromFile ' + + 'ReadFile ' + + 'ReferenceCodeByID ' + + 'ReferenceNumber ' + + 'ReferenceRequisiteMode ' + + 'ReferenceRequisiteValue ' + + 'RegionDateSettings ' + + 'RegionNumberSettings ' + + 'RegionTimeSettings ' + + 'RegRead ' + + 'RegWrite ' + + 'RenameFile ' + + 'Replace ' + + 'Round ' + + 'SelectServerCode ' + + 'SelectSQL ' + + 'ServerDateTime ' + + 'SetConstant ' + + 'SetManagedFolderFieldsState ' + + 'ShowConstantsInputDialog ' + + 'ShowMessage ' + + 'Sleep ' + + 'Split ' + + 'SQL ' + + 'SQL2XLSTAB ' + + 'SQLProfilingSendReport ' + + 'StrToDate ' + + 'SubString ' + + 'SubStringCount ' + + 'SystemSetting ' + + 'Time ' + + 'TimeDiff ' + + 'Today ' + + 'Transliterate ' + + 'Trim ' + + 'UpperCase ' + + 'UserStatus ' + + 'UTCToLocalTime ' + + 'ValidateXML ' + + 'VarIsClear ' + + 'VarIsEmpty ' + + 'VarIsNull ' + + 'WorkTimeDiff ' + + 'WriteFile ' + + 'WriteFileEx ' + + 'WriteObjectHistory ' + + 'Анализ ' + + 'БазаДанных ' + + 'БлокЕсть ' + + 'БлокЕстьРасш ' + + 'БлокИнфо ' + + 'БлокСнять ' + + 'БлокСнятьРасш ' + + 'БлокУстановить ' + + 'Ввод ' + + 'ВводМеню ' + + 'ВедС ' + + 'ВедСпр ' + + 'ВерхняяГраницаМассива ' + + 'ВнешПрогр ' + + 'Восст ' + + 'ВременнаяПапка ' + + 'Время ' + + 'ВыборSQL ' + + 'ВыбратьЗапись ' + + 'ВыделитьСтр ' + + 'Вызвать ' + + 'Выполнить ' + + 'ВыпПрогр ' + + 'ГрафическийФайл ' + + 'ГруппаДополнительно ' + + 'ДатаВремяСерв ' + + 'ДеньНедели ' + + 'ДиалогДаНет ' + + 'ДлинаСтр ' + + 'ДобПодстр ' + + 'ЕПусто ' + + 'ЕслиТо ' + + 'ЕЧисло ' + + 'ЗамПодстр ' + + 'ЗаписьСправочника ' + + 'ЗначПоляСпр ' + + 'ИДТипСпр ' + + 'ИзвлечьДиск ' + + 'ИзвлечьИмяФайла ' + + 'ИзвлечьПуть ' + + 'ИзвлечьРасширение ' + + 'ИзмДат ' + + 'ИзменитьРазмерМассива ' + + 'ИзмеренийМассива ' + + 'ИмяОрг ' + + 'ИмяПоляСпр ' + + 'Индекс ' + + 'ИндикаторЗакрыть ' + + 'ИндикаторОткрыть ' + + 'ИндикаторШаг ' + + 'ИнтерактивныйРежим ' + + 'ИтогТблСпр ' + + 'КодВидВедСпр ' + + 'КодВидСпрПоИД ' + + 'КодПоAnalit ' + + 'КодСимвола ' + + 'КодСпр ' + + 'КолПодстр ' + + 'КолПроп ' + + 'КонМес ' + + 'Конст ' + + 'КонстЕсть ' + + 'КонстЗнач ' + + 'КонТран ' + + 'КопироватьФайл ' + + 'КопияСтр ' + + 'КПериод ' + + 'КСтрТблСпр ' + + 'Макс ' + + 'МаксСтрТблСпр ' + + 'Массив ' + + 'Меню ' + + 'МенюРасш ' + + 'Мин ' + + 'НаборДанныхНайтиРасш ' + + 'НаимВидСпр ' + + 'НаимПоAnalit ' + + 'НаимСпр ' + + 'НастроитьПереводыСтрок ' + + 'НачМес ' + + 'НачТран ' + + 'НижняяГраницаМассива ' + + 'НомерСпр ' + + 'НПериод ' + + 'Окно ' + + 'Окр ' + + 'Окружение ' + + 'ОтлИнфДобавить ' + + 'ОтлИнфУдалить ' + + 'Отчет ' + + 'ОтчетАнал ' + + 'ОтчетИнт ' + + 'ПапкаСуществует ' + + 'Пауза ' + + 'ПВыборSQL ' + + 'ПереименоватьФайл ' + + 'Переменные ' + + 'ПереместитьФайл ' + + 'Подстр ' + + 'ПоискПодстр ' + + 'ПоискСтр ' + + 'ПолучитьИДТаблицы ' + + 'ПользовательДополнительно ' + + 'ПользовательИД ' + + 'ПользовательИмя ' + + 'ПользовательСтатус ' + + 'Прервать ' + + 'ПроверитьПараметр ' + + 'ПроверитьПараметрЗнач ' + + 'ПроверитьУсловие ' + + 'РазбСтр ' + + 'РазнВремя ' + + 'РазнДат ' + + 'РазнДатаВремя ' + + 'РазнРабВремя ' + + 'РегУстВрем ' + + 'РегУстДат ' + + 'РегУстЧсл ' + + 'РедТекст ' + + 'РеестрЗапись ' + + 'РеестрСписокИменПарам ' + + 'РеестрЧтение ' + + 'РеквСпр ' + + 'РеквСпрПр ' + + 'Сегодня ' + + 'Сейчас ' + + 'Сервер ' + + 'СерверПроцессИД ' + + 'СертификатФайлСчитать ' + + 'СжПроб ' + + 'Символ ' + + 'СистемаДиректумКод ' + + 'СистемаИнформация ' + + 'СистемаКод ' + + 'Содержит ' + + 'СоединениеЗакрыть ' + + 'СоединениеОткрыть ' + + 'СоздатьДиалог ' + + 'СоздатьДиалогВыбораИзДвухСписков ' + + 'СоздатьДиалогВыбораПапки ' + + 'СоздатьДиалогОткрытияФайла ' + + 'СоздатьДиалогСохраненияФайла ' + + 'СоздатьЗапрос ' + + 'СоздатьИндикатор ' + + 'СоздатьИсключение ' + + 'СоздатьКэшированныйСправочник ' + + 'СоздатьМассив ' + + 'СоздатьНаборДанных ' + + 'СоздатьОбъект ' + + 'СоздатьОтчет ' + + 'СоздатьПапку ' + + 'СоздатьРедактор ' + + 'СоздатьСоединение ' + + 'СоздатьСписок ' + + 'СоздатьСписокСтрок ' + + 'СоздатьСправочник ' + + 'СоздатьСценарий ' + + 'СоздСпр ' + + 'СостСпр ' + + 'Сохр ' + + 'СохрСпр ' + + 'СписокСистем ' + + 'Спр ' + + 'Справочник ' + + 'СпрБлокЕсть ' + + 'СпрБлокСнять ' + + 'СпрБлокСнятьРасш ' + + 'СпрБлокУстановить ' + + 'СпрИзмНабДан ' + + 'СпрКод ' + + 'СпрНомер ' + + 'СпрОбновить ' + + 'СпрОткрыть ' + + 'СпрОтменить ' + + 'СпрПарам ' + + 'СпрПолеЗнач ' + + 'СпрПолеИмя ' + + 'СпрРекв ' + + 'СпрРеквВведЗн ' + + 'СпрРеквНовые ' + + 'СпрРеквПр ' + + 'СпрРеквПредЗн ' + + 'СпрРеквРежим ' + + 'СпрРеквТипТекст ' + + 'СпрСоздать ' + + 'СпрСост ' + + 'СпрСохранить ' + + 'СпрТблИтог ' + + 'СпрТблСтр ' + + 'СпрТблСтрКол ' + + 'СпрТблСтрМакс ' + + 'СпрТблСтрМин ' + + 'СпрТблСтрПред ' + + 'СпрТблСтрСлед ' + + 'СпрТблСтрСозд ' + + 'СпрТблСтрУд ' + + 'СпрТекПредст ' + + 'СпрУдалить ' + + 'СравнитьСтр ' + + 'СтрВерхРегистр ' + + 'СтрНижнРегистр ' + + 'СтрТблСпр ' + + 'СумПроп ' + + 'Сценарий ' + + 'СценарийПарам ' + + 'ТекВерсия ' + + 'ТекОрг ' + + 'Точн ' + + 'Тран ' + + 'Транслитерация ' + + 'УдалитьТаблицу ' + + 'УдалитьФайл ' + + 'УдСпр ' + + 'УдСтрТблСпр ' + + 'Уст ' + + 'УстановкиКонстант ' + + 'ФайлАтрибутСчитать ' + + 'ФайлАтрибутУстановить ' + + 'ФайлВремя ' + + 'ФайлВремяУстановить ' + + 'ФайлВыбрать ' + + 'ФайлЗанят ' + + 'ФайлЗаписать ' + + 'ФайлИскать ' + + 'ФайлКопировать ' + + 'ФайлМожноЧитать ' + + 'ФайлОткрыть ' + + 'ФайлПереименовать ' + + 'ФайлПерекодировать ' + + 'ФайлПереместить ' + + 'ФайлПросмотреть ' + + 'ФайлРазмер ' + + 'ФайлСоздать ' + + 'ФайлСсылкаСоздать ' + + 'ФайлСуществует ' + + 'ФайлСчитать ' + + 'ФайлУдалить ' + + 'ФмтSQLДат ' + + 'ФмтДат ' + + 'ФмтСтр ' + + 'ФмтЧсл ' + + 'Формат ' + + 'ЦМассивЭлемент ' + + 'ЦНаборДанныхРеквизит ' + + 'ЦПодстр '; + + // Предопределенные переменные ==> built_in + var predefined_variables = + 'AltState ' + + 'Application ' + + 'CallType ' + + 'ComponentTokens ' + + 'CreatedJobs ' + + 'CreatedNotices ' + + 'ControlState ' + + 'DialogResult ' + + 'Dialogs ' + + 'EDocuments ' + + 'EDocumentVersionSource ' + + 'Folders ' + + 'GlobalIDs ' + + 'Job ' + + 'Jobs ' + + 'InputValue ' + + 'LookUpReference ' + + 'LookUpRequisiteNames ' + + 'LookUpSearch ' + + 'Object ' + + 'ParentComponent ' + + 'Processes ' + + 'References ' + + 'Requisite ' + + 'ReportName ' + + 'Reports ' + + 'Result ' + + 'Scripts ' + + 'Searches ' + + 'SelectedAttachments ' + + 'SelectedItems ' + + 'SelectMode ' + + 'Sender ' + + 'ServerEvents ' + + 'ServiceFactory ' + + 'ShiftState ' + + 'SubTask ' + + 'SystemDialogs ' + + 'Tasks ' + + 'Wizard ' + + 'Wizards ' + + 'Work ' + + 'ВызовСпособ ' + + 'ИмяОтчета ' + + 'РеквЗнач '; + + // Интерфейсы ==> type + var interfaces = + 'IApplication ' + + 'IAccessRights ' + + 'IAccountRepository ' + + 'IAccountSelectionRestrictions ' + + 'IAction ' + + 'IActionList ' + + 'IAdministrationHistoryDescription ' + + 'IAnchors ' + + 'IApplication ' + + 'IArchiveInfo ' + + 'IAttachment ' + + 'IAttachmentList ' + + 'ICheckListBox ' + + 'ICheckPointedList ' + + 'IColumn ' + + 'IComponent ' + + 'IComponentDescription ' + + 'IComponentToken ' + + 'IComponentTokenFactory ' + + 'IComponentTokenInfo ' + + 'ICompRecordInfo ' + + 'IConnection ' + + 'IContents ' + + 'IControl ' + + 'IControlJob ' + + 'IControlJobInfo ' + + 'IControlList ' + + 'ICrypto ' + + 'ICrypto2 ' + + 'ICustomJob ' + + 'ICustomJobInfo ' + + 'ICustomListBox ' + + 'ICustomObjectWizardStep ' + + 'ICustomWork ' + + 'ICustomWorkInfo ' + + 'IDataSet ' + + 'IDataSetAccessInfo ' + + 'IDataSigner ' + + 'IDateCriterion ' + + 'IDateRequisite ' + + 'IDateRequisiteDescription ' + + 'IDateValue ' + + 'IDeaAccessRights ' + + 'IDeaObjectInfo ' + + 'IDevelopmentComponentLock ' + + 'IDialog ' + + 'IDialogFactory ' + + 'IDialogPickRequisiteItems ' + + 'IDialogsFactory ' + + 'IDICSFactory ' + + 'IDocRequisite ' + + 'IDocumentInfo ' + + 'IDualListDialog ' + + 'IECertificate ' + + 'IECertificateInfo ' + + 'IECertificates ' + + 'IEditControl ' + + 'IEditorForm ' + + 'IEdmsExplorer ' + + 'IEdmsObject ' + + 'IEdmsObjectDescription ' + + 'IEdmsObjectFactory ' + + 'IEdmsObjectInfo ' + + 'IEDocument ' + + 'IEDocumentAccessRights ' + + 'IEDocumentDescription ' + + 'IEDocumentEditor ' + + 'IEDocumentFactory ' + + 'IEDocumentInfo ' + + 'IEDocumentStorage ' + + 'IEDocumentVersion ' + + 'IEDocumentVersionListDialog ' + + 'IEDocumentVersionSource ' + + 'IEDocumentWizardStep ' + + 'IEDocVerSignature ' + + 'IEDocVersionState ' + + 'IEnabledMode ' + + 'IEncodeProvider ' + + 'IEncrypter ' + + 'IEvent ' + + 'IEventList ' + + 'IException ' + + 'IExternalEvents ' + + 'IExternalHandler ' + + 'IFactory ' + + 'IField ' + + 'IFileDialog ' + + 'IFolder ' + + 'IFolderDescription ' + + 'IFolderDialog ' + + 'IFolderFactory ' + + 'IFolderInfo ' + + 'IForEach ' + + 'IForm ' + + 'IFormTitle ' + + 'IFormWizardStep ' + + 'IGlobalIDFactory ' + + 'IGlobalIDInfo ' + + 'IGrid ' + + 'IHasher ' + + 'IHistoryDescription ' + + 'IHyperLinkControl ' + + 'IImageButton ' + + 'IImageControl ' + + 'IInnerPanel ' + + 'IInplaceHint ' + + 'IIntegerCriterion ' + + 'IIntegerList ' + + 'IIntegerRequisite ' + + 'IIntegerValue ' + + 'IISBLEditorForm ' + + 'IJob ' + + 'IJobDescription ' + + 'IJobFactory ' + + 'IJobForm ' + + 'IJobInfo ' + + 'ILabelControl ' + + 'ILargeIntegerCriterion ' + + 'ILargeIntegerRequisite ' + + 'ILargeIntegerValue ' + + 'ILicenseInfo ' + + 'ILifeCycleStage ' + + 'IList ' + + 'IListBox ' + + 'ILocalIDInfo ' + + 'ILocalization ' + + 'ILock ' + + 'IMemoryDataSet ' + + 'IMessagingFactory ' + + 'IMetadataRepository ' + + 'INotice ' + + 'INoticeInfo ' + + 'INumericCriterion ' + + 'INumericRequisite ' + + 'INumericValue ' + + 'IObject ' + + 'IObjectDescription ' + + 'IObjectImporter ' + + 'IObjectInfo ' + + 'IObserver ' + + 'IPanelGroup ' + + 'IPickCriterion ' + + 'IPickProperty ' + + 'IPickRequisite ' + + 'IPickRequisiteDescription ' + + 'IPickRequisiteItem ' + + 'IPickRequisiteItems ' + + 'IPickValue ' + + 'IPrivilege ' + + 'IPrivilegeList ' + + 'IProcess ' + + 'IProcessFactory ' + + 'IProcessMessage ' + + 'IProgress ' + + 'IProperty ' + + 'IPropertyChangeEvent ' + + 'IQuery ' + + 'IReference ' + + 'IReferenceCriterion ' + + 'IReferenceEnabledMode ' + + 'IReferenceFactory ' + + 'IReferenceHistoryDescription ' + + 'IReferenceInfo ' + + 'IReferenceRecordCardWizardStep ' + + 'IReferenceRequisiteDescription ' + + 'IReferencesFactory ' + + 'IReferenceValue ' + + 'IRefRequisite ' + + 'IReport ' + + 'IReportFactory ' + + 'IRequisite ' + + 'IRequisiteDescription ' + + 'IRequisiteDescriptionList ' + + 'IRequisiteFactory ' + + 'IRichEdit ' + + 'IRouteStep ' + + 'IRule ' + + 'IRuleList ' + + 'ISchemeBlock ' + + 'IScript ' + + 'IScriptFactory ' + + 'ISearchCriteria ' + + 'ISearchCriterion ' + + 'ISearchDescription ' + + 'ISearchFactory ' + + 'ISearchFolderInfo ' + + 'ISearchForObjectDescription ' + + 'ISearchResultRestrictions ' + + 'ISecuredContext ' + + 'ISelectDialog ' + + 'IServerEvent ' + + 'IServerEventFactory ' + + 'IServiceDialog ' + + 'IServiceFactory ' + + 'ISignature ' + + 'ISignProvider ' + + 'ISignProvider2 ' + + 'ISignProvider3 ' + + 'ISimpleCriterion ' + + 'IStringCriterion ' + + 'IStringList ' + + 'IStringRequisite ' + + 'IStringRequisiteDescription ' + + 'IStringValue ' + + 'ISystemDialogsFactory ' + + 'ISystemInfo ' + + 'ITabSheet ' + + 'ITask ' + + 'ITaskAbortReasonInfo ' + + 'ITaskCardWizardStep ' + + 'ITaskDescription ' + + 'ITaskFactory ' + + 'ITaskInfo ' + + 'ITaskRoute ' + + 'ITextCriterion ' + + 'ITextRequisite ' + + 'ITextValue ' + + 'ITreeListSelectDialog ' + + 'IUser ' + + 'IUserList ' + + 'IValue ' + + 'IView ' + + 'IWebBrowserControl ' + + 'IWizard ' + + 'IWizardAction ' + + 'IWizardFactory ' + + 'IWizardFormElement ' + + 'IWizardParam ' + + 'IWizardPickParam ' + + 'IWizardReferenceParam ' + + 'IWizardStep ' + + 'IWorkAccessRights ' + + 'IWorkDescription ' + + 'IWorkflowAskableParam ' + + 'IWorkflowAskableParams ' + + 'IWorkflowBlock ' + + 'IWorkflowBlockResult ' + + 'IWorkflowEnabledMode ' + + 'IWorkflowParam ' + + 'IWorkflowPickParam ' + + 'IWorkflowReferenceParam ' + + 'IWorkState ' + + 'IWorkTreeCustomNode ' + + 'IWorkTreeJobNode ' + + 'IWorkTreeTaskNode ' + + 'IXMLEditorForm ' + + 'SBCrypto '; + + // built_in : встроенные или библиотечные объекты (константы, перечисления) + var BUILTIN = CONSTANTS + ENUMS; + + // class: встроенные наборы значений, системные объекты, фабрики + var CLASS = predefined_variables; + + // literal : примитивные типы + var LITERAL = 'null true false nil '; + + // number : числа + var NUMBERS = { + className: 'number', + begin: hljs.NUMBER_RE, + relevance: 0 + }; + + // string : строки + var STRINGS = { + className: 'string', + variants: [{ begin: '"', end: '"' }, { begin: "'", end: "'" }] + }; + + // Токены + var DOCTAGS = { + className: 'doctag', + begin: '\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b', + relevance: 0 + }; + + // Однострочный комментарий + var ISBL_LINE_COMMENT_MODE = { + className: 'comment', + begin: '//', + end: '$', + relevance: 0, + contains: [hljs.PHRASAL_WORDS_MODE, DOCTAGS] + }; + + // Многострочный комментарий + var ISBL_BLOCK_COMMENT_MODE = { + className: 'comment', + begin: '/\\*', + end: '\\*/', + relevance: 0, + contains: [hljs.PHRASAL_WORDS_MODE, DOCTAGS] + }; + + // comment : комментарии + var COMMENTS = { + variants: [ISBL_LINE_COMMENT_MODE, ISBL_BLOCK_COMMENT_MODE] + }; + + // keywords : ключевые слова + var KEYWORDS = { + keyword: KEYWORD, + built_in: BUILTIN, + class: CLASS, + literal: LITERAL + }; + + // methods : методы + var METHODS = { + begin: '\\.\\s*' + hljs.UNDERSCORE_IDENT_RE, + keywords: KEYWORDS, + relevance: 0 + }; + + // type : встроенные типы + var TYPES = { + className: 'type', + begin: ':[ \\t]*(' + interfaces.trim().replace(/\s/g, '|') + ')', + end: '[ \\t]*=', + excludeEnd: true + }; + + // variables : переменные + var VARIABLES = { + className: 'variable', + lexemes: UNDERSCORE_IDENT_RE, + keywords: KEYWORDS, + begin: UNDERSCORE_IDENT_RE, + relevance: 0, + containts: [TYPES, METHODS] + }; + + // Имена функций + var FUNCTION_TITLE = FUNCTION_NAME_IDENT_RE + '\\('; + + var TITLE_MODE = { + className: 'title', + lexemes: UNDERSCORE_IDENT_RE, + keywords: { + built_in: system_functions + }, + begin: FUNCTION_TITLE, + end: '\\(', + returnBegin: true, + excludeEnd: true + }; + + // function : функции + var FUNCTIONS = { + className: 'function', + begin: FUNCTION_TITLE, + end: '\\)$', + returnBegin: true, + lexemes: UNDERSCORE_IDENT_RE, + keywords: KEYWORDS, + illegal: '[\\[\\]\\|\\$\\?%,~#@]', + contains: [TITLE_MODE, METHODS, VARIABLES, STRINGS, NUMBERS, COMMENTS] + }; + + return { + aliases: ['isbl'], + case_insensitive: true, + lexemes: UNDERSCORE_IDENT_RE, + keywords: KEYWORDS, + illegal: '\\$|\\?|%|,|;$|~|#|@|', + contains: [ + FUNCTIONS, + TYPES, + METHODS, + VARIABLES, + STRINGS, + NUMBERS, + COMMENTS + ] + }; + }; + + /***/ + }, + /* 432 */ /***/ function(module, exports) { module.exports = function(hljs) { var JAVA_IDENT_RE = - "[\u00C0-\u02B8a-zA-Z_$][\u00C0-\u02B8a-zA-Z_$0-9]*"; + '[\u00C0-\u02B8a-zA-Z_$][\u00C0-\u02B8a-zA-Z_$0-9]*'; var GENERIC_IDENT_RE = JAVA_IDENT_RE + - "(<" + + '(<' + JAVA_IDENT_RE + - "(\\s*,\\s*" + + '(\\s*,\\s*' + JAVA_IDENT_RE + - ")*>)?"; + ')*>)?'; var KEYWORDS = - "false synchronized int abstract float private char boolean static null if const " + - "for true while long strictfp finally protected import native final void " + - "enum else break transient catch instanceof byte super volatile case assert short " + - "package default double public try this switch continue throws protected public private " + - "module requires exports do"; + 'false synchronized int abstract float private char boolean var static null if const ' + + 'for true while long strictfp finally protected import native final void ' + + 'enum else break transient catch instanceof byte super volatile case assert short ' + + 'package default double public try this switch continue throws protected public private ' + + 'module requires exports do'; // https://docs.oracle.com/javase/7/docs/technotes/guides/language/underscores-literals.html var JAVA_NUMBER_RE = - "\\b" + - "(" + - "0[bB]([01]+[01_]+[01]+|[01]+)" + // 0b... - "|" + - "0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)" + // 0x... - "|" + - "(" + - "([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?" + - "|" + - "\\.([\\d]+[\\d_]+[\\d]+|[\\d]+)" + - ")" + - "([eE][-+]?\\d+)?" + // octal, decimal, float - ")" + - "[lLfF]?"; + '\\b' + + '(' + + '0[bB]([01]+[01_]+[01]+|[01]+)' + // 0b... + '|' + + '0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)' + // 0x... + '|' + + '(' + + '([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?' + + '|' + + '\\.([\\d]+[\\d_]+[\\d]+|[\\d]+)' + + ')' + + '([eE][-+]?\\d+)?' + // octal, decimal, float + ')' + + '[lLfF]?'; var JAVA_NUMBER_MODE = { - className: "number", + className: 'number', begin: JAVA_NUMBER_RE, relevance: 0 }; return { - aliases: ["jsp"], + aliases: ['jsp'], keywords: KEYWORDS, illegal: /<\/|#/, contains: [ - hljs.COMMENT("/\\*\\*", "\\*/", { + hljs.COMMENT('/\\*\\*', '\\*/', { relevance: 0, contains: [ { @@ -25421,8 +57028,8 @@ relevance: 0 }, { - className: "doctag", - begin: "@[A-Za-z]+" + className: 'doctag', + begin: '@[A-Za-z]+' } ] }), @@ -25431,44 +57038,44 @@ hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, { - className: "class", - beginKeywords: "class interface", + className: 'class', + beginKeywords: 'class interface', end: /[{;=]/, excludeEnd: true, - keywords: "class interface", + keywords: 'class interface', illegal: /[:"\[\]]/, contains: [ - { beginKeywords: "extends implements" }, + { beginKeywords: 'extends implements' }, hljs.UNDERSCORE_TITLE_MODE ] }, { // Expression keywords prevent 'keyword Name(...)' from being // recognized as a function definition - beginKeywords: "new throw return else", + beginKeywords: 'new throw return else', relevance: 0 }, { - className: "function", + className: 'function', begin: - "(" + + '(' + GENERIC_IDENT_RE + - "\\s+)+" + + '\\s+)+' + hljs.UNDERSCORE_IDENT_RE + - "\\s*\\(", + '\\s*\\(', returnBegin: true, end: /[{;=]/, excludeEnd: true, keywords: KEYWORDS, contains: [ { - begin: hljs.UNDERSCORE_IDENT_RE + "\\s*\\(", + begin: hljs.UNDERSCORE_IDENT_RE + '\\s*\\(', returnBegin: true, relevance: 0, contains: [hljs.UNDERSCORE_TITLE_MODE] }, { - className: "params", + className: 'params', begin: /\(/, end: /\)/, keywords: KEYWORDS, @@ -25486,8 +57093,8 @@ }, JAVA_NUMBER_MODE, { - className: "meta", - begin: "@[A-Za-z]+" + className: 'meta', + begin: '@[A-Za-z]+' } ] }; @@ -25495,49 +57102,49 @@ /***/ }, - /* 428 */ + /* 433 */ /***/ function(module, exports) { module.exports = function(hljs) { - var IDENT_RE = "[A-Za-z$_][0-9A-Za-z$_]*"; + var IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*'; var KEYWORDS = { keyword: - "in of if for while finally var new function do return void else break catch " + - "instanceof with throw case default try this switch continue typeof delete " + - "let yield const export super debugger as async await static " + + 'in of if for while finally var new function do return void else break catch ' + + 'instanceof with throw case default try this switch continue typeof delete ' + + 'let yield const export super debugger as async await static ' + // ECMAScript 6 modules import - "import from as", - literal: "true false null undefined NaN Infinity", + 'import from as', + literal: 'true false null undefined NaN Infinity', built_in: - "eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent " + - "encodeURI encodeURIComponent escape unescape Object Function Boolean Error " + - "EvalError InternalError RangeError ReferenceError StopIteration SyntaxError " + - "TypeError URIError Number Math Date String RegExp Array Float32Array " + - "Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array " + - "Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require " + - "module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect " + - "Promise" + 'eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent ' + + 'encodeURI encodeURIComponent escape unescape Object Function Boolean Error ' + + 'EvalError InternalError RangeError ReferenceError StopIteration SyntaxError ' + + 'TypeError URIError Number Math Date String RegExp Array Float32Array ' + + 'Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array ' + + 'Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require ' + + 'module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect ' + + 'Promise' }; var EXPRESSIONS; var NUMBER = { - className: "number", + className: 'number', variants: [ - { begin: "\\b(0[bB][01]+)" }, - { begin: "\\b(0[oO][0-7]+)" }, + { begin: '\\b(0[bB][01]+)' }, + { begin: '\\b(0[oO][0-7]+)' }, { begin: hljs.C_NUMBER_RE } ], relevance: 0 }; var SUBST = { - className: "subst", - begin: "\\$\\{", - end: "\\}", + className: 'subst', + begin: '\\$\\{', + end: '\\}', keywords: KEYWORDS, contains: [] // defined later }; var TEMPLATE_STRING = { - className: "string", - begin: "`", - end: "`", + className: 'string', + begin: '`', + end: '`', contains: [hljs.BACKSLASH_ESCAPE, SUBST] }; SUBST.contains = [ @@ -25553,16 +57160,16 @@ ]); return { - aliases: ["js", "jsx"], + aliases: ['js', 'jsx'], keywords: KEYWORDS, contains: [ { - className: "meta", + className: 'meta', relevance: 10, begin: /^\s*['"]use (strict|asm)['"]/ }, { - className: "meta", + className: 'meta', begin: /^#!/, end: /$/ }, @@ -25578,11 +57185,11 @@ relevance: 0, contains: [ { - begin: IDENT_RE + "\\s*:", + begin: IDENT_RE + '\\s*:', returnBegin: true, relevance: 0, contains: [ - { className: "attr", begin: IDENT_RE, relevance: 0 } + { className: 'attr', begin: IDENT_RE, relevance: 0 } ] } ] @@ -25590,20 +57197,20 @@ { // "value" container begin: - "(" + hljs.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*", - keywords: "return throw case", + '(' + hljs.RE_STARTERS_RE + '|\\b(case|return|throw)\\b)\\s*', + keywords: 'return throw case', contains: [ hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, hljs.REGEXP_MODE, { - className: "function", - begin: "(\\(.*?\\)|" + IDENT_RE + ")\\s*=>", + className: 'function', + begin: '(\\(.*?\\)|' + IDENT_RE + ')\\s*=>', returnBegin: true, - end: "\\s*=>", + end: '\\s*=>', contains: [ { - className: "params", + className: 'params', variants: [ { begin: IDENT_RE @@ -25627,14 +57234,14 @@ // E4X / JSX begin: /, end: /(\/\w+|\w+\/)>/, - subLanguage: "xml", + subLanguage: 'xml', contains: [ { begin: /<\w+\s*\/>/, skip: true }, { begin: /<\w+/, end: /(\/\w+|\w+\/)>/, skip: true, - contains: [{ begin: /<\w+\s*\/>/, skip: true }, "self"] + contains: [{ begin: /<\w+\s*\/>/, skip: true }, 'self'] } ] } @@ -25642,14 +57249,14 @@ relevance: 0 }, { - className: "function", - beginKeywords: "function", + className: 'function', + beginKeywords: 'function', end: /\{/, excludeEnd: true, contains: [ hljs.inherit(hljs.TITLE_MODE, { begin: IDENT_RE }), { - className: "params", + className: 'params', begin: /\(/, end: /\)/, excludeBegin: true, @@ -25665,18 +57272,18 @@ hljs.METHOD_GUARD, { // ES6 class - className: "class", - beginKeywords: "class", + className: 'class', + beginKeywords: 'class', end: /[{;=]/, excludeEnd: true, illegal: /[:"\[\]]/, contains: [ - { beginKeywords: "extends" }, + { beginKeywords: 'extends' }, hljs.UNDERSCORE_TITLE_MODE ] }, { - beginKeywords: "constructor", + beginKeywords: 'constructor', end: /\{/, excludeEnd: true } @@ -25687,45 +57294,45 @@ /***/ }, - /* 429 */ + /* 434 */ /***/ function(module, exports) { module.exports = function(hljs) { var PARAM = { begin: /[\w-]+ *=/, returnBegin: true, relevance: 0, - contains: [{ className: "attr", begin: /[\w-]+/ }] + contains: [{ className: 'attr', begin: /[\w-]+/ }] }; var PARAMSBLOCK = { - className: "params", + className: 'params', begin: /\(/, end: /\)/, contains: [PARAM], relevance: 0 }; var OPERATION = { - className: "function", + className: 'function', begin: /:[\w\-.]+/, relevance: 0 }; var PATH = { - className: "string", + className: 'string', begin: /\B(([\/.])[\w\-.\/=]+)+/ }; var COMMAND_PARAMS = { - className: "params", + className: 'params', begin: /--[\w\-=\/]+/ }; return { - aliases: ["wildfly-cli"], - lexemes: "[a-z-]+", + aliases: ['wildfly-cli'], + lexemes: '[a-z-]+', keywords: { keyword: - "alias batch cd clear command connect connection-factory connection-info data-source deploy " + - "deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls " + - "patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias " + - "undeploy unset version xa-data-source", // module - literal: "true false" + 'alias batch cd clear command connect connection-factory connection-info data-source deploy ' + + 'deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls ' + + 'patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias ' + + 'undeploy unset version xa-data-source', // module + literal: 'true false' }, contains: [ hljs.HASH_COMMENT_MODE, @@ -25740,50 +57347,50 @@ /***/ }, - /* 430 */ + /* 435 */ /***/ function(module, exports) { module.exports = function(hljs) { - var LITERALS = { literal: "true false null" }; + var LITERALS = { literal: 'true false null' }; var TYPES = [hljs.QUOTE_STRING_MODE, hljs.C_NUMBER_MODE]; var VALUE_CONTAINER = { - end: ",", + end: ',', endsWithParent: true, excludeEnd: true, contains: TYPES, keywords: LITERALS }; var OBJECT = { - begin: "{", - end: "}", + begin: '{', + end: '}', contains: [ { - className: "attr", + className: 'attr', begin: /"/, end: /"/, contains: [hljs.BACKSLASH_ESCAPE], - illegal: "\\n" + illegal: '\\n' }, hljs.inherit(VALUE_CONTAINER, { begin: /:/ }) ], - illegal: "\\S" + illegal: '\\S' }; var ARRAY = { - begin: "\\[", - end: "\\]", + begin: '\\[', + end: '\\]', contains: [hljs.inherit(VALUE_CONTAINER)], // inherit is a workaround for a bug that makes shared modes with endsWithParent compile only the ending of one of the parents - illegal: "\\S" + illegal: '\\S' }; TYPES.splice(TYPES.length, 0, OBJECT, ARRAY); return { contains: TYPES, keywords: LITERALS, - illegal: "\\S" + illegal: '\\S' }; }; /***/ }, - /* 431 */ + /* 436 */ /***/ function(module, exports) { module.exports = function(hljs) { // Since there are numerous special names in Julia, it is too much trouble @@ -25800,11 +57407,11 @@ // end // end keyword: - "in isa where " + - "baremodule begin break catch ccall const continue do else elseif end export false finally for function " + - "global if import importall let local macro module quote return true try using while " + + 'in isa where ' + + 'baremodule begin break catch ccall const continue do else elseif end export false finally for function ' + + 'global if import importall let local macro module quote return true try using while ' + // legacy, to be deprecated in the next release - "type immutable abstract bitstype typealias ", + 'type immutable abstract bitstype typealias ', // # literal generator // println("true") @@ -25818,11 +57425,11 @@ // end // end literal: - "true false " + - "ARGS C_NULL DevNull ENDIAN_BOM ENV I Inf Inf16 Inf32 Inf64 InsertionSort JULIA_HOME LOAD_PATH MergeSort " + - "NaN NaN16 NaN32 NaN64 PROGRAM_FILE QuickSort RoundDown RoundFromZero RoundNearest RoundNearestTiesAway " + - "RoundNearestTiesUp RoundToZero RoundUp STDERR STDIN STDOUT VERSION catalan e|0 eu|0 eulergamma golden im " + - "nothing pi γ π φ ", + 'true false ' + + 'ARGS C_NULL DevNull ENDIAN_BOM ENV I Inf Inf16 Inf32 Inf64 InsertionSort JULIA_HOME LOAD_PATH MergeSort ' + + 'NaN NaN16 NaN32 NaN64 PROGRAM_FILE QuickSort RoundDown RoundFromZero RoundNearest RoundNearestTiesAway ' + + 'RoundNearestTiesUp RoundToZero RoundUp STDERR STDIN STDOUT VERSION catalan e|0 eu|0 eulergamma golden im ' + + 'nothing pi γ π φ ', // # built_in generator: // for name in Base.REPLCompletions.completions("", 0)[1] @@ -25834,35 +57441,35 @@ // end // end built_in: - "ANY AbstractArray AbstractChannel AbstractFloat AbstractMatrix AbstractRNG AbstractSerializer AbstractSet " + - "AbstractSparseArray AbstractSparseMatrix AbstractSparseVector AbstractString AbstractUnitRange AbstractVecOrMat " + - "AbstractVector Any ArgumentError Array AssertionError Associative Base64DecodePipe Base64EncodePipe Bidiagonal " + - "BigFloat BigInt BitArray BitMatrix BitVector Bool BoundsError BufferStream CachingPool CapturedException " + - "CartesianIndex CartesianRange Cchar Cdouble Cfloat Channel Char Cint Cintmax_t Clong Clonglong ClusterManager " + - "Cmd CodeInfo Colon Complex Complex128 Complex32 Complex64 CompositeException Condition ConjArray ConjMatrix " + - "ConjVector Cptrdiff_t Cshort Csize_t Cssize_t Cstring Cuchar Cuint Cuintmax_t Culong Culonglong Cushort Cwchar_t " + - "Cwstring DataType Date DateFormat DateTime DenseArray DenseMatrix DenseVecOrMat DenseVector Diagonal Dict " + - "DimensionMismatch Dims DirectIndexString Display DivideError DomainError EOFError EachLine Enum Enumerate " + - "ErrorException Exception ExponentialBackOff Expr Factorization FileMonitor Float16 Float32 Float64 Function " + - "Future GlobalRef GotoNode HTML Hermitian IO IOBuffer IOContext IOStream IPAddr IPv4 IPv6 IndexCartesian IndexLinear " + - "IndexStyle InexactError InitError Int Int128 Int16 Int32 Int64 Int8 IntSet Integer InterruptException " + - "InvalidStateException Irrational KeyError LabelNode LinSpace LineNumberNode LoadError LowerTriangular MIME Matrix " + - "MersenneTwister Method MethodError MethodTable Module NTuple NewvarNode NullException Nullable Number ObjectIdDict " + - "OrdinalRange OutOfMemoryError OverflowError Pair ParseError PartialQuickSort PermutedDimsArray Pipe " + - "PollingFileWatcher ProcessExitedException Ptr QuoteNode RandomDevice Range RangeIndex Rational RawFD " + - "ReadOnlyMemoryError Real ReentrantLock Ref Regex RegexMatch RemoteChannel RemoteException RevString RoundingMode " + - "RowVector SSAValue SegmentationFault SerializationState Set SharedArray SharedMatrix SharedVector Signed " + - "SimpleVector Slot SlotNumber SparseMatrixCSC SparseVector StackFrame StackOverflowError StackTrace StepRange " + - "StepRangeLen StridedArray StridedMatrix StridedVecOrMat StridedVector String SubArray SubString SymTridiagonal " + - "Symbol Symmetric SystemError TCPSocket Task Text TextDisplay Timer Tridiagonal Tuple Type TypeError TypeMapEntry " + - "TypeMapLevel TypeName TypeVar TypedSlot UDPSocket UInt UInt128 UInt16 UInt32 UInt64 UInt8 UndefRefError UndefVarError " + - "UnicodeError UniformScaling Union UnionAll UnitRange Unsigned UpperTriangular Val Vararg VecElement VecOrMat Vector " + - "VersionNumber Void WeakKeyDict WeakRef WorkerConfig WorkerPool " + 'ANY AbstractArray AbstractChannel AbstractFloat AbstractMatrix AbstractRNG AbstractSerializer AbstractSet ' + + 'AbstractSparseArray AbstractSparseMatrix AbstractSparseVector AbstractString AbstractUnitRange AbstractVecOrMat ' + + 'AbstractVector Any ArgumentError Array AssertionError Associative Base64DecodePipe Base64EncodePipe Bidiagonal ' + + 'BigFloat BigInt BitArray BitMatrix BitVector Bool BoundsError BufferStream CachingPool CapturedException ' + + 'CartesianIndex CartesianRange Cchar Cdouble Cfloat Channel Char Cint Cintmax_t Clong Clonglong ClusterManager ' + + 'Cmd CodeInfo Colon Complex Complex128 Complex32 Complex64 CompositeException Condition ConjArray ConjMatrix ' + + 'ConjVector Cptrdiff_t Cshort Csize_t Cssize_t Cstring Cuchar Cuint Cuintmax_t Culong Culonglong Cushort Cwchar_t ' + + 'Cwstring DataType Date DateFormat DateTime DenseArray DenseMatrix DenseVecOrMat DenseVector Diagonal Dict ' + + 'DimensionMismatch Dims DirectIndexString Display DivideError DomainError EOFError EachLine Enum Enumerate ' + + 'ErrorException Exception ExponentialBackOff Expr Factorization FileMonitor Float16 Float32 Float64 Function ' + + 'Future GlobalRef GotoNode HTML Hermitian IO IOBuffer IOContext IOStream IPAddr IPv4 IPv6 IndexCartesian IndexLinear ' + + 'IndexStyle InexactError InitError Int Int128 Int16 Int32 Int64 Int8 IntSet Integer InterruptException ' + + 'InvalidStateException Irrational KeyError LabelNode LinSpace LineNumberNode LoadError LowerTriangular MIME Matrix ' + + 'MersenneTwister Method MethodError MethodTable Module NTuple NewvarNode NullException Nullable Number ObjectIdDict ' + + 'OrdinalRange OutOfMemoryError OverflowError Pair ParseError PartialQuickSort PermutedDimsArray Pipe ' + + 'PollingFileWatcher ProcessExitedException Ptr QuoteNode RandomDevice Range RangeIndex Rational RawFD ' + + 'ReadOnlyMemoryError Real ReentrantLock Ref Regex RegexMatch RemoteChannel RemoteException RevString RoundingMode ' + + 'RowVector SSAValue SegmentationFault SerializationState Set SharedArray SharedMatrix SharedVector Signed ' + + 'SimpleVector Slot SlotNumber SparseMatrixCSC SparseVector StackFrame StackOverflowError StackTrace StepRange ' + + 'StepRangeLen StridedArray StridedMatrix StridedVecOrMat StridedVector String SubArray SubString SymTridiagonal ' + + 'Symbol Symmetric SystemError TCPSocket Task Text TextDisplay Timer Tridiagonal Tuple Type TypeError TypeMapEntry ' + + 'TypeMapLevel TypeName TypeVar TypedSlot UDPSocket UInt UInt128 UInt16 UInt32 UInt64 UInt8 UndefRefError UndefVarError ' + + 'UnicodeError UniformScaling Union UnionAll UnitRange Unsigned UpperTriangular Val Vararg VecElement VecOrMat Vector ' + + 'VersionNumber Void WeakKeyDict WeakRef WorkerConfig WorkerPool ' }; // ref: http://julia.readthedocs.org/en/latest/manual/variables/#allowed-variable-names var VARIABLE_NAME_RE = - "[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*"; + '[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*'; // placeholder for recursive self-reference var DEFAULT = { @@ -25873,7 +57480,7 @@ // ref: http://julia.readthedocs.org/en/latest/manual/integers-and-floating-point-numbers/ var NUMBER = { - className: "number", + className: 'number', // supported numeric literals: // * binary literal (e.g. 0x10) // * octal literal (e.g. 0o76543210) @@ -25886,25 +57493,25 @@ }; var CHAR = { - className: "string", + className: 'string', begin: /'(.|\\[xXuU][a-zA-Z0-9]+)'/ }; var INTERPOLATION = { - className: "subst", + className: 'subst', begin: /\$\(/, end: /\)/, keywords: KEYWORDS }; var INTERPOLATED_VARIABLE = { - className: "variable", - begin: "\\$" + VARIABLE_NAME_RE + className: 'variable', + begin: '\\$' + VARIABLE_NAME_RE }; // TODO: neatly escape normal code in string literal var STRING = { - className: "string", + className: 'string', contains: [ hljs.BACKSLASH_ESCAPE, INTERPOLATION, @@ -25917,26 +57524,26 @@ }; var COMMAND = { - className: "string", + className: 'string', contains: [ hljs.BACKSLASH_ESCAPE, INTERPOLATION, INTERPOLATED_VARIABLE ], - begin: "`", - end: "`" + begin: '`', + end: '`' }; var MACROCALL = { - className: "meta", - begin: "@" + VARIABLE_NAME_RE + className: 'meta', + begin: '@' + VARIABLE_NAME_RE }; var COMMENT = { - className: "comment", + className: 'comment', variants: [ - { begin: "#=", end: "=#", relevance: 10 }, - { begin: "#", end: "$" } + { begin: '#=', end: '=#', relevance: 10 }, + { begin: '#', end: '$' } ] }; @@ -25949,8 +57556,8 @@ COMMENT, hljs.HASH_COMMENT_MODE, { - className: "keyword", - begin: "\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b" + className: 'keyword', + begin: '\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b' }, { begin: /<:/ } // relevance booster ]; @@ -25961,27 +57568,27 @@ /***/ }, - /* 432 */ + /* 437 */ /***/ function(module, exports) { module.exports = function(hljs) { return { contains: [ { - className: "meta", + className: 'meta', begin: /^julia>/, relevance: 10, starts: { // end the highlighting if we are on a new line and the line does not have at // least six spaces in the beginning end: /^(?![ ]{6})/, - subLanguage: "julia" + subLanguage: 'julia' }, // jldoctest Markdown blocks are used in the Julia manual and package docs indicate // code snippets that should be verified when the documentation is built. They can be // either REPL-like or script-like, but are usually REPL-like and therefore we apply // julia-repl highlighting to them. More information can be found in Documenter's // manual: https://juliadocs.github.io/Documenter.jl/latest/man/doctests.html - aliases: ["jldoctest"] + aliases: ['jldoctest'] } ] }; @@ -25989,51 +57596,52 @@ /***/ }, - /* 433 */ + /* 438 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { keyword: - "abstract as val var vararg get set class object open private protected public noinline " + - "crossinline dynamic final enum if else do while for when throw try catch finally " + - "import package is in fun override companion reified inline lateinit init" + - "interface annotation data sealed internal infix operator out by constructor super " + + 'abstract as val var vararg get set class object open private protected public noinline ' + + 'crossinline dynamic final enum if else do while for when throw try catch finally ' + + 'import package is in fun override companion reified inline lateinit init ' + + 'interface annotation data sealed internal infix operator out by constructor super ' + + 'tailrec where const inner suspend typealias external expect actual ' + // to be deleted soon - "trait volatile transient native default", + 'trait volatile transient native default', built_in: - "Byte Short Char Int Long Boolean Float Double Void Unit Nothing", - literal: "true false null" + 'Byte Short Char Int Long Boolean Float Double Void Unit Nothing', + literal: 'true false null' }; var KEYWORDS_WITH_LABEL = { - className: "keyword", + className: 'keyword', begin: /\b(break|continue|return|this)\b/, starts: { contains: [ { - className: "symbol", + className: 'symbol', begin: /@\w+/ } ] } }; var LABEL = { - className: "symbol", - begin: hljs.UNDERSCORE_IDENT_RE + "@" + className: 'symbol', + begin: hljs.UNDERSCORE_IDENT_RE + '@' }; // for string templates var SUBST = { - className: "subst", - begin: "\\${", - end: "}", + className: 'subst', + begin: '\\${', + end: '}', contains: [hljs.APOS_STRING_MODE, hljs.C_NUMBER_MODE] }; var VARIABLE = { - className: "variable", - begin: "\\$" + hljs.UNDERSCORE_IDENT_RE + className: 'variable', + begin: '\\$' + hljs.UNDERSCORE_IDENT_RE }; var STRING = { - className: "string", + className: 'string', variants: [ { begin: '"""', @@ -26059,33 +57667,58 @@ }; var ANNOTATION_USE_SITE = { - className: "meta", + className: 'meta', begin: - "@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*" + + '@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*' + hljs.UNDERSCORE_IDENT_RE + - ")?" + ')?' }; var ANNOTATION = { - className: "meta", - begin: "@" + hljs.UNDERSCORE_IDENT_RE, + className: 'meta', + begin: '@' + hljs.UNDERSCORE_IDENT_RE, contains: [ { begin: /\(/, end: /\)/, - contains: [hljs.inherit(STRING, { className: "meta-string" })] + contains: [hljs.inherit(STRING, { className: 'meta-string' })] } ] }; + // https://kotlinlang.org/docs/reference/whatsnew11.html#underscores-in-numeric-literals + // According to the doc above, the number mode of kotlin is the same as java 8, + // so the code below is copied from java.js + var KOTLIN_NUMBER_RE = + '\\b' + + '(' + + '0[bB]([01]+[01_]+[01]+|[01]+)' + // 0b... + '|' + + '0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)' + // 0x... + '|' + + '(' + + '([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?' + + '|' + + '\\.([\\d]+[\\d_]+[\\d]+|[\\d]+)' + + ')' + + '([eE][-+]?\\d+)?' + // octal, decimal, float + ')' + + '[lLfF]?'; + var KOTLIN_NUMBER_MODE = { + className: 'number', + begin: KOTLIN_NUMBER_RE, + relevance: 0 + }; + return { + aliases: ['kt'], keywords: KEYWORDS, contains: [ - hljs.COMMENT("/\\*\\*", "\\*/", { + hljs.COMMENT('/\\*\\*', '\\*/', { relevance: 0, contains: [ { - className: "doctag", - begin: "@[A-Za-z]+" + className: 'doctag', + begin: '@[A-Za-z]+' } ] }), @@ -26096,9 +57729,9 @@ ANNOTATION_USE_SITE, ANNOTATION, { - className: "function", - beginKeywords: "fun", - end: "[(]|$", + className: 'function', + beginKeywords: 'fun', + end: '[(]|$', returnBegin: true, excludeEnd: true, keywords: KEYWORDS, @@ -26106,20 +57739,20 @@ relevance: 5, contains: [ { - begin: hljs.UNDERSCORE_IDENT_RE + "\\s*\\(", + begin: hljs.UNDERSCORE_IDENT_RE + '\\s*\\(', returnBegin: true, relevance: 0, contains: [hljs.UNDERSCORE_TITLE_MODE] }, { - className: "type", + className: 'type', begin: /, end: />/, - keywords: "reified", + keywords: 'reified', relevance: 0 }, { - className: "params", + className: 'params', begin: /\(/, end: /\)/, endsParent: true, @@ -26131,7 +57764,7 @@ end: /[=,\/]/, endsWithParent: true, contains: [ - { className: "type", begin: hljs.UNDERSCORE_IDENT_RE }, + { className: 'type', begin: hljs.UNDERSCORE_IDENT_RE }, hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE ], @@ -26149,18 +57782,18 @@ ] }, { - className: "class", - beginKeywords: "class interface trait", + className: 'class', + beginKeywords: 'class interface trait', end: /[:\{(]|$/, // remove 'trait' when removed from KEYWORDS excludeEnd: true, - illegal: "extends implements", + illegal: 'extends implements', contains: [ { - beginKeywords: "public protected internal private constructor" + beginKeywords: 'public protected internal private constructor' }, hljs.UNDERSCORE_TITLE_MODE, { - className: "type", + className: 'type', begin: /, end: />/, excludeBegin: true, @@ -26168,7 +57801,7 @@ relevance: 0 }, { - className: "type", + className: 'type', begin: /[,:]\s*/, end: /[<\(,]|$/, excludeBegin: true, @@ -26180,112 +57813,112 @@ }, STRING, { - className: "meta", - begin: "^#!/usr/bin/env", - end: "$", - illegal: "\n" + className: 'meta', + begin: '^#!/usr/bin/env', + end: '$', + illegal: '\n' }, - hljs.C_NUMBER_MODE + KOTLIN_NUMBER_MODE ] }; }; /***/ }, - /* 434 */ + /* 439 */ /***/ function(module, exports) { module.exports = function(hljs) { - var LASSO_IDENT_RE = "[a-zA-Z_][\\w.]*"; - var LASSO_ANGLE_RE = "<\\?(lasso(script)?|=)"; - var LASSO_CLOSE_RE = "\\]|\\?>"; + var LASSO_IDENT_RE = '[a-zA-Z_][\\w.]*'; + var LASSO_ANGLE_RE = '<\\?(lasso(script)?|=)'; + var LASSO_CLOSE_RE = '\\]|\\?>'; var LASSO_KEYWORDS = { literal: - "true false none minimal full all void and or not " + - "bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft", + 'true false none minimal full all void and or not ' + + 'bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft', built_in: - "array date decimal duration integer map pair string tag xml null " + - "boolean bytes keyword list locale queue set stack staticarray " + - "local var variable global data self inherited currentcapture givenblock", + 'array date decimal duration integer map pair string tag xml null ' + + 'boolean bytes keyword list locale queue set stack staticarray ' + + 'local var variable global data self inherited currentcapture givenblock', keyword: - "cache database_names database_schemanames database_tablenames " + - "define_tag define_type email_batch encode_set html_comment handle " + - "handle_error header if inline iterate ljax_target link " + - "link_currentaction link_currentgroup link_currentrecord link_detail " + - "link_firstgroup link_firstrecord link_lastgroup link_lastrecord " + - "link_nextgroup link_nextrecord link_prevgroup link_prevrecord log " + - "loop namespace_using output_none portal private protect records " + - "referer referrer repeating resultset rows search_args " + - "search_arguments select sort_args sort_arguments thread_atomic " + - "value_list while abort case else fail_if fail_ifnot fail if_empty " + - "if_false if_null if_true loop_abort loop_continue loop_count params " + - "params_up return return_value run_children soap_definetag " + - "soap_lastrequest soap_lastresponse tag_name ascending average by " + - "define descending do equals frozen group handle_failure import in " + - "into join let match max min on order parent protected provide public " + - "require returnhome skip split_thread sum take thread to trait type " + - "where with yield yieldhome" - }; - var HTML_COMMENT = hljs.COMMENT("", { + 'cache database_names database_schemanames database_tablenames ' + + 'define_tag define_type email_batch encode_set html_comment handle ' + + 'handle_error header if inline iterate ljax_target link ' + + 'link_currentaction link_currentgroup link_currentrecord link_detail ' + + 'link_firstgroup link_firstrecord link_lastgroup link_lastrecord ' + + 'link_nextgroup link_nextrecord link_prevgroup link_prevrecord log ' + + 'loop namespace_using output_none portal private protect records ' + + 'referer referrer repeating resultset rows search_args ' + + 'search_arguments select sort_args sort_arguments thread_atomic ' + + 'value_list while abort case else fail_if fail_ifnot fail if_empty ' + + 'if_false if_null if_true loop_abort loop_continue loop_count params ' + + 'params_up return return_value run_children soap_definetag ' + + 'soap_lastrequest soap_lastresponse tag_name ascending average by ' + + 'define descending do equals frozen group handle_failure import in ' + + 'into join let match max min on order parent protected provide public ' + + 'require returnhome skip split_thread sum take thread to trait type ' + + 'where with yield yieldhome' + }; + var HTML_COMMENT = hljs.COMMENT('', { relevance: 0 }); var LASSO_NOPROCESS = { - className: "meta", - begin: "\\[noprocess\\]", + className: 'meta', + begin: '\\[noprocess\\]', starts: { - end: "\\[/noprocess\\]", + end: '\\[/noprocess\\]', returnEnd: true, contains: [HTML_COMMENT] } }; var LASSO_START = { - className: "meta", - begin: "\\[/noprocess|" + LASSO_ANGLE_RE + className: 'meta', + begin: '\\[/noprocess|' + LASSO_ANGLE_RE }; var LASSO_DATAMEMBER = { - className: "symbol", + className: 'symbol', begin: "'" + LASSO_IDENT_RE + "'" }; var LASSO_CODE = [ hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, hljs.inherit(hljs.C_NUMBER_MODE, { - begin: hljs.C_NUMBER_RE + "|(-?infinity|NaN)\\b" + begin: hljs.C_NUMBER_RE + '|(-?infinity|NaN)\\b' }), hljs.inherit(hljs.APOS_STRING_MODE, { illegal: null }), hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }), { - className: "string", - begin: "`", - end: "`" + className: 'string', + begin: '`', + end: '`' }, { // variables variants: [ { - begin: "[#$]" + LASSO_IDENT_RE + begin: '[#$]' + LASSO_IDENT_RE }, { - begin: "#", - end: "\\d+", - illegal: "\\W" + begin: '#', + end: '\\d+', + illegal: '\\W' } ] }, { - className: "type", - begin: "::\\s*", + className: 'type', + begin: '::\\s*', end: LASSO_IDENT_RE, - illegal: "\\W" + illegal: '\\W' }, { - className: "params", + className: 'params', variants: [ { - begin: "-(?!infinity)" + LASSO_IDENT_RE, + begin: '-(?!infinity)' + LASSO_IDENT_RE, relevance: 0 }, { - begin: "(\\.\\.\\.)" + begin: '(\\.\\.\\.)' } ] }, @@ -26295,30 +57928,30 @@ contains: [LASSO_DATAMEMBER] }, { - className: "class", - beginKeywords: "define", + className: 'class', + beginKeywords: 'define', returnEnd: true, - end: "\\(|=>", + end: '\\(|=>', contains: [ hljs.inherit(hljs.TITLE_MODE, { - begin: LASSO_IDENT_RE + "(=(?!>))?|[-+*/%](?!>)" + begin: LASSO_IDENT_RE + '(=(?!>))?|[-+*/%](?!>)' }) ] } ]; return { - aliases: ["ls", "lassoscript"], + aliases: ['ls', 'lassoscript'], case_insensitive: true, - lexemes: LASSO_IDENT_RE + "|&[lg]t;", + lexemes: LASSO_IDENT_RE + '|&[lg]t;', keywords: LASSO_KEYWORDS, contains: [ { - className: "meta", + className: 'meta', begin: LASSO_CLOSE_RE, relevance: 0, starts: { // markup - end: "\\[|" + LASSO_ANGLE_RE, + end: '\\[|' + LASSO_ANGLE_RE, returnEnd: true, relevance: 0, contains: [HTML_COMMENT] @@ -26327,19 +57960,19 @@ LASSO_NOPROCESS, LASSO_START, { - className: "meta", - begin: "\\[no_square_brackets", + className: 'meta', + begin: '\\[no_square_brackets', starts: { - end: "\\[/no_square_brackets\\]", // not implemented in the language - lexemes: LASSO_IDENT_RE + "|&[lg]t;", + end: '\\[/no_square_brackets\\]', // not implemented in the language + lexemes: LASSO_IDENT_RE + '|&[lg]t;', keywords: LASSO_KEYWORDS, contains: [ { - className: "meta", + className: 'meta', begin: LASSO_CLOSE_RE, relevance: 0, starts: { - end: "\\[noprocess\\]|" + LASSO_ANGLE_RE, + end: '\\[noprocess\\]|' + LASSO_ANGLE_RE, returnEnd: true, contains: [HTML_COMMENT] } @@ -26350,14 +57983,14 @@ } }, { - className: "meta", - begin: "\\[", + className: 'meta', + begin: '\\[', relevance: 0 }, { - className: "meta", - begin: "^#!", - end: "lasso9$", + className: 'meta', + begin: '^#!', + end: 'lasso9$', relevance: 10 } ].concat(LASSO_CODE) @@ -26366,30 +57999,30 @@ /***/ }, - /* 435 */ + /* 440 */ /***/ function(module, exports) { module.exports = function(hljs) { return { contains: [ { - className: "attribute", - begin: "^dn", - end: ": ", + className: 'attribute', + begin: '^dn', + end: ': ', excludeEnd: true, - starts: { end: "$", relevance: 0 }, + starts: { end: '$', relevance: 0 }, relevance: 10 }, { - className: "attribute", - begin: "^\\w", - end: ": ", + className: 'attribute', + begin: '^\\w', + end: ': ', excludeEnd: true, - starts: { end: "$", relevance: 0 } + starts: { end: '$', relevance: 0 } }, { - className: "literal", - begin: "^-", - end: "$" + className: 'literal', + begin: '^-', + end: '$' }, hljs.HASH_COMMENT_MODE ] @@ -26398,40 +58031,40 @@ /***/ }, - /* 436 */ + /* 441 */ /***/ function(module, exports) { module.exports = function(hljs) { return { contains: [ { - className: "function", - begin: "#+" + "[A-Za-z_0-9]*" + "\\(", - end: " {", + className: 'function', + begin: '#+' + '[A-Za-z_0-9]*' + '\\(', + end: ' {', returnBegin: true, excludeEnd: true, contains: [ { - className: "keyword", - begin: "#+" + className: 'keyword', + begin: '#+' }, { - className: "title", - begin: "[A-Za-z_][A-Za-z_0-9]*" + className: 'title', + begin: '[A-Za-z_][A-Za-z_0-9]*' }, { - className: "params", - begin: "\\(", - end: "\\)", + className: 'params', + begin: '\\(', + end: '\\)', endsParent: true, contains: [ { - className: "string", + className: 'string', begin: '"', end: '"' }, { - className: "variable", - begin: "[A-Za-z_][A-Za-z_0-9]*" + className: 'variable', + begin: '[A-Za-z_][A-Za-z_0-9]*' } ] } @@ -26443,11 +58076,11 @@ /***/ }, - /* 437 */ + /* 442 */ /***/ function(module, exports) { module.exports = function(hljs) { - var IDENT_RE = "[\\w-]+"; // yes, Less identifiers may begin with a digit - var INTERP_IDENT_RE = "(" + IDENT_RE + "|@{" + IDENT_RE + "})"; + var IDENT_RE = '[\\w-]+'; // yes, Less identifiers may begin with a digit + var INTERP_IDENT_RE = '(' + IDENT_RE + '|@{' + IDENT_RE + '})'; /* Generic Modes */ @@ -26457,8 +58090,8 @@ var STRING_MODE = function(c) { return { // Less strings are not multiline (also include '~' for more consistent coloring of "escaped" strings) - className: "string", - begin: "~?" + c + ".*?" + c + className: 'string', + begin: '~?' + c + '.*?' + c }; }; @@ -26472,8 +58105,8 @@ var PARENS_MODE = { // used only to properly balance nested parens inside mixin call, def. arg list - begin: "\\(", - end: "\\)", + begin: '\\(', + end: '\\)', contains: VALUE, relevance: 0 }; @@ -26486,56 +58119,56 @@ STRING_MODE('"'), hljs.CSS_NUMBER_MODE, // fixme: it does not include dot for numbers like .5em :( { - begin: "(url|data-uri)\\(", - starts: { className: "string", end: "[\\)\\n]", excludeEnd: true } + begin: '(url|data-uri)\\(', + starts: { className: 'string', end: '[\\)\\n]', excludeEnd: true } }, - IDENT_MODE("number", "#[0-9A-Fa-f]+\\b"), + IDENT_MODE('number', '#[0-9A-Fa-f]+\\b'), PARENS_MODE, - IDENT_MODE("variable", "@@?" + IDENT_RE, 10), - IDENT_MODE("variable", "@{" + IDENT_RE + "}"), - IDENT_MODE("built_in", "~?`[^`]*?`"), // inline javascript (or whatever host language) *multiline* string + IDENT_MODE('variable', '@@?' + IDENT_RE, 10), + IDENT_MODE('variable', '@{' + IDENT_RE + '}'), + IDENT_MODE('built_in', '~?`[^`]*?`'), // inline javascript (or whatever host language) *multiline* string { // @media features (it’s here to not duplicate things in AT_RULE_MODE with extra PARENS_MODE overriding): - className: "attribute", - begin: IDENT_RE + "\\s*:", - end: ":", + className: 'attribute', + begin: IDENT_RE + '\\s*:', + end: ':', returnBegin: true, excludeEnd: true }, { - className: "meta", - begin: "!important" + className: 'meta', + begin: '!important' } ); var VALUE_WITH_RULESETS = VALUE.concat({ - begin: "{", - end: "}", + begin: '{', + end: '}', contains: RULES }); var MIXIN_GUARD_MODE = { - beginKeywords: "when", + beginKeywords: 'when', endsWithParent: true, - contains: [{ beginKeywords: "and not" }].concat(VALUE) // using this form to override VALUE’s 'function' match + contains: [{ beginKeywords: 'and not' }].concat(VALUE) // using this form to override VALUE’s 'function' match }; /* Rule-Level Modes */ var RULE_MODE = { - begin: INTERP_IDENT_RE + "\\s*:", + begin: INTERP_IDENT_RE + '\\s*:', returnBegin: true, - end: "[;}]", + end: '[;}]', relevance: 0, contains: [ { - className: "attribute", + className: 'attribute', begin: INTERP_IDENT_RE, - end: ":", + end: ':', excludeEnd: true, starts: { endsWithParent: true, - illegal: "[<=$]", + illegal: '[<=$]', relevance: 0, contains: VALUE } @@ -26544,11 +58177,11 @@ }; var AT_RULE_MODE = { - className: "keyword", + className: 'keyword', begin: - "@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b", + '@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b', starts: { - end: "[;{}]", + end: '[;{}]', returnEnd: true, contains: VALUE, relevance: 0 @@ -26557,17 +58190,17 @@ // variable definitions and calls var VAR_RULE_MODE = { - className: "variable", + className: 'variable', variants: [ // using more strict pattern for higher relevance to increase chances of Less detection. // this is *the only* Less specific statement used in most of the sources, so... // (we’ll still often loose to the css-parser unless there's '//' comment, // simply because 1 variable just can't beat 99 properties :) - { begin: "@" + IDENT_RE + "\\s*:", relevance: 15 }, - { begin: "@" + IDENT_RE } + { begin: '@' + IDENT_RE + '\\s*:', relevance: 15 }, + { begin: '@' + IDENT_RE } ], starts: { - end: "[;}]", + end: '[;}]', returnEnd: true, contains: VALUE_WITH_RULESETS } @@ -26579,35 +58212,35 @@ // this mode also handles mixin definitions and calls variants: [ { - begin: "[\\.#:&\\[>]", - end: "[;{}]" // mixin calls end with ';' + begin: '[\\.#:&\\[>]', + end: '[;{}]' // mixin calls end with ';' }, { begin: INTERP_IDENT_RE, - end: "{" + end: '{' } ], returnBegin: true, returnEnd: true, - illegal: "[<='$\"]", + illegal: '[<=\'$"]', relevance: 0, contains: [ hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, MIXIN_GUARD_MODE, - IDENT_MODE("keyword", "all\\b"), - IDENT_MODE("variable", "@{" + IDENT_RE + "}"), // otherwise it’s identified as tag - IDENT_MODE("selector-tag", INTERP_IDENT_RE + "%?", 0), // '%' for more consistent coloring of @keyframes "tags" - IDENT_MODE("selector-id", "#" + INTERP_IDENT_RE), - IDENT_MODE("selector-class", "\\." + INTERP_IDENT_RE, 0), - IDENT_MODE("selector-tag", "&", 0), - { className: "selector-attr", begin: "\\[", end: "\\]" }, - { - className: "selector-pseudo", + IDENT_MODE('keyword', 'all\\b'), + IDENT_MODE('variable', '@{' + IDENT_RE + '}'), // otherwise it’s identified as tag + IDENT_MODE('selector-tag', INTERP_IDENT_RE + '%?', 0), // '%' for more consistent coloring of @keyframes "tags" + IDENT_MODE('selector-id', '#' + INTERP_IDENT_RE), + IDENT_MODE('selector-class', '\\.' + INTERP_IDENT_RE, 0), + IDENT_MODE('selector-tag', '&', 0), + { className: 'selector-attr', begin: '\\[', end: '\\]' }, + { + className: 'selector-pseudo', begin: /:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/ }, - { begin: "\\(", end: "\\)", contains: VALUE_WITH_RULESETS }, // argument list of parametric mixins - { begin: "!important" } // eat !important after mixin call or it will be colored as tag + { begin: '\\(', end: '\\)', contains: VALUE_WITH_RULESETS }, // argument list of parametric mixins + { begin: '!important' } // eat !important after mixin call or it will be colored as tag ] }; @@ -26622,58 +58255,58 @@ return { case_insensitive: true, - illegal: "[=>'/<($\"]", + illegal: '[=>\'/<($"]', contains: RULES }; }; /***/ }, - /* 438 */ + /* 443 */ /***/ function(module, exports) { module.exports = function(hljs) { var LISP_IDENT_RE = - "[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#!]*"; - var MEC_RE = "\\|[^]*?\\|"; + '[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#!]*'; + var MEC_RE = '\\|[^]*?\\|'; var LISP_SIMPLE_NUMBER_RE = - "(\\-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|\\-)?\\d+)?"; + '(\\-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|\\-)?\\d+)?'; var SHEBANG = { - className: "meta", - begin: "^#!", - end: "$" + className: 'meta', + begin: '^#!', + end: '$' }; var LITERAL = { - className: "literal", - begin: "\\b(t{1}|nil)\\b" + className: 'literal', + begin: '\\b(t{1}|nil)\\b' }; var NUMBER = { - className: "number", + className: 'number', variants: [ { begin: LISP_SIMPLE_NUMBER_RE, relevance: 0 }, - { begin: "#(b|B)[0-1]+(/[0-1]+)?" }, - { begin: "#(o|O)[0-7]+(/[0-7]+)?" }, - { begin: "#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?" }, + { begin: '#(b|B)[0-1]+(/[0-1]+)?' }, + { begin: '#(o|O)[0-7]+(/[0-7]+)?' }, + { begin: '#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?' }, { begin: - "#(c|C)\\(" + + '#(c|C)\\(' + LISP_SIMPLE_NUMBER_RE + - " +" + + ' +' + LISP_SIMPLE_NUMBER_RE, - end: "\\)" + end: '\\)' } ] }; var STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }); - var COMMENT = hljs.COMMENT(";", "$", { + var COMMENT = hljs.COMMENT(';', '$', { relevance: 0 }); var VARIABLE = { - begin: "\\*", - end: "\\*" + begin: '\\*', + end: '\\*' }; var KEYWORD = { - className: "symbol", - begin: "[:&]" + LISP_IDENT_RE + className: 'symbol', + begin: '[:&]' + LISP_IDENT_RE }; var IDENT = { begin: LISP_IDENT_RE, @@ -26683,21 +58316,21 @@ begin: MEC_RE }; var QUOTED_LIST = { - begin: "\\(", - end: "\\)", - contains: ["self", LITERAL, STRING, NUMBER, IDENT] + begin: '\\(', + end: '\\)', + contains: ['self', LITERAL, STRING, NUMBER, IDENT] }; var QUOTED = { contains: [NUMBER, STRING, VARIABLE, KEYWORD, QUOTED_LIST, IDENT], variants: [ { begin: "['`]\\(", - end: "\\)" + end: '\\)' }, { - begin: "\\(quote ", - end: "\\)", - keywords: { name: "quote" } + begin: '\\(quote ', + end: '\\)', + keywords: { name: 'quote' } }, { begin: "'" + MEC_RE @@ -26707,12 +58340,12 @@ var QUOTED_ATOM = { variants: [ { begin: "'" + LISP_IDENT_RE }, - { begin: "#'" + LISP_IDENT_RE + "(::" + LISP_IDENT_RE + ")*" } + { begin: "#'" + LISP_IDENT_RE + '(::' + LISP_IDENT_RE + ')*' } ] }; var LIST = { - begin: "\\(\\s*", - end: "\\)" + begin: '\\(\\s*', + end: '\\)' }; var BODY = { endsWithParent: true, @@ -26720,7 +58353,7 @@ }; LIST.contains = [ { - className: "name", + className: 'name', variants: [{ begin: LISP_IDENT_RE }, { begin: MEC_RE }] }, BODY @@ -26757,115 +58390,115 @@ /***/ }, - /* 439 */ + /* 444 */ /***/ function(module, exports) { module.exports = function(hljs) { var VARIABLE = { - begin: "\\b[gtps][A-Z]+[A-Za-z0-9_\\-]*\\b|\\$_[A-Z]+", + begin: '\\b[gtps][A-Z]+[A-Za-z0-9_\\-]*\\b|\\$_[A-Z]+', relevance: 0 }; var COMMENT_MODES = [ hljs.C_BLOCK_COMMENT_MODE, hljs.HASH_COMMENT_MODE, - hljs.COMMENT("--", "$"), - hljs.COMMENT("[^:]//", "$") + hljs.COMMENT('--', '$'), + hljs.COMMENT('[^:]//', '$') ]; var TITLE1 = hljs.inherit(hljs.TITLE_MODE, { variants: [ - { begin: "\\b_*rig[A-Z]+[A-Za-z0-9_\\-]*" }, - { begin: "\\b_[a-z0-9\\-]+" } + { begin: '\\b_*rig[A-Z]+[A-Za-z0-9_\\-]*' }, + { begin: '\\b_[a-z0-9\\-]+' } ] }); var TITLE2 = hljs.inherit(hljs.TITLE_MODE, { - begin: "\\b([A-Za-z0-9_\\-]+)\\b" + begin: '\\b([A-Za-z0-9_\\-]+)\\b' }); return { case_insensitive: false, keywords: { keyword: - "$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER " + - "codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph " + - "after byte bytes english the until http forever descending using line real8 with seventh " + - "for stdout finally element word words fourth before black ninth sixth characters chars stderr " + - "uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid " + - "at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 " + - "int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat " + - "end repeat URL in try into switch to words https token binfile each tenth as ticks tick " + - "system real4 by dateItems without char character ascending eighth whole dateTime numeric short " + - "first ftp integer abbreviated abbr abbrev private case while if " + - "div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within " + - "contains ends with begins the keys of keys", + '$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER ' + + 'codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph ' + + 'after byte bytes english the until http forever descending using line real8 with seventh ' + + 'for stdout finally element word words fourth before black ninth sixth characters chars stderr ' + + 'uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid ' + + 'at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 ' + + 'int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat ' + + 'end repeat URL in try into switch to words https token binfile each tenth as ticks tick ' + + 'system real4 by dateItems without char character ascending eighth whole dateTime numeric short ' + + 'first ftp integer abbreviated abbr abbrev private case while if ' + + 'div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within ' + + 'contains ends with begins the keys of keys', literal: - "SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE " + - "QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO " + - "six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five " + - "quote empty one true return cr linefeed right backslash null seven tab three two " + - "RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK " + - "FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK", + 'SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE ' + + 'QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO ' + + 'six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five ' + + 'quote empty one true return cr linefeed right backslash null seven tab three two ' + + 'RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK ' + + 'FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK', built_in: - "put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode " + - "base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum " + - "cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress " + - "constantNames cos date dateFormat decompress directories " + - "diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global " + - "globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset " + - "keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders " + - "libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 " + - "longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge millisec " + - "millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar " + - "numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets " + - "paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation " + - "populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile " + - "revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull " + - "revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered " + - "revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames " + - "revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull " + - "revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections " + - "revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype " + - "revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext " + - "revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames " + - "revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase " + - "revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute " + - "revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces " + - "revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode " + - "revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling " + - "revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error " + - "revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute " + - "revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort " + - "revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree " + - "revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance " + - "sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound " + - "stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper " + - "transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames " + - "variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet " + - "xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process " + - "combine constant convert create new alias folder directory decrypt delete variable word line folder " + - "directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile " + - "libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback " + - "libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime " + - "libURLSetStatusCallback load multiply socket prepare process post seek rel relative read from process rename " + - "replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase " + - "revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees " + - "revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord " + - "revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase " + - "revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD " + - "revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost " + - "revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData " + - "revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel " + - "revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback " + - "revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop " + - "subtract union unload wait write" + 'put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode ' + + 'base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum ' + + 'cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress ' + + 'constantNames cos date dateFormat decompress directories ' + + 'diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global ' + + 'globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset ' + + 'keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders ' + + 'libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 ' + + 'longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge millisec ' + + 'millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar ' + + 'numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets ' + + 'paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation ' + + 'populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile ' + + 'revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull ' + + 'revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered ' + + 'revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames ' + + 'revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull ' + + 'revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections ' + + 'revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype ' + + 'revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext ' + + 'revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames ' + + 'revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase ' + + 'revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute ' + + 'revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces ' + + 'revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode ' + + 'revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling ' + + 'revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error ' + + 'revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute ' + + 'revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort ' + + 'revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree ' + + 'revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance ' + + 'sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound ' + + 'stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper ' + + 'transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames ' + + 'variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet ' + + 'xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process ' + + 'combine constant convert create new alias folder directory decrypt delete variable word line folder ' + + 'directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile ' + + 'libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback ' + + 'libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime ' + + 'libURLSetStatusCallback load multiply socket prepare process post seek rel relative read from process rename ' + + 'replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase ' + + 'revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees ' + + 'revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord ' + + 'revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase ' + + 'revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD ' + + 'revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost ' + + 'revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData ' + + 'revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel ' + + 'revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback ' + + 'revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop ' + + 'subtract union unload wait write' }, contains: [ VARIABLE, { - className: "keyword", - begin: "\\bend\\sif\\b" + className: 'keyword', + begin: '\\bend\\sif\\b' }, { - className: "function", - beginKeywords: "function", - end: "$", + className: 'function', + beginKeywords: 'function', + end: '$', contains: [ VARIABLE, TITLE2, @@ -26877,16 +58510,16 @@ ] }, { - className: "function", - begin: "\\bend\\s+", - end: "$", - keywords: "end", + className: 'function', + begin: '\\bend\\s+', + end: '$', + keywords: 'end', contains: [TITLE2, TITLE1], relevance: 0 }, { - beginKeywords: "command on", - end: "$", + beginKeywords: 'command on', + end: '$', contains: [ VARIABLE, TITLE2, @@ -26898,14 +58531,14 @@ ] }, { - className: "meta", + className: 'meta', variants: [ { - begin: "<\\?(rev|lc|livecode)", + begin: '<\\?(rev|lc|livecode)', relevance: 10 }, - { begin: "<\\?" }, - { begin: "\\?>" } + { begin: '<\\?' }, + { begin: '\\?>' } ] }, hljs.APOS_STRING_MODE, @@ -26914,41 +58547,41 @@ hljs.C_NUMBER_MODE, TITLE1 ].concat(COMMENT_MODES), - illegal: ";$|^\\[|^=|&|{" + illegal: ';$|^\\[|^=|&|{' }; }; /***/ }, - /* 440 */ + /* 445 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { keyword: // JS keywords - "in if for while finally new do return else break catch instanceof throw try this " + - "switch continue typeof delete debugger case default function var with " + + 'in if for while finally new do return else break catch instanceof throw try this ' + + 'switch continue typeof delete debugger case default function var with ' + // LiveScript keywords - "then unless until loop of by when and or is isnt not it that otherwise from to til fallthrough super " + - "case default function var void const let enum export import native " + - "__hasProp __extends __slice __bind __indexOf", + 'then unless until loop of by when and or is isnt not it that otherwise from to til fallthrough super ' + + 'case default function var void const let enum export import native ' + + '__hasProp __extends __slice __bind __indexOf', literal: // JS literals - "true false null undefined " + + 'true false null undefined ' + // LiveScript literals - "yes no on off it that void", - built_in: "npm require console print module global window document" + 'yes no on off it that void', + built_in: 'npm require console print module global window document' }; - var JS_IDENT_RE = "[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*"; + var JS_IDENT_RE = '[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*'; var TITLE = hljs.inherit(hljs.TITLE_MODE, { begin: JS_IDENT_RE }); var SUBST = { - className: "subst", + className: 'subst', begin: /#\{/, end: /}/, keywords: KEYWORDS }; var SUBST_SIMPLE = { - className: "subst", + className: 'subst', begin: /#[A-Za-z$_]/, end: /(?:\-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/, keywords: KEYWORDS @@ -26956,14 +58589,14 @@ var EXPRESSIONS = [ hljs.BINARY_NUMBER_MODE, { - className: "number", + className: 'number', begin: - "(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)", + '(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)', relevance: 0, - starts: { end: "(\\s*/)?", relevance: 0 } // a number tries to eat the following slash to prevent treating it as a regexp + starts: { end: '(\\s*/)?', relevance: 0 } // a number tries to eat the following slash to prevent treating it as a regexp }, { - className: "string", + className: 'string', variants: [ { begin: /'''/, @@ -26993,11 +58626,11 @@ ] }, { - className: "regexp", + className: 'regexp', variants: [ { - begin: "//", - end: "//[gim]*", + begin: '//', + end: '//[gim]*', contains: [SUBST, hljs.HASH_COMMENT_MODE] }, { @@ -27008,21 +58641,21 @@ ] }, { - begin: "@" + JS_IDENT_RE + begin: '@' + JS_IDENT_RE }, { - begin: "``", - end: "``", + begin: '``', + end: '``', excludeBegin: true, excludeEnd: true, - subLanguage: "javascript" + subLanguage: 'javascript' } ]; SUBST.contains = EXPRESSIONS; var PARAMS = { - className: "params", - begin: "\\(", + className: 'params', + begin: '\\(', returnBegin: true, /* We need another contained nameless mode to not have every nested pair of parens to be called "params" */ @@ -27031,54 +58664,54 @@ begin: /\(/, end: /\)/, keywords: KEYWORDS, - contains: ["self"].concat(EXPRESSIONS) + contains: ['self'].concat(EXPRESSIONS) } ] }; return { - aliases: ["ls"], + aliases: ['ls'], keywords: KEYWORDS, illegal: /\/\*/, contains: EXPRESSIONS.concat([ - hljs.COMMENT("\\/\\*", "\\*\\/"), + hljs.COMMENT('\\/\\*', '\\*\\/'), hljs.HASH_COMMENT_MODE, { - className: "function", + className: 'function', contains: [TITLE, PARAMS], returnBegin: true, variants: [ { begin: - "(" + + '(' + JS_IDENT_RE + - "\\s*(?:=|:=)\\s*)?(\\(.*\\))?\\s*\\B\\->\\*?", - end: "\\->\\*?" + '\\s*(?:=|:=)\\s*)?(\\(.*\\))?\\s*\\B\\->\\*?', + end: '\\->\\*?' }, { begin: - "(" + + '(' + JS_IDENT_RE + - "\\s*(?:=|:=)\\s*)?!?(\\(.*\\))?\\s*\\B[-~]{1,2}>\\*?", - end: "[-~]{1,2}>\\*?" + '\\s*(?:=|:=)\\s*)?!?(\\(.*\\))?\\s*\\B[-~]{1,2}>\\*?', + end: '[-~]{1,2}>\\*?' }, { begin: - "(" + + '(' + JS_IDENT_RE + - "\\s*(?:=|:=)\\s*)?(\\(.*\\))?\\s*\\B!?[-~]{1,2}>\\*?", - end: "!?[-~]{1,2}>\\*?" + '\\s*(?:=|:=)\\s*)?(\\(.*\\))?\\s*\\B!?[-~]{1,2}>\\*?', + end: '!?[-~]{1,2}>\\*?' } ] }, { - className: "class", - beginKeywords: "class", - end: "$", + className: 'class', + beginKeywords: 'class', + end: '$', illegal: /[:="\[\]]/, contains: [ { - beginKeywords: "extends", + beginKeywords: 'extends', endsWithParent: true, illegal: /[:="\[\]]/, contains: [TITLE] @@ -27087,8 +58720,8 @@ ] }, { - begin: JS_IDENT_RE + ":", - end: ":", + begin: JS_IDENT_RE + ':', + end: ':', returnBegin: true, returnEnd: true, relevance: 0 @@ -27099,60 +58732,60 @@ /***/ }, - /* 441 */ + /* 446 */ /***/ function(module, exports) { module.exports = function(hljs) { - var identifier = "([-a-zA-Z$._][\\w\\-$.]*)"; + var identifier = '([-a-zA-Z$._][\\w\\-$.]*)'; return { //lexemes: '[.%]?' + hljs.IDENT_RE, keywords: - "begin end true false declare define global " + - "constant private linker_private internal " + - "available_externally linkonce linkonce_odr weak " + - "weak_odr appending dllimport dllexport common " + - "default hidden protected extern_weak external " + - "thread_local zeroinitializer undef null to tail " + - "target triple datalayout volatile nuw nsw nnan " + - "ninf nsz arcp fast exact inbounds align " + - "addrspace section alias module asm sideeffect " + - "gc dbg linker_private_weak attributes blockaddress " + - "initialexec localdynamic localexec prefix unnamed_addr " + - "ccc fastcc coldcc x86_stdcallcc x86_fastcallcc " + - "arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device " + - "ptx_kernel intel_ocl_bicc msp430_intrcc spir_func " + - "spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc " + - "cc c signext zeroext inreg sret nounwind " + - "noreturn noalias nocapture byval nest readnone " + - "readonly inlinehint noinline alwaysinline optsize ssp " + - "sspreq noredzone noimplicitfloat naked builtin cold " + - "nobuiltin noduplicate nonlazybind optnone returns_twice " + - "sanitize_address sanitize_memory sanitize_thread sspstrong " + - "uwtable returned type opaque eq ne slt sgt " + - "sle sge ult ugt ule uge oeq one olt ogt " + - "ole oge ord uno ueq une x acq_rel acquire " + - "alignstack atomic catch cleanup filter inteldialect " + - "max min monotonic nand personality release seq_cst " + - "singlethread umax umin unordered xchg add fadd " + - "sub fsub mul fmul udiv sdiv fdiv urem srem " + - "frem shl lshr ashr and or xor icmp fcmp " + - "phi call trunc zext sext fptrunc fpext uitofp " + - "sitofp fptoui fptosi inttoptr ptrtoint bitcast " + - "addrspacecast select va_arg ret br switch invoke " + - "unwind unreachable indirectbr landingpad resume " + - "malloc alloca free load store getelementptr " + - "extractelement insertelement shufflevector getresult " + - "extractvalue insertvalue atomicrmw cmpxchg fence " + - "argmemonly double", + 'begin end true false declare define global ' + + 'constant private linker_private internal ' + + 'available_externally linkonce linkonce_odr weak ' + + 'weak_odr appending dllimport dllexport common ' + + 'default hidden protected extern_weak external ' + + 'thread_local zeroinitializer undef null to tail ' + + 'target triple datalayout volatile nuw nsw nnan ' + + 'ninf nsz arcp fast exact inbounds align ' + + 'addrspace section alias module asm sideeffect ' + + 'gc dbg linker_private_weak attributes blockaddress ' + + 'initialexec localdynamic localexec prefix unnamed_addr ' + + 'ccc fastcc coldcc x86_stdcallcc x86_fastcallcc ' + + 'arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ' + + 'ptx_kernel intel_ocl_bicc msp430_intrcc spir_func ' + + 'spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc ' + + 'cc c signext zeroext inreg sret nounwind ' + + 'noreturn noalias nocapture byval nest readnone ' + + 'readonly inlinehint noinline alwaysinline optsize ssp ' + + 'sspreq noredzone noimplicitfloat naked builtin cold ' + + 'nobuiltin noduplicate nonlazybind optnone returns_twice ' + + 'sanitize_address sanitize_memory sanitize_thread sspstrong ' + + 'uwtable returned type opaque eq ne slt sgt ' + + 'sle sge ult ugt ule uge oeq one olt ogt ' + + 'ole oge ord uno ueq une x acq_rel acquire ' + + 'alignstack atomic catch cleanup filter inteldialect ' + + 'max min monotonic nand personality release seq_cst ' + + 'singlethread umax umin unordered xchg add fadd ' + + 'sub fsub mul fmul udiv sdiv fdiv urem srem ' + + 'frem shl lshr ashr and or xor icmp fcmp ' + + 'phi call trunc zext sext fptrunc fpext uitofp ' + + 'sitofp fptoui fptosi inttoptr ptrtoint bitcast ' + + 'addrspacecast select va_arg ret br switch invoke ' + + 'unwind unreachable indirectbr landingpad resume ' + + 'malloc alloca free load store getelementptr ' + + 'extractelement insertelement shufflevector getresult ' + + 'extractvalue insertvalue atomicrmw cmpxchg fence ' + + 'argmemonly double', contains: [ { - className: "keyword", - begin: "i\\d+" + className: 'keyword', + begin: 'i\\d+' }, - hljs.COMMENT(";", "\\n", { relevance: 0 }), + hljs.COMMENT(';', '\\n', { relevance: 0 }), // Double quote string hljs.QUOTE_STRING_MODE, { - className: "string", + className: 'string', variants: [ // Double-quoted string { begin: '"', end: '[^\\\\]"' } @@ -27160,27 +58793,27 @@ relevance: 0 }, { - className: "title", + className: 'title', variants: [ - { begin: "@" + identifier }, - { begin: "@\\d+" }, - { begin: "!" + identifier }, - { begin: "!\\d+" + identifier } + { begin: '@' + identifier }, + { begin: '@\\d+' }, + { begin: '!' + identifier }, + { begin: '!\\d+' + identifier } ] }, { - className: "symbol", + className: 'symbol', variants: [ - { begin: "%" + identifier }, - { begin: "%\\d+" }, - { begin: "#\\d+" } + { begin: '%' + identifier }, + { begin: '%\\d+' }, + { begin: '#\\d+' } ] }, { - className: "number", + className: 'number', variants: [ - { begin: "0[xX][a-fA-F0-9]+" }, - { begin: "-?\\d+(?:[.]\\d+)?(?:[eE][-+]?\\d+(?:[.]\\d+)?)?" } + { begin: '0[xX][a-fA-F0-9]+' }, + { begin: '-?\\d+(?:[.]\\d+)?(?:[eE][-+]?\\d+(?:[.]\\d+)?)?' } ], relevance: 0 } @@ -27190,85 +58823,85 @@ /***/ }, - /* 442 */ + /* 447 */ /***/ function(module, exports) { module.exports = function(hljs) { var LSL_STRING_ESCAPE_CHARS = { - className: "subst", + className: 'subst', begin: /\\[tn"\\]/ }; var LSL_STRINGS = { - className: "string", + className: 'string', begin: '"', end: '"', contains: [LSL_STRING_ESCAPE_CHARS] }; var LSL_NUMBERS = { - className: "number", + className: 'number', begin: hljs.C_NUMBER_RE }; var LSL_CONSTANTS = { - className: "literal", + className: 'literal', variants: [ { - begin: "\\b(?:PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b" + begin: '\\b(?:PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b' }, { begin: - "\\b(?:XP_ERROR_(?:EXPERIENCES_DISABLED|EXPERIENCE_(?:DISABLED|SUSPENDED)|INVALID_(?:EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(?:FOUND|PERMITTED(?:_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(?:PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(?:_OBJECT)?|(?:DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(?:FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(?:_(?:BY_(?:LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(?:PARCEL(?:_OWNER)?|REGION)))?|CAMERA_(?:PITCH|DISTANCE|BEHINDNESS_(?:ANGLE|LAG)|(?:FOCUS|POSITION)(?:_(?:THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(?:ROOT|SET|ALL_(?:OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(?:IVE|_(?:ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(?:FWD|BACK|(?:ROT_)?(?:LEFT|RIGHT)|UP|DOWN|(?:ML_)?LBUTTON)|PERMISSION_(?:RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(?:CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(?:TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(?:INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(?:_START)?|TELEPORT|MEDIA)|OBJECT_(?:CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(?:PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_ON_REZ|NAME|DESC|POS|PRIM_(?:COUNT|EQUIVALENCE)|RETURN_(?:PARCEL(?:_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP|CREATOR|ATTACHED_POINT|RENDER_WEIGHT|(?:BODY_SHAPE|PATHFINDING)_TYPE|(?:RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(?:MEMORY|TIME))|TYPE_(?:INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(?:DEBUG|PUBLIC)_CHANNEL|ATTACH_(?:AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](?:SHOULDER|HAND|FOOT|EAR|EYE|[UL](?:ARM|LEG)|HIP)|(?:LEFT|RIGHT)_PEC|HUD_(?:CENTER_[12]|TOP_(?:RIGHT|CENTER|LEFT)|BOTTOM(?:_(?:RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(?:BASE|TIP)|[LR]WING|FACE_(?:JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(?:LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(?:ONLINE|NAME|BORN|SIM_(?:POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(?:ON_FILE|USED)|REMOTE_DATA_(?:CHANNEL|REQUEST|REPLY)|PSYS_(?:PART_(?:BF_(?:ZERO|ONE(?:_MINUS_(?:DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(?:START|END)_(?:COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(?:RIBBON|WIND|INTERP_(?:COLOR|SCALE)|BOUNCE|FOLLOW_(?:SRC|VELOCITY)|TARGET_(?:POS|LINEAR)|EMISSIVE)_MASK)|SRC_(?:MAX_AGE|PATTERN|ANGLE_(?:BEGIN|END)|BURST_(?:RATE|PART_COUNT|RADIUS|SPEED_(?:MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(?:DROP|EXPLODE|ANGLE(?:_CONE(?:_EMPTY)?)?)))|VEHICLE_(?:REFERENCE_FRAME|TYPE_(?:NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(?:LINEAR|ANGULAR)_(?:FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(?:HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(?:LINEAR|ANGULAR)_(?:DEFLECTION_(?:EFFICIENCY|TIMESCALE)|MOTOR_(?:DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(?:EFFICIENCY|TIMESCALE)|BANKING_(?:EFFICIENCY|MIX|TIMESCALE)|FLAG_(?:NO_DEFLECTION_UP|LIMIT_(?:ROLL_ONLY|MOTOR_UP)|HOVER_(?:(?:WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(?:STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(?:ALPHA_MODE(?:_(?:BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(?:_(?:BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(?:DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(?:_(?:STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(?:NONE|LOW|MEDIUM|HIGH)|BUMP_(?:NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(?:DEFAULT|PLANAR)|SCULPT_(?:TYPE_(?:SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(?:MIRROR|INVERT))|PHYSICS(?:_(?:SHAPE_(?:CONVEX|NONE|PRIM|TYPE)))?|(?:POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(?:ALT_IMAGE_ENABLE|CONTROLS|(?:CURRENT|HOME)_URL|AUTO_(?:LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(?:WIDTH|HEIGHT)_PIXELS|WHITELIST(?:_ENABLE)?|PERMS_(?:INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(?:STANDARD|MINI)|PERM_(?:NONE|OWNER|GROUP|ANYONE)|MAX_(?:URL_LENGTH|WHITELIST_(?:SIZE|COUNT)|(?:WIDTH|HEIGHT)_PIXELS)))|MASK_(?:BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(?:TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(?:MEDIA_COMMAND_(?:STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(?:ALLOW_(?:FLY|(?:GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(?:GROUP_)?OBJECTS)|USE_(?:ACCESS_(?:GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(?:GROUP|ALL)_OBJECT_ENTRY)|COUNT_(?:TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(?:NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(?:MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(?:_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(?:HIDE|DEFAULT)|REGION_FLAG_(?:ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(?:COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(?:METHOD|MIMETYPE|BODY_(?:MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|STRING_(?:TRIM(?:_(?:HEAD|TAIL))?)|CLICK_ACTION_(?:NONE|TOUCH|SIT|BUY|PAY|OPEN(?:_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(?:NONE|SCRIPT_MEMORY)|RC_(?:DATA_FLAGS|DETECT_PHANTOM|GET_(?:LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(?:TYPES|AGENTS|(?:NON)?PHYSICAL|LAND))|RCERR_(?:CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(?:ALLOWED_(?:AGENT|GROUP)_(?:ADD|REMOVE)|BANNED_AGENT_(?:ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(?:COMMAND|CMD_(?:PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(?:GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(?:CMD_(?:(?:SMOOTH_)?STOP|JUMP)|DESIRED_(?:TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(?:_(?:[ABCD]|NONE))?|MAX_(?:DECEL|TURN_RADIUS|(?:ACCEL|SPEED)))|PURSUIT_(?:OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(?:CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(?:EVADE_(?:HIDDEN|SPOTTED)|FAILURE_(?:DYNAMIC_PATHFINDING_DISABLED|INVALID_(?:GOAL|START)|NO_(?:NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(?:PARCEL_)?UNREACHABLE)|(?:GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(?:_(?:FAST|NONE|SLOW))?|CONTENT_TYPE_(?:ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(?:RADIUS|STATIC)|(?:PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(?:AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b" + '\\b(?:XP_ERROR_(?:EXPERIENCES_DISABLED|EXPERIENCE_(?:DISABLED|SUSPENDED)|INVALID_(?:EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(?:FOUND|PERMITTED(?:_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(?:PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(?:_OBJECT)?|(?:DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(?:FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(?:_(?:BY_(?:LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(?:PARCEL(?:_OWNER)?|REGION)))?|CAMERA_(?:PITCH|DISTANCE|BEHINDNESS_(?:ANGLE|LAG)|(?:FOCUS|POSITION)(?:_(?:THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(?:ROOT|SET|ALL_(?:OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(?:IVE|_(?:ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(?:FWD|BACK|(?:ROT_)?(?:LEFT|RIGHT)|UP|DOWN|(?:ML_)?LBUTTON)|PERMISSION_(?:RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(?:CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(?:TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(?:INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(?:_START)?|TELEPORT|MEDIA)|OBJECT_(?:CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(?:PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_ON_REZ|NAME|DESC|POS|PRIM_(?:COUNT|EQUIVALENCE)|RETURN_(?:PARCEL(?:_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP|CREATOR|ATTACHED_POINT|RENDER_WEIGHT|(?:BODY_SHAPE|PATHFINDING)_TYPE|(?:RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(?:MEMORY|TIME))|TYPE_(?:INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(?:DEBUG|PUBLIC)_CHANNEL|ATTACH_(?:AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](?:SHOULDER|HAND|FOOT|EAR|EYE|[UL](?:ARM|LEG)|HIP)|(?:LEFT|RIGHT)_PEC|HUD_(?:CENTER_[12]|TOP_(?:RIGHT|CENTER|LEFT)|BOTTOM(?:_(?:RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(?:BASE|TIP)|[LR]WING|FACE_(?:JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(?:LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(?:ONLINE|NAME|BORN|SIM_(?:POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(?:ON_FILE|USED)|REMOTE_DATA_(?:CHANNEL|REQUEST|REPLY)|PSYS_(?:PART_(?:BF_(?:ZERO|ONE(?:_MINUS_(?:DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(?:START|END)_(?:COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(?:RIBBON|WIND|INTERP_(?:COLOR|SCALE)|BOUNCE|FOLLOW_(?:SRC|VELOCITY)|TARGET_(?:POS|LINEAR)|EMISSIVE)_MASK)|SRC_(?:MAX_AGE|PATTERN|ANGLE_(?:BEGIN|END)|BURST_(?:RATE|PART_COUNT|RADIUS|SPEED_(?:MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(?:DROP|EXPLODE|ANGLE(?:_CONE(?:_EMPTY)?)?)))|VEHICLE_(?:REFERENCE_FRAME|TYPE_(?:NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(?:LINEAR|ANGULAR)_(?:FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(?:HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(?:LINEAR|ANGULAR)_(?:DEFLECTION_(?:EFFICIENCY|TIMESCALE)|MOTOR_(?:DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(?:EFFICIENCY|TIMESCALE)|BANKING_(?:EFFICIENCY|MIX|TIMESCALE)|FLAG_(?:NO_DEFLECTION_UP|LIMIT_(?:ROLL_ONLY|MOTOR_UP)|HOVER_(?:(?:WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(?:STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(?:ALPHA_MODE(?:_(?:BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(?:_(?:BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(?:DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(?:_(?:STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(?:NONE|LOW|MEDIUM|HIGH)|BUMP_(?:NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(?:DEFAULT|PLANAR)|SCULPT_(?:TYPE_(?:SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(?:MIRROR|INVERT))|PHYSICS(?:_(?:SHAPE_(?:CONVEX|NONE|PRIM|TYPE)))?|(?:POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(?:ALT_IMAGE_ENABLE|CONTROLS|(?:CURRENT|HOME)_URL|AUTO_(?:LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(?:WIDTH|HEIGHT)_PIXELS|WHITELIST(?:_ENABLE)?|PERMS_(?:INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(?:STANDARD|MINI)|PERM_(?:NONE|OWNER|GROUP|ANYONE)|MAX_(?:URL_LENGTH|WHITELIST_(?:SIZE|COUNT)|(?:WIDTH|HEIGHT)_PIXELS)))|MASK_(?:BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(?:TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(?:MEDIA_COMMAND_(?:STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(?:ALLOW_(?:FLY|(?:GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(?:GROUP_)?OBJECTS)|USE_(?:ACCESS_(?:GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(?:GROUP|ALL)_OBJECT_ENTRY)|COUNT_(?:TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(?:NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(?:MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(?:_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(?:HIDE|DEFAULT)|REGION_FLAG_(?:ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(?:COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(?:METHOD|MIMETYPE|BODY_(?:MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|STRING_(?:TRIM(?:_(?:HEAD|TAIL))?)|CLICK_ACTION_(?:NONE|TOUCH|SIT|BUY|PAY|OPEN(?:_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(?:NONE|SCRIPT_MEMORY)|RC_(?:DATA_FLAGS|DETECT_PHANTOM|GET_(?:LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(?:TYPES|AGENTS|(?:NON)?PHYSICAL|LAND))|RCERR_(?:CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(?:ALLOWED_(?:AGENT|GROUP)_(?:ADD|REMOVE)|BANNED_AGENT_(?:ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(?:COMMAND|CMD_(?:PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(?:GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(?:CMD_(?:(?:SMOOTH_)?STOP|JUMP)|DESIRED_(?:TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(?:_(?:[ABCD]|NONE))?|MAX_(?:DECEL|TURN_RADIUS|(?:ACCEL|SPEED)))|PURSUIT_(?:OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(?:CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(?:EVADE_(?:HIDDEN|SPOTTED)|FAILURE_(?:DYNAMIC_PATHFINDING_DISABLED|INVALID_(?:GOAL|START)|NO_(?:NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(?:PARCEL_)?UNREACHABLE)|(?:GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(?:_(?:FAST|NONE|SLOW))?|CONTENT_TYPE_(?:ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(?:RADIUS|STATIC)|(?:PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(?:AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b' }, { - begin: "\\b(?:FALSE|TRUE)\\b" + begin: '\\b(?:FALSE|TRUE)\\b' }, { - begin: "\\b(?:ZERO_ROTATION)\\b" + begin: '\\b(?:ZERO_ROTATION)\\b' }, { begin: - "\\b(?:EOF|JSON_(?:ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(?:BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(?:GRANTED|DENIED))\\b" + '\\b(?:EOF|JSON_(?:ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(?:BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(?:GRANTED|DENIED))\\b' }, { - begin: "\\b(?:ZERO_VECTOR|TOUCH_INVALID_(?:TEXCOORD|VECTOR))\\b" + begin: '\\b(?:ZERO_VECTOR|TOUCH_INVALID_(?:TEXCOORD|VECTOR))\\b' } ] }; var LSL_FUNCTIONS = { - className: "built_in", + className: 'built_in', begin: - "\\b(?:ll(?:AgentInExperience|(?:Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(?:Details|ErrorMessage)|ReturnObjectsBy(?:ID|Owner)|Json(?:2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(?:Mag|Norm|Dist)|Rot(?:Between|2(?:Euler|Fwd|Left|Up))|(?:Euler|Axes)2Rot|Whisper|(?:Region|Owner)?Say|Shout|Listen(?:Control|Remove)?|Sensor(?:Repeat|Remove)?|Detected(?:Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|(?:[GS]et)(?:AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(?:Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(?:Scale|Offset|Rotate)Texture|(?:Rot)?Target(?:Remove)?|(?:Stop)?MoveToTarget|Apply(?:Rotational)?Impulse|Set(?:KeyframedMotion|ContentType|RegionPos|(?:Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(?:Queueing|Radius)|Vehicle(?:Type|(?:Float|Vector|Rotation)Param)|(?:Touch|Sit)?Text|Camera(?:Eye|At)Offset|PrimitiveParams|ClickAction|Link(?:Alpha|Color|PrimitiveParams(?:Fast)?|Texture(?:Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get(?:(?:Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(?:PrimitiveParams|Number(?:OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(?:Details|PermMask|PrimCount)|Parcel(?:MaxPrims|Details|Prim(?:Count|Owners))|Attached(?:List)?|(?:SPMax|Free|Used)Memory|Region(?:Name|TimeDilation|FPS|Corner|AgentCount)|Root(?:Position|Rotation)|UnixTime|(?:Parcel|Region)Flags|(?:Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(?:Prims|NotecardLines|Sides)|Animation(?:List)?|(?:Camera|Local)(?:Pos|Rot)|Vel|Accel|Omega|Time(?:stamp|OfDay)|(?:Object|CenterOf)?Mass|MassMKS|Energy|Owner|(?:Owner)?Key|SunDirection|Texture(?:Offset|Scale|Rot)|Inventory(?:Number|Name|Key|Type|Creator|PermMask)|Permissions(?:Key)?|StartParameter|List(?:Length|EntryType)|Date|Agent(?:Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(?:Name|State))|(?:Get|Reset|GetAndReset)Time|PlaySound(?:Slave)?|LoopSound(?:Master|Slave)?|(?:Trigger|Stop|Preload)Sound|(?:(?:Get|Delete)Sub|Insert)String|To(?:Upper|Lower)|Give(?:InventoryList|Money)|RezObject|(?:Stop)?LookAt|Sleep|CollisionFilter|(?:Take|Release)Controls|DetachFromAvatar|AttachToAvatar(?:Temp)?|InstantMessage|(?:GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(?:Length|Trim)|(?:Start|Stop)Animation|TargetOmega|Request(?:Experience)?Permissions|(?:Create|Break)Link|BreakAllLinks|(?:Give|Remove)Inventory|Water|PassTouches|Request(?:Agent|Inventory)Data|TeleportAgent(?:Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(?:Axis|Angle)|A(?:cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(?:CSV|Integer|Json|Float|String|Key|Vector|Rot|List(?:Strided)?)|DeleteSubList|List(?:Statistics|Sort|Randomize|(?:Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(?:CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(?:Slope|Normal|Contour)|GroundRepel|(?:Set|Remove)VehicleFlags|(?:AvatarOn)?(?:Link)?SitTarget|Script(?:Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(?:Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(?:Integer|String)ToBase64|XorBase64|Log(?:10)?|Base64To(?:String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(?:Load|Release|(?:E|Une)scape)URL|ParcelMedia(?:CommandList|Query)|ModPow|MapDestination|(?:RemoveFrom|AddTo|Reset)Land(?:Pass|Ban)List|(?:Set|Clear)CameraParams|HTTP(?:Request|Response)|TextBox|DetectedTouch(?:UV|Face|Pos|(?:N|Bin)ormal|ST)|(?:MD5|SHA1|DumpList2)String|Request(?:Secure)?URL|Clear(?:Prim|Link)Media|(?:Link)?ParticleSystem|(?:Get|Request)(?:Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(?:Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b" + '\\b(?:ll(?:AgentInExperience|(?:Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(?:Details|ErrorMessage)|ReturnObjectsBy(?:ID|Owner)|Json(?:2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(?:Mag|Norm|Dist)|Rot(?:Between|2(?:Euler|Fwd|Left|Up))|(?:Euler|Axes)2Rot|Whisper|(?:Region|Owner)?Say|Shout|Listen(?:Control|Remove)?|Sensor(?:Repeat|Remove)?|Detected(?:Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|(?:[GS]et)(?:AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(?:Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(?:Scale|Offset|Rotate)Texture|(?:Rot)?Target(?:Remove)?|(?:Stop)?MoveToTarget|Apply(?:Rotational)?Impulse|Set(?:KeyframedMotion|ContentType|RegionPos|(?:Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(?:Queueing|Radius)|Vehicle(?:Type|(?:Float|Vector|Rotation)Param)|(?:Touch|Sit)?Text|Camera(?:Eye|At)Offset|PrimitiveParams|ClickAction|Link(?:Alpha|Color|PrimitiveParams(?:Fast)?|Texture(?:Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get(?:(?:Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(?:PrimitiveParams|Number(?:OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(?:Details|PermMask|PrimCount)|Parcel(?:MaxPrims|Details|Prim(?:Count|Owners))|Attached(?:List)?|(?:SPMax|Free|Used)Memory|Region(?:Name|TimeDilation|FPS|Corner|AgentCount)|Root(?:Position|Rotation)|UnixTime|(?:Parcel|Region)Flags|(?:Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(?:Prims|NotecardLines|Sides)|Animation(?:List)?|(?:Camera|Local)(?:Pos|Rot)|Vel|Accel|Omega|Time(?:stamp|OfDay)|(?:Object|CenterOf)?Mass|MassMKS|Energy|Owner|(?:Owner)?Key|SunDirection|Texture(?:Offset|Scale|Rot)|Inventory(?:Number|Name|Key|Type|Creator|PermMask)|Permissions(?:Key)?|StartParameter|List(?:Length|EntryType)|Date|Agent(?:Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(?:Name|State))|(?:Get|Reset|GetAndReset)Time|PlaySound(?:Slave)?|LoopSound(?:Master|Slave)?|(?:Trigger|Stop|Preload)Sound|(?:(?:Get|Delete)Sub|Insert)String|To(?:Upper|Lower)|Give(?:InventoryList|Money)|RezObject|(?:Stop)?LookAt|Sleep|CollisionFilter|(?:Take|Release)Controls|DetachFromAvatar|AttachToAvatar(?:Temp)?|InstantMessage|(?:GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(?:Length|Trim)|(?:Start|Stop)Animation|TargetOmega|Request(?:Experience)?Permissions|(?:Create|Break)Link|BreakAllLinks|(?:Give|Remove)Inventory|Water|PassTouches|Request(?:Agent|Inventory)Data|TeleportAgent(?:Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(?:Axis|Angle)|A(?:cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(?:CSV|Integer|Json|Float|String|Key|Vector|Rot|List(?:Strided)?)|DeleteSubList|List(?:Statistics|Sort|Randomize|(?:Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(?:CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(?:Slope|Normal|Contour)|GroundRepel|(?:Set|Remove)VehicleFlags|(?:AvatarOn)?(?:Link)?SitTarget|Script(?:Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(?:Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(?:Integer|String)ToBase64|XorBase64|Log(?:10)?|Base64To(?:String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(?:Load|Release|(?:E|Une)scape)URL|ParcelMedia(?:CommandList|Query)|ModPow|MapDestination|(?:RemoveFrom|AddTo|Reset)Land(?:Pass|Ban)List|(?:Set|Clear)CameraParams|HTTP(?:Request|Response)|TextBox|DetectedTouch(?:UV|Face|Pos|(?:N|Bin)ormal|ST)|(?:MD5|SHA1|DumpList2)String|Request(?:Secure)?URL|Clear(?:Prim|Link)Media|(?:Link)?ParticleSystem|(?:Get|Request)(?:Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(?:Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b' }; return { - illegal: ":", + illegal: ':', contains: [ LSL_STRINGS, { - className: "comment", - variants: [hljs.COMMENT("//", "$"), hljs.COMMENT("/\\*", "\\*/")] + className: 'comment', + variants: [hljs.COMMENT('//', '$'), hljs.COMMENT('/\\*', '\\*/')] }, LSL_NUMBERS, { - className: "section", + className: 'section', variants: [ { - begin: "\\b(?:state|default)\\b" + begin: '\\b(?:state|default)\\b' }, { begin: - "\\b(?:state_(?:entry|exit)|touch(?:_(?:start|end))?|(?:land_)?collision(?:_(?:start|end))?|timer|listen|(?:no_)?sensor|control|(?:not_)?at_(?:rot_)?target|money|email|experience_permissions(?:_denied)?|run_time_permissions|changed|attach|dataserver|moving_(?:start|end)|link_message|(?:on|object)_rez|remote_data|http_re(?:sponse|quest)|path_update|transaction_result)\\b" + '\\b(?:state_(?:entry|exit)|touch(?:_(?:start|end))?|(?:land_)?collision(?:_(?:start|end))?|timer|listen|(?:no_)?sensor|control|(?:not_)?at_(?:rot_)?target|money|email|experience_permissions(?:_denied)?|run_time_permissions|changed|attach|dataserver|moving_(?:start|end)|link_message|(?:on|object)_rez|remote_data|http_re(?:sponse|quest)|path_update|transaction_result)\\b' } ] }, LSL_FUNCTIONS, LSL_CONSTANTS, { - className: "type", + className: 'type', begin: - "\\b(?:integer|float|string|key|vector|quaternion|rotation|list)\\b" + '\\b(?:integer|float|string|key|vector|quaternion|rotation|list)\\b' } ] }; @@ -27276,19 +58909,19 @@ /***/ }, - /* 443 */ + /* 448 */ /***/ function(module, exports) { module.exports = function(hljs) { - var OPENING_LONG_BRACKET = "\\[=*\\["; - var CLOSING_LONG_BRACKET = "\\]=*\\]"; + var OPENING_LONG_BRACKET = '\\[=*\\['; + var CLOSING_LONG_BRACKET = '\\]=*\\]'; var LONG_BRACKETS = { begin: OPENING_LONG_BRACKET, end: CLOSING_LONG_BRACKET, - contains: ["self"] + contains: ['self'] }; var COMMENTS = [ - hljs.COMMENT("--(?!" + OPENING_LONG_BRACKET + ")", "$"), - hljs.COMMENT("--" + OPENING_LONG_BRACKET, CLOSING_LONG_BRACKET, { + hljs.COMMENT('--(?!' + OPENING_LONG_BRACKET + ')', '$'), + hljs.COMMENT('--' + OPENING_LONG_BRACKET, CLOSING_LONG_BRACKET, { contains: [LONG_BRACKETS], relevance: 10 }) @@ -27296,38 +58929,38 @@ return { lexemes: hljs.UNDERSCORE_IDENT_RE, keywords: { - literal: "true false nil", + literal: 'true false nil', keyword: - "and break do else elseif end for goto if in local not or repeat return then until while", + 'and break do else elseif end for goto if in local not or repeat return then until while', built_in: //Metatags and globals: - "_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len " + - "__gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert " + + '_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len ' + + '__gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert ' + //Standard methods and properties: - "collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring" + - "module next pairs pcall print rawequal rawget rawset require select setfenv" + - "setmetatable tonumber tostring type unpack xpcall arg self" + + 'collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring' + + 'module next pairs pcall print rawequal rawget rawset require select setfenv' + + 'setmetatable tonumber tostring type unpack xpcall arg self' + //Library methods and properties (one line per library): - "coroutine resume yield status wrap create running debug getupvalue " + - "debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv " + - "io lines write close flush open output type read stderr stdin input stdout popen tmpfile " + - "math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan " + - "os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall " + - "string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower " + - "table setn insert getn foreachi maxn foreach concat sort remove" + 'coroutine resume yield status wrap create running debug getupvalue ' + + 'debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv ' + + 'io lines write close flush open output type read stderr stdin input stdout popen tmpfile ' + + 'math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan ' + + 'os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall ' + + 'string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower ' + + 'table setn insert getn foreachi maxn foreach concat sort remove' }, contains: COMMENTS.concat([ { - className: "function", - beginKeywords: "function", - end: "\\)", + className: 'function', + beginKeywords: 'function', + end: '\\)', contains: [ hljs.inherit(hljs.TITLE_MODE, { - begin: "([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*" + begin: '([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*' }), { - className: "params", - begin: "\\(", + className: 'params', + begin: '\\(', endsWithParent: true, contains: COMMENTS } @@ -27337,7 +58970,7 @@ hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, { - className: "string", + className: 'string', begin: OPENING_LONG_BRACKET, end: CLOSING_LONG_BRACKET, contains: [LONG_BRACKETS], @@ -27349,15 +58982,15 @@ /***/ }, - /* 444 */ + /* 449 */ /***/ function(module, exports) { module.exports = function(hljs) { /* Variables: simple (eg $(var)) and special (eg $@) */ var VARIABLE = { - className: "variable", + className: 'variable', variants: [ { - begin: "\\$\\(" + hljs.UNDERSCORE_IDENT_RE + "\\)", + begin: '\\$\\(' + hljs.UNDERSCORE_IDENT_RE + '\\)', contains: [hljs.BACKSLASH_ESCAPE] }, { @@ -27367,58 +59000,58 @@ }; /* Quoted string with variables inside */ var QUOTE_STRING = { - className: "string", + className: 'string', begin: /"/, end: /"/, contains: [hljs.BACKSLASH_ESCAPE, VARIABLE] }; /* Function: $(func arg,...) */ var FUNC = { - className: "variable", + className: 'variable', begin: /\$\([\w-]+\s/, end: /\)/, keywords: { built_in: - "subst patsubst strip findstring filter filter-out sort " + - "word wordlist firstword lastword dir notdir suffix basename " + - "addsuffix addprefix join wildcard realpath abspath error warning " + - "shell origin flavor foreach if or and call eval file value" + 'subst patsubst strip findstring filter filter-out sort ' + + 'word wordlist firstword lastword dir notdir suffix basename ' + + 'addsuffix addprefix join wildcard realpath abspath error warning ' + + 'shell origin flavor foreach if or and call eval file value' }, contains: [VARIABLE] }; /* Variable assignment */ var VAR_ASSIG = { - begin: "^" + hljs.UNDERSCORE_IDENT_RE + "\\s*[:+?]?=", - illegal: "\\n", + begin: '^' + hljs.UNDERSCORE_IDENT_RE + '\\s*[:+?]?=', + illegal: '\\n', returnBegin: true, contains: [ { - begin: "^" + hljs.UNDERSCORE_IDENT_RE, - end: "[:+?]?=", + begin: '^' + hljs.UNDERSCORE_IDENT_RE, + end: '[:+?]?=', excludeEnd: true } ] }; /* Meta targets (.PHONY) */ var META = { - className: "meta", + className: 'meta', begin: /^\.PHONY:/, end: /$/, - keywords: { "meta-keyword": ".PHONY" }, + keywords: { 'meta-keyword': '.PHONY' }, lexemes: /[\.\w]+/ }; /* Targets */ var TARGET = { - className: "section", + className: 'section', begin: /^[^\s]+:/, end: /$/, contains: [VARIABLE] }; return { - aliases: ["mk", "mak"], + aliases: ['mk', 'mak'], keywords: - "define endef undefine ifdef ifndef ifeq ifneq else endif " + - "include -include sinclude override export unexport private vpath", + 'define endef undefine ifdef ifndef ifeq ifneq else endif ' + + 'include -include sinclude override export unexport private vpath', lexemes: /[\w-]+/, contains: [ hljs.HASH_COMMENT_MODE, @@ -27434,54 +59067,54 @@ /***/ }, - /* 445 */ + /* 450 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["mma"], - lexemes: "(\\$|\\b)" + hljs.IDENT_RE + "\\b", + aliases: ['mma'], + lexemes: '(\\$|\\b)' + hljs.IDENT_RE + '\\b', keywords: - "AbelianGroup Abort AbortKernels AbortProtect Above Abs Absolute AbsoluteCorrelation AbsoluteCorrelationFunction AbsoluteCurrentValue AbsoluteDashing AbsoluteFileName AbsoluteOptions AbsolutePointSize AbsoluteThickness AbsoluteTime AbsoluteTiming AccountingForm Accumulate Accuracy AccuracyGoal ActionDelay ActionMenu ActionMenuBox ActionMenuBoxOptions Active ActiveItem ActiveStyle AcyclicGraphQ AddOnHelpPath AddTo AdjacencyGraph AdjacencyList AdjacencyMatrix AdjustmentBox AdjustmentBoxOptions AdjustTimeSeriesForecast AffineTransform After AiryAi AiryAiPrime AiryAiZero AiryBi AiryBiPrime AiryBiZero AlgebraicIntegerQ AlgebraicNumber AlgebraicNumberDenominator AlgebraicNumberNorm AlgebraicNumberPolynomial AlgebraicNumberTrace AlgebraicRules AlgebraicRulesData Algebraics AlgebraicUnitQ Alignment AlignmentMarker AlignmentPoint All AllowedDimensions AllowGroupClose AllowInlineCells AllowKernelInitialization AllowReverseGroupClose AllowScriptLevelChange AlphaChannel AlternatingGroup AlternativeHypothesis Alternatives AmbientLight Analytic AnchoredSearch And AndersonDarlingTest AngerJ AngleBracket AngularGauge Animate AnimationCycleOffset AnimationCycleRepetitions AnimationDirection AnimationDisplayTime AnimationRate AnimationRepetitions AnimationRunning Animator AnimatorBox AnimatorBoxOptions AnimatorElements Annotation Annuity AnnuityDue Antialiasing Antisymmetric Apart ApartSquareFree Appearance AppearanceElements AppellF1 Append AppendTo Apply ArcCos ArcCosh ArcCot ArcCoth ArcCsc ArcCsch ArcSec ArcSech ArcSin ArcSinDistribution ArcSinh ArcTan ArcTanh Arg ArgMax ArgMin ArgumentCountQ ARIMAProcess ArithmeticGeometricMean ARMAProcess ARProcess Array ArrayComponents ArrayDepth ArrayFlatten ArrayPad ArrayPlot ArrayQ ArrayReshape ArrayRules Arrays Arrow Arrow3DBox ArrowBox Arrowheads AspectRatio AspectRatioFixed Assert Assuming Assumptions AstronomicalData Asynchronous AsynchronousTaskObject AsynchronousTasks AtomQ Attributes AugmentedSymmetricPolynomial AutoAction AutoDelete AutoEvaluateEvents AutoGeneratedPackage AutoIndent AutoIndentSpacings AutoItalicWords AutoloadPath AutoMatch Automatic AutomaticImageSize AutoMultiplicationSymbol AutoNumberFormatting AutoOpenNotebooks AutoOpenPalettes AutorunSequencing AutoScaling AutoScroll AutoSpacing AutoStyleOptions AutoStyleWords Axes AxesEdge AxesLabel AxesOrigin AxesStyle Axis " + - "BabyMonsterGroupB Back Background BackgroundTasksSettings Backslash Backsubstitution Backward Band BandpassFilter BandstopFilter BarabasiAlbertGraphDistribution BarChart BarChart3D BarLegend BarlowProschanImportance BarnesG BarOrigin BarSpacing BartlettHannWindow BartlettWindow BaseForm Baseline BaselinePosition BaseStyle BatesDistribution BattleLemarieWavelet Because BeckmannDistribution Beep Before Begin BeginDialogPacket BeginFrontEndInteractionPacket BeginPackage BellB BellY Below BenfordDistribution BeniniDistribution BenktanderGibratDistribution BenktanderWeibullDistribution BernoulliB BernoulliDistribution BernoulliGraphDistribution BernoulliProcess BernsteinBasis BesselFilterModel BesselI BesselJ BesselJZero BesselK BesselY BesselYZero Beta BetaBinomialDistribution BetaDistribution BetaNegativeBinomialDistribution BetaPrimeDistribution BetaRegularized BetweennessCentrality BezierCurve BezierCurve3DBox BezierCurve3DBoxOptions BezierCurveBox BezierCurveBoxOptions BezierFunction BilateralFilter Binarize BinaryFormat BinaryImageQ BinaryRead BinaryReadList BinaryWrite BinCounts BinLists Binomial BinomialDistribution BinomialProcess BinormalDistribution BiorthogonalSplineWavelet BipartiteGraphQ BirnbaumImportance BirnbaumSaundersDistribution BitAnd BitClear BitGet BitLength BitNot BitOr BitSet BitShiftLeft BitShiftRight BitXor Black BlackmanHarrisWindow BlackmanNuttallWindow BlackmanWindow Blank BlankForm BlankNullSequence BlankSequence Blend Block BlockRandom BlomqvistBeta BlomqvistBetaTest Blue Blur BodePlot BohmanWindow Bold Bookmarks Boole BooleanConsecutiveFunction BooleanConvert BooleanCountingFunction BooleanFunction BooleanGraph BooleanMaxterms BooleanMinimize BooleanMinterms Booleans BooleanTable BooleanVariables BorderDimensions BorelTannerDistribution Bottom BottomHatTransform BoundaryStyle Bounds Box BoxBaselineShift BoxData BoxDimensions Boxed Boxes BoxForm BoxFormFormatTypes BoxFrame BoxID BoxMargins BoxMatrix BoxRatios BoxRotation BoxRotationPoint BoxStyle BoxWhiskerChart Bra BracketingBar BraKet BrayCurtisDistance BreadthFirstScan Break Brown BrownForsytheTest BrownianBridgeProcess BrowserCategory BSplineBasis BSplineCurve BSplineCurve3DBox BSplineCurveBox BSplineCurveBoxOptions BSplineFunction BSplineSurface BSplineSurface3DBox BubbleChart BubbleChart3D BubbleScale BubbleSizes BulletGauge BusinessDayQ ButterflyGraph ButterworthFilterModel Button ButtonBar ButtonBox ButtonBoxOptions ButtonCell ButtonContents ButtonData ButtonEvaluator ButtonExpandable ButtonFrame ButtonFunction ButtonMargins ButtonMinHeight ButtonNote ButtonNotebook ButtonSource ButtonStyle ButtonStyleMenuListing Byte ByteCount ByteOrdering " + - "C CachedValue CacheGraphics CalendarData CalendarType CallPacket CanberraDistance Cancel CancelButton CandlestickChart Cap CapForm CapitalDifferentialD CardinalBSplineBasis CarmichaelLambda Cases Cashflow Casoratian Catalan CatalanNumber Catch CauchyDistribution CauchyWindow CayleyGraph CDF CDFDeploy CDFInformation CDFWavelet Ceiling Cell CellAutoOverwrite CellBaseline CellBoundingBox CellBracketOptions CellChangeTimes CellContents CellContext CellDingbat CellDynamicExpression CellEditDuplicate CellElementsBoundingBox CellElementSpacings CellEpilog CellEvaluationDuplicate CellEvaluationFunction CellEventActions CellFrame CellFrameColor CellFrameLabelMargins CellFrameLabels CellFrameMargins CellGroup CellGroupData CellGrouping CellGroupingRules CellHorizontalScrolling CellID CellLabel CellLabelAutoDelete CellLabelMargins CellLabelPositioning CellMargins CellObject CellOpen CellPrint CellProlog Cells CellSize CellStyle CellTags CellularAutomaton CensoredDistribution Censoring Center CenterDot CentralMoment CentralMomentGeneratingFunction CForm ChampernowneNumber ChanVeseBinarize Character CharacterEncoding CharacterEncodingsPath CharacteristicFunction CharacteristicPolynomial CharacterRange Characters ChartBaseStyle ChartElementData ChartElementDataFunction ChartElementFunction ChartElements ChartLabels ChartLayout ChartLegends ChartStyle Chebyshev1FilterModel Chebyshev2FilterModel ChebyshevDistance ChebyshevT ChebyshevU Check CheckAbort CheckAll Checkbox CheckboxBar CheckboxBox CheckboxBoxOptions ChemicalData ChessboardDistance ChiDistribution ChineseRemainder ChiSquareDistribution ChoiceButtons ChoiceDialog CholeskyDecomposition Chop Circle CircleBox CircleDot CircleMinus CirclePlus CircleTimes CirculantGraph CityData Clear ClearAll ClearAttributes ClearSystemCache ClebschGordan ClickPane Clip ClipboardNotebook ClipFill ClippingStyle ClipPlanes ClipRange Clock ClockGauge ClockwiseContourIntegral Close Closed CloseKernels ClosenessCentrality Closing ClosingAutoSave ClosingEvent ClusteringComponents CMYKColor Coarse Coefficient CoefficientArrays CoefficientDomain CoefficientList CoefficientRules CoifletWavelet Collect Colon ColonForm ColorCombine ColorConvert ColorData ColorDataFunction ColorFunction ColorFunctionScaling Colorize ColorNegate ColorOutput ColorProfileData ColorQuantize ColorReplace ColorRules ColorSelectorSettings ColorSeparate ColorSetter ColorSetterBox ColorSetterBoxOptions ColorSlider ColorSpace Column ColumnAlignments ColumnBackgrounds ColumnForm ColumnLines ColumnsEqual ColumnSpacings ColumnWidths CommonDefaultFormatTypes Commonest CommonestFilter CommonUnits CommunityBoundaryStyle CommunityGraphPlot CommunityLabels CommunityRegionStyle CompatibleUnitQ CompilationOptions CompilationTarget Compile Compiled CompiledFunction Complement CompleteGraph CompleteGraphQ CompleteKaryTree CompletionsListPacket Complex Complexes ComplexExpand ComplexInfinity ComplexityFunction ComponentMeasurements " + - "ComponentwiseContextMenu Compose ComposeList ComposeSeries Composition CompoundExpression CompoundPoissonDistribution CompoundPoissonProcess CompoundRenewalProcess Compress CompressedData Condition ConditionalExpression Conditioned Cone ConeBox ConfidenceLevel ConfidenceRange ConfidenceTransform ConfigurationPath Congruent Conjugate ConjugateTranspose Conjunction Connect ConnectedComponents ConnectedGraphQ ConnesWindow ConoverTest ConsoleMessage ConsoleMessagePacket ConsolePrint Constant ConstantArray Constants ConstrainedMax ConstrainedMin ContentPadding ContentsBoundingBox ContentSelectable ContentSize Context ContextMenu Contexts ContextToFilename ContextToFileName Continuation Continue ContinuedFraction ContinuedFractionK ContinuousAction ContinuousMarkovProcess ContinuousTimeModelQ ContinuousWaveletData ContinuousWaveletTransform ContourDetect ContourGraphics ContourIntegral ContourLabels ContourLines ContourPlot ContourPlot3D Contours ContourShading ContourSmoothing ContourStyle ContraharmonicMean Control ControlActive ControlAlignment ControllabilityGramian ControllabilityMatrix ControllableDecomposition ControllableModelQ ControllerDuration ControllerInformation ControllerInformationData ControllerLinking ControllerManipulate ControllerMethod ControllerPath ControllerState ControlPlacement ControlsRendering ControlType Convergents ConversionOptions ConversionRules ConvertToBitmapPacket ConvertToPostScript ConvertToPostScriptPacket Convolve ConwayGroupCo1 ConwayGroupCo2 ConwayGroupCo3 CoordinateChartData CoordinatesToolOptions CoordinateTransform CoordinateTransformData CoprimeQ Coproduct CopulaDistribution Copyable CopyDirectory CopyFile CopyTag CopyToClipboard CornerFilter CornerNeighbors Correlation CorrelationDistance CorrelationFunction CorrelationTest Cos Cosh CoshIntegral CosineDistance CosineWindow CosIntegral Cot Coth Count CounterAssignments CounterBox CounterBoxOptions CounterClockwiseContourIntegral CounterEvaluator CounterFunction CounterIncrements CounterStyle CounterStyleMenuListing CountRoots CountryData Covariance CovarianceEstimatorFunction CovarianceFunction CoxianDistribution CoxIngersollRossProcess CoxModel CoxModelFit CramerVonMisesTest CreateArchive CreateDialog CreateDirectory CreateDocument CreateIntermediateDirectories CreatePalette CreatePalettePacket CreateScheduledTask CreateTemporary CreateWindow CriticalityFailureImportance CriticalitySuccessImportance CriticalSection Cross CrossingDetect CrossMatrix Csc Csch CubeRoot Cubics Cuboid CuboidBox Cumulant CumulantGeneratingFunction Cup CupCap Curl CurlyDoubleQuote CurlyQuote CurrentImage CurrentlySpeakingPacket CurrentValue CurvatureFlowFilter CurveClosed Cyan CycleGraph CycleIndexPolynomial Cycles CyclicGroup Cyclotomic Cylinder CylinderBox CylindricalDecomposition " + - "D DagumDistribution DamerauLevenshteinDistance DampingFactor Darker Dashed Dashing DataCompression DataDistribution DataRange DataReversed Date DateDelimiters DateDifference DateFunction DateList DateListLogPlot DateListPlot DatePattern DatePlus DateRange DateString DateTicksFormat DaubechiesWavelet DavisDistribution DawsonF DayCount DayCountConvention DayMatchQ DayName DayPlus DayRange DayRound DeBruijnGraph Debug DebugTag Decimal DeclareKnownSymbols DeclarePackage Decompose Decrement DedekindEta Default DefaultAxesStyle DefaultBaseStyle DefaultBoxStyle DefaultButton DefaultColor DefaultControlPlacement DefaultDuplicateCellStyle DefaultDuration DefaultElement DefaultFaceGridsStyle DefaultFieldHintStyle DefaultFont DefaultFontProperties DefaultFormatType DefaultFormatTypeForStyle DefaultFrameStyle DefaultFrameTicksStyle DefaultGridLinesStyle DefaultInlineFormatType DefaultInputFormatType DefaultLabelStyle DefaultMenuStyle DefaultNaturalLanguage DefaultNewCellStyle DefaultNewInlineCellStyle DefaultNotebook DefaultOptions DefaultOutputFormatType DefaultStyle DefaultStyleDefinitions DefaultTextFormatType DefaultTextInlineFormatType DefaultTicksStyle DefaultTooltipStyle DefaultValues Defer DefineExternal DefineInputStreamMethod DefineOutputStreamMethod Definition Degree DegreeCentrality DegreeGraphDistribution DegreeLexicographic DegreeReverseLexicographic Deinitialization Del Deletable Delete DeleteBorderComponents DeleteCases DeleteContents DeleteDirectory DeleteDuplicates DeleteFile DeleteSmallComponents DeleteWithContents DeletionWarning Delimiter DelimiterFlashTime DelimiterMatching Delimiters Denominator DensityGraphics DensityHistogram DensityPlot DependentVariables Deploy Deployed Depth DepthFirstScan Derivative DerivativeFilter DescriptorStateSpace DesignMatrix Det DGaussianWavelet DiacriticalPositioning Diagonal DiagonalMatrix Dialog DialogIndent DialogInput DialogLevel DialogNotebook DialogProlog DialogReturn DialogSymbols Diamond DiamondMatrix DiceDissimilarity DictionaryLookup DifferenceDelta DifferenceOrder DifferenceRoot DifferenceRootReduce Differences DifferentialD DifferentialRoot DifferentialRootReduce DifferentiatorFilter DigitBlock DigitBlockMinimum DigitCharacter DigitCount DigitQ DihedralGroup Dilation Dimensions DiracComb DiracDelta DirectedEdge DirectedEdges DirectedGraph DirectedGraphQ DirectedInfinity Direction Directive Directory DirectoryName DirectoryQ DirectoryStack DirichletCharacter DirichletConvolve DirichletDistribution DirichletL DirichletTransform DirichletWindow DisableConsolePrintPacket DiscreteChirpZTransform DiscreteConvolve DiscreteDelta DiscreteHadamardTransform DiscreteIndicator DiscreteLQEstimatorGains DiscreteLQRegulatorGains DiscreteLyapunovSolve DiscreteMarkovProcess DiscretePlot DiscretePlot3D DiscreteRatio DiscreteRiccatiSolve DiscreteShift DiscreteTimeModelQ DiscreteUniformDistribution DiscreteVariables DiscreteWaveletData DiscreteWaveletPacketTransform " + - "DiscreteWaveletTransform Discriminant Disjunction Disk DiskBox DiskMatrix Dispatch DispersionEstimatorFunction Display DisplayAllSteps DisplayEndPacket DisplayFlushImagePacket DisplayForm DisplayFunction DisplayPacket DisplayRules DisplaySetSizePacket DisplayString DisplayTemporary DisplayWith DisplayWithRef DisplayWithVariable DistanceFunction DistanceTransform Distribute Distributed DistributedContexts DistributeDefinitions DistributionChart DistributionDomain DistributionFitTest DistributionParameterAssumptions DistributionParameterQ Dithering Div Divergence Divide DivideBy Dividers Divisible Divisors DivisorSigma DivisorSum DMSList DMSString Do DockedCells DocumentNotebook DominantColors DOSTextFormat Dot DotDashed DotEqual Dotted DoubleBracketingBar DoubleContourIntegral DoubleDownArrow DoubleLeftArrow DoubleLeftRightArrow DoubleLeftTee DoubleLongLeftArrow DoubleLongLeftRightArrow DoubleLongRightArrow DoubleRightArrow DoubleRightTee DoubleUpArrow DoubleUpDownArrow DoubleVerticalBar DoublyInfinite Down DownArrow DownArrowBar DownArrowUpArrow DownLeftRightVector DownLeftTeeVector DownLeftVector DownLeftVectorBar DownRightTeeVector DownRightVector DownRightVectorBar Downsample DownTee DownTeeArrow DownValues DragAndDrop DrawEdges DrawFrontFaces DrawHighlighted Drop DSolve Dt DualLinearProgramming DualSystemsModel DumpGet DumpSave DuplicateFreeQ Dynamic DynamicBox DynamicBoxOptions DynamicEvaluationTimeout DynamicLocation DynamicModule DynamicModuleBox DynamicModuleBoxOptions DynamicModuleParent DynamicModuleValues DynamicName DynamicNamespace DynamicReference DynamicSetting DynamicUpdating DynamicWrapper DynamicWrapperBox DynamicWrapperBoxOptions " + - "E EccentricityCentrality EdgeAdd EdgeBetweennessCentrality EdgeCapacity EdgeCapForm EdgeColor EdgeConnectivity EdgeCost EdgeCount EdgeCoverQ EdgeDashing EdgeDelete EdgeDetect EdgeForm EdgeIndex EdgeJoinForm EdgeLabeling EdgeLabels EdgeLabelStyle EdgeList EdgeOpacity EdgeQ EdgeRenderingFunction EdgeRules EdgeShapeFunction EdgeStyle EdgeThickness EdgeWeight Editable EditButtonSettings EditCellTagsSettings EditDistance EffectiveInterest Eigensystem Eigenvalues EigenvectorCentrality Eigenvectors Element ElementData Eliminate EliminationOrder EllipticE EllipticExp EllipticExpPrime EllipticF EllipticFilterModel EllipticK EllipticLog EllipticNomeQ EllipticPi EllipticReducedHalfPeriods EllipticTheta EllipticThetaPrime EmitSound EmphasizeSyntaxErrors EmpiricalDistribution Empty EmptyGraphQ EnableConsolePrintPacket Enabled Encode End EndAdd EndDialogPacket EndFrontEndInteractionPacket EndOfFile EndOfLine EndOfString EndPackage EngineeringForm Enter EnterExpressionPacket EnterTextPacket Entropy EntropyFilter Environment Epilog Equal EqualColumns EqualRows EqualTilde EquatedTo Equilibrium EquirippleFilterKernel Equivalent Erf Erfc Erfi ErlangB ErlangC ErlangDistribution Erosion ErrorBox ErrorBoxOptions ErrorNorm ErrorPacket ErrorsDialogSettings EstimatedDistribution EstimatedProcess EstimatorGains EstimatorRegulator EuclideanDistance EulerE EulerGamma EulerianGraphQ EulerPhi Evaluatable Evaluate Evaluated EvaluatePacket EvaluationCell EvaluationCompletionAction EvaluationElements EvaluationMode EvaluationMonitor EvaluationNotebook EvaluationObject EvaluationOrder Evaluator EvaluatorNames EvenQ EventData EventEvaluator EventHandler EventHandlerTag EventLabels ExactBlackmanWindow ExactNumberQ ExactRootIsolation ExampleData Except ExcludedForms ExcludePods Exclusions ExclusionsStyle Exists Exit ExitDialog Exp Expand ExpandAll ExpandDenominator ExpandFileName ExpandNumerator Expectation ExpectationE ExpectedValue ExpGammaDistribution ExpIntegralE ExpIntegralEi Exponent ExponentFunction ExponentialDistribution ExponentialFamily ExponentialGeneratingFunction ExponentialMovingAverage ExponentialPowerDistribution ExponentPosition ExponentStep Export ExportAutoReplacements ExportPacket ExportString Expression ExpressionCell ExpressionPacket ExpToTrig ExtendedGCD Extension ExtentElementFunction ExtentMarkers ExtentSize ExternalCall ExternalDataCharacterEncoding Extract ExtractArchive ExtremeValueDistribution " + - "FaceForm FaceGrids FaceGridsStyle Factor FactorComplete Factorial Factorial2 FactorialMoment FactorialMomentGeneratingFunction FactorialPower FactorInteger FactorList FactorSquareFree FactorSquareFreeList FactorTerms FactorTermsList Fail FailureDistribution False FARIMAProcess FEDisableConsolePrintPacket FeedbackSector FeedbackSectorStyle FeedbackType FEEnableConsolePrintPacket Fibonacci FieldHint FieldHintStyle FieldMasked FieldSize File FileBaseName FileByteCount FileDate FileExistsQ FileExtension FileFormat FileHash FileInformation FileName FileNameDepth FileNameDialogSettings FileNameDrop FileNameJoin FileNames FileNameSetter FileNameSplit FileNameTake FilePrint FileType FilledCurve FilledCurveBox Filling FillingStyle FillingTransform FilterRules FinancialBond FinancialData FinancialDerivative FinancialIndicator Find FindArgMax FindArgMin FindClique FindClusters FindCurvePath FindDistributionParameters FindDivisions FindEdgeCover FindEdgeCut FindEulerianCycle FindFaces FindFile FindFit FindGeneratingFunction FindGeoLocation FindGeometricTransform FindGraphCommunities FindGraphIsomorphism FindGraphPartition FindHamiltonianCycle FindIndependentEdgeSet FindIndependentVertexSet FindInstance FindIntegerNullVector FindKClan FindKClique FindKClub FindKPlex FindLibrary FindLinearRecurrence FindList FindMaximum FindMaximumFlow FindMaxValue FindMinimum FindMinimumCostFlow FindMinimumCut FindMinValue FindPermutation FindPostmanTour FindProcessParameters FindRoot FindSequenceFunction FindSettings FindShortestPath FindShortestTour FindThreshold FindVertexCover FindVertexCut Fine FinishDynamic FiniteAbelianGroupCount FiniteGroupCount FiniteGroupData First FirstPassageTimeDistribution FischerGroupFi22 FischerGroupFi23 FischerGroupFi24Prime FisherHypergeometricDistribution FisherRatioTest FisherZDistribution Fit FitAll FittedModel FixedPoint FixedPointList FlashSelection Flat Flatten FlattenAt FlatTopWindow FlipView Floor FlushPrintOutputPacket Fold FoldList Font FontColor FontFamily FontForm FontName FontOpacity FontPostScriptName FontProperties FontReencoding FontSize FontSlant FontSubstitutions FontTracking FontVariations FontWeight For ForAll Format FormatRules FormatType FormatTypeAutoConvert FormatValues FormBox FormBoxOptions FortranForm Forward ForwardBackward Fourier FourierCoefficient FourierCosCoefficient FourierCosSeries FourierCosTransform FourierDCT FourierDCTFilter FourierDCTMatrix FourierDST FourierDSTMatrix FourierMatrix FourierParameters FourierSequenceTransform FourierSeries FourierSinCoefficient FourierSinSeries FourierSinTransform FourierTransform FourierTrigSeries FractionalBrownianMotionProcess FractionalPart FractionBox FractionBoxOptions FractionLine Frame FrameBox FrameBoxOptions Framed FrameInset FrameLabel Frameless FrameMargins FrameStyle FrameTicks FrameTicksStyle FRatioDistribution FrechetDistribution FreeQ FrequencySamplingFilterKernel FresnelC FresnelS Friday FrobeniusNumber FrobeniusSolve " + - "FromCharacterCode FromCoefficientRules FromContinuedFraction FromDate FromDigits FromDMS Front FrontEndDynamicExpression FrontEndEventActions FrontEndExecute FrontEndObject FrontEndResource FrontEndResourceString FrontEndStackSize FrontEndToken FrontEndTokenExecute FrontEndValueCache FrontEndVersion FrontFaceColor FrontFaceOpacity Full FullAxes FullDefinition FullForm FullGraphics FullOptions FullSimplify Function FunctionExpand FunctionInterpolation FunctionSpace FussellVeselyImportance " + - "GaborFilter GaborMatrix GaborWavelet GainMargins GainPhaseMargins Gamma GammaDistribution GammaRegularized GapPenalty Gather GatherBy GaugeFaceElementFunction GaugeFaceStyle GaugeFrameElementFunction GaugeFrameSize GaugeFrameStyle GaugeLabels GaugeMarkers GaugeStyle GaussianFilter GaussianIntegers GaussianMatrix GaussianWindow GCD GegenbauerC General GeneralizedLinearModelFit GenerateConditions GeneratedCell GeneratedParameters GeneratingFunction Generic GenericCylindricalDecomposition GenomeData GenomeLookup GeodesicClosing GeodesicDilation GeodesicErosion GeodesicOpening GeoDestination GeodesyData GeoDirection GeoDistance GeoGridPosition GeometricBrownianMotionProcess GeometricDistribution GeometricMean GeometricMeanFilter GeometricTransformation GeometricTransformation3DBox GeometricTransformation3DBoxOptions GeometricTransformationBox GeometricTransformationBoxOptions GeoPosition GeoPositionENU GeoPositionXYZ GeoProjectionData GestureHandler GestureHandlerTag Get GetBoundingBoxSizePacket GetContext GetEnvironment GetFileName GetFrontEndOptionsDataPacket GetLinebreakInformationPacket GetMenusPacket GetPageBreakInformationPacket Glaisher GlobalClusteringCoefficient GlobalPreferences GlobalSession Glow GoldenRatio GompertzMakehamDistribution GoodmanKruskalGamma GoodmanKruskalGammaTest Goto Grad Gradient GradientFilter GradientOrientationFilter Graph GraphAssortativity GraphCenter GraphComplement GraphData GraphDensity GraphDiameter GraphDifference GraphDisjointUnion " + - "GraphDistance GraphDistanceMatrix GraphElementData GraphEmbedding GraphHighlight GraphHighlightStyle GraphHub Graphics Graphics3D Graphics3DBox Graphics3DBoxOptions GraphicsArray GraphicsBaseline GraphicsBox GraphicsBoxOptions GraphicsColor GraphicsColumn GraphicsComplex GraphicsComplex3DBox GraphicsComplex3DBoxOptions GraphicsComplexBox GraphicsComplexBoxOptions GraphicsContents GraphicsData GraphicsGrid GraphicsGridBox GraphicsGroup GraphicsGroup3DBox GraphicsGroup3DBoxOptions GraphicsGroupBox GraphicsGroupBoxOptions GraphicsGrouping GraphicsHighlightColor GraphicsRow GraphicsSpacing GraphicsStyle GraphIntersection GraphLayout GraphLinkEfficiency GraphPeriphery GraphPlot GraphPlot3D GraphPower GraphPropertyDistribution GraphQ GraphRadius GraphReciprocity GraphRoot GraphStyle GraphUnion Gray GrayLevel GreatCircleDistance Greater GreaterEqual GreaterEqualLess GreaterFullEqual GreaterGreater GreaterLess GreaterSlantEqual GreaterTilde Green Grid GridBaseline GridBox GridBoxAlignment GridBoxBackground GridBoxDividers GridBoxFrame GridBoxItemSize GridBoxItemStyle GridBoxOptions GridBoxSpacings GridCreationSettings GridDefaultElement GridElementStyleOptions GridFrame GridFrameMargins GridGraph GridLines GridLinesStyle GroebnerBasis GroupActionBase GroupCentralizer GroupElementFromWord GroupElementPosition GroupElementQ GroupElements GroupElementToWord GroupGenerators GroupMultiplicationTable GroupOrbits GroupOrder GroupPageBreakWithin GroupSetwiseStabilizer GroupStabilizer GroupStabilizerChain Gudermannian GumbelDistribution " + - "HaarWavelet HadamardMatrix HalfNormalDistribution HamiltonianGraphQ HammingDistance HammingWindow HankelH1 HankelH2 HankelMatrix HannPoissonWindow HannWindow HaradaNortonGroupHN HararyGraph HarmonicMean HarmonicMeanFilter HarmonicNumber Hash HashTable Haversine HazardFunction Head HeadCompose Heads HeavisideLambda HeavisidePi HeavisideTheta HeldGroupHe HeldPart HelpBrowserLookup HelpBrowserNotebook HelpBrowserSettings HermiteDecomposition HermiteH HermitianMatrixQ HessenbergDecomposition Hessian HexadecimalCharacter Hexahedron HexahedronBox HexahedronBoxOptions HiddenSurface HighlightGraph HighlightImage HighpassFilter HigmanSimsGroupHS HilbertFilter HilbertMatrix Histogram Histogram3D HistogramDistribution HistogramList HistogramTransform HistogramTransformInterpolation HitMissTransform HITSCentrality HodgeDual HoeffdingD HoeffdingDTest Hold HoldAll HoldAllComplete HoldComplete HoldFirst HoldForm HoldPattern HoldRest HolidayCalendar HomeDirectory HomePage Horizontal HorizontalForm HorizontalGauge HorizontalScrollPosition HornerForm HotellingTSquareDistribution HoytDistribution HTMLSave Hue HumpDownHump HumpEqual HurwitzLerchPhi HurwitzZeta HyperbolicDistribution HypercubeGraph HyperexponentialDistribution Hyperfactorial Hypergeometric0F1 Hypergeometric0F1Regularized Hypergeometric1F1 Hypergeometric1F1Regularized Hypergeometric2F1 Hypergeometric2F1Regularized HypergeometricDistribution HypergeometricPFQ HypergeometricPFQRegularized HypergeometricU Hyperlink HyperlinkCreationSettings Hyphenation HyphenationOptions HypoexponentialDistribution HypothesisTestData " + - "I Identity IdentityMatrix If IgnoreCase Im Image Image3D Image3DSlices ImageAccumulate ImageAdd ImageAdjust ImageAlign ImageApply ImageAspectRatio ImageAssemble ImageCache ImageCacheValid ImageCapture ImageChannels ImageClip ImageColorSpace ImageCompose ImageConvolve ImageCooccurrence ImageCorners ImageCorrelate ImageCorrespondingPoints ImageCrop ImageData ImageDataPacket ImageDeconvolve ImageDemosaic ImageDifference ImageDimensions ImageDistance ImageEffect ImageFeatureTrack ImageFileApply ImageFileFilter ImageFileScan ImageFilter ImageForestingComponents ImageForwardTransformation ImageHistogram ImageKeypoints ImageLevels ImageLines ImageMargins ImageMarkers ImageMeasurements ImageMultiply ImageOffset ImagePad ImagePadding ImagePartition ImagePeriodogram ImagePerspectiveTransformation ImageQ ImageRangeCache ImageReflect ImageRegion ImageResize ImageResolution ImageRotate ImageRotated ImageScaled ImageScan ImageSize ImageSizeAction ImageSizeCache ImageSizeMultipliers ImageSizeRaw ImageSubtract ImageTake ImageTransformation ImageTrim ImageType ImageValue ImageValuePositions Implies Import ImportAutoReplacements ImportString ImprovementImportance In IncidenceGraph IncidenceList IncidenceMatrix IncludeConstantBasis IncludeFileExtension IncludePods IncludeSingularTerm Increment Indent IndentingNewlineSpacings IndentMaxFraction IndependenceTest IndependentEdgeSetQ IndependentUnit IndependentVertexSetQ Indeterminate IndexCreationOptions Indexed IndexGraph IndexTag Inequality InexactNumberQ InexactNumbers Infinity Infix Information Inherited InheritScope Initialization InitializationCell InitializationCellEvaluation InitializationCellWarning InlineCounterAssignments InlineCounterIncrements InlineRules Inner Inpaint Input InputAliases InputAssumptions InputAutoReplacements InputField InputFieldBox InputFieldBoxOptions InputForm InputGrouping InputNamePacket InputNotebook InputPacket InputSettings InputStream InputString InputStringPacket InputToBoxFormPacket Insert InsertionPointObject InsertResults Inset Inset3DBox Inset3DBoxOptions InsetBox InsetBoxOptions Install InstallService InString Integer IntegerDigits IntegerExponent IntegerLength IntegerPart IntegerPartitions IntegerQ Integers IntegerString Integral Integrate Interactive InteractiveTradingChart Interlaced Interleaving InternallyBalancedDecomposition InterpolatingFunction InterpolatingPolynomial Interpolation InterpolationOrder InterpolationPoints InterpolationPrecision Interpretation InterpretationBox InterpretationBoxOptions InterpretationFunction " + - "InterpretTemplate InterquartileRange Interrupt InterruptSettings Intersection Interval IntervalIntersection IntervalMemberQ IntervalUnion Inverse InverseBetaRegularized InverseCDF InverseChiSquareDistribution InverseContinuousWaveletTransform InverseDistanceTransform InverseEllipticNomeQ InverseErf InverseErfc InverseFourier InverseFourierCosTransform InverseFourierSequenceTransform InverseFourierSinTransform InverseFourierTransform InverseFunction InverseFunctions InverseGammaDistribution InverseGammaRegularized InverseGaussianDistribution InverseGudermannian InverseHaversine InverseJacobiCD InverseJacobiCN InverseJacobiCS InverseJacobiDC InverseJacobiDN InverseJacobiDS InverseJacobiNC InverseJacobiND InverseJacobiNS InverseJacobiSC InverseJacobiSD InverseJacobiSN InverseLaplaceTransform InversePermutation InverseRadon InverseSeries InverseSurvivalFunction InverseWaveletTransform InverseWeierstrassP InverseZTransform Invisible InvisibleApplication InvisibleTimes IrreduciblePolynomialQ IsolatingInterval IsomorphicGraphQ IsotopeData Italic Item ItemBox ItemBoxOptions ItemSize ItemStyle ItoProcess " + - "JaccardDissimilarity JacobiAmplitude Jacobian JacobiCD JacobiCN JacobiCS JacobiDC JacobiDN JacobiDS JacobiNC JacobiND JacobiNS JacobiP JacobiSC JacobiSD JacobiSN JacobiSymbol JacobiZeta JankoGroupJ1 JankoGroupJ2 JankoGroupJ3 JankoGroupJ4 JarqueBeraALMTest JohnsonDistribution Join Joined JoinedCurve JoinedCurveBox JoinForm JordanDecomposition JordanModelDecomposition " + - "K KagiChart KaiserBesselWindow KaiserWindow KalmanEstimator KalmanFilter KarhunenLoeveDecomposition KaryTree KatzCentrality KCoreComponents KDistribution KelvinBei KelvinBer KelvinKei KelvinKer KendallTau KendallTauTest KernelExecute KernelMixtureDistribution KernelObject Kernels Ket Khinchin KirchhoffGraph KirchhoffMatrix KleinInvariantJ KnightTourGraph KnotData KnownUnitQ KolmogorovSmirnovTest KroneckerDelta KroneckerModelDecomposition KroneckerProduct KroneckerSymbol KuiperTest KumaraswamyDistribution Kurtosis KuwaharaFilter " + - "Label Labeled LabeledSlider LabelingFunction LabelStyle LaguerreL LambdaComponents LambertW LanczosWindow LandauDistribution Language LanguageCategory LaplaceDistribution LaplaceTransform Laplacian LaplacianFilter LaplacianGaussianFilter Large Larger Last Latitude LatitudeLongitude LatticeData LatticeReduce Launch LaunchKernels LayeredGraphPlot LayerSizeFunction LayoutInformation LCM LeafCount LeapYearQ LeastSquares LeastSquaresFilterKernel Left LeftArrow LeftArrowBar LeftArrowRightArrow LeftDownTeeVector LeftDownVector LeftDownVectorBar LeftRightArrow LeftRightVector LeftTee LeftTeeArrow LeftTeeVector LeftTriangle LeftTriangleBar LeftTriangleEqual LeftUpDownVector LeftUpTeeVector LeftUpVector LeftUpVectorBar LeftVector LeftVectorBar LegendAppearance Legended LegendFunction LegendLabel LegendLayout LegendMargins LegendMarkers LegendMarkerSize LegendreP LegendreQ LegendreType Length LengthWhile LerchPhi Less LessEqual LessEqualGreater LessFullEqual LessGreater LessLess LessSlantEqual LessTilde LetterCharacter LetterQ Level LeveneTest LeviCivitaTensor LevyDistribution Lexicographic LibraryFunction LibraryFunctionError LibraryFunctionInformation LibraryFunctionLoad LibraryFunctionUnload LibraryLoad LibraryUnload LicenseID LiftingFilterData LiftingWaveletTransform LightBlue LightBrown LightCyan Lighter LightGray LightGreen Lighting LightingAngle LightMagenta LightOrange LightPink LightPurple LightRed LightSources LightYellow Likelihood Limit LimitsPositioning LimitsPositioningTokens LindleyDistribution Line Line3DBox LinearFilter LinearFractionalTransform LinearModelFit LinearOffsetFunction LinearProgramming LinearRecurrence LinearSolve LinearSolveFunction LineBox LineBreak LinebreakAdjustments LineBreakChart LineBreakWithin LineColor LineForm LineGraph LineIndent LineIndentMaxFraction LineIntegralConvolutionPlot LineIntegralConvolutionScale LineLegend LineOpacity LineSpacing LineWrapParts LinkActivate LinkClose LinkConnect LinkConnectedQ LinkCreate LinkError LinkFlush LinkFunction LinkHost LinkInterrupt LinkLaunch LinkMode LinkObject LinkOpen LinkOptions LinkPatterns LinkProtocol LinkRead LinkReadHeld LinkReadyQ Links LinkWrite LinkWriteHeld LiouvilleLambda List Listable ListAnimate ListContourPlot ListContourPlot3D ListConvolve ListCorrelate ListCurvePathPlot ListDeconvolve ListDensityPlot Listen ListFourierSequenceTransform ListInterpolation ListLineIntegralConvolutionPlot ListLinePlot ListLogLinearPlot ListLogLogPlot ListLogPlot ListPicker ListPickerBox ListPickerBoxBackground ListPickerBoxOptions ListPlay ListPlot ListPlot3D ListPointPlot3D ListPolarPlot ListQ ListStreamDensityPlot ListStreamPlot ListSurfacePlot3D ListVectorDensityPlot ListVectorPlot ListVectorPlot3D ListZTransform Literal LiteralSearch LocalClusteringCoefficient LocalizeVariables LocationEquivalenceTest LocationTest Locator LocatorAutoCreate LocatorBox LocatorBoxOptions LocatorCentering LocatorPane LocatorPaneBox LocatorPaneBoxOptions " + - "LocatorRegion Locked Log Log10 Log2 LogBarnesG LogGamma LogGammaDistribution LogicalExpand LogIntegral LogisticDistribution LogitModelFit LogLikelihood LogLinearPlot LogLogisticDistribution LogLogPlot LogMultinormalDistribution LogNormalDistribution LogPlot LogRankTest LogSeriesDistribution LongEqual Longest LongestAscendingSequence LongestCommonSequence LongestCommonSequencePositions LongestCommonSubsequence LongestCommonSubsequencePositions LongestMatch LongForm Longitude LongLeftArrow LongLeftRightArrow LongRightArrow Loopback LoopFreeGraphQ LowerCaseQ LowerLeftArrow LowerRightArrow LowerTriangularize LowpassFilter LQEstimatorGains LQGRegulator LQOutputRegulatorGains LQRegulatorGains LUBackSubstitution LucasL LuccioSamiComponents LUDecomposition LyapunovSolve LyonsGroupLy " + - "MachineID MachineName MachineNumberQ MachinePrecision MacintoshSystemPageSetup Magenta Magnification Magnify MainSolve MaintainDynamicCaches Majority MakeBoxes MakeExpression MakeRules MangoldtLambda ManhattanDistance Manipulate Manipulator MannWhitneyTest MantissaExponent Manual Map MapAll MapAt MapIndexed MAProcess MapThread MarcumQ MardiaCombinedTest MardiaKurtosisTest MardiaSkewnessTest MarginalDistribution MarkovProcessProperties Masking MatchingDissimilarity MatchLocalNameQ MatchLocalNames MatchQ Material MathematicaNotation MathieuC MathieuCharacteristicA MathieuCharacteristicB MathieuCharacteristicExponent MathieuCPrime MathieuGroupM11 MathieuGroupM12 MathieuGroupM22 MathieuGroupM23 MathieuGroupM24 MathieuS MathieuSPrime MathMLForm MathMLText Matrices MatrixExp MatrixForm MatrixFunction MatrixLog MatrixPlot MatrixPower MatrixQ MatrixRank Max MaxBend MaxDetect MaxExtraBandwidths MaxExtraConditions MaxFeatures MaxFilter Maximize MaxIterations MaxMemoryUsed MaxMixtureKernels MaxPlotPoints MaxPoints MaxRecursion MaxStableDistribution MaxStepFraction MaxSteps MaxStepSize MaxValue MaxwellDistribution McLaughlinGroupMcL Mean MeanClusteringCoefficient MeanDegreeConnectivity MeanDeviation MeanFilter MeanGraphDistance MeanNeighborDegree MeanShift MeanShiftFilter Median MedianDeviation MedianFilter Medium MeijerG MeixnerDistribution MemberQ MemoryConstrained MemoryInUse Menu MenuAppearance MenuCommandKey MenuEvaluator MenuItem MenuPacket MenuSortingValue MenuStyle MenuView MergeDifferences Mesh MeshFunctions MeshRange MeshShading MeshStyle Message MessageDialog MessageList MessageName MessageOptions MessagePacket Messages MessagesNotebook MetaCharacters MetaInformation Method MethodOptions MexicanHatWavelet MeyerWavelet Min MinDetect MinFilter MinimalPolynomial MinimalStateSpaceModel Minimize Minors MinRecursion MinSize MinStableDistribution Minus MinusPlus MinValue Missing MissingDataMethod MittagLefflerE MixedRadix MixedRadixQuantity MixtureDistribution Mod Modal Mode Modular ModularLambda Module Modulus MoebiusMu Moment Momentary MomentConvert MomentEvaluate MomentGeneratingFunction Monday Monitor MonomialList MonomialOrder MonsterGroupM MorletWavelet MorphologicalBinarize MorphologicalBranchPoints MorphologicalComponents MorphologicalEulerNumber MorphologicalGraph MorphologicalPerimeter MorphologicalTransform Most MouseAnnotation MouseAppearance MouseAppearanceTag MouseButtons Mouseover MousePointerNote MousePosition MovingAverage MovingMedian MoyalDistribution MultiedgeStyle MultilaunchWarning MultiLetterItalics MultiLetterStyle MultilineFunction Multinomial MultinomialDistribution MultinormalDistribution MultiplicativeOrder Multiplicity Multiselection MultivariateHypergeometricDistribution MultivariatePoissonDistribution MultivariateTDistribution " + - "N NakagamiDistribution NameQ Names NamespaceBox Nand NArgMax NArgMin NBernoulliB NCache NDSolve NDSolveValue Nearest NearestFunction NeedCurrentFrontEndPackagePacket NeedCurrentFrontEndSymbolsPacket NeedlemanWunschSimilarity Needs Negative NegativeBinomialDistribution NegativeMultinomialDistribution NeighborhoodGraph Nest NestedGreaterGreater NestedLessLess NestedScriptRules NestList NestWhile NestWhileList NevilleThetaC NevilleThetaD NevilleThetaN NevilleThetaS NewPrimitiveStyle NExpectation Next NextPrime NHoldAll NHoldFirst NHoldRest NicholsGridLines NicholsPlot NIntegrate NMaximize NMaxValue NMinimize NMinValue NominalVariables NonAssociative NoncentralBetaDistribution NoncentralChiSquareDistribution NoncentralFRatioDistribution NoncentralStudentTDistribution NonCommutativeMultiply NonConstants None NonlinearModelFit NonlocalMeansFilter NonNegative NonPositive Nor NorlundB Norm Normal NormalDistribution NormalGrouping Normalize NormalizedSquaredEuclideanDistance NormalsFunction NormFunction Not NotCongruent NotCupCap NotDoubleVerticalBar Notebook NotebookApply NotebookAutoSave NotebookClose NotebookConvertSettings NotebookCreate NotebookCreateReturnObject NotebookDefault NotebookDelete NotebookDirectory NotebookDynamicExpression NotebookEvaluate NotebookEventActions NotebookFileName NotebookFind NotebookFindReturnObject NotebookGet NotebookGetLayoutInformationPacket NotebookGetMisspellingsPacket NotebookInformation NotebookInterfaceObject NotebookLocate NotebookObject NotebookOpen NotebookOpenReturnObject NotebookPath NotebookPrint NotebookPut NotebookPutReturnObject NotebookRead NotebookResetGeneratedCells Notebooks NotebookSave NotebookSaveAs NotebookSelection NotebookSetupLayoutInformationPacket NotebooksMenu NotebookWrite NotElement NotEqualTilde NotExists NotGreater NotGreaterEqual NotGreaterFullEqual NotGreaterGreater NotGreaterLess NotGreaterSlantEqual NotGreaterTilde NotHumpDownHump NotHumpEqual NotLeftTriangle NotLeftTriangleBar NotLeftTriangleEqual NotLess NotLessEqual NotLessFullEqual NotLessGreater NotLessLess NotLessSlantEqual NotLessTilde NotNestedGreaterGreater NotNestedLessLess NotPrecedes NotPrecedesEqual NotPrecedesSlantEqual NotPrecedesTilde NotReverseElement NotRightTriangle NotRightTriangleBar NotRightTriangleEqual NotSquareSubset NotSquareSubsetEqual NotSquareSuperset NotSquareSupersetEqual NotSubset NotSubsetEqual NotSucceeds NotSucceedsEqual NotSucceedsSlantEqual NotSucceedsTilde NotSuperset NotSupersetEqual NotTilde NotTildeEqual NotTildeFullEqual NotTildeTilde NotVerticalBar NProbability NProduct NProductFactors NRoots NSolve NSum NSumTerms Null NullRecords NullSpace NullWords Number NumberFieldClassNumber NumberFieldDiscriminant NumberFieldFundamentalUnits NumberFieldIntegralBasis NumberFieldNormRepresentatives NumberFieldRegulator NumberFieldRootsOfUnity NumberFieldSignature NumberForm NumberFormat NumberMarks NumberMultiplier NumberPadding NumberPoint NumberQ NumberSeparator " + - "NumberSigns NumberString Numerator NumericFunction NumericQ NuttallWindow NValues NyquistGridLines NyquistPlot " + - "O ObservabilityGramian ObservabilityMatrix ObservableDecomposition ObservableModelQ OddQ Off Offset OLEData On ONanGroupON OneIdentity Opacity Open OpenAppend Opener OpenerBox OpenerBoxOptions OpenerView OpenFunctionInspectorPacket Opening OpenRead OpenSpecialOptions OpenTemporary OpenWrite Operate OperatingSystem OptimumFlowData Optional OptionInspectorSettings OptionQ Options OptionsPacket OptionsPattern OptionValue OptionValueBox OptionValueBoxOptions Or Orange Order OrderDistribution OrderedQ Ordering Orderless OrnsteinUhlenbeckProcess Orthogonalize Out Outer OutputAutoOverwrite OutputControllabilityMatrix OutputControllableModelQ OutputForm OutputFormData OutputGrouping OutputMathEditExpression OutputNamePacket OutputResponse OutputSizeLimit OutputStream Over OverBar OverDot Overflow OverHat Overlaps Overlay OverlayBox OverlayBoxOptions Overscript OverscriptBox OverscriptBoxOptions OverTilde OverVector OwenT OwnValues " + - "PackingMethod PaddedForm Padding PadeApproximant PadLeft PadRight PageBreakAbove PageBreakBelow PageBreakWithin PageFooterLines PageFooters PageHeaderLines PageHeaders PageHeight PageRankCentrality PageWidth PairedBarChart PairedHistogram PairedSmoothHistogram PairedTTest PairedZTest PaletteNotebook PalettePath Pane PaneBox PaneBoxOptions Panel PanelBox PanelBoxOptions Paneled PaneSelector PaneSelectorBox PaneSelectorBoxOptions PaperWidth ParabolicCylinderD ParagraphIndent ParagraphSpacing ParallelArray ParallelCombine ParallelDo ParallelEvaluate Parallelization Parallelize ParallelMap ParallelNeeds ParallelProduct ParallelSubmit ParallelSum ParallelTable ParallelTry Parameter ParameterEstimator ParameterMixtureDistribution ParameterVariables ParametricFunction ParametricNDSolve ParametricNDSolveValue ParametricPlot ParametricPlot3D ParentConnect ParentDirectory ParentForm Parenthesize ParentList ParetoDistribution Part PartialCorrelationFunction PartialD ParticleData Partition PartitionsP PartitionsQ ParzenWindow PascalDistribution PassEventsDown PassEventsUp Paste PasteBoxFormInlineCells PasteButton Path PathGraph PathGraphQ Pattern PatternSequence PatternTest PauliMatrix PaulWavelet Pause PausedTime PDF PearsonChiSquareTest PearsonCorrelationTest PearsonDistribution PerformanceGoal PeriodicInterpolation Periodogram PeriodogramArray PermutationCycles PermutationCyclesQ PermutationGroup PermutationLength PermutationList PermutationListQ PermutationMax PermutationMin PermutationOrder PermutationPower PermutationProduct PermutationReplace Permutations PermutationSupport Permute PeronaMalikFilter Perpendicular PERTDistribution PetersenGraph PhaseMargins Pi Pick PIDData PIDDerivativeFilter PIDFeedforward PIDTune Piecewise PiecewiseExpand PieChart PieChart3D PillaiTrace PillaiTraceTest Pink Pivoting PixelConstrained PixelValue PixelValuePositions Placed Placeholder PlaceholderReplace Plain PlanarGraphQ Play PlayRange Plot Plot3D Plot3Matrix PlotDivision PlotJoined PlotLabel PlotLayout PlotLegends PlotMarkers PlotPoints PlotRange PlotRangeClipping PlotRangePadding PlotRegion PlotStyle Plus PlusMinus Pochhammer PodStates PodWidth Point Point3DBox PointBox PointFigureChart PointForm PointLegend PointSize PoissonConsulDistribution PoissonDistribution PoissonProcess PoissonWindow PolarAxes PolarAxesOrigin PolarGridLines PolarPlot PolarTicks PoleZeroMarkers PolyaAeppliDistribution PolyGamma Polygon Polygon3DBox Polygon3DBoxOptions PolygonBox PolygonBoxOptions PolygonHoleScale PolygonIntersections PolygonScale PolyhedronData PolyLog PolynomialExtendedGCD PolynomialForm PolynomialGCD PolynomialLCM PolynomialMod PolynomialQ PolynomialQuotient PolynomialQuotientRemainder PolynomialReduce PolynomialRemainder Polynomials PopupMenu PopupMenuBox PopupMenuBoxOptions PopupView PopupWindow Position Positive PositiveDefiniteMatrixQ PossibleZeroQ Postfix PostScript Power PowerDistribution PowerExpand PowerMod PowerModList " + - "PowerSpectralDensity PowersRepresentations PowerSymmetricPolynomial Precedence PrecedenceForm Precedes PrecedesEqual PrecedesSlantEqual PrecedesTilde Precision PrecisionGoal PreDecrement PredictionRoot PreemptProtect PreferencesPath Prefix PreIncrement Prepend PrependTo PreserveImageOptions Previous PriceGraphDistribution PrimaryPlaceholder Prime PrimeNu PrimeOmega PrimePi PrimePowerQ PrimeQ Primes PrimeZetaP PrimitiveRoot PrincipalComponents PrincipalValue Print PrintAction PrintForm PrintingCopies PrintingOptions PrintingPageRange PrintingStartingPageNumber PrintingStyleEnvironment PrintPrecision PrintTemporary Prism PrismBox PrismBoxOptions PrivateCellOptions PrivateEvaluationOptions PrivateFontOptions PrivateFrontEndOptions PrivateNotebookOptions PrivatePaths Probability ProbabilityDistribution ProbabilityPlot ProbabilityPr ProbabilityScalePlot ProbitModelFit ProcessEstimator ProcessParameterAssumptions ProcessParameterQ ProcessStateDomain ProcessTimeDomain Product ProductDistribution ProductLog ProgressIndicator ProgressIndicatorBox ProgressIndicatorBoxOptions Projection Prolog PromptForm Properties Property PropertyList PropertyValue Proportion Proportional Protect Protected ProteinData Pruning PseudoInverse Purple Put PutAppend Pyramid PyramidBox PyramidBoxOptions " + - "QBinomial QFactorial QGamma QHypergeometricPFQ QPochhammer QPolyGamma QRDecomposition QuadraticIrrationalQ Quantile QuantilePlot Quantity QuantityForm QuantityMagnitude QuantityQ QuantityUnit Quartics QuartileDeviation Quartiles QuartileSkewness QueueingNetworkProcess QueueingProcess QueueProperties Quiet Quit Quotient QuotientRemainder " + - "RadialityCentrality RadicalBox RadicalBoxOptions RadioButton RadioButtonBar RadioButtonBox RadioButtonBoxOptions Radon RamanujanTau RamanujanTauL RamanujanTauTheta RamanujanTauZ Random RandomChoice RandomComplex RandomFunction RandomGraph RandomImage RandomInteger RandomPermutation RandomPrime RandomReal RandomSample RandomSeed RandomVariate RandomWalkProcess Range RangeFilter RangeSpecification RankedMax RankedMin Raster Raster3D Raster3DBox Raster3DBoxOptions RasterArray RasterBox RasterBoxOptions Rasterize RasterSize Rational RationalFunctions Rationalize Rationals Ratios Raw RawArray RawBoxes RawData RawMedium RayleighDistribution Re Read ReadList ReadProtected Real RealBlockDiagonalForm RealDigits RealExponent Reals Reap Record RecordLists RecordSeparators Rectangle RectangleBox RectangleBoxOptions RectangleChart RectangleChart3D RecurrenceFilter RecurrenceTable RecurringDigitsForm Red Reduce RefBox ReferenceLineStyle ReferenceMarkers ReferenceMarkerStyle Refine ReflectionMatrix ReflectionTransform Refresh RefreshRate RegionBinarize RegionFunction RegionPlot RegionPlot3D RegularExpression Regularization Reinstall Release ReleaseHold ReliabilityDistribution ReliefImage ReliefPlot Remove RemoveAlphaChannel RemoveAsynchronousTask Removed RemoveInputStreamMethod RemoveOutputStreamMethod RemoveProperty RemoveScheduledTask RenameDirectory RenameFile RenderAll RenderingOptions RenewalProcess RenkoChart Repeated RepeatedNull RepeatedString Replace ReplaceAll ReplaceHeldPart ReplaceImageValue ReplaceList ReplacePart ReplacePixelValue ReplaceRepeated Resampling Rescale RescalingTransform ResetDirectory ResetMenusPacket ResetScheduledTask Residue Resolve Rest Resultant ResumePacket Return ReturnExpressionPacket ReturnInputFormPacket ReturnPacket ReturnTextPacket Reverse ReverseBiorthogonalSplineWavelet ReverseElement ReverseEquilibrium ReverseGraph ReverseUpEquilibrium RevolutionAxis RevolutionPlot3D RGBColor RiccatiSolve RiceDistribution RidgeFilter RiemannR RiemannSiegelTheta RiemannSiegelZ Riffle Right RightArrow RightArrowBar RightArrowLeftArrow RightCosetRepresentative RightDownTeeVector RightDownVector RightDownVectorBar RightTee RightTeeArrow RightTeeVector RightTriangle RightTriangleBar RightTriangleEqual RightUpDownVector RightUpTeeVector RightUpVector RightUpVectorBar RightVector RightVectorBar RiskAchievementImportance RiskReductionImportance RogersTanimotoDissimilarity Root RootApproximant RootIntervals RootLocusPlot RootMeanSquare RootOfUnityQ RootReduce Roots RootSum Rotate RotateLabel RotateLeft RotateRight RotationAction RotationBox RotationBoxOptions RotationMatrix RotationTransform Round RoundImplies RoundingRadius Row RowAlignments RowBackgrounds RowBox RowHeights RowLines RowMinHeight RowReduce RowsEqual RowSpacings RSolve RudvalisGroupRu Rule RuleCondition RuleDelayed RuleForm RulerUnits Run RunScheduledTask RunThrough RuntimeAttributes RuntimeOptions RussellRaoDissimilarity " + - "SameQ SameTest SampleDepth SampledSoundFunction SampledSoundList SampleRate SamplingPeriod SARIMAProcess SARMAProcess SatisfiabilityCount SatisfiabilityInstances SatisfiableQ Saturday Save Saveable SaveAutoDelete SaveDefinitions SawtoothWave Scale Scaled ScaleDivisions ScaledMousePosition ScaleOrigin ScalePadding ScaleRanges ScaleRangeStyle ScalingFunctions ScalingMatrix ScalingTransform Scan ScheduledTaskActiveQ ScheduledTaskData ScheduledTaskObject ScheduledTasks SchurDecomposition ScientificForm ScreenRectangle ScreenStyleEnvironment ScriptBaselineShifts ScriptLevel ScriptMinSize ScriptRules ScriptSizeMultipliers Scrollbars ScrollingOptions ScrollPosition Sec Sech SechDistribution SectionGrouping SectorChart SectorChart3D SectorOrigin SectorSpacing SeedRandom Select Selectable SelectComponents SelectedCells SelectedNotebook Selection SelectionAnimate SelectionCell SelectionCellCreateCell SelectionCellDefaultStyle SelectionCellParentStyle SelectionCreateCell SelectionDebuggerTag SelectionDuplicateCell SelectionEvaluate SelectionEvaluateCreateCell SelectionMove SelectionPlaceholder SelectionSetStyle SelectWithContents SelfLoops SelfLoopStyle SemialgebraicComponentInstances SendMail Sequence SequenceAlignment SequenceForm SequenceHold SequenceLimit Series SeriesCoefficient SeriesData SessionTime Set SetAccuracy SetAlphaChannel SetAttributes Setbacks SetBoxFormNamesPacket SetDelayed SetDirectory SetEnvironment SetEvaluationNotebook SetFileDate SetFileLoadingContext SetNotebookStatusLine SetOptions SetOptionsPacket SetPrecision SetProperty SetSelectedNotebook SetSharedFunction SetSharedVariable SetSpeechParametersPacket SetStreamPosition SetSystemOptions Setter SetterBar SetterBox SetterBoxOptions Setting SetValue Shading Shallow ShannonWavelet ShapiroWilkTest Share Sharpen ShearingMatrix ShearingTransform ShenCastanMatrix Short ShortDownArrow Shortest ShortestMatch ShortestPathFunction ShortLeftArrow ShortRightArrow ShortUpArrow Show ShowAutoStyles ShowCellBracket ShowCellLabel ShowCellTags ShowClosedCellArea ShowContents ShowControls ShowCursorTracker ShowGroupOpenCloseIcon ShowGroupOpener ShowInvisibleCharacters ShowPageBreaks ShowPredictiveInterface ShowSelection ShowShortBoxForm ShowSpecialCharacters ShowStringCharacters ShowSyntaxStyles ShrinkingDelay ShrinkWrapBoundingBox SiegelTheta SiegelTukeyTest Sign Signature SignedRankTest SignificanceLevel SignPadding SignTest SimilarityRules SimpleGraph SimpleGraphQ Simplify Sin Sinc SinghMaddalaDistribution SingleEvaluation SingleLetterItalics SingleLetterStyle SingularValueDecomposition SingularValueList SingularValuePlot SingularValues Sinh SinhIntegral SinIntegral SixJSymbol Skeleton SkeletonTransform SkellamDistribution Skewness SkewNormalDistribution Skip SliceDistribution Slider Slider2D Slider2DBox Slider2DBoxOptions SliderBox SliderBoxOptions SlideView Slot SlotSequence Small SmallCircle Smaller SmithDelayCompensator SmithWatermanSimilarity " + - "SmoothDensityHistogram SmoothHistogram SmoothHistogram3D SmoothKernelDistribution SocialMediaData Socket SokalSneathDissimilarity Solve SolveAlways SolveDelayed Sort SortBy Sound SoundAndGraphics SoundNote SoundVolume Sow Space SpaceForm Spacer Spacings Span SpanAdjustments SpanCharacterRounding SpanFromAbove SpanFromBoth SpanFromLeft SpanLineThickness SpanMaxSize SpanMinSize SpanningCharacters SpanSymmetric SparseArray SpatialGraphDistribution Speak SpeakTextPacket SpearmanRankTest SpearmanRho Spectrogram SpectrogramArray Specularity SpellingCorrection SpellingDictionaries SpellingDictionariesPath SpellingOptions SpellingSuggestionsPacket Sphere SphereBox SphericalBesselJ SphericalBesselY SphericalHankelH1 SphericalHankelH2 SphericalHarmonicY SphericalPlot3D SphericalRegion SpheroidalEigenvalue SpheroidalJoiningFactor SpheroidalPS SpheroidalPSPrime SpheroidalQS SpheroidalQSPrime SpheroidalRadialFactor SpheroidalS1 SpheroidalS1Prime SpheroidalS2 SpheroidalS2Prime Splice SplicedDistribution SplineClosed SplineDegree SplineKnots SplineWeights Split SplitBy SpokenString Sqrt SqrtBox SqrtBoxOptions Square SquaredEuclideanDistance SquareFreeQ SquareIntersection SquaresR SquareSubset SquareSubsetEqual SquareSuperset SquareSupersetEqual SquareUnion SquareWave StabilityMargins StabilityMarginsStyle StableDistribution Stack StackBegin StackComplete StackInhibit StandardDeviation StandardDeviationFilter StandardForm Standardize StandbyDistribution Star StarGraph StartAsynchronousTask StartingStepSize StartOfLine StartOfString StartScheduledTask StartupSound StateDimensions StateFeedbackGains StateOutputEstimator StateResponse StateSpaceModel StateSpaceRealization StateSpaceTransform StationaryDistribution StationaryWaveletPacketTransform StationaryWaveletTransform StatusArea StatusCentrality StepMonitor StieltjesGamma StirlingS1 StirlingS2 StopAsynchronousTask StopScheduledTask StrataVariables StratonovichProcess StreamColorFunction StreamColorFunctionScaling StreamDensityPlot StreamPlot StreamPoints StreamPosition Streams StreamScale StreamStyle String StringBreak StringByteCount StringCases StringCount StringDrop StringExpression StringForm StringFormat StringFreeQ StringInsert StringJoin StringLength StringMatchQ StringPosition StringQ StringReplace StringReplaceList StringReplacePart StringReverse StringRotateLeft StringRotateRight StringSkeleton StringSplit StringTake StringToStream StringTrim StripBoxes StripOnInput StripWrapperBoxes StrokeForm StructuralImportance StructuredArray StructuredSelection StruveH StruveL Stub StudentTDistribution Style StyleBox StyleBoxAutoDelete StyleBoxOptions StyleData StyleDefinitions StyleForm StyleKeyMapping StyleMenuListing StyleNameDialogSettings StyleNames StylePrint StyleSheetPath Subfactorial Subgraph SubMinus SubPlus SubresultantPolynomialRemainders " + - "SubresultantPolynomials Subresultants Subscript SubscriptBox SubscriptBoxOptions Subscripted Subset SubsetEqual Subsets SubStar Subsuperscript SubsuperscriptBox SubsuperscriptBoxOptions Subtract SubtractFrom SubValues Succeeds SucceedsEqual SucceedsSlantEqual SucceedsTilde SuchThat Sum SumConvergence Sunday SuperDagger SuperMinus SuperPlus Superscript SuperscriptBox SuperscriptBoxOptions Superset SupersetEqual SuperStar Surd SurdForm SurfaceColor SurfaceGraphics SurvivalDistribution SurvivalFunction SurvivalModel SurvivalModelFit SuspendPacket SuzukiDistribution SuzukiGroupSuz SwatchLegend Switch Symbol SymbolName SymletWavelet Symmetric SymmetricGroup SymmetricMatrixQ SymmetricPolynomial SymmetricReduction Symmetrize SymmetrizedArray SymmetrizedArrayRules SymmetrizedDependentComponents SymmetrizedIndependentComponents SymmetrizedReplacePart SynchronousInitialization SynchronousUpdating Syntax SyntaxForm SyntaxInformation SyntaxLength SyntaxPacket SyntaxQ SystemDialogInput SystemException SystemHelpPath SystemInformation SystemInformationData SystemOpen SystemOptions SystemsModelDelay SystemsModelDelayApproximate SystemsModelDelete SystemsModelDimensions SystemsModelExtract SystemsModelFeedbackConnect SystemsModelLabels SystemsModelOrder SystemsModelParallelConnect SystemsModelSeriesConnect SystemsModelStateFeedbackConnect SystemStub " + - "Tab TabFilling Table TableAlignments TableDepth TableDirections TableForm TableHeadings TableSpacing TableView TableViewBox TabSpacings TabView TabViewBox TabViewBoxOptions TagBox TagBoxNote TagBoxOptions TaggingRules TagSet TagSetDelayed TagStyle TagUnset Take TakeWhile Tally Tan Tanh TargetFunctions TargetUnits TautologyQ TelegraphProcess TemplateBox TemplateBoxOptions TemplateSlotSequence TemporalData Temporary TemporaryVariable TensorContract TensorDimensions TensorExpand TensorProduct TensorQ TensorRank TensorReduce TensorSymmetry TensorTranspose TensorWedge Tetrahedron TetrahedronBox TetrahedronBoxOptions TeXForm TeXSave Text Text3DBox Text3DBoxOptions TextAlignment TextBand TextBoundingBox TextBox TextCell TextClipboardType TextData TextForm TextJustification TextLine TextPacket TextParagraph TextRecognize TextRendering TextStyle Texture TextureCoordinateFunction TextureCoordinateScaling Therefore ThermometerGauge Thick Thickness Thin Thinning ThisLink ThompsonGroupTh Thread ThreeJSymbol Threshold Through Throw Thumbnail Thursday Ticks TicksStyle Tilde TildeEqual TildeFullEqual TildeTilde TimeConstrained TimeConstraint Times TimesBy TimeSeriesForecast TimeSeriesInvertibility TimeUsed TimeValue TimeZone Timing Tiny TitleGrouping TitsGroupT ToBoxes ToCharacterCode ToColor ToContinuousTimeModel ToDate ToDiscreteTimeModel ToeplitzMatrix ToExpression ToFileName Together Toggle ToggleFalse Toggler TogglerBar TogglerBox TogglerBoxOptions ToHeldExpression ToInvertibleTimeSeries TokenWords Tolerance ToLowerCase ToNumberField TooBig Tooltip TooltipBox TooltipBoxOptions TooltipDelay TooltipStyle Top TopHatTransform TopologicalSort ToRadicals ToRules ToString Total TotalHeight TotalVariationFilter TotalWidth TouchscreenAutoZoom TouchscreenControlPlacement ToUpperCase Tr Trace TraceAbove TraceAction TraceBackward TraceDepth TraceDialog TraceForward TraceInternal TraceLevel TraceOff TraceOn TraceOriginal TracePrint TraceScan TrackedSymbols TradingChart TraditionalForm TraditionalFunctionNotation TraditionalNotation TraditionalOrder TransferFunctionCancel TransferFunctionExpand TransferFunctionFactor TransferFunctionModel TransferFunctionPoles TransferFunctionTransform TransferFunctionZeros TransformationFunction TransformationFunctions TransformationMatrix TransformedDistribution TransformedField Translate TranslationTransform TransparentColor Transpose TreeForm TreeGraph TreeGraphQ TreePlot TrendStyle TriangleWave TriangularDistribution Trig TrigExpand TrigFactor TrigFactorList Trigger TrigReduce TrigToExp TrimmedMean True TrueQ TruncatedDistribution TsallisQExponentialDistribution TsallisQGaussianDistribution TTest Tube TubeBezierCurveBox TubeBezierCurveBoxOptions TubeBox TubeBSplineCurveBox TubeBSplineCurveBoxOptions Tuesday TukeyLambdaDistribution TukeyWindow Tuples TuranGraph TuringMachine " + - "Transparent " + - "UnateQ Uncompress Undefined UnderBar Underflow Underlined Underoverscript UnderoverscriptBox UnderoverscriptBoxOptions Underscript UnderscriptBox UnderscriptBoxOptions UndirectedEdge UndirectedGraph UndirectedGraphQ UndocumentedTestFEParserPacket UndocumentedTestGetSelectionPacket Unequal Unevaluated UniformDistribution UniformGraphDistribution UniformSumDistribution Uninstall Union UnionPlus Unique UnitBox UnitConvert UnitDimensions Unitize UnitRootTest UnitSimplify UnitStep UnitTriangle UnitVector Unprotect UnsameQ UnsavedVariables Unset UnsetShared UntrackedVariables Up UpArrow UpArrowBar UpArrowDownArrow Update UpdateDynamicObjects UpdateDynamicObjectsSynchronous UpdateInterval UpDownArrow UpEquilibrium UpperCaseQ UpperLeftArrow UpperRightArrow UpperTriangularize Upsample UpSet UpSetDelayed UpTee UpTeeArrow UpValues URL URLFetch URLFetchAsynchronous URLSave URLSaveAsynchronous UseGraphicsRange Using UsingFrontEnd " + - "V2Get ValidationLength Value ValueBox ValueBoxOptions ValueForm ValueQ ValuesData Variables Variance VarianceEquivalenceTest VarianceEstimatorFunction VarianceGammaDistribution VarianceTest VectorAngle VectorColorFunction VectorColorFunctionScaling VectorDensityPlot VectorGlyphData VectorPlot VectorPlot3D VectorPoints VectorQ Vectors VectorScale VectorStyle Vee Verbatim Verbose VerboseConvertToPostScriptPacket VerifyConvergence VerifySolutions VerifyTestAssumptions Version VersionNumber VertexAdd VertexCapacity VertexColors VertexComponent VertexConnectivity VertexCoordinateRules VertexCoordinates VertexCorrelationSimilarity VertexCosineSimilarity VertexCount VertexCoverQ VertexDataCoordinates VertexDegree VertexDelete VertexDiceSimilarity VertexEccentricity VertexInComponent VertexInDegree VertexIndex VertexJaccardSimilarity VertexLabeling VertexLabels VertexLabelStyle VertexList VertexNormals VertexOutComponent VertexOutDegree VertexQ VertexRenderingFunction VertexReplace VertexShape VertexShapeFunction VertexSize VertexStyle VertexTextureCoordinates VertexWeight Vertical VerticalBar VerticalForm VerticalGauge VerticalSeparator VerticalSlider VerticalTilde ViewAngle ViewCenter ViewMatrix ViewPoint ViewPointSelectorSettings ViewPort ViewRange ViewVector ViewVertical VirtualGroupData Visible VisibleCell VoigtDistribution VonMisesDistribution " + - "WaitAll WaitAsynchronousTask WaitNext WaitUntil WakebyDistribution WalleniusHypergeometricDistribution WaringYuleDistribution WatershedComponents WatsonUSquareTest WattsStrogatzGraphDistribution WaveletBestBasis WaveletFilterCoefficients WaveletImagePlot WaveletListPlot WaveletMapIndexed WaveletMatrixPlot WaveletPhi WaveletPsi WaveletScale WaveletScalogram WaveletThreshold WeaklyConnectedComponents WeaklyConnectedGraphQ WeakStationarity WeatherData WeberE Wedge Wednesday WeibullDistribution WeierstrassHalfPeriods WeierstrassInvariants WeierstrassP WeierstrassPPrime WeierstrassSigma WeierstrassZeta WeightedAdjacencyGraph WeightedAdjacencyMatrix WeightedData WeightedGraphQ Weights WelchWindow WheelGraph WhenEvent Which While White Whitespace WhitespaceCharacter WhittakerM WhittakerW WienerFilter WienerProcess WignerD WignerSemicircleDistribution WilksW WilksWTest WindowClickSelect WindowElements WindowFloating WindowFrame WindowFrameElements WindowMargins WindowMovable WindowOpacity WindowSelected WindowSize WindowStatusArea WindowTitle WindowToolbars WindowWidth With WolframAlpha WolframAlphaDate WolframAlphaQuantity WolframAlphaResult Word WordBoundary WordCharacter WordData WordSearch WordSeparators WorkingPrecision Write WriteString Wronskian " + - "XMLElement XMLObject Xnor Xor " + - "Yellow YuleDissimilarity " + - "ZernikeR ZeroSymmetric ZeroTest ZeroWidthTimes Zeta ZetaZero ZipfDistribution ZTest ZTransform " + - "$Aborted $ActivationGroupID $ActivationKey $ActivationUserRegistered $AddOnsDirectory $AssertFunction $Assumptions $AsynchronousTask $BaseDirectory $BatchInput $BatchOutput $BoxForms $ByteOrdering $Canceled $CharacterEncoding $CharacterEncodings $CommandLine $CompilationTarget $ConditionHold $ConfiguredKernels $Context $ContextPath $ControlActiveSetting $CreationDate $CurrentLink $DateStringFormat $DefaultFont $DefaultFrontEnd $DefaultImagingDevice $DefaultPath $Display $DisplayFunction $DistributedContexts $DynamicEvaluation $Echo $Epilog $ExportFormats $Failed $FinancialDataSource $FormatType $FrontEnd $FrontEndSession $GeoLocation $HistoryLength $HomeDirectory $HTTPCookies $IgnoreEOF $ImagingDevices $ImportFormats $InitialDirectory $Input $InputFileName $InputStreamMethods $Inspector $InstallationDate $InstallationDirectory $InterfaceEnvironment $IterationLimit $KernelCount $KernelID $Language $LaunchDirectory $LibraryPath $LicenseExpirationDate $LicenseID $LicenseProcesses $LicenseServer $LicenseSubprocesses $LicenseType $Line $Linked $LinkSupported $LoadedFiles $MachineAddresses $MachineDomain $MachineDomains $MachineEpsilon $MachineID $MachineName $MachinePrecision $MachineType $MaxExtraPrecision $MaxLicenseProcesses $MaxLicenseSubprocesses $MaxMachineNumber $MaxNumber $MaxPiecewiseCases $MaxPrecision $MaxRootDegree $MessageGroups $MessageList $MessagePrePrint $Messages $MinMachineNumber $MinNumber $MinorReleaseNumber $MinPrecision $ModuleNumber $NetworkLicense $NewMessage $NewSymbol $Notebooks $NumberMarks $Off $OperatingSystem $Output $OutputForms $OutputSizeLimit $OutputStreamMethods $Packages $ParentLink $ParentProcessID $PasswordFile $PatchLevelID $Path $PathnameSeparator $PerformanceGoal $PipeSupported $Post $Pre $PreferencesDirectory $PrePrint $PreRead $PrintForms $PrintLiteral $ProcessID $ProcessorCount $ProcessorType $ProductInformation $ProgramName $RandomState $RecursionLimit $ReleaseNumber $RootDirectory $ScheduledTask $ScriptCommandLine $SessionID $SetParentLink $SharedFunctions $SharedVariables $SoundDisplay $SoundDisplayFunction $SuppressInputFormHeads $SynchronousEvaluation $SyntaxHandler $System $SystemCharacterEncoding $SystemID $SystemWordLength $TemporaryDirectory $TemporaryPrefix $TextStyle $TimedOut $TimeUnit $TimeZone $TopDirectory $TraceOff $TraceOn $TracePattern $TracePostAction $TracePreAction $Urgent $UserAddOnsDirectory $UserBaseDirectory $UserDocumentsDirectory $UserName $Version $VersionNumber", + 'AbelianGroup Abort AbortKernels AbortProtect Above Abs Absolute AbsoluteCorrelation AbsoluteCorrelationFunction AbsoluteCurrentValue AbsoluteDashing AbsoluteFileName AbsoluteOptions AbsolutePointSize AbsoluteThickness AbsoluteTime AbsoluteTiming AccountingForm Accumulate Accuracy AccuracyGoal ActionDelay ActionMenu ActionMenuBox ActionMenuBoxOptions Active ActiveItem ActiveStyle AcyclicGraphQ AddOnHelpPath AddTo AdjacencyGraph AdjacencyList AdjacencyMatrix AdjustmentBox AdjustmentBoxOptions AdjustTimeSeriesForecast AffineTransform After AiryAi AiryAiPrime AiryAiZero AiryBi AiryBiPrime AiryBiZero AlgebraicIntegerQ AlgebraicNumber AlgebraicNumberDenominator AlgebraicNumberNorm AlgebraicNumberPolynomial AlgebraicNumberTrace AlgebraicRules AlgebraicRulesData Algebraics AlgebraicUnitQ Alignment AlignmentMarker AlignmentPoint All AllowedDimensions AllowGroupClose AllowInlineCells AllowKernelInitialization AllowReverseGroupClose AllowScriptLevelChange AlphaChannel AlternatingGroup AlternativeHypothesis Alternatives AmbientLight Analytic AnchoredSearch And AndersonDarlingTest AngerJ AngleBracket AngularGauge Animate AnimationCycleOffset AnimationCycleRepetitions AnimationDirection AnimationDisplayTime AnimationRate AnimationRepetitions AnimationRunning Animator AnimatorBox AnimatorBoxOptions AnimatorElements Annotation Annuity AnnuityDue Antialiasing Antisymmetric Apart ApartSquareFree Appearance AppearanceElements AppellF1 Append AppendTo Apply ArcCos ArcCosh ArcCot ArcCoth ArcCsc ArcCsch ArcSec ArcSech ArcSin ArcSinDistribution ArcSinh ArcTan ArcTanh Arg ArgMax ArgMin ArgumentCountQ ARIMAProcess ArithmeticGeometricMean ARMAProcess ARProcess Array ArrayComponents ArrayDepth ArrayFlatten ArrayPad ArrayPlot ArrayQ ArrayReshape ArrayRules Arrays Arrow Arrow3DBox ArrowBox Arrowheads AspectRatio AspectRatioFixed Assert Assuming Assumptions AstronomicalData Asynchronous AsynchronousTaskObject AsynchronousTasks AtomQ Attributes AugmentedSymmetricPolynomial AutoAction AutoDelete AutoEvaluateEvents AutoGeneratedPackage AutoIndent AutoIndentSpacings AutoItalicWords AutoloadPath AutoMatch Automatic AutomaticImageSize AutoMultiplicationSymbol AutoNumberFormatting AutoOpenNotebooks AutoOpenPalettes AutorunSequencing AutoScaling AutoScroll AutoSpacing AutoStyleOptions AutoStyleWords Axes AxesEdge AxesLabel AxesOrigin AxesStyle Axis ' + + 'BabyMonsterGroupB Back Background BackgroundTasksSettings Backslash Backsubstitution Backward Band BandpassFilter BandstopFilter BarabasiAlbertGraphDistribution BarChart BarChart3D BarLegend BarlowProschanImportance BarnesG BarOrigin BarSpacing BartlettHannWindow BartlettWindow BaseForm Baseline BaselinePosition BaseStyle BatesDistribution BattleLemarieWavelet Because BeckmannDistribution Beep Before Begin BeginDialogPacket BeginFrontEndInteractionPacket BeginPackage BellB BellY Below BenfordDistribution BeniniDistribution BenktanderGibratDistribution BenktanderWeibullDistribution BernoulliB BernoulliDistribution BernoulliGraphDistribution BernoulliProcess BernsteinBasis BesselFilterModel BesselI BesselJ BesselJZero BesselK BesselY BesselYZero Beta BetaBinomialDistribution BetaDistribution BetaNegativeBinomialDistribution BetaPrimeDistribution BetaRegularized BetweennessCentrality BezierCurve BezierCurve3DBox BezierCurve3DBoxOptions BezierCurveBox BezierCurveBoxOptions BezierFunction BilateralFilter Binarize BinaryFormat BinaryImageQ BinaryRead BinaryReadList BinaryWrite BinCounts BinLists Binomial BinomialDistribution BinomialProcess BinormalDistribution BiorthogonalSplineWavelet BipartiteGraphQ BirnbaumImportance BirnbaumSaundersDistribution BitAnd BitClear BitGet BitLength BitNot BitOr BitSet BitShiftLeft BitShiftRight BitXor Black BlackmanHarrisWindow BlackmanNuttallWindow BlackmanWindow Blank BlankForm BlankNullSequence BlankSequence Blend Block BlockRandom BlomqvistBeta BlomqvistBetaTest Blue Blur BodePlot BohmanWindow Bold Bookmarks Boole BooleanConsecutiveFunction BooleanConvert BooleanCountingFunction BooleanFunction BooleanGraph BooleanMaxterms BooleanMinimize BooleanMinterms Booleans BooleanTable BooleanVariables BorderDimensions BorelTannerDistribution Bottom BottomHatTransform BoundaryStyle Bounds Box BoxBaselineShift BoxData BoxDimensions Boxed Boxes BoxForm BoxFormFormatTypes BoxFrame BoxID BoxMargins BoxMatrix BoxRatios BoxRotation BoxRotationPoint BoxStyle BoxWhiskerChart Bra BracketingBar BraKet BrayCurtisDistance BreadthFirstScan Break Brown BrownForsytheTest BrownianBridgeProcess BrowserCategory BSplineBasis BSplineCurve BSplineCurve3DBox BSplineCurveBox BSplineCurveBoxOptions BSplineFunction BSplineSurface BSplineSurface3DBox BubbleChart BubbleChart3D BubbleScale BubbleSizes BulletGauge BusinessDayQ ButterflyGraph ButterworthFilterModel Button ButtonBar ButtonBox ButtonBoxOptions ButtonCell ButtonContents ButtonData ButtonEvaluator ButtonExpandable ButtonFrame ButtonFunction ButtonMargins ButtonMinHeight ButtonNote ButtonNotebook ButtonSource ButtonStyle ButtonStyleMenuListing Byte ByteCount ByteOrdering ' + + 'C CachedValue CacheGraphics CalendarData CalendarType CallPacket CanberraDistance Cancel CancelButton CandlestickChart Cap CapForm CapitalDifferentialD CardinalBSplineBasis CarmichaelLambda Cases Cashflow Casoratian Catalan CatalanNumber Catch CauchyDistribution CauchyWindow CayleyGraph CDF CDFDeploy CDFInformation CDFWavelet Ceiling Cell CellAutoOverwrite CellBaseline CellBoundingBox CellBracketOptions CellChangeTimes CellContents CellContext CellDingbat CellDynamicExpression CellEditDuplicate CellElementsBoundingBox CellElementSpacings CellEpilog CellEvaluationDuplicate CellEvaluationFunction CellEventActions CellFrame CellFrameColor CellFrameLabelMargins CellFrameLabels CellFrameMargins CellGroup CellGroupData CellGrouping CellGroupingRules CellHorizontalScrolling CellID CellLabel CellLabelAutoDelete CellLabelMargins CellLabelPositioning CellMargins CellObject CellOpen CellPrint CellProlog Cells CellSize CellStyle CellTags CellularAutomaton CensoredDistribution Censoring Center CenterDot CentralMoment CentralMomentGeneratingFunction CForm ChampernowneNumber ChanVeseBinarize Character CharacterEncoding CharacterEncodingsPath CharacteristicFunction CharacteristicPolynomial CharacterRange Characters ChartBaseStyle ChartElementData ChartElementDataFunction ChartElementFunction ChartElements ChartLabels ChartLayout ChartLegends ChartStyle Chebyshev1FilterModel Chebyshev2FilterModel ChebyshevDistance ChebyshevT ChebyshevU Check CheckAbort CheckAll Checkbox CheckboxBar CheckboxBox CheckboxBoxOptions ChemicalData ChessboardDistance ChiDistribution ChineseRemainder ChiSquareDistribution ChoiceButtons ChoiceDialog CholeskyDecomposition Chop Circle CircleBox CircleDot CircleMinus CirclePlus CircleTimes CirculantGraph CityData Clear ClearAll ClearAttributes ClearSystemCache ClebschGordan ClickPane Clip ClipboardNotebook ClipFill ClippingStyle ClipPlanes ClipRange Clock ClockGauge ClockwiseContourIntegral Close Closed CloseKernels ClosenessCentrality Closing ClosingAutoSave ClosingEvent ClusteringComponents CMYKColor Coarse Coefficient CoefficientArrays CoefficientDomain CoefficientList CoefficientRules CoifletWavelet Collect Colon ColonForm ColorCombine ColorConvert ColorData ColorDataFunction ColorFunction ColorFunctionScaling Colorize ColorNegate ColorOutput ColorProfileData ColorQuantize ColorReplace ColorRules ColorSelectorSettings ColorSeparate ColorSetter ColorSetterBox ColorSetterBoxOptions ColorSlider ColorSpace Column ColumnAlignments ColumnBackgrounds ColumnForm ColumnLines ColumnsEqual ColumnSpacings ColumnWidths CommonDefaultFormatTypes Commonest CommonestFilter CommonUnits CommunityBoundaryStyle CommunityGraphPlot CommunityLabels CommunityRegionStyle CompatibleUnitQ CompilationOptions CompilationTarget Compile Compiled CompiledFunction Complement CompleteGraph CompleteGraphQ CompleteKaryTree CompletionsListPacket Complex Complexes ComplexExpand ComplexInfinity ComplexityFunction ComponentMeasurements ' + + 'ComponentwiseContextMenu Compose ComposeList ComposeSeries Composition CompoundExpression CompoundPoissonDistribution CompoundPoissonProcess CompoundRenewalProcess Compress CompressedData Condition ConditionalExpression Conditioned Cone ConeBox ConfidenceLevel ConfidenceRange ConfidenceTransform ConfigurationPath Congruent Conjugate ConjugateTranspose Conjunction Connect ConnectedComponents ConnectedGraphQ ConnesWindow ConoverTest ConsoleMessage ConsoleMessagePacket ConsolePrint Constant ConstantArray Constants ConstrainedMax ConstrainedMin ContentPadding ContentsBoundingBox ContentSelectable ContentSize Context ContextMenu Contexts ContextToFilename ContextToFileName Continuation Continue ContinuedFraction ContinuedFractionK ContinuousAction ContinuousMarkovProcess ContinuousTimeModelQ ContinuousWaveletData ContinuousWaveletTransform ContourDetect ContourGraphics ContourIntegral ContourLabels ContourLines ContourPlot ContourPlot3D Contours ContourShading ContourSmoothing ContourStyle ContraharmonicMean Control ControlActive ControlAlignment ControllabilityGramian ControllabilityMatrix ControllableDecomposition ControllableModelQ ControllerDuration ControllerInformation ControllerInformationData ControllerLinking ControllerManipulate ControllerMethod ControllerPath ControllerState ControlPlacement ControlsRendering ControlType Convergents ConversionOptions ConversionRules ConvertToBitmapPacket ConvertToPostScript ConvertToPostScriptPacket Convolve ConwayGroupCo1 ConwayGroupCo2 ConwayGroupCo3 CoordinateChartData CoordinatesToolOptions CoordinateTransform CoordinateTransformData CoprimeQ Coproduct CopulaDistribution Copyable CopyDirectory CopyFile CopyTag CopyToClipboard CornerFilter CornerNeighbors Correlation CorrelationDistance CorrelationFunction CorrelationTest Cos Cosh CoshIntegral CosineDistance CosineWindow CosIntegral Cot Coth Count CounterAssignments CounterBox CounterBoxOptions CounterClockwiseContourIntegral CounterEvaluator CounterFunction CounterIncrements CounterStyle CounterStyleMenuListing CountRoots CountryData Covariance CovarianceEstimatorFunction CovarianceFunction CoxianDistribution CoxIngersollRossProcess CoxModel CoxModelFit CramerVonMisesTest CreateArchive CreateDialog CreateDirectory CreateDocument CreateIntermediateDirectories CreatePalette CreatePalettePacket CreateScheduledTask CreateTemporary CreateWindow CriticalityFailureImportance CriticalitySuccessImportance CriticalSection Cross CrossingDetect CrossMatrix Csc Csch CubeRoot Cubics Cuboid CuboidBox Cumulant CumulantGeneratingFunction Cup CupCap Curl CurlyDoubleQuote CurlyQuote CurrentImage CurrentlySpeakingPacket CurrentValue CurvatureFlowFilter CurveClosed Cyan CycleGraph CycleIndexPolynomial Cycles CyclicGroup Cyclotomic Cylinder CylinderBox CylindricalDecomposition ' + + 'D DagumDistribution DamerauLevenshteinDistance DampingFactor Darker Dashed Dashing DataCompression DataDistribution DataRange DataReversed Date DateDelimiters DateDifference DateFunction DateList DateListLogPlot DateListPlot DatePattern DatePlus DateRange DateString DateTicksFormat DaubechiesWavelet DavisDistribution DawsonF DayCount DayCountConvention DayMatchQ DayName DayPlus DayRange DayRound DeBruijnGraph Debug DebugTag Decimal DeclareKnownSymbols DeclarePackage Decompose Decrement DedekindEta Default DefaultAxesStyle DefaultBaseStyle DefaultBoxStyle DefaultButton DefaultColor DefaultControlPlacement DefaultDuplicateCellStyle DefaultDuration DefaultElement DefaultFaceGridsStyle DefaultFieldHintStyle DefaultFont DefaultFontProperties DefaultFormatType DefaultFormatTypeForStyle DefaultFrameStyle DefaultFrameTicksStyle DefaultGridLinesStyle DefaultInlineFormatType DefaultInputFormatType DefaultLabelStyle DefaultMenuStyle DefaultNaturalLanguage DefaultNewCellStyle DefaultNewInlineCellStyle DefaultNotebook DefaultOptions DefaultOutputFormatType DefaultStyle DefaultStyleDefinitions DefaultTextFormatType DefaultTextInlineFormatType DefaultTicksStyle DefaultTooltipStyle DefaultValues Defer DefineExternal DefineInputStreamMethod DefineOutputStreamMethod Definition Degree DegreeCentrality DegreeGraphDistribution DegreeLexicographic DegreeReverseLexicographic Deinitialization Del Deletable Delete DeleteBorderComponents DeleteCases DeleteContents DeleteDirectory DeleteDuplicates DeleteFile DeleteSmallComponents DeleteWithContents DeletionWarning Delimiter DelimiterFlashTime DelimiterMatching Delimiters Denominator DensityGraphics DensityHistogram DensityPlot DependentVariables Deploy Deployed Depth DepthFirstScan Derivative DerivativeFilter DescriptorStateSpace DesignMatrix Det DGaussianWavelet DiacriticalPositioning Diagonal DiagonalMatrix Dialog DialogIndent DialogInput DialogLevel DialogNotebook DialogProlog DialogReturn DialogSymbols Diamond DiamondMatrix DiceDissimilarity DictionaryLookup DifferenceDelta DifferenceOrder DifferenceRoot DifferenceRootReduce Differences DifferentialD DifferentialRoot DifferentialRootReduce DifferentiatorFilter DigitBlock DigitBlockMinimum DigitCharacter DigitCount DigitQ DihedralGroup Dilation Dimensions DiracComb DiracDelta DirectedEdge DirectedEdges DirectedGraph DirectedGraphQ DirectedInfinity Direction Directive Directory DirectoryName DirectoryQ DirectoryStack DirichletCharacter DirichletConvolve DirichletDistribution DirichletL DirichletTransform DirichletWindow DisableConsolePrintPacket DiscreteChirpZTransform DiscreteConvolve DiscreteDelta DiscreteHadamardTransform DiscreteIndicator DiscreteLQEstimatorGains DiscreteLQRegulatorGains DiscreteLyapunovSolve DiscreteMarkovProcess DiscretePlot DiscretePlot3D DiscreteRatio DiscreteRiccatiSolve DiscreteShift DiscreteTimeModelQ DiscreteUniformDistribution DiscreteVariables DiscreteWaveletData DiscreteWaveletPacketTransform ' + + 'DiscreteWaveletTransform Discriminant Disjunction Disk DiskBox DiskMatrix Dispatch DispersionEstimatorFunction Display DisplayAllSteps DisplayEndPacket DisplayFlushImagePacket DisplayForm DisplayFunction DisplayPacket DisplayRules DisplaySetSizePacket DisplayString DisplayTemporary DisplayWith DisplayWithRef DisplayWithVariable DistanceFunction DistanceTransform Distribute Distributed DistributedContexts DistributeDefinitions DistributionChart DistributionDomain DistributionFitTest DistributionParameterAssumptions DistributionParameterQ Dithering Div Divergence Divide DivideBy Dividers Divisible Divisors DivisorSigma DivisorSum DMSList DMSString Do DockedCells DocumentNotebook DominantColors DOSTextFormat Dot DotDashed DotEqual Dotted DoubleBracketingBar DoubleContourIntegral DoubleDownArrow DoubleLeftArrow DoubleLeftRightArrow DoubleLeftTee DoubleLongLeftArrow DoubleLongLeftRightArrow DoubleLongRightArrow DoubleRightArrow DoubleRightTee DoubleUpArrow DoubleUpDownArrow DoubleVerticalBar DoublyInfinite Down DownArrow DownArrowBar DownArrowUpArrow DownLeftRightVector DownLeftTeeVector DownLeftVector DownLeftVectorBar DownRightTeeVector DownRightVector DownRightVectorBar Downsample DownTee DownTeeArrow DownValues DragAndDrop DrawEdges DrawFrontFaces DrawHighlighted Drop DSolve Dt DualLinearProgramming DualSystemsModel DumpGet DumpSave DuplicateFreeQ Dynamic DynamicBox DynamicBoxOptions DynamicEvaluationTimeout DynamicLocation DynamicModule DynamicModuleBox DynamicModuleBoxOptions DynamicModuleParent DynamicModuleValues DynamicName DynamicNamespace DynamicReference DynamicSetting DynamicUpdating DynamicWrapper DynamicWrapperBox DynamicWrapperBoxOptions ' + + 'E EccentricityCentrality EdgeAdd EdgeBetweennessCentrality EdgeCapacity EdgeCapForm EdgeColor EdgeConnectivity EdgeCost EdgeCount EdgeCoverQ EdgeDashing EdgeDelete EdgeDetect EdgeForm EdgeIndex EdgeJoinForm EdgeLabeling EdgeLabels EdgeLabelStyle EdgeList EdgeOpacity EdgeQ EdgeRenderingFunction EdgeRules EdgeShapeFunction EdgeStyle EdgeThickness EdgeWeight Editable EditButtonSettings EditCellTagsSettings EditDistance EffectiveInterest Eigensystem Eigenvalues EigenvectorCentrality Eigenvectors Element ElementData Eliminate EliminationOrder EllipticE EllipticExp EllipticExpPrime EllipticF EllipticFilterModel EllipticK EllipticLog EllipticNomeQ EllipticPi EllipticReducedHalfPeriods EllipticTheta EllipticThetaPrime EmitSound EmphasizeSyntaxErrors EmpiricalDistribution Empty EmptyGraphQ EnableConsolePrintPacket Enabled Encode End EndAdd EndDialogPacket EndFrontEndInteractionPacket EndOfFile EndOfLine EndOfString EndPackage EngineeringForm Enter EnterExpressionPacket EnterTextPacket Entropy EntropyFilter Environment Epilog Equal EqualColumns EqualRows EqualTilde EquatedTo Equilibrium EquirippleFilterKernel Equivalent Erf Erfc Erfi ErlangB ErlangC ErlangDistribution Erosion ErrorBox ErrorBoxOptions ErrorNorm ErrorPacket ErrorsDialogSettings EstimatedDistribution EstimatedProcess EstimatorGains EstimatorRegulator EuclideanDistance EulerE EulerGamma EulerianGraphQ EulerPhi Evaluatable Evaluate Evaluated EvaluatePacket EvaluationCell EvaluationCompletionAction EvaluationElements EvaluationMode EvaluationMonitor EvaluationNotebook EvaluationObject EvaluationOrder Evaluator EvaluatorNames EvenQ EventData EventEvaluator EventHandler EventHandlerTag EventLabels ExactBlackmanWindow ExactNumberQ ExactRootIsolation ExampleData Except ExcludedForms ExcludePods Exclusions ExclusionsStyle Exists Exit ExitDialog Exp Expand ExpandAll ExpandDenominator ExpandFileName ExpandNumerator Expectation ExpectationE ExpectedValue ExpGammaDistribution ExpIntegralE ExpIntegralEi Exponent ExponentFunction ExponentialDistribution ExponentialFamily ExponentialGeneratingFunction ExponentialMovingAverage ExponentialPowerDistribution ExponentPosition ExponentStep Export ExportAutoReplacements ExportPacket ExportString Expression ExpressionCell ExpressionPacket ExpToTrig ExtendedGCD Extension ExtentElementFunction ExtentMarkers ExtentSize ExternalCall ExternalDataCharacterEncoding Extract ExtractArchive ExtremeValueDistribution ' + + 'FaceForm FaceGrids FaceGridsStyle Factor FactorComplete Factorial Factorial2 FactorialMoment FactorialMomentGeneratingFunction FactorialPower FactorInteger FactorList FactorSquareFree FactorSquareFreeList FactorTerms FactorTermsList Fail FailureDistribution False FARIMAProcess FEDisableConsolePrintPacket FeedbackSector FeedbackSectorStyle FeedbackType FEEnableConsolePrintPacket Fibonacci FieldHint FieldHintStyle FieldMasked FieldSize File FileBaseName FileByteCount FileDate FileExistsQ FileExtension FileFormat FileHash FileInformation FileName FileNameDepth FileNameDialogSettings FileNameDrop FileNameJoin FileNames FileNameSetter FileNameSplit FileNameTake FilePrint FileType FilledCurve FilledCurveBox Filling FillingStyle FillingTransform FilterRules FinancialBond FinancialData FinancialDerivative FinancialIndicator Find FindArgMax FindArgMin FindClique FindClusters FindCurvePath FindDistributionParameters FindDivisions FindEdgeCover FindEdgeCut FindEulerianCycle FindFaces FindFile FindFit FindGeneratingFunction FindGeoLocation FindGeometricTransform FindGraphCommunities FindGraphIsomorphism FindGraphPartition FindHamiltonianCycle FindIndependentEdgeSet FindIndependentVertexSet FindInstance FindIntegerNullVector FindKClan FindKClique FindKClub FindKPlex FindLibrary FindLinearRecurrence FindList FindMaximum FindMaximumFlow FindMaxValue FindMinimum FindMinimumCostFlow FindMinimumCut FindMinValue FindPermutation FindPostmanTour FindProcessParameters FindRoot FindSequenceFunction FindSettings FindShortestPath FindShortestTour FindThreshold FindVertexCover FindVertexCut Fine FinishDynamic FiniteAbelianGroupCount FiniteGroupCount FiniteGroupData First FirstPassageTimeDistribution FischerGroupFi22 FischerGroupFi23 FischerGroupFi24Prime FisherHypergeometricDistribution FisherRatioTest FisherZDistribution Fit FitAll FittedModel FixedPoint FixedPointList FlashSelection Flat Flatten FlattenAt FlatTopWindow FlipView Floor FlushPrintOutputPacket Fold FoldList Font FontColor FontFamily FontForm FontName FontOpacity FontPostScriptName FontProperties FontReencoding FontSize FontSlant FontSubstitutions FontTracking FontVariations FontWeight For ForAll Format FormatRules FormatType FormatTypeAutoConvert FormatValues FormBox FormBoxOptions FortranForm Forward ForwardBackward Fourier FourierCoefficient FourierCosCoefficient FourierCosSeries FourierCosTransform FourierDCT FourierDCTFilter FourierDCTMatrix FourierDST FourierDSTMatrix FourierMatrix FourierParameters FourierSequenceTransform FourierSeries FourierSinCoefficient FourierSinSeries FourierSinTransform FourierTransform FourierTrigSeries FractionalBrownianMotionProcess FractionalPart FractionBox FractionBoxOptions FractionLine Frame FrameBox FrameBoxOptions Framed FrameInset FrameLabel Frameless FrameMargins FrameStyle FrameTicks FrameTicksStyle FRatioDistribution FrechetDistribution FreeQ FrequencySamplingFilterKernel FresnelC FresnelS Friday FrobeniusNumber FrobeniusSolve ' + + 'FromCharacterCode FromCoefficientRules FromContinuedFraction FromDate FromDigits FromDMS Front FrontEndDynamicExpression FrontEndEventActions FrontEndExecute FrontEndObject FrontEndResource FrontEndResourceString FrontEndStackSize FrontEndToken FrontEndTokenExecute FrontEndValueCache FrontEndVersion FrontFaceColor FrontFaceOpacity Full FullAxes FullDefinition FullForm FullGraphics FullOptions FullSimplify Function FunctionExpand FunctionInterpolation FunctionSpace FussellVeselyImportance ' + + 'GaborFilter GaborMatrix GaborWavelet GainMargins GainPhaseMargins Gamma GammaDistribution GammaRegularized GapPenalty Gather GatherBy GaugeFaceElementFunction GaugeFaceStyle GaugeFrameElementFunction GaugeFrameSize GaugeFrameStyle GaugeLabels GaugeMarkers GaugeStyle GaussianFilter GaussianIntegers GaussianMatrix GaussianWindow GCD GegenbauerC General GeneralizedLinearModelFit GenerateConditions GeneratedCell GeneratedParameters GeneratingFunction Generic GenericCylindricalDecomposition GenomeData GenomeLookup GeodesicClosing GeodesicDilation GeodesicErosion GeodesicOpening GeoDestination GeodesyData GeoDirection GeoDistance GeoGridPosition GeometricBrownianMotionProcess GeometricDistribution GeometricMean GeometricMeanFilter GeometricTransformation GeometricTransformation3DBox GeometricTransformation3DBoxOptions GeometricTransformationBox GeometricTransformationBoxOptions GeoPosition GeoPositionENU GeoPositionXYZ GeoProjectionData GestureHandler GestureHandlerTag Get GetBoundingBoxSizePacket GetContext GetEnvironment GetFileName GetFrontEndOptionsDataPacket GetLinebreakInformationPacket GetMenusPacket GetPageBreakInformationPacket Glaisher GlobalClusteringCoefficient GlobalPreferences GlobalSession Glow GoldenRatio GompertzMakehamDistribution GoodmanKruskalGamma GoodmanKruskalGammaTest Goto Grad Gradient GradientFilter GradientOrientationFilter Graph GraphAssortativity GraphCenter GraphComplement GraphData GraphDensity GraphDiameter GraphDifference GraphDisjointUnion ' + + 'GraphDistance GraphDistanceMatrix GraphElementData GraphEmbedding GraphHighlight GraphHighlightStyle GraphHub Graphics Graphics3D Graphics3DBox Graphics3DBoxOptions GraphicsArray GraphicsBaseline GraphicsBox GraphicsBoxOptions GraphicsColor GraphicsColumn GraphicsComplex GraphicsComplex3DBox GraphicsComplex3DBoxOptions GraphicsComplexBox GraphicsComplexBoxOptions GraphicsContents GraphicsData GraphicsGrid GraphicsGridBox GraphicsGroup GraphicsGroup3DBox GraphicsGroup3DBoxOptions GraphicsGroupBox GraphicsGroupBoxOptions GraphicsGrouping GraphicsHighlightColor GraphicsRow GraphicsSpacing GraphicsStyle GraphIntersection GraphLayout GraphLinkEfficiency GraphPeriphery GraphPlot GraphPlot3D GraphPower GraphPropertyDistribution GraphQ GraphRadius GraphReciprocity GraphRoot GraphStyle GraphUnion Gray GrayLevel GreatCircleDistance Greater GreaterEqual GreaterEqualLess GreaterFullEqual GreaterGreater GreaterLess GreaterSlantEqual GreaterTilde Green Grid GridBaseline GridBox GridBoxAlignment GridBoxBackground GridBoxDividers GridBoxFrame GridBoxItemSize GridBoxItemStyle GridBoxOptions GridBoxSpacings GridCreationSettings GridDefaultElement GridElementStyleOptions GridFrame GridFrameMargins GridGraph GridLines GridLinesStyle GroebnerBasis GroupActionBase GroupCentralizer GroupElementFromWord GroupElementPosition GroupElementQ GroupElements GroupElementToWord GroupGenerators GroupMultiplicationTable GroupOrbits GroupOrder GroupPageBreakWithin GroupSetwiseStabilizer GroupStabilizer GroupStabilizerChain Gudermannian GumbelDistribution ' + + 'HaarWavelet HadamardMatrix HalfNormalDistribution HamiltonianGraphQ HammingDistance HammingWindow HankelH1 HankelH2 HankelMatrix HannPoissonWindow HannWindow HaradaNortonGroupHN HararyGraph HarmonicMean HarmonicMeanFilter HarmonicNumber Hash HashTable Haversine HazardFunction Head HeadCompose Heads HeavisideLambda HeavisidePi HeavisideTheta HeldGroupHe HeldPart HelpBrowserLookup HelpBrowserNotebook HelpBrowserSettings HermiteDecomposition HermiteH HermitianMatrixQ HessenbergDecomposition Hessian HexadecimalCharacter Hexahedron HexahedronBox HexahedronBoxOptions HiddenSurface HighlightGraph HighlightImage HighpassFilter HigmanSimsGroupHS HilbertFilter HilbertMatrix Histogram Histogram3D HistogramDistribution HistogramList HistogramTransform HistogramTransformInterpolation HitMissTransform HITSCentrality HodgeDual HoeffdingD HoeffdingDTest Hold HoldAll HoldAllComplete HoldComplete HoldFirst HoldForm HoldPattern HoldRest HolidayCalendar HomeDirectory HomePage Horizontal HorizontalForm HorizontalGauge HorizontalScrollPosition HornerForm HotellingTSquareDistribution HoytDistribution HTMLSave Hue HumpDownHump HumpEqual HurwitzLerchPhi HurwitzZeta HyperbolicDistribution HypercubeGraph HyperexponentialDistribution Hyperfactorial Hypergeometric0F1 Hypergeometric0F1Regularized Hypergeometric1F1 Hypergeometric1F1Regularized Hypergeometric2F1 Hypergeometric2F1Regularized HypergeometricDistribution HypergeometricPFQ HypergeometricPFQRegularized HypergeometricU Hyperlink HyperlinkCreationSettings Hyphenation HyphenationOptions HypoexponentialDistribution HypothesisTestData ' + + 'I Identity IdentityMatrix If IgnoreCase Im Image Image3D Image3DSlices ImageAccumulate ImageAdd ImageAdjust ImageAlign ImageApply ImageAspectRatio ImageAssemble ImageCache ImageCacheValid ImageCapture ImageChannels ImageClip ImageColorSpace ImageCompose ImageConvolve ImageCooccurrence ImageCorners ImageCorrelate ImageCorrespondingPoints ImageCrop ImageData ImageDataPacket ImageDeconvolve ImageDemosaic ImageDifference ImageDimensions ImageDistance ImageEffect ImageFeatureTrack ImageFileApply ImageFileFilter ImageFileScan ImageFilter ImageForestingComponents ImageForwardTransformation ImageHistogram ImageKeypoints ImageLevels ImageLines ImageMargins ImageMarkers ImageMeasurements ImageMultiply ImageOffset ImagePad ImagePadding ImagePartition ImagePeriodogram ImagePerspectiveTransformation ImageQ ImageRangeCache ImageReflect ImageRegion ImageResize ImageResolution ImageRotate ImageRotated ImageScaled ImageScan ImageSize ImageSizeAction ImageSizeCache ImageSizeMultipliers ImageSizeRaw ImageSubtract ImageTake ImageTransformation ImageTrim ImageType ImageValue ImageValuePositions Implies Import ImportAutoReplacements ImportString ImprovementImportance In IncidenceGraph IncidenceList IncidenceMatrix IncludeConstantBasis IncludeFileExtension IncludePods IncludeSingularTerm Increment Indent IndentingNewlineSpacings IndentMaxFraction IndependenceTest IndependentEdgeSetQ IndependentUnit IndependentVertexSetQ Indeterminate IndexCreationOptions Indexed IndexGraph IndexTag Inequality InexactNumberQ InexactNumbers Infinity Infix Information Inherited InheritScope Initialization InitializationCell InitializationCellEvaluation InitializationCellWarning InlineCounterAssignments InlineCounterIncrements InlineRules Inner Inpaint Input InputAliases InputAssumptions InputAutoReplacements InputField InputFieldBox InputFieldBoxOptions InputForm InputGrouping InputNamePacket InputNotebook InputPacket InputSettings InputStream InputString InputStringPacket InputToBoxFormPacket Insert InsertionPointObject InsertResults Inset Inset3DBox Inset3DBoxOptions InsetBox InsetBoxOptions Install InstallService InString Integer IntegerDigits IntegerExponent IntegerLength IntegerPart IntegerPartitions IntegerQ Integers IntegerString Integral Integrate Interactive InteractiveTradingChart Interlaced Interleaving InternallyBalancedDecomposition InterpolatingFunction InterpolatingPolynomial Interpolation InterpolationOrder InterpolationPoints InterpolationPrecision Interpretation InterpretationBox InterpretationBoxOptions InterpretationFunction ' + + 'InterpretTemplate InterquartileRange Interrupt InterruptSettings Intersection Interval IntervalIntersection IntervalMemberQ IntervalUnion Inverse InverseBetaRegularized InverseCDF InverseChiSquareDistribution InverseContinuousWaveletTransform InverseDistanceTransform InverseEllipticNomeQ InverseErf InverseErfc InverseFourier InverseFourierCosTransform InverseFourierSequenceTransform InverseFourierSinTransform InverseFourierTransform InverseFunction InverseFunctions InverseGammaDistribution InverseGammaRegularized InverseGaussianDistribution InverseGudermannian InverseHaversine InverseJacobiCD InverseJacobiCN InverseJacobiCS InverseJacobiDC InverseJacobiDN InverseJacobiDS InverseJacobiNC InverseJacobiND InverseJacobiNS InverseJacobiSC InverseJacobiSD InverseJacobiSN InverseLaplaceTransform InversePermutation InverseRadon InverseSeries InverseSurvivalFunction InverseWaveletTransform InverseWeierstrassP InverseZTransform Invisible InvisibleApplication InvisibleTimes IrreduciblePolynomialQ IsolatingInterval IsomorphicGraphQ IsotopeData Italic Item ItemBox ItemBoxOptions ItemSize ItemStyle ItoProcess ' + + 'JaccardDissimilarity JacobiAmplitude Jacobian JacobiCD JacobiCN JacobiCS JacobiDC JacobiDN JacobiDS JacobiNC JacobiND JacobiNS JacobiP JacobiSC JacobiSD JacobiSN JacobiSymbol JacobiZeta JankoGroupJ1 JankoGroupJ2 JankoGroupJ3 JankoGroupJ4 JarqueBeraALMTest JohnsonDistribution Join Joined JoinedCurve JoinedCurveBox JoinForm JordanDecomposition JordanModelDecomposition ' + + 'K KagiChart KaiserBesselWindow KaiserWindow KalmanEstimator KalmanFilter KarhunenLoeveDecomposition KaryTree KatzCentrality KCoreComponents KDistribution KelvinBei KelvinBer KelvinKei KelvinKer KendallTau KendallTauTest KernelExecute KernelMixtureDistribution KernelObject Kernels Ket Khinchin KirchhoffGraph KirchhoffMatrix KleinInvariantJ KnightTourGraph KnotData KnownUnitQ KolmogorovSmirnovTest KroneckerDelta KroneckerModelDecomposition KroneckerProduct KroneckerSymbol KuiperTest KumaraswamyDistribution Kurtosis KuwaharaFilter ' + + 'Label Labeled LabeledSlider LabelingFunction LabelStyle LaguerreL LambdaComponents LambertW LanczosWindow LandauDistribution Language LanguageCategory LaplaceDistribution LaplaceTransform Laplacian LaplacianFilter LaplacianGaussianFilter Large Larger Last Latitude LatitudeLongitude LatticeData LatticeReduce Launch LaunchKernels LayeredGraphPlot LayerSizeFunction LayoutInformation LCM LeafCount LeapYearQ LeastSquares LeastSquaresFilterKernel Left LeftArrow LeftArrowBar LeftArrowRightArrow LeftDownTeeVector LeftDownVector LeftDownVectorBar LeftRightArrow LeftRightVector LeftTee LeftTeeArrow LeftTeeVector LeftTriangle LeftTriangleBar LeftTriangleEqual LeftUpDownVector LeftUpTeeVector LeftUpVector LeftUpVectorBar LeftVector LeftVectorBar LegendAppearance Legended LegendFunction LegendLabel LegendLayout LegendMargins LegendMarkers LegendMarkerSize LegendreP LegendreQ LegendreType Length LengthWhile LerchPhi Less LessEqual LessEqualGreater LessFullEqual LessGreater LessLess LessSlantEqual LessTilde LetterCharacter LetterQ Level LeveneTest LeviCivitaTensor LevyDistribution Lexicographic LibraryFunction LibraryFunctionError LibraryFunctionInformation LibraryFunctionLoad LibraryFunctionUnload LibraryLoad LibraryUnload LicenseID LiftingFilterData LiftingWaveletTransform LightBlue LightBrown LightCyan Lighter LightGray LightGreen Lighting LightingAngle LightMagenta LightOrange LightPink LightPurple LightRed LightSources LightYellow Likelihood Limit LimitsPositioning LimitsPositioningTokens LindleyDistribution Line Line3DBox LinearFilter LinearFractionalTransform LinearModelFit LinearOffsetFunction LinearProgramming LinearRecurrence LinearSolve LinearSolveFunction LineBox LineBreak LinebreakAdjustments LineBreakChart LineBreakWithin LineColor LineForm LineGraph LineIndent LineIndentMaxFraction LineIntegralConvolutionPlot LineIntegralConvolutionScale LineLegend LineOpacity LineSpacing LineWrapParts LinkActivate LinkClose LinkConnect LinkConnectedQ LinkCreate LinkError LinkFlush LinkFunction LinkHost LinkInterrupt LinkLaunch LinkMode LinkObject LinkOpen LinkOptions LinkPatterns LinkProtocol LinkRead LinkReadHeld LinkReadyQ Links LinkWrite LinkWriteHeld LiouvilleLambda List Listable ListAnimate ListContourPlot ListContourPlot3D ListConvolve ListCorrelate ListCurvePathPlot ListDeconvolve ListDensityPlot Listen ListFourierSequenceTransform ListInterpolation ListLineIntegralConvolutionPlot ListLinePlot ListLogLinearPlot ListLogLogPlot ListLogPlot ListPicker ListPickerBox ListPickerBoxBackground ListPickerBoxOptions ListPlay ListPlot ListPlot3D ListPointPlot3D ListPolarPlot ListQ ListStreamDensityPlot ListStreamPlot ListSurfacePlot3D ListVectorDensityPlot ListVectorPlot ListVectorPlot3D ListZTransform Literal LiteralSearch LocalClusteringCoefficient LocalizeVariables LocationEquivalenceTest LocationTest Locator LocatorAutoCreate LocatorBox LocatorBoxOptions LocatorCentering LocatorPane LocatorPaneBox LocatorPaneBoxOptions ' + + 'LocatorRegion Locked Log Log10 Log2 LogBarnesG LogGamma LogGammaDistribution LogicalExpand LogIntegral LogisticDistribution LogitModelFit LogLikelihood LogLinearPlot LogLogisticDistribution LogLogPlot LogMultinormalDistribution LogNormalDistribution LogPlot LogRankTest LogSeriesDistribution LongEqual Longest LongestAscendingSequence LongestCommonSequence LongestCommonSequencePositions LongestCommonSubsequence LongestCommonSubsequencePositions LongestMatch LongForm Longitude LongLeftArrow LongLeftRightArrow LongRightArrow Loopback LoopFreeGraphQ LowerCaseQ LowerLeftArrow LowerRightArrow LowerTriangularize LowpassFilter LQEstimatorGains LQGRegulator LQOutputRegulatorGains LQRegulatorGains LUBackSubstitution LucasL LuccioSamiComponents LUDecomposition LyapunovSolve LyonsGroupLy ' + + 'MachineID MachineName MachineNumberQ MachinePrecision MacintoshSystemPageSetup Magenta Magnification Magnify MainSolve MaintainDynamicCaches Majority MakeBoxes MakeExpression MakeRules MangoldtLambda ManhattanDistance Manipulate Manipulator MannWhitneyTest MantissaExponent Manual Map MapAll MapAt MapIndexed MAProcess MapThread MarcumQ MardiaCombinedTest MardiaKurtosisTest MardiaSkewnessTest MarginalDistribution MarkovProcessProperties Masking MatchingDissimilarity MatchLocalNameQ MatchLocalNames MatchQ Material MathematicaNotation MathieuC MathieuCharacteristicA MathieuCharacteristicB MathieuCharacteristicExponent MathieuCPrime MathieuGroupM11 MathieuGroupM12 MathieuGroupM22 MathieuGroupM23 MathieuGroupM24 MathieuS MathieuSPrime MathMLForm MathMLText Matrices MatrixExp MatrixForm MatrixFunction MatrixLog MatrixPlot MatrixPower MatrixQ MatrixRank Max MaxBend MaxDetect MaxExtraBandwidths MaxExtraConditions MaxFeatures MaxFilter Maximize MaxIterations MaxMemoryUsed MaxMixtureKernels MaxPlotPoints MaxPoints MaxRecursion MaxStableDistribution MaxStepFraction MaxSteps MaxStepSize MaxValue MaxwellDistribution McLaughlinGroupMcL Mean MeanClusteringCoefficient MeanDegreeConnectivity MeanDeviation MeanFilter MeanGraphDistance MeanNeighborDegree MeanShift MeanShiftFilter Median MedianDeviation MedianFilter Medium MeijerG MeixnerDistribution MemberQ MemoryConstrained MemoryInUse Menu MenuAppearance MenuCommandKey MenuEvaluator MenuItem MenuPacket MenuSortingValue MenuStyle MenuView MergeDifferences Mesh MeshFunctions MeshRange MeshShading MeshStyle Message MessageDialog MessageList MessageName MessageOptions MessagePacket Messages MessagesNotebook MetaCharacters MetaInformation Method MethodOptions MexicanHatWavelet MeyerWavelet Min MinDetect MinFilter MinimalPolynomial MinimalStateSpaceModel Minimize Minors MinRecursion MinSize MinStableDistribution Minus MinusPlus MinValue Missing MissingDataMethod MittagLefflerE MixedRadix MixedRadixQuantity MixtureDistribution Mod Modal Mode Modular ModularLambda Module Modulus MoebiusMu Moment Momentary MomentConvert MomentEvaluate MomentGeneratingFunction Monday Monitor MonomialList MonomialOrder MonsterGroupM MorletWavelet MorphologicalBinarize MorphologicalBranchPoints MorphologicalComponents MorphologicalEulerNumber MorphologicalGraph MorphologicalPerimeter MorphologicalTransform Most MouseAnnotation MouseAppearance MouseAppearanceTag MouseButtons Mouseover MousePointerNote MousePosition MovingAverage MovingMedian MoyalDistribution MultiedgeStyle MultilaunchWarning MultiLetterItalics MultiLetterStyle MultilineFunction Multinomial MultinomialDistribution MultinormalDistribution MultiplicativeOrder Multiplicity Multiselection MultivariateHypergeometricDistribution MultivariatePoissonDistribution MultivariateTDistribution ' + + 'N NakagamiDistribution NameQ Names NamespaceBox Nand NArgMax NArgMin NBernoulliB NCache NDSolve NDSolveValue Nearest NearestFunction NeedCurrentFrontEndPackagePacket NeedCurrentFrontEndSymbolsPacket NeedlemanWunschSimilarity Needs Negative NegativeBinomialDistribution NegativeMultinomialDistribution NeighborhoodGraph Nest NestedGreaterGreater NestedLessLess NestedScriptRules NestList NestWhile NestWhileList NevilleThetaC NevilleThetaD NevilleThetaN NevilleThetaS NewPrimitiveStyle NExpectation Next NextPrime NHoldAll NHoldFirst NHoldRest NicholsGridLines NicholsPlot NIntegrate NMaximize NMaxValue NMinimize NMinValue NominalVariables NonAssociative NoncentralBetaDistribution NoncentralChiSquareDistribution NoncentralFRatioDistribution NoncentralStudentTDistribution NonCommutativeMultiply NonConstants None NonlinearModelFit NonlocalMeansFilter NonNegative NonPositive Nor NorlundB Norm Normal NormalDistribution NormalGrouping Normalize NormalizedSquaredEuclideanDistance NormalsFunction NormFunction Not NotCongruent NotCupCap NotDoubleVerticalBar Notebook NotebookApply NotebookAutoSave NotebookClose NotebookConvertSettings NotebookCreate NotebookCreateReturnObject NotebookDefault NotebookDelete NotebookDirectory NotebookDynamicExpression NotebookEvaluate NotebookEventActions NotebookFileName NotebookFind NotebookFindReturnObject NotebookGet NotebookGetLayoutInformationPacket NotebookGetMisspellingsPacket NotebookInformation NotebookInterfaceObject NotebookLocate NotebookObject NotebookOpen NotebookOpenReturnObject NotebookPath NotebookPrint NotebookPut NotebookPutReturnObject NotebookRead NotebookResetGeneratedCells Notebooks NotebookSave NotebookSaveAs NotebookSelection NotebookSetupLayoutInformationPacket NotebooksMenu NotebookWrite NotElement NotEqualTilde NotExists NotGreater NotGreaterEqual NotGreaterFullEqual NotGreaterGreater NotGreaterLess NotGreaterSlantEqual NotGreaterTilde NotHumpDownHump NotHumpEqual NotLeftTriangle NotLeftTriangleBar NotLeftTriangleEqual NotLess NotLessEqual NotLessFullEqual NotLessGreater NotLessLess NotLessSlantEqual NotLessTilde NotNestedGreaterGreater NotNestedLessLess NotPrecedes NotPrecedesEqual NotPrecedesSlantEqual NotPrecedesTilde NotReverseElement NotRightTriangle NotRightTriangleBar NotRightTriangleEqual NotSquareSubset NotSquareSubsetEqual NotSquareSuperset NotSquareSupersetEqual NotSubset NotSubsetEqual NotSucceeds NotSucceedsEqual NotSucceedsSlantEqual NotSucceedsTilde NotSuperset NotSupersetEqual NotTilde NotTildeEqual NotTildeFullEqual NotTildeTilde NotVerticalBar NProbability NProduct NProductFactors NRoots NSolve NSum NSumTerms Null NullRecords NullSpace NullWords Number NumberFieldClassNumber NumberFieldDiscriminant NumberFieldFundamentalUnits NumberFieldIntegralBasis NumberFieldNormRepresentatives NumberFieldRegulator NumberFieldRootsOfUnity NumberFieldSignature NumberForm NumberFormat NumberMarks NumberMultiplier NumberPadding NumberPoint NumberQ NumberSeparator ' + + 'NumberSigns NumberString Numerator NumericFunction NumericQ NuttallWindow NValues NyquistGridLines NyquistPlot ' + + 'O ObservabilityGramian ObservabilityMatrix ObservableDecomposition ObservableModelQ OddQ Off Offset OLEData On ONanGroupON OneIdentity Opacity Open OpenAppend Opener OpenerBox OpenerBoxOptions OpenerView OpenFunctionInspectorPacket Opening OpenRead OpenSpecialOptions OpenTemporary OpenWrite Operate OperatingSystem OptimumFlowData Optional OptionInspectorSettings OptionQ Options OptionsPacket OptionsPattern OptionValue OptionValueBox OptionValueBoxOptions Or Orange Order OrderDistribution OrderedQ Ordering Orderless OrnsteinUhlenbeckProcess Orthogonalize Out Outer OutputAutoOverwrite OutputControllabilityMatrix OutputControllableModelQ OutputForm OutputFormData OutputGrouping OutputMathEditExpression OutputNamePacket OutputResponse OutputSizeLimit OutputStream Over OverBar OverDot Overflow OverHat Overlaps Overlay OverlayBox OverlayBoxOptions Overscript OverscriptBox OverscriptBoxOptions OverTilde OverVector OwenT OwnValues ' + + 'PackingMethod PaddedForm Padding PadeApproximant PadLeft PadRight PageBreakAbove PageBreakBelow PageBreakWithin PageFooterLines PageFooters PageHeaderLines PageHeaders PageHeight PageRankCentrality PageWidth PairedBarChart PairedHistogram PairedSmoothHistogram PairedTTest PairedZTest PaletteNotebook PalettePath Pane PaneBox PaneBoxOptions Panel PanelBox PanelBoxOptions Paneled PaneSelector PaneSelectorBox PaneSelectorBoxOptions PaperWidth ParabolicCylinderD ParagraphIndent ParagraphSpacing ParallelArray ParallelCombine ParallelDo ParallelEvaluate Parallelization Parallelize ParallelMap ParallelNeeds ParallelProduct ParallelSubmit ParallelSum ParallelTable ParallelTry Parameter ParameterEstimator ParameterMixtureDistribution ParameterVariables ParametricFunction ParametricNDSolve ParametricNDSolveValue ParametricPlot ParametricPlot3D ParentConnect ParentDirectory ParentForm Parenthesize ParentList ParetoDistribution Part PartialCorrelationFunction PartialD ParticleData Partition PartitionsP PartitionsQ ParzenWindow PascalDistribution PassEventsDown PassEventsUp Paste PasteBoxFormInlineCells PasteButton Path PathGraph PathGraphQ Pattern PatternSequence PatternTest PauliMatrix PaulWavelet Pause PausedTime PDF PearsonChiSquareTest PearsonCorrelationTest PearsonDistribution PerformanceGoal PeriodicInterpolation Periodogram PeriodogramArray PermutationCycles PermutationCyclesQ PermutationGroup PermutationLength PermutationList PermutationListQ PermutationMax PermutationMin PermutationOrder PermutationPower PermutationProduct PermutationReplace Permutations PermutationSupport Permute PeronaMalikFilter Perpendicular PERTDistribution PetersenGraph PhaseMargins Pi Pick PIDData PIDDerivativeFilter PIDFeedforward PIDTune Piecewise PiecewiseExpand PieChart PieChart3D PillaiTrace PillaiTraceTest Pink Pivoting PixelConstrained PixelValue PixelValuePositions Placed Placeholder PlaceholderReplace Plain PlanarGraphQ Play PlayRange Plot Plot3D Plot3Matrix PlotDivision PlotJoined PlotLabel PlotLayout PlotLegends PlotMarkers PlotPoints PlotRange PlotRangeClipping PlotRangePadding PlotRegion PlotStyle Plus PlusMinus Pochhammer PodStates PodWidth Point Point3DBox PointBox PointFigureChart PointForm PointLegend PointSize PoissonConsulDistribution PoissonDistribution PoissonProcess PoissonWindow PolarAxes PolarAxesOrigin PolarGridLines PolarPlot PolarTicks PoleZeroMarkers PolyaAeppliDistribution PolyGamma Polygon Polygon3DBox Polygon3DBoxOptions PolygonBox PolygonBoxOptions PolygonHoleScale PolygonIntersections PolygonScale PolyhedronData PolyLog PolynomialExtendedGCD PolynomialForm PolynomialGCD PolynomialLCM PolynomialMod PolynomialQ PolynomialQuotient PolynomialQuotientRemainder PolynomialReduce PolynomialRemainder Polynomials PopupMenu PopupMenuBox PopupMenuBoxOptions PopupView PopupWindow Position Positive PositiveDefiniteMatrixQ PossibleZeroQ Postfix PostScript Power PowerDistribution PowerExpand PowerMod PowerModList ' + + 'PowerSpectralDensity PowersRepresentations PowerSymmetricPolynomial Precedence PrecedenceForm Precedes PrecedesEqual PrecedesSlantEqual PrecedesTilde Precision PrecisionGoal PreDecrement PredictionRoot PreemptProtect PreferencesPath Prefix PreIncrement Prepend PrependTo PreserveImageOptions Previous PriceGraphDistribution PrimaryPlaceholder Prime PrimeNu PrimeOmega PrimePi PrimePowerQ PrimeQ Primes PrimeZetaP PrimitiveRoot PrincipalComponents PrincipalValue Print PrintAction PrintForm PrintingCopies PrintingOptions PrintingPageRange PrintingStartingPageNumber PrintingStyleEnvironment PrintPrecision PrintTemporary Prism PrismBox PrismBoxOptions PrivateCellOptions PrivateEvaluationOptions PrivateFontOptions PrivateFrontEndOptions PrivateNotebookOptions PrivatePaths Probability ProbabilityDistribution ProbabilityPlot ProbabilityPr ProbabilityScalePlot ProbitModelFit ProcessEstimator ProcessParameterAssumptions ProcessParameterQ ProcessStateDomain ProcessTimeDomain Product ProductDistribution ProductLog ProgressIndicator ProgressIndicatorBox ProgressIndicatorBoxOptions Projection Prolog PromptForm Properties Property PropertyList PropertyValue Proportion Proportional Protect Protected ProteinData Pruning PseudoInverse Purple Put PutAppend Pyramid PyramidBox PyramidBoxOptions ' + + 'QBinomial QFactorial QGamma QHypergeometricPFQ QPochhammer QPolyGamma QRDecomposition QuadraticIrrationalQ Quantile QuantilePlot Quantity QuantityForm QuantityMagnitude QuantityQ QuantityUnit Quartics QuartileDeviation Quartiles QuartileSkewness QueueingNetworkProcess QueueingProcess QueueProperties Quiet Quit Quotient QuotientRemainder ' + + 'RadialityCentrality RadicalBox RadicalBoxOptions RadioButton RadioButtonBar RadioButtonBox RadioButtonBoxOptions Radon RamanujanTau RamanujanTauL RamanujanTauTheta RamanujanTauZ Random RandomChoice RandomComplex RandomFunction RandomGraph RandomImage RandomInteger RandomPermutation RandomPrime RandomReal RandomSample RandomSeed RandomVariate RandomWalkProcess Range RangeFilter RangeSpecification RankedMax RankedMin Raster Raster3D Raster3DBox Raster3DBoxOptions RasterArray RasterBox RasterBoxOptions Rasterize RasterSize Rational RationalFunctions Rationalize Rationals Ratios Raw RawArray RawBoxes RawData RawMedium RayleighDistribution Re Read ReadList ReadProtected Real RealBlockDiagonalForm RealDigits RealExponent Reals Reap Record RecordLists RecordSeparators Rectangle RectangleBox RectangleBoxOptions RectangleChart RectangleChart3D RecurrenceFilter RecurrenceTable RecurringDigitsForm Red Reduce RefBox ReferenceLineStyle ReferenceMarkers ReferenceMarkerStyle Refine ReflectionMatrix ReflectionTransform Refresh RefreshRate RegionBinarize RegionFunction RegionPlot RegionPlot3D RegularExpression Regularization Reinstall Release ReleaseHold ReliabilityDistribution ReliefImage ReliefPlot Remove RemoveAlphaChannel RemoveAsynchronousTask Removed RemoveInputStreamMethod RemoveOutputStreamMethod RemoveProperty RemoveScheduledTask RenameDirectory RenameFile RenderAll RenderingOptions RenewalProcess RenkoChart Repeated RepeatedNull RepeatedString Replace ReplaceAll ReplaceHeldPart ReplaceImageValue ReplaceList ReplacePart ReplacePixelValue ReplaceRepeated Resampling Rescale RescalingTransform ResetDirectory ResetMenusPacket ResetScheduledTask Residue Resolve Rest Resultant ResumePacket Return ReturnExpressionPacket ReturnInputFormPacket ReturnPacket ReturnTextPacket Reverse ReverseBiorthogonalSplineWavelet ReverseElement ReverseEquilibrium ReverseGraph ReverseUpEquilibrium RevolutionAxis RevolutionPlot3D RGBColor RiccatiSolve RiceDistribution RidgeFilter RiemannR RiemannSiegelTheta RiemannSiegelZ Riffle Right RightArrow RightArrowBar RightArrowLeftArrow RightCosetRepresentative RightDownTeeVector RightDownVector RightDownVectorBar RightTee RightTeeArrow RightTeeVector RightTriangle RightTriangleBar RightTriangleEqual RightUpDownVector RightUpTeeVector RightUpVector RightUpVectorBar RightVector RightVectorBar RiskAchievementImportance RiskReductionImportance RogersTanimotoDissimilarity Root RootApproximant RootIntervals RootLocusPlot RootMeanSquare RootOfUnityQ RootReduce Roots RootSum Rotate RotateLabel RotateLeft RotateRight RotationAction RotationBox RotationBoxOptions RotationMatrix RotationTransform Round RoundImplies RoundingRadius Row RowAlignments RowBackgrounds RowBox RowHeights RowLines RowMinHeight RowReduce RowsEqual RowSpacings RSolve RudvalisGroupRu Rule RuleCondition RuleDelayed RuleForm RulerUnits Run RunScheduledTask RunThrough RuntimeAttributes RuntimeOptions RussellRaoDissimilarity ' + + 'SameQ SameTest SampleDepth SampledSoundFunction SampledSoundList SampleRate SamplingPeriod SARIMAProcess SARMAProcess SatisfiabilityCount SatisfiabilityInstances SatisfiableQ Saturday Save Saveable SaveAutoDelete SaveDefinitions SawtoothWave Scale Scaled ScaleDivisions ScaledMousePosition ScaleOrigin ScalePadding ScaleRanges ScaleRangeStyle ScalingFunctions ScalingMatrix ScalingTransform Scan ScheduledTaskActiveQ ScheduledTaskData ScheduledTaskObject ScheduledTasks SchurDecomposition ScientificForm ScreenRectangle ScreenStyleEnvironment ScriptBaselineShifts ScriptLevel ScriptMinSize ScriptRules ScriptSizeMultipliers Scrollbars ScrollingOptions ScrollPosition Sec Sech SechDistribution SectionGrouping SectorChart SectorChart3D SectorOrigin SectorSpacing SeedRandom Select Selectable SelectComponents SelectedCells SelectedNotebook Selection SelectionAnimate SelectionCell SelectionCellCreateCell SelectionCellDefaultStyle SelectionCellParentStyle SelectionCreateCell SelectionDebuggerTag SelectionDuplicateCell SelectionEvaluate SelectionEvaluateCreateCell SelectionMove SelectionPlaceholder SelectionSetStyle SelectWithContents SelfLoops SelfLoopStyle SemialgebraicComponentInstances SendMail Sequence SequenceAlignment SequenceForm SequenceHold SequenceLimit Series SeriesCoefficient SeriesData SessionTime Set SetAccuracy SetAlphaChannel SetAttributes Setbacks SetBoxFormNamesPacket SetDelayed SetDirectory SetEnvironment SetEvaluationNotebook SetFileDate SetFileLoadingContext SetNotebookStatusLine SetOptions SetOptionsPacket SetPrecision SetProperty SetSelectedNotebook SetSharedFunction SetSharedVariable SetSpeechParametersPacket SetStreamPosition SetSystemOptions Setter SetterBar SetterBox SetterBoxOptions Setting SetValue Shading Shallow ShannonWavelet ShapiroWilkTest Share Sharpen ShearingMatrix ShearingTransform ShenCastanMatrix Short ShortDownArrow Shortest ShortestMatch ShortestPathFunction ShortLeftArrow ShortRightArrow ShortUpArrow Show ShowAutoStyles ShowCellBracket ShowCellLabel ShowCellTags ShowClosedCellArea ShowContents ShowControls ShowCursorTracker ShowGroupOpenCloseIcon ShowGroupOpener ShowInvisibleCharacters ShowPageBreaks ShowPredictiveInterface ShowSelection ShowShortBoxForm ShowSpecialCharacters ShowStringCharacters ShowSyntaxStyles ShrinkingDelay ShrinkWrapBoundingBox SiegelTheta SiegelTukeyTest Sign Signature SignedRankTest SignificanceLevel SignPadding SignTest SimilarityRules SimpleGraph SimpleGraphQ Simplify Sin Sinc SinghMaddalaDistribution SingleEvaluation SingleLetterItalics SingleLetterStyle SingularValueDecomposition SingularValueList SingularValuePlot SingularValues Sinh SinhIntegral SinIntegral SixJSymbol Skeleton SkeletonTransform SkellamDistribution Skewness SkewNormalDistribution Skip SliceDistribution Slider Slider2D Slider2DBox Slider2DBoxOptions SliderBox SliderBoxOptions SlideView Slot SlotSequence Small SmallCircle Smaller SmithDelayCompensator SmithWatermanSimilarity ' + + 'SmoothDensityHistogram SmoothHistogram SmoothHistogram3D SmoothKernelDistribution SocialMediaData Socket SokalSneathDissimilarity Solve SolveAlways SolveDelayed Sort SortBy Sound SoundAndGraphics SoundNote SoundVolume Sow Space SpaceForm Spacer Spacings Span SpanAdjustments SpanCharacterRounding SpanFromAbove SpanFromBoth SpanFromLeft SpanLineThickness SpanMaxSize SpanMinSize SpanningCharacters SpanSymmetric SparseArray SpatialGraphDistribution Speak SpeakTextPacket SpearmanRankTest SpearmanRho Spectrogram SpectrogramArray Specularity SpellingCorrection SpellingDictionaries SpellingDictionariesPath SpellingOptions SpellingSuggestionsPacket Sphere SphereBox SphericalBesselJ SphericalBesselY SphericalHankelH1 SphericalHankelH2 SphericalHarmonicY SphericalPlot3D SphericalRegion SpheroidalEigenvalue SpheroidalJoiningFactor SpheroidalPS SpheroidalPSPrime SpheroidalQS SpheroidalQSPrime SpheroidalRadialFactor SpheroidalS1 SpheroidalS1Prime SpheroidalS2 SpheroidalS2Prime Splice SplicedDistribution SplineClosed SplineDegree SplineKnots SplineWeights Split SplitBy SpokenString Sqrt SqrtBox SqrtBoxOptions Square SquaredEuclideanDistance SquareFreeQ SquareIntersection SquaresR SquareSubset SquareSubsetEqual SquareSuperset SquareSupersetEqual SquareUnion SquareWave StabilityMargins StabilityMarginsStyle StableDistribution Stack StackBegin StackComplete StackInhibit StandardDeviation StandardDeviationFilter StandardForm Standardize StandbyDistribution Star StarGraph StartAsynchronousTask StartingStepSize StartOfLine StartOfString StartScheduledTask StartupSound StateDimensions StateFeedbackGains StateOutputEstimator StateResponse StateSpaceModel StateSpaceRealization StateSpaceTransform StationaryDistribution StationaryWaveletPacketTransform StationaryWaveletTransform StatusArea StatusCentrality StepMonitor StieltjesGamma StirlingS1 StirlingS2 StopAsynchronousTask StopScheduledTask StrataVariables StratonovichProcess StreamColorFunction StreamColorFunctionScaling StreamDensityPlot StreamPlot StreamPoints StreamPosition Streams StreamScale StreamStyle String StringBreak StringByteCount StringCases StringCount StringDrop StringExpression StringForm StringFormat StringFreeQ StringInsert StringJoin StringLength StringMatchQ StringPosition StringQ StringReplace StringReplaceList StringReplacePart StringReverse StringRotateLeft StringRotateRight StringSkeleton StringSplit StringTake StringToStream StringTrim StripBoxes StripOnInput StripWrapperBoxes StrokeForm StructuralImportance StructuredArray StructuredSelection StruveH StruveL Stub StudentTDistribution Style StyleBox StyleBoxAutoDelete StyleBoxOptions StyleData StyleDefinitions StyleForm StyleKeyMapping StyleMenuListing StyleNameDialogSettings StyleNames StylePrint StyleSheetPath Subfactorial Subgraph SubMinus SubPlus SubresultantPolynomialRemainders ' + + 'SubresultantPolynomials Subresultants Subscript SubscriptBox SubscriptBoxOptions Subscripted Subset SubsetEqual Subsets SubStar Subsuperscript SubsuperscriptBox SubsuperscriptBoxOptions Subtract SubtractFrom SubValues Succeeds SucceedsEqual SucceedsSlantEqual SucceedsTilde SuchThat Sum SumConvergence Sunday SuperDagger SuperMinus SuperPlus Superscript SuperscriptBox SuperscriptBoxOptions Superset SupersetEqual SuperStar Surd SurdForm SurfaceColor SurfaceGraphics SurvivalDistribution SurvivalFunction SurvivalModel SurvivalModelFit SuspendPacket SuzukiDistribution SuzukiGroupSuz SwatchLegend Switch Symbol SymbolName SymletWavelet Symmetric SymmetricGroup SymmetricMatrixQ SymmetricPolynomial SymmetricReduction Symmetrize SymmetrizedArray SymmetrizedArrayRules SymmetrizedDependentComponents SymmetrizedIndependentComponents SymmetrizedReplacePart SynchronousInitialization SynchronousUpdating Syntax SyntaxForm SyntaxInformation SyntaxLength SyntaxPacket SyntaxQ SystemDialogInput SystemException SystemHelpPath SystemInformation SystemInformationData SystemOpen SystemOptions SystemsModelDelay SystemsModelDelayApproximate SystemsModelDelete SystemsModelDimensions SystemsModelExtract SystemsModelFeedbackConnect SystemsModelLabels SystemsModelOrder SystemsModelParallelConnect SystemsModelSeriesConnect SystemsModelStateFeedbackConnect SystemStub ' + + 'Tab TabFilling Table TableAlignments TableDepth TableDirections TableForm TableHeadings TableSpacing TableView TableViewBox TabSpacings TabView TabViewBox TabViewBoxOptions TagBox TagBoxNote TagBoxOptions TaggingRules TagSet TagSetDelayed TagStyle TagUnset Take TakeWhile Tally Tan Tanh TargetFunctions TargetUnits TautologyQ TelegraphProcess TemplateBox TemplateBoxOptions TemplateSlotSequence TemporalData Temporary TemporaryVariable TensorContract TensorDimensions TensorExpand TensorProduct TensorQ TensorRank TensorReduce TensorSymmetry TensorTranspose TensorWedge Tetrahedron TetrahedronBox TetrahedronBoxOptions TeXForm TeXSave Text Text3DBox Text3DBoxOptions TextAlignment TextBand TextBoundingBox TextBox TextCell TextClipboardType TextData TextForm TextJustification TextLine TextPacket TextParagraph TextRecognize TextRendering TextStyle Texture TextureCoordinateFunction TextureCoordinateScaling Therefore ThermometerGauge Thick Thickness Thin Thinning ThisLink ThompsonGroupTh Thread ThreeJSymbol Threshold Through Throw Thumbnail Thursday Ticks TicksStyle Tilde TildeEqual TildeFullEqual TildeTilde TimeConstrained TimeConstraint Times TimesBy TimeSeriesForecast TimeSeriesInvertibility TimeUsed TimeValue TimeZone Timing Tiny TitleGrouping TitsGroupT ToBoxes ToCharacterCode ToColor ToContinuousTimeModel ToDate ToDiscreteTimeModel ToeplitzMatrix ToExpression ToFileName Together Toggle ToggleFalse Toggler TogglerBar TogglerBox TogglerBoxOptions ToHeldExpression ToInvertibleTimeSeries TokenWords Tolerance ToLowerCase ToNumberField TooBig Tooltip TooltipBox TooltipBoxOptions TooltipDelay TooltipStyle Top TopHatTransform TopologicalSort ToRadicals ToRules ToString Total TotalHeight TotalVariationFilter TotalWidth TouchscreenAutoZoom TouchscreenControlPlacement ToUpperCase Tr Trace TraceAbove TraceAction TraceBackward TraceDepth TraceDialog TraceForward TraceInternal TraceLevel TraceOff TraceOn TraceOriginal TracePrint TraceScan TrackedSymbols TradingChart TraditionalForm TraditionalFunctionNotation TraditionalNotation TraditionalOrder TransferFunctionCancel TransferFunctionExpand TransferFunctionFactor TransferFunctionModel TransferFunctionPoles TransferFunctionTransform TransferFunctionZeros TransformationFunction TransformationFunctions TransformationMatrix TransformedDistribution TransformedField Translate TranslationTransform TransparentColor Transpose TreeForm TreeGraph TreeGraphQ TreePlot TrendStyle TriangleWave TriangularDistribution Trig TrigExpand TrigFactor TrigFactorList Trigger TrigReduce TrigToExp TrimmedMean True TrueQ TruncatedDistribution TsallisQExponentialDistribution TsallisQGaussianDistribution TTest Tube TubeBezierCurveBox TubeBezierCurveBoxOptions TubeBox TubeBSplineCurveBox TubeBSplineCurveBoxOptions Tuesday TukeyLambdaDistribution TukeyWindow Tuples TuranGraph TuringMachine ' + + 'Transparent ' + + 'UnateQ Uncompress Undefined UnderBar Underflow Underlined Underoverscript UnderoverscriptBox UnderoverscriptBoxOptions Underscript UnderscriptBox UnderscriptBoxOptions UndirectedEdge UndirectedGraph UndirectedGraphQ UndocumentedTestFEParserPacket UndocumentedTestGetSelectionPacket Unequal Unevaluated UniformDistribution UniformGraphDistribution UniformSumDistribution Uninstall Union UnionPlus Unique UnitBox UnitConvert UnitDimensions Unitize UnitRootTest UnitSimplify UnitStep UnitTriangle UnitVector Unprotect UnsameQ UnsavedVariables Unset UnsetShared UntrackedVariables Up UpArrow UpArrowBar UpArrowDownArrow Update UpdateDynamicObjects UpdateDynamicObjectsSynchronous UpdateInterval UpDownArrow UpEquilibrium UpperCaseQ UpperLeftArrow UpperRightArrow UpperTriangularize Upsample UpSet UpSetDelayed UpTee UpTeeArrow UpValues URL URLFetch URLFetchAsynchronous URLSave URLSaveAsynchronous UseGraphicsRange Using UsingFrontEnd ' + + 'V2Get ValidationLength Value ValueBox ValueBoxOptions ValueForm ValueQ ValuesData Variables Variance VarianceEquivalenceTest VarianceEstimatorFunction VarianceGammaDistribution VarianceTest VectorAngle VectorColorFunction VectorColorFunctionScaling VectorDensityPlot VectorGlyphData VectorPlot VectorPlot3D VectorPoints VectorQ Vectors VectorScale VectorStyle Vee Verbatim Verbose VerboseConvertToPostScriptPacket VerifyConvergence VerifySolutions VerifyTestAssumptions Version VersionNumber VertexAdd VertexCapacity VertexColors VertexComponent VertexConnectivity VertexCoordinateRules VertexCoordinates VertexCorrelationSimilarity VertexCosineSimilarity VertexCount VertexCoverQ VertexDataCoordinates VertexDegree VertexDelete VertexDiceSimilarity VertexEccentricity VertexInComponent VertexInDegree VertexIndex VertexJaccardSimilarity VertexLabeling VertexLabels VertexLabelStyle VertexList VertexNormals VertexOutComponent VertexOutDegree VertexQ VertexRenderingFunction VertexReplace VertexShape VertexShapeFunction VertexSize VertexStyle VertexTextureCoordinates VertexWeight Vertical VerticalBar VerticalForm VerticalGauge VerticalSeparator VerticalSlider VerticalTilde ViewAngle ViewCenter ViewMatrix ViewPoint ViewPointSelectorSettings ViewPort ViewRange ViewVector ViewVertical VirtualGroupData Visible VisibleCell VoigtDistribution VonMisesDistribution ' + + 'WaitAll WaitAsynchronousTask WaitNext WaitUntil WakebyDistribution WalleniusHypergeometricDistribution WaringYuleDistribution WatershedComponents WatsonUSquareTest WattsStrogatzGraphDistribution WaveletBestBasis WaveletFilterCoefficients WaveletImagePlot WaveletListPlot WaveletMapIndexed WaveletMatrixPlot WaveletPhi WaveletPsi WaveletScale WaveletScalogram WaveletThreshold WeaklyConnectedComponents WeaklyConnectedGraphQ WeakStationarity WeatherData WeberE Wedge Wednesday WeibullDistribution WeierstrassHalfPeriods WeierstrassInvariants WeierstrassP WeierstrassPPrime WeierstrassSigma WeierstrassZeta WeightedAdjacencyGraph WeightedAdjacencyMatrix WeightedData WeightedGraphQ Weights WelchWindow WheelGraph WhenEvent Which While White Whitespace WhitespaceCharacter WhittakerM WhittakerW WienerFilter WienerProcess WignerD WignerSemicircleDistribution WilksW WilksWTest WindowClickSelect WindowElements WindowFloating WindowFrame WindowFrameElements WindowMargins WindowMovable WindowOpacity WindowSelected WindowSize WindowStatusArea WindowTitle WindowToolbars WindowWidth With WolframAlpha WolframAlphaDate WolframAlphaQuantity WolframAlphaResult Word WordBoundary WordCharacter WordData WordSearch WordSeparators WorkingPrecision Write WriteString Wronskian ' + + 'XMLElement XMLObject Xnor Xor ' + + 'Yellow YuleDissimilarity ' + + 'ZernikeR ZeroSymmetric ZeroTest ZeroWidthTimes Zeta ZetaZero ZipfDistribution ZTest ZTransform ' + + '$Aborted $ActivationGroupID $ActivationKey $ActivationUserRegistered $AddOnsDirectory $AssertFunction $Assumptions $AsynchronousTask $BaseDirectory $BatchInput $BatchOutput $BoxForms $ByteOrdering $Canceled $CharacterEncoding $CharacterEncodings $CommandLine $CompilationTarget $ConditionHold $ConfiguredKernels $Context $ContextPath $ControlActiveSetting $CreationDate $CurrentLink $DateStringFormat $DefaultFont $DefaultFrontEnd $DefaultImagingDevice $DefaultPath $Display $DisplayFunction $DistributedContexts $DynamicEvaluation $Echo $Epilog $ExportFormats $Failed $FinancialDataSource $FormatType $FrontEnd $FrontEndSession $GeoLocation $HistoryLength $HomeDirectory $HTTPCookies $IgnoreEOF $ImagingDevices $ImportFormats $InitialDirectory $Input $InputFileName $InputStreamMethods $Inspector $InstallationDate $InstallationDirectory $InterfaceEnvironment $IterationLimit $KernelCount $KernelID $Language $LaunchDirectory $LibraryPath $LicenseExpirationDate $LicenseID $LicenseProcesses $LicenseServer $LicenseSubprocesses $LicenseType $Line $Linked $LinkSupported $LoadedFiles $MachineAddresses $MachineDomain $MachineDomains $MachineEpsilon $MachineID $MachineName $MachinePrecision $MachineType $MaxExtraPrecision $MaxLicenseProcesses $MaxLicenseSubprocesses $MaxMachineNumber $MaxNumber $MaxPiecewiseCases $MaxPrecision $MaxRootDegree $MessageGroups $MessageList $MessagePrePrint $Messages $MinMachineNumber $MinNumber $MinorReleaseNumber $MinPrecision $ModuleNumber $NetworkLicense $NewMessage $NewSymbol $Notebooks $NumberMarks $Off $OperatingSystem $Output $OutputForms $OutputSizeLimit $OutputStreamMethods $Packages $ParentLink $ParentProcessID $PasswordFile $PatchLevelID $Path $PathnameSeparator $PerformanceGoal $PipeSupported $Post $Pre $PreferencesDirectory $PrePrint $PreRead $PrintForms $PrintLiteral $ProcessID $ProcessorCount $ProcessorType $ProductInformation $ProgramName $RandomState $RecursionLimit $ReleaseNumber $RootDirectory $ScheduledTask $ScriptCommandLine $SessionID $SetParentLink $SharedFunctions $SharedVariables $SoundDisplay $SoundDisplayFunction $SuppressInputFormHeads $SynchronousEvaluation $SyntaxHandler $System $SystemCharacterEncoding $SystemID $SystemWordLength $TemporaryDirectory $TemporaryPrefix $TextStyle $TimedOut $TimeUnit $TimeZone $TopDirectory $TraceOff $TraceOn $TracePattern $TracePostAction $TracePreAction $Urgent $UserAddOnsDirectory $UserBaseDirectory $UserDocumentsDirectory $UserName $Version $VersionNumber', contains: [ { - className: "comment", + className: 'comment', begin: /\(\*/, end: /\*\)/ }, @@ -27499,467 +59132,467 @@ /***/ }, - /* 446 */ + /* 451 */ /***/ function(module, exports) { - module.exports = function(hljs) { - var COMMON_CONTAINS = [ - hljs.C_NUMBER_MODE, - { - className: "string", - begin: "'", - end: "'", - contains: [hljs.BACKSLASH_ESCAPE, { begin: "''" }] - } - ]; + module.exports /* + Formal syntax is not published, helpful link: + https://github.com/kornilova-l/matlab-IntelliJ-plugin/blob/master/src/main/grammar/Matlab.bnf + */ = function( + hljs + ) { + var TRANSPOSE_RE = "('|\\.')+"; var TRANSPOSE = { relevance: 0, - contains: [ - { - begin: /'['\.]*/ - } - ] + contains: [{ begin: TRANSPOSE_RE }] }; return { keywords: { keyword: - "break case catch classdef continue else elseif end enumerated events for function " + - "global if methods otherwise parfor persistent properties return spmd switch try while", + 'break case catch classdef continue else elseif end enumerated events for function ' + + 'global if methods otherwise parfor persistent properties return spmd switch try while', built_in: - "sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan " + - "atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot " + - "cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog " + - "realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal " + - "cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli " + - "besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma " + - "gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms " + - "nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones " + - "eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length " + - "ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril " + - "triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute " + - "shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i inf nan " + - "isnan isinf isfinite j why compan gallery hadamard hankel hilb invhilb magic pascal " + - "rosser toeplitz vander wilkinson" + 'sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan ' + + 'atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot ' + + 'cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog ' + + 'realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal ' + + 'cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli ' + + 'besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma ' + + 'gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms ' + + 'nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones ' + + 'eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ' + + 'ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril ' + + 'triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute ' + + 'shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i inf nan ' + + 'isnan isinf isfinite j why compan gallery hadamard hankel hilb invhilb magic pascal ' + + 'rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table ' + + 'readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun ' + + 'legend intersect ismember procrustes hold num2cell ' }, illegal: '(//|"|#|/\\*|\\s+/\\w+)', contains: [ { - className: "function", - beginKeywords: "function", - end: "$", + className: 'function', + beginKeywords: 'function', + end: '$', contains: [ hljs.UNDERSCORE_TITLE_MODE, { - className: "params", + className: 'params', variants: [ - { begin: "\\(", end: "\\)" }, - { begin: "\\[", end: "\\]" } + { begin: '\\(', end: '\\)' }, + { begin: '\\[', end: '\\]' } ] } ] }, { - begin: /[a-zA-Z_][a-zA-Z_0-9]*'['\.]*/, - returnBegin: true, + className: 'built_in', + begin: /true|false/, relevance: 0, - contains: [ - { begin: /[a-zA-Z_][a-zA-Z_0-9]*/, relevance: 0 }, - TRANSPOSE.contains[0] - ] + starts: TRANSPOSE + }, + { + begin: '[a-zA-Z][a-zA-Z_0-9]*' + TRANSPOSE_RE, + relevance: 0 }, { - begin: "\\[", - end: "\\]", - contains: COMMON_CONTAINS, + className: 'number', + begin: hljs.C_NUMBER_RE, relevance: 0, starts: TRANSPOSE }, { - begin: "\\{", - end: /}/, - contains: COMMON_CONTAINS, + className: 'string', + begin: "'", + end: "'", + contains: [hljs.BACKSLASH_ESCAPE, { begin: "''" }] + }, + { + begin: /\]|}|\)/, relevance: 0, starts: TRANSPOSE }, { - // transpose operators at the end of a function call - begin: /\)/, - relevance: 0, + className: 'string', + begin: '"', + end: '"', + contains: [hljs.BACKSLASH_ESCAPE, { begin: '""' }], starts: TRANSPOSE }, - hljs.COMMENT("^\\s*\\%\\{\\s*$", "^\\s*\\%\\}\\s*$"), - hljs.COMMENT("\\%", "$") - ].concat(COMMON_CONTAINS) + hljs.COMMENT('^\\s*\\%\\{\\s*$', '^\\s*\\%\\}\\s*$'), + hljs.COMMENT('\\%', '$') + ] }; }; /***/ }, - /* 447 */ + /* 452 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = - "if then else elseif for thru do while unless step in and or not"; + 'if then else elseif for thru do while unless step in and or not'; var LITERALS = - "true false unknown inf minf ind und %e %i %pi %phi %gamma"; + 'true false unknown inf minf ind und %e %i %pi %phi %gamma'; var BUILTIN_FUNCTIONS = - " abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate" + - " addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix" + - " adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type" + - " alias allroots alphacharp alphanumericp amortization %and annuity_fv" + - " annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2" + - " applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply" + - " arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger" + - " asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order" + - " asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method" + - " av average_degree backtrace bars barsplot barsplot_description base64 base64_decode" + - " bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx" + - " bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify" + - " bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized" + - " bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp" + - " bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition" + - " block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description" + - " break bug_report build_info|10 buildq build_sample burn cabs canform canten" + - " cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli" + - " cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform" + - " cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel" + - " cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial" + - " cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson" + - " cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay" + - " ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic" + - " cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2" + - " charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps" + - " chinese cholesky christof chromatic_index chromatic_number cint circulant_graph" + - " clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph" + - " clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse" + - " collectterms columnop columnspace columnswap columnvector combination combine" + - " comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph" + - " complete_graph complex_number_p components compose_functions concan concat" + - " conjugate conmetderiv connected_components connect_vertices cons constant" + - " constantp constituent constvalue cont2part content continuous_freq contortion" + - " contour_plot contract contract_edge contragrad contrib_ode convert coord" + - " copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1" + - " covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline" + - " ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph" + - " cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate" + - " declare declare_constvalue declare_dimensions declare_fundamental_dimensions" + - " declare_fundamental_units declare_qty declare_translated declare_unit_conversion" + - " declare_units declare_weights decsym defcon define define_alt_display define_variable" + - " defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten" + - " delta demo demoivre denom depends derivdegree derivlist describe desolve" + - " determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag" + - " diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export" + - " dimacs_import dimension dimensionless dimensions dimensions_as_list direct" + - " directory discrete_freq disjoin disjointp disolate disp dispcon dispform" + - " dispfun dispJordan display disprule dispterms distrib divide divisors divsum" + - " dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart" + - " draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring" + - " edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth" + - " einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome" + - " ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using" + - " ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi" + - " ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp" + - " equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors" + - " euler ev eval_string evenp every evolution evolution2d evundiff example exp" + - " expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci" + - " expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li" + - " expintegral_shi expintegral_si explicit explose exponentialize express expt" + - " exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum" + - " factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements" + - " fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge" + - " file_search file_type fillarray findde find_root find_root_abs find_root_error" + - " find_root_rel first fix flatten flength float floatnump floor flower_snark" + - " flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran" + - " fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp" + - " foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s" + - " from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp" + - " fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units" + - " fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized" + - " gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide" + - " gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym" + - " geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean" + - " geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string" + - " get_pixel get_plot_option get_tex_environment get_tex_environment_default" + - " get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close" + - " gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum" + - " gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import" + - " graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery" + - " graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph" + - " grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path" + - " hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite" + - " hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description" + - " hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph" + - " icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy" + - " ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart" + - " imetric implicit implicit_derivative implicit_plot indexed_tensor indices" + - " induced_subgraph inferencep inference_result infix info_display init_atensor" + - " init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions" + - " integrate intersect intersection intervalp intopois intosum invariant1 invariant2" + - " inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc" + - " inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns" + - " inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint" + - " invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph" + - " is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate" + - " isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph" + - " items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc" + - " jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd" + - " jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill" + - " killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis" + - " kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform" + - " kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete" + - " kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace" + - " kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2" + - " kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson" + - " kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange" + - " laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp" + - " lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length" + - " let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit" + - " Lindstedt linear linearinterpol linear_program linear_regression line_graph" + - " linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials" + - " listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry" + - " log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst" + - " lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact" + - " lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub" + - " lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma" + - " make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country" + - " make_polygon make_random_state make_rgb_picture makeset make_string_input_stream" + - " make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom" + - " maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display" + - " mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker" + - " max max_clique max_degree max_flow maximize_lp max_independent_set max_matching" + - " maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform" + - " mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete" + - " mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic" + - " mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t" + - " mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull" + - " median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree" + - " min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor" + - " minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton" + - " mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions" + - " multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff" + - " multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary" + - " natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext" + - " newdet new_graph newline newton new_variable next_prime nicedummies niceindices" + - " ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp" + - " nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst" + - " nthroot nullity nullspace num numbered_boundaries numberp number_to_octets" + - " num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai" + - " nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin" + - " oid_to_octets op opena opena_binary openr openr_binary openw openw_binary" + - " operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless" + - " orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap" + - " out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface" + - " parg parGosper parse_string parse_timedate part part2cont partfrac partition" + - " partition_set partpol path_digraph path_graph pathname_directory pathname_name" + - " pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform" + - " pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete" + - " pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal" + - " pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal" + - " pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t" + - " pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph" + - " petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding" + - " playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff" + - " poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar" + - " polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion" + - " poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal" + - " poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal" + - " poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation" + - " poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm" + - " poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form" + - " poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part" + - " poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension" + - " poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod" + - " powerseries powerset prefix prev_prime primep primes principal_components" + - " print printf printfile print_graph printpois printprops prodrac product properties" + - " propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct" + - " puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp" + - " quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile" + - " quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2" + - " quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f" + - " quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel" + - " quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal" + - " quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t" + - " quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t" + - " quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan" + - " radius random random_bernoulli random_beta random_binomial random_bipartite_graph" + - " random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform" + - " random_exp random_f random_gamma random_general_finite_discrete random_geometric" + - " random_graph random_graph1 random_gumbel random_hypergeometric random_laplace" + - " random_logistic random_lognormal random_negative_binomial random_network" + - " random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto" + - " random_permutation random_poisson random_rayleigh random_regular_graph random_student_t" + - " random_tournament random_tree random_weibull range rank rat ratcoef ratdenom" + - " ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump" + - " ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array" + - " read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline" + - " read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate" + - " realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar" + - " rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus" + - " rem remainder remarray rembox remcomps remcon remcoord remfun remfunction" + - " remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions" + - " remove_fundamental_units remove_plot_option remove_vertex rempart remrule" + - " remsym remvalue rename rename_file reset reset_displays residue resolvante" + - " resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein" + - " resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer" + - " rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann" + - " rinvariant risch rk rmdir rncombine romberg room rootscontract round row" + - " rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i" + - " scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description" + - " scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second" + - " sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight" + - " setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state" + - " set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications" + - " set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path" + - " show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform" + - " simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert" + - " sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial" + - " skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp" + - " skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric" + - " skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic" + - " skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t" + - " skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t" + - " skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph" + - " smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve" + - " solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export" + - " sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1" + - " spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition" + - " sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus" + - " ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot" + - " starplot_description status std std1 std_bernoulli std_beta std_binomial" + - " std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma" + - " std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace" + - " std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t" + - " std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull" + - " stemplot stirling stirling1 stirling2 strim striml strimr string stringout" + - " stringp strong_components struve_h struve_l sublis sublist sublist_indices" + - " submatrix subsample subset subsetp subst substinpart subst_parallel substpart" + - " substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext" + - " symbolp symmdifference symmetricp system take_channel take_inference tan" + - " tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract" + - " tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference" + - " test_normality test_proportion test_proportions_difference test_rank_sum" + - " test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display" + - " texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter" + - " toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep" + - " totalfourier totient tpartpol trace tracematrix trace_options transform_sample" + - " translate translate_file transpose treefale tree_reduce treillis treinat" + - " triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate" + - " truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph" + - " truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget" + - " ultraspherical underlying_graph undiff union unique uniteigenvectors unitp" + - " units unit_step unitvector unorder unsum untellrat untimer" + - " untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli" + - " var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform" + - " var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel" + - " var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial" + - " var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson" + - " var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp" + - " verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance" + - " vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle" + - " vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j" + - " wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian" + - " xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta" + - " zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors" + - " zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table" + - " absboxchar activecontexts adapt_depth additive adim aform algebraic" + - " algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic" + - " animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar" + - " asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top" + - " azimuth background background_color backsubst berlefact bernstein_explicit" + - " besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest" + - " border boundaries_array box boxchar breakup %c capping cauchysum cbrange" + - " cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics" + - " colorbox columns commutative complex cone context contexts contour contour_levels" + - " cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp" + - " cube current_let_rule_package cylinder data_file_name debugmode decreasing" + - " default_let_rule_package delay dependencies derivabbrev derivsubst detout" + - " diagmetric diff dim dimensions dispflag display2d|10 display_format_internal" + - " distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor" + - " doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules" + - " dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart" + - " edge_color edge_coloring edge_partition edge_type edge_width %edispflag" + - " elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer" + - " epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type" + - " %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand" + - " expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine" + - " factlim factorflag factorial_expand factors_only fb feature features" + - " file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10" + - " file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color" + - " fill_density filled_func fixed_vertices flipflag float2bf font font_size" + - " fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim" + - " gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command" + - " gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command" + - " gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command" + - " gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble" + - " gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args" + - " Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both" + - " head_length head_type height hypergeometric_representation %iargs ibase" + - " icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form" + - " ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval" + - " infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued" + - " integrate_use_rootsof integration_constant integration_constant_counter interpolate_color" + - " intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr" + - " julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment" + - " label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max" + - " leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear" + - " linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params" + - " linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname" + - " loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx" + - " logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros" + - " mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult" + - " matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10" + - " maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint" + - " maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp" + - " mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver" + - " modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag" + - " newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc" + - " noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np" + - " npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties" + - " opsubst optimprefix optionset orientation origin orthopoly_returns_intervals" + - " outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution" + - " %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart" + - " png_file pochhammer_max_index points pointsize point_size points_joined point_type" + - " poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm" + - " poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list" + - " poly_secondary_elimination_order poly_top_reduction_only posfun position" + - " powerdisp pred prederror primep_number_of_tests product_use_gamma program" + - " programmode promote_float_to_bigfloat prompt proportional_axes props psexpand" + - " ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof" + - " ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann" + - " ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw" + - " refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs" + - " rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy" + - " same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck" + - " setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width" + - " show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type" + - " show_vertices show_weight simp simplified_output simplify_products simpproduct" + - " simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn" + - " solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag" + - " stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda" + - " subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric" + - " tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials" + - " tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch" + - " tr track transcompile transform transform_xy translate_fast_arrays transparent" + - " transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex" + - " tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign" + - " trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars" + - " tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode" + - " tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes" + - " ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble" + - " usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition" + - " vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface" + - " wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel" + - " xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate" + - " xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel" + - " xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width" + - " ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis" + - " ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis" + - " yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob" + - " zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest"; - var SYMBOLS = "_ __ %|0 %%|0"; + ' abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate' + + ' addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix' + + ' adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type' + + ' alias allroots alphacharp alphanumericp amortization %and annuity_fv' + + ' annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2' + + ' applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply' + + ' arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger' + + ' asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order' + + ' asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method' + + ' av average_degree backtrace bars barsplot barsplot_description base64 base64_decode' + + ' bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx' + + ' bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify' + + ' bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized' + + ' bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp' + + ' bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition' + + ' block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description' + + ' break bug_report build_info|10 buildq build_sample burn cabs canform canten' + + ' cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli' + + ' cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform' + + ' cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel' + + ' cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial' + + ' cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson' + + ' cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay' + + ' ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic' + + ' cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2' + + ' charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps' + + ' chinese cholesky christof chromatic_index chromatic_number cint circulant_graph' + + ' clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph' + + ' clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse' + + ' collectterms columnop columnspace columnswap columnvector combination combine' + + ' comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph' + + ' complete_graph complex_number_p components compose_functions concan concat' + + ' conjugate conmetderiv connected_components connect_vertices cons constant' + + ' constantp constituent constvalue cont2part content continuous_freq contortion' + + ' contour_plot contract contract_edge contragrad contrib_ode convert coord' + + ' copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1' + + ' covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline' + + ' ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph' + + ' cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate' + + ' declare declare_constvalue declare_dimensions declare_fundamental_dimensions' + + ' declare_fundamental_units declare_qty declare_translated declare_unit_conversion' + + ' declare_units declare_weights decsym defcon define define_alt_display define_variable' + + ' defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten' + + ' delta demo demoivre denom depends derivdegree derivlist describe desolve' + + ' determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag' + + ' diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export' + + ' dimacs_import dimension dimensionless dimensions dimensions_as_list direct' + + ' directory discrete_freq disjoin disjointp disolate disp dispcon dispform' + + ' dispfun dispJordan display disprule dispterms distrib divide divisors divsum' + + ' dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart' + + ' draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring' + + ' edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth' + + ' einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome' + + ' ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using' + + ' ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi' + + ' ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp' + + ' equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors' + + ' euler ev eval_string evenp every evolution evolution2d evundiff example exp' + + ' expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci' + + ' expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li' + + ' expintegral_shi expintegral_si explicit explose exponentialize express expt' + + ' exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum' + + ' factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements' + + ' fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge' + + ' file_search file_type fillarray findde find_root find_root_abs find_root_error' + + ' find_root_rel first fix flatten flength float floatnump floor flower_snark' + + ' flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran' + + ' fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp' + + ' foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s' + + ' from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp' + + ' fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units' + + ' fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized' + + ' gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide' + + ' gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym' + + ' geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean' + + ' geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string' + + ' get_pixel get_plot_option get_tex_environment get_tex_environment_default' + + ' get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close' + + ' gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum' + + ' gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import' + + ' graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery' + + ' graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph' + + ' grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path' + + ' hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite' + + ' hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description' + + ' hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph' + + ' icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy' + + ' ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart' + + ' imetric implicit implicit_derivative implicit_plot indexed_tensor indices' + + ' induced_subgraph inferencep inference_result infix info_display init_atensor' + + ' init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions' + + ' integrate intersect intersection intervalp intopois intosum invariant1 invariant2' + + ' inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc' + + ' inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns' + + ' inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint' + + ' invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph' + + ' is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate' + + ' isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph' + + ' items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc' + + ' jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd' + + ' jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill' + + ' killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis' + + ' kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform' + + ' kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete' + + ' kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace' + + ' kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2' + + ' kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson' + + ' kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange' + + ' laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp' + + ' lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length' + + ' let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit' + + ' Lindstedt linear linearinterpol linear_program linear_regression line_graph' + + ' linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials' + + ' listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry' + + ' log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst' + + ' lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact' + + ' lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub' + + ' lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma' + + ' make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country' + + ' make_polygon make_random_state make_rgb_picture makeset make_string_input_stream' + + ' make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom' + + ' maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display' + + ' mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker' + + ' max max_clique max_degree max_flow maximize_lp max_independent_set max_matching' + + ' maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform' + + ' mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete' + + ' mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic' + + ' mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t' + + ' mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull' + + ' median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree' + + ' min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor' + + ' minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton' + + ' mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions' + + ' multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff' + + ' multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary' + + ' natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext' + + ' newdet new_graph newline newton new_variable next_prime nicedummies niceindices' + + ' ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp' + + ' nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst' + + ' nthroot nullity nullspace num numbered_boundaries numberp number_to_octets' + + ' num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai' + + ' nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin' + + ' oid_to_octets op opena opena_binary openr openr_binary openw openw_binary' + + ' operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless' + + ' orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap' + + ' out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface' + + ' parg parGosper parse_string parse_timedate part part2cont partfrac partition' + + ' partition_set partpol path_digraph path_graph pathname_directory pathname_name' + + ' pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform' + + ' pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete' + + ' pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal' + + ' pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal' + + ' pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t' + + ' pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph' + + ' petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding' + + ' playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff' + + ' poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar' + + ' polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion' + + ' poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal' + + ' poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal' + + ' poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation' + + ' poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm' + + ' poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form' + + ' poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part' + + ' poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension' + + ' poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod' + + ' powerseries powerset prefix prev_prime primep primes principal_components' + + ' print printf printfile print_graph printpois printprops prodrac product properties' + + ' propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct' + + ' puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp' + + ' quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile' + + ' quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2' + + ' quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f' + + ' quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel' + + ' quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal' + + ' quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t' + + ' quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t' + + ' quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan' + + ' radius random random_bernoulli random_beta random_binomial random_bipartite_graph' + + ' random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform' + + ' random_exp random_f random_gamma random_general_finite_discrete random_geometric' + + ' random_graph random_graph1 random_gumbel random_hypergeometric random_laplace' + + ' random_logistic random_lognormal random_negative_binomial random_network' + + ' random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto' + + ' random_permutation random_poisson random_rayleigh random_regular_graph random_student_t' + + ' random_tournament random_tree random_weibull range rank rat ratcoef ratdenom' + + ' ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump' + + ' ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array' + + ' read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline' + + ' read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate' + + ' realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar' + + ' rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus' + + ' rem remainder remarray rembox remcomps remcon remcoord remfun remfunction' + + ' remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions' + + ' remove_fundamental_units remove_plot_option remove_vertex rempart remrule' + + ' remsym remvalue rename rename_file reset reset_displays residue resolvante' + + ' resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein' + + ' resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer' + + ' rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann' + + ' rinvariant risch rk rmdir rncombine romberg room rootscontract round row' + + ' rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i' + + ' scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description' + + ' scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second' + + ' sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight' + + ' setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state' + + ' set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications' + + ' set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path' + + ' show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform' + + ' simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert' + + ' sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial' + + ' skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp' + + ' skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric' + + ' skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic' + + ' skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t' + + ' skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t' + + ' skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph' + + ' smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve' + + ' solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export' + + ' sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1' + + ' spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition' + + ' sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus' + + ' ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot' + + ' starplot_description status std std1 std_bernoulli std_beta std_binomial' + + ' std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma' + + ' std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace' + + ' std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t' + + ' std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull' + + ' stemplot stirling stirling1 stirling2 strim striml strimr string stringout' + + ' stringp strong_components struve_h struve_l sublis sublist sublist_indices' + + ' submatrix subsample subset subsetp subst substinpart subst_parallel substpart' + + ' substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext' + + ' symbolp symmdifference symmetricp system take_channel take_inference tan' + + ' tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract' + + ' tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference' + + ' test_normality test_proportion test_proportions_difference test_rank_sum' + + ' test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display' + + ' texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter' + + ' toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep' + + ' totalfourier totient tpartpol trace tracematrix trace_options transform_sample' + + ' translate translate_file transpose treefale tree_reduce treillis treinat' + + ' triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate' + + ' truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph' + + ' truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget' + + ' ultraspherical underlying_graph undiff union unique uniteigenvectors unitp' + + ' units unit_step unitvector unorder unsum untellrat untimer' + + ' untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli' + + ' var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform' + + ' var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel' + + ' var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial' + + ' var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson' + + ' var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp' + + ' verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance' + + ' vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle' + + ' vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j' + + ' wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian' + + ' xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta' + + ' zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors' + + ' zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table' + + ' absboxchar activecontexts adapt_depth additive adim aform algebraic' + + ' algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic' + + ' animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar' + + ' asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top' + + ' azimuth background background_color backsubst berlefact bernstein_explicit' + + ' besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest' + + ' border boundaries_array box boxchar breakup %c capping cauchysum cbrange' + + ' cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics' + + ' colorbox columns commutative complex cone context contexts contour contour_levels' + + ' cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp' + + ' cube current_let_rule_package cylinder data_file_name debugmode decreasing' + + ' default_let_rule_package delay dependencies derivabbrev derivsubst detout' + + ' diagmetric diff dim dimensions dispflag display2d|10 display_format_internal' + + ' distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor' + + ' doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules' + + ' dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart' + + ' edge_color edge_coloring edge_partition edge_type edge_width %edispflag' + + ' elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer' + + ' epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type' + + ' %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand' + + ' expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine' + + ' factlim factorflag factorial_expand factors_only fb feature features' + + ' file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10' + + ' file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color' + + ' fill_density filled_func fixed_vertices flipflag float2bf font font_size' + + ' fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim' + + ' gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command' + + ' gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command' + + ' gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command' + + ' gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble' + + ' gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args' + + ' Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both' + + ' head_length head_type height hypergeometric_representation %iargs ibase' + + ' icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form' + + ' ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval' + + ' infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued' + + ' integrate_use_rootsof integration_constant integration_constant_counter interpolate_color' + + ' intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr' + + ' julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment' + + ' label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max' + + ' leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear' + + ' linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params' + + ' linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname' + + ' loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx' + + ' logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros' + + ' mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult' + + ' matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10' + + ' maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint' + + ' maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp' + + ' mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver' + + ' modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag' + + ' newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc' + + ' noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np' + + ' npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties' + + ' opsubst optimprefix optionset orientation origin orthopoly_returns_intervals' + + ' outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution' + + ' %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart' + + ' png_file pochhammer_max_index points pointsize point_size points_joined point_type' + + ' poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm' + + ' poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list' + + ' poly_secondary_elimination_order poly_top_reduction_only posfun position' + + ' powerdisp pred prederror primep_number_of_tests product_use_gamma program' + + ' programmode promote_float_to_bigfloat prompt proportional_axes props psexpand' + + ' ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof' + + ' ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann' + + ' ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw' + + ' refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs' + + ' rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy' + + ' same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck' + + ' setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width' + + ' show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type' + + ' show_vertices show_weight simp simplified_output simplify_products simpproduct' + + ' simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn' + + ' solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag' + + ' stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda' + + ' subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric' + + ' tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials' + + ' tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch' + + ' tr track transcompile transform transform_xy translate_fast_arrays transparent' + + ' transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex' + + ' tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign' + + ' trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars' + + ' tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode' + + ' tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes' + + ' ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble' + + ' usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition' + + ' vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface' + + ' wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel' + + ' xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate' + + ' xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel' + + ' xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width' + + ' ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis' + + ' ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis' + + ' yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob' + + ' zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest'; + var SYMBOLS = '_ __ %|0 %%|0'; return { - lexemes: "[A-Za-z_%][0-9A-Za-z_%]*", + lexemes: '[A-Za-z_%][0-9A-Za-z_%]*', keywords: { keyword: KEYWORDS, literal: LITERALS, @@ -27968,36 +59601,36 @@ }, contains: [ { - className: "comment", - begin: "/\\*", - end: "\\*/", - contains: ["self"] + className: 'comment', + begin: '/\\*', + end: '\\*/', + contains: ['self'] }, hljs.QUOTE_STRING_MODE, { - className: "number", + className: 'number', relevance: 0, variants: [ { // float number w/ exponent // hmm, I wonder if we ought to include other exponent markers? - begin: "\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b" + begin: '\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b' }, { // bigfloat number begin: - "\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b", + '\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b', relevance: 10 }, { // float number w/out exponent // Doesn't seem to recognize floats which start with '.' - begin: "\\b(\\.\\d+|\\d+\\.\\d+)\\b" + begin: '\\b(\\.\\d+|\\d+\\.\\d+)\\b' }, { // integer in base up to 36 // Doesn't seem to recognize integers which end with '.' - begin: "\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b" + begin: '\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b' } ] } @@ -28008,228 +59641,228 @@ /***/ }, - /* 448 */ + /* 453 */ /***/ function(module, exports) { module.exports = function(hljs) { return { keywords: - "int float string vector matrix if else switch case default while do for in break " + - "continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic " + - "addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey " + - "affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve " + - "alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor " + - "animDisplay animView annotate appendStringArray applicationName applyAttrPreset " + - "applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx " + - "artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu " + - "artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand " + - "assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface " + - "attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu " + - "attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp " + - "attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery " + - "autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults " + - "bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership " + - "bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType " + - "boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu " + - "buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge " + - "cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch " + - "catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox " + - "character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp " + - "checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip " + - "clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore " + - "closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter " + - "cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color " + - "colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp " + - "colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem " + - "componentEditor compositingInterop computePolysetVolume condition cone confirmDialog " + - "connectAttr connectControl connectDynamic connectJoint connectionInfo constrain " + - "constrainValue constructionHistory container containsMultibyte contextInfo control " + - "convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation " + - "convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache " + - "cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel " + - "cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver " + - "cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor " + - "createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer " + - "createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse " + - "currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx " + - "curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface " + - "curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox " + - "defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete " + - "deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes " + - "delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo " + - "dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable " + - "disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected " + - "displayColor displayCull displayLevelOfDetail displayPref displayRGBColor " + - "displaySmoothness displayStats displayString displaySurface distanceDimContext " + - "distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct " + - "doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator " + - "duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression " + - "dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor " + - "dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers " + - "editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor " + - "editorTemplate effector emit emitter enableDevice encodeString endString endsWith env " + - "equivalent equivalentTol erf error eval evalDeferred evalEcho event " + - "exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp " + - "expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof " + - "fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo " + - "filetest filletCurve filter filterCurve filterExpand filterStudioImport " + - "findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster " + - "finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar " + - "floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo " + - "fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint " + - "frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss " + - "geometryConstraint getApplicationVersionAsFloat getAttr getClassification " + - "getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes " + - "getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender " + - "glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl " + - "gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid " + - "gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap " + - "HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor " + - "HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached " + - "HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel " + - "headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey " + - "hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender " + - "hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox " + - "iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel " + - "ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem " + - "ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform " + - "insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance " + - "instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp " + - "interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf " + - "isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect " + - "itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx " + - "jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner " + - "keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx " + - "keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx " + - "keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx " + - "keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor " + - "layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList " + - "lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep " + - "listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory " + - "listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation " + - "listNodeTypes listPanelCategories listRelatives listSets listTransforms " + - "listUnselected listerEditor loadFluid loadNewShelf loadPlugin " + - "loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log " + - "longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive " + - "makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext " + - "manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx " + - "manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout " + - "menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp " + - "mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move " + - "moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute " + - "nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast " + - "nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint " + - "normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect " + - "nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref " + - "nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType " + - "objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface " + - "offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit " + - "orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier " + - "paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration " + - "panelHistory paramDimContext paramDimension paramLocator parent parentConstraint " + - "particle particleExists particleInstancer particleRenderInfo partition pasteKey " + - "pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture " + - "pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo " + - "pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult " + - "pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend " + - "polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal " + - "polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge " + - "polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge " + - "polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet " + - "polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet " + - "polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection " + - "polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge " + - "polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet " + - "polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix " + - "polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut " + - "polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet " + - "polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge " + - "polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex " + - "polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection " + - "polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection " + - "polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint " + - "polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate " + - "polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge " + - "polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing " + - "polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet " + - "polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace " + - "popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer " + - "projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx " + - "propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd " + - "python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection " + - "radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl " + - "readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference " + - "referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE " + - "registerPluginResource rehash reloadImage removeJoint removeMultiInstance " + - "removePanelCategory rename renameAttr renameSelectionList renameUI render " + - "renderGlobalsNode renderInfo renderLayerButton renderLayerParent " + - "renderLayerPostProcess renderLayerUnparent renderManip renderPartition " + - "renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor " + - "renderWindowSelectContext renderer reorder reorderDeformers requires reroot " + - "resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget " + - "reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx " + - "rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout " + - "runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage " + - "saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale " + - "scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor " + - "sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable " + - "scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt " + - "searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey " + - "selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType " + - "selectedNodes selectionConnection separator setAttr setAttrEnumResource " + - "setAttrMapping setAttrNiceNameResource setConstraintRestPosition " + - "setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr " + - "setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe " + - "setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag " + - "setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject " + - "setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets " + - "shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare " + - "shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField " + - "shortNameOf showHelp showHidden showManipCtx showSelectionInTitle " + - "showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface " + - "size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep " + - "snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound " + - "soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort " + - "spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString " + - "startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp " + - "stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex " + - "stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex " + - "stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString " + - "stringToStringArray strip stripPrefixFromName stroke subdAutoProjection " + - "subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV " + - "subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror " + - "subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease " + - "subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring " + - "surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton " + - "symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext " + - "texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext " + - "texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text " + - "textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList " + - "textToShelf textureDisplacePlane textureHairColor texturePlacementContext " + - "textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath " + - "toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower " + - "toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper " + - "trace track trackCtx transferAttributes transformCompare transformLimits translator " + - "trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence " + - "twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit " + - "unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink " + - "uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane " + - "viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex " + - "waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire " + - "wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform", - illegal: "", + 'int float string vector matrix if else switch case default while do for in break ' + + 'continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic ' + + 'addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey ' + + 'affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve ' + + 'alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor ' + + 'animDisplay animView annotate appendStringArray applicationName applyAttrPreset ' + + 'applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx ' + + 'artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu ' + + 'artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand ' + + 'assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface ' + + 'attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu ' + + 'attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp ' + + 'attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery ' + + 'autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults ' + + 'bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership ' + + 'bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType ' + + 'boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu ' + + 'buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge ' + + 'cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch ' + + 'catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox ' + + 'character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp ' + + 'checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip ' + + 'clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore ' + + 'closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter ' + + 'cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color ' + + 'colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp ' + + 'colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem ' + + 'componentEditor compositingInterop computePolysetVolume condition cone confirmDialog ' + + 'connectAttr connectControl connectDynamic connectJoint connectionInfo constrain ' + + 'constrainValue constructionHistory container containsMultibyte contextInfo control ' + + 'convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation ' + + 'convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache ' + + 'cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel ' + + 'cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver ' + + 'cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor ' + + 'createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer ' + + 'createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse ' + + 'currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx ' + + 'curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface ' + + 'curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox ' + + 'defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete ' + + 'deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes ' + + 'delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo ' + + 'dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable ' + + 'disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected ' + + 'displayColor displayCull displayLevelOfDetail displayPref displayRGBColor ' + + 'displaySmoothness displayStats displayString displaySurface distanceDimContext ' + + 'distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct ' + + 'doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator ' + + 'duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression ' + + 'dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor ' + + 'dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers ' + + 'editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor ' + + 'editorTemplate effector emit emitter enableDevice encodeString endString endsWith env ' + + 'equivalent equivalentTol erf error eval evalDeferred evalEcho event ' + + 'exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp ' + + 'expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof ' + + 'fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo ' + + 'filetest filletCurve filter filterCurve filterExpand filterStudioImport ' + + 'findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster ' + + 'finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar ' + + 'floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo ' + + 'fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint ' + + 'frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss ' + + 'geometryConstraint getApplicationVersionAsFloat getAttr getClassification ' + + 'getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes ' + + 'getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender ' + + 'glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl ' + + 'gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid ' + + 'gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap ' + + 'HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor ' + + 'HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached ' + + 'HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel ' + + 'headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey ' + + 'hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender ' + + 'hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox ' + + 'iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ' + + 'ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ' + + 'ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform ' + + 'insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance ' + + 'instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp ' + + 'interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf ' + + 'isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect ' + + 'itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx ' + + 'jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner ' + + 'keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx ' + + 'keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx ' + + 'keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx ' + + 'keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor ' + + 'layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList ' + + 'lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep ' + + 'listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory ' + + 'listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation ' + + 'listNodeTypes listPanelCategories listRelatives listSets listTransforms ' + + 'listUnselected listerEditor loadFluid loadNewShelf loadPlugin ' + + 'loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log ' + + 'longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive ' + + 'makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext ' + + 'manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx ' + + 'manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout ' + + 'menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp ' + + 'mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move ' + + 'moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute ' + + 'nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast ' + + 'nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint ' + + 'normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect ' + + 'nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref ' + + 'nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType ' + + 'objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface ' + + 'offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit ' + + 'orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier ' + + 'paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration ' + + 'panelHistory paramDimContext paramDimension paramLocator parent parentConstraint ' + + 'particle particleExists particleInstancer particleRenderInfo partition pasteKey ' + + 'pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture ' + + 'pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo ' + + 'pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult ' + + 'pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend ' + + 'polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal ' + + 'polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge ' + + 'polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge ' + + 'polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet ' + + 'polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet ' + + 'polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection ' + + 'polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge ' + + 'polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet ' + + 'polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix ' + + 'polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut ' + + 'polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet ' + + 'polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge ' + + 'polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex ' + + 'polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection ' + + 'polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection ' + + 'polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint ' + + 'polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate ' + + 'polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge ' + + 'polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing ' + + 'polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet ' + + 'polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace ' + + 'popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer ' + + 'projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx ' + + 'propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd ' + + 'python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection ' + + 'radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl ' + + 'readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference ' + + 'referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE ' + + 'registerPluginResource rehash reloadImage removeJoint removeMultiInstance ' + + 'removePanelCategory rename renameAttr renameSelectionList renameUI render ' + + 'renderGlobalsNode renderInfo renderLayerButton renderLayerParent ' + + 'renderLayerPostProcess renderLayerUnparent renderManip renderPartition ' + + 'renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor ' + + 'renderWindowSelectContext renderer reorder reorderDeformers requires reroot ' + + 'resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget ' + + 'reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx ' + + 'rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout ' + + 'runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage ' + + 'saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale ' + + 'scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor ' + + 'sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable ' + + 'scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt ' + + 'searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey ' + + 'selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType ' + + 'selectedNodes selectionConnection separator setAttr setAttrEnumResource ' + + 'setAttrMapping setAttrNiceNameResource setConstraintRestPosition ' + + 'setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr ' + + 'setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe ' + + 'setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag ' + + 'setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject ' + + 'setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets ' + + 'shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare ' + + 'shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField ' + + 'shortNameOf showHelp showHidden showManipCtx showSelectionInTitle ' + + 'showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface ' + + 'size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep ' + + 'snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound ' + + 'soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort ' + + 'spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString ' + + 'startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp ' + + 'stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex ' + + 'stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex ' + + 'stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString ' + + 'stringToStringArray strip stripPrefixFromName stroke subdAutoProjection ' + + 'subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV ' + + 'subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror ' + + 'subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease ' + + 'subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring ' + + 'surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton ' + + 'symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext ' + + 'texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext ' + + 'texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text ' + + 'textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList ' + + 'textToShelf textureDisplacePlane textureHairColor texturePlacementContext ' + + 'textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath ' + + 'toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower ' + + 'toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper ' + + 'trace track trackCtx transferAttributes transformCompare transformLimits translator ' + + 'trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence ' + + 'twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit ' + + 'unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink ' + + 'uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane ' + + 'viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex ' + + 'waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire ' + + 'wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform', + illegal: '', contains: [ hljs.C_NUMBER_MODE, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, { - className: "string", - begin: "`", - end: "`", + className: 'string', + begin: '`', + end: '`', contains: [hljs.BACKSLASH_ESCAPE] }, { // eats variables - begin: "[\\$\\%\\@](\\^\\w\\b|#\\w+|[^\\s\\w{]|{\\w+}|\\w+)" + begin: '[\\$\\%\\@](\\^\\w\\b|#\\w+|[^\\s\\w{]|{\\w+}|\\w+)' }, hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE @@ -28239,73 +59872,73 @@ /***/ }, - /* 449 */ + /* 454 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { keyword: - "module use_module import_module include_module end_module initialise " + - "mutable initialize finalize finalise interface implementation pred " + - "mode func type inst solver any_pred any_func is semidet det nondet " + - "multi erroneous failure cc_nondet cc_multi typeclass instance where " + - "pragma promise external trace atomic or_else require_complete_switch " + - "require_det require_semidet require_multi require_nondet " + - "require_cc_multi require_cc_nondet require_erroneous require_failure", + 'module use_module import_module include_module end_module initialise ' + + 'mutable initialize finalize finalise interface implementation pred ' + + 'mode func type inst solver any_pred any_func is semidet det nondet ' + + 'multi erroneous failure cc_nondet cc_multi typeclass instance where ' + + 'pragma promise external trace atomic or_else require_complete_switch ' + + 'require_det require_semidet require_multi require_nondet ' + + 'require_cc_multi require_cc_nondet require_erroneous require_failure', meta: // pragma - "inline no_inline type_spec source_file fact_table obsolete memo " + - "loop_check minimal_model terminates does_not_terminate " + - "check_termination promise_equivalent_clauses " + + 'inline no_inline type_spec source_file fact_table obsolete memo ' + + 'loop_check minimal_model terminates does_not_terminate ' + + 'check_termination promise_equivalent_clauses ' + // preprocessor - "foreign_proc foreign_decl foreign_code foreign_type " + - "foreign_import_module foreign_export_enum foreign_export " + - "foreign_enum may_call_mercury will_not_call_mercury thread_safe " + - "not_thread_safe maybe_thread_safe promise_pure promise_semipure " + - "tabled_for_io local untrailed trailed attach_to_io_state " + - "can_pass_as_mercury_type stable will_not_throw_exception " + - "may_modify_trail will_not_modify_trail may_duplicate " + - "may_not_duplicate affects_liveness does_not_affect_liveness " + - "doesnt_affect_liveness no_sharing unknown_sharing sharing", + 'foreign_proc foreign_decl foreign_code foreign_type ' + + 'foreign_import_module foreign_export_enum foreign_export ' + + 'foreign_enum may_call_mercury will_not_call_mercury thread_safe ' + + 'not_thread_safe maybe_thread_safe promise_pure promise_semipure ' + + 'tabled_for_io local untrailed trailed attach_to_io_state ' + + 'can_pass_as_mercury_type stable will_not_throw_exception ' + + 'may_modify_trail will_not_modify_trail may_duplicate ' + + 'may_not_duplicate affects_liveness does_not_affect_liveness ' + + 'doesnt_affect_liveness no_sharing unknown_sharing sharing', built_in: - "some all not if then else true fail false try catch catch_any " + - "semidet_true semidet_false semidet_fail impure_true impure semipure" + 'some all not if then else true fail false try catch catch_any ' + + 'semidet_true semidet_false semidet_fail impure_true impure semipure' }; - var COMMENT = hljs.COMMENT("%", "$"); + var COMMENT = hljs.COMMENT('%', '$'); var NUMCODE = { - className: "number", + className: 'number', begin: "0'.\\|0[box][0-9a-fA-F]*" }; var ATOM = hljs.inherit(hljs.APOS_STRING_MODE, { relevance: 0 }); var STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, { relevance: 0 }); var STRING_FMT = { - className: "subst", + className: 'subst', begin: - "\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]", + '\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]', relevance: 0 }; STRING.contains.push(STRING_FMT); var IMPLICATION = { - className: "built_in", + className: 'built_in', variants: [ - { begin: "<=>" }, - { begin: "<=", relevance: 0 }, - { begin: "=>", relevance: 0 }, - { begin: "/\\\\" }, - { begin: "\\\\/" } + { begin: '<=>' }, + { begin: '<=', relevance: 0 }, + { begin: '=>', relevance: 0 }, + { begin: '/\\\\' }, + { begin: '\\\\/' } ] }; var HEAD_BODY_CONJUNCTION = { - className: "built_in", - variants: [{ begin: ":-\\|-->" }, { begin: "=", relevance: 0 }] + className: 'built_in', + variants: [{ begin: ':-\\|-->' }, { begin: '=', relevance: 0 }] }; return { - aliases: ["m", "moo"], + aliases: ['m', 'moo'], keywords: KEYWORDS, contains: [ IMPLICATION, @@ -28323,151 +59956,151 @@ /***/ }, - /* 450 */ + /* 455 */ /***/ function(module, exports) { module.exports = function(hljs) { //local labels: %?[FB]?[AT]?\d{1,2}\w+ return { case_insensitive: true, - aliases: ["mips"], - lexemes: "\\.?" + hljs.IDENT_RE, + aliases: ['mips'], + lexemes: '\\.?' + hljs.IDENT_RE, keywords: { meta: //GNU preprocs - ".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ", + '.2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ', built_in: - "$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 " + // integer registers - "$16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 " + // integer registers - "zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 " + // integer register aliases - "t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 " + // integer register aliases - "k0 k1 gp sp fp ra " + // integer register aliases - "$f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 " + // floating-point registers - "$f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 " + // floating-point registers - "Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi " + // Coprocessor 0 registers - "HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId " + // Coprocessor 0 registers - "EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr " + // Coprocessor 0 registers - "ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt " // Coprocessor 0 registers + '$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 ' + // integer registers + '$16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 ' + // integer registers + 'zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 ' + // integer register aliases + 't0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 ' + // integer register aliases + 'k0 k1 gp sp fp ra ' + // integer register aliases + '$f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 ' + // floating-point registers + '$f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 ' + // floating-point registers + 'Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi ' + // Coprocessor 0 registers + 'HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId ' + // Coprocessor 0 registers + 'EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ' + // Coprocessor 0 registers + 'ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt ' // Coprocessor 0 registers }, contains: [ { - className: "keyword", + className: 'keyword', begin: - "\\b(" + //mnemonics + '\\b(' + //mnemonics // 32-bit integer instructions - "addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|" + - "bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(.hb)?|jr(.hb)?|lbu?|lhu?|" + - "ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|" + - "multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|" + - "srlv?|subu?|sw[lr]?|xori?|wsbh|" + + 'addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|' + + 'bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(.hb)?|jr(.hb)?|lbu?|lhu?|' + + 'll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|' + + 'multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|' + + 'srlv?|subu?|sw[lr]?|xori?|wsbh|' + // floating-point instructions - "abs.[sd]|add.[sd]|alnv.ps|bc1[ft]l?|" + - "c.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et]).[sd]|" + - "(ceil|floor|round|trunc).[lw].[sd]|cfc1|cvt.d.[lsw]|" + - "cvt.l.[dsw]|cvt.ps.s|cvt.s.[dlw]|cvt.s.p[lu]|cvt.w.[dls]|" + - "div.[ds]|ldx?c1|luxc1|lwx?c1|madd.[sd]|mfc1|mov[fntz]?.[ds]|" + - "msub.[sd]|mth?c1|mul.[ds]|neg.[ds]|nmadd.[ds]|nmsub.[ds]|" + - "p[lu][lu].ps|recip.fmt|r?sqrt.[ds]|sdx?c1|sub.[ds]|suxc1|" + - "swx?c1|" + + 'abs.[sd]|add.[sd]|alnv.ps|bc1[ft]l?|' + + 'c.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et]).[sd]|' + + '(ceil|floor|round|trunc).[lw].[sd]|cfc1|cvt.d.[lsw]|' + + 'cvt.l.[dsw]|cvt.ps.s|cvt.s.[dlw]|cvt.s.p[lu]|cvt.w.[dls]|' + + 'div.[ds]|ldx?c1|luxc1|lwx?c1|madd.[sd]|mfc1|mov[fntz]?.[ds]|' + + 'msub.[sd]|mth?c1|mul.[ds]|neg.[ds]|nmadd.[ds]|nmsub.[ds]|' + + 'p[lu][lu].ps|recip.fmt|r?sqrt.[ds]|sdx?c1|sub.[ds]|suxc1|' + + 'swx?c1|' + // system control instructions - "break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|" + - "rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|" + - "tlti?u?|tnei?|wait|wrpgpr" + - ")", - end: "\\s" + 'break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|' + + 'rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|' + + 'tlti?u?|tnei?|wait|wrpgpr' + + ')', + end: '\\s' }, - hljs.COMMENT("[;#]", "$"), + hljs.COMMENT('[;#]', '$'), hljs.C_BLOCK_COMMENT_MODE, hljs.QUOTE_STRING_MODE, { - className: "string", + className: 'string', begin: "'", end: "[^\\\\]'", relevance: 0 }, { - className: "title", - begin: "\\|", - end: "\\|", - illegal: "\\n", + className: 'title', + begin: '\\|', + end: '\\|', + illegal: '\\n', relevance: 0 }, { - className: "number", + className: 'number', variants: [ - { begin: "0x[0-9a-f]+" }, //hex - { begin: "\\b-?\\d+" } //bare number + { begin: '0x[0-9a-f]+' }, //hex + { begin: '\\b-?\\d+' } //bare number ], relevance: 0 }, { - className: "symbol", + className: 'symbol', variants: [ - { begin: "^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:" }, //GNU MIPS syntax - { begin: "^\\s*[0-9]+:" }, // numbered local labels - { begin: "[0-9]+[bf]" } // number local label reference (backwards, forwards) + { begin: '^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:' }, //GNU MIPS syntax + { begin: '^\\s*[0-9]+:' }, // numbered local labels + { begin: '[0-9]+[bf]' } // number local label reference (backwards, forwards) ], relevance: 0 } ], - illegal: "/" + illegal: '/' }; }; /***/ }, - /* 451 */ + /* 456 */ /***/ function(module, exports) { module.exports = function(hljs) { return { keywords: - "environ vocabularies notations constructors definitions " + - "registrations theorems schemes requirements begin end definition " + - "registration cluster existence pred func defpred deffunc theorem " + - "proof let take assume then thus hence ex for st holds consider " + - "reconsider such that and in provided of as from be being by means " + - "equals implies iff redefine define now not or attr is mode " + - "suppose per cases set thesis contradiction scheme reserve struct " + - "correctness compatibility coherence symmetry assymetry " + - "reflexivity irreflexivity connectedness uniqueness commutativity " + - "idempotence involutiveness projectivity", - contains: [hljs.COMMENT("::", "$")] + 'environ vocabularies notations constructors definitions ' + + 'registrations theorems schemes requirements begin end definition ' + + 'registration cluster existence pred func defpred deffunc theorem ' + + 'proof let take assume then thus hence ex for st holds consider ' + + 'reconsider such that and in provided of as from be being by means ' + + 'equals implies iff redefine define now not or attr is mode ' + + 'suppose per cases set thesis contradiction scheme reserve struct ' + + 'correctness compatibility coherence symmetry assymetry ' + + 'reflexivity irreflexivity connectedness uniqueness commutativity ' + + 'idempotence involutiveness projectivity', + contains: [hljs.COMMENT('::', '$')] }; }; /***/ }, - /* 452 */ + /* 457 */ /***/ function(module, exports) { module.exports = function(hljs) { var PERL_KEYWORDS = - "getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc " + - "ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime " + - "readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qq" + - "fileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent " + - "shutdown dump chomp connect getsockname die socketpair close flock exists index shmget" + - "sub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr " + - "unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 " + - "getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline " + - "endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand " + - "mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink " + - "getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr " + - "untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link " + - "getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller " + - "lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and " + - "sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 " + - "chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach " + - "tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedir" + - "ioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe " + - "atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when"; + 'getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ' + + 'ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime ' + + 'readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qq' + + 'fileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent ' + + 'shutdown dump chomp connect getsockname die socketpair close flock exists index shmget' + + 'sub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr ' + + 'unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 ' + + 'getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline ' + + 'endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand ' + + 'mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink ' + + 'getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr ' + + 'untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link ' + + 'getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller ' + + 'lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and ' + + 'sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 ' + + 'chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach ' + + 'tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedir' + + 'ioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe ' + + 'atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when'; var SUBST = { - className: "subst", - begin: "[$@]\\{", - end: "\\}", + className: 'subst', + begin: '[$@]\\{', + end: '\\}', keywords: PERL_KEYWORDS }; var METHOD = { - begin: "->{", - end: "}" + begin: '->{', + end: '}' // contains defined later }; var VAR = { @@ -28481,42 +60114,42 @@ var PERL_DEFAULT_CONTAINS = [ VAR, hljs.HASH_COMMENT_MODE, - hljs.COMMENT("^\\=\\w", "\\=cut", { + hljs.COMMENT('^\\=\\w', '\\=cut', { endsWithParent: true }), METHOD, { - className: "string", + className: 'string', contains: STRING_CONTAINS, variants: [ { - begin: "q[qwxr]?\\s*\\(", - end: "\\)", + begin: 'q[qwxr]?\\s*\\(', + end: '\\)', relevance: 5 }, { - begin: "q[qwxr]?\\s*\\[", - end: "\\]", + begin: 'q[qwxr]?\\s*\\[', + end: '\\]', relevance: 5 }, { - begin: "q[qwxr]?\\s*\\{", - end: "\\}", + begin: 'q[qwxr]?\\s*\\{', + end: '\\}', relevance: 5 }, { - begin: "q[qwxr]?\\s*\\|", - end: "\\|", + begin: 'q[qwxr]?\\s*\\|', + end: '\\|', relevance: 5 }, { - begin: "q[qwxr]?\\s*\\<", - end: "\\>", + begin: 'q[qwxr]?\\s*\\<', + end: '\\>', relevance: 5 }, { - begin: "qw\\s+q", - end: "q", + begin: 'qw\\s+q', + end: 'q', relevance: 5 }, { @@ -28529,73 +60162,73 @@ end: '"' }, { - begin: "`", - end: "`", + begin: '`', + end: '`', contains: [hljs.BACKSLASH_ESCAPE] }, { - begin: "{\\w+}", + begin: '{\\w+}', contains: [], relevance: 0 }, { - begin: "-?\\w+\\s*\\=\\>", + begin: '-?\\w+\\s*\\=\\>', contains: [], relevance: 0 } ] }, { - className: "number", + className: 'number', begin: - "(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b", + '(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b', relevance: 0 }, { // regexp container begin: - "(\\/\\/|" + + '(\\/\\/|' + hljs.RE_STARTERS_RE + - "|\\b(split|return|print|reverse|grep)\\b)\\s*", - keywords: "split return print reverse grep", + '|\\b(split|return|print|reverse|grep)\\b)\\s*', + keywords: 'split return print reverse grep', relevance: 0, contains: [ hljs.HASH_COMMENT_MODE, { - className: "regexp", - begin: "(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*", + className: 'regexp', + begin: '(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*', relevance: 10 }, { - className: "regexp", - begin: "(m|qr)?/", - end: "/[a-z]*", + className: 'regexp', + begin: '(m|qr)?/', + end: '/[a-z]*', contains: [hljs.BACKSLASH_ESCAPE], relevance: 0 // allows empty "//" which is a common comment delimiter in other languages } ] }, { - className: "function", - beginKeywords: "sub", - end: "(\\s*\\(.*?\\))?[;{]", + className: 'function', + beginKeywords: 'sub', + end: '(\\s*\\(.*?\\))?[;{]', excludeEnd: true, relevance: 5, contains: [hljs.TITLE_MODE] }, { - begin: "-\\w\\b", + begin: '-\\w\\b', relevance: 0 }, { - begin: "^__DATA__$", - end: "^__END__$", - subLanguage: "mojolicious", + begin: '^__DATA__$', + end: '^__END__$', + subLanguage: 'mojolicious', contains: [ { - begin: "^@@.*", - end: "$", - className: "comment" + begin: '^@@.*', + end: '$', + className: 'comment' } ] } @@ -28604,7 +60237,7 @@ METHOD.contains = PERL_DEFAULT_CONTAINS; return { - aliases: ["pl", "pm"], + aliases: ['pl', 'pm'], lexemes: /[\w\.]+/, keywords: PERL_KEYWORDS, contains: PERL_DEFAULT_CONTAINS @@ -28613,27 +60246,27 @@ /***/ }, - /* 453 */ + /* 458 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - subLanguage: "xml", + subLanguage: 'xml', contains: [ { - className: "meta", - begin: "^__(END|DATA)__$" + className: 'meta', + begin: '^__(END|DATA)__$' }, // mojolicious line { - begin: "^\\s*%{1,2}={0,2}", - end: "$", - subLanguage: "perl" + begin: '^\\s*%{1,2}={0,2}', + end: '$', + subLanguage: 'perl' }, // mojolicious block { - begin: "<%{1,2}={0,2}", - end: "={0,1}%>", - subLanguage: "perl", + begin: '<%{1,2}={0,2}', + end: '={0,1}%>', + subLanguage: 'perl', excludeBegin: true, excludeEnd: true } @@ -28643,15 +60276,15 @@ /***/ }, - /* 454 */ + /* 459 */ /***/ function(module, exports) { module.exports = function(hljs) { var NUMBER = { - className: "number", + className: 'number', relevance: 0, variants: [ { - begin: "[$][a-fA-F0-9]+" + begin: '[$][a-fA-F0-9]+' }, hljs.NUMBER_MODE ] @@ -28661,58 +60294,58 @@ case_insensitive: true, keywords: { keyword: - "public private property continue exit extern new try catch " + - "eachin not abstract final select case default const local global field " + - "end if then else elseif endif while wend repeat until forever for " + - "to step next return module inline throw import", + 'public private property continue exit extern new try catch ' + + 'eachin not abstract final select case default const local global field ' + + 'end if then else elseif endif while wend repeat until forever for ' + + 'to step next return module inline throw import', built_in: - "DebugLog DebugStop Error Print ACos ACosr ASin ASinr ATan ATan2 ATan2r ATanr Abs Abs Ceil " + - "Clamp Clamp Cos Cosr Exp Floor Log Max Max Min Min Pow Sgn Sgn Sin Sinr Sqrt Tan Tanr Seed PI HALFPI TWOPI", + 'DebugLog DebugStop Error Print ACos ACosr ASin ASinr ATan ATan2 ATan2r ATanr Abs Abs Ceil ' + + 'Clamp Clamp Cos Cosr Exp Floor Log Max Max Min Min Pow Sgn Sgn Sin Sinr Sqrt Tan Tanr Seed PI HALFPI TWOPI', - literal: "true false null and or shl shr mod" + literal: 'true false null and or shl shr mod' }, illegal: /\/\*/, contains: [ - hljs.COMMENT("#rem", "#end"), - hljs.COMMENT("'", "$", { + hljs.COMMENT('#rem', '#end'), + hljs.COMMENT("'", '$', { relevance: 0 }), { - className: "function", - beginKeywords: "function method", - end: "[(=:]|$", + className: 'function', + beginKeywords: 'function method', + end: '[(=:]|$', illegal: /\n/, contains: [hljs.UNDERSCORE_TITLE_MODE] }, { - className: "class", - beginKeywords: "class interface", - end: "$", + className: 'class', + beginKeywords: 'class interface', + end: '$', contains: [ { - beginKeywords: "extends implements" + beginKeywords: 'extends implements' }, hljs.UNDERSCORE_TITLE_MODE ] }, { - className: "built_in", - begin: "\\b(self|super)\\b" + className: 'built_in', + begin: '\\b(self|super)\\b' }, { - className: "meta", - begin: "\\s*#", - end: "$", - keywords: { "meta-keyword": "if else elseif endif end then" } + className: 'meta', + begin: '\\s*#', + end: '$', + keywords: { 'meta-keyword': 'if else elseif endif end then' } }, { - className: "meta", - begin: "^\\s*strict\\b" + className: 'meta', + begin: '^\\s*strict\\b' }, { - beginKeywords: "alias", - end: "=", + beginKeywords: 'alias', + end: '=', contains: [hljs.UNDERSCORE_TITLE_MODE] }, hljs.QUOTE_STRING_MODE, @@ -28723,34 +60356,34 @@ /***/ }, - /* 455 */ + /* 460 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { keyword: // Moonscript keywords - "if then not for in while do return else elseif break continue switch and or " + - "unless when class extends super local import export from using", - literal: "true false nil", + 'if then not for in while do return else elseif break continue switch and or ' + + 'unless when class extends super local import export from using', + literal: 'true false nil', built_in: - "_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load " + - "loadfile loadstring module next pairs pcall print rawequal rawget rawset require " + - "select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug " + - "io math os package string table" + '_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load ' + + 'loadfile loadstring module next pairs pcall print rawequal rawget rawset require ' + + 'select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug ' + + 'io math os package string table' }; - var JS_IDENT_RE = "[A-Za-z$_][0-9A-Za-z$_]*"; + var JS_IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*'; var SUBST = { - className: "subst", + className: 'subst', begin: /#\{/, end: /}/, keywords: KEYWORDS }; var EXPRESSIONS = [ hljs.inherit(hljs.C_NUMBER_MODE, { - starts: { end: "(\\s*/)?", relevance: 0 } + starts: { end: '(\\s*/)?', relevance: 0 } }), // a number tries to eat the following slash to prevent treating it as a regexp { - className: "string", + className: 'string', variants: [ { begin: /'/, @@ -28765,23 +60398,23 @@ ] }, { - className: "built_in", - begin: "@__" + hljs.IDENT_RE + className: 'built_in', + begin: '@__' + hljs.IDENT_RE }, { - begin: "@" + hljs.IDENT_RE // relevance booster on par with CoffeeScript + begin: '@' + hljs.IDENT_RE // relevance booster on par with CoffeeScript }, { - begin: hljs.IDENT_RE + "\\\\" + hljs.IDENT_RE // inst\method + begin: hljs.IDENT_RE + '\\\\' + hljs.IDENT_RE // inst\method } ]; SUBST.contains = EXPRESSIONS; var TITLE = hljs.inherit(hljs.TITLE_MODE, { begin: JS_IDENT_RE }); - var PARAMS_RE = "(\\(.*\\))?\\s*\\B[-=]>"; + var PARAMS_RE = '(\\(.*\\))?\\s*\\B[-=]>'; var PARAMS = { - className: "params", - begin: "\\([^\\(]", + className: 'params', + begin: '\\([^\\(]', returnBegin: true, /* We need another contained nameless mode to not have every nested pair of parens to be called "params" */ @@ -28790,21 +60423,21 @@ begin: /\(/, end: /\)/, keywords: KEYWORDS, - contains: ["self"].concat(EXPRESSIONS) + contains: ['self'].concat(EXPRESSIONS) } ] }; return { - aliases: ["moon"], + aliases: ['moon'], keywords: KEYWORDS, illegal: /\/\*/, contains: EXPRESSIONS.concat([ - hljs.COMMENT("--", "$"), + hljs.COMMENT('--', '$'), { - className: "function", // function: -> => - begin: "^\\s*" + JS_IDENT_RE + "\\s*=\\s*" + PARAMS_RE, - end: "[-=]>", + className: 'function', // function: -> => + begin: '^\\s*' + JS_IDENT_RE + '\\s*=\\s*' + PARAMS_RE, + end: '[-=]>', returnBegin: true, contains: [TITLE, PARAMS] }, @@ -28813,22 +60446,22 @@ relevance: 0, contains: [ { - className: "function", + className: 'function', begin: PARAMS_RE, - end: "[-=]>", + end: '[-=]>', returnBegin: true, contains: [PARAMS] } ] }, { - className: "class", - beginKeywords: "class", - end: "$", + className: 'class', + beginKeywords: 'class', + end: '$', illegal: /[:="\[\]]/, contains: [ { - beginKeywords: "extends", + beginKeywords: 'extends', endsWithParent: true, illegal: /[:="\[\]]/, contains: [TITLE] @@ -28837,9 +60470,9 @@ ] }, { - className: "name", // table - begin: JS_IDENT_RE + ":", - end: ":", + className: 'name', // table + begin: JS_IDENT_RE + ':', + end: ':', returnBegin: true, returnEnd: true, relevance: 0 @@ -28850,7 +60483,7 @@ /***/ }, - /* 456 */ + /* 461 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -28858,60 +60491,60 @@ contains: [ { beginKeywords: - "build create index delete drop explain infer|10 insert merge prepare select update upsert|10", + 'build create index delete drop explain infer|10 insert merge prepare select update upsert|10', end: /;/, endsWithParent: true, keywords: { // Taken from http://developer.couchbase.com/documentation/server/current/n1ql/n1ql-language-reference/reservedwords.html keyword: - "all alter analyze and any array as asc begin between binary boolean break bucket build by call " + - "case cast cluster collate collection commit connect continue correlate cover create database " + - "dataset datastore declare decrement delete derived desc describe distinct do drop each element " + - "else end every except exclude execute exists explain fetch first flatten for force from " + - "function grant group gsi having if ignore ilike in include increment index infer inline inner " + - "insert intersect into is join key keys keyspace known last left let letting like limit lsm map " + - "mapping matched materialized merge minus namespace nest not number object offset on " + - "option or order outer over parse partition password path pool prepare primary private privilege " + - "procedure public raw realm reduce rename return returning revoke right role rollback satisfies " + - "schema select self semi set show some start statistics string system then to transaction trigger " + - "truncate under union unique unknown unnest unset update upsert use user using validate value " + - "valued values via view when where while with within work xor", + 'all alter analyze and any array as asc begin between binary boolean break bucket build by call ' + + 'case cast cluster collate collection commit connect continue correlate cover create database ' + + 'dataset datastore declare decrement delete derived desc describe distinct do drop each element ' + + 'else end every except exclude execute exists explain fetch first flatten for force from ' + + 'function grant group gsi having if ignore ilike in include increment index infer inline inner ' + + 'insert intersect into is join key keys keyspace known last left let letting like limit lsm map ' + + 'mapping matched materialized merge minus namespace nest not number object offset on ' + + 'option or order outer over parse partition password path pool prepare primary private privilege ' + + 'procedure public raw realm reduce rename return returning revoke right role rollback satisfies ' + + 'schema select self semi set show some start statistics string system then to transaction trigger ' + + 'truncate under union unique unknown unnest unset update upsert use user using validate value ' + + 'valued values via view when where while with within work xor', // Taken from http://developer.couchbase.com/documentation/server/4.5/n1ql/n1ql-language-reference/literals.html - literal: "true false null missing|5", + literal: 'true false null missing|5', // Taken from http://developer.couchbase.com/documentation/server/4.5/n1ql/n1ql-language-reference/functions.html built_in: - "array_agg array_append array_concat array_contains array_count array_distinct array_ifnull array_length " + - "array_max array_min array_position array_prepend array_put array_range array_remove array_repeat array_replace " + - "array_reverse array_sort array_sum avg count max min sum greatest least ifmissing ifmissingornull ifnull " + - "missingif nullif ifinf ifnan ifnanorinf naninf neginfif posinfif clock_millis clock_str date_add_millis " + - "date_add_str date_diff_millis date_diff_str date_part_millis date_part_str date_trunc_millis date_trunc_str " + - "duration_to_str millis str_to_millis millis_to_str millis_to_utc millis_to_zone_name now_millis now_str " + - "str_to_duration str_to_utc str_to_zone_name decode_json encode_json encoded_size poly_length base64 base64_encode " + - "base64_decode meta uuid abs acos asin atan atan2 ceil cos degrees e exp ln log floor pi power radians random " + - "round sign sin sqrt tan trunc object_length object_names object_pairs object_inner_pairs object_values " + - "object_inner_values object_add object_put object_remove object_unwrap regexp_contains regexp_like regexp_position " + - "regexp_replace contains initcap length lower ltrim position repeat replace rtrim split substr title trim upper " + - "isarray isatom isboolean isnumber isobject isstring type toarray toatom toboolean tonumber toobject tostring" + 'array_agg array_append array_concat array_contains array_count array_distinct array_ifnull array_length ' + + 'array_max array_min array_position array_prepend array_put array_range array_remove array_repeat array_replace ' + + 'array_reverse array_sort array_sum avg count max min sum greatest least ifmissing ifmissingornull ifnull ' + + 'missingif nullif ifinf ifnan ifnanorinf naninf neginfif posinfif clock_millis clock_str date_add_millis ' + + 'date_add_str date_diff_millis date_diff_str date_part_millis date_part_str date_trunc_millis date_trunc_str ' + + 'duration_to_str millis str_to_millis millis_to_str millis_to_utc millis_to_zone_name now_millis now_str ' + + 'str_to_duration str_to_utc str_to_zone_name decode_json encode_json encoded_size poly_length base64 base64_encode ' + + 'base64_decode meta uuid abs acos asin atan atan2 ceil cos degrees e exp ln log floor pi power radians random ' + + 'round sign sin sqrt tan trunc object_length object_names object_pairs object_inner_pairs object_values ' + + 'object_inner_values object_add object_put object_remove object_unwrap regexp_contains regexp_like regexp_position ' + + 'regexp_replace contains initcap length lower ltrim position repeat replace rtrim split substr title trim upper ' + + 'isarray isatom isboolean isnumber isobject isstring type toarray toatom toboolean tonumber toobject tostring' }, contains: [ { - className: "string", + className: 'string', begin: "'", end: "'", contains: [hljs.BACKSLASH_ESCAPE], relevance: 0 }, { - className: "string", + className: 'string', begin: '"', end: '"', contains: [hljs.BACKSLASH_ESCAPE], relevance: 0 }, { - className: "symbol", - begin: "`", - end: "`", + className: 'symbol', + begin: '`', + end: '`', contains: [hljs.BACKSLASH_ESCAPE], relevance: 2 }, @@ -28926,65 +60559,65 @@ /***/ }, - /* 457 */ + /* 462 */ /***/ function(module, exports) { module.exports = function(hljs) { var VAR = { - className: "variable", + className: 'variable', variants: [ { begin: /\$\d+/ }, { begin: /\$\{/, end: /}/ }, - { begin: "[\\$\\@]" + hljs.UNDERSCORE_IDENT_RE } + { begin: '[\\$\\@]' + hljs.UNDERSCORE_IDENT_RE } ] }; var DEFAULT = { endsWithParent: true, - lexemes: "[a-z/_]+", + lexemes: '[a-z/_]+', keywords: { literal: - "on off yes no true false none blocked debug info notice warn error crit " + - "select break last permanent redirect kqueue rtsig epoll poll /dev/poll" + 'on off yes no true false none blocked debug info notice warn error crit ' + + 'select break last permanent redirect kqueue rtsig epoll poll /dev/poll' }, relevance: 0, - illegal: "=>", + illegal: '=>', contains: [ hljs.HASH_COMMENT_MODE, { - className: "string", + className: 'string', contains: [hljs.BACKSLASH_ESCAPE, VAR], variants: [{ begin: /"/, end: /"/ }, { begin: /'/, end: /'/ }] }, // this swallows entire URLs to avoid detecting numbers within { - begin: "([a-z]+):/", - end: "\\s", + begin: '([a-z]+):/', + end: '\\s', endsWithParent: true, excludeEnd: true, contains: [VAR] }, { - className: "regexp", + className: 'regexp', contains: [hljs.BACKSLASH_ESCAPE, VAR], variants: [ - { begin: "\\s\\^", end: "\\s|{|;", returnEnd: true }, + { begin: '\\s\\^', end: '\\s|{|;', returnEnd: true }, // regexp locations (~, ~*) - { begin: "~\\*?\\s+", end: "\\s|{|;", returnEnd: true }, + { begin: '~\\*?\\s+', end: '\\s|{|;', returnEnd: true }, // *.example.com - { begin: "\\*(\\.[a-z\\-]+)+" }, + { begin: '\\*(\\.[a-z\\-]+)+' }, // sub.example.* - { begin: "([a-z\\-]+\\.)+\\*" } + { begin: '([a-z\\-]+\\.)+\\*' } ] }, // IP { - className: "number", + className: 'number', begin: - "\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b" + '\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b' }, // units { - className: "number", - begin: "\\b\\d+[kKmMgGdshdwy]*\\b", + className: 'number', + begin: '\\b\\d+[kKmMgGdshdwy]*\\b', relevance: 0 }, VAR @@ -28992,28 +60625,28 @@ }; return { - aliases: ["nginxconf"], + aliases: ['nginxconf'], contains: [ hljs.HASH_COMMENT_MODE, { - begin: hljs.UNDERSCORE_IDENT_RE + "\\s+{", + begin: hljs.UNDERSCORE_IDENT_RE + '\\s+{', returnBegin: true, - end: "{", + end: '{', contains: [ { - className: "section", + className: 'section', begin: hljs.UNDERSCORE_IDENT_RE } ], relevance: 0 }, { - begin: hljs.UNDERSCORE_IDENT_RE + "\\s", - end: ";|{", + begin: hljs.UNDERSCORE_IDENT_RE + '\\s', + end: ';|{', returnBegin: true, contains: [ { - className: "attribute", + className: 'attribute', begin: hljs.UNDERSCORE_IDENT_RE, starts: DEFAULT } @@ -29021,59 +60654,59 @@ relevance: 0 } ], - illegal: "[^\\s\\}]" + illegal: '[^\\s\\}]' }; }; /***/ }, - /* 458 */ + /* 463 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["nim"], + aliases: ['nim'], keywords: { keyword: - "addr and as asm bind block break case cast const continue converter " + - "discard distinct div do elif else end enum except export finally " + - "for from generic if import in include interface is isnot iterator " + - "let macro method mixin mod nil not notin object of or out proc ptr " + - "raise ref return shl shr static template try tuple type using var " + - "when while with without xor yield", - literal: "shared guarded stdin stdout stderr result true false", + 'addr and as asm bind block break case cast const continue converter ' + + 'discard distinct div do elif else end enum except export finally ' + + 'for from generic if import in include interface is isnot iterator ' + + 'let macro method mixin mod nil not notin object of or out proc ptr ' + + 'raise ref return shl shr static template try tuple type using var ' + + 'when while with without xor yield', + literal: 'shared guarded stdin stdout stderr result true false', built_in: - "int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float " + - "float32 float64 bool char string cstring pointer expr stmt void " + - "auto any range array openarray varargs seq set clong culong cchar " + - "cschar cshort cint csize clonglong cfloat cdouble clongdouble " + - "cuchar cushort cuint culonglong cstringarray semistatic" + 'int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float ' + + 'float32 float64 bool char string cstring pointer expr stmt void ' + + 'auto any range array openarray varargs seq set clong culong cchar ' + + 'cschar cshort cint csize clonglong cfloat cdouble clongdouble ' + + 'cuchar cushort cuint culonglong cstringarray semistatic' }, contains: [ { - className: "meta", // Actually pragma + className: 'meta', // Actually pragma begin: /{\./, end: /\.}/, relevance: 10 }, { - className: "string", + className: 'string', begin: /[a-zA-Z]\w*"/, end: /"/, contains: [{ begin: /""/ }] }, { - className: "string", + className: 'string', begin: /([a-zA-Z]\w*)?"""/, end: /"""/ }, hljs.QUOTE_STRING_MODE, { - className: "type", + className: 'type', begin: /\b[A-Z]\w+\b/, relevance: 0 }, { - className: "number", + className: 'number', relevance: 0, variants: [ { @@ -29091,18 +60724,18 @@ /***/ }, - /* 459 */ + /* 464 */ /***/ function(module, exports) { module.exports = function(hljs) { var NIX_KEYWORDS = { - keyword: "rec with let in inherit assert if else then", - literal: "true false or and null", + keyword: 'rec with let in inherit assert if else then', + literal: 'true false or and null', built_in: - "import abort baseNameOf dirOf isNull builtins map removeAttrs throw " + - "toString derivation" + 'import abort baseNameOf dirOf isNull builtins map removeAttrs throw ' + + 'toString derivation' }; var ANTIQUOTE = { - className: "subst", + className: 'subst', begin: /\$\{/, end: /}/, keywords: NIX_KEYWORDS @@ -29113,13 +60746,13 @@ relevance: 0, contains: [ { - className: "attr", + className: 'attr', begin: /\S+/ } ] }; var STRING = { - className: "string", + className: 'string', contains: [ANTIQUOTE], variants: [{ begin: "''", end: "''" }, { begin: '"', end: '"' }] }; @@ -29132,7 +60765,7 @@ ]; ANTIQUOTE.contains = EXPRESSIONS; return { - aliases: ["nixos"], + aliases: ['nixos'], keywords: NIX_KEYWORDS, contains: EXPRESSIONS }; @@ -29140,60 +60773,60 @@ /***/ }, - /* 460 */ + /* 465 */ /***/ function(module, exports) { module.exports = function(hljs) { var CONSTANTS = { - className: "variable", + className: 'variable', begin: /\$(ADMINTOOLS|APPDATA|CDBURN_AREA|CMDLINE|COMMONFILES32|COMMONFILES64|COMMONFILES|COOKIES|DESKTOP|DOCUMENTS|EXEDIR|EXEFILE|EXEPATH|FAVORITES|FONTS|HISTORY|HWNDPARENT|INSTDIR|INTERNET_CACHE|LANGUAGE|LOCALAPPDATA|MUSIC|NETHOOD|OUTDIR|PICTURES|PLUGINSDIR|PRINTHOOD|PROFILE|PROGRAMFILES32|PROGRAMFILES64|PROGRAMFILES|QUICKLAUNCH|RECENT|RESOURCES_LOCALIZED|RESOURCES|SENDTO|SMPROGRAMS|SMSTARTUP|STARTMENU|SYSDIR|TEMP|TEMPLATES|VIDEOS|WINDIR)/ }; var DEFINES = { // ${defines} - className: "variable", + className: 'variable', begin: /\$+{[\w\.:-]+}/ }; var VARIABLES = { // $variables - className: "variable", + className: 'variable', begin: /\$+\w+/, illegal: /\(\){}/ }; var LANGUAGES = { // $(language_strings) - className: "variable", + className: 'variable', begin: /\$+\([\w\^\.:-]+\)/ }; var PARAMETERS = { // command parameters - className: "params", + className: 'params', begin: - "(ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HKCR|HKCU|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKPD|HKU|IDABORT|IDCANCEL|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)" + '(ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HKCR|HKCU|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKPD|HKU|IDABORT|IDCANCEL|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)' }; var COMPILER = { // !compiler_flags - className: "keyword", - begin: /\!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversionsystem|ifdef|ifmacrodef|ifmacrondef|ifndef|if|include|insertmacro|macroend|macro|makensis|packhdr|searchparse|searchreplace|tempfile|undef|verbose|warning)/ + className: 'keyword', + begin: /\!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|searchparse|searchreplace|system|tempfile|undef|verbose|warning)/ }; var METACHARS = { // $\n, $\r, $\t, $$ - className: "subst", + className: 'meta', begin: /\$(\\[nrt]|\$)/ }; var PLUGINS = { // plug::ins - className: "class", + className: 'class', begin: /\w+\:\:\w+/ }; var STRING = { - className: "string", + className: 'string', variants: [ { begin: '"', @@ -29204,8 +60837,8 @@ end: "'" }, { - begin: "`", - end: "`" + begin: '`', + end: '`' } ], illegal: /\n/, @@ -29216,20 +60849,20 @@ case_insensitive: false, keywords: { keyword: - "Abort AddBrandingImage AddSize AllowRootDirInstall AllowSkipFiles AutoCloseWindow BGFont BGGradient BrandingText BringToFront Call CallInstDLL Caption ChangeUI CheckBitmap ClearErrors CompletedText ComponentText CopyFiles CRCCheck CreateDirectory CreateFont CreateShortCut Delete DeleteINISec DeleteINIStr DeleteRegKey DeleteRegValue DetailPrint DetailsButtonText DirText DirVar DirVerify EnableWindow EnumRegKey EnumRegValue Exch Exec ExecShell ExecWait ExpandEnvStrings File FileBufSize FileClose FileErrorText FileOpen FileRead FileReadByte FileReadUTF16LE FileReadWord FileSeek FileWrite FileWriteByte FileWriteUTF16LE FileWriteWord FindClose FindFirst FindNext FindWindow FlushINI FunctionEnd GetCurInstType GetCurrentAddress GetDlgItem GetDLLVersion GetDLLVersionLocal GetErrorLevel GetFileTime GetFileTimeLocal GetFullPathName GetFunctionAddress GetInstDirError GetLabelAddress GetTempFileName Goto HideWindow Icon IfAbort IfErrors IfFileExists IfRebootFlag IfSilent InitPluginsDir InstallButtonText InstallColors InstallDir InstallDirRegKey InstProgressFlags InstType InstTypeGetText InstTypeSetText IntCmp IntCmpU IntFmt IntOp IsWindow LangString LicenseBkColor LicenseData LicenseForceSelection LicenseLangString LicenseText LoadLanguageFile LockWindow LogSet LogText ManifestDPIAware ManifestSupportedOS MessageBox MiscButtonText Name Nop OutFile Page PageCallbacks PageExEnd Pop Push Quit ReadEnvStr ReadINIStr ReadRegDWORD ReadRegStr Reboot RegDLL Rename RequestExecutionLevel ReserveFile Return RMDir SearchPath SectionEnd SectionGetFlags SectionGetInstTypes SectionGetSize SectionGetText SectionGroupEnd SectionIn SectionSetFlags SectionSetInstTypes SectionSetSize SectionSetText SendMessage SetAutoClose SetBrandingImage SetCompress SetCompressor SetCompressorDictSize SetCtlColors SetCurInstType SetDatablockOptimize SetDateSave SetDetailsPrint SetDetailsView SetErrorLevel SetErrors SetFileAttributes SetFont SetOutPath SetOverwrite SetRebootFlag SetRegView SetShellVarContext SetSilent ShowInstDetails ShowUninstDetails ShowWindow SilentInstall SilentUnInstall Sleep SpaceTexts StrCmp StrCmpS StrCpy StrLen SubCaption Unicode UninstallButtonText UninstallCaption UninstallIcon UninstallSubCaption UninstallText UninstPage UnRegDLL Var VIAddVersionKey VIFileVersion VIProductVersion WindowIcon WriteINIStr WriteRegBin WriteRegDWORD WriteRegExpandStr WriteRegStr WriteUninstaller XPStyle", + 'Abort AddBrandingImage AddSize AllowRootDirInstall AllowSkipFiles AutoCloseWindow BGFont BGGradient BrandingText BringToFront Call CallInstDLL Caption ChangeUI CheckBitmap ClearErrors CompletedText ComponentText CopyFiles CRCCheck CreateDirectory CreateFont CreateShortCut Delete DeleteINISec DeleteINIStr DeleteRegKey DeleteRegValue DetailPrint DetailsButtonText DirText DirVar DirVerify EnableWindow EnumRegKey EnumRegValue Exch Exec ExecShell ExecShellWait ExecWait ExpandEnvStrings File FileBufSize FileClose FileErrorText FileOpen FileRead FileReadByte FileReadUTF16LE FileReadWord FileSeek FileWrite FileWriteByte FileWriteUTF16LE FileWriteWord FindClose FindFirst FindNext FindWindow FlushINI FunctionEnd GetCurInstType GetCurrentAddress GetDlgItem GetDLLVersion GetDLLVersionLocal GetErrorLevel GetFileTime GetFileTimeLocal GetFullPathName GetFunctionAddress GetInstDirError GetLabelAddress GetTempFileName Goto HideWindow Icon IfAbort IfErrors IfFileExists IfRebootFlag IfSilent InitPluginsDir InstallButtonText InstallColors InstallDir InstallDirRegKey InstProgressFlags InstType InstTypeGetText InstTypeSetText Int64Cmp Int64CmpU Int64Fmt IntCmp IntCmpU IntFmt IntOp IntPtrCmp IntPtrCmpU IntPtrOp IsWindow LangString LicenseBkColor LicenseData LicenseForceSelection LicenseLangString LicenseText LoadLanguageFile LockWindow LogSet LogText ManifestDPIAware ManifestSupportedOS MessageBox MiscButtonText Name Nop OutFile Page PageCallbacks PageExEnd Pop Push Quit ReadEnvStr ReadINIStr ReadRegDWORD ReadRegStr Reboot RegDLL Rename RequestExecutionLevel ReserveFile Return RMDir SearchPath SectionEnd SectionGetFlags SectionGetInstTypes SectionGetSize SectionGetText SectionGroupEnd SectionIn SectionSetFlags SectionSetInstTypes SectionSetSize SectionSetText SendMessage SetAutoClose SetBrandingImage SetCompress SetCompressor SetCompressorDictSize SetCtlColors SetCurInstType SetDatablockOptimize SetDateSave SetDetailsPrint SetDetailsView SetErrorLevel SetErrors SetFileAttributes SetFont SetOutPath SetOverwrite SetRebootFlag SetRegView SetShellVarContext SetSilent ShowInstDetails ShowUninstDetails ShowWindow SilentInstall SilentUnInstall Sleep SpaceTexts StrCmp StrCmpS StrCpy StrLen SubCaption Unicode UninstallButtonText UninstallCaption UninstallIcon UninstallSubCaption UninstallText UninstPage UnRegDLL Var VIAddVersionKey VIFileVersion VIProductVersion WindowIcon WriteINIStr WriteRegBin WriteRegDWORD WriteRegExpandStr WriteRegMultiStr WriteRegNone WriteRegStr WriteUninstaller XPStyle', literal: - "admin all auto both bottom bzip2 colored components current custom directory false force hide highest ifdiff ifnewer instfiles lastused leave left license listonly lzma nevershow none normal notset off on open print right show silent silentlog smooth textonly top true try un.components un.custom un.directory un.instfiles un.license uninstConfirm user Win10 Win7 Win8 WinVista zlib" + 'admin all auto both bottom bzip2 colored components current custom directory false force hide highest ifdiff ifnewer instfiles lastused leave left license listonly lzma nevershow none normal notset off on open print right show silent silentlog smooth textonly top true try un.components un.custom un.directory un.instfiles un.license uninstConfirm user Win10 Win7 Win8 WinVista zlib' }, contains: [ hljs.HASH_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, - hljs.COMMENT(";", "$", { + hljs.COMMENT(';', '$', { relevance: 0 }), { - className: "function", - beginKeywords: "Function PageEx Section SectionGroup", - end: "$" + className: 'function', + beginKeywords: 'Function PageEx Section SectionGroup', + end: '$' }, STRING, COMPILER, @@ -29245,49 +60878,49 @@ /***/ }, - /* 461 */ + /* 466 */ /***/ function(module, exports) { module.exports = function(hljs) { var API_CLASS = { - className: "built_in", + className: 'built_in', begin: - "\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+" + '\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+' }; var OBJC_KEYWORDS = { keyword: - "int float while char export sizeof typedef const struct for union " + - "unsigned long volatile static bool mutable if do return goto void " + - "enum else break extern asm case short default double register explicit " + - "signed typename this switch continue wchar_t inline readonly assign " + - "readwrite self @synchronized id typeof " + - "nonatomic super unichar IBOutlet IBAction strong weak copy " + - "in out inout bycopy byref oneway __strong __weak __block __autoreleasing " + - "@private @protected @public @try @property @end @throw @catch @finally " + - "@autoreleasepool @synthesize @dynamic @selector @optional @required " + - "@encode @package @import @defs @compatibility_alias " + - "__bridge __bridge_transfer __bridge_retained __bridge_retain " + - "__covariant __contravariant __kindof " + - "_Nonnull _Nullable _Null_unspecified " + - "__FUNCTION__ __PRETTY_FUNCTION__ __attribute__ " + - "getter setter retain unsafe_unretained " + - "nonnull nullable null_unspecified null_resettable class instancetype " + - "NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER " + - "NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED " + - "NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE " + - "NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END " + - "NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW " + - "NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN", - literal: "false true FALSE TRUE nil YES NO NULL", + 'int float while char export sizeof typedef const struct for union ' + + 'unsigned long volatile static bool mutable if do return goto void ' + + 'enum else break extern asm case short default double register explicit ' + + 'signed typename this switch continue wchar_t inline readonly assign ' + + 'readwrite self @synchronized id typeof ' + + 'nonatomic super unichar IBOutlet IBAction strong weak copy ' + + 'in out inout bycopy byref oneway __strong __weak __block __autoreleasing ' + + '@private @protected @public @try @property @end @throw @catch @finally ' + + '@autoreleasepool @synthesize @dynamic @selector @optional @required ' + + '@encode @package @import @defs @compatibility_alias ' + + '__bridge __bridge_transfer __bridge_retained __bridge_retain ' + + '__covariant __contravariant __kindof ' + + '_Nonnull _Nullable _Null_unspecified ' + + '__FUNCTION__ __PRETTY_FUNCTION__ __attribute__ ' + + 'getter setter retain unsafe_unretained ' + + 'nonnull nullable null_unspecified null_resettable class instancetype ' + + 'NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER ' + + 'NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED ' + + 'NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE ' + + 'NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END ' + + 'NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW ' + + 'NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN', + literal: 'false true FALSE TRUE nil YES NO NULL', built_in: - "BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once" + 'BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once' }; var LEXEMES = /[a-zA-Z@][a-zA-Z0-9_]*/; - var CLASS_KEYWORDS = "@interface @class @protocol @implementation"; + var CLASS_KEYWORDS = '@interface @class @protocol @implementation'; return { - aliases: ["mm", "objc", "obj-c"], + aliases: ['mm', 'objc', 'obj-c'], keywords: OBJC_KEYWORDS, lexemes: LEXEMES, - illegal: "", + illegal: '', contains: [ API_CLASS, hljs.C_LINE_COMMENT_MODE, @@ -29295,12 +60928,12 @@ hljs.C_NUMBER_MODE, hljs.QUOTE_STRING_MODE, { - className: "string", + className: 'string', variants: [ { begin: '@"', end: '"', - illegal: "\\n", + illegal: '\\n', contains: [hljs.BACKSLASH_ESCAPE] }, { @@ -29311,27 +60944,27 @@ ] }, { - className: "meta", - begin: "#", - end: "$", + className: 'meta', + begin: '#', + end: '$', contains: [ { - className: "meta-string", - variants: [{ begin: '"', end: '"' }, { begin: "<", end: ">" }] + className: 'meta-string', + variants: [{ begin: '"', end: '"' }, { begin: '<', end: '>' }] } ] }, { - className: "class", - begin: "(" + CLASS_KEYWORDS.split(" ").join("|") + ")\\b", - end: "({|$)", + className: 'class', + begin: '(' + CLASS_KEYWORDS.split(' ').join('|') + ')\\b', + end: '({|$)', excludeEnd: true, keywords: CLASS_KEYWORDS, lexemes: LEXEMES, contains: [hljs.UNDERSCORE_TITLE_MODE] }, { - begin: "\\." + hljs.UNDERSCORE_IDENT_RE, + begin: '\\.' + hljs.UNDERSCORE_IDENT_RE, relevance: 0 } ] @@ -29340,53 +60973,53 @@ /***/ }, - /* 462 */ + /* 467 */ /***/ function(module, exports) { module.exports = function(hljs) { /* missing support for heredoc-like string (OCaml 4.0.2+) */ return { - aliases: ["ml"], + aliases: ['ml'], keywords: { keyword: - "and as assert asr begin class constraint do done downto else end " + - "exception external for fun function functor if in include " + - "inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method " + - "mod module mutable new object of open! open or private rec sig struct " + - "then to try type val! val virtual when while with " + + 'and as assert asr begin class constraint do done downto else end ' + + 'exception external for fun function functor if in include ' + + 'inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method ' + + 'mod module mutable new object of open! open or private rec sig struct ' + + 'then to try type val! val virtual when while with ' + /* camlp4 */ - "parser value", + 'parser value', built_in: /* built-in types */ - "array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit " + + 'array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit ' + /* (some) types in Pervasives */ - "in_channel out_channel ref", - literal: "true false" + 'in_channel out_channel ref', + literal: 'true false' }, illegal: /\/\/|>>/, - lexemes: "[a-z_]\\w*!?", + lexemes: '[a-z_]\\w*!?', contains: [ { - className: "literal", - begin: "\\[(\\|\\|)?\\]|\\(\\)", + className: 'literal', + begin: '\\[(\\|\\|)?\\]|\\(\\)', relevance: 0 }, - hljs.COMMENT("\\(\\*", "\\*\\)", { - contains: ["self"] + hljs.COMMENT('\\(\\*', '\\*\\)', { + contains: ['self'] }), { /* type variable */ - className: "symbol", + className: 'symbol', begin: "'[A-Za-z_](?!')[\\w']*" /* the grammar is ambiguous on how 'a'b should be interpreted but not the compiler */ }, { /* polymorphic variant */ - className: "type", + className: 'type', begin: "`[A-Z][\\w']*" }, { /* module or constructor */ - className: "type", + className: 'type', begin: "\\b[A-Z][\\w']*", relevance: 0 }, @@ -29396,17 +61029,17 @@ relevance: 0 }, hljs.inherit(hljs.APOS_STRING_MODE, { - className: "string", + className: 'string', relevance: 0 }), hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }), { - className: "number", + className: 'number', begin: - "\\b(0[xX][a-fA-F0-9_]+[Lln]?|" + - "0[oO][0-7_]+[Lln]?|" + - "0[bB][01_]+[Lln]?|" + - "[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)", + '\\b(0[xX][a-fA-F0-9_]+[Lln]?|' + + '0[oO][0-7_]+[Lln]?|' + + '0[bB][01_]+[Lln]?|' + + '[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)', relevance: 0 }, { @@ -29418,54 +61051,54 @@ /***/ }, - /* 463 */ + /* 468 */ /***/ function(module, exports) { module.exports = function(hljs) { var SPECIAL_VARS = { - className: "keyword", - begin: "\\$(f[asn]|t|vp[rtd]|children)" + className: 'keyword', + begin: '\\$(f[asn]|t|vp[rtd]|children)' }, LITERALS = { - className: "literal", - begin: "false|true|PI|undef" + className: 'literal', + begin: 'false|true|PI|undef' }, NUMBERS = { - className: "number", - begin: "\\b\\d+(\\.\\d+)?(e-?\\d+)?", //adds 1e5, 1e-10 + className: 'number', + begin: '\\b\\d+(\\.\\d+)?(e-?\\d+)?', //adds 1e5, 1e-10 relevance: 0 }, STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }), PREPRO = { - className: "meta", - keywords: { "meta-keyword": "include use" }, - begin: "include|use <", - end: ">" + className: 'meta', + keywords: { 'meta-keyword': 'include use' }, + begin: 'include|use <', + end: '>' }, PARAMS = { - className: "params", - begin: "\\(", - end: "\\)", - contains: ["self", NUMBERS, STRING, SPECIAL_VARS, LITERALS] + className: 'params', + begin: '\\(', + end: '\\)', + contains: ['self', NUMBERS, STRING, SPECIAL_VARS, LITERALS] }, MODIFIERS = { - begin: "[*!#%]", + begin: '[*!#%]', relevance: 0 }, FUNCTIONS = { - className: "function", - beginKeywords: "module function", - end: "\\=|\\{", + className: 'function', + beginKeywords: 'module function', + end: '\\=|\\{', contains: [PARAMS, hljs.UNDERSCORE_TITLE_MODE] }; return { - aliases: ["scad"], + aliases: ['scad'], keywords: { keyword: - "function module include use for intersection_for if else \\%", - literal: "false true PI undef", + 'function module include use for intersection_for if else \\%', + literal: 'false true PI undef', built_in: - "circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign" + 'circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign' }, contains: [ hljs.C_LINE_COMMENT_MODE, @@ -29482,46 +61115,46 @@ /***/ }, - /* 464 */ + /* 469 */ /***/ function(module, exports) { module.exports = function(hljs) { var OXYGENE_KEYWORDS = - "abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue " + - "create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false " + - "final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited " + - "inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of " + - "old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly " + - "record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple " + - "type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal " + - "register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"; - var CURLY_COMMENT = hljs.COMMENT("{", "}", { + 'abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue ' + + 'create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false ' + + 'final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited ' + + 'inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of ' + + 'old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly ' + + 'record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple ' + + 'type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal ' + + 'register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained'; + var CURLY_COMMENT = hljs.COMMENT('{', '}', { relevance: 0 }); - var PAREN_COMMENT = hljs.COMMENT("\\(\\*", "\\*\\)", { + var PAREN_COMMENT = hljs.COMMENT('\\(\\*', '\\*\\)', { relevance: 10 }); var STRING = { - className: "string", + className: 'string', begin: "'", end: "'", contains: [{ begin: "''" }] }; var CHAR_STRING = { - className: "string", - begin: "(#\\d+)+" + className: 'string', + begin: '(#\\d+)+' }; var FUNCTION = { - className: "function", - beginKeywords: "function constructor destructor procedure method", - end: "[:;]", + className: 'function', + beginKeywords: 'function constructor destructor procedure method', + end: '[:;]', keywords: - "function constructor|10 destructor|10 procedure|10 method|10", + 'function constructor|10 destructor|10 procedure|10 method|10', contains: [ hljs.TITLE_MODE, { - className: "params", - begin: "\\(", - end: "\\)", + className: 'params', + begin: '\\(', + end: '\\)', keywords: OXYGENE_KEYWORDS, contains: [STRING, CHAR_STRING] }, @@ -29543,9 +61176,9 @@ hljs.NUMBER_MODE, FUNCTION, { - className: "class", - begin: "=\\bclass\\b", - end: "end;", + className: 'class', + begin: '=\\bclass\\b', + end: 'end;', keywords: OXYGENE_KEYWORDS, contains: [ STRING, @@ -29562,41 +61195,41 @@ /***/ }, - /* 465 */ + /* 470 */ /***/ function(module, exports) { module.exports = function(hljs) { - var CURLY_SUBCOMMENT = hljs.COMMENT("{", "}", { - contains: ["self"] + var CURLY_SUBCOMMENT = hljs.COMMENT('{', '}', { + contains: ['self'] }); return { - subLanguage: "xml", + subLanguage: 'xml', relevance: 0, contains: [ - hljs.COMMENT("^#", "$"), - hljs.COMMENT("\\^rem{", "}", { + hljs.COMMENT('^#', '$'), + hljs.COMMENT('\\^rem{', '}', { relevance: 10, contains: [CURLY_SUBCOMMENT] }), { - className: "meta", - begin: "^@(?:BASE|USE|CLASS|OPTIONS)$", + className: 'meta', + begin: '^@(?:BASE|USE|CLASS|OPTIONS)$', relevance: 10 }, { - className: "title", - begin: "@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$" + className: 'title', + begin: '@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$' }, { - className: "variable", - begin: "\\$\\{?[\\w\\-\\.\\:]+\\}?" + className: 'variable', + begin: '\\$\\{?[\\w\\-\\.\\:]+\\}?' }, { - className: "keyword", - begin: "\\^[\\w\\-\\.\\:]+" + className: 'keyword', + begin: '\\^[\\w\\-\\.\\:]+' }, { - className: "number", - begin: "\\^#[0-9a-fA-F]+" + className: 'number', + begin: '\\^#[0-9a-fA-F]+' }, hljs.C_NUMBER_MODE ] @@ -29605,50 +61238,50 @@ /***/ }, - /* 466 */ + /* 471 */ /***/ function(module, exports) { module.exports = function(hljs) { var MACRO = { - className: "variable", + className: 'variable', begin: /\$[\w\d#@][\w\d_]*/ }; var TABLE = { - className: "variable", + className: 'variable', begin: /<(?!\/)/, end: />/ }; var QUOTE_STRING = { - className: "string", + className: 'string', begin: /"/, end: /"/ }; return { - aliases: ["pf.conf"], + aliases: ['pf.conf'], lexemes: /[a-z0-9_<>-]+/, keywords: { /* block match pass are "actions" in pf.conf(5), the rest are * lexically similar top-level commands. */ - built_in: "block match pass load anchor|5 antispoof|10 set table", + built_in: 'block match pass load anchor|5 antispoof|10 set table', keyword: - "in out log quick on rdomain inet inet6 proto from port os to route" + - "allow-opts divert-packet divert-reply divert-to flags group icmp-type" + - "icmp6-type label once probability recieved-on rtable prio queue" + - "tos tag tagged user keep fragment for os drop" + - "af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin" + - "source-hash static-port" + - "dup-to reply-to route-to" + - "parent bandwidth default min max qlimit" + - "block-policy debug fingerprints hostid limit loginterface optimization" + - "reassemble ruleset-optimization basic none profile skip state-defaults" + - "state-policy timeout" + - "const counters persist" + - "no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy" + - "source-track global rule max-src-nodes max-src-states max-src-conn" + - "max-src-conn-rate overload flush" + - "scrub|5 max-mss min-ttl no-df|10 random-id", - literal: "all any no-route self urpf-failed egress|5 unknown" + 'in out log quick on rdomain inet inet6 proto from port os to route' + + 'allow-opts divert-packet divert-reply divert-to flags group icmp-type' + + 'icmp6-type label once probability recieved-on rtable prio queue' + + 'tos tag tagged user keep fragment for os drop' + + 'af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin' + + 'source-hash static-port' + + 'dup-to reply-to route-to' + + 'parent bandwidth default min max qlimit' + + 'block-policy debug fingerprints hostid limit loginterface optimization' + + 'reassemble ruleset-optimization basic none profile skip state-defaults' + + 'state-policy timeout' + + 'const counters persist' + + 'no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy' + + 'source-track global rule max-src-nodes max-src-states max-src-conn' + + 'max-src-conn-rate overload flush' + + 'scrub|5 max-mss min-ttl no-df|10 random-id', + literal: 'all any no-route self urpf-failed egress|5 unknown' }, contains: [ hljs.HASH_COMMENT_MODE, @@ -29662,18 +61295,537 @@ /***/ }, - /* 467 */ + /* 472 */ + /***/ function(module, exports) { + module.exports = function(hljs) { + var COMMENT_MODE = hljs.COMMENT('--', '$'); + var UNQUOTED_IDENT = '[a-zA-Z_][a-zA-Z_0-9$]*'; + var DOLLAR_STRING = '\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$'; + var LABEL = '<<\\s*' + UNQUOTED_IDENT + '\\s*>>'; + + var SQL_KW = + // https://www.postgresql.org/docs/11/static/sql-keywords-appendix.html + // https://www.postgresql.org/docs/11/static/sql-commands.html + // SQL commands (starting words) + 'ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE ' + + 'DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY ' + + 'PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW ' + + 'START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES ' + + // SQL commands (others) + 'AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN ' + + 'WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS ' + + 'FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM ' + + 'TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS ' + + 'METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION ' + + 'INDEX PROCEDURE ASSERTION ' + + // additional reserved key words + 'ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK ' + + 'COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS ' + + 'DEFERRABLE RANGE ' + + 'DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ' + + 'ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT ' + + 'NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY ' + + 'REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN ' + + 'TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH ' + + // some of non-reserved (which are used in clauses or as PL/pgSQL keyword) + 'BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN ' + + 'BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT ' + + 'TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN ' + + 'EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH ' + + 'REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ' + + 'ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED ' + + 'INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 ' + + 'INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ' + + 'ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES ' + + 'RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS ' + + 'UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF ' + + // some parameters of VACUUM/ANALYZE/EXPLAIN + 'FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING ' + + // + 'RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED ' + + 'OF NOTHING NONE EXCLUDE ATTRIBUTE ' + + // from GRANT (not keywords actually) + 'USAGE ROUTINES ' + + // actually literals, but look better this way (due to IS TRUE, IS FALSE, ISNULL etc) + 'TRUE FALSE NAN INFINITY '; + + var ROLE_ATTRS = // only those not in keywrods already + 'SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT ' + + 'LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS '; + + var PLPGSQL_KW = + 'ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS ' + + 'STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT ' + + 'OPEN '; + + var TYPES = + // https://www.postgresql.org/docs/11/static/datatype.html + 'BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR ' + + 'CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 ' + + 'MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 ' + + 'SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 ' + + 'TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR ' + + 'INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ' + + // pseudotypes + 'ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL ' + + 'RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR ' + + // spec. type + 'NAME ' + + // OID-types + 'OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 ' + + 'REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 '; // + + // some types from standard extensions + ('HSTORE|10 LO LTREE|10 '); + + var TYPES_RE = TYPES.trim() + .split(' ') + .map(function(val) { + return val.split('|')[0]; + }) + .join('|'); + + var SQL_BI = + 'CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP ' + + 'CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC '; + + var PLPGSQL_BI = + 'FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 ' + + 'TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ' + + // get diagnostics + 'ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME ' + + 'PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 ' + + 'PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 '; + + var PLPGSQL_EXCEPTIONS = + // exceptions https://www.postgresql.org/docs/current/static/errcodes-appendix.html + 'SQLSTATE SQLERRM|10 ' + + 'SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING ' + + 'NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED ' + + 'STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED ' + + 'SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE ' + + 'SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION ' + + 'TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED ' + + 'INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR ' + + 'INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION ' + + 'STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION ' + + 'DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW ' + + 'DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW ' + + 'INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION ' + + 'INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION ' + + 'INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST ' + + 'INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE ' + + 'NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE ' + + 'INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE ' + + 'INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT ' + + 'INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH ' + + 'NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE ' + + 'SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION ' + + 'SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING ' + + 'FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION ' + + 'BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT ' + + 'INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION ' + + 'INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION ' + + 'UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE ' + + 'INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE ' + + 'HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION ' + + 'INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION ' + + 'NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION ' + + 'SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION ' + + 'IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME ' + + 'TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD ' + + 'DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST ' + + 'INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT ' + + 'MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED ' + + 'READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION ' + + 'CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED ' + + 'PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED ' + + 'EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED ' + + 'TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED ' + + 'SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME ' + + 'INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION ' + + 'SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED ' + + 'SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE ' + + 'GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME ' + + 'NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH ' + + 'INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN ' + + 'UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT ' + + 'DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION ' + + 'DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS ' + + 'DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS ' + + 'INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION ' + + 'INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION ' + + 'INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION ' + + 'INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL ' + + 'OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED ' + + 'STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE ' + + 'OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION ' + + 'QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED ' + + 'SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR ' + + 'LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED ' + + 'FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION ' + + 'FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER ' + + 'FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS ' + + 'FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX ' + + 'FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH ' + + 'FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES ' + + 'FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE ' + + 'FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION ' + + 'FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR ' + + 'RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED ' + + 'INDEX_CORRUPTED '; + + var FUNCTIONS = + // https://www.postgresql.org/docs/11/static/functions-aggregate.html + 'ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG ' + + 'JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG ' + + 'CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE ' + + 'REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP ' + + 'PERCENTILE_CONT PERCENTILE_DISC ' + + // https://www.postgresql.org/docs/11/static/functions-window.html + 'ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE ' + + // https://www.postgresql.org/docs/11/static/functions-comparison.html + 'NUM_NONNULLS NUM_NULLS ' + + // https://www.postgresql.org/docs/11/static/functions-math.html + 'ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT ' + + 'TRUNC WIDTH_BUCKET ' + + 'RANDOM SETSEED ' + + 'ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND ' + + // https://www.postgresql.org/docs/11/static/functions-string.html + 'BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ' + + 'ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP' + + 'LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 ' + + 'QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY ' + + 'REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR ' + + 'TO_ASCII TO_HEX TRANSLATE ' + + // https://www.postgresql.org/docs/11/static/functions-binarystring.html + 'OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE ' + + // https://www.postgresql.org/docs/11/static/functions-formatting.html + 'TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP ' + + // https://www.postgresql.org/docs/11/static/functions-datetime.html + 'AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL ' + + 'MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 ' + + 'TIMEOFDAY TRANSACTION_TIMESTAMP|10 ' + + // https://www.postgresql.org/docs/11/static/functions-enum.html + 'ENUM_FIRST ENUM_LAST ENUM_RANGE ' + + // https://www.postgresql.org/docs/11/static/functions-geometry.html + 'AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH ' + + 'BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ' + + // https://www.postgresql.org/docs/11/static/functions-net.html + 'ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY' + + 'INET_MERGE MACADDR8_SET7BIT ' + + // https://www.postgresql.org/docs/11/static/functions-textsearch.html + 'ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY ' + + 'QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE ' + + 'TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY ' + + 'TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN ' + + // https://www.postgresql.org/docs/11/static/functions-xml.html + 'XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT ' + + 'XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT ' + + 'XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES ' + + 'TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA ' + + 'QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA ' + + 'CURSOR_TO_XML CURSOR_TO_XMLSCHEMA ' + + 'SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA ' + + 'DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA ' + + 'XMLATTRIBUTES ' + + // https://www.postgresql.org/docs/11/static/functions-json.html + 'TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT ' + + 'JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH ' + + 'JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH ' + + 'JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET ' + + 'JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT ' + + 'JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET ' + + 'JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY ' + + // https://www.postgresql.org/docs/11/static/functions-sequence.html + 'CURRVAL LASTVAL NEXTVAL SETVAL ' + + // https://www.postgresql.org/docs/11/static/functions-conditional.html + 'COALESCE NULLIF GREATEST LEAST ' + + // https://www.postgresql.org/docs/11/static/functions-array.html + 'ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ' + + 'ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY ' + + 'STRING_TO_ARRAY UNNEST ' + + // https://www.postgresql.org/docs/11/static/functions-range.html + 'ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE ' + + // https://www.postgresql.org/docs/11/static/functions-srf.html + 'GENERATE_SERIES GENERATE_SUBSCRIPTS ' + + // https://www.postgresql.org/docs/11/static/functions-info.html + 'CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT ' + + 'INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE ' + + 'TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE ' + + 'COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION ' + + 'TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX ' + + 'TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS ' + + // https://www.postgresql.org/docs/11/static/functions-admin.html + 'CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE ' + + 'GIN_CLEAN_PENDING_LIST ' + + // https://www.postgresql.org/docs/11/static/functions-trigger.html + 'SUPPRESS_REDUNDANT_UPDATES_TRIGGER ' + + // ihttps://www.postgresql.org/docs/devel/static/lo-funcs.html + 'LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE ' + + // + 'GROUPING CAST '; + + var FUNCTIONS_RE = FUNCTIONS.trim() + .split(' ') + .map(function(val) { + return val.split('|')[0]; + }) + .join('|'); + + return { + aliases: ['postgres', 'postgresql'], + case_insensitive: true, + keywords: { + keyword: SQL_KW + PLPGSQL_KW + ROLE_ATTRS, + built_in: SQL_BI + PLPGSQL_BI + PLPGSQL_EXCEPTIONS + }, + // Forbid some cunstructs from other languages to improve autodetect. In fact + // "[a-z]:" is legal (as part of array slice), but improbabal. + illegal: /:==|\W\s*\(\*|(^|\s)\$[a-z]|{{|[a-z]:\s*$|\.\.\.|TO:|DO:/, + contains: [ + // special handling of some words, which are reserved only in some contexts + { + className: 'keyword', + variants: [ + { begin: /\bTEXT\s*SEARCH\b/ }, + { begin: /\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/ }, + { begin: /\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/ }, + { begin: /\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/ }, + { begin: /\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/ }, + { begin: /\bNULLS\s+(FIRST|LAST)\b/ }, + { begin: /\bEVENT\s+TRIGGER\b/ }, + { begin: /\b(MAPPING|OR)\s+REPLACE\b/ }, + { begin: /\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/ }, + { begin: /\b(SHARE|EXCLUSIVE)\s+MODE\b/ }, + { begin: /\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/ }, + { + begin: /\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/ + }, + { begin: /\bPRESERVE\s+ROWS\b/ }, + { begin: /\bDISCARD\s+PLANS\b/ }, + { begin: /\bREFERENCING\s+(OLD|NEW)\b/ }, + { begin: /\bSKIP\s+LOCKED\b/ }, + { begin: /\bGROUPING\s+SETS\b/ }, + { + begin: /\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/ + }, + { begin: /\b(WITH|WITHOUT)\s+HOLD\b/ }, + { begin: /\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/ }, + { begin: /\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/ }, + { begin: /\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/ }, + { begin: /\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/ }, + { begin: /\bIS\s+(NOT\s+)?UNKNOWN\b/ }, + { begin: /\bSECURITY\s+LABEL\b/ }, + { begin: /\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/ }, + { begin: /\bWITH\s+(NO\s+)?DATA\b/ }, + { begin: /\b(FOREIGN|SET)\s+DATA\b/ }, + { begin: /\bSET\s+(CATALOG|CONSTRAINTS)\b/ }, + { begin: /\b(WITH|FOR)\s+ORDINALITY\b/ }, + { begin: /\bIS\s+(NOT\s+)?DOCUMENT\b/ }, + { begin: /\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/ }, + { begin: /\b(STRIP|PRESERVE)\s+WHITESPACE\b/ }, + { begin: /\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/ }, + { begin: /\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/ }, + { begin: /\bAT\s+TIME\s+ZONE\b/ }, + { begin: /\bGRANTED\s+BY\b/ }, + { begin: /\bRETURN\s+(QUERY|NEXT)\b/ }, + { begin: /\b(ATTACH|DETACH)\s+PARTITION\b/ }, + { begin: /\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/ }, + { + begin: /\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/ + }, + { + begin: /\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/ + } + ] + }, + // functions named as keywords, followed by '(' + { + begin: /\b(FORMAT|FAMILY|VERSION)\s*\(/ + //keywords: { built_in: 'FORMAT FAMILY VERSION' } + }, + // INCLUDE ( ... ) in index_parameters in CREATE TABLE + { + begin: /\bINCLUDE\s*\(/, + keywords: 'INCLUDE' + }, + // not highlight RANGE if not in frame_clause (not 100% correct, but seems satisfactory) + { + begin: /\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/ + }, + // disable highlighting in commands CREATE AGGREGATE/COLLATION/DATABASE/OPERTOR/TEXT SEARCH .../TYPE + // and in PL/pgSQL RAISE ... USING + { + begin: /\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/ + }, + // PG_smth; HAS_some_PRIVILEGE + { + //className: 'built_in', + begin: /\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/, + relevance: 10 + }, + // extract + { + begin: /\bEXTRACT\s*\(/, + end: /\bFROM\b/, + returnEnd: true, + keywords: { + //built_in: 'EXTRACT', + type: + 'CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS ' + + 'MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR ' + + 'TIMEZONE_MINUTE WEEK YEAR' + } + }, + // xmlelement, xmlpi - special NAME + { + begin: /\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/, + keywords: { + //built_in: 'XMLELEMENT XMLPI', + keyword: 'NAME' + } + }, + // xmlparse, xmlserialize + { + begin: /\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/, + keywords: { + //built_in: 'XMLPARSE XMLSERIALIZE', + keyword: 'DOCUMENT CONTENT' + } + }, + // Sequences. We actually skip everything between CACHE|INCREMENT|MAXVALUE|MINVALUE and + // nearest following numeric constant. Without with trick we find a lot of "keywords" + // in 'avrasm' autodetection test... + { + beginKeywords: 'CACHE INCREMENT MAXVALUE MINVALUE', + end: hljs.C_NUMBER_RE, + returnEnd: true, + keywords: 'BY CACHE INCREMENT MAXVALUE MINVALUE' + }, + // WITH|WITHOUT TIME ZONE as part of datatype + { + className: 'type', + begin: /\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/ + }, + // INTERVAL optional fields + { + className: 'type', + begin: /\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/ + }, + // Pseudo-types which allowed only as return type + { + begin: /\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/, + keywords: { + keyword: 'RETURNS', + type: + 'LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER' + } + }, + // Known functions - only when followed by '(' + { + begin: '\\b(' + FUNCTIONS_RE + ')\\s*\\(' + //keywords: { built_in: FUNCTIONS } + }, + // Types + { + begin: '\\.(' + TYPES_RE + ')\\b' // prevent highlight as type, say, 'oid' in 'pgclass.oid' + }, + { + begin: '\\b(' + TYPES_RE + ')\\s+PATH\\b', // in XMLTABLE + keywords: { + keyword: 'PATH', // hopefully no one would use PATH type in XMLTABLE... + type: TYPES.replace('PATH ', '') + } + }, + { + className: 'type', + begin: '\\b(' + TYPES_RE + ')\\b' + }, + // Strings, see https://www.postgresql.org/docs/11/static/sql-syntax-lexical.html#SQL-SYNTAX-CONSTANTS + { + className: 'string', + begin: "'", + end: "'", + contains: [{ begin: "''" }] + }, + { + className: 'string', + begin: "(e|E|u&|U&)'", + end: "'", + contains: [{ begin: '\\\\.' }], + relevance: 10 + }, + { + begin: DOLLAR_STRING, + endSameAsBegin: true, + contains: [ + { + // actually we want them all except SQL; listed are those with known implementations + // and XML + JSON just in case + subLanguage: [ + 'pgsql', + 'perl', + 'python', + 'tcl', + 'r', + 'lua', + 'java', + 'php', + 'ruby', + 'bash', + 'scheme', + 'xml', + 'json' + ], + endsWithParent: true + } + ] + }, + // identifiers in quotes + { + begin: '"', + end: '"', + contains: [{ begin: '""' }] + }, + // numbers + hljs.C_NUMBER_MODE, + // comments + hljs.C_BLOCK_COMMENT_MODE, + COMMENT_MODE, + // PL/pgSQL staff + // %ROWTYPE, %TYPE, $n + { + className: 'meta', + variants: [ + { begin: '%(ROW)?TYPE', relevance: 10 }, // %TYPE, %ROWTYPE + { begin: '\\$\\d+' }, // $n + { begin: '^#\\w', end: '$' } // #compiler option + ] + }, + // <> + { + className: 'symbol', + begin: LABEL, + relevance: 10 + } + ] + }; + }; + + /***/ + }, + /* 473 */ /***/ function(module, exports) { module.exports = function(hljs) { var VARIABLE = { - begin: "\\$+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*" + begin: '\\$+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*' }; var PREPROCESSOR = { - className: "meta", + className: 'meta', begin: /<\?(php)?|\?>/ }; var STRING = { - className: "string", + className: 'string', contains: [hljs.BACKSLASH_ESCAPE, PREPROCESSOR], variants: [ { @@ -29692,48 +61844,48 @@ variants: [hljs.BINARY_NUMBER_MODE, hljs.C_NUMBER_MODE] }; return { - aliases: ["php3", "php4", "php5", "php6"], + aliases: ['php', 'php3', 'php4', 'php5', 'php6', 'php7'], case_insensitive: true, keywords: - "and include_once list abstract global private echo interface as static endswitch " + - "array null if endwhile or const for endforeach self var while isset public " + - "protected exit foreach throw elseif include __FILE__ empty require_once do xor " + - "return parent clone use __CLASS__ __LINE__ else break print eval new " + - "catch __METHOD__ case exception default die require __FUNCTION__ " + - "enddeclare final try switch continue endfor endif declare unset true false " + - "trait goto instanceof insteadof __DIR__ __NAMESPACE__ " + - "yield finally", + 'and include_once list abstract global private echo interface as static endswitch ' + + 'array null if endwhile or const for endforeach self var while isset public ' + + 'protected exit foreach throw elseif include __FILE__ empty require_once do xor ' + + 'return parent clone use __CLASS__ __LINE__ else break print eval new ' + + 'catch __METHOD__ case exception default die require __FUNCTION__ ' + + 'enddeclare final try switch continue endfor endif declare unset true false ' + + 'trait goto instanceof insteadof __DIR__ __NAMESPACE__ ' + + 'yield finally', contains: [ hljs.HASH_COMMENT_MODE, - hljs.COMMENT("//", "$", { contains: [PREPROCESSOR] }), - hljs.COMMENT("/\\*", "\\*/", { + hljs.COMMENT('//', '$', { contains: [PREPROCESSOR] }), + hljs.COMMENT('/\\*', '\\*/', { contains: [ { - className: "doctag", - begin: "@[A-Za-z]+" + className: 'doctag', + begin: '@[A-Za-z]+' } ] }), - hljs.COMMENT("__halt_compiler.+?;", false, { + hljs.COMMENT('__halt_compiler.+?;', false, { endsWithParent: true, - keywords: "__halt_compiler", + keywords: '__halt_compiler', lexemes: hljs.UNDERSCORE_IDENT_RE }), { - className: "string", + className: 'string', begin: /<<<['"]?\w+['"]?$/, end: /^\w+;?$/, contains: [ hljs.BACKSLASH_ESCAPE, { - className: "subst", + className: 'subst', variants: [{ begin: /\$\w+/ }, { begin: /\{\$/, end: /\}/ }] } ] }, PREPROCESSOR, { - className: "keyword", + className: 'keyword', begin: /\$this\b/ }, VARIABLE, @@ -29742,19 +61894,19 @@ begin: /(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/ }, { - className: "function", - beginKeywords: "function", + className: 'function', + beginKeywords: 'function', end: /[;{]/, excludeEnd: true, - illegal: "\\$|\\[|%", + illegal: '\\$|\\[|%', contains: [ hljs.UNDERSCORE_TITLE_MODE, { - className: "params", - begin: "\\(", - end: "\\)", + className: 'params', + begin: '\\(', + end: '\\)', contains: [ - "self", + 'self', VARIABLE, hljs.C_BLOCK_COMMENT_MODE, STRING, @@ -29764,29 +61916,29 @@ ] }, { - className: "class", - beginKeywords: "class interface", - end: "{", + className: 'class', + beginKeywords: 'class interface', + end: '{', excludeEnd: true, illegal: /[:\(\$"]/, contains: [ - { beginKeywords: "extends implements" }, + { beginKeywords: 'extends implements' }, hljs.UNDERSCORE_TITLE_MODE ] }, { - beginKeywords: "namespace", - end: ";", + beginKeywords: 'namespace', + end: ';', illegal: /[\.']/, contains: [hljs.UNDERSCORE_TITLE_MODE] }, { - beginKeywords: "use", - end: ";", + beginKeywords: 'use', + end: ';', contains: [hljs.UNDERSCORE_TITLE_MODE] }, { - begin: "=>" // No markup, just a relevance booster + begin: '=>' // No markup, just a relevance booster }, STRING, NUMBER @@ -29796,36 +61948,46 @@ /***/ }, - /* 468 */ + /* 474 */ + /***/ function(module, exports) { + module.exports = function(hljs) { + return { + disableAutodetect: true + }; + }; + + /***/ + }, + /* 475 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { keyword: - "actor addressof and as be break class compile_error compile_intrinsic" + - "consume continue delegate digestof do else elseif embed end error" + - "for fun if ifdef in interface is isnt lambda let match new not object" + - "or primitive recover repeat return struct then trait try type until " + - "use var where while with xor", - meta: "iso val tag trn box ref", - literal: "this false true" + 'actor addressof and as be break class compile_error compile_intrinsic' + + 'consume continue delegate digestof do else elseif embed end error' + + 'for fun if ifdef in interface is isnt lambda let match new not object' + + 'or primitive recover repeat return struct then trait try type until ' + + 'use var where while with xor', + meta: 'iso val tag trn box ref', + literal: 'this false true' }; var TRIPLE_QUOTE_STRING_MODE = { - className: "string", + className: 'string', begin: '"""', end: '"""', relevance: 10 }; var QUOTE_STRING_MODE = { - className: "string", + className: 'string', begin: '"', end: '"', contains: [hljs.BACKSLASH_ESCAPE] }; var SINGLE_QUOTE_CHAR_MODE = { - className: "string", + className: 'string', begin: "'", end: "'", contains: [hljs.BACKSLASH_ESCAPE], @@ -29833,8 +61995,8 @@ }; var TYPE_NAME = { - className: "type", - begin: "\\b_?[A-Z][\\w]*", + className: 'type', + begin: '\\b_?[A-Z][\\w]*', relevance: 0 }; @@ -29844,16 +62006,16 @@ }; var CLASS = { - className: "class", - beginKeywords: "class actor", - end: "$", + className: 'class', + beginKeywords: 'class actor', + end: '$', contains: [hljs.TITLE_MODE, hljs.C_LINE_COMMENT_MODE] }; var FUNCTION = { - className: "function", - beginKeywords: "new fun", - end: "=>", + className: 'function', + beginKeywords: 'new fun', + end: '=>', contains: [ hljs.TITLE_MODE, { @@ -29894,41 +62056,41 @@ /***/ }, - /* 469 */ + /* 476 */ /***/ function(module, exports) { module.exports = function(hljs) { var BACKTICK_ESCAPE = { - begin: "`[\\s\\S]", + begin: '`[\\s\\S]', relevance: 0 }; var VAR = { - className: "variable", + className: 'variable', variants: [{ begin: /\$[\w\d][\w\d_:]*/ }] }; var LITERAL = { - className: "literal", + className: 'literal', begin: /\$(null|true|false)\b/ }; var QUOTE_STRING = { - className: "string", + className: 'string', variants: [{ begin: /"/, end: /"/ }, { begin: /@"/, end: /^"@/ }], contains: [ BACKTICK_ESCAPE, VAR, { - className: "variable", + className: 'variable', begin: /\$[A-z]/, end: /[^A-z]/ } ] }; var APOS_STRING = { - className: "string", + className: 'string', variants: [{ begin: /'/, end: /'/ }, { begin: /@'/, end: /^'@/ }] }; var PS_HELPTAGS = { - className: "doctag", + className: 'doctag', variants: [ /* no paramater help tags */ @@ -29952,16 +62114,16 @@ }); return { - aliases: ["ps"], + aliases: ['ps'], lexemes: /-?[A-z\.\-]+/, case_insensitive: true, keywords: { keyword: - "if else foreach return function do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch", + 'if else foreach return function do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch', built_in: - "Add-Computer Add-Content Add-History Add-JobTrigger Add-Member Add-PSSnapin Add-Type Checkpoint-Computer Clear-Content Clear-EventLog Clear-History Clear-Host Clear-Item Clear-ItemProperty Clear-Variable Compare-Object Complete-Transaction Connect-PSSession Connect-WSMan Convert-Path ConvertFrom-Csv ConvertFrom-Json ConvertFrom-SecureString ConvertFrom-StringData ConvertTo-Csv ConvertTo-Html ConvertTo-Json ConvertTo-SecureString ConvertTo-Xml Copy-Item Copy-ItemProperty Debug-Process Disable-ComputerRestore Disable-JobTrigger Disable-PSBreakpoint Disable-PSRemoting Disable-PSSessionConfiguration Disable-WSManCredSSP Disconnect-PSSession Disconnect-WSMan Disable-ScheduledJob Enable-ComputerRestore Enable-JobTrigger Enable-PSBreakpoint Enable-PSRemoting Enable-PSSessionConfiguration Enable-ScheduledJob Enable-WSManCredSSP Enter-PSSession Exit-PSSession Export-Alias Export-Clixml Export-Console Export-Counter Export-Csv Export-FormatData Export-ModuleMember Export-PSSession ForEach-Object Format-Custom Format-List Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command Get-ComputerRestorePoint Get-Content Get-ControlPanelItem Get-Counter Get-Credential Get-Culture Get-Date Get-Event Get-EventLog Get-EventSubscriber Get-ExecutionPolicy Get-FormatData Get-Host Get-HotFix Get-Help Get-History Get-IseSnippet Get-Item Get-ItemProperty Get-Job Get-JobTrigger Get-Location Get-Member Get-Module Get-PfxCertificate Get-Process Get-PSBreakpoint Get-PSCallStack Get-PSDrive Get-PSProvider Get-PSSession Get-PSSessionConfiguration Get-PSSnapin Get-Random Get-ScheduledJob Get-ScheduledJobOption Get-Service Get-TraceSource Get-Transaction Get-TypeData Get-UICulture Get-Unique Get-Variable Get-Verb Get-WinEvent Get-WmiObject Get-WSManCredSSP Get-WSManInstance Group-Object Import-Alias Import-Clixml Import-Counter Import-Csv Import-IseSnippet Import-LocalizedData Import-PSSession Import-Module Invoke-AsWorkflow Invoke-Command Invoke-Expression Invoke-History Invoke-Item Invoke-RestMethod Invoke-WebRequest Invoke-WmiMethod Invoke-WSManAction Join-Path Limit-EventLog Measure-Command Measure-Object Move-Item Move-ItemProperty New-Alias New-Event New-EventLog New-IseSnippet New-Item New-ItemProperty New-JobTrigger New-Object New-Module New-ModuleManifest New-PSDrive New-PSSession New-PSSessionConfigurationFile New-PSSessionOption New-PSTransportOption New-PSWorkflowExecutionOption New-PSWorkflowSession New-ScheduledJobOption New-Service New-TimeSpan New-Variable New-WebServiceProxy New-WinEvent New-WSManInstance New-WSManSessionOption Out-Default Out-File Out-GridView Out-Host Out-Null Out-Printer Out-String Pop-Location Push-Location Read-Host Receive-Job Register-EngineEvent Register-ObjectEvent Register-PSSessionConfiguration Register-ScheduledJob Register-WmiEvent Remove-Computer Remove-Event Remove-EventLog Remove-Item Remove-ItemProperty Remove-Job Remove-JobTrigger Remove-Module Remove-PSBreakpoint Remove-PSDrive Remove-PSSession Remove-PSSnapin Remove-TypeData Remove-Variable Remove-WmiObject Remove-WSManInstance Rename-Computer Rename-Item Rename-ItemProperty Reset-ComputerMachinePassword Resolve-Path Restart-Computer Restart-Service Restore-Computer Resume-Job Resume-Service Save-Help Select-Object Select-String Select-Xml Send-MailMessage Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-JobTrigger Set-Location Set-PSBreakpoint Set-PSDebug Set-PSSessionConfiguration Set-ScheduledJob Set-ScheduledJobOption Set-Service Set-StrictMode Set-TraceSource Set-Variable Set-WmiInstance Set-WSManInstance Set-WSManQuickConfig Show-Command Show-ControlPanelItem Show-EventLog Sort-Object Split-Path Start-Job Start-Process Start-Service Start-Sleep Start-Transaction Start-Transcript Stop-Computer Stop-Job Stop-Process Stop-Service Stop-Transcript Suspend-Job Suspend-Service Tee-Object Test-ComputerSecureChannel Test-Connection Test-ModuleManifest Test-Path Test-PSSessionConfigurationFile Trace-Command Unblock-File Undo-Transaction Unregister-Event Unregister-PSSessionConfiguration Unregister-ScheduledJob Update-FormatData Update-Help Update-List Update-TypeData Use-Transaction Wait-Event Wait-Job Wait-Process Where-Object Write-Debug Write-Error Write-EventLog Write-Host Write-Output Write-Progress Write-Verbose Write-Warning Add-MDTPersistentDrive Disable-MDTMonitorService Enable-MDTMonitorService Get-MDTDeploymentShareStatistics Get-MDTMonitorData Get-MDTOperatingSystemCatalog Get-MDTPersistentDrive Import-MDTApplication Import-MDTDriver Import-MDTOperatingSystem Import-MDTPackage Import-MDTTaskSequence New-MDTDatabase Remove-MDTMonitorData Remove-MDTPersistentDrive Restore-MDTPersistentDrive Set-MDTMonitorData Test-MDTDeploymentShare Test-MDTMonitorData Update-MDTDatabaseSchema Update-MDTDeploymentShare Update-MDTLinkedDS Update-MDTMedia Update-MDTMedia Add-VamtProductKey Export-VamtData Find-VamtManagedMachine Get-VamtConfirmationId Get-VamtProduct Get-VamtProductKey Import-VamtData Initialize-VamtData Install-VamtConfirmationId Install-VamtProductActivation Install-VamtProductKey Update-VamtProduct", + 'Add-Computer Add-Content Add-History Add-JobTrigger Add-Member Add-PSSnapin Add-Type Checkpoint-Computer Clear-Content Clear-EventLog Clear-History Clear-Host Clear-Item Clear-ItemProperty Clear-Variable Compare-Object Complete-Transaction Connect-PSSession Connect-WSMan Convert-Path ConvertFrom-Csv ConvertFrom-Json ConvertFrom-SecureString ConvertFrom-StringData ConvertTo-Csv ConvertTo-Html ConvertTo-Json ConvertTo-SecureString ConvertTo-Xml Copy-Item Copy-ItemProperty Debug-Process Disable-ComputerRestore Disable-JobTrigger Disable-PSBreakpoint Disable-PSRemoting Disable-PSSessionConfiguration Disable-WSManCredSSP Disconnect-PSSession Disconnect-WSMan Disable-ScheduledJob Enable-ComputerRestore Enable-JobTrigger Enable-PSBreakpoint Enable-PSRemoting Enable-PSSessionConfiguration Enable-ScheduledJob Enable-WSManCredSSP Enter-PSSession Exit-PSSession Export-Alias Export-Clixml Export-Console Export-Counter Export-Csv Export-FormatData Export-ModuleMember Export-PSSession ForEach-Object Format-Custom Format-List Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command Get-ComputerRestorePoint Get-Content Get-ControlPanelItem Get-Counter Get-Credential Get-Culture Get-Date Get-Event Get-EventLog Get-EventSubscriber Get-ExecutionPolicy Get-FormatData Get-Host Get-HotFix Get-Help Get-History Get-IseSnippet Get-Item Get-ItemProperty Get-Job Get-JobTrigger Get-Location Get-Member Get-Module Get-PfxCertificate Get-Process Get-PSBreakpoint Get-PSCallStack Get-PSDrive Get-PSProvider Get-PSSession Get-PSSessionConfiguration Get-PSSnapin Get-Random Get-ScheduledJob Get-ScheduledJobOption Get-Service Get-TraceSource Get-Transaction Get-TypeData Get-UICulture Get-Unique Get-Variable Get-Verb Get-WinEvent Get-WmiObject Get-WSManCredSSP Get-WSManInstance Group-Object Import-Alias Import-Clixml Import-Counter Import-Csv Import-IseSnippet Import-LocalizedData Import-PSSession Import-Module Invoke-AsWorkflow Invoke-Command Invoke-Expression Invoke-History Invoke-Item Invoke-RestMethod Invoke-WebRequest Invoke-WmiMethod Invoke-WSManAction Join-Path Limit-EventLog Measure-Command Measure-Object Move-Item Move-ItemProperty New-Alias New-Event New-EventLog New-IseSnippet New-Item New-ItemProperty New-JobTrigger New-Object New-Module New-ModuleManifest New-PSDrive New-PSSession New-PSSessionConfigurationFile New-PSSessionOption New-PSTransportOption New-PSWorkflowExecutionOption New-PSWorkflowSession New-ScheduledJobOption New-Service New-TimeSpan New-Variable New-WebServiceProxy New-WinEvent New-WSManInstance New-WSManSessionOption Out-Default Out-File Out-GridView Out-Host Out-Null Out-Printer Out-String Pop-Location Push-Location Read-Host Receive-Job Register-EngineEvent Register-ObjectEvent Register-PSSessionConfiguration Register-ScheduledJob Register-WmiEvent Remove-Computer Remove-Event Remove-EventLog Remove-Item Remove-ItemProperty Remove-Job Remove-JobTrigger Remove-Module Remove-PSBreakpoint Remove-PSDrive Remove-PSSession Remove-PSSnapin Remove-TypeData Remove-Variable Remove-WmiObject Remove-WSManInstance Rename-Computer Rename-Item Rename-ItemProperty Reset-ComputerMachinePassword Resolve-Path Restart-Computer Restart-Service Restore-Computer Resume-Job Resume-Service Save-Help Select-Object Select-String Select-Xml Send-MailMessage Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-JobTrigger Set-Location Set-PSBreakpoint Set-PSDebug Set-PSSessionConfiguration Set-ScheduledJob Set-ScheduledJobOption Set-Service Set-StrictMode Set-TraceSource Set-Variable Set-WmiInstance Set-WSManInstance Set-WSManQuickConfig Show-Command Show-ControlPanelItem Show-EventLog Sort-Object Split-Path Start-Job Start-Process Start-Service Start-Sleep Start-Transaction Start-Transcript Stop-Computer Stop-Job Stop-Process Stop-Service Stop-Transcript Suspend-Job Suspend-Service Tee-Object Test-ComputerSecureChannel Test-Connection Test-ModuleManifest Test-Path Test-PSSessionConfigurationFile Trace-Command Unblock-File Undo-Transaction Unregister-Event Unregister-PSSessionConfiguration Unregister-ScheduledJob Update-FormatData Update-Help Update-List Update-TypeData Use-Transaction Wait-Event Wait-Job Wait-Process Where-Object Write-Debug Write-Error Write-EventLog Write-Host Write-Output Write-Progress Write-Verbose Write-Warning Add-MDTPersistentDrive Disable-MDTMonitorService Enable-MDTMonitorService Get-MDTDeploymentShareStatistics Get-MDTMonitorData Get-MDTOperatingSystemCatalog Get-MDTPersistentDrive Import-MDTApplication Import-MDTDriver Import-MDTOperatingSystem Import-MDTPackage Import-MDTTaskSequence New-MDTDatabase Remove-MDTMonitorData Remove-MDTPersistentDrive Restore-MDTPersistentDrive Set-MDTMonitorData Test-MDTDeploymentShare Test-MDTMonitorData Update-MDTDatabaseSchema Update-MDTDeploymentShare Update-MDTLinkedDS Update-MDTMedia Update-MDTMedia Add-VamtProductKey Export-VamtData Find-VamtManagedMachine Get-VamtConfirmationId Get-VamtProduct Get-VamtProductKey Import-VamtData Initialize-VamtData Install-VamtConfirmationId Install-VamtProductActivation Install-VamtProductKey Update-VamtProduct', nomarkup: - "-ne -eq -lt -gt -ge -le -not -like -notlike -match -notmatch -contains -notcontains -in -notin -replace" + '-ne -eq -lt -gt -ge -le -not -like -notlike -match -notmatch -contains -notcontains -in -notin -replace' }, contains: [ BACKTICK_ESCAPE, @@ -29977,47 +62139,47 @@ /***/ }, - /* 470 */ + /* 477 */ /***/ function(module, exports) { module.exports = function(hljs) { return { keywords: { keyword: - "BufferedReader PVector PFont PImage PGraphics HashMap boolean byte char color " + - "double float int long String Array FloatDict FloatList IntDict IntList JSONArray JSONObject " + - "Object StringDict StringList Table TableRow XML " + + 'BufferedReader PVector PFont PImage PGraphics HashMap boolean byte char color ' + + 'double float int long String Array FloatDict FloatList IntDict IntList JSONArray JSONObject ' + + 'Object StringDict StringList Table TableRow XML ' + // Java keywords - "false synchronized int abstract float private char boolean static null if const " + - "for true while long throw strictfp finally protected import native final return void " + - "enum else break transient new catch instanceof byte super volatile case assert short " + - "package default double public try this switch continue throws protected public private", - literal: "P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI", - title: "setup draw", + 'false synchronized int abstract float private char boolean static null if const ' + + 'for true while long throw strictfp finally protected import native final return void ' + + 'enum else break transient new catch instanceof byte super volatile case assert short ' + + 'package default double public try this switch continue throws protected public private', + literal: 'P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI', + title: 'setup draw', built_in: - "displayHeight displayWidth mouseY mouseX mousePressed pmouseX pmouseY key " + - "keyCode pixels focused frameCount frameRate height width " + - "size createGraphics beginDraw createShape loadShape PShape arc ellipse line point " + - "quad rect triangle bezier bezierDetail bezierPoint bezierTangent curve curveDetail curvePoint " + - "curveTangent curveTightness shape shapeMode beginContour beginShape bezierVertex curveVertex " + - "endContour endShape quadraticVertex vertex ellipseMode noSmooth rectMode smooth strokeCap " + - "strokeJoin strokeWeight mouseClicked mouseDragged mouseMoved mousePressed mouseReleased " + - "mouseWheel keyPressed keyPressedkeyReleased keyTyped print println save saveFrame day hour " + - "millis minute month second year background clear colorMode fill noFill noStroke stroke alpha " + - "blue brightness color green hue lerpColor red saturation modelX modelY modelZ screenX screenY " + - "screenZ ambient emissive shininess specular add createImage beginCamera camera endCamera frustum " + - "ortho perspective printCamera printProjection cursor frameRate noCursor exit loop noLoop popStyle " + - "pushStyle redraw binary boolean byte char float hex int str unbinary unhex join match matchAll nf " + - "nfc nfp nfs split splitTokens trim append arrayCopy concat expand reverse shorten sort splice subset " + - "box sphere sphereDetail createInput createReader loadBytes loadJSONArray loadJSONObject loadStrings " + - "loadTable loadXML open parseXML saveTable selectFolder selectInput beginRaw beginRecord createOutput " + - "createWriter endRaw endRecord PrintWritersaveBytes saveJSONArray saveJSONObject saveStream saveStrings " + - "saveXML selectOutput popMatrix printMatrix pushMatrix resetMatrix rotate rotateX rotateY rotateZ scale " + - "shearX shearY translate ambientLight directionalLight lightFalloff lights lightSpecular noLights normal " + - "pointLight spotLight image imageMode loadImage noTint requestImage tint texture textureMode textureWrap " + - "blend copy filter get loadPixels set updatePixels blendMode loadShader PShaderresetShader shader createFont " + - "loadFont text textFont textAlign textLeading textMode textSize textWidth textAscent textDescent abs ceil " + - "constrain dist exp floor lerp log mag map max min norm pow round sq sqrt acos asin atan atan2 cos degrees " + - "radians sin tan noise noiseDetail noiseSeed random randomGaussian randomSeed" + 'displayHeight displayWidth mouseY mouseX mousePressed pmouseX pmouseY key ' + + 'keyCode pixels focused frameCount frameRate height width ' + + 'size createGraphics beginDraw createShape loadShape PShape arc ellipse line point ' + + 'quad rect triangle bezier bezierDetail bezierPoint bezierTangent curve curveDetail curvePoint ' + + 'curveTangent curveTightness shape shapeMode beginContour beginShape bezierVertex curveVertex ' + + 'endContour endShape quadraticVertex vertex ellipseMode noSmooth rectMode smooth strokeCap ' + + 'strokeJoin strokeWeight mouseClicked mouseDragged mouseMoved mousePressed mouseReleased ' + + 'mouseWheel keyPressed keyPressedkeyReleased keyTyped print println save saveFrame day hour ' + + 'millis minute month second year background clear colorMode fill noFill noStroke stroke alpha ' + + 'blue brightness color green hue lerpColor red saturation modelX modelY modelZ screenX screenY ' + + 'screenZ ambient emissive shininess specular add createImage beginCamera camera endCamera frustum ' + + 'ortho perspective printCamera printProjection cursor frameRate noCursor exit loop noLoop popStyle ' + + 'pushStyle redraw binary boolean byte char float hex int str unbinary unhex join match matchAll nf ' + + 'nfc nfp nfs split splitTokens trim append arrayCopy concat expand reverse shorten sort splice subset ' + + 'box sphere sphereDetail createInput createReader loadBytes loadJSONArray loadJSONObject loadStrings ' + + 'loadTable loadXML open parseXML saveTable selectFolder selectInput beginRaw beginRecord createOutput ' + + 'createWriter endRaw endRecord PrintWritersaveBytes saveJSONArray saveJSONObject saveStream saveStrings ' + + 'saveXML selectOutput popMatrix printMatrix pushMatrix resetMatrix rotate rotateX rotateY rotateZ scale ' + + 'shearX shearY translate ambientLight directionalLight lightFalloff lights lightSpecular noLights normal ' + + 'pointLight spotLight image imageMode loadImage noTint requestImage tint texture textureMode textureWrap ' + + 'blend copy filter get loadPixels set updatePixels blendMode loadShader PShaderresetShader shader createFont ' + + 'loadFont text textFont textAlign textLeading textMode textSize textWidth textAscent textDescent abs ceil ' + + 'constrain dist exp floor lerp log mag map max min norm pow round sq sqrt acos asin atan atan2 cos degrees ' + + 'radians sin tan noise noiseDetail noiseSeed random randomGaussian randomSeed' }, contains: [ hljs.C_LINE_COMMENT_MODE, @@ -30031,35 +62193,35 @@ /***/ }, - /* 471 */ + /* 478 */ /***/ function(module, exports) { module.exports = function(hljs) { return { contains: [ hljs.C_NUMBER_MODE, { - begin: "[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}", - end: ":", + begin: '[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}', + end: ':', excludeEnd: true }, { - begin: "(ncalls|tottime|cumtime)", - end: "$", - keywords: "ncalls tottime|10 cumtime|10 filename", + begin: '(ncalls|tottime|cumtime)', + end: '$', + keywords: 'ncalls tottime|10 cumtime|10 filename', relevance: 10 }, { - begin: "function calls", - end: "$", + begin: 'function calls', + end: '$', contains: [hljs.C_NUMBER_MODE], relevance: 10 }, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, { - className: "string", - begin: "\\(", - end: "\\)$", + className: 'string', + begin: '\\(', + end: '\\)$', excludeBegin: true, excludeEnd: true, relevance: 0 @@ -30070,7 +62232,7 @@ /***/ }, - /* 472 */ + /* 479 */ /***/ function(module, exports) { module.exports = function(hljs) { var ATOM = { @@ -30079,7 +62241,7 @@ }; var VAR = { - className: "symbol", + className: 'symbol', variants: [ { begin: /[A-Z][a-zA-Z0-9_]*/ }, { begin: /_[A-Za-z0-9_]*/ } @@ -30099,26 +62261,26 @@ }; var LINE_COMMENT = { - className: "comment", + className: 'comment', begin: /%/, end: /$/, contains: [hljs.PHRASAL_WORDS_MODE] }; var BACKTICK_STRING = { - className: "string", + className: 'string', begin: /`/, end: /`/, contains: [hljs.BACKSLASH_ESCAPE] }; var CHAR_CODE = { - className: "string", // 0'a etc. + className: 'string', // 0'a etc. begin: /0\'(\\\'|.)/ }; var SPACE_CODE = { - className: "string", + className: 'string', begin: /0\'\\s/ // 0'\s }; @@ -30155,24 +62317,96 @@ /***/ }, - /* 473 */ + /* 480 */ + /***/ function(module, exports) { + module.exports = function(hljs) { + // whitespaces: space, tab, formfeed + var WS0 = '[ \\t\\f]*'; + var WS1 = '[ \\t\\f]+'; + // delimiter + var DELIM = '(' + WS0 + '[:=]' + WS0 + '|' + WS1 + ')'; + var KEY_ALPHANUM = '([^\\\\\\W:= \\t\\f\\n]|\\\\.)+'; + var KEY_OTHER = '([^\\\\:= \\t\\f\\n]|\\\\.)+'; + + var DELIM_AND_VALUE = { + // skip DELIM + end: DELIM, + relevance: 0, + starts: { + // value: everything until end of line (again, taking into account backslashes) + className: 'string', + end: /$/, + relevance: 0, + contains: [{ begin: '\\\\\\n' }] + } + }; + + return { + case_insensitive: true, + illegal: /\S/, + contains: [ + hljs.COMMENT('^\\s*[!#]', '$'), + // key: everything until whitespace or = or : (taking into account backslashes) + // case of a "normal" key + { + begin: KEY_ALPHANUM + DELIM, + returnBegin: true, + contains: [ + { + className: 'attr', + begin: KEY_ALPHANUM, + endsParent: true, + relevance: 0 + } + ], + starts: DELIM_AND_VALUE + }, + // case of key containing non-alphanumeric chars => relevance = 0 + { + begin: KEY_OTHER + DELIM, + returnBegin: true, + relevance: 0, + contains: [ + { + className: 'meta', + begin: KEY_OTHER, + endsParent: true, + relevance: 0 + } + ], + starts: DELIM_AND_VALUE + }, + // case of an empty key + { + className: 'attr', + relevance: 0, + begin: KEY_OTHER + WS0 + '$' + } + ] + }; + }; + + /***/ + }, + /* 481 */ /***/ function(module, exports) { module.exports = function(hljs) { return { keywords: { - keyword: "package import option optional required repeated group", + keyword: + 'package import option optional required repeated group oneof', built_in: - "double float int32 int64 uint32 uint64 sint32 sint64 " + - "fixed32 fixed64 sfixed32 sfixed64 bool string bytes", - literal: "true false" + 'double float int32 int64 uint32 uint64 sint32 sint64 ' + + 'fixed32 fixed64 sfixed32 sfixed64 bool string bytes', + literal: 'true false' }, contains: [ hljs.QUOTE_STRING_MODE, hljs.NUMBER_MODE, hljs.C_LINE_COMMENT_MODE, { - className: "class", - beginKeywords: "message enum service", + className: 'class', + beginKeywords: 'message enum service', end: /\{/, illegal: /\n/, contains: [ @@ -30182,11 +62416,11 @@ ] }, { - className: "function", - beginKeywords: "rpc", + className: 'function', + beginKeywords: 'rpc', end: /;/, excludeEnd: true, - keywords: "rpc returns" + keywords: 'rpc returns' }, { begin: /^\s*[A-Z_]+/, @@ -30199,90 +62433,90 @@ /***/ }, - /* 474 */ + /* 482 */ /***/ function(module, exports) { module.exports = function(hljs) { var PUPPET_KEYWORDS = { keyword: /* language keywords */ - "and case default else elsif false if in import enherits node or true undef unless main settings $string ", + 'and case default else elsif false if in import enherits node or true undef unless main settings $string ', literal: /* metaparameters */ - "alias audit before loglevel noop require subscribe tag " + + 'alias audit before loglevel noop require subscribe tag ' + /* normal attributes */ - "owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check " + - "en_address ip_address realname command environment hour monute month monthday special target weekday " + - "creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore " + - "links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source " + - "souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid " + - "ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel " + - "native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options " + - "device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use " + - "message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform " + - "responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running " + - "start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age " + - "password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled " + - "enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist " + - "priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey " + - "sslverify mounted", + 'owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check ' + + 'en_address ip_address realname command environment hour monute month monthday special target weekday ' + + 'creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore ' + + 'links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source ' + + 'souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ' + + 'ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel ' + + 'native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options ' + + 'device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use ' + + 'message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform ' + + 'responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running ' + + 'start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age ' + + 'password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled ' + + 'enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist ' + + 'priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey ' + + 'sslverify mounted', built_in: /* core facts */ - "architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers " + - "domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces " + - "ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion " + - "kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease " + - "lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major " + - "macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease " + - "operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion " + - "rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced " + - "selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime " + - "uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version" + 'architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers ' + + 'domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ' + + 'ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion ' + + 'kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease ' + + 'lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major ' + + 'macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease ' + + 'operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion ' + + 'rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced ' + + 'selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime ' + + 'uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version' }; - var COMMENT = hljs.COMMENT("#", "$"); + var COMMENT = hljs.COMMENT('#', '$'); - var IDENT_RE = "([A-Za-z_]|::)(\\w|::)*"; + var IDENT_RE = '([A-Za-z_]|::)(\\w|::)*'; var TITLE = hljs.inherit(hljs.TITLE_MODE, { begin: IDENT_RE }); - var VARIABLE = { className: "variable", begin: "\\$" + IDENT_RE }; + var VARIABLE = { className: 'variable', begin: '\\$' + IDENT_RE }; var STRING = { - className: "string", + className: 'string', contains: [hljs.BACKSLASH_ESCAPE, VARIABLE], variants: [{ begin: /'/, end: /'/ }, { begin: /"/, end: /"/ }] }; return { - aliases: ["pp"], + aliases: ['pp'], contains: [ COMMENT, VARIABLE, STRING, { - beginKeywords: "class", - end: "\\{|;", + beginKeywords: 'class', + end: '\\{|;', illegal: /=/, contains: [TITLE, COMMENT] }, { - beginKeywords: "define", + beginKeywords: 'define', end: /\{/, contains: [ { - className: "section", + className: 'section', begin: hljs.IDENT_RE, endsParent: true } ] }, { - begin: hljs.IDENT_RE + "\\s+\\{", + begin: hljs.IDENT_RE + '\\s+\\{', returnBegin: true, end: /\S/, contains: [ { - className: "keyword", + className: 'keyword', begin: hljs.IDENT_RE }, { @@ -30294,20 +62528,20 @@ STRING, COMMENT, { - begin: "[a-zA-Z_]+\\s*=>", + begin: '[a-zA-Z_]+\\s*=>', returnBegin: true, - end: "=>", + end: '=>', contains: [ { - className: "attr", + className: 'attr', begin: hljs.IDENT_RE } ] }, { - className: "number", + className: 'number', begin: - "(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b", + '(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b', relevance: 0 }, VARIABLE @@ -30322,60 +62556,60 @@ /***/ }, - /* 475 */ + /* 483 */ /***/ function(module, exports) { module.exports = function(hljs) { // Base deafult colors in PB IDE: background: #FFFFDF; foreground: #000000; var STRINGS = { // PB IDE color: #0080FF (Azure Radiance) - className: "string", + className: 'string', begin: '(~)?"', end: '"', - illegal: "\\n" + illegal: '\\n' }; var CONSTANTS = { // PB IDE color: #924B72 (Cannon Pink) // "#" + a letter or underscore + letters, digits or underscores + (optional) "$" - className: "symbol", - begin: "#[a-zA-Z_]\\w*\\$?" + className: 'symbol', + begin: '#[a-zA-Z_]\\w*\\$?' }; return { - aliases: ["pb", "pbi"], + aliases: ['pb', 'pbi'], // PB IDE color: #006666 (Blue Stone) + Bold keywords: // The following keywords list was taken and adapted from GuShH's PureBasic language file for GeSHi... - "And As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerEndIf CompilerEndSelect " + - "CompilerError CompilerIf CompilerSelect Continue Data DataSection EndDataSection Debug DebugLevel " + - "Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM " + - "EnableDebugger EnableExplicit End EndEnumeration EndIf EndImport EndInterface EndMacro EndProcedure " + - "EndSelect EndStructure EndStructureUnion EndWith Enumeration Extends FakeReturn For Next ForEach " + - "ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface Macro " + - "NewList Not Or ProcedureReturn Protected Prototype " + - "PrototypeC Read ReDim Repeat Until Restore Return Select Shared Static Step Structure StructureUnion " + - "Swap To Wend While With XIncludeFile XOr " + - "Procedure ProcedureC ProcedureCDLL ProcedureDLL Declare DeclareC DeclareCDLL DeclareDLL", + 'And As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerEndIf CompilerEndSelect ' + + 'CompilerError CompilerIf CompilerSelect Continue Data DataSection EndDataSection Debug DebugLevel ' + + 'Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM ' + + 'EnableDebugger EnableExplicit End EndEnumeration EndIf EndImport EndInterface EndMacro EndProcedure ' + + 'EndSelect EndStructure EndStructureUnion EndWith Enumeration Extends FakeReturn For Next ForEach ' + + 'ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface Macro ' + + 'NewList Not Or ProcedureReturn Protected Prototype ' + + 'PrototypeC Read ReDim Repeat Until Restore Return Select Shared Static Step Structure StructureUnion ' + + 'Swap To Wend While With XIncludeFile XOr ' + + 'Procedure ProcedureC ProcedureCDLL ProcedureDLL Declare DeclareC DeclareCDLL DeclareDLL', contains: [ // COMMENTS | PB IDE color: #00AAAA (Persian Green) - hljs.COMMENT(";", "$", { relevance: 0 }), + hljs.COMMENT(';', '$', { relevance: 0 }), { // PROCEDURES DEFINITIONS - className: "function", - begin: "\\b(Procedure|Declare)(C|CDLL|DLL)?\\b", - end: "\\(", + className: 'function', + begin: '\\b(Procedure|Declare)(C|CDLL|DLL)?\\b', + end: '\\(', excludeEnd: true, returnBegin: true, contains: [ { // PROCEDURE KEYWORDS | PB IDE color: #006666 (Blue Stone) + Bold - className: "keyword", - begin: "(Procedure|Declare)(C|CDLL|DLL)?", + className: 'keyword', + begin: '(Procedure|Declare)(C|CDLL|DLL)?', excludeEnd: true }, { // PROCEDURE RETURN TYPE SETTING | PB IDE color: #000000 (Black) - className: "type", - begin: "\\.\\w*" + className: 'type', + begin: '\\.\\w*' // end: ' ', }, hljs.UNDERSCORE_TITLE_MODE // PROCEDURE NAME | PB IDE color: #006666 (Blue Stone) @@ -30389,52 +62623,52 @@ /***/ }, - /* 476 */ + /* 484 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { keyword: - "and elif is global as in if from raise for except finally print import pass return " + - "exec else break not with class assert yield try while continue del or def lambda " + - "async await nonlocal|10 None True False", - built_in: "Ellipsis NotImplemented" + 'and elif is global as in if from raise for except finally print import pass return ' + + 'exec else break not with class assert yield try while continue del or def lambda ' + + 'async await nonlocal|10 None True False', + built_in: 'Ellipsis NotImplemented' }; var PROMPT = { - className: "meta", + className: 'meta', begin: /^(>>>|\.\.\.) / }; var SUBST = { - className: "subst", + className: 'subst', begin: /\{/, end: /\}/, keywords: KEYWORDS, illegal: /#/ }; var STRING = { - className: "string", + className: 'string', contains: [hljs.BACKSLASH_ESCAPE], variants: [ { begin: /(u|b)?r?'''/, end: /'''/, - contains: [PROMPT], + contains: [hljs.BACKSLASH_ESCAPE, PROMPT], relevance: 10 }, { begin: /(u|b)?r?"""/, end: /"""/, - contains: [PROMPT], + contains: [hljs.BACKSLASH_ESCAPE, PROMPT], relevance: 10 }, { begin: /(fr|rf|f)'''/, end: /'''/, - contains: [PROMPT, SUBST] + contains: [hljs.BACKSLASH_ESCAPE, PROMPT, SUBST] }, { begin: /(fr|rf|f)"""/, end: /"""/, - contains: [PROMPT, SUBST] + contains: [hljs.BACKSLASH_ESCAPE, PROMPT, SUBST] }, { begin: /(u|r|ur)'/, @@ -30457,35 +62691,35 @@ { begin: /(fr|rf|f)'/, end: /'/, - contains: [SUBST] + contains: [hljs.BACKSLASH_ESCAPE, SUBST] }, { begin: /(fr|rf|f)"/, end: /"/, - contains: [SUBST] + contains: [hljs.BACKSLASH_ESCAPE, SUBST] }, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE ] }; var NUMBER = { - className: "number", + className: 'number', relevance: 0, variants: [ - { begin: hljs.BINARY_NUMBER_RE + "[lLjJ]?" }, - { begin: "\\b(0o[0-7]+)[lLjJ]?" }, - { begin: hljs.C_NUMBER_RE + "[lLjJ]?" } + { begin: hljs.BINARY_NUMBER_RE + '[lLjJ]?' }, + { begin: '\\b(0o[0-7]+)[lLjJ]?' }, + { begin: hljs.C_NUMBER_RE + '[lLjJ]?' } ] }; var PARAMS = { - className: "params", + className: 'params', begin: /\(/, end: /\)/, - contains: ["self", PROMPT, NUMBER, STRING] + contains: ['self', PROMPT, NUMBER, STRING] }; SUBST.contains = [STRING, NUMBER, PROMPT]; return { - aliases: ["py", "gyp"], + aliases: ['py', 'gyp'], keywords: KEYWORDS, illegal: /(<\/|->|\?)|=>/, contains: [ @@ -30495,8 +62729,8 @@ hljs.HASH_COMMENT_MODE, { variants: [ - { className: "function", beginKeywords: "def" }, - { className: "class", beginKeywords: "class" } + { className: 'function', beginKeywords: 'def' }, + { className: 'class', beginKeywords: 'class' } ], end: /:/, illegal: /[${=;\n,]/, @@ -30506,12 +62740,12 @@ { begin: /->/, endsWithParent: true, - keywords: "None" + keywords: 'None' } ] }, { - className: "meta", + className: 'meta', begin: /^[\t ]*@/, end: /$/ }, @@ -30524,19 +62758,19 @@ /***/ }, - /* 477 */ + /* 485 */ /***/ function(module, exports) { module.exports = function(hljs) { var Q_KEYWORDS = { - keyword: "do while select delete by update from", - literal: "0b 1b", + keyword: 'do while select delete by update from', + literal: '0b 1b', built_in: - "neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum", + 'neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum', type: - "`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid" + '`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid' }; return { - aliases: ["k", "kdb"], + aliases: ['k', 'kdb'], keywords: Q_KEYWORDS, lexemes: /(`?)[A-Za-z0-9_]+\b/, contains: [ @@ -30549,39 +62783,39 @@ /***/ }, - /* 478 */ + /* 486 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { keyword: - "in of on if for while finally var new function do return void else break catch " + - "instanceof with throw case default try this switch continue typeof delete " + - "let yield const export super debugger as async await import", - literal: "true false null undefined NaN Infinity", + 'in of on if for while finally var new function do return void else break catch ' + + 'instanceof with throw case default try this switch continue typeof delete ' + + 'let yield const export super debugger as async await import', + literal: 'true false null undefined NaN Infinity', built_in: - "eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent " + - "encodeURI encodeURIComponent escape unescape Object Function Boolean Error " + - "EvalError InternalError RangeError ReferenceError StopIteration SyntaxError " + - "TypeError URIError Number Math Date String RegExp Array Float32Array " + - "Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array " + - "Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require " + - "module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect " + - "Behavior bool color coordinate date double enumeration font geocircle georectangle " + - "geoshape int list matrix4x4 parent point quaternion real rect " + - "size string url variant vector2d vector3d vector4d" + - "Promise" + 'eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent ' + + 'encodeURI encodeURIComponent escape unescape Object Function Boolean Error ' + + 'EvalError InternalError RangeError ReferenceError StopIteration SyntaxError ' + + 'TypeError URIError Number Math Date String RegExp Array Float32Array ' + + 'Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array ' + + 'Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require ' + + 'module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect ' + + 'Behavior bool color coordinate date double enumeration font geocircle georectangle ' + + 'geoshape int list matrix4x4 parent point quaternion real rect ' + + 'size string url variant vector2d vector3d vector4d' + + 'Promise' }; - var QML_IDENT_RE = "[a-zA-Z_][a-zA-Z0-9\\._]*"; + var QML_IDENT_RE = '[a-zA-Z_][a-zA-Z0-9\\._]*'; // Isolate property statements. Ends at a :, =, ;, ,, a comment or end of line. // Use property class. var PROPERTY = { - className: "keyword", - begin: "\\bproperty\\b", + className: 'keyword', + begin: '\\bproperty\\b', starts: { - className: "string", - end: "(:|=|;|,|//|/\\*|$)", + className: 'string', + end: '(:|=|;|,|//|/\\*|$)', returnEnd: true } }; @@ -30589,11 +62823,11 @@ // Isolate signal statements. Ends at a ) a comment or end of line. // Use property class. var SIGNAL = { - className: "keyword", - begin: "\\bsignal\\b", + className: 'keyword', + begin: '\\bsignal\\b', starts: { - className: "string", - end: "(\\(|:|=|;|,|//|/\\*|$)", + className: 'string', + end: '(\\(|:|=|;|,|//|/\\*|$)', returnEnd: true } }; @@ -30601,10 +62835,10 @@ // id: is special in QML. When we see id: we want to mark the id: as attribute and // emphasize the token following. var ID_ID = { - className: "attribute", - begin: "\\bid\\s*:", + className: 'attribute', + begin: '\\bid\\s*:', starts: { - className: "string", + className: 'string', end: QML_IDENT_RE, returnEnd: false } @@ -30615,13 +62849,13 @@ // objects, object definitions, or javascript. The true end is either when the parent // ends or the next attribute is detected. var QML_ATTRIBUTE = { - begin: QML_IDENT_RE + "\\s*:", + begin: QML_IDENT_RE + '\\s*:', returnBegin: true, contains: [ { - className: "attribute", + className: 'attribute', begin: QML_IDENT_RE, - end: "\\s*:", + end: '\\s*:', excludeEnd: true, relevance: 0 } @@ -30632,45 +62866,45 @@ // Find QML object. A QML object is a QML identifier followed by { and ends at the matching }. // All we really care about is finding IDENT followed by { and just mark up the IDENT and ignore the {. var QML_OBJECT = { - begin: QML_IDENT_RE + "\\s*{", - end: "{", + begin: QML_IDENT_RE + '\\s*{', + end: '{', returnBegin: true, relevance: 0, contains: [hljs.inherit(hljs.TITLE_MODE, { begin: QML_IDENT_RE })] }; return { - aliases: ["qt"], + aliases: ['qt'], case_insensitive: false, keywords: KEYWORDS, contains: [ { - className: "meta", + className: 'meta', begin: /^\s*['"]use (strict|asm)['"]/ }, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, { // template string - className: "string", - begin: "`", - end: "`", + className: 'string', + begin: '`', + end: '`', contains: [ hljs.BACKSLASH_ESCAPE, { - className: "subst", - begin: "\\$\\{", - end: "\\}" + className: 'subst', + begin: '\\$\\{', + end: '\\}' } ] }, hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, { - className: "number", + className: 'number', variants: [ - { begin: "\\b(0[bB][01]+)" }, - { begin: "\\b(0[oO][0-7]+)" }, + { begin: '\\b(0[bB][01]+)' }, + { begin: '\\b(0[oO][0-7]+)' }, { begin: hljs.C_NUMBER_RE } ], relevance: 0 @@ -30678,8 +62912,8 @@ { // "value" container begin: - "(" + hljs.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*", - keywords: "return throw case", + '(' + hljs.RE_STARTERS_RE + '|\\b(case|return|throw)\\b)\\s*', + keywords: 'return throw case', contains: [ hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, @@ -30689,7 +62923,7 @@ begin: /, end: />\s*[);\]]/, relevance: 0, - subLanguage: "xml" + subLanguage: 'xml' } ], relevance: 0 @@ -30697,8 +62931,8 @@ SIGNAL, PROPERTY, { - className: "function", - beginKeywords: "function", + className: 'function', + beginKeywords: 'function', end: /\{/, excludeEnd: true, contains: [ @@ -30706,7 +62940,7 @@ begin: /[A-Za-z$_][0-9A-Za-z$_]*/ }), { - className: "params", + className: 'params', begin: /\(/, end: /\)/, excludeBegin: true, @@ -30720,7 +62954,7 @@ illegal: /\[|%/ }, { - begin: "\\." + hljs.IDENT_RE, + begin: '\\.' + hljs.IDENT_RE, relevance: 0 // hack: prevents detection of keywords after dots }, ID_ID, @@ -30733,10 +62967,10 @@ /***/ }, - /* 479 */ + /* 487 */ /***/ function(module, exports) { module.exports = function(hljs) { - var IDENT_RE = "([a-zA-Z]|\\.[a-zA-Z.])[a-zA-Z0-9._]*"; + var IDENT_RE = '([a-zA-Z]|\\.[a-zA-Z.])[a-zA-Z0-9._]*'; return { contains: [ @@ -30746,55 +62980,55 @@ lexemes: IDENT_RE, keywords: { keyword: - "function if in break next repeat else for return switch while try tryCatch " + - "stop warning require library attach detach source setMethod setGeneric " + - "setGroupGeneric setClass ...", + 'function if in break next repeat else for return switch while try tryCatch ' + + 'stop warning require library attach detach source setMethod setGeneric ' + + 'setGroupGeneric setClass ...', literal: - "NULL NA TRUE FALSE T F Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 " + - "NA_complex_|10" + 'NULL NA TRUE FALSE T F Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 ' + + 'NA_complex_|10' }, relevance: 0 }, { // hex value - className: "number", - begin: "0[xX][0-9a-fA-F]+[Li]?\\b", + className: 'number', + begin: '0[xX][0-9a-fA-F]+[Li]?\\b', relevance: 0 }, { // explicit integer - className: "number", - begin: "\\d+(?:[eE][+\\-]?\\d*)?L\\b", + className: 'number', + begin: '\\d+(?:[eE][+\\-]?\\d*)?L\\b', relevance: 0 }, { // number with trailing decimal - className: "number", - begin: "\\d+\\.(?!\\d)(?:i\\b)?", + className: 'number', + begin: '\\d+\\.(?!\\d)(?:i\\b)?', relevance: 0 }, { // number - className: "number", - begin: "\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d*)?i?\\b", + className: 'number', + begin: '\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d*)?i?\\b', relevance: 0 }, { // number with leading decimal - className: "number", - begin: "\\.\\d+(?:[eE][+\\-]?\\d*)?i?\\b", + className: 'number', + begin: '\\.\\d+(?:[eE][+\\-]?\\d*)?i?\\b', relevance: 0 }, { // escaped identifier - begin: "`", - end: "`", + begin: '`', + end: '`', relevance: 0 }, { - className: "string", + className: 'string', contains: [hljs.BACKSLASH_ESCAPE], variants: [{ begin: '"', end: '"' }, { begin: "'", end: "'" }] } @@ -30804,26 +63038,356 @@ /***/ }, - /* 480 */ + /* 488 */ + /***/ function(module, exports) { + module.exports = function(hljs) { + function orReValues(ops) { + return ops + .map(function(op) { + return op + .split('') + .map(function(char) { + return '\\' + char; + }) + .join(''); + }) + .join('|'); + } + + var RE_IDENT = '~?[a-z$_][0-9a-zA-Z$_]*'; + var RE_MODULE_IDENT = '`?[A-Z$_][0-9a-zA-Z$_]*'; + + var RE_PARAM_TYPEPARAM = "'?[a-z$_][0-9a-z$_]*"; + var RE_PARAM_TYPE = + 's*:s*[a-z$_][0-9a-z$_]*((s*(' + + RE_PARAM_TYPEPARAM + + 's*(,' + + RE_PARAM_TYPEPARAM + + ')*)?s*))?'; + var RE_PARAM = + RE_IDENT + '(' + RE_PARAM_TYPE + ')?(' + RE_PARAM_TYPE + ')?'; + var RE_OPERATOR = + '(' + + orReValues([ + '||', + '&&', + '++', + '**', + '+.', + '*', + '/', + '*.', + '/.', + '...', + '|>' + ]) + + '|==|===)'; + var RE_OPERATOR_SPACED = '\\s+' + RE_OPERATOR + '\\s+'; + + var KEYWORDS = { + keyword: + 'and as asr assert begin class constraint do done downto else end exception external' + + 'for fun function functor if in include inherit initializer' + + 'land lazy let lor lsl lsr lxor match method mod module mutable new nonrec' + + 'object of open or private rec sig struct then to try type val virtual when while with', + built_in: + 'array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 ref string unit ', + literal: 'true false' + }; + + var RE_NUMBER = + '\\b(0[xX][a-fA-F0-9_]+[Lln]?|' + + '0[oO][0-7_]+[Lln]?|' + + '0[bB][01_]+[Lln]?|' + + '[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)'; + + var NUMBER_MODE = { + className: 'number', + relevance: 0, + variants: [ + { + begin: RE_NUMBER + }, + { + begin: '\\(\\-' + RE_NUMBER + '\\)' + } + ] + }; + + var OPERATOR_MODE = { + className: 'operator', + relevance: 0, + begin: RE_OPERATOR + }; + var LIST_CONTENTS_MODES = [ + { + className: 'identifier', + relevance: 0, + begin: RE_IDENT + }, + OPERATOR_MODE, + NUMBER_MODE + ]; + + var MODULE_ACCESS_CONTENTS = [ + hljs.QUOTE_STRING_MODE, + OPERATOR_MODE, + { + className: 'module', + begin: '\\b' + RE_MODULE_IDENT, + returnBegin: true, + end: '.', + contains: [ + { + className: 'identifier', + begin: RE_MODULE_IDENT, + relevance: 0 + } + ] + } + ]; + + var PARAMS_CONTENTS = [ + { + className: 'module', + begin: '\\b' + RE_MODULE_IDENT, + returnBegin: true, + end: '.', + relevance: 0, + contains: [ + { + className: 'identifier', + begin: RE_MODULE_IDENT, + relevance: 0 + } + ] + } + ]; + + var PARAMS_MODE = { + begin: RE_IDENT, + end: '(,|\\n|\\))', + relevance: 0, + contains: [ + OPERATOR_MODE, + { + className: 'typing', + begin: ':', + end: '(,|\\n)', + returnBegin: true, + relevance: 0, + contains: PARAMS_CONTENTS + } + ] + }; + + var FUNCTION_BLOCK_MODE = { + className: 'function', + relevance: 0, + keywords: KEYWORDS, + variants: [ + { + begin: '\\s(\\(\\.?.*?\\)|' + RE_IDENT + ')\\s*=>', + end: '\\s*=>', + returnBegin: true, + relevance: 0, + contains: [ + { + className: 'params', + variants: [ + { + begin: RE_IDENT + }, + { + begin: RE_PARAM + }, + { + begin: /\(\s*\)/ + } + ] + } + ] + }, + { + begin: '\\s\\(\\.?[^;\\|]*\\)\\s*=>', + end: '\\s=>', + returnBegin: true, + relevance: 0, + contains: [ + { + className: 'params', + relevance: 0, + variants: [PARAMS_MODE] + } + ] + }, + { + begin: '\\(\\.\\s' + RE_IDENT + '\\)\\s*=>' + } + ] + }; + MODULE_ACCESS_CONTENTS.push(FUNCTION_BLOCK_MODE); + + var CONSTRUCTOR_MODE = { + className: 'constructor', + begin: RE_MODULE_IDENT + '\\(', + end: '\\)', + illegal: '\\n', + keywords: KEYWORDS, + contains: [ + hljs.QUOTE_STRING_MODE, + OPERATOR_MODE, + { + className: 'params', + begin: '\\b' + RE_IDENT + } + ] + }; + + var PATTERN_MATCH_BLOCK_MODE = { + className: 'pattern-match', + begin: '\\|', + returnBegin: true, + keywords: KEYWORDS, + end: '=>', + relevance: 0, + contains: [ + CONSTRUCTOR_MODE, + OPERATOR_MODE, + { + relevance: 0, + className: 'constructor', + begin: RE_MODULE_IDENT + } + ] + }; + + var MODULE_ACCESS_MODE = { + className: 'module-access', + keywords: KEYWORDS, + returnBegin: true, + variants: [ + { + begin: '\\b(' + RE_MODULE_IDENT + '\\.)+' + RE_IDENT + }, + { + begin: '\\b(' + RE_MODULE_IDENT + '\\.)+\\(', + end: '\\)', + returnBegin: true, + contains: [ + FUNCTION_BLOCK_MODE, + { + begin: '\\(', + end: '\\)', + skip: true + } + ].concat(MODULE_ACCESS_CONTENTS) + }, + { + begin: '\\b(' + RE_MODULE_IDENT + '\\.)+{', + end: '}' + } + ], + contains: MODULE_ACCESS_CONTENTS + }; + + PARAMS_CONTENTS.push(MODULE_ACCESS_MODE); + + return { + aliases: ['re'], + keywords: KEYWORDS, + illegal: '(:\\-|:=|\\${|\\+=)', + contains: [ + hljs.COMMENT('/\\*', '\\*/', { illegal: '^(\\#,\\/\\/)' }), + { + className: 'character', + begin: "'(\\\\[^']+|[^'])'", + illegal: '\\n', + relevance: 0 + }, + hljs.QUOTE_STRING_MODE, + { + className: 'literal', + begin: '\\(\\)', + relevance: 0 + }, + { + className: 'literal', + begin: '\\[\\|', + end: '\\|\\]', + relevance: 0, + contains: LIST_CONTENTS_MODES + }, + { + className: 'literal', + begin: '\\[', + end: '\\]', + relevance: 0, + contains: LIST_CONTENTS_MODES + }, + CONSTRUCTOR_MODE, + { + className: 'operator', + begin: RE_OPERATOR_SPACED, + illegal: '\\-\\->', + relevance: 0 + }, + NUMBER_MODE, + hljs.C_LINE_COMMENT_MODE, + PATTERN_MATCH_BLOCK_MODE, + FUNCTION_BLOCK_MODE, + { + className: 'module-def', + begin: + '\\bmodule\\s+' + + RE_IDENT + + '\\s+' + + RE_MODULE_IDENT + + '\\s+=\\s+{', + end: '}', + returnBegin: true, + keywords: KEYWORDS, + relevance: 0, + contains: [ + { + className: 'module', + relevance: 0, + begin: RE_MODULE_IDENT + }, + { + begin: '{', + end: '}', + skip: true + } + ].concat(MODULE_ACCESS_CONTENTS) + }, + MODULE_ACCESS_MODE + ] + }; + }; + + /***/ + }, + /* 489 */ /***/ function(module, exports) { module.exports = function(hljs) { return { keywords: - "ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis " + - "Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone " + - "CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail " + - "DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format " + - "FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry " + - "Hider Hyperboloid Identity Illuminate Imager Interior LightSource " + - "MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte " + - "MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option " + - "Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples " + - "PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection " + - "Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow " + - "ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere " + - "SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd " + - "TransformPoints Translate TrimCurve WorldBegin WorldEnd", - illegal: "", + 'ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis ' + + 'Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone ' + + 'CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail ' + + 'DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format ' + + 'FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry ' + + 'Hider Hyperboloid Identity Illuminate Imager Interior LightSource ' + + 'MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte ' + + 'MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option ' + + 'Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples ' + + 'PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection ' + + 'Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ' + + 'ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere ' + + 'SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd ' + + 'TransformPoints Translate TrimCurve WorldBegin WorldEnd', + illegal: '', contains: [ hljs.HASH_COMMENT_MODE, hljs.C_NUMBER_MODE, @@ -30835,26 +63399,26 @@ /***/ }, - /* 481 */ + /* 490 */ /***/ function(module, exports) { module.exports = function(hljs) { - var IDENTIFIER = "[a-zA-Z-_][^\\n{]+\\{"; + var IDENTIFIER = '[a-zA-Z-_][^\\n{]+\\{'; var PROPERTY = { - className: "attribute", + className: 'attribute', begin: /[a-zA-Z-_]+/, end: /\s*:/, excludeEnd: true, starts: { - end: ";", + end: ';', relevance: 0, contains: [ { - className: "variable", + className: 'variable', begin: /\.[a-zA-Z-_]+/ }, { - className: "keyword", + className: 'keyword', begin: /\(optional\)/ } ] @@ -30862,32 +63426,32 @@ }; return { - aliases: ["graph", "instances"], + aliases: ['graph', 'instances'], case_insensitive: true, - keywords: "import", + keywords: 'import', contains: [ // Facet sections { - begin: "^facet " + IDENTIFIER, - end: "}", - keywords: "facet", + begin: '^facet ' + IDENTIFIER, + end: '}', + keywords: 'facet', contains: [PROPERTY, hljs.HASH_COMMENT_MODE] }, // Instance sections { - begin: "^\\s*instance of " + IDENTIFIER, - end: "}", + begin: '^\\s*instance of ' + IDENTIFIER, + end: '}', keywords: - "name count channels instance-data instance-state instance of", + 'name count channels instance-data instance-state instance of', illegal: /\S/, - contains: ["self", PROPERTY, hljs.HASH_COMMENT_MODE] + contains: ['self', PROPERTY, hljs.HASH_COMMENT_MODE] }, // Component sections { - begin: "^" + IDENTIFIER, - end: "}", + begin: '^' + IDENTIFIER, + end: '}', contains: [PROPERTY, hljs.HASH_COMMENT_MODE] }, @@ -30899,7 +63463,7 @@ /***/ }, - /* 482 */ + /* 491 */ /***/ function(module, exports) { module.exports = // Colors from RouterOS terminal: // green - #0E9A00 @@ -30909,20 +63473,20 @@ function(hljs) { var STATEMENTS = - "foreach do while for if from to step else on-error and or not in"; + 'foreach do while for if from to step else on-error and or not in'; // Global commands: Every global command should start with ":" token, otherwise it will be treated as variable. var GLOBAL_COMMANDS = - "global local beep delay put len typeof pick log time set find environment terminal error execute parse resolve toarray tobool toid toip toip6 tonum tostr totime"; + 'global local beep delay put len typeof pick log time set find environment terminal error execute parse resolve toarray tobool toid toip toip6 tonum tostr totime'; // Common commands: Following commands available from most sub-menus: var COMMON_COMMANDS = - "add remove enable disable set get print export edit find run debug error info warning"; + 'add remove enable disable set get print export edit find run debug error info warning'; - var LITERALS = "true false yes no nothing nil null"; + var LITERALS = 'true false yes no nothing nil null'; var OBJECTS = - "traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firewall firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw"; + 'traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firewall firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw'; // print parameters // Several parameters are available for print command: @@ -30931,22 +63495,22 @@ // ToDo: var TYPES = 'num number bool boolean str string ip ip6-prefix id time array'; // ToDo: The following tokens serve as delimiters in the grammar: () [] {} : ; $ / - var VAR_PREFIX = "global local set for foreach"; + var VAR_PREFIX = 'global local set for foreach'; var VAR = { - className: "variable", + className: 'variable', variants: [{ begin: /\$[\w\d#@][\w\d_]*/ }, { begin: /\$\{(.*?)}/ }] }; var QUOTE_STRING = { - className: "string", + className: 'string', begin: /"/, end: /"/, contains: [ hljs.BACKSLASH_ESCAPE, VAR, { - className: "variable", + className: 'variable', begin: /\$\(/, end: /\)/, contains: [hljs.BACKSLASH_ESCAPE] @@ -30955,27 +63519,27 @@ }; var APOS_STRING = { - className: "string", + className: 'string', begin: /'/, end: /'/ }; var IPADDR = - "((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"; - var IPADDR_wBITMASK = IPADDR + "/(3[0-2]|[1-2][0-9]|\\d)"; + '((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b'; + var IPADDR_wBITMASK = IPADDR + '/(3[0-2]|[1-2][0-9]|\\d)'; ////////////////////////////////////////////////////////////////////// return { - aliases: ["routeros", "mikrotik"], + aliases: ['routeros', 'mikrotik'], case_insensitive: true, lexemes: /:?[\w-]+/, keywords: { literal: LITERALS, keyword: STATEMENTS + - " :" + - STATEMENTS.split(" ").join(" :") + - " :" + - GLOBAL_COMMANDS.split(" ").join(" :") + ' :' + + STATEMENTS.split(' ').join(' :') + + ' :' + + GLOBAL_COMMANDS.split(' ').join(' :') }, contains: [ { @@ -30990,11 +63554,11 @@ { begin: /^\[\, end: /\>\]$/ }, // F# class declaration? { begin: /<\//, end: />/ }, // HTML tags { begin: /^facet /, end: /\}/ }, // roboconf - лютый костыль ))) - { begin: "^1\\.\\.(\\d+)$", end: /$/ } // tap + { begin: '^1\\.\\.(\\d+)$', end: /$/ } // tap ], illegal: /./ }, - hljs.COMMENT("^#", "$"), + hljs.COMMENT('^#', '$'), QUOTE_STRING, APOS_STRING, VAR, @@ -31005,7 +63569,7 @@ returnBegin: true, contains: [ { - className: "attribute", + className: 'attribute', begin: /[^=]+/ }, { @@ -31017,8 +63581,8 @@ APOS_STRING, VAR, { - className: "literal", - begin: "\\b(" + LITERALS.split(" ").join("|") + ")\\b" + className: 'literal', + begin: '\\b(' + LITERALS.split(' ').join('|') + ')\\b' }, /*{ // IPv4 addresses and subnets @@ -31045,32 +63609,32 @@ }, //*/ { // HEX values - className: "number", + className: 'number', begin: /\*[0-9a-fA-F]+/ }, //*/ { begin: - "\\b(" + - COMMON_COMMANDS.split(" ").join("|") + - ")([\\s[(]|])", + '\\b(' + + COMMON_COMMANDS.split(' ').join('|') + + ')([\\s[(]|])', returnBegin: true, contains: [ { - className: "builtin-name", //'function', + className: 'builtin-name', //'function', begin: /\w+/ } ] }, { - className: "built_in", + className: 'built_in', variants: [ { begin: - "(\\.\\./|/|\\s)((" + - OBJECTS.split(" ").join("|") + - ");?\\s)+", + '(\\.\\./|/|\\s)((' + + OBJECTS.split(' ').join('|') + + ');?\\s)+', relevance: 10 }, { begin: /\.\./ } @@ -31082,23 +63646,23 @@ /***/ }, - /* 483 */ + /* 492 */ /***/ function(module, exports) { module.exports = function(hljs) { return { keywords: { keyword: - "float color point normal vector matrix while for if do return else break extern continue", + 'float color point normal vector matrix while for if do return else break extern continue', built_in: - "abs acos ambient area asin atan atmosphere attribute calculatenormal ceil cellnoise " + - "clamp comp concat cos degrees depth Deriv diffuse distance Du Dv environment exp " + - "faceforward filterstep floor format fresnel incident length lightsource log match " + - "max min mod noise normalize ntransform opposite option phong pnoise pow printf " + - "ptlined radians random reflect refract renderinfo round setcomp setxcomp setycomp " + - "setzcomp shadow sign sin smoothstep specular specularbrdf spline sqrt step tan " + - "texture textureinfo trace transform vtransform xcomp ycomp zcomp" - }, - illegal: "", + 'abs acos ambient area asin atan atmosphere attribute calculatenormal ceil cellnoise ' + + 'clamp comp concat cos degrees depth Deriv diffuse distance Du Dv environment exp ' + + 'faceforward filterstep floor format fresnel incident length lightsource log match ' + + 'max min mod noise normalize ntransform opposite option phong pnoise pow printf ' + + 'ptlined radians random reflect refract renderinfo round setcomp setxcomp setycomp ' + + 'setzcomp shadow sign sin smoothstep specular specularbrdf spline sqrt step tan ' + + 'texture textureinfo trace transform vtransform xcomp ycomp zcomp' + }, + illegal: '', contains: [ hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, @@ -31106,18 +63670,18 @@ hljs.APOS_STRING_MODE, hljs.C_NUMBER_MODE, { - className: "meta", - begin: "#", - end: "$" + className: 'meta', + begin: '#', + end: '$' }, { - className: "class", - beginKeywords: "surface displacement light volume imager", - end: "\\(" + className: 'class', + beginKeywords: 'surface displacement light volume imager', + end: '\\(' }, { - beginKeywords: "illuminate illuminance gather", - end: "\\(" + beginKeywords: 'illuminate illuminance gather', + end: '\\(' } ] }; @@ -31125,53 +63689,53 @@ /***/ }, - /* 484 */ + /* 493 */ /***/ function(module, exports) { module.exports = function(hljs) { return { keywords: { keyword: - "BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE " + - "INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 " + - "INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 " + - "INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 " + - "INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 " + - "INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 " + - "INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 " + - "INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 " + - "INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 " + - "INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 " + - "INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 " + - "INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 " + - "INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 " + - "INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 " + - "INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 " + - "MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER " + - "OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE " + - "NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH " + - "IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND " + - "UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME " + - "ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE " + - "GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE " + - "SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING " + - "DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF " + - "MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY " + - "YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE " + - "COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR " + - "READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES " + - "ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE " + - "EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE " + - "SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL " + - "COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN " + - "MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING " + - "FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM " + - "NUMDAYS READ_DATE STAGING", + 'BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE ' + + 'INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 ' + + 'INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 ' + + 'INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 ' + + 'INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 ' + + 'INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 ' + + 'INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 ' + + 'INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 ' + + 'INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 ' + + 'INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 ' + + 'INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 ' + + 'INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 ' + + 'INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 ' + + 'INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 ' + + 'INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 ' + + 'MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER ' + + 'OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE ' + + 'NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH ' + + 'IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND ' + + 'UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME ' + + 'ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE ' + + 'GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE ' + + 'SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING ' + + 'DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF ' + + 'MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY ' + + 'YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE ' + + 'COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR ' + + 'READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES ' + + 'ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE ' + + 'EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE ' + + 'SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL ' + + 'COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN ' + + 'MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING ' + + 'FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM ' + + 'NUMDAYS READ_DATE STAGING', built_in: - "IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML " + - "DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT " + - "DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE " + - "DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT " + - "DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME" + 'IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML ' + + 'DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT ' + + 'DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE ' + + 'DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT ' + + 'DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME' }, contains: [ hljs.C_LINE_COMMENT_MODE, @@ -31180,10 +63744,10 @@ hljs.QUOTE_STRING_MODE, hljs.C_NUMBER_MODE, { - className: "literal", + className: 'literal', variants: [ - { begin: "#\\s+[a-zA-Z\\ \\.]*", relevance: 0 }, // looks like #-comment - { begin: "#[a-zA-Z\\ \\.]+" } + { begin: '#\\s+[a-zA-Z\\ \\.]*', relevance: 0 }, // looks like #-comment + { begin: '#[a-zA-Z\\ \\.]+' } ] } ] @@ -31192,119 +63756,119 @@ /***/ }, - /* 485 */ + /* 494 */ /***/ function(module, exports) { module.exports = function(hljs) { - var NUM_SUFFIX = "([ui](8|16|32|64|128|size)|f(32|64))?"; + var NUM_SUFFIX = '([ui](8|16|32|64|128|size)|f(32|64))?'; var KEYWORDS = - "alignof as be box break const continue crate do else enum extern " + - "false fn for if impl in let loop match mod mut offsetof once priv " + - "proc pub pure ref return self Self sizeof static struct super trait true " + - "type typeof unsafe unsized use virtual while where yield move default"; + 'alignof as be box break const continue crate do else enum extern ' + + 'false fn for if impl in let loop match mod mut offsetof once priv ' + + 'proc pub pure ref return self Self sizeof static struct super trait true ' + + 'type typeof unsafe unsized use virtual while where yield move default'; var BUILTINS = // functions - "drop " + + 'drop ' + // types - "i8 i16 i32 i64 i128 isize " + - "u8 u16 u32 u64 u128 usize " + - "f32 f64 " + - "str char bool " + - "Box Option Result String Vec " + + 'i8 i16 i32 i64 i128 isize ' + + 'u8 u16 u32 u64 u128 usize ' + + 'f32 f64 ' + + 'str char bool ' + + 'Box Option Result String Vec ' + // traits - "Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug " + - "PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator " + - "Extend IntoIterator DoubleEndedIterator ExactSizeIterator " + - "SliceConcatExt ToString " + + 'Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug ' + + 'PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator ' + + 'Extend IntoIterator DoubleEndedIterator ExactSizeIterator ' + + 'SliceConcatExt ToString ' + // macros - "assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! " + - "debug_assert! debug_assert_eq! env! panic! file! format! format_args! " + - "include_bin! include_str! line! local_data_key! module_path! " + - "option_env! print! println! select! stringify! try! unimplemented! " + - "unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!"; + 'assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! ' + + 'debug_assert! debug_assert_eq! env! panic! file! format! format_args! ' + + 'include_bin! include_str! line! local_data_key! module_path! ' + + 'option_env! print! println! select! stringify! try! unimplemented! ' + + 'unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!'; return { - aliases: ["rs"], + aliases: ['rs'], keywords: { keyword: KEYWORDS, - literal: "true false Some None Ok Err", + literal: 'true false Some None Ok Err', built_in: BUILTINS }, - lexemes: hljs.IDENT_RE + "!?", - illegal: "", + lexemes: hljs.IDENT_RE + '!?', + illegal: '', contains: [ hljs.C_LINE_COMMENT_MODE, - hljs.COMMENT("/\\*", "\\*/", { contains: ["self"] }), + hljs.COMMENT('/\\*', '\\*/', { contains: ['self'] }), hljs.inherit(hljs.QUOTE_STRING_MODE, { begin: /b?"/, illegal: null }), { - className: "string", + className: 'string', variants: [ { begin: /r(#*)"(.|\n)*?"\1(?!#)/ }, { begin: /b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/ } ] }, { - className: "symbol", + className: 'symbol', begin: /'[a-zA-Z_][a-zA-Z0-9_]*/ }, { - className: "number", + className: 'number', variants: [ - { begin: "\\b0b([01_]+)" + NUM_SUFFIX }, - { begin: "\\b0o([0-7_]+)" + NUM_SUFFIX }, - { begin: "\\b0x([A-Fa-f0-9_]+)" + NUM_SUFFIX }, + { begin: '\\b0b([01_]+)' + NUM_SUFFIX }, + { begin: '\\b0o([0-7_]+)' + NUM_SUFFIX }, + { begin: '\\b0x([A-Fa-f0-9_]+)' + NUM_SUFFIX }, { begin: - "\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)" + + '\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)' + NUM_SUFFIX } ], relevance: 0 }, { - className: "function", - beginKeywords: "fn", - end: "(\\(|<)", + className: 'function', + beginKeywords: 'fn', + end: '(\\(|<)', excludeEnd: true, contains: [hljs.UNDERSCORE_TITLE_MODE] }, { - className: "meta", - begin: "#\\!?\\[", - end: "\\]", + className: 'meta', + begin: '#\\!?\\[', + end: '\\]', contains: [ { - className: "meta-string", + className: 'meta-string', begin: /"/, end: /"/ } ] }, { - className: "class", - beginKeywords: "type", - end: ";", + className: 'class', + beginKeywords: 'type', + end: ';', contains: [ hljs.inherit(hljs.UNDERSCORE_TITLE_MODE, { endsParent: true }) ], - illegal: "\\S" + illegal: '\\S' }, { - className: "class", - beginKeywords: "trait enum struct union", - end: "{", + className: 'class', + beginKeywords: 'trait enum struct union', + end: '{', contains: [ hljs.inherit(hljs.UNDERSCORE_TITLE_MODE, { endsParent: true }) ], - illegal: "[\\w\\d]" + illegal: '[\\w\\d]' }, { - begin: hljs.IDENT_RE + "::", + begin: hljs.IDENT_RE + '::', keywords: { built_in: BUILTINS } }, { - begin: "->" + begin: '->' } ] }; @@ -31312,24 +63876,153 @@ /***/ }, - /* 486 */ + /* 495 */ /***/ function(module, exports) { module.exports = function(hljs) { - var ANNOTATION = { className: "meta", begin: "@[A-Za-z]+" }; + // Data step and PROC SQL statements + var SAS_KEYWORDS = + '' + + 'do if then else end until while ' + + '' + + 'abort array attrib by call cards cards4 catname continue ' + + 'datalines datalines4 delete delim delimiter display dm drop ' + + 'endsas error file filename footnote format goto in infile ' + + 'informat input keep label leave length libname link list ' + + 'lostcard merge missing modify options output out page put ' + + 'redirect remove rename replace retain return select set skip ' + + 'startsas stop title update waitsas where window x systask ' + + '' + + 'add and alter as cascade check create delete describe ' + + 'distinct drop foreign from group having index insert into in ' + + 'key like message modify msgtype not null on or order primary ' + + 'references reset restrict select set table unique update ' + + 'validate view where'; + + // Built-in SAS functions + var SAS_FUN = + '' + + 'abs|addr|airy|arcos|arsin|atan|attrc|attrn|band|' + + 'betainv|blshift|bnot|bor|brshift|bxor|byte|cdf|ceil|' + + 'cexist|cinv|close|cnonct|collate|compbl|compound|' + + 'compress|cos|cosh|css|curobs|cv|daccdb|daccdbsl|' + + 'daccsl|daccsyd|dacctab|dairy|date|datejul|datepart|' + + 'datetime|day|dclose|depdb|depdbsl|depdbsl|depsl|' + + 'depsl|depsyd|depsyd|deptab|deptab|dequote|dhms|dif|' + + 'digamma|dim|dinfo|dnum|dopen|doptname|doptnum|dread|' + + 'dropnote|dsname|erf|erfc|exist|exp|fappend|fclose|' + + 'fcol|fdelete|fetch|fetchobs|fexist|fget|fileexist|' + + 'filename|fileref|finfo|finv|fipname|fipnamel|' + + 'fipstate|floor|fnonct|fnote|fopen|foptname|foptnum|' + + 'fpoint|fpos|fput|fread|frewind|frlen|fsep|fuzz|' + + 'fwrite|gaminv|gamma|getoption|getvarc|getvarn|hbound|' + + 'hms|hosthelp|hour|ibessel|index|indexc|indexw|input|' + + 'inputc|inputn|int|intck|intnx|intrr|irr|jbessel|' + + 'juldate|kurtosis|lag|lbound|left|length|lgamma|' + + 'libname|libref|log|log10|log2|logpdf|logpmf|logsdf|' + + 'lowcase|max|mdy|mean|min|minute|mod|month|mopen|' + + 'mort|n|netpv|nmiss|normal|note|npv|open|ordinal|' + + 'pathname|pdf|peek|peekc|pmf|point|poisson|poke|' + + 'probbeta|probbnml|probchi|probf|probgam|probhypr|' + + 'probit|probnegb|probnorm|probt|put|putc|putn|qtr|' + + 'quote|ranbin|rancau|ranexp|rangam|range|rank|rannor|' + + 'ranpoi|rantbl|rantri|ranuni|repeat|resolve|reverse|' + + 'rewind|right|round|saving|scan|sdf|second|sign|' + + 'sin|sinh|skewness|soundex|spedis|sqrt|std|stderr|' + + 'stfips|stname|stnamel|substr|sum|symget|sysget|' + + 'sysmsg|sysprod|sysrc|system|tan|tanh|time|timepart|' + + 'tinv|tnonct|today|translate|tranwrd|trigamma|' + + 'trim|trimn|trunc|uniform|upcase|uss|var|varfmt|' + + 'varinfmt|varlabel|varlen|varname|varnum|varray|' + + 'varrayx|vartype|verify|vformat|vformatd|vformatdx|' + + 'vformatn|vformatnx|vformatw|vformatwx|vformatx|' + + 'vinarray|vinarrayx|vinformat|vinformatd|vinformatdx|' + + 'vinformatn|vinformatnx|vinformatw|vinformatwx|' + + 'vinformatx|vlabel|vlabelx|vlength|vlengthx|vname|' + + 'vnamex|vtype|vtypex|weekday|year|yyq|zipfips|zipname|' + + 'zipnamel|zipstate'; + + // Built-in macro functions + var SAS_MACRO_FUN = + 'bquote|nrbquote|cmpres|qcmpres|compstor|' + + 'datatyp|display|do|else|end|eval|global|goto|' + + 'if|index|input|keydef|label|left|length|let|' + + 'local|lowcase|macro|mend|nrbquote|nrquote|' + + 'nrstr|put|qcmpres|qleft|qlowcase|qscan|' + + 'qsubstr|qsysfunc|qtrim|quote|qupcase|scan|str|' + + 'substr|superq|syscall|sysevalf|sysexec|sysfunc|' + + 'sysget|syslput|sysprod|sysrc|sysrput|then|to|' + + 'trim|unquote|until|upcase|verify|while|window'; + + return { + aliases: ['sas', 'SAS'], + case_insensitive: true, // SAS is case-insensitive + keywords: { + literal: + 'null missing _all_ _automatic_ _character_ _infile_ ' + + '_n_ _name_ _null_ _numeric_ _user_ _webout_', + meta: SAS_KEYWORDS + }, + contains: [ + { + // Distinct highlight for proc , data, run, quit + className: 'keyword', + begin: /^\s*(proc [\w\d_]+|data|run|quit)[\s\;]/ + }, + { + // Macro variables + className: 'variable', + begin: /\&[a-zA-Z_\&][a-zA-Z0-9_]*\.?/ + }, + { + // Special emphasis for datalines|cards + className: 'emphasis', + begin: /^\s*datalines|cards.*;/, + end: /^\s*;\s*$/ + }, + { + // Built-in macro variables take precedence + className: 'built_in', + begin: '%(' + SAS_MACRO_FUN + ')' + }, + { + // User-defined macro functions highlighted after + className: 'name', + begin: /%[a-zA-Z_][a-zA-Z_0-9]*/ + }, + { + className: 'meta', + begin: '[^%](' + SAS_FUN + ')[(]' + }, + { + className: 'string', + variants: [hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE] + }, + hljs.COMMENT('\\*', ';'), + hljs.C_BLOCK_COMMENT_MODE + ] + }; + }; + + /***/ + }, + /* 496 */ + /***/ function(module, exports) { + module.exports = function(hljs) { + var ANNOTATION = { className: 'meta', begin: '@[A-Za-z]+' }; // used in strings for escaping/interpolation/substitution var SUBST = { - className: "subst", - variants: [{ begin: "\\$[A-Za-z0-9_]+" }, { begin: "\\${", end: "}" }] + className: 'subst', + variants: [{ begin: '\\$[A-Za-z0-9_]+' }, { begin: '\\${', end: '}' }] }; var STRING = { - className: "string", + className: 'string', variants: [ { begin: '"', end: '"', - illegal: "\\n", + illegal: '\\n', contains: [hljs.BACKSLASH_ESCAPE] }, { @@ -31340,11 +64033,11 @@ { begin: '[a-z]+"', end: '"', - illegal: "\\n", + illegal: '\\n', contains: [hljs.BACKSLASH_ESCAPE, SUBST] }, { - className: "string", + className: 'string', begin: '[a-z]+"""', end: '"""', contains: [SUBST], @@ -31354,30 +64047,30 @@ }; var SYMBOL = { - className: "symbol", + className: 'symbol', begin: "'\\w[\\w\\d_]*(?!')" }; var TYPE = { - className: "type", - begin: "\\b[A-Z][A-Za-z0-9_]*", + className: 'type', + begin: '\\b[A-Z][A-Za-z0-9_]*', relevance: 0 }; var NAME = { - className: "title", + className: 'title', begin: /[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/, relevance: 0 }; var CLASS = { - className: "class", - beginKeywords: "class object trait type", + className: 'class', + beginKeywords: 'class object trait type', end: /[:={\[\n;]/, excludeEnd: true, contains: [ { - beginKeywords: "extends with", + beginKeywords: 'extends with', relevance: 10 }, { @@ -31389,7 +64082,7 @@ contains: [TYPE] }, { - className: "params", + className: 'params', begin: /\(/, end: /\)/, excludeBegin: true, @@ -31402,8 +64095,8 @@ }; var METHOD = { - className: "function", - beginKeywords: "def", + className: 'function', + beginKeywords: 'def', end: /[:={\[(\n;]/, excludeEnd: true, contains: [NAME] @@ -31411,9 +64104,9 @@ return { keywords: { - literal: "true false null", + literal: 'true false null', keyword: - "type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit" + 'type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit' }, contains: [ hljs.C_LINE_COMMENT_MODE, @@ -31431,85 +64124,85 @@ /***/ }, - /* 487 */ + /* 497 */ /***/ function(module, exports) { module.exports = function(hljs) { - var SCHEME_IDENT_RE = "[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+"; - var SCHEME_SIMPLE_NUMBER_RE = "(\\-|\\+)?\\d+([./]\\d+)?"; + var SCHEME_IDENT_RE = '[^\\(\\)\\[\\]\\{\\}",\'`;#|\\\\\\s]+'; + var SCHEME_SIMPLE_NUMBER_RE = '(\\-|\\+)?\\d+([./]\\d+)?'; var SCHEME_COMPLEX_NUMBER_RE = - SCHEME_SIMPLE_NUMBER_RE + "[+\\-]" + SCHEME_SIMPLE_NUMBER_RE + "i"; + SCHEME_SIMPLE_NUMBER_RE + '[+\\-]' + SCHEME_SIMPLE_NUMBER_RE + 'i'; var BUILTINS = { - "builtin-name": - "case-lambda call/cc class define-class exit-handler field import " + - "inherit init-field interface let*-values let-values let/ec mixin " + - "opt-lambda override protect provide public rename require " + - "require-for-syntax syntax syntax-case syntax-error unit/sig unless " + - "when with-syntax and begin call-with-current-continuation " + - "call-with-input-file call-with-output-file case cond define " + - "define-syntax delay do dynamic-wind else for-each if lambda let let* " + + 'builtin-name': + 'case-lambda call/cc class define-class exit-handler field import ' + + 'inherit init-field interface let*-values let-values let/ec mixin ' + + 'opt-lambda override protect provide public rename require ' + + 'require-for-syntax syntax syntax-case syntax-error unit/sig unless ' + + 'when with-syntax and begin call-with-current-continuation ' + + 'call-with-input-file call-with-output-file case cond define ' + + 'define-syntax delay do dynamic-wind else for-each if lambda let let* ' + "let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / " + - "; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan " + - "boolean? caar cadr call-with-input-file call-with-output-file " + - "call-with-values car cdddar cddddr cdr ceiling char->integer " + - "char-alphabetic? char-ci<=? char-ci char-ci=? char-ci>=? char-ci>? " + - "char-downcase char-lower-case? char-numeric? char-ready? char-upcase " + - "char-upper-case? char-whitespace? char<=? char char=? char>=? char>? " + - "char? close-input-port close-output-port complex? cons cos " + - "current-input-port current-output-port denominator display eof-object? " + - "eq? equal? eqv? eval even? exact->inexact exact? exp expt floor " + - "force gcd imag-part inexact->exact inexact? input-port? integer->char " + - "integer? interaction-environment lcm length list list->string " + - "list->vector list-ref list-tail list? load log magnitude make-polar " + - "make-rectangular make-string make-vector max member memq memv min " + - "modulo negative? newline not null-environment null? number->string " + - "number? numerator odd? open-input-file open-output-file output-port? " + - "pair? peek-char port? positive? procedure? quasiquote quote quotient " + - "rational? rationalize read read-char real-part real? remainder reverse " + - "round scheme-report-environment set! set-car! set-cdr! sin sqrt string " + - "string->list string->number string->symbol string-append string-ci<=? " + - "string-ci string-ci=? string-ci>=? string-ci>? string-copy " + - "string-fill! string-length string-ref string-set! string<=? string " + - "string=? string>=? string>? string? substring symbol->string symbol? " + - "tan transcript-off transcript-on truncate values vector " + - "vector->list vector-fill! vector-length vector-ref vector-set! " + - "with-input-from-file with-output-to-file write write-char zero?" + '; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan ' + + 'boolean? caar cadr call-with-input-file call-with-output-file ' + + 'call-with-values car cdddar cddddr cdr ceiling char->integer ' + + 'char-alphabetic? char-ci<=? char-ci char-ci=? char-ci>=? char-ci>? ' + + 'char-downcase char-lower-case? char-numeric? char-ready? char-upcase ' + + 'char-upper-case? char-whitespace? char<=? char char=? char>=? char>? ' + + 'char? close-input-port close-output-port complex? cons cos ' + + 'current-input-port current-output-port denominator display eof-object? ' + + 'eq? equal? eqv? eval even? exact->inexact exact? exp expt floor ' + + 'force gcd imag-part inexact->exact inexact? input-port? integer->char ' + + 'integer? interaction-environment lcm length list list->string ' + + 'list->vector list-ref list-tail list? load log magnitude make-polar ' + + 'make-rectangular make-string make-vector max member memq memv min ' + + 'modulo negative? newline not null-environment null? number->string ' + + 'number? numerator odd? open-input-file open-output-file output-port? ' + + 'pair? peek-char port? positive? procedure? quasiquote quote quotient ' + + 'rational? rationalize read read-char real-part real? remainder reverse ' + + 'round scheme-report-environment set! set-car! set-cdr! sin sqrt string ' + + 'string->list string->number string->symbol string-append string-ci<=? ' + + 'string-ci string-ci=? string-ci>=? string-ci>? string-copy ' + + 'string-fill! string-length string-ref string-set! string<=? string ' + + 'string=? string>=? string>? string? substring symbol->string symbol? ' + + 'tan transcript-off transcript-on truncate values vector ' + + 'vector->list vector-fill! vector-length vector-ref vector-set! ' + + 'with-input-from-file with-output-to-file write write-char zero?' }; var SHEBANG = { - className: "meta", - begin: "^#!", - end: "$" + className: 'meta', + begin: '^#!', + end: '$' }; var LITERAL = { - className: "literal", - begin: "(#t|#f|#\\\\" + SCHEME_IDENT_RE + "|#\\\\.)" + className: 'literal', + begin: '(#t|#f|#\\\\' + SCHEME_IDENT_RE + '|#\\\\.)' }; var NUMBER = { - className: "number", + className: 'number', variants: [ { begin: SCHEME_SIMPLE_NUMBER_RE, relevance: 0 }, { begin: SCHEME_COMPLEX_NUMBER_RE, relevance: 0 }, - { begin: "#b[0-1]+(/[0-1]+)?" }, - { begin: "#o[0-7]+(/[0-7]+)?" }, - { begin: "#x[0-9a-f]+(/[0-9a-f]+)?" } + { begin: '#b[0-1]+(/[0-1]+)?' }, + { begin: '#o[0-7]+(/[0-7]+)?' }, + { begin: '#x[0-9a-f]+(/[0-9a-f]+)?' } ] }; var STRING = hljs.QUOTE_STRING_MODE; var REGULAR_EXPRESSION = { - className: "regexp", + className: 'regexp', begin: '#[pr]x"', end: '[^\\\\]"' }; var COMMENT_MODES = [ - hljs.COMMENT(";", "$", { + hljs.COMMENT(';', '$', { relevance: 0 }), - hljs.COMMENT("#\\|", "\\|#") + hljs.COMMENT('#\\|', '\\|#') ]; var IDENT = { @@ -31518,7 +64211,7 @@ }; var QUOTED_IDENT = { - className: "symbol", + className: 'symbol', begin: "'" + SCHEME_IDENT_RE }; @@ -31528,18 +64221,18 @@ }; var QUOTED_LIST = { - variants: [{ begin: /'/ }, { begin: "`" }], + variants: [{ begin: /'/ }, { begin: '`' }], contains: [ { - begin: "\\(", - end: "\\)", - contains: ["self", LITERAL, STRING, NUMBER, IDENT, QUOTED_IDENT] + begin: '\\(', + end: '\\)', + contains: ['self', LITERAL, STRING, NUMBER, IDENT, QUOTED_IDENT] } ] }; var NAME = { - className: "name", + className: 'name', begin: SCHEME_IDENT_RE, lexemes: SCHEME_IDENT_RE, keywords: BUILTINS @@ -31562,8 +64255,8 @@ var LIST = { variants: [ - { begin: "\\(", end: "\\)" }, - { begin: "\\[", end: "\\]" } + { begin: '\\(', end: '\\)' }, + { begin: '\\[', end: '\\]' } ], contains: [LAMBDA, NAME, BODY] }; @@ -31593,87 +64286,87 @@ /***/ }, - /* 488 */ + /* 498 */ /***/ function(module, exports) { module.exports = function(hljs) { var COMMON_CONTAINS = [ hljs.C_NUMBER_MODE, { - className: "string", - begin: "'|\"", - end: "'|\"", + className: 'string', + begin: '\'|"', + end: '\'|"', contains: [hljs.BACKSLASH_ESCAPE, { begin: "''" }] } ]; return { - aliases: ["sci"], + aliases: ['sci'], lexemes: /%?\w+/, keywords: { keyword: - "abort break case clear catch continue do elseif else endfunction end for function " + - "global if pause return resume select try then while", - literal: "%f %F %t %T %pi %eps %inf %nan %e %i %z %s", + 'abort break case clear catch continue do elseif else endfunction end for function ' + + 'global if pause return resume select try then while', + literal: '%f %F %t %T %pi %eps %inf %nan %e %i %z %s', // Scilab has more than 2000 functions. Just list the most commons built_in: - "abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error " + - "exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty " + - "isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log " + - "max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real " + - "round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan " + - "type typename warning zeros matrix" + 'abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error ' + + 'exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty ' + + 'isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log ' + + 'max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real ' + + 'round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan ' + + 'type typename warning zeros matrix' }, illegal: '("|#|/\\*|\\s+/\\w+)', contains: [ { - className: "function", - beginKeywords: "function", - end: "$", + className: 'function', + beginKeywords: 'function', + end: '$', contains: [ hljs.UNDERSCORE_TITLE_MODE, { - className: "params", - begin: "\\(", - end: "\\)" + className: 'params', + begin: '\\(', + end: '\\)' } ] }, { begin: "[a-zA-Z_][a-zA-Z_0-9]*('+[\\.']*|[\\.']+)", - end: "", + end: '', relevance: 0 }, { - begin: "\\[", + begin: '\\[', end: "\\]'*[\\.']*", relevance: 0, contains: COMMON_CONTAINS }, - hljs.COMMENT("//", "$") + hljs.COMMENT('//', '$') ].concat(COMMON_CONTAINS) }; }; /***/ }, - /* 489 */ + /* 499 */ /***/ function(module, exports) { module.exports = function(hljs) { - var IDENT_RE = "[a-zA-Z-][a-zA-Z0-9_-]*"; + var IDENT_RE = '[a-zA-Z-][a-zA-Z0-9_-]*'; var VARIABLE = { - className: "variable", - begin: "(\\$" + IDENT_RE + ")\\b" + className: 'variable', + begin: '(\\$' + IDENT_RE + ')\\b' }; var HEXCOLOR = { - className: "number", - begin: "#[0-9A-Fa-f]+" + className: 'number', + begin: '#[0-9A-Fa-f]+' }; var DEF_INTERNALS = { - className: "attribute", - begin: "[A-Z\\_\\.\\-]+", - end: ":", + className: 'attribute', + begin: '[A-Z\\_\\.\\-]+', + end: ':', excludeEnd: true, - illegal: "[^\\s]", + illegal: '[^\\s]', starts: { endsWithParent: true, excludeEnd: true, @@ -31684,8 +64377,8 @@ hljs.APOS_STRING_MODE, hljs.C_BLOCK_COMMENT_MODE, { - className: "meta", - begin: "!important" + className: 'meta', + begin: '!important' } ] } @@ -31697,49 +64390,49 @@ hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, { - className: "selector-id", - begin: "\\#[A-Za-z0-9_-]+", + className: 'selector-id', + begin: '\\#[A-Za-z0-9_-]+', relevance: 0 }, { - className: "selector-class", - begin: "\\.[A-Za-z0-9_-]+", + className: 'selector-class', + begin: '\\.[A-Za-z0-9_-]+', relevance: 0 }, { - className: "selector-attr", - begin: "\\[", - end: "\\]", - illegal: "$" + className: 'selector-attr', + begin: '\\[', + end: '\\]', + illegal: '$' }, { - className: "selector-tag", // begin: IDENT_RE, end: '[,|\\s]' + className: 'selector-tag', // begin: IDENT_RE, end: '[,|\\s]' begin: - "\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b", + '\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b', relevance: 0 }, { begin: - ":(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)" + ':(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)' }, { begin: - "::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)" + '::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)' }, VARIABLE, { - className: "attribute", + className: 'attribute', begin: - "\\b(z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b", - illegal: "[^\\s]" + '\\b(z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b', + illegal: '[^\\s]' }, { begin: - "\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b" + '\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b' }, { - begin: ":", - end: ";", + begin: ':', + end: ';', contains: [ VARIABLE, HEXCOLOR, @@ -31747,16 +64440,16 @@ hljs.QUOTE_STRING_MODE, hljs.APOS_STRING_MODE, { - className: "meta", - begin: "!important" + className: 'meta', + begin: '!important' } ] }, { - begin: "@", - end: "[{;]", + begin: '@', + end: '[{;]', keywords: - "mixin include extend for if else each while charset import debug media page content font-face namespace warn", + 'mixin include extend for if else each while charset import debug media page content font-face namespace warn', contains: [ VARIABLE, hljs.QUOTE_STRING_MODE, @@ -31764,7 +64457,7 @@ HEXCOLOR, hljs.CSS_NUMBER_MODE, { - begin: "\\s[A-Za-z0-9_.-]+", + begin: '\\s[A-Za-z0-9_.-]+', relevance: 0 } ] @@ -31775,18 +64468,18 @@ /***/ }, - /* 490 */ + /* 500 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["console"], + aliases: ['console'], contains: [ { - className: "meta", - begin: "^\\s{0,3}[\\w\\d\\[\\]()@-]*[>%$#]", + className: 'meta', + begin: '^\\s{0,3}[\\w\\d\\[\\]()@-]*[>%$#]', starts: { - end: "$", - subLanguage: "bash" + end: '$', + subLanguage: 'bash' } } ] @@ -31795,122 +64488,122 @@ /***/ }, - /* 491 */ + /* 501 */ /***/ function(module, exports) { module.exports = function(hljs) { var smali_instr_low_prio = [ - "add", - "and", - "cmp", - "cmpg", - "cmpl", - "const", - "div", - "double", - "float", - "goto", - "if", - "int", - "long", - "move", - "mul", - "neg", - "new", - "nop", - "not", - "or", - "rem", - "return", - "shl", - "shr", - "sput", - "sub", - "throw", - "ushr", - "xor" + 'add', + 'and', + 'cmp', + 'cmpg', + 'cmpl', + 'const', + 'div', + 'double', + 'float', + 'goto', + 'if', + 'int', + 'long', + 'move', + 'mul', + 'neg', + 'new', + 'nop', + 'not', + 'or', + 'rem', + 'return', + 'shl', + 'shr', + 'sput', + 'sub', + 'throw', + 'ushr', + 'xor' ]; var smali_instr_high_prio = [ - "aget", - "aput", - "array", - "check", - "execute", - "fill", - "filled", - "goto/16", - "goto/32", - "iget", - "instance", - "invoke", - "iput", - "monitor", - "packed", - "sget", - "sparse" + 'aget', + 'aput', + 'array', + 'check', + 'execute', + 'fill', + 'filled', + 'goto/16', + 'goto/32', + 'iget', + 'instance', + 'invoke', + 'iput', + 'monitor', + 'packed', + 'sget', + 'sparse' ]; var smali_keywords = [ - "transient", - "constructor", - "abstract", - "final", - "synthetic", - "public", - "private", - "protected", - "static", - "bridge", - "system" + 'transient', + 'constructor', + 'abstract', + 'final', + 'synthetic', + 'public', + 'private', + 'protected', + 'static', + 'bridge', + 'system' ]; return { - aliases: ["smali"], + aliases: ['smali'], contains: [ { - className: "string", + className: 'string', begin: '"', end: '"', relevance: 0 }, - hljs.COMMENT("#", "$", { + hljs.COMMENT('#', '$', { relevance: 0 }), { - className: "keyword", + className: 'keyword', variants: [ - { begin: "\\s*\\.end\\s[a-zA-Z0-9]*" }, - { begin: "^[ ]*\\.[a-zA-Z]*", relevance: 0 }, - { begin: "\\s:[a-zA-Z_0-9]*", relevance: 0 }, - { begin: "\\s(" + smali_keywords.join("|") + ")" } + { begin: '\\s*\\.end\\s[a-zA-Z0-9]*' }, + { begin: '^[ ]*\\.[a-zA-Z]*', relevance: 0 }, + { begin: '\\s:[a-zA-Z_0-9]*', relevance: 0 }, + { begin: '\\s(' + smali_keywords.join('|') + ')' } ] }, { - className: "built_in", + className: 'built_in', variants: [ { - begin: "\\s(" + smali_instr_low_prio.join("|") + ")\\s" + begin: '\\s(' + smali_instr_low_prio.join('|') + ')\\s' }, { begin: - "\\s(" + - smali_instr_low_prio.join("|") + - ")((\\-|/)[a-zA-Z0-9]+)+\\s", + '\\s(' + + smali_instr_low_prio.join('|') + + ')((\\-|/)[a-zA-Z0-9]+)+\\s', relevance: 10 }, { begin: - "\\s(" + - smali_instr_high_prio.join("|") + - ")((\\-|/)[a-zA-Z0-9]+)*\\s", + '\\s(' + + smali_instr_high_prio.join('|') + + ')((\\-|/)[a-zA-Z0-9]+)*\\s', relevance: 10 } ] }, { - className: "class", - begin: "L[^(;:\n]*;", + className: 'class', + begin: 'L[^(;:\n]*;', relevance: 0 }, { - begin: "[vp][0-9]+" + begin: '[vp][0-9]+' } ] }; @@ -31918,31 +64611,31 @@ /***/ }, - /* 492 */ + /* 502 */ /***/ function(module, exports) { module.exports = function(hljs) { - var VAR_IDENT_RE = "[a-z][a-zA-Z0-9_]*"; + var VAR_IDENT_RE = '[a-z][a-zA-Z0-9_]*'; var CHAR = { - className: "string", - begin: "\\$.{1}" + className: 'string', + begin: '\\$.{1}' }; var SYMBOL = { - className: "symbol", - begin: "#" + hljs.UNDERSCORE_IDENT_RE + className: 'symbol', + begin: '#' + hljs.UNDERSCORE_IDENT_RE }; return { - aliases: ["st"], - keywords: "self super nil true false thisContext", // only 6 + aliases: ['st'], + keywords: 'self super nil true false thisContext', // only 6 contains: [ hljs.COMMENT('"', '"'), hljs.APOS_STRING_MODE, { - className: "type", - begin: "\\b[A-Z][A-Za-z0-9_]*", + className: 'type', + begin: '\\b[A-Z][A-Za-z0-9_]*', relevance: 0 }, { - begin: VAR_IDENT_RE + ":", + begin: VAR_IDENT_RE + ':', relevance: 0 }, hljs.C_NUMBER_MODE, @@ -31953,15 +64646,15 @@ // explosion under V8. It effectively means `| var1 var2 ... |` with // whitespace adjacent to `|` being optional. begin: - "\\|[ ]*" + VAR_IDENT_RE + "([ ]+" + VAR_IDENT_RE + ")*[ ]*\\|", + '\\|[ ]*' + VAR_IDENT_RE + '([ ]+' + VAR_IDENT_RE + ')*[ ]*\\|', returnBegin: true, end: /\|/, illegal: /\S/, - contains: [{ begin: "(\\|[ ]*)?" + VAR_IDENT_RE }] + contains: [{ begin: '(\\|[ ]*)?' + VAR_IDENT_RE }] }, { - begin: "\\#\\(", - end: "\\)", + begin: '\\#\\(', + end: '\\)', contains: [ hljs.APOS_STRING_MODE, CHAR, @@ -31975,48 +64668,48 @@ /***/ }, - /* 493 */ + /* 503 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["ml"], + aliases: ['ml'], keywords: { keyword: /* according to Definition of Standard ML 97 */ - "abstype and andalso as case datatype do else end eqtype " + - "exception fn fun functor handle if in include infix infixr " + - "let local nonfix of op open orelse raise rec sharing sig " + - "signature struct structure then type val with withtype where while", + 'abstype and andalso as case datatype do else end eqtype ' + + 'exception fn fun functor handle if in include infix infixr ' + + 'let local nonfix of op open orelse raise rec sharing sig ' + + 'signature struct structure then type val with withtype where while', built_in: /* built-in types according to basis library */ - "array bool char exn int list option order real ref string substring vector unit word", - literal: "true false NONE SOME LESS EQUAL GREATER nil" + 'array bool char exn int list option order real ref string substring vector unit word', + literal: 'true false NONE SOME LESS EQUAL GREATER nil' }, illegal: /\/\/|>>/, - lexemes: "[a-z_]\\w*!?", + lexemes: '[a-z_]\\w*!?', contains: [ { - className: "literal", + className: 'literal', begin: /\[(\|\|)?\]|\(\)/, relevance: 0 }, - hljs.COMMENT("\\(\\*", "\\*\\)", { - contains: ["self"] + hljs.COMMENT('\\(\\*', '\\*\\)', { + contains: ['self'] }), { /* type variable */ - className: "symbol", + className: 'symbol', begin: "'[A-Za-z_](?!')[\\w']*" /* the grammar is ambiguous on how 'a'b should be interpreted but not the compiler */ }, { /* polymorphic variant */ - className: "type", + className: 'type', begin: "`[A-Z][\\w']*" }, { /* module or constructor */ - className: "type", + className: 'type', begin: "\\b[A-Z][\\w']*", relevance: 0 }, @@ -32025,17 +64718,17 @@ begin: "[a-z_]\\w*'[\\w']*" }, hljs.inherit(hljs.APOS_STRING_MODE, { - className: "string", + className: 'string', relevance: 0 }), hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }), { - className: "number", + className: 'number', begin: - "\\b(0[xX][a-fA-F0-9_]+[Lln]?|" + - "0[oO][0-7_]+[Lln]?|" + - "0[bB][01_]+[Lln]?|" + - "[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)", + '\\b(0[xX][a-fA-F0-9_]+[Lln]?|' + + '0[oO][0-7_]+[Lln]?|' + + '0[bB][01_]+[Lln]?|' + + '[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)', relevance: 0 }, { @@ -32047,28 +64740,28 @@ /***/ }, - /* 494 */ + /* 504 */ /***/ function(module, exports) { module.exports = function(hljs) { - var CPP = hljs.getLanguage("cpp").exports; + var CPP = hljs.getLanguage('cpp').exports; // In SQF, a variable start with _ var VARIABLE = { - className: "variable", + className: 'variable', begin: /\b_+[a-zA-Z_]\w*/ }; // In SQF, a function should fit myTag_fnc_myFunction pattern // https://community.bistudio.com/wiki/Functions_Library_(Arma_3)#Adding_a_Function var FUNCTION = { - className: "title", + className: 'title', begin: /[a-zA-Z][a-zA-Z0-9]+_fnc_\w*/ }; // In SQF strings, quotes matching the start are escaped by adding a consecutive. // Example of single escaped quotes: " "" " and ' '' '. var STRINGS = { - className: "string", + className: 'string', variants: [ { begin: '"', @@ -32084,327 +64777,362 @@ }; return { - aliases: ["sqf"], + aliases: ['sqf'], case_insensitive: true, keywords: { keyword: - "case catch default do else exit exitWith for forEach from if " + - "switch then throw to try waitUntil while with", + 'case catch default do else exit exitWith for forEach from if ' + + 'private switch then throw to try waitUntil while with', built_in: - "abs accTime acos action actionIDs actionKeys actionKeysImages actionKeysNames " + - "actionKeysNamesArray actionName actionParams activateAddons activatedAddons activateKey " + - "add3DENConnection add3DENEventHandler add3DENLayer addAction addBackpack addBackpackCargo " + - "addBackpackCargoGlobal addBackpackGlobal addCamShake addCuratorAddons addCuratorCameraArea " + - "addCuratorEditableObjects addCuratorEditingArea addCuratorPoints addEditorObject addEventHandler " + - "addGoggles addGroupIcon addHandgunItem addHeadgear addItem addItemCargo addItemCargoGlobal " + - "addItemPool addItemToBackpack addItemToUniform addItemToVest addLiveStats addMagazine " + - "addMagazineAmmoCargo addMagazineCargo addMagazineCargoGlobal addMagazineGlobal addMagazinePool " + - "addMagazines addMagazineTurret addMenu addMenuItem addMissionEventHandler addMPEventHandler " + - "addMusicEventHandler addOwnedMine addPlayerScores addPrimaryWeaponItem " + - "addPublicVariableEventHandler addRating addResources addScore addScoreSide addSecondaryWeaponItem " + - "addSwitchableUnit addTeamMember addToRemainsCollector addUniform addVehicle addVest addWaypoint " + - "addWeapon addWeaponCargo addWeaponCargoGlobal addWeaponGlobal addWeaponItem addWeaponPool " + - "addWeaponTurret agent agents AGLToASL aimedAtTarget aimPos airDensityRTD airportSide " + - "AISFinishHeal alive all3DENEntities allControls allCurators allCutLayers allDead allDeadMen " + - "allDisplays allGroups allMapMarkers allMines allMissionObjects allow3DMode allowCrewInImmobile " + - "allowCuratorLogicIgnoreAreas allowDamage allowDammage allowFileOperations allowFleeing allowGetIn " + - "allowSprint allPlayers allSites allTurrets allUnits allUnitsUAV allVariables ammo and animate " + - "animateDoor animateSource animationNames animationPhase animationSourcePhase animationState " + - "append apply armoryPoints arrayIntersect asin ASLToAGL ASLToATL assert assignAsCargo " + - "assignAsCargoIndex assignAsCommander assignAsDriver assignAsGunner assignAsTurret assignCurator " + - "assignedCargo assignedCommander assignedDriver assignedGunner assignedItems assignedTarget " + - "assignedTeam assignedVehicle assignedVehicleRole assignItem assignTeam assignToAirport atan atan2 " + - "atg ATLToASL attachedObject attachedObjects attachedTo attachObject attachTo attackEnabled " + - "backpack backpackCargo backpackContainer backpackItems backpackMagazines backpackSpaceFor " + - "behaviour benchmark binocular blufor boundingBox boundingBoxReal boundingCenter breakOut breakTo " + - "briefingName buildingExit buildingPos buttonAction buttonSetAction cadetMode call callExtension " + - "camCommand camCommit camCommitPrepared camCommitted camConstuctionSetParams camCreate camDestroy " + - "cameraEffect cameraEffectEnableHUD cameraInterest cameraOn cameraView campaignConfigFile " + - "camPreload camPreloaded camPrepareBank camPrepareDir camPrepareDive camPrepareFocus camPrepareFov " + - "camPrepareFovRange camPreparePos camPrepareRelPos camPrepareTarget camSetBank camSetDir " + - "camSetDive camSetFocus camSetFov camSetFovRange camSetPos camSetRelPos camSetTarget camTarget " + - "camUseNVG canAdd canAddItemToBackpack canAddItemToUniform canAddItemToVest " + - "cancelSimpleTaskDestination canFire canMove canSlingLoad canStand canSuspend canUnloadInCombat " + - "canVehicleCargo captive captiveNum cbChecked cbSetChecked ceil channelEnabled cheatsEnabled " + - "checkAIFeature checkVisibility civilian className clearAllItemsFromBackpack clearBackpackCargo " + - "clearBackpackCargoGlobal clearGroupIcons clearItemCargo clearItemCargoGlobal clearItemPool " + - "clearMagazineCargo clearMagazineCargoGlobal clearMagazinePool clearOverlay clearRadio " + - "clearWeaponCargo clearWeaponCargoGlobal clearWeaponPool clientOwner closeDialog closeDisplay " + - "closeOverlay collapseObjectTree collect3DENHistory combatMode commandArtilleryFire commandChat " + - "commander commandFire commandFollow commandFSM commandGetOut commandingMenu commandMove " + - "commandRadio commandStop commandSuppressiveFire commandTarget commandWatch comment commitOverlay " + - "compile compileFinal completedFSM composeText configClasses configFile configHierarchy configName " + - "configNull configProperties configSourceAddonList configSourceMod configSourceModList " + - "connectTerminalToUAV controlNull controlsGroupCtrl copyFromClipboard copyToClipboard " + - "copyWaypoints cos count countEnemy countFriendly countSide countType countUnknown " + - "create3DENComposition create3DENEntity createAgent createCenter createDialog createDiaryLink " + - "createDiaryRecord createDiarySubject createDisplay createGearDialog createGroup " + - "createGuardedPoint createLocation createMarker createMarkerLocal createMenu createMine " + - "createMissionDisplay createMPCampaignDisplay createSimpleObject createSimpleTask createSite " + - "createSoundSource createTask createTeam createTrigger createUnit createVehicle createVehicleCrew " + - "createVehicleLocal crew ctrlActivate ctrlAddEventHandler ctrlAngle ctrlAutoScrollDelay " + - "ctrlAutoScrollRewind ctrlAutoScrollSpeed ctrlChecked ctrlClassName ctrlCommit ctrlCommitted " + - "ctrlCreate ctrlDelete ctrlEnable ctrlEnabled ctrlFade ctrlHTMLLoaded ctrlIDC ctrlIDD " + - "ctrlMapAnimAdd ctrlMapAnimClear ctrlMapAnimCommit ctrlMapAnimDone ctrlMapCursor ctrlMapMouseOver " + - "ctrlMapScale ctrlMapScreenToWorld ctrlMapWorldToScreen ctrlModel ctrlModelDirAndUp ctrlModelScale " + - "ctrlParent ctrlParentControlsGroup ctrlPosition ctrlRemoveAllEventHandlers ctrlRemoveEventHandler " + - "ctrlScale ctrlSetActiveColor ctrlSetAngle ctrlSetAutoScrollDelay ctrlSetAutoScrollRewind " + - "ctrlSetAutoScrollSpeed ctrlSetBackgroundColor ctrlSetChecked ctrlSetEventHandler ctrlSetFade " + - "ctrlSetFocus ctrlSetFont ctrlSetFontH1 ctrlSetFontH1B ctrlSetFontH2 ctrlSetFontH2B ctrlSetFontH3 " + - "ctrlSetFontH3B ctrlSetFontH4 ctrlSetFontH4B ctrlSetFontH5 ctrlSetFontH5B ctrlSetFontH6 " + - "ctrlSetFontH6B ctrlSetFontHeight ctrlSetFontHeightH1 ctrlSetFontHeightH2 ctrlSetFontHeightH3 " + - "ctrlSetFontHeightH4 ctrlSetFontHeightH5 ctrlSetFontHeightH6 ctrlSetFontHeightSecondary " + - "ctrlSetFontP ctrlSetFontPB ctrlSetFontSecondary ctrlSetForegroundColor ctrlSetModel " + - "ctrlSetModelDirAndUp ctrlSetModelScale ctrlSetPosition ctrlSetScale ctrlSetStructuredText " + - "ctrlSetText ctrlSetTextColor ctrlSetTooltip ctrlSetTooltipColorBox ctrlSetTooltipColorShade " + - "ctrlSetTooltipColorText ctrlShow ctrlShown ctrlText ctrlTextHeight ctrlType ctrlVisible " + - "curatorAddons curatorCamera curatorCameraArea curatorCameraAreaCeiling curatorCoef " + - "curatorEditableObjects curatorEditingArea curatorEditingAreaType curatorMouseOver curatorPoints " + - "curatorRegisteredObjects curatorSelected curatorWaypointCost current3DENOperation currentChannel " + - "currentCommand currentMagazine currentMagazineDetail currentMagazineDetailTurret " + - "currentMagazineTurret currentMuzzle currentNamespace currentTask currentTasks currentThrowable " + - "currentVisionMode currentWaypoint currentWeapon currentWeaponMode currentWeaponTurret " + - "currentZeroing cursorObject cursorTarget customChat customRadio cutFadeOut cutObj cutRsc cutText " + - "damage date dateToNumber daytime deActivateKey debriefingText debugFSM debugLog deg " + - "delete3DENEntities deleteAt deleteCenter deleteCollection deleteEditorObject deleteGroup " + - "deleteIdentity deleteLocation deleteMarker deleteMarkerLocal deleteRange deleteResources " + - "deleteSite deleteStatus deleteTeam deleteVehicle deleteVehicleCrew deleteWaypoint detach " + - "detectedMines diag_activeMissionFSMs diag_activeScripts diag_activeSQFScripts " + - "diag_activeSQSScripts diag_captureFrame diag_captureSlowFrame diag_codePerformance diag_drawMode " + - "diag_enable diag_enabled diag_fps diag_fpsMin diag_frameNo diag_list diag_log diag_logSlowFrame " + - "diag_mergeConfigFile diag_recordTurretLimits diag_tickTime diag_toggle dialog diarySubjectExists " + - "didJIP didJIPOwner difficulty difficultyEnabled difficultyEnabledRTD difficultyOption direction " + - "directSay disableAI disableCollisionWith disableConversation disableDebriefingStats " + - "disableNVGEquipment disableRemoteSensors disableSerialization disableTIEquipment " + - "disableUAVConnectability disableUserInput displayAddEventHandler displayCtrl displayNull " + - "displayParent displayRemoveAllEventHandlers displayRemoveEventHandler displaySetEventHandler " + - "dissolveTeam distance distance2D distanceSqr distributionRegion do3DENAction doArtilleryFire " + - "doFire doFollow doFSM doGetOut doMove doorPhase doStop doSuppressiveFire doTarget doWatch " + - "drawArrow drawEllipse drawIcon drawIcon3D drawLine drawLine3D drawLink drawLocation drawPolygon " + - "drawRectangle driver drop east echo edit3DENMissionAttributes editObject editorSetEventHandler " + - "effectiveCommander emptyPositions enableAI enableAIFeature enableAimPrecision enableAttack " + - "enableAudioFeature enableCamShake enableCaustics enableChannel enableCollisionWith enableCopilot " + - "enableDebriefingStats enableDiagLegend enableEndDialog enableEngineArtillery enableEnvironment " + - "enableFatigue enableGunLights enableIRLasers enableMimics enablePersonTurret enableRadio " + - "enableReload enableRopeAttach enableSatNormalOnDetail enableSaving enableSentences " + - "enableSimulation enableSimulationGlobal enableStamina enableTeamSwitch enableUAVConnectability " + - "enableUAVWaypoints enableVehicleCargo endLoadingScreen endMission engineOn enginesIsOnRTD " + - "enginesRpmRTD enginesTorqueRTD entities estimatedEndServerTime estimatedTimeLeft " + - "evalObjectArgument everyBackpack everyContainer exec execEditorScript execFSM execVM exp " + - "expectedDestination exportJIPMessages eyeDirection eyePos face faction fadeMusic fadeRadio " + - "fadeSound fadeSpeech failMission fillWeaponsFromPool find findCover findDisplay findEditorObject " + - "findEmptyPosition findEmptyPositionReady findNearestEnemy finishMissionInit finite fire " + - "fireAtTarget firstBackpack flag flagOwner flagSide flagTexture fleeing floor flyInHeight " + - "flyInHeightASL fog fogForecast fogParams forceAddUniform forcedMap forceEnd forceMap forceRespawn " + - "forceSpeed forceWalk forceWeaponFire forceWeatherChange forEachMember forEachMemberAgent " + - "forEachMemberTeam format formation formationDirection formationLeader formationMembers " + - "formationPosition formationTask formatText formLeader freeLook fromEditor fuel fullCrew " + - "gearIDCAmmoCount gearSlotAmmoCount gearSlotData get3DENActionState get3DENAttribute get3DENCamera " + - "get3DENConnections get3DENEntity get3DENEntityID get3DENGrid get3DENIconsVisible " + - "get3DENLayerEntities get3DENLinesVisible get3DENMissionAttribute get3DENMouseOver get3DENSelected " + - "getAimingCoef getAllHitPointsDamage getAllOwnedMines getAmmoCargo getAnimAimPrecision " + - "getAnimSpeedCoef getArray getArtilleryAmmo getArtilleryComputerSettings getArtilleryETA " + - "getAssignedCuratorLogic getAssignedCuratorUnit getBackpackCargo getBleedingRemaining " + - "getBurningValue getCameraViewDirection getCargoIndex getCenterOfMass getClientState " + - "getClientStateNumber getConnectedUAV getCustomAimingCoef getDammage getDescription getDir " + - "getDirVisual getDLCs getEditorCamera getEditorMode getEditorObjectScope getElevationOffset " + - "getFatigue getFriend getFSMVariable getFuelCargo getGroupIcon getGroupIconParams getGroupIcons " + - "getHideFrom getHit getHitIndex getHitPointDamage getItemCargo getMagazineCargo getMarkerColor " + - "getMarkerPos getMarkerSize getMarkerType getMass getMissionConfig getMissionConfigValue " + - "getMissionDLCs getMissionLayerEntities getModelInfo getMousePosition getNumber getObjectArgument " + - "getObjectChildren getObjectDLC getObjectMaterials getObjectProxy getObjectTextures getObjectType " + - "getObjectViewDistance getOxygenRemaining getPersonUsedDLCs getPilotCameraDirection " + - "getPilotCameraPosition getPilotCameraRotation getPilotCameraTarget getPlayerChannel " + - "getPlayerScores getPlayerUID getPos getPosASL getPosASLVisual getPosASLW getPosATL " + - "getPosATLVisual getPosVisual getPosWorld getRelDir getRelPos getRemoteSensorsDisabled " + - "getRepairCargo getResolution getShadowDistance getShotParents getSlingLoad getSpeed getStamina " + - "getStatValue getSuppression getTerrainHeightASL getText getUnitLoadout getUnitTrait getVariable " + - "getVehicleCargo getWeaponCargo getWeaponSway getWPPos glanceAt globalChat globalRadio goggles " + - "goto group groupChat groupFromNetId groupIconSelectable groupIconsVisible groupId groupOwner " + - "groupRadio groupSelectedUnits groupSelectUnit grpNull gunner gusts halt handgunItems " + - "handgunMagazine handgunWeapon handsHit hasInterface hasPilotCamera hasWeapon hcAllGroups " + - "hcGroupParams hcLeader hcRemoveAllGroups hcRemoveGroup hcSelected hcSelectGroup hcSetGroup " + - "hcShowBar hcShownBar headgear hideBody hideObject hideObjectGlobal hideSelection hint hintC " + - "hintCadet hintSilent hmd hostMission htmlLoad HUDMovementLevels humidity image importAllGroups " + - "importance in inArea inAreaArray incapacitatedState independent inflame inflamed " + - "inGameUISetEventHandler inheritsFrom initAmbientLife inPolygon inputAction inRangeOfArtillery " + - "insertEditorObject intersect is3DEN is3DENMultiplayer isAbleToBreathe isAgent isArray " + - "isAutoHoverOn isAutonomous isAutotest isBleeding isBurning isClass isCollisionLightOn " + - "isCopilotEnabled isDedicated isDLCAvailable isEngineOn isEqualTo isEqualType isEqualTypeAll " + - "isEqualTypeAny isEqualTypeArray isEqualTypeParams isFilePatchingEnabled isFlashlightOn " + - "isFlatEmpty isForcedWalk isFormationLeader isHidden isInRemainsCollector " + - "isInstructorFigureEnabled isIRLaserOn isKeyActive isKindOf isLightOn isLocalized isManualFire " + - "isMarkedForCollection isMultiplayer isMultiplayerSolo isNil isNull isNumber isObjectHidden " + - "isObjectRTD isOnRoad isPipEnabled isPlayer isRealTime isRemoteExecuted isRemoteExecutedJIP " + - "isServer isShowing3DIcons isSprintAllowed isStaminaEnabled isSteamMission " + - "isStreamFriendlyUIEnabled isText isTouchingGround isTurnedOut isTutHintsEnabled isUAVConnectable " + - "isUAVConnected isUniformAllowed isVehicleCargo isWalking isWeaponDeployed isWeaponRested " + - "itemCargo items itemsWithMagazines join joinAs joinAsSilent joinSilent joinString kbAddDatabase " + - "kbAddDatabaseTargets kbAddTopic kbHasTopic kbReact kbRemoveTopic kbTell kbWasSaid keyImage " + - "keyName knowsAbout land landAt landResult language laserTarget lbAdd lbClear lbColor lbCurSel " + - "lbData lbDelete lbIsSelected lbPicture lbSelection lbSetColor lbSetCurSel lbSetData lbSetPicture " + - "lbSetPictureColor lbSetPictureColorDisabled lbSetPictureColorSelected lbSetSelectColor " + - "lbSetSelectColorRight lbSetSelected lbSetTooltip lbSetValue lbSize lbSort lbSortByValue lbText " + - "lbValue leader leaderboardDeInit leaderboardGetRows leaderboardInit leaveVehicle libraryCredits " + - "libraryDisclaimers lifeState lightAttachObject lightDetachObject lightIsOn lightnings limitSpeed " + - "linearConversion lineBreak lineIntersects lineIntersectsObjs lineIntersectsSurfaces " + - "lineIntersectsWith linkItem list listObjects ln lnbAddArray lnbAddColumn lnbAddRow lnbClear " + - "lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture " + - "lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue " + - "lnbSize lnbText lnbValue load loadAbs loadBackpack loadFile loadGame loadIdentity loadMagazine " + - "loadOverlay loadStatus loadUniform loadVest local localize locationNull locationPosition lock " + - "lockCameraTo lockCargo lockDriver locked lockedCargo lockedDriver lockedTurret lockIdentity " + - "lockTurret lockWP log logEntities logNetwork logNetworkTerminate lookAt lookAtPos magazineCargo " + - "magazines magazinesAllTurrets magazinesAmmo magazinesAmmoCargo magazinesAmmoFull magazinesDetail " + - "magazinesDetailBackpack magazinesDetailUniform magazinesDetailVest magazinesTurret " + - "magazineTurretAmmo mapAnimAdd mapAnimClear mapAnimCommit mapAnimDone mapCenterOnCamera " + - "mapGridPosition markAsFinishedOnSteam markerAlpha markerBrush markerColor markerDir markerPos " + - "markerShape markerSize markerText markerType max members menuAction menuAdd menuChecked menuClear " + - "menuCollapse menuData menuDelete menuEnable menuEnabled menuExpand menuHover menuPicture " + - "menuSetAction menuSetCheck menuSetData menuSetPicture menuSetValue menuShortcut menuShortcutText " + - "menuSize menuSort menuText menuURL menuValue min mineActive mineDetectedBy missionConfigFile " + - "missionDifficulty missionName missionNamespace missionStart missionVersion mod modelToWorld " + - "modelToWorldVisual modParams moonIntensity moonPhase morale move move3DENCamera moveInAny " + - "moveInCargo moveInCommander moveInDriver moveInGunner moveInTurret moveObjectToEnd moveOut " + - "moveTime moveTo moveToCompleted moveToFailed musicVolume name nameSound nearEntities " + - "nearestBuilding nearestLocation nearestLocations nearestLocationWithDubbing nearestObject " + - "nearestObjects nearestTerrainObjects nearObjects nearObjectsReady nearRoads nearSupplies " + - "nearTargets needReload netId netObjNull newOverlay nextMenuItemIndex nextWeatherChange nMenuItems " + - "not numberToDate objectCurators objectFromNetId objectParent objNull objStatus onBriefingGroup " + - "onBriefingNotes onBriefingPlan onBriefingTeamSwitch onCommandModeChanged onDoubleClick " + - "onEachFrame onGroupIconClick onGroupIconOverEnter onGroupIconOverLeave onHCGroupSelectionChanged " + - "onMapSingleClick onPlayerConnected onPlayerDisconnected onPreloadFinished onPreloadStarted " + - "onShowNewObject onTeamSwitch openCuratorInterface openDLCPage openMap openYoutubeVideo opfor or " + - "orderGetIn overcast overcastForecast owner param params parseNumber parseText parsingNamespace " + - "particlesQuality pi pickWeaponPool pitch pixelGrid pixelGridBase pixelGridNoUIScale pixelH pixelW " + - "playableSlotsNumber playableUnits playAction playActionNow player playerRespawnTime playerSide " + - "playersNumber playGesture playMission playMove playMoveNow playMusic playScriptedMission " + - "playSound playSound3D position positionCameraToWorld posScreenToWorld posWorldToScreen " + - "ppEffectAdjust ppEffectCommit ppEffectCommitted ppEffectCreate ppEffectDestroy ppEffectEnable " + - "ppEffectEnabled ppEffectForceInNVG precision preloadCamera preloadObject preloadSound " + - "preloadTitleObj preloadTitleRsc preprocessFile preprocessFileLineNumbers primaryWeapon " + - "primaryWeaponItems primaryWeaponMagazine priority private processDiaryLink productVersion " + - "profileName profileNamespace profileNameSteam progressLoadingScreen progressPosition " + - "progressSetPosition publicVariable publicVariableClient publicVariableServer pushBack " + - "pushBackUnique putWeaponPool queryItemsPool queryMagazinePool queryWeaponPool rad radioChannelAdd " + - "radioChannelCreate radioChannelRemove radioChannelSetCallSign radioChannelSetLabel radioVolume " + - "rain rainbow random rank rankId rating rectangular registeredTasks registerTask reload " + - "reloadEnabled remoteControl remoteExec remoteExecCall remove3DENConnection remove3DENEventHandler " + - "remove3DENLayer removeAction removeAll3DENEventHandlers removeAllActions removeAllAssignedItems " + - "removeAllContainers removeAllCuratorAddons removeAllCuratorCameraAreas " + - "removeAllCuratorEditingAreas removeAllEventHandlers removeAllHandgunItems removeAllItems " + - "removeAllItemsWithMagazines removeAllMissionEventHandlers removeAllMPEventHandlers " + - "removeAllMusicEventHandlers removeAllOwnedMines removeAllPrimaryWeaponItems removeAllWeapons " + - "removeBackpack removeBackpackGlobal removeCuratorAddons removeCuratorCameraArea " + - "removeCuratorEditableObjects removeCuratorEditingArea removeDrawIcon removeDrawLinks " + - "removeEventHandler removeFromRemainsCollector removeGoggles removeGroupIcon removeHandgunItem " + - "removeHeadgear removeItem removeItemFromBackpack removeItemFromUniform removeItemFromVest " + - "removeItems removeMagazine removeMagazineGlobal removeMagazines removeMagazinesTurret " + - "removeMagazineTurret removeMenuItem removeMissionEventHandler removeMPEventHandler " + - "removeMusicEventHandler removeOwnedMine removePrimaryWeaponItem removeSecondaryWeaponItem " + - "removeSimpleTask removeSwitchableUnit removeTeamMember removeUniform removeVest removeWeapon " + - "removeWeaponGlobal removeWeaponTurret requiredVersion resetCamShake resetSubgroupDirection " + - "resistance resize resources respawnVehicle restartEditorCamera reveal revealMine reverse " + - "reversedMouseY roadAt roadsConnectedTo roleDescription ropeAttachedObjects ropeAttachedTo " + - "ropeAttachEnabled ropeAttachTo ropeCreate ropeCut ropeDestroy ropeDetach ropeEndPosition " + - "ropeLength ropes ropeUnwind ropeUnwound rotorsForcesRTD rotorsRpmRTD round runInitScript " + - "safeZoneH safeZoneW safeZoneWAbs safeZoneX safeZoneXAbs safeZoneY save3DENInventory saveGame " + - "saveIdentity saveJoysticks saveOverlay saveProfileNamespace saveStatus saveVar savingEnabled say " + - "say2D say3D scopeName score scoreSide screenshot screenToWorld scriptDone scriptName scriptNull " + - "scudState secondaryWeapon secondaryWeaponItems secondaryWeaponMagazine select selectBestPlaces " + - "selectDiarySubject selectedEditorObjects selectEditorObject selectionNames selectionPosition " + - "selectLeader selectMax selectMin selectNoPlayer selectPlayer selectRandom selectWeapon " + - "selectWeaponTurret sendAUMessage sendSimpleCommand sendTask sendTaskResult sendUDPMessage " + - "serverCommand serverCommandAvailable serverCommandExecutable serverName serverTime set " + - "set3DENAttribute set3DENAttributes set3DENGrid set3DENIconsVisible set3DENLayer " + - "set3DENLinesVisible set3DENMissionAttributes set3DENModelsVisible set3DENObjectType " + - "set3DENSelected setAccTime setAirportSide setAmmo setAmmoCargo setAnimSpeedCoef setAperture " + - "setApertureNew setArmoryPoints setAttributes setAutonomous setBehaviour setBleedingRemaining " + - "setCameraInterest setCamShakeDefParams setCamShakeParams setCamUseTi setCaptive setCenterOfMass " + - "setCollisionLight setCombatMode setCompassOscillation setCuratorCameraAreaCeiling setCuratorCoef " + - "setCuratorEditingAreaType setCuratorWaypointCost setCurrentChannel setCurrentTask " + - "setCurrentWaypoint setCustomAimCoef setDamage setDammage setDate setDebriefingText " + - "setDefaultCamera setDestination setDetailMapBlendPars setDir setDirection setDrawIcon " + - "setDropInterval setEditorMode setEditorObjectScope setEffectCondition setFace setFaceAnimation " + - "setFatigue setFlagOwner setFlagSide setFlagTexture setFog setFormation setFormationTask " + - "setFormDir setFriend setFromEditor setFSMVariable setFuel setFuelCargo setGroupIcon " + - "setGroupIconParams setGroupIconsSelectable setGroupIconsVisible setGroupId setGroupIdGlobal " + - "setGroupOwner setGusts setHideBehind setHit setHitIndex setHitPointDamage setHorizonParallaxCoef " + - "setHUDMovementLevels setIdentity setImportance setLeader setLightAmbient setLightAttenuation " + - "setLightBrightness setLightColor setLightDayLight setLightFlareMaxDistance setLightFlareSize " + - "setLightIntensity setLightnings setLightUseFlare setLocalWindParams setMagazineTurretAmmo " + - "setMarkerAlpha setMarkerAlphaLocal setMarkerBrush setMarkerBrushLocal setMarkerColor " + - "setMarkerColorLocal setMarkerDir setMarkerDirLocal setMarkerPos setMarkerPosLocal setMarkerShape " + - "setMarkerShapeLocal setMarkerSize setMarkerSizeLocal setMarkerText setMarkerTextLocal " + - "setMarkerType setMarkerTypeLocal setMass setMimic setMousePosition setMusicEffect " + - "setMusicEventHandler setName setNameSound setObjectArguments setObjectMaterial " + - "setObjectMaterialGlobal setObjectProxy setObjectTexture setObjectTextureGlobal " + - "setObjectViewDistance setOvercast setOwner setOxygenRemaining setParticleCircle setParticleClass " + - "setParticleFire setParticleParams setParticleRandom setPilotCameraDirection " + - "setPilotCameraRotation setPilotCameraTarget setPilotLight setPiPEffect setPitch setPlayable " + - "setPlayerRespawnTime setPos setPosASL setPosASL2 setPosASLW setPosATL setPosition setPosWorld " + - "setRadioMsg setRain setRainbow setRandomLip setRank setRectangular setRepairCargo " + - "setShadowDistance setShotParents setSide setSimpleTaskAlwaysVisible setSimpleTaskCustomData " + - "setSimpleTaskDescription setSimpleTaskDestination setSimpleTaskTarget setSimpleTaskType " + - "setSimulWeatherLayers setSize setSkill setSlingLoad setSoundEffect setSpeaker setSpeech " + - "setSpeedMode setStamina setStaminaScheme setStatValue setSuppression setSystemOfUnits " + - "setTargetAge setTaskResult setTaskState setTerrainGrid setText setTimeMultiplier setTitleEffect " + - "setTriggerActivation setTriggerArea setTriggerStatements setTriggerText setTriggerTimeout " + - "setTriggerType setType setUnconscious setUnitAbility setUnitLoadout setUnitPos setUnitPosWeak " + - "setUnitRank setUnitRecoilCoefficient setUnitTrait setUnloadInCombat setUserActionText setVariable " + - "setVectorDir setVectorDirAndUp setVectorUp setVehicleAmmo setVehicleAmmoDef setVehicleArmor " + - "setVehicleCargo setVehicleId setVehicleLock setVehiclePosition setVehicleTiPars setVehicleVarName " + - "setVelocity setVelocityTransformation setViewDistance setVisibleIfTreeCollapsed setWaves " + - "setWaypointBehaviour setWaypointCombatMode setWaypointCompletionRadius setWaypointDescription " + - "setWaypointForceBehaviour setWaypointFormation setWaypointHousePosition setWaypointLoiterRadius " + - "setWaypointLoiterType setWaypointName setWaypointPosition setWaypointScript setWaypointSpeed " + - "setWaypointStatements setWaypointTimeout setWaypointType setWaypointVisible " + - "setWeaponReloadingTime setWind setWindDir setWindForce setWindStr setWPPos show3DIcons showChat " + - "showCinemaBorder showCommandingMenu showCompass showCuratorCompass showGPS showHUD showLegend " + - "showMap shownArtilleryComputer shownChat shownCompass shownCuratorCompass showNewEditorObject " + - "shownGPS shownHUD shownMap shownPad shownRadio shownScoretable shownUAVFeed shownWarrant " + - "shownWatch showPad showRadio showScoretable showSubtitles showUAVFeed showWarrant showWatch " + - "showWaypoint showWaypoints side sideAmbientLife sideChat sideEmpty sideEnemy sideFriendly " + - "sideLogic sideRadio sideUnknown simpleTasks simulationEnabled simulCloudDensity " + - "simulCloudOcclusion simulInClouds simulWeatherSync sin size sizeOf skill skillFinal skipTime " + - "sleep sliderPosition sliderRange sliderSetPosition sliderSetRange sliderSetSpeed sliderSpeed " + - "slingLoadAssistantShown soldierMagazines someAmmo sort soundVolume spawn speaker speed speedMode " + - "splitString sqrt squadParams stance startLoadingScreen step stop stopEngineRTD stopped str " + - "sunOrMoon supportInfo suppressFor surfaceIsWater surfaceNormal surfaceType swimInDepth " + - "switchableUnits switchAction switchCamera switchGesture switchLight switchMove " + - "synchronizedObjects synchronizedTriggers synchronizedWaypoints synchronizeObjectsAdd " + - "synchronizeObjectsRemove synchronizeTrigger synchronizeWaypoint systemChat systemOfUnits tan " + - "targetKnowledge targetsAggregate targetsQuery taskAlwaysVisible taskChildren taskCompleted " + - "taskCustomData taskDescription taskDestination taskHint taskMarkerOffset taskNull taskParent " + - "taskResult taskState taskType teamMember teamMemberNull teamName teams teamSwitch " + - "teamSwitchEnabled teamType terminate terrainIntersect terrainIntersectASL text textLog " + - "textLogFormat tg time timeMultiplier titleCut titleFadeOut titleObj titleRsc titleText toArray " + - "toFixed toLower toString toUpper triggerActivated triggerActivation triggerArea " + - "triggerAttachedVehicle triggerAttachObject triggerAttachVehicle triggerStatements triggerText " + - "triggerTimeout triggerTimeoutCurrent triggerType turretLocal turretOwner turretUnit tvAdd tvClear " + - "tvCollapse tvCount tvCurSel tvData tvDelete tvExpand tvPicture tvSetCurSel tvSetData tvSetPicture " + - "tvSetPictureColor tvSetPictureColorDisabled tvSetPictureColorSelected tvSetPictureRight " + - "tvSetPictureRightColor tvSetPictureRightColorDisabled tvSetPictureRightColorSelected tvSetText " + - "tvSetTooltip tvSetValue tvSort tvSortByValue tvText tvTooltip tvValue type typeName typeOf " + - "UAVControl uiNamespace uiSleep unassignCurator unassignItem unassignTeam unassignVehicle " + - "underwater uniform uniformContainer uniformItems uniformMagazines unitAddons unitAimPosition " + - "unitAimPositionVisual unitBackpack unitIsUAV unitPos unitReady unitRecoilCoefficient units " + - "unitsBelowHeight unlinkItem unlockAchievement unregisterTask updateDrawIcon updateMenuItem " + - "updateObjectTree useAISteeringComponent useAudioTimeForMoves vectorAdd vectorCos " + - "vectorCrossProduct vectorDiff vectorDir vectorDirVisual vectorDistance vectorDistanceSqr " + - "vectorDotProduct vectorFromTo vectorMagnitude vectorMagnitudeSqr vectorMultiply vectorNormalized " + - "vectorUp vectorUpVisual vehicle vehicleCargoEnabled vehicleChat vehicleRadio vehicles " + - "vehicleVarName velocity velocityModelSpace verifySignature vest vestContainer vestItems " + - "vestMagazines viewDistance visibleCompass visibleGPS visibleMap visiblePosition " + - "visiblePositionASL visibleScoretable visibleWatch waves waypointAttachedObject " + - "waypointAttachedVehicle waypointAttachObject waypointAttachVehicle waypointBehaviour " + - "waypointCombatMode waypointCompletionRadius waypointDescription waypointForceBehaviour " + - "waypointFormation waypointHousePosition waypointLoiterRadius waypointLoiterType waypointName " + - "waypointPosition waypoints waypointScript waypointsEnabledUAV waypointShow waypointSpeed " + - "waypointStatements waypointTimeout waypointTimeoutCurrent waypointType waypointVisible " + - "weaponAccessories weaponAccessoriesCargo weaponCargo weaponDirection weaponInertia weaponLowered " + - "weapons weaponsItems weaponsItemsCargo weaponState weaponsTurret weightRTD west WFSideText wind", - literal: "true false nil" + 'abs accTime acos action actionIDs actionKeys actionKeysImages actionKeysNames ' + + 'actionKeysNamesArray actionName actionParams activateAddons activatedAddons activateKey ' + + 'add3DENConnection add3DENEventHandler add3DENLayer addAction addBackpack addBackpackCargo ' + + 'addBackpackCargoGlobal addBackpackGlobal addCamShake addCuratorAddons addCuratorCameraArea ' + + 'addCuratorEditableObjects addCuratorEditingArea addCuratorPoints addEditorObject addEventHandler ' + + 'addForce addGoggles addGroupIcon addHandgunItem addHeadgear addItem addItemCargo ' + + 'addItemCargoGlobal addItemPool addItemToBackpack addItemToUniform addItemToVest addLiveStats ' + + 'addMagazine addMagazineAmmoCargo addMagazineCargo addMagazineCargoGlobal addMagazineGlobal ' + + 'addMagazinePool addMagazines addMagazineTurret addMenu addMenuItem addMissionEventHandler ' + + 'addMPEventHandler addMusicEventHandler addOwnedMine addPlayerScores addPrimaryWeaponItem ' + + 'addPublicVariableEventHandler addRating addResources addScore addScoreSide addSecondaryWeaponItem ' + + 'addSwitchableUnit addTeamMember addToRemainsCollector addTorque addUniform addVehicle addVest ' + + 'addWaypoint addWeapon addWeaponCargo addWeaponCargoGlobal addWeaponGlobal addWeaponItem ' + + 'addWeaponPool addWeaponTurret admin agent agents AGLToASL aimedAtTarget aimPos airDensityRTD ' + + 'airplaneThrottle airportSide AISFinishHeal alive all3DENEntities allAirports allControls ' + + 'allCurators allCutLayers allDead allDeadMen allDisplays allGroups allMapMarkers allMines ' + + 'allMissionObjects allow3DMode allowCrewInImmobile allowCuratorLogicIgnoreAreas allowDamage ' + + 'allowDammage allowFileOperations allowFleeing allowGetIn allowSprint allPlayers allSimpleObjects ' + + 'allSites allTurrets allUnits allUnitsUAV allVariables ammo ammoOnPylon and animate animateBay ' + + 'animateDoor animatePylon animateSource animationNames animationPhase animationSourcePhase ' + + 'animationState append apply armoryPoints arrayIntersect asin ASLToAGL ASLToATL assert ' + + 'assignAsCargo assignAsCargoIndex assignAsCommander assignAsDriver assignAsGunner assignAsTurret ' + + 'assignCurator assignedCargo assignedCommander assignedDriver assignedGunner assignedItems ' + + 'assignedTarget assignedTeam assignedVehicle assignedVehicleRole assignItem assignTeam ' + + 'assignToAirport atan atan2 atg ATLToASL attachedObject attachedObjects attachedTo attachObject ' + + 'attachTo attackEnabled backpack backpackCargo backpackContainer backpackItems backpackMagazines ' + + 'backpackSpaceFor behaviour benchmark binocular boundingBox boundingBoxReal boundingCenter ' + + 'breakOut breakTo briefingName buildingExit buildingPos buttonAction buttonSetAction cadetMode ' + + 'call callExtension camCommand camCommit camCommitPrepared camCommitted camConstuctionSetParams ' + + 'camCreate camDestroy cameraEffect cameraEffectEnableHUD cameraInterest cameraOn cameraView ' + + 'campaignConfigFile camPreload camPreloaded camPrepareBank camPrepareDir camPrepareDive ' + + 'camPrepareFocus camPrepareFov camPrepareFovRange camPreparePos camPrepareRelPos camPrepareTarget ' + + 'camSetBank camSetDir camSetDive camSetFocus camSetFov camSetFovRange camSetPos camSetRelPos ' + + 'camSetTarget camTarget camUseNVG canAdd canAddItemToBackpack canAddItemToUniform canAddItemToVest ' + + 'cancelSimpleTaskDestination canFire canMove canSlingLoad canStand canSuspend ' + + 'canTriggerDynamicSimulation canUnloadInCombat canVehicleCargo captive captiveNum cbChecked ' + + 'cbSetChecked ceil channelEnabled cheatsEnabled checkAIFeature checkVisibility className ' + + 'clearAllItemsFromBackpack clearBackpackCargo clearBackpackCargoGlobal clearGroupIcons ' + + 'clearItemCargo clearItemCargoGlobal clearItemPool clearMagazineCargo clearMagazineCargoGlobal ' + + 'clearMagazinePool clearOverlay clearRadio clearWeaponCargo clearWeaponCargoGlobal clearWeaponPool ' + + 'clientOwner closeDialog closeDisplay closeOverlay collapseObjectTree collect3DENHistory ' + + 'collectiveRTD combatMode commandArtilleryFire commandChat commander commandFire commandFollow ' + + 'commandFSM commandGetOut commandingMenu commandMove commandRadio commandStop ' + + 'commandSuppressiveFire commandTarget commandWatch comment commitOverlay compile compileFinal ' + + 'completedFSM composeText configClasses configFile configHierarchy configName configProperties ' + + 'configSourceAddonList configSourceMod configSourceModList confirmSensorTarget ' + + 'connectTerminalToUAV controlsGroupCtrl copyFromClipboard copyToClipboard copyWaypoints cos count ' + + 'countEnemy countFriendly countSide countType countUnknown create3DENComposition create3DENEntity ' + + 'createAgent createCenter createDialog createDiaryLink createDiaryRecord createDiarySubject ' + + 'createDisplay createGearDialog createGroup createGuardedPoint createLocation createMarker ' + + 'createMarkerLocal createMenu createMine createMissionDisplay createMPCampaignDisplay ' + + 'createSimpleObject createSimpleTask createSite createSoundSource createTask createTeam ' + + 'createTrigger createUnit createVehicle createVehicleCrew createVehicleLocal crew ctAddHeader ' + + 'ctAddRow ctClear ctCurSel ctData ctFindHeaderRows ctFindRowHeader ctHeaderControls ctHeaderCount ' + + 'ctRemoveHeaders ctRemoveRows ctrlActivate ctrlAddEventHandler ctrlAngle ctrlAutoScrollDelay ' + + 'ctrlAutoScrollRewind ctrlAutoScrollSpeed ctrlChecked ctrlClassName ctrlCommit ctrlCommitted ' + + 'ctrlCreate ctrlDelete ctrlEnable ctrlEnabled ctrlFade ctrlHTMLLoaded ctrlIDC ctrlIDD ' + + 'ctrlMapAnimAdd ctrlMapAnimClear ctrlMapAnimCommit ctrlMapAnimDone ctrlMapCursor ctrlMapMouseOver ' + + 'ctrlMapScale ctrlMapScreenToWorld ctrlMapWorldToScreen ctrlModel ctrlModelDirAndUp ctrlModelScale ' + + 'ctrlParent ctrlParentControlsGroup ctrlPosition ctrlRemoveAllEventHandlers ctrlRemoveEventHandler ' + + 'ctrlScale ctrlSetActiveColor ctrlSetAngle ctrlSetAutoScrollDelay ctrlSetAutoScrollRewind ' + + 'ctrlSetAutoScrollSpeed ctrlSetBackgroundColor ctrlSetChecked ctrlSetEventHandler ctrlSetFade ' + + 'ctrlSetFocus ctrlSetFont ctrlSetFontH1 ctrlSetFontH1B ctrlSetFontH2 ctrlSetFontH2B ctrlSetFontH3 ' + + 'ctrlSetFontH3B ctrlSetFontH4 ctrlSetFontH4B ctrlSetFontH5 ctrlSetFontH5B ctrlSetFontH6 ' + + 'ctrlSetFontH6B ctrlSetFontHeight ctrlSetFontHeightH1 ctrlSetFontHeightH2 ctrlSetFontHeightH3 ' + + 'ctrlSetFontHeightH4 ctrlSetFontHeightH5 ctrlSetFontHeightH6 ctrlSetFontHeightSecondary ' + + 'ctrlSetFontP ctrlSetFontPB ctrlSetFontSecondary ctrlSetForegroundColor ctrlSetModel ' + + 'ctrlSetModelDirAndUp ctrlSetModelScale ctrlSetPixelPrecision ctrlSetPosition ctrlSetScale ' + + 'ctrlSetStructuredText ctrlSetText ctrlSetTextColor ctrlSetTooltip ctrlSetTooltipColorBox ' + + 'ctrlSetTooltipColorShade ctrlSetTooltipColorText ctrlShow ctrlShown ctrlText ctrlTextHeight ' + + 'ctrlTextWidth ctrlType ctrlVisible ctRowControls ctRowCount ctSetCurSel ctSetData ' + + 'ctSetHeaderTemplate ctSetRowTemplate ctSetValue ctValue curatorAddons curatorCamera ' + + 'curatorCameraArea curatorCameraAreaCeiling curatorCoef curatorEditableObjects curatorEditingArea ' + + 'curatorEditingAreaType curatorMouseOver curatorPoints curatorRegisteredObjects curatorSelected ' + + 'curatorWaypointCost current3DENOperation currentChannel currentCommand currentMagazine ' + + 'currentMagazineDetail currentMagazineDetailTurret currentMagazineTurret currentMuzzle ' + + 'currentNamespace currentTask currentTasks currentThrowable currentVisionMode currentWaypoint ' + + 'currentWeapon currentWeaponMode currentWeaponTurret currentZeroing cursorObject cursorTarget ' + + 'customChat customRadio cutFadeOut cutObj cutRsc cutText damage date dateToNumber daytime ' + + 'deActivateKey debriefingText debugFSM debugLog deg delete3DENEntities deleteAt deleteCenter ' + + 'deleteCollection deleteEditorObject deleteGroup deleteGroupWhenEmpty deleteIdentity ' + + 'deleteLocation deleteMarker deleteMarkerLocal deleteRange deleteResources deleteSite deleteStatus ' + + 'deleteTeam deleteVehicle deleteVehicleCrew deleteWaypoint detach detectedMines ' + + 'diag_activeMissionFSMs diag_activeScripts diag_activeSQFScripts diag_activeSQSScripts ' + + 'diag_captureFrame diag_captureFrameToFile diag_captureSlowFrame diag_codePerformance ' + + 'diag_drawMode diag_enable diag_enabled diag_fps diag_fpsMin diag_frameNo diag_lightNewLoad ' + + 'diag_list diag_log diag_logSlowFrame diag_mergeConfigFile diag_recordTurretLimits ' + + 'diag_setLightNew diag_tickTime diag_toggle dialog diarySubjectExists didJIP didJIPOwner ' + + 'difficulty difficultyEnabled difficultyEnabledRTD difficultyOption direction directSay disableAI ' + + 'disableCollisionWith disableConversation disableDebriefingStats disableMapIndicators ' + + 'disableNVGEquipment disableRemoteSensors disableSerialization disableTIEquipment ' + + 'disableUAVConnectability disableUserInput displayAddEventHandler displayCtrl displayParent ' + + 'displayRemoveAllEventHandlers displayRemoveEventHandler displaySetEventHandler dissolveTeam ' + + 'distance distance2D distanceSqr distributionRegion do3DENAction doArtilleryFire doFire doFollow ' + + 'doFSM doGetOut doMove doorPhase doStop doSuppressiveFire doTarget doWatch drawArrow drawEllipse ' + + 'drawIcon drawIcon3D drawLine drawLine3D drawLink drawLocation drawPolygon drawRectangle ' + + 'drawTriangle driver drop dynamicSimulationDistance dynamicSimulationDistanceCoef ' + + 'dynamicSimulationEnabled dynamicSimulationSystemEnabled echo edit3DENMissionAttributes editObject ' + + 'editorSetEventHandler effectiveCommander emptyPositions enableAI enableAIFeature ' + + 'enableAimPrecision enableAttack enableAudioFeature enableAutoStartUpRTD enableAutoTrimRTD ' + + 'enableCamShake enableCaustics enableChannel enableCollisionWith enableCopilot ' + + 'enableDebriefingStats enableDiagLegend enableDynamicSimulation enableDynamicSimulationSystem ' + + 'enableEndDialog enableEngineArtillery enableEnvironment enableFatigue enableGunLights ' + + 'enableInfoPanelComponent enableIRLasers enableMimics enablePersonTurret enableRadio enableReload ' + + 'enableRopeAttach enableSatNormalOnDetail enableSaving enableSentences enableSimulation ' + + 'enableSimulationGlobal enableStamina enableTeamSwitch enableTraffic enableUAVConnectability ' + + 'enableUAVWaypoints enableVehicleCargo enableVehicleSensor enableWeaponDisassembly ' + + 'endLoadingScreen endMission engineOn enginesIsOnRTD enginesRpmRTD enginesTorqueRTD entities ' + + 'environmentEnabled estimatedEndServerTime estimatedTimeLeft evalObjectArgument everyBackpack ' + + 'everyContainer exec execEditorScript execFSM execVM exp expectedDestination exportJIPMessages ' + + 'eyeDirection eyePos face faction fadeMusic fadeRadio fadeSound fadeSpeech failMission ' + + 'fillWeaponsFromPool find findCover findDisplay findEditorObject findEmptyPosition ' + + 'findEmptyPositionReady findIf findNearestEnemy finishMissionInit finite fire fireAtTarget ' + + 'firstBackpack flag flagAnimationPhase flagOwner flagSide flagTexture fleeing floor flyInHeight ' + + 'flyInHeightASL fog fogForecast fogParams forceAddUniform forcedMap forceEnd forceFlagTexture ' + + 'forceFollowRoad forceMap forceRespawn forceSpeed forceWalk forceWeaponFire forceWeatherChange ' + + 'forEachMember forEachMemberAgent forEachMemberTeam forgetTarget format formation ' + + 'formationDirection formationLeader formationMembers formationPosition formationTask formatText ' + + 'formLeader freeLook fromEditor fuel fullCrew gearIDCAmmoCount gearSlotAmmoCount gearSlotData ' + + 'get3DENActionState get3DENAttribute get3DENCamera get3DENConnections get3DENEntity ' + + 'get3DENEntityID get3DENGrid get3DENIconsVisible get3DENLayerEntities get3DENLinesVisible ' + + 'get3DENMissionAttribute get3DENMouseOver get3DENSelected getAimingCoef getAllEnvSoundControllers ' + + 'getAllHitPointsDamage getAllOwnedMines getAllSoundControllers getAmmoCargo getAnimAimPrecision ' + + 'getAnimSpeedCoef getArray getArtilleryAmmo getArtilleryComputerSettings getArtilleryETA ' + + 'getAssignedCuratorLogic getAssignedCuratorUnit getBackpackCargo getBleedingRemaining ' + + 'getBurningValue getCameraViewDirection getCargoIndex getCenterOfMass getClientState ' + + 'getClientStateNumber getCompatiblePylonMagazines getConnectedUAV getContainerMaxLoad ' + + 'getCursorObjectParams getCustomAimCoef getDammage getDescription getDir getDirVisual ' + + 'getDLCAssetsUsage getDLCAssetsUsageByName getDLCs getEditorCamera getEditorMode ' + + 'getEditorObjectScope getElevationOffset getEnvSoundController getFatigue getForcedFlagTexture ' + + 'getFriend getFSMVariable getFuelCargo getGroupIcon getGroupIconParams getGroupIcons getHideFrom ' + + 'getHit getHitIndex getHitPointDamage getItemCargo getMagazineCargo getMarkerColor getMarkerPos ' + + 'getMarkerSize getMarkerType getMass getMissionConfig getMissionConfigValue getMissionDLCs ' + + 'getMissionLayerEntities getModelInfo getMousePosition getMusicPlayedTime getNumber ' + + 'getObjectArgument getObjectChildren getObjectDLC getObjectMaterials getObjectProxy ' + + 'getObjectTextures getObjectType getObjectViewDistance getOxygenRemaining getPersonUsedDLCs ' + + 'getPilotCameraDirection getPilotCameraPosition getPilotCameraRotation getPilotCameraTarget ' + + 'getPlateNumber getPlayerChannel getPlayerScores getPlayerUID getPos getPosASL getPosASLVisual ' + + 'getPosASLW getPosATL getPosATLVisual getPosVisual getPosWorld getPylonMagazines getRelDir ' + + 'getRelPos getRemoteSensorsDisabled getRepairCargo getResolution getShadowDistance getShotParents ' + + 'getSlingLoad getSoundController getSoundControllerResult getSpeed getStamina getStatValue ' + + 'getSuppression getTerrainGrid getTerrainHeightASL getText getTotalDLCUsageTime getUnitLoadout ' + + 'getUnitTrait getUserMFDText getUserMFDvalue getVariable getVehicleCargo getWeaponCargo ' + + 'getWeaponSway getWingsOrientationRTD getWingsPositionRTD getWPPos glanceAt globalChat globalRadio ' + + 'goggles goto group groupChat groupFromNetId groupIconSelectable groupIconsVisible groupId ' + + 'groupOwner groupRadio groupSelectedUnits groupSelectUnit gunner gusts halt handgunItems ' + + 'handgunMagazine handgunWeapon handsHit hasInterface hasPilotCamera hasWeapon hcAllGroups ' + + 'hcGroupParams hcLeader hcRemoveAllGroups hcRemoveGroup hcSelected hcSelectGroup hcSetGroup ' + + 'hcShowBar hcShownBar headgear hideBody hideObject hideObjectGlobal hideSelection hint hintC ' + + 'hintCadet hintSilent hmd hostMission htmlLoad HUDMovementLevels humidity image importAllGroups ' + + 'importance in inArea inAreaArray incapacitatedState inflame inflamed infoPanel ' + + 'infoPanelComponentEnabled infoPanelComponents infoPanels inGameUISetEventHandler inheritsFrom ' + + 'initAmbientLife inPolygon inputAction inRangeOfArtillery insertEditorObject intersect is3DEN ' + + 'is3DENMultiplayer isAbleToBreathe isAgent isArray isAutoHoverOn isAutonomous isAutotest ' + + 'isBleeding isBurning isClass isCollisionLightOn isCopilotEnabled isDamageAllowed isDedicated ' + + 'isDLCAvailable isEngineOn isEqualTo isEqualType isEqualTypeAll isEqualTypeAny isEqualTypeArray ' + + 'isEqualTypeParams isFilePatchingEnabled isFlashlightOn isFlatEmpty isForcedWalk isFormationLeader ' + + 'isGroupDeletedWhenEmpty isHidden isInRemainsCollector isInstructorFigureEnabled isIRLaserOn ' + + 'isKeyActive isKindOf isLaserOn isLightOn isLocalized isManualFire isMarkedForCollection ' + + 'isMultiplayer isMultiplayerSolo isNil isNull isNumber isObjectHidden isObjectRTD isOnRoad ' + + 'isPipEnabled isPlayer isRealTime isRemoteExecuted isRemoteExecutedJIP isServer isShowing3DIcons ' + + 'isSimpleObject isSprintAllowed isStaminaEnabled isSteamMission isStreamFriendlyUIEnabled isText ' + + 'isTouchingGround isTurnedOut isTutHintsEnabled isUAVConnectable isUAVConnected isUIContext ' + + 'isUniformAllowed isVehicleCargo isVehicleRadarOn isVehicleSensorEnabled isWalking ' + + 'isWeaponDeployed isWeaponRested itemCargo items itemsWithMagazines join joinAs joinAsSilent ' + + 'joinSilent joinString kbAddDatabase kbAddDatabaseTargets kbAddTopic kbHasTopic kbReact ' + + 'kbRemoveTopic kbTell kbWasSaid keyImage keyName knowsAbout land landAt landResult language ' + + 'laserTarget lbAdd lbClear lbColor lbColorRight lbCurSel lbData lbDelete lbIsSelected lbPicture ' + + 'lbPictureRight lbSelection lbSetColor lbSetColorRight lbSetCurSel lbSetData lbSetPicture ' + + 'lbSetPictureColor lbSetPictureColorDisabled lbSetPictureColorSelected lbSetPictureRight ' + + 'lbSetPictureRightColor lbSetPictureRightColorDisabled lbSetPictureRightColorSelected ' + + 'lbSetSelectColor lbSetSelectColorRight lbSetSelected lbSetText lbSetTextRight lbSetTooltip ' + + 'lbSetValue lbSize lbSort lbSortByValue lbText lbTextRight lbValue leader leaderboardDeInit ' + + 'leaderboardGetRows leaderboardInit leaderboardRequestRowsFriends leaderboardsRequestUploadScore ' + + 'leaderboardsRequestUploadScoreKeepBest leaderboardState leaveVehicle libraryCredits ' + + 'libraryDisclaimers lifeState lightAttachObject lightDetachObject lightIsOn lightnings limitSpeed ' + + 'linearConversion lineIntersects lineIntersectsObjs lineIntersectsSurfaces lineIntersectsWith ' + + 'linkItem list listObjects listRemoteTargets listVehicleSensors ln lnbAddArray lnbAddColumn ' + + 'lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow ' + + 'lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData ' + + 'lnbSetPicture lnbSetText lnbSetValue lnbSize lnbSort lnbSortByValue lnbText lnbValue load loadAbs ' + + 'loadBackpack loadFile loadGame loadIdentity loadMagazine loadOverlay loadStatus loadUniform ' + + 'loadVest local localize locationPosition lock lockCameraTo lockCargo lockDriver locked ' + + 'lockedCargo lockedDriver lockedTurret lockIdentity lockTurret lockWP log logEntities logNetwork ' + + 'logNetworkTerminate lookAt lookAtPos magazineCargo magazines magazinesAllTurrets magazinesAmmo ' + + 'magazinesAmmoCargo magazinesAmmoFull magazinesDetail magazinesDetailBackpack ' + + 'magazinesDetailUniform magazinesDetailVest magazinesTurret magazineTurretAmmo mapAnimAdd ' + + 'mapAnimClear mapAnimCommit mapAnimDone mapCenterOnCamera mapGridPosition markAsFinishedOnSteam ' + + 'markerAlpha markerBrush markerColor markerDir markerPos markerShape markerSize markerText ' + + 'markerType max members menuAction menuAdd menuChecked menuClear menuCollapse menuData menuDelete ' + + 'menuEnable menuEnabled menuExpand menuHover menuPicture menuSetAction menuSetCheck menuSetData ' + + 'menuSetPicture menuSetValue menuShortcut menuShortcutText menuSize menuSort menuText menuURL ' + + 'menuValue min mineActive mineDetectedBy missionConfigFile missionDifficulty missionName ' + + 'missionNamespace missionStart missionVersion mod modelToWorld modelToWorldVisual ' + + 'modelToWorldVisualWorld modelToWorldWorld modParams moonIntensity moonPhase morale move ' + + 'move3DENCamera moveInAny moveInCargo moveInCommander moveInDriver moveInGunner moveInTurret ' + + 'moveObjectToEnd moveOut moveTime moveTo moveToCompleted moveToFailed musicVolume name nameSound ' + + 'nearEntities nearestBuilding nearestLocation nearestLocations nearestLocationWithDubbing ' + + 'nearestObject nearestObjects nearestTerrainObjects nearObjects nearObjectsReady nearRoads ' + + 'nearSupplies nearTargets needReload netId netObjNull newOverlay nextMenuItemIndex ' + + 'nextWeatherChange nMenuItems not numberOfEnginesRTD numberToDate objectCurators objectFromNetId ' + + 'objectParent objStatus onBriefingGroup onBriefingNotes onBriefingPlan onBriefingTeamSwitch ' + + 'onCommandModeChanged onDoubleClick onEachFrame onGroupIconClick onGroupIconOverEnter ' + + 'onGroupIconOverLeave onHCGroupSelectionChanged onMapSingleClick onPlayerConnected ' + + 'onPlayerDisconnected onPreloadFinished onPreloadStarted onShowNewObject onTeamSwitch ' + + 'openCuratorInterface openDLCPage openMap openSteamApp openYoutubeVideo or orderGetIn overcast ' + + 'overcastForecast owner param params parseNumber parseSimpleArray parseText parsingNamespace ' + + 'particlesQuality pickWeaponPool pitch pixelGrid pixelGridBase pixelGridNoUIScale pixelH pixelW ' + + 'playableSlotsNumber playableUnits playAction playActionNow player playerRespawnTime playerSide ' + + 'playersNumber playGesture playMission playMove playMoveNow playMusic playScriptedMission ' + + 'playSound playSound3D position positionCameraToWorld posScreenToWorld posWorldToScreen ' + + 'ppEffectAdjust ppEffectCommit ppEffectCommitted ppEffectCreate ppEffectDestroy ppEffectEnable ' + + 'ppEffectEnabled ppEffectForceInNVG precision preloadCamera preloadObject preloadSound ' + + 'preloadTitleObj preloadTitleRsc preprocessFile preprocessFileLineNumbers primaryWeapon ' + + 'primaryWeaponItems primaryWeaponMagazine priority processDiaryLink productVersion profileName ' + + 'profileNamespace profileNameSteam progressLoadingScreen progressPosition progressSetPosition ' + + 'publicVariable publicVariableClient publicVariableServer pushBack pushBackUnique putWeaponPool ' + + 'queryItemsPool queryMagazinePool queryWeaponPool rad radioChannelAdd radioChannelCreate ' + + 'radioChannelRemove radioChannelSetCallSign radioChannelSetLabel radioVolume rain rainbow random ' + + 'rank rankId rating rectangular registeredTasks registerTask reload reloadEnabled remoteControl ' + + 'remoteExec remoteExecCall remoteExecutedOwner remove3DENConnection remove3DENEventHandler ' + + 'remove3DENLayer removeAction removeAll3DENEventHandlers removeAllActions removeAllAssignedItems ' + + 'removeAllContainers removeAllCuratorAddons removeAllCuratorCameraAreas ' + + 'removeAllCuratorEditingAreas removeAllEventHandlers removeAllHandgunItems removeAllItems ' + + 'removeAllItemsWithMagazines removeAllMissionEventHandlers removeAllMPEventHandlers ' + + 'removeAllMusicEventHandlers removeAllOwnedMines removeAllPrimaryWeaponItems removeAllWeapons ' + + 'removeBackpack removeBackpackGlobal removeCuratorAddons removeCuratorCameraArea ' + + 'removeCuratorEditableObjects removeCuratorEditingArea removeDrawIcon removeDrawLinks ' + + 'removeEventHandler removeFromRemainsCollector removeGoggles removeGroupIcon removeHandgunItem ' + + 'removeHeadgear removeItem removeItemFromBackpack removeItemFromUniform removeItemFromVest ' + + 'removeItems removeMagazine removeMagazineGlobal removeMagazines removeMagazinesTurret ' + + 'removeMagazineTurret removeMenuItem removeMissionEventHandler removeMPEventHandler ' + + 'removeMusicEventHandler removeOwnedMine removePrimaryWeaponItem removeSecondaryWeaponItem ' + + 'removeSimpleTask removeSwitchableUnit removeTeamMember removeUniform removeVest removeWeapon ' + + 'removeWeaponAttachmentCargo removeWeaponCargo removeWeaponGlobal removeWeaponTurret ' + + 'reportRemoteTarget requiredVersion resetCamShake resetSubgroupDirection resize resources ' + + 'respawnVehicle restartEditorCamera reveal revealMine reverse reversedMouseY roadAt ' + + 'roadsConnectedTo roleDescription ropeAttachedObjects ropeAttachedTo ropeAttachEnabled ' + + 'ropeAttachTo ropeCreate ropeCut ropeDestroy ropeDetach ropeEndPosition ropeLength ropes ' + + 'ropeUnwind ropeUnwound rotorsForcesRTD rotorsRpmRTD round runInitScript safeZoneH safeZoneW ' + + 'safeZoneWAbs safeZoneX safeZoneXAbs safeZoneY save3DENInventory saveGame saveIdentity ' + + 'saveJoysticks saveOverlay saveProfileNamespace saveStatus saveVar savingEnabled say say2D say3D ' + + 'scopeName score scoreSide screenshot screenToWorld scriptDone scriptName scudState ' + + 'secondaryWeapon secondaryWeaponItems secondaryWeaponMagazine select selectBestPlaces ' + + 'selectDiarySubject selectedEditorObjects selectEditorObject selectionNames selectionPosition ' + + 'selectLeader selectMax selectMin selectNoPlayer selectPlayer selectRandom selectRandomWeighted ' + + 'selectWeapon selectWeaponTurret sendAUMessage sendSimpleCommand sendTask sendTaskResult ' + + 'sendUDPMessage serverCommand serverCommandAvailable serverCommandExecutable serverName serverTime ' + + 'set set3DENAttribute set3DENAttributes set3DENGrid set3DENIconsVisible set3DENLayer ' + + 'set3DENLinesVisible set3DENLogicType set3DENMissionAttribute set3DENMissionAttributes ' + + 'set3DENModelsVisible set3DENObjectType set3DENSelected setAccTime setActualCollectiveRTD ' + + 'setAirplaneThrottle setAirportSide setAmmo setAmmoCargo setAmmoOnPylon setAnimSpeedCoef ' + + 'setAperture setApertureNew setArmoryPoints setAttributes setAutonomous setBehaviour ' + + 'setBleedingRemaining setBrakesRTD setCameraInterest setCamShakeDefParams setCamShakeParams ' + + 'setCamUseTI setCaptive setCenterOfMass setCollisionLight setCombatMode setCompassOscillation ' + + 'setConvoySeparation setCuratorCameraAreaCeiling setCuratorCoef setCuratorEditingAreaType ' + + 'setCuratorWaypointCost setCurrentChannel setCurrentTask setCurrentWaypoint setCustomAimCoef ' + + 'setCustomWeightRTD setDamage setDammage setDate setDebriefingText setDefaultCamera setDestination ' + + 'setDetailMapBlendPars setDir setDirection setDrawIcon setDriveOnPath setDropInterval ' + + 'setDynamicSimulationDistance setDynamicSimulationDistanceCoef setEditorMode setEditorObjectScope ' + + 'setEffectCondition setEngineRPMRTD setFace setFaceAnimation setFatigue setFeatureType ' + + 'setFlagAnimationPhase setFlagOwner setFlagSide setFlagTexture setFog setFormation ' + + 'setFormationTask setFormDir setFriend setFromEditor setFSMVariable setFuel setFuelCargo ' + + 'setGroupIcon setGroupIconParams setGroupIconsSelectable setGroupIconsVisible setGroupId ' + + 'setGroupIdGlobal setGroupOwner setGusts setHideBehind setHit setHitIndex setHitPointDamage ' + + 'setHorizonParallaxCoef setHUDMovementLevels setIdentity setImportance setInfoPanel setLeader ' + + 'setLightAmbient setLightAttenuation setLightBrightness setLightColor setLightDayLight ' + + 'setLightFlareMaxDistance setLightFlareSize setLightIntensity setLightnings setLightUseFlare ' + + 'setLocalWindParams setMagazineTurretAmmo setMarkerAlpha setMarkerAlphaLocal setMarkerBrush ' + + 'setMarkerBrushLocal setMarkerColor setMarkerColorLocal setMarkerDir setMarkerDirLocal ' + + 'setMarkerPos setMarkerPosLocal setMarkerShape setMarkerShapeLocal setMarkerSize ' + + 'setMarkerSizeLocal setMarkerText setMarkerTextLocal setMarkerType setMarkerTypeLocal setMass ' + + 'setMimic setMousePosition setMusicEffect setMusicEventHandler setName setNameSound ' + + 'setObjectArguments setObjectMaterial setObjectMaterialGlobal setObjectProxy setObjectTexture ' + + 'setObjectTextureGlobal setObjectViewDistance setOvercast setOwner setOxygenRemaining ' + + 'setParticleCircle setParticleClass setParticleFire setParticleParams setParticleRandom ' + + 'setPilotCameraDirection setPilotCameraRotation setPilotCameraTarget setPilotLight setPiPEffect ' + + 'setPitch setPlateNumber setPlayable setPlayerRespawnTime setPos setPosASL setPosASL2 setPosASLW ' + + 'setPosATL setPosition setPosWorld setPylonLoadOut setPylonsPriority setRadioMsg setRain ' + + 'setRainbow setRandomLip setRank setRectangular setRepairCargo setRotorBrakeRTD setShadowDistance ' + + 'setShotParents setSide setSimpleTaskAlwaysVisible setSimpleTaskCustomData ' + + 'setSimpleTaskDescription setSimpleTaskDestination setSimpleTaskTarget setSimpleTaskType ' + + 'setSimulWeatherLayers setSize setSkill setSlingLoad setSoundEffect setSpeaker setSpeech ' + + 'setSpeedMode setStamina setStaminaScheme setStatValue setSuppression setSystemOfUnits ' + + 'setTargetAge setTaskMarkerOffset setTaskResult setTaskState setTerrainGrid setText ' + + 'setTimeMultiplier setTitleEffect setTrafficDensity setTrafficDistance setTrafficGap ' + + 'setTrafficSpeed setTriggerActivation setTriggerArea setTriggerStatements setTriggerText ' + + 'setTriggerTimeout setTriggerType setType setUnconscious setUnitAbility setUnitLoadout setUnitPos ' + + 'setUnitPosWeak setUnitRank setUnitRecoilCoefficient setUnitTrait setUnloadInCombat ' + + 'setUserActionText setUserMFDText setUserMFDvalue setVariable setVectorDir setVectorDirAndUp ' + + 'setVectorUp setVehicleAmmo setVehicleAmmoDef setVehicleArmor setVehicleCargo setVehicleId ' + + 'setVehicleLock setVehiclePosition setVehicleRadar setVehicleReceiveRemoteTargets ' + + 'setVehicleReportOwnPosition setVehicleReportRemoteTargets setVehicleTIPars setVehicleVarName ' + + 'setVelocity setVelocityModelSpace setVelocityTransformation setViewDistance ' + + 'setVisibleIfTreeCollapsed setWantedRPMRTD setWaves setWaypointBehaviour setWaypointCombatMode ' + + 'setWaypointCompletionRadius setWaypointDescription setWaypointForceBehaviour setWaypointFormation ' + + 'setWaypointHousePosition setWaypointLoiterRadius setWaypointLoiterType setWaypointName ' + + 'setWaypointPosition setWaypointScript setWaypointSpeed setWaypointStatements setWaypointTimeout ' + + 'setWaypointType setWaypointVisible setWeaponReloadingTime setWind setWindDir setWindForce ' + + 'setWindStr setWingForceScaleRTD setWPPos show3DIcons showChat showCinemaBorder showCommandingMenu ' + + 'showCompass showCuratorCompass showGPS showHUD showLegend showMap shownArtilleryComputer ' + + 'shownChat shownCompass shownCuratorCompass showNewEditorObject shownGPS shownHUD shownMap ' + + 'shownPad shownRadio shownScoretable shownUAVFeed shownWarrant shownWatch showPad showRadio ' + + 'showScoretable showSubtitles showUAVFeed showWarrant showWatch showWaypoint showWaypoints side ' + + 'sideChat sideEnemy sideFriendly sideRadio simpleTasks simulationEnabled simulCloudDensity ' + + 'simulCloudOcclusion simulInClouds simulWeatherSync sin size sizeOf skill skillFinal skipTime ' + + 'sleep sliderPosition sliderRange sliderSetPosition sliderSetRange sliderSetSpeed sliderSpeed ' + + 'slingLoadAssistantShown soldierMagazines someAmmo sort soundVolume spawn speaker speed speedMode ' + + 'splitString sqrt squadParams stance startLoadingScreen step stop stopEngineRTD stopped str ' + + 'sunOrMoon supportInfo suppressFor surfaceIsWater surfaceNormal surfaceType swimInDepth ' + + 'switchableUnits switchAction switchCamera switchGesture switchLight switchMove ' + + 'synchronizedObjects synchronizedTriggers synchronizedWaypoints synchronizeObjectsAdd ' + + 'synchronizeObjectsRemove synchronizeTrigger synchronizeWaypoint systemChat systemOfUnits tan ' + + 'targetKnowledge targets targetsAggregate targetsQuery taskAlwaysVisible taskChildren ' + + 'taskCompleted taskCustomData taskDescription taskDestination taskHint taskMarkerOffset taskParent ' + + 'taskResult taskState taskType teamMember teamName teams teamSwitch teamSwitchEnabled teamType ' + + 'terminate terrainIntersect terrainIntersectASL terrainIntersectAtASL text textLog textLogFormat ' + + 'tg time timeMultiplier titleCut titleFadeOut titleObj titleRsc titleText toArray toFixed toLower ' + + 'toString toUpper triggerActivated triggerActivation triggerArea triggerAttachedVehicle ' + + 'triggerAttachObject triggerAttachVehicle triggerDynamicSimulation triggerStatements triggerText ' + + 'triggerTimeout triggerTimeoutCurrent triggerType turretLocal turretOwner turretUnit tvAdd tvClear ' + + 'tvCollapse tvCollapseAll tvCount tvCurSel tvData tvDelete tvExpand tvExpandAll tvPicture ' + + 'tvSetColor tvSetCurSel tvSetData tvSetPicture tvSetPictureColor tvSetPictureColorDisabled ' + + 'tvSetPictureColorSelected tvSetPictureRight tvSetPictureRightColor tvSetPictureRightColorDisabled ' + + 'tvSetPictureRightColorSelected tvSetText tvSetTooltip tvSetValue tvSort tvSortByValue tvText ' + + 'tvTooltip tvValue type typeName typeOf UAVControl uiNamespace uiSleep unassignCurator ' + + 'unassignItem unassignTeam unassignVehicle underwater uniform uniformContainer uniformItems ' + + 'uniformMagazines unitAddons unitAimPosition unitAimPositionVisual unitBackpack unitIsUAV unitPos ' + + 'unitReady unitRecoilCoefficient units unitsBelowHeight unlinkItem unlockAchievement ' + + 'unregisterTask updateDrawIcon updateMenuItem updateObjectTree useAISteeringComponent ' + + 'useAudioTimeForMoves userInputDisabled vectorAdd vectorCos vectorCrossProduct vectorDiff ' + + 'vectorDir vectorDirVisual vectorDistance vectorDistanceSqr vectorDotProduct vectorFromTo ' + + 'vectorMagnitude vectorMagnitudeSqr vectorModelToWorld vectorModelToWorldVisual vectorMultiply ' + + 'vectorNormalized vectorUp vectorUpVisual vectorWorldToModel vectorWorldToModelVisual vehicle ' + + 'vehicleCargoEnabled vehicleChat vehicleRadio vehicleReceiveRemoteTargets vehicleReportOwnPosition ' + + 'vehicleReportRemoteTargets vehicles vehicleVarName velocity velocityModelSpace verifySignature ' + + 'vest vestContainer vestItems vestMagazines viewDistance visibleCompass visibleGPS visibleMap ' + + 'visiblePosition visiblePositionASL visibleScoretable visibleWatch waves waypointAttachedObject ' + + 'waypointAttachedVehicle waypointAttachObject waypointAttachVehicle waypointBehaviour ' + + 'waypointCombatMode waypointCompletionRadius waypointDescription waypointForceBehaviour ' + + 'waypointFormation waypointHousePosition waypointLoiterRadius waypointLoiterType waypointName ' + + 'waypointPosition waypoints waypointScript waypointsEnabledUAV waypointShow waypointSpeed ' + + 'waypointStatements waypointTimeout waypointTimeoutCurrent waypointType waypointVisible ' + + 'weaponAccessories weaponAccessoriesCargo weaponCargo weaponDirection weaponInertia weaponLowered ' + + 'weapons weaponsItems weaponsItemsCargo weaponState weaponsTurret weightRTD WFSideText wind ', + literal: + 'blufor civilian configNull controlNull displayNull east endl false grpNull independent lineBreak ' + + 'locationNull nil objNull opfor pi resistance scriptNull sideAmbientLife sideEmpty sideLogic ' + + 'sideUnknown taskNull teamMemberNull true west' }, contains: [ hljs.C_LINE_COMMENT_MODE, @@ -32415,180 +65143,182 @@ STRINGS, CPP.preprocessor ], - illegal: /#/ + illegal: /#|^\$ / }; }; /***/ }, - /* 495 */ + /* 505 */ /***/ function(module, exports) { module.exports = function(hljs) { - var COMMENT_MODE = hljs.COMMENT("--", "$"); + var COMMENT_MODE = hljs.COMMENT('--', '$'); return { case_insensitive: true, - illegal: /[<>{}*#]/, + illegal: /[<>{}*]/, contains: [ { beginKeywords: - "begin end start commit rollback savepoint lock alter create drop rename call " + - "delete do handler insert load replace select truncate update set show pragma grant " + - "merge describe use explain help declare prepare execute deallocate release " + - "unlock purge reset change stop analyze cache flush optimize repair kill " + - "install uninstall checksum restore check backup revoke comment", + 'begin end start commit rollback savepoint lock alter create drop rename call ' + + 'delete do handler insert load replace select truncate update set show pragma grant ' + + 'merge describe use explain help declare prepare execute deallocate release ' + + 'unlock purge reset change stop analyze cache flush optimize repair kill ' + + 'install uninstall checksum restore check backup revoke comment with', end: /;/, endsWithParent: true, lexemes: /[\w\.]+/, keywords: { keyword: - "abort abs absolute acc acce accep accept access accessed accessible account acos action activate add " + - "addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias " + - "allocate allow alter always analyze ancillary and any anydata anydataset anyschema anytype apply " + - "archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan " + - "atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid " + - "authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile " + - "before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float " + - "binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound " + - "buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel " + - "capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base " + - "char_length character_length characters characterset charindex charset charsetform charsetid check " + - "checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close " + - "cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation " + - "collect colu colum column column_value columns columns_updated comment commit compact compatibility " + - "compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn " + - "connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection " + - "consider consistent constant constraint constraints constructor container content contents context " + - "contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost " + - "count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation " + - "critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user " + - "cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add " + - "date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts " + - "day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate " + - "declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults " + - "deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank " + - "depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor " + - "deterministic diagnostics difference dimension direct_load directory disable disable_all " + - "disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div " + - "do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable " + - "editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt " + - "end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors " + - "escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding " + - "execu execut execute exempt exists exit exp expire explain export export_set extended extent external " + - "external_1 external_2 externally extract failed failed_login_attempts failover failure far fast " + - "feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final " + - "finish first first_value fixed flash_cache flashback floor flush following follows for forall force " + - "form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days " + - "ftp full function general generated get get_format get_lock getdate getutcdate global global_name " + - "globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups " + - "gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex " + - "hierarchy high high_priority hosts hour http id ident_current ident_incr ident_seed identified " + - "identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment " + - "index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile " + - "initial initialized initially initrans inmemory inner innodb input insert install instance instantiable " + - "instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat " + - "is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists " + - "keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lax lcase " + - "lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit " + - "lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate " + - "locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call " + - "logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime " + - "managed management manual map mapping mask master master_pos_wait match matched materialized max " + - "maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans " + - "md5 measures median medium member memcompress memory merge microsecond mid migration min minextents " + - "minimum mining minus minute minvalue missing mod mode model modification modify module monitoring month " + - "months mount move movement multiset mutex name name_const names nan national native natural nav nchar " + - "nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile " + - "nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile " + - "nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder " + - "nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck " + - "noswitch not nothing notice notrim novalidate now nowait nth_value nullif nulls num numb numbe " + - "nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber " + - "ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old " + - "on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date " + - "oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary " + - "out outer outfile outline output over overflow overriding package pad parallel parallel_enable " + - "parameters parent parse partial partition partitions pascal passing password password_grace_time " + - "password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex " + - "pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc " + - "performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin " + - "policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction " + - "prediction_cost prediction_details prediction_probability prediction_set prepare present preserve " + - "prior priority private private_sga privileges procedural procedure procedure_analyze processlist " + - "profiles project prompt protection public publishingservername purge quarter query quick quiesce quota " + - "quotename radians raise rand range rank raw read reads readsize rebuild record records " + - "recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh " + - "regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy " + - "reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename " + - "repair repeat replace replicate replication required reset resetlogs resize resource respect restore " + - "restricted result result_cache resumable resume retention return returning returns reuse reverse revoke " + - "right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows " + - "rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll " + - "sdo_georaster sdo_topo_geometry search sec_to_time second section securefile security seed segment select " + - "self sequence sequential serializable server servererror session session_user sessions_per_user set " + - "sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor " + - "si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin " + - "size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex " + - "source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows " + - "sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone " + - "standby start starting startup statement static statistics stats_binomial_test stats_crosstab " + - "stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep " + - "stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev " + - "stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate " + - "subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum " + - "suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate " + - "sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tan tdo " + - "template temporary terminated tertiary_weights test than then thread through tier ties time time_format " + - "time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr " + - "timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking " + - "transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate " + - "try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress " + - "under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unpivot " + - "unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert " + - "url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date " + - "utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var " + - "var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray " + - "verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear " + - "wellformed when whene whenev wheneve whenever where while whitespace with within without work wrapped " + - "xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces " + - "xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek", - literal: "true false null", + 'as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add ' + + 'addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias ' + + 'allocate allow alter always analyze ancillary and any anydata anydataset anyschema anytype apply ' + + 'archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan ' + + 'atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid ' + + 'authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile ' + + 'before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float ' + + 'binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound ' + + 'buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel ' + + 'capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base ' + + 'char_length character_length characters characterset charindex charset charsetform charsetid check ' + + 'checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close ' + + 'cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation ' + + 'collect colu colum column column_value columns columns_updated comment commit compact compatibility ' + + 'compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn ' + + 'connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection ' + + 'consider consistent constant constraint constraints constructor container content contents context ' + + 'contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost ' + + 'count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation ' + + 'critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user ' + + 'cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add ' + + 'date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts ' + + 'day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate ' + + 'declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults ' + + 'deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank ' + + 'depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor ' + + 'deterministic diagnostics difference dimension direct_load directory disable disable_all ' + + 'disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div ' + + 'do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable ' + + 'editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt ' + + 'end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors ' + + 'escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding ' + + 'execu execut execute exempt exists exit exp expire explain export export_set extended extent external ' + + 'external_1 external_2 externally extract failed failed_login_attempts failover failure far fast ' + + 'feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final ' + + 'finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign ' + + 'form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ' + + 'ftp full function general generated get get_format get_lock getdate getutcdate global global_name ' + + 'globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups ' + + 'gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex ' + + 'hierarchy high high_priority hosts hour http id ident_current ident_incr ident_seed identified ' + + 'identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment ' + + 'index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile ' + + 'initial initialized initially initrans inmemory inner innodb input insert install instance instantiable ' + + 'instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat ' + + 'is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists ' + + 'keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lax lcase ' + + 'lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit ' + + 'lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate ' + + 'locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call ' + + 'logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime ' + + 'managed management manual map mapping mask master master_pos_wait match matched materialized max ' + + 'maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans ' + + 'md5 measures median medium member memcompress memory merge microsecond mid migration min minextents ' + + 'minimum mining minus minute minvalue missing mod mode model modification modify module monitoring month ' + + 'months mount move movement multiset mutex name name_const names nan national native natural nav nchar ' + + 'nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile ' + + 'nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile ' + + 'nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder ' + + 'nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck ' + + 'noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe ' + + 'nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ' + + 'ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old ' + + 'on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date ' + + 'oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary ' + + 'out outer outfile outline output over overflow overriding package pad parallel parallel_enable ' + + 'parameters parent parse partial partition partitions pascal passing password password_grace_time ' + + 'password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex ' + + 'pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc ' + + 'performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin ' + + 'policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction ' + + 'prediction_cost prediction_details prediction_probability prediction_set prepare present preserve ' + + 'prior priority private private_sga privileges procedural procedure procedure_analyze processlist ' + + 'profiles project prompt protection public publishingservername purge quarter query quick quiesce quota ' + + 'quotename radians raise rand range rank raw read reads readsize rebuild record records ' + + 'recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh ' + + 'regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy ' + + 'reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename ' + + 'repair repeat replace replicate replication required reset resetlogs resize resource respect restore ' + + 'restricted result result_cache resumable resume retention return returning returns reuse reverse revoke ' + + 'right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows ' + + 'rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll ' + + 'sdo_georaster sdo_topo_geometry search sec_to_time second section securefile security seed segment select ' + + 'self sequence sequential serializable server servererror session session_user sessions_per_user set ' + + 'sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor ' + + 'si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin ' + + 'size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex ' + + 'source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows ' + + 'sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone ' + + 'standby start starting startup statement static statistics stats_binomial_test stats_crosstab ' + + 'stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep ' + + 'stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev ' + + 'stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate ' + + 'subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum ' + + 'suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate ' + + 'sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tan tdo ' + + 'template temporary terminated tertiary_weights test than then thread through tier ties time time_format ' + + 'time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr ' + + 'timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking ' + + 'transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate ' + + 'try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress ' + + 'under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot ' + + 'unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert ' + + 'url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date ' + + 'utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var ' + + 'var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray ' + + 'verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear ' + + 'wellformed when whene whenev wheneve whenever where while whitespace with within without work wrapped ' + + 'xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces ' + + 'xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek', + literal: 'true false null unknown', built_in: - "array bigint binary bit blob boolean char character date dec decimal float int int8 integer interval number " + - "numeric real record serial serial8 smallint text varchar varying void" + 'array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number ' + + 'numeric real record serial serial8 smallint text time timestamp varchar varying void' }, contains: [ { - className: "string", + className: 'string', begin: "'", end: "'", contains: [hljs.BACKSLASH_ESCAPE, { begin: "''" }] }, { - className: "string", + className: 'string', begin: '"', end: '"', contains: [hljs.BACKSLASH_ESCAPE, { begin: '""' }] }, { - className: "string", - begin: "`", - end: "`", + className: 'string', + begin: '`', + end: '`', contains: [hljs.BACKSLASH_ESCAPE] }, hljs.C_NUMBER_MODE, hljs.C_BLOCK_COMMENT_MODE, - COMMENT_MODE + COMMENT_MODE, + hljs.HASH_COMMENT_MODE ] }, hljs.C_BLOCK_COMMENT_MODE, - COMMENT_MODE + COMMENT_MODE, + hljs.HASH_COMMENT_MODE ] }; }; /***/ }, - /* 496 */ + /* 506 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -32601,70 +65331,70 @@ lexemes: hljs.UNDERSCORE_IDENT_RE, keywords: { // Stan's keywords - name: "for in while repeat until if then else", + name: 'for in while repeat until if then else', // Stan's probablity distributions (less beta and gamma, as commonly // used for parameter names). So far, _log and _rng variants are not // included symbol: - "bernoulli bernoulli_logit binomial binomial_logit " + - "beta_binomial hypergeometric categorical categorical_logit " + - "ordered_logistic neg_binomial neg_binomial_2 " + - "neg_binomial_2_log poisson poisson_log multinomial normal " + - "exp_mod_normal skew_normal student_t cauchy double_exponential " + - "logistic gumbel lognormal chi_square inv_chi_square " + - "scaled_inv_chi_square exponential inv_gamma weibull frechet " + - "rayleigh wiener pareto pareto_type_2 von_mises uniform " + - "multi_normal multi_normal_prec multi_normal_cholesky multi_gp " + - "multi_gp_cholesky multi_student_t gaussian_dlm_obs dirichlet " + - "lkj_corr lkj_corr_cholesky wishart inv_wishart", + 'bernoulli bernoulli_logit binomial binomial_logit ' + + 'beta_binomial hypergeometric categorical categorical_logit ' + + 'ordered_logistic neg_binomial neg_binomial_2 ' + + 'neg_binomial_2_log poisson poisson_log multinomial normal ' + + 'exp_mod_normal skew_normal student_t cauchy double_exponential ' + + 'logistic gumbel lognormal chi_square inv_chi_square ' + + 'scaled_inv_chi_square exponential inv_gamma weibull frechet ' + + 'rayleigh wiener pareto pareto_type_2 von_mises uniform ' + + 'multi_normal multi_normal_prec multi_normal_cholesky multi_gp ' + + 'multi_gp_cholesky multi_student_t gaussian_dlm_obs dirichlet ' + + 'lkj_corr lkj_corr_cholesky wishart inv_wishart', // Stan's data types - "selector-tag": - "int real vector simplex unit_vector ordered positive_ordered " + - "row_vector matrix cholesky_factor_corr cholesky_factor_cov " + - "corr_matrix cov_matrix", + 'selector-tag': + 'int real vector simplex unit_vector ordered positive_ordered ' + + 'row_vector matrix cholesky_factor_corr cholesky_factor_cov ' + + 'corr_matrix cov_matrix', // Stan's model blocks title: - "functions model data parameters quantities transformed " + - "generated", - literal: "true false" + 'functions model data parameters quantities transformed ' + + 'generated', + literal: 'true false' }, relevance: 0 }, // The below is all taken from the R language definition { // hex value - className: "number", - begin: "0[xX][0-9a-fA-F]+[Li]?\\b", + className: 'number', + begin: '0[xX][0-9a-fA-F]+[Li]?\\b', relevance: 0 }, { // hex value - className: "number", - begin: "0[xX][0-9a-fA-F]+[Li]?\\b", + className: 'number', + begin: '0[xX][0-9a-fA-F]+[Li]?\\b', relevance: 0 }, { // explicit integer - className: "number", - begin: "\\d+(?:[eE][+\\-]?\\d*)?L\\b", + className: 'number', + begin: '\\d+(?:[eE][+\\-]?\\d*)?L\\b', relevance: 0 }, { // number with trailing decimal - className: "number", - begin: "\\d+\\.(?!\\d)(?:i\\b)?", + className: 'number', + begin: '\\d+\\.(?!\\d)(?:i\\b)?', relevance: 0 }, { // number - className: "number", - begin: "\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d*)?i?\\b", + className: 'number', + begin: '\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d*)?i?\\b', relevance: 0 }, { // number with leading decimal - className: "number", - begin: "\\.\\d+(?:[eE][+\\-]?\\d*)?i?\\b", + className: 'number', + begin: '\\.\\d+(?:[eE][+\\-]?\\d*)?i?\\b', relevance: 0 } ] @@ -32673,39 +65403,39 @@ /***/ }, - /* 497 */ + /* 507 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["do", "ado"], + aliases: ['do', 'ado'], case_insensitive: true, keywords: - "if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize meqparse mer merg merge mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5", + 'if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize meqparse mer merg merge mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5', contains: [ { - className: "symbol", + className: 'symbol', begin: /`[a-zA-Z0-9_]+'/ }, { - className: "variable", + className: 'variable', begin: /\$\{?[a-zA-Z0-9_]+\}?/ }, { - className: "string", + className: 'string', variants: [{ begin: '`"[^\r\n]*?"\'' }, { begin: '"[^\r\n"]*"' }] }, { - className: "built_in", + className: 'built_in', variants: [ { begin: - "\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\(|$)" + '\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\(|$)' } ] }, - hljs.COMMENT("^[ \t]*\\*.*$", false), + hljs.COMMENT('^[ \t]*\\*.*$', false), hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE ] @@ -32714,26 +65444,26 @@ /***/ }, - /* 498 */ + /* 508 */ /***/ function(module, exports) { module.exports = function(hljs) { - var STEP21_IDENT_RE = "[A-Z_][A-Z0-9_.]*"; + var STEP21_IDENT_RE = '[A-Z_][A-Z0-9_.]*'; var STEP21_KEYWORDS = { - keyword: "HEADER ENDSEC DATA" + keyword: 'HEADER ENDSEC DATA' }; var STEP21_START = { - className: "meta", - begin: "ISO-10303-21;", + className: 'meta', + begin: 'ISO-10303-21;', relevance: 10 }; var STEP21_CLOSE = { - className: "meta", - begin: "END-ISO-10303-21;", + className: 'meta', + begin: 'END-ISO-10303-21;', relevance: 10 }; return { - aliases: ["p21", "step", "stp"], + aliases: ['p21', 'step', 'stp'], case_insensitive: true, // STEP 21 is case insensitive in theory, in practice all non-comments are capitalized. lexemes: STEP21_IDENT_RE, keywords: STEP21_KEYWORDS, @@ -32742,22 +65472,22 @@ STEP21_CLOSE, hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, - hljs.COMMENT("/\\*\\*!", "\\*/"), + hljs.COMMENT('/\\*\\*!', '\\*/'), hljs.C_NUMBER_MODE, hljs.inherit(hljs.APOS_STRING_MODE, { illegal: null }), hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }), { - className: "string", + className: 'string', begin: "'", end: "'" }, { - className: "symbol", + className: 'symbol', variants: [ { - begin: "#", - end: "\\d+", - illegal: "\\W" + begin: '#', + end: '\\d+', + illegal: '\\W' } ] } @@ -32767,351 +65497,351 @@ /***/ }, - /* 499 */ + /* 509 */ /***/ function(module, exports) { module.exports = function(hljs) { var VARIABLE = { - className: "variable", - begin: "\\$" + hljs.IDENT_RE + className: 'variable', + begin: '\\$' + hljs.IDENT_RE }; var HEX_COLOR = { - className: "number", - begin: "#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})" + className: 'number', + begin: '#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})' }; var AT_KEYWORDS = [ - "charset", - "css", - "debug", - "extend", - "font-face", - "for", - "import", - "include", - "media", - "mixin", - "page", - "warn", - "while" + 'charset', + 'css', + 'debug', + 'extend', + 'font-face', + 'for', + 'import', + 'include', + 'media', + 'mixin', + 'page', + 'warn', + 'while' ]; var PSEUDO_SELECTORS = [ - "after", - "before", - "first-letter", - "first-line", - "active", - "first-child", - "focus", - "hover", - "lang", - "link", - "visited" + 'after', + 'before', + 'first-letter', + 'first-line', + 'active', + 'first-child', + 'focus', + 'hover', + 'lang', + 'link', + 'visited' ]; var TAGS = [ - "a", - "abbr", - "address", - "article", - "aside", - "audio", - "b", - "blockquote", - "body", - "button", - "canvas", - "caption", - "cite", - "code", - "dd", - "del", - "details", - "dfn", - "div", - "dl", - "dt", - "em", - "fieldset", - "figcaption", - "figure", - "footer", - "form", - "h1", - "h2", - "h3", - "h4", - "h5", - "h6", - "header", - "hgroup", - "html", - "i", - "iframe", - "img", - "input", - "ins", - "kbd", - "label", - "legend", - "li", - "mark", - "menu", - "nav", - "object", - "ol", - "p", - "q", - "quote", - "samp", - "section", - "span", - "strong", - "summary", - "sup", - "table", - "tbody", - "td", - "textarea", - "tfoot", - "th", - "thead", - "time", - "tr", - "ul", - "var", - "video" + 'a', + 'abbr', + 'address', + 'article', + 'aside', + 'audio', + 'b', + 'blockquote', + 'body', + 'button', + 'canvas', + 'caption', + 'cite', + 'code', + 'dd', + 'del', + 'details', + 'dfn', + 'div', + 'dl', + 'dt', + 'em', + 'fieldset', + 'figcaption', + 'figure', + 'footer', + 'form', + 'h1', + 'h2', + 'h3', + 'h4', + 'h5', + 'h6', + 'header', + 'hgroup', + 'html', + 'i', + 'iframe', + 'img', + 'input', + 'ins', + 'kbd', + 'label', + 'legend', + 'li', + 'mark', + 'menu', + 'nav', + 'object', + 'ol', + 'p', + 'q', + 'quote', + 'samp', + 'section', + 'span', + 'strong', + 'summary', + 'sup', + 'table', + 'tbody', + 'td', + 'textarea', + 'tfoot', + 'th', + 'thead', + 'time', + 'tr', + 'ul', + 'var', + 'video' ]; - var TAG_END = "[\\.\\s\\n\\[\\:,]"; + var TAG_END = '[\\.\\s\\n\\[\\:,]'; var ATTRIBUTES = [ - "align-content", - "align-items", - "align-self", - "animation", - "animation-delay", - "animation-direction", - "animation-duration", - "animation-fill-mode", - "animation-iteration-count", - "animation-name", - "animation-play-state", - "animation-timing-function", - "auto", - "backface-visibility", - "background", - "background-attachment", - "background-clip", - "background-color", - "background-image", - "background-origin", - "background-position", - "background-repeat", - "background-size", - "border", - "border-bottom", - "border-bottom-color", - "border-bottom-left-radius", - "border-bottom-right-radius", - "border-bottom-style", - "border-bottom-width", - "border-collapse", - "border-color", - "border-image", - "border-image-outset", - "border-image-repeat", - "border-image-slice", - "border-image-source", - "border-image-width", - "border-left", - "border-left-color", - "border-left-style", - "border-left-width", - "border-radius", - "border-right", - "border-right-color", - "border-right-style", - "border-right-width", - "border-spacing", - "border-style", - "border-top", - "border-top-color", - "border-top-left-radius", - "border-top-right-radius", - "border-top-style", - "border-top-width", - "border-width", - "bottom", - "box-decoration-break", - "box-shadow", - "box-sizing", - "break-after", - "break-before", - "break-inside", - "caption-side", - "clear", - "clip", - "clip-path", - "color", - "column-count", - "column-fill", - "column-gap", - "column-rule", - "column-rule-color", - "column-rule-style", - "column-rule-width", - "column-span", - "column-width", - "columns", - "content", - "counter-increment", - "counter-reset", - "cursor", - "direction", - "display", - "empty-cells", - "filter", - "flex", - "flex-basis", - "flex-direction", - "flex-flow", - "flex-grow", - "flex-shrink", - "flex-wrap", - "float", - "font", - "font-family", - "font-feature-settings", - "font-kerning", - "font-language-override", - "font-size", - "font-size-adjust", - "font-stretch", - "font-style", - "font-variant", - "font-variant-ligatures", - "font-weight", - "height", - "hyphens", - "icon", - "image-orientation", - "image-rendering", - "image-resolution", - "ime-mode", - "inherit", - "initial", - "justify-content", - "left", - "letter-spacing", - "line-height", - "list-style", - "list-style-image", - "list-style-position", - "list-style-type", - "margin", - "margin-bottom", - "margin-left", - "margin-right", - "margin-top", - "marks", - "mask", - "max-height", - "max-width", - "min-height", - "min-width", - "nav-down", - "nav-index", - "nav-left", - "nav-right", - "nav-up", - "none", - "normal", - "object-fit", - "object-position", - "opacity", - "order", - "orphans", - "outline", - "outline-color", - "outline-offset", - "outline-style", - "outline-width", - "overflow", - "overflow-wrap", - "overflow-x", - "overflow-y", - "padding", - "padding-bottom", - "padding-left", - "padding-right", - "padding-top", - "page-break-after", - "page-break-before", - "page-break-inside", - "perspective", - "perspective-origin", - "pointer-events", - "position", - "quotes", - "resize", - "right", - "tab-size", - "table-layout", - "text-align", - "text-align-last", - "text-decoration", - "text-decoration-color", - "text-decoration-line", - "text-decoration-style", - "text-indent", - "text-overflow", - "text-rendering", - "text-shadow", - "text-transform", - "text-underline-position", - "top", - "transform", - "transform-origin", - "transform-style", - "transition", - "transition-delay", - "transition-duration", - "transition-property", - "transition-timing-function", - "unicode-bidi", - "vertical-align", - "visibility", - "white-space", - "widows", - "width", - "word-break", - "word-spacing", - "word-wrap", - "z-index" + 'align-content', + 'align-items', + 'align-self', + 'animation', + 'animation-delay', + 'animation-direction', + 'animation-duration', + 'animation-fill-mode', + 'animation-iteration-count', + 'animation-name', + 'animation-play-state', + 'animation-timing-function', + 'auto', + 'backface-visibility', + 'background', + 'background-attachment', + 'background-clip', + 'background-color', + 'background-image', + 'background-origin', + 'background-position', + 'background-repeat', + 'background-size', + 'border', + 'border-bottom', + 'border-bottom-color', + 'border-bottom-left-radius', + 'border-bottom-right-radius', + 'border-bottom-style', + 'border-bottom-width', + 'border-collapse', + 'border-color', + 'border-image', + 'border-image-outset', + 'border-image-repeat', + 'border-image-slice', + 'border-image-source', + 'border-image-width', + 'border-left', + 'border-left-color', + 'border-left-style', + 'border-left-width', + 'border-radius', + 'border-right', + 'border-right-color', + 'border-right-style', + 'border-right-width', + 'border-spacing', + 'border-style', + 'border-top', + 'border-top-color', + 'border-top-left-radius', + 'border-top-right-radius', + 'border-top-style', + 'border-top-width', + 'border-width', + 'bottom', + 'box-decoration-break', + 'box-shadow', + 'box-sizing', + 'break-after', + 'break-before', + 'break-inside', + 'caption-side', + 'clear', + 'clip', + 'clip-path', + 'color', + 'column-count', + 'column-fill', + 'column-gap', + 'column-rule', + 'column-rule-color', + 'column-rule-style', + 'column-rule-width', + 'column-span', + 'column-width', + 'columns', + 'content', + 'counter-increment', + 'counter-reset', + 'cursor', + 'direction', + 'display', + 'empty-cells', + 'filter', + 'flex', + 'flex-basis', + 'flex-direction', + 'flex-flow', + 'flex-grow', + 'flex-shrink', + 'flex-wrap', + 'float', + 'font', + 'font-family', + 'font-feature-settings', + 'font-kerning', + 'font-language-override', + 'font-size', + 'font-size-adjust', + 'font-stretch', + 'font-style', + 'font-variant', + 'font-variant-ligatures', + 'font-weight', + 'height', + 'hyphens', + 'icon', + 'image-orientation', + 'image-rendering', + 'image-resolution', + 'ime-mode', + 'inherit', + 'initial', + 'justify-content', + 'left', + 'letter-spacing', + 'line-height', + 'list-style', + 'list-style-image', + 'list-style-position', + 'list-style-type', + 'margin', + 'margin-bottom', + 'margin-left', + 'margin-right', + 'margin-top', + 'marks', + 'mask', + 'max-height', + 'max-width', + 'min-height', + 'min-width', + 'nav-down', + 'nav-index', + 'nav-left', + 'nav-right', + 'nav-up', + 'none', + 'normal', + 'object-fit', + 'object-position', + 'opacity', + 'order', + 'orphans', + 'outline', + 'outline-color', + 'outline-offset', + 'outline-style', + 'outline-width', + 'overflow', + 'overflow-wrap', + 'overflow-x', + 'overflow-y', + 'padding', + 'padding-bottom', + 'padding-left', + 'padding-right', + 'padding-top', + 'page-break-after', + 'page-break-before', + 'page-break-inside', + 'perspective', + 'perspective-origin', + 'pointer-events', + 'position', + 'quotes', + 'resize', + 'right', + 'tab-size', + 'table-layout', + 'text-align', + 'text-align-last', + 'text-decoration', + 'text-decoration-color', + 'text-decoration-line', + 'text-decoration-style', + 'text-indent', + 'text-overflow', + 'text-rendering', + 'text-shadow', + 'text-transform', + 'text-underline-position', + 'top', + 'transform', + 'transform-origin', + 'transform-style', + 'transition', + 'transition-delay', + 'transition-duration', + 'transition-property', + 'transition-timing-function', + 'unicode-bidi', + 'vertical-align', + 'visibility', + 'white-space', + 'widows', + 'width', + 'word-break', + 'word-spacing', + 'word-wrap', + 'z-index' ]; // illegals var ILLEGAL = [ - "\\?", - "(\\bReturn\\b)", // monkey - "(\\bEnd\\b)", // monkey - "(\\bend\\b)", // vbscript - "(\\bdef\\b)", // gradle - ";", // a whole lot of languages - "#\\s", // markdown - "\\*\\s", // markdown - "===\\s", // markdown - "\\|", - "%" // prolog + '\\?', + '(\\bReturn\\b)', // monkey + '(\\bEnd\\b)', // monkey + '(\\bend\\b)', // vbscript + '(\\bdef\\b)', // gradle + ';', // a whole lot of languages + '#\\s', // markdown + '\\*\\s', // markdown + '===\\s', // markdown + '\\|', + '%' // prolog ]; return { - aliases: ["styl"], + aliases: ['styl'], case_insensitive: false, - keywords: "if else for in", - illegal: "(" + ILLEGAL.join("|") + ")", + keywords: 'if else for in', + illegal: '(' + ILLEGAL.join('|') + ')', contains: [ // strings hljs.QUOTE_STRING_MODE, @@ -33126,45 +65856,45 @@ // class tag { - begin: "\\.[a-zA-Z][a-zA-Z0-9_-]*" + TAG_END, + begin: '\\.[a-zA-Z][a-zA-Z0-9_-]*' + TAG_END, returnBegin: true, contains: [ { - className: "selector-class", - begin: "\\.[a-zA-Z][a-zA-Z0-9_-]*" + className: 'selector-class', + begin: '\\.[a-zA-Z][a-zA-Z0-9_-]*' } ] }, // id tag { - begin: "\\#[a-zA-Z][a-zA-Z0-9_-]*" + TAG_END, + begin: '\\#[a-zA-Z][a-zA-Z0-9_-]*' + TAG_END, returnBegin: true, contains: [ - { className: "selector-id", begin: "\\#[a-zA-Z][a-zA-Z0-9_-]*" } + { className: 'selector-id', begin: '\\#[a-zA-Z][a-zA-Z0-9_-]*' } ] }, // tags { - begin: "\\b(" + TAGS.join("|") + ")" + TAG_END, + begin: '\\b(' + TAGS.join('|') + ')' + TAG_END, returnBegin: true, contains: [ { - className: "selector-tag", - begin: "\\b[a-zA-Z][a-zA-Z0-9_-]*" + className: 'selector-tag', + begin: '\\b[a-zA-Z][a-zA-Z0-9_-]*' } ] }, // psuedo selectors { - begin: "&?:?:\\b(" + PSEUDO_SELECTORS.join("|") + ")" + TAG_END + begin: '&?:?:\\b(' + PSEUDO_SELECTORS.join('|') + ')' + TAG_END }, // @ keywords { - begin: "@(" + AT_KEYWORDS.join("|") + ")\\b" + begin: '@(' + AT_KEYWORDS.join('|') + ')\\b' }, // variables @@ -33179,14 +65909,14 @@ // functions // - only from beginning of line + whitespace { - className: "function", - begin: "^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)", - illegal: "[\\n]", + className: 'function', + begin: '^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)', + illegal: '[\\n]', returnBegin: true, contains: [ - { className: "title", begin: "\\b[a-zA-Z][a-zA-Z0-9_-]*" }, + { className: 'title', begin: '\\b[a-zA-Z][a-zA-Z0-9_-]*' }, { - className: "params", + className: 'params', begin: /\(/, end: /\)/, contains: [ @@ -33205,8 +65935,8 @@ // - only from beginning of line + whitespace // - must have whitespace after it { - className: "attribute", - begin: "\\b(" + ATTRIBUTES.reverse().join("|") + ")\\b", + className: 'attribute', + begin: '\\b(' + ATTRIBUTES.reverse().join('|') + ')\\b', starts: { // value container end: /;|$/, @@ -33229,33 +65959,33 @@ /***/ }, - /* 500 */ + /* 510 */ /***/ function(module, exports) { module.exports = function(hljs) { var DETAILS = { - className: "string", - begin: "\\[\n(multipart)?", - end: "\\]\n" + className: 'string', + begin: '\\[\n(multipart)?', + end: '\\]\n' }; var TIME = { - className: "string", - begin: "\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z" + className: 'string', + begin: '\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z' }; var PROGRESSVALUE = { - className: "string", - begin: "(\\+|-)\\d+" + className: 'string', + begin: '(\\+|-)\\d+' }; var KEYWORDS = { - className: "keyword", + className: 'keyword', relevance: 10, variants: [ { begin: - "^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?" + '^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?' }, - { begin: "^progress(:?)(\\s+)?(pop|push)?" }, - { begin: "^tags:" }, - { begin: "^time:" } + { begin: '^progress(:?)(\\s+)?(pop|push)?' }, + { begin: '^tags:' }, + { begin: '^time:' } ] }; return { @@ -33266,76 +65996,80 @@ /***/ }, - /* 501 */ + /* 511 */ /***/ function(module, exports) { module.exports = function(hljs) { var SWIFT_KEYWORDS = { keyword: - "__COLUMN__ __FILE__ __FUNCTION__ __LINE__ as as! as? associativity " + - "break case catch class continue convenience default defer deinit didSet do " + - "dynamic dynamicType else enum extension fallthrough false fileprivate final for func " + - "get guard if import in indirect infix init inout internal is lazy left let " + - "mutating nil none nonmutating open operator optional override postfix precedence " + - "prefix private protocol Protocol public repeat required rethrows return " + - "right self Self set static struct subscript super switch throw throws true " + - "try try! try? Type typealias unowned var weak where while willSet", - literal: "true false nil", + '#available #colorLiteral #column #else #elseif #endif #file ' + + '#fileLiteral #function #if #imageLiteral #line #selector #sourceLocation ' + + '_ __COLUMN__ __FILE__ __FUNCTION__ __LINE__ Any as as! as? associatedtype ' + + 'associativity break case catch class continue convenience default defer deinit didSet do ' + + 'dynamic dynamicType else enum extension fallthrough false fileprivate final for func ' + + 'get guard if import in indirect infix init inout internal is lazy left let ' + + 'mutating nil none nonmutating open operator optional override postfix precedence ' + + 'prefix private protocol Protocol public repeat required rethrows return ' + + 'right self Self set static struct subscript super switch throw throws true ' + + 'try try! try? Type typealias unowned var weak where while willSet', + literal: 'true false nil', built_in: - "abs advance alignof alignofValue anyGenerator assert assertionFailure " + - "bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC " + - "bridgeToObjectiveCUnconditional c contains count countElements countLeadingZeros " + - "debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords " + - "enumerate equal fatalError filter find getBridgedObjectiveCType getVaList " + - "indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC " + - "isUniquelyReferenced isUniquelyReferencedNonObjC join lazy lexicographicalCompare " + - "map max maxElement min minElement numericCast overlaps partition posix " + - "precondition preconditionFailure print println quickSort readLine reduce reflect " + - "reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split " + - "startsWith stride strideof strideofValue swap toString transcode " + - "underestimateCount unsafeAddressOf unsafeBitCast unsafeDowncast unsafeUnwrap " + - "unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer " + - "withUnsafePointerToObject withUnsafeMutablePointer withUnsafeMutablePointers " + - "withUnsafePointer withUnsafePointers withVaList zip" + 'abs advance alignof alignofValue anyGenerator assert assertionFailure ' + + 'bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC ' + + 'bridgeToObjectiveCUnconditional c contains count countElements countLeadingZeros ' + + 'debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords ' + + 'enumerate equal fatalError filter find getBridgedObjectiveCType getVaList ' + + 'indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC ' + + 'isUniquelyReferenced isUniquelyReferencedNonObjC join lazy lexicographicalCompare ' + + 'map max maxElement min minElement numericCast overlaps partition posix ' + + 'precondition preconditionFailure print println quickSort readLine reduce reflect ' + + 'reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split ' + + 'startsWith stride strideof strideofValue swap toString transcode ' + + 'underestimateCount unsafeAddressOf unsafeBitCast unsafeDowncast unsafeUnwrap ' + + 'unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer ' + + 'withUnsafePointerToObject withUnsafeMutablePointer withUnsafeMutablePointers ' + + 'withUnsafePointer withUnsafePointers withVaList zip' }; var TYPE = { - className: "type", + className: 'type', begin: "\\b[A-Z][\\w\u00C0-\u02B8']*", relevance: 0 }; - var BLOCK_COMMENT = hljs.COMMENT("/\\*", "\\*/", { - contains: ["self"] + var BLOCK_COMMENT = hljs.COMMENT('/\\*', '\\*/', { + contains: ['self'] }); var SUBST = { - className: "subst", + className: 'subst', begin: /\\\(/, - end: "\\)", + end: '\\)', keywords: SWIFT_KEYWORDS, contains: [] // assigned later }; + var STRING = { + className: 'string', + contains: [hljs.BACKSLASH_ESCAPE, SUBST], + variants: [{ begin: /"""/, end: /"""/ }, { begin: /"/, end: /"/ }] + }; var NUMBERS = { - className: "number", + className: 'number', begin: - "\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b", + '\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b', relevance: 0 }; - var QUOTE_STRING_MODE = hljs.inherit(hljs.QUOTE_STRING_MODE, { - contains: [SUBST, hljs.BACKSLASH_ESCAPE] - }); SUBST.contains = [NUMBERS]; return { keywords: SWIFT_KEYWORDS, contains: [ - QUOTE_STRING_MODE, + STRING, hljs.C_LINE_COMMENT_MODE, BLOCK_COMMENT, TYPE, NUMBERS, { - className: "function", - beginKeywords: "func", - end: "{", + className: 'function', + beginKeywords: 'func', + end: '{', excludeEnd: true, contains: [ hljs.inherit(hljs.TITLE_MODE, { @@ -33346,17 +66080,17 @@ end: />/ }, { - className: "params", + className: 'params', begin: /\(/, end: /\)/, endsParent: true, keywords: SWIFT_KEYWORDS, contains: [ - "self", + 'self', NUMBERS, - QUOTE_STRING_MODE, + STRING, hljs.C_BLOCK_COMMENT_MODE, - { begin: ":" } // relevance booster + { begin: ':' } // relevance booster ], illegal: /["']/ } @@ -33364,10 +66098,10 @@ illegal: /\[|%/ }, { - className: "class", - beginKeywords: "struct protocol class extension enum", + className: 'class', + beginKeywords: 'struct protocol class extension enum', keywords: SWIFT_KEYWORDS, - end: "\\{", + end: '\\{', excludeEnd: true, contains: [ hljs.inherit(hljs.TITLE_MODE, { @@ -33376,16 +66110,16 @@ ] }, { - className: "meta", // @attributes + className: 'meta', // @attributes begin: - "(@warn_unused_result|@exported|@lazy|@noescape|" + - "@NSCopying|@NSManaged|@objc|@convention|@required|" + - "@noreturn|@IBAction|@IBDesignable|@IBInspectable|@IBOutlet|" + - "@infix|@prefix|@postfix|@autoclosure|@testable|@available|" + - "@nonobjc|@NSApplicationMain|@UIApplicationMain)" + '(@discardableResult|@warn_unused_result|@exported|@lazy|@noescape|' + + '@NSCopying|@NSManaged|@objc|@objcMembers|@convention|@required|' + + '@noreturn|@IBAction|@IBDesignable|@IBInspectable|@IBOutlet|' + + '@infix|@prefix|@postfix|@autoclosure|@testable|@available|' + + '@nonobjc|@NSApplicationMain|@UIApplicationMain)' }, { - beginKeywords: "import", + beginKeywords: 'import', end: /$/, contains: [hljs.C_LINE_COMMENT_MODE, BLOCK_COMMENT] } @@ -33395,11 +66129,11 @@ /***/ }, - /* 502 */ + /* 512 */ /***/ function(module, exports) { module.exports = function(hljs) { var COMMENT = { - className: "comment", + className: 'comment', begin: /\$noop\(/, end: /\)/, contains: [ @@ -33407,7 +66141,7 @@ begin: /\(/, end: /\)/, contains: [ - "self", + 'self', { begin: /\\./ } @@ -33418,20 +66152,20 @@ }; var FUNCTION = { - className: "keyword", + className: 'keyword', begin: /\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/, end: /\(/, excludeEnd: true }; var VARIABLE = { - className: "variable", + className: 'variable', begin: /%[_a-zA-Z0-9:]*/, - end: "%" + end: '%' }; var ESCAPE_SEQUENCE = { - className: "symbol", + className: 'symbol', begin: /\\./ }; @@ -33442,31 +66176,31 @@ /***/ }, - /* 503 */ + /* 513 */ /***/ function(module, exports) { module.exports = function(hljs) { - var LITERALS = "true false yes no null"; + var LITERALS = 'true false yes no null'; - var keyPrefix = "^[ \\-]*"; - var keyName = "[a-zA-Z_][\\w\\-]*"; + var keyPrefix = '^[ \\-]*'; + var keyName = '[a-zA-Z_][\\w\\-]*'; var KEY = { - className: "attr", + className: 'attr', variants: [ - { begin: keyPrefix + keyName + ":" }, - { begin: keyPrefix + '"' + keyName + '"' + ":" }, - { begin: keyPrefix + "'" + keyName + "'" + ":" } + { begin: keyPrefix + keyName + ':' }, + { begin: keyPrefix + '"' + keyName + '"' + ':' }, + { begin: keyPrefix + "'" + keyName + "'" + ':' } ] }; var TEMPLATE_VARIABLES = { - className: "template-variable", + className: 'template-variable', variants: [ - { begin: "{{", end: "}}" }, // jinja templates Ansible - { begin: "%{", end: "}" } // Ruby i18n + { begin: '{{', end: '}}' }, // jinja templates Ansible + { begin: '%{', end: '}' } // Ruby i18n ] }; var STRING = { - className: "string", + className: 'string', relevance: 0, variants: [ { begin: /'/, end: /'/ }, @@ -33478,18 +66212,18 @@ return { case_insensitive: true, - aliases: ["yml", "YAML", "yaml"], + aliases: ['yml', 'YAML', 'yaml'], contains: [ KEY, { - className: "meta", - begin: "^---s*$", + className: 'meta', + begin: '^---s*$', relevance: 10 }, { // multi line string - className: "string", - begin: "[\\|>] *$", + className: 'string', + begin: '[\\|>] *$', returnEnd: true, contains: STRING.contains, // very simple termination: next hash key @@ -33497,32 +66231,37 @@ }, { // Ruby/Rails erb - begin: "<%[%=-]?", - end: "[%-]?%>", - subLanguage: "ruby", + begin: '<%[%=-]?', + end: '[%-]?%>', + subLanguage: 'ruby', excludeBegin: true, excludeEnd: true, relevance: 0 }, + { + // local tags + className: 'type', + begin: '!' + hljs.UNDERSCORE_IDENT_RE + }, { // data type - className: "type", - begin: "!!" + hljs.UNDERSCORE_IDENT_RE + className: 'type', + begin: '!!' + hljs.UNDERSCORE_IDENT_RE }, { // fragment id &ref - className: "meta", - begin: "&" + hljs.UNDERSCORE_IDENT_RE + "$" + className: 'meta', + begin: '&' + hljs.UNDERSCORE_IDENT_RE + '$' }, { // fragment reference *ref - className: "meta", - begin: "\\*" + hljs.UNDERSCORE_IDENT_RE + "$" + className: 'meta', + begin: '\\*' + hljs.UNDERSCORE_IDENT_RE + '$' }, { // array listing - className: "bullet", - begin: "^ *-", + className: 'bullet', + begin: '^ *-', relevance: 0 }, hljs.HASH_COMMENT_MODE, @@ -33538,7 +66277,7 @@ /***/ }, - /* 504 */ + /* 514 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -33547,28 +66286,28 @@ hljs.HASH_COMMENT_MODE, // version of format and total amount of testcases { - className: "meta", + className: 'meta', variants: [ - { begin: "^TAP version (\\d+)$" }, - { begin: "^1\\.\\.(\\d+)$" } + { begin: '^TAP version (\\d+)$' }, + { begin: '^1\\.\\.(\\d+)$' } ] }, // YAML block { - begin: "(s+)?---$", - end: "\\.\\.\\.$", - subLanguage: "yaml", + begin: '(s+)?---$', + end: '\\.\\.\\.$', + subLanguage: 'yaml', relevance: 0 }, // testcase number { - className: "number", - begin: " (\\d+) " + className: 'number', + begin: ' (\\d+) ' }, // testcase status and description { - className: "symbol", - variants: [{ begin: "^ok" }, { begin: "^not ok" }] + className: 'symbol', + variants: [{ begin: '^ok' }, { begin: '^not ok' }] } ] }; @@ -33576,36 +66315,36 @@ /***/ }, - /* 505 */ + /* 515 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["tk"], + aliases: ['tk'], keywords: - "after append apply array auto_execok auto_import auto_load auto_mkindex " + - "auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock " + - "close concat continue dde dict encoding eof error eval exec exit expr fblocked " + - "fconfigure fcopy file fileevent filename flush for foreach format gets glob global " + - "history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list " + - "llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 " + - "mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex " + - "platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename " + - "return safe scan seek set socket source split string subst switch tcl_endOfWord " + - "tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter " + - "tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update " + - "uplevel upvar variable vwait while", + 'after append apply array auto_execok auto_import auto_load auto_mkindex ' + + 'auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock ' + + 'close concat continue dde dict encoding eof error eval exec exit expr fblocked ' + + 'fconfigure fcopy file fileevent filename flush for foreach format gets glob global ' + + 'history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list ' + + 'llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 ' + + 'mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex ' + + 'platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename ' + + 'return safe scan seek set socket source split string subst switch tcl_endOfWord ' + + 'tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter ' + + 'tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update ' + + 'uplevel upvar variable vwait while', contains: [ - hljs.COMMENT(";[ \\t]*#", "$"), - hljs.COMMENT("^[ \\t]*#", "$"), + hljs.COMMENT(';[ \\t]*#', '$'), + hljs.COMMENT('^[ \\t]*#', '$'), { - beginKeywords: "proc", - end: "[\\{]", + beginKeywords: 'proc', + end: '[\\{]', excludeEnd: true, contains: [ { - className: "title", - begin: "[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*", - end: "[ \\t\\n\\r]", + className: 'title', + begin: '[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*', + end: '[ \\t\\n\\r]', endsWithParent: true, excludeEnd: true } @@ -33616,17 +66355,17 @@ variants: [ { begin: - "\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*\\(([a-zA-Z0-9_])*\\)", - end: "[^a-zA-Z0-9_\\}\\$]" + '\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*\\(([a-zA-Z0-9_])*\\)', + end: '[^a-zA-Z0-9_\\}\\$]' }, { - begin: "\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*", - end: "(\\))?[^a-zA-Z0-9_\\}\\$]" + begin: '\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*', + end: '(\\))?[^a-zA-Z0-9_\\}\\$]' } ] }, { - className: "string", + className: 'string', contains: [hljs.BACKSLASH_ESCAPE], variants: [ hljs.inherit(hljs.APOS_STRING_MODE, { illegal: null }), @@ -33634,7 +66373,7 @@ ] }, { - className: "number", + className: 'number', variants: [hljs.BINARY_NUMBER_MODE, hljs.C_NUMBER_MODE] } ] @@ -33643,16 +66382,16 @@ /***/ }, - /* 506 */ + /* 516 */ /***/ function(module, exports) { module.exports = function(hljs) { var COMMAND = { - className: "tag", + className: 'tag', begin: /\\/, relevance: 0, contains: [ { - className: "name", + className: 'name', variants: [ { begin: /[a-zA-Zа-яА-я]+[*]?/ }, { begin: /[^a-zA-Zа-яА-я0-9]/ } @@ -33662,7 +66401,7 @@ relevance: 0, contains: [ { - className: "string", // because it looks like attributes in HTML tags + className: 'string', // because it looks like attributes in HTML tags variants: [ { begin: /\[/, end: /\]/ }, { begin: /\{/, end: /\}/ } @@ -33674,7 +66413,7 @@ relevance: 0, contains: [ { - className: "number", + className: 'number', begin: /-?\d*\.?\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?/ } ] @@ -33689,7 +66428,7 @@ contains: [ COMMAND, { - className: "formula", + className: 'formula', contains: [COMMAND], relevance: 0, variants: [ @@ -33697,7 +66436,7 @@ { begin: /\$/, end: /\$/ } ] }, - hljs.COMMENT("%", "$", { + hljs.COMMENT('%', '$', { relevance: 0 }) ] @@ -33706,16 +66445,16 @@ /***/ }, - /* 507 */ + /* 517 */ /***/ function(module, exports) { module.exports = function(hljs) { - var BUILT_IN_TYPES = "bool byte i16 i32 i64 double string binary"; + var BUILT_IN_TYPES = 'bool byte i16 i32 i64 double string binary'; return { keywords: { keyword: - "namespace const typedef struct enum service exception void oneway set list map required optional", + 'namespace const typedef struct enum service exception void oneway set list map required optional', built_in: BUILT_IN_TYPES, - literal: "true false" + literal: 'true false' }, contains: [ hljs.QUOTE_STRING_MODE, @@ -33723,8 +66462,8 @@ hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, { - className: "class", - beginKeywords: "struct enum service exception", + className: 'class', + beginKeywords: 'struct enum service exception', end: /\{/, illegal: /\n/, contains: [ @@ -33734,10 +66473,10 @@ ] }, { - begin: "\\b(set|list|map)\\s*<", - end: ">", + begin: '\\b(set|list|map)\\s*<', + end: '>', keywords: BUILT_IN_TYPES, - contains: ["self"] + contains: ['self'] } ] }; @@ -33745,32 +66484,32 @@ /***/ }, - /* 508 */ + /* 518 */ /***/ function(module, exports) { module.exports = function(hljs) { var TPID = { - className: "number", - begin: "[1-9][0-9]*" /* no leading zeros */, + className: 'number', + begin: '[1-9][0-9]*' /* no leading zeros */, relevance: 0 }; var TPLABEL = { - className: "symbol", - begin: ":[^\\]]+" + className: 'symbol', + begin: ':[^\\]]+' }; var TPDATA = { - className: "built_in", + className: 'built_in', begin: - "(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|\ - TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[", - end: "\\]", - contains: ["self", TPID, TPLABEL] + '(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|\ + TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[', + end: '\\]', + contains: ['self', TPID, TPLABEL] }; var TPIO = { - className: "built_in", - begin: "(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[", - end: "\\]", + className: 'built_in', + begin: '(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[', + end: '\\]', contains: [ - "self", + 'self', TPID, hljs.QUOTE_STRING_MODE /* for pos section at bottom */, TPLABEL @@ -33780,53 +66519,53 @@ return { keywords: { keyword: - "ABORT ACC ADJUST AND AP_LD BREAK CALL CNT COL CONDITION CONFIG DA DB " + - "DIV DETECT ELSE END ENDFOR ERR_NUM ERROR_PROG FINE FOR GP GUARD INC " + - "IF JMP LINEAR_MAX_SPEED LOCK MOD MONITOR OFFSET Offset OR OVERRIDE " + - "PAUSE PREG PTH RT_LD RUN SELECT SKIP Skip TA TB TO TOOL_OFFSET " + - "Tool_Offset UF UT UFRAME_NUM UTOOL_NUM UNLOCK WAIT X Y Z W P R STRLEN " + - "SUBSTR FINDSTR VOFFSET PROG ATTR MN POS", + 'ABORT ACC ADJUST AND AP_LD BREAK CALL CNT COL CONDITION CONFIG DA DB ' + + 'DIV DETECT ELSE END ENDFOR ERR_NUM ERROR_PROG FINE FOR GP GUARD INC ' + + 'IF JMP LINEAR_MAX_SPEED LOCK MOD MONITOR OFFSET Offset OR OVERRIDE ' + + 'PAUSE PREG PTH RT_LD RUN SELECT SKIP Skip TA TB TO TOOL_OFFSET ' + + 'Tool_Offset UF UT UFRAME_NUM UTOOL_NUM UNLOCK WAIT X Y Z W P R STRLEN ' + + 'SUBSTR FINDSTR VOFFSET PROG ATTR MN POS', literal: - "ON OFF max_speed LPOS JPOS ENABLE DISABLE START STOP RESET" + 'ON OFF max_speed LPOS JPOS ENABLE DISABLE START STOP RESET' }, contains: [ TPDATA, TPIO, { - className: "keyword", - begin: "/(PROG|ATTR|MN|POS|END)\\b" + className: 'keyword', + begin: '/(PROG|ATTR|MN|POS|END)\\b' }, { /* this is for cases like ,CALL */ - className: "keyword", - begin: "(CALL|RUN|POINT_LOGIC|LBL)\\b" + className: 'keyword', + begin: '(CALL|RUN|POINT_LOGIC|LBL)\\b' }, { /* this is for cases like CNT100 where the default lexemes do not * separate the keyword and the number */ - className: "keyword", - begin: "\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)" + className: 'keyword', + begin: '\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)' }, { /* to catch numbers that do not have a word boundary on the left */ - className: "number", + className: 'number', begin: - "\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b", + '\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b', relevance: 0 }, - hljs.COMMENT("//", "[;$]"), - hljs.COMMENT("!", "[;$]"), - hljs.COMMENT("--eg:", "$"), + hljs.COMMENT('//', '[;$]'), + hljs.COMMENT('!', '[;$]'), + hljs.COMMENT('--eg:', '$'), hljs.QUOTE_STRING_MODE, { - className: "string", + className: 'string', begin: "'", end: "'" }, hljs.C_NUMBER_MODE, { - className: "variable", - begin: "\\$[A-Za-z0-9_]+" + className: 'variable', + begin: '\\$[A-Za-z0-9_]+' } ] }; @@ -33834,18 +66573,18 @@ /***/ }, - /* 509 */ + /* 519 */ /***/ function(module, exports) { module.exports = function(hljs) { var PARAMS = { - className: "params", - begin: "\\(", - end: "\\)" + className: 'params', + begin: '\\(', + end: '\\)' }; var FUNCTION_NAMES = - "attribute block constant cycle date dump include " + - "max min parent random range source template_from_string"; + 'attribute block constant cycle date dump include ' + + 'max min parent random range source template_from_string'; var FUNCTIONS = { beginKeywords: FUNCTION_NAMES, @@ -33857,39 +66596,39 @@ var FILTER = { begin: /\|[A-Za-z_]+:?/, keywords: - "abs batch capitalize convert_encoding date date_modify default " + - "escape first format join json_encode keys last length lower " + - "merge nl2br number_format raw replace reverse round slice sort split " + - "striptags title trim upper url_encode", + 'abs batch capitalize convert_encoding date date_modify default ' + + 'escape first format join json_encode keys last length lower ' + + 'merge nl2br number_format raw replace reverse round slice sort split ' + + 'striptags title trim upper url_encode', contains: [FUNCTIONS] }; var TAGS = - "autoescape block do embed extends filter flush for " + - "if import include macro sandbox set spaceless use verbatim"; + 'autoescape block do embed extends filter flush for ' + + 'if import include macro sandbox set spaceless use verbatim'; TAGS = TAGS + - " " + - TAGS.split(" ") + ' ' + + TAGS.split(' ') .map(function(t) { - return "end" + t; + return 'end' + t; }) - .join(" "); + .join(' '); return { - aliases: ["craftcms"], + aliases: ['craftcms'], case_insensitive: true, - subLanguage: "xml", + subLanguage: 'xml', contains: [ hljs.COMMENT(/\{#/, /#}/), { - className: "template-tag", + className: 'template-tag', begin: /\{%/, end: /%}/, contains: [ { - className: "name", + className: 'name', begin: /\w+/, keywords: TAGS, starts: { @@ -33901,10 +66640,10 @@ ] }, { - className: "template-variable", + className: 'template-variable', begin: /\{\{/, end: /}}/, - contains: ["self", FILTER, FUNCTIONS] + contains: ['self', FILTER, FUNCTIONS] } ] }; @@ -33912,58 +66651,91 @@ /***/ }, - /* 510 */ + /* 520 */ /***/ function(module, exports) { module.exports = function(hljs) { + var JS_IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*'; var KEYWORDS = { keyword: - "in if for while finally var new function do return void else break catch " + - "instanceof with throw case default try this switch continue typeof delete " + - "let yield const class public private protected get set super " + - "static implements enum export import declare type namespace abstract " + - "as from extends async await", - literal: "true false null undefined NaN Infinity", + 'in if for while finally var new function do return void else break catch ' + + 'instanceof with throw case default try this switch continue typeof delete ' + + 'let yield const class public private protected get set super ' + + 'static implements enum export import declare type namespace abstract ' + + 'as from extends async await', + literal: 'true false null undefined NaN Infinity', built_in: - "eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent " + - "encodeURI encodeURIComponent escape unescape Object Function Boolean Error " + - "EvalError InternalError RangeError ReferenceError StopIteration SyntaxError " + - "TypeError URIError Number Math Date String RegExp Array Float32Array " + - "Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array " + - "Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require " + - "module console window document any number boolean string void Promise" + 'eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent ' + + 'encodeURI encodeURIComponent escape unescape Object Function Boolean Error ' + + 'EvalError InternalError RangeError ReferenceError StopIteration SyntaxError ' + + 'TypeError URIError Number Math Date String RegExp Array Float32Array ' + + 'Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array ' + + 'Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require ' + + 'module console window document any number boolean string void Promise' + }; + + var DECORATOR = { + className: 'meta', + begin: '@' + JS_IDENT_RE + }; + + var ARGS = { + begin: '\\(', + end: /\)/, + keywords: KEYWORDS, + contains: [ + 'self', + hljs.QUOTE_STRING_MODE, + hljs.APOS_STRING_MODE, + hljs.NUMBER_MODE + ] + }; + + var PARAMS = { + className: 'params', + begin: /\(/, + end: /\)/, + excludeBegin: true, + excludeEnd: true, + keywords: KEYWORDS, + contains: [ + hljs.C_LINE_COMMENT_MODE, + hljs.C_BLOCK_COMMENT_MODE, + DECORATOR, + ARGS + ] }; return { - aliases: ["ts"], + aliases: ['ts'], keywords: KEYWORDS, contains: [ { - className: "meta", + className: 'meta', begin: /^\s*['"]use strict['"]/ }, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, { // template string - className: "string", - begin: "`", - end: "`", + className: 'string', + begin: '`', + end: '`', contains: [ hljs.BACKSLASH_ESCAPE, { - className: "subst", - begin: "\\$\\{", - end: "\\}" + className: 'subst', + begin: '\\$\\{', + end: '\\}' } ] }, hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, { - className: "number", + className: 'number', variants: [ - { begin: "\\b(0[bB][01]+)" }, - { begin: "\\b(0[oO][0-7]+)" }, + { begin: '\\b(0[bB][01]+)' }, + { begin: '\\b(0[oO][0-7]+)' }, { begin: hljs.C_NUMBER_RE } ], relevance: 0 @@ -33971,20 +66743,20 @@ { // "value" container begin: - "(" + hljs.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*", - keywords: "return throw case", + '(' + hljs.RE_STARTERS_RE + '|\\b(case|return|throw)\\b)\\s*', + keywords: 'return throw case', contains: [ hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, hljs.REGEXP_MODE, { - className: "function", - begin: "(\\(.*?\\)|" + hljs.IDENT_RE + ")\\s*=>", + className: 'function', + begin: '(\\(.*?\\)|' + hljs.IDENT_RE + ')\\s*=>', returnBegin: true, - end: "\\s*=>", + end: '\\s*=>', contains: [ { - className: "params", + className: 'params', variants: [ { begin: hljs.IDENT_RE @@ -33999,7 +66771,7 @@ excludeEnd: true, keywords: KEYWORDS, contains: [ - "self", + 'self', hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE ] @@ -34012,123 +66784,92 @@ relevance: 0 }, { - className: "function", - begin: "function", + className: 'function', + begin: 'function', end: /[\{;]/, excludeEnd: true, keywords: KEYWORDS, contains: [ - "self", - hljs.inherit(hljs.TITLE_MODE, { - begin: /[A-Za-z$_][0-9A-Za-z$_]*/ - }), - { - className: "params", - begin: /\(/, - end: /\)/, - excludeBegin: true, - excludeEnd: true, - keywords: KEYWORDS, - contains: [ - hljs.C_LINE_COMMENT_MODE, - hljs.C_BLOCK_COMMENT_MODE - ], - illegal: /["'\(]/ - } + 'self', + hljs.inherit(hljs.TITLE_MODE, { begin: JS_IDENT_RE }), + PARAMS ], illegal: /%/, relevance: 0 // () => {} is more typical in TypeScript }, { - beginKeywords: "constructor", + beginKeywords: 'constructor', end: /\{/, excludeEnd: true, - contains: [ - "self", - { - className: "params", - begin: /\(/, - end: /\)/, - excludeBegin: true, - excludeEnd: true, - keywords: KEYWORDS, - contains: [ - hljs.C_LINE_COMMENT_MODE, - hljs.C_BLOCK_COMMENT_MODE - ], - illegal: /["'\(]/ - } - ] + contains: ['self', PARAMS] }, { // prevent references like module.id from being higlighted as module definitions begin: /module\./, - keywords: { built_in: "module" }, + keywords: { built_in: 'module' }, relevance: 0 }, { - beginKeywords: "module", + beginKeywords: 'module', end: /\{/, excludeEnd: true }, { - beginKeywords: "interface", + beginKeywords: 'interface', end: /\{/, excludeEnd: true, - keywords: "interface extends" + keywords: 'interface extends' }, { begin: /\$[(.]/ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something` }, { - begin: "\\." + hljs.IDENT_RE, + begin: '\\.' + hljs.IDENT_RE, relevance: 0 // hack: prevents detection of keywords after dots }, - { - className: "meta", - begin: "@[A-Za-z]+" - } + DECORATOR, + ARGS ] }; }; /***/ }, - /* 511 */ + /* 521 */ /***/ function(module, exports) { module.exports = function(hljs) { return { keywords: { keyword: // Value types - "char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 " + - "uint16 uint32 uint64 float double bool struct enum string void " + + 'char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 ' + + 'uint16 uint32 uint64 float double bool struct enum string void ' + // Reference types - "weak unowned owned " + + 'weak unowned owned ' + // Modifiers - "async signal static abstract interface override virtual delegate " + + 'async signal static abstract interface override virtual delegate ' + // Control Structures - "if while do for foreach else switch case break default return try catch " + + 'if while do for foreach else switch case break default return try catch ' + // Visibility - "public private protected internal " + + 'public private protected internal ' + // Other - "using new this get set const stdout stdin stderr var", - built_in: "DBus GLib CCode Gee Object Gtk Posix", - literal: "false true null" + 'using new this get set const stdout stdin stderr var', + built_in: 'DBus GLib CCode Gee Object Gtk Posix', + literal: 'false true null' }, contains: [ { - className: "class", - beginKeywords: "class interface namespace", - end: "{", + className: 'class', + beginKeywords: 'class interface namespace', + end: '{', excludeEnd: true, - illegal: "[^,:\\n\\s\\.]", + illegal: '[^,:\\n\\s\\.]', contains: [hljs.UNDERSCORE_TITLE_MODE] }, hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, { - className: "string", + className: 'string', begin: '"""', end: '"""', relevance: 5 @@ -34137,9 +66878,9 @@ hljs.QUOTE_STRING_MODE, hljs.C_NUMBER_MODE, { - className: "meta", - begin: "^#", - end: "$", + className: 'meta', + begin: '^#', + end: '$', relevance: 2 } ] @@ -34148,60 +66889,60 @@ /***/ }, - /* 512 */ + /* 522 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["vb"], + aliases: ['vb'], case_insensitive: true, keywords: { keyword: - "addhandler addressof alias and andalso aggregate ansi as assembly auto binary by byref byval " /* a-b */ + - "call case catch class compare const continue custom declare default delegate dim distinct do " /* c-d */ + - "each equals else elseif end enum erase error event exit explicit finally for friend from function " /* e-f */ + - "get global goto group handles if implements imports in inherits interface into is isfalse isnot istrue " /* g-i */ + - "join key let lib like loop me mid mod module mustinherit mustoverride mybase myclass " /* j-m */ + - "namespace narrowing new next not notinheritable notoverridable " /* n */ + - "of off on operator option optional or order orelse overloads overridable overrides " /* o */ + - "paramarray partial preserve private property protected public " /* p */ + - "raiseevent readonly redim rem removehandler resume return " /* r */ + - "select set shadows shared skip static step stop structure strict sub synclock " /* s */ + - "take text then throw to try unicode until using when where while widening with withevents writeonly xor" /* t-x */, + 'addhandler addressof alias and andalso aggregate ansi as assembly auto binary by byref byval ' /* a-b */ + + 'call case catch class compare const continue custom declare default delegate dim distinct do ' /* c-d */ + + 'each equals else elseif end enum erase error event exit explicit finally for friend from function ' /* e-f */ + + 'get global goto group handles if implements imports in inherits interface into is isfalse isnot istrue ' /* g-i */ + + 'join key let lib like loop me mid mod module mustinherit mustoverride mybase myclass ' /* j-m */ + + 'namespace narrowing new next not notinheritable notoverridable ' /* n */ + + 'of off on operator option optional or order orelse overloads overridable overrides ' /* o */ + + 'paramarray partial preserve private property protected public ' /* p */ + + 'raiseevent readonly redim rem removehandler resume return ' /* r */ + + 'select set shadows shared skip static step stop structure strict sub synclock ' /* s */ + + 'take text then throw to try unicode until using when where while widening with withevents writeonly xor' /* t-x */, built_in: - "boolean byte cbool cbyte cchar cdate cdec cdbl char cint clng cobj csbyte cshort csng cstr ctype " /* b-c */ + - "date decimal directcast double gettype getxmlnamespace iif integer long object " /* d-o */ + - "sbyte short single string trycast typeof uinteger ulong ushort" /* s-u */, - literal: "true false nothing" + 'boolean byte cbool cbyte cchar cdate cdec cdbl char cint clng cobj csbyte cshort csng cstr ctype ' /* b-c */ + + 'date decimal directcast double gettype getxmlnamespace iif integer long object ' /* d-o */ + + 'sbyte short single string trycast typeof uinteger ulong ushort' /* s-u */, + literal: 'true false nothing' }, illegal: - "//|{|}|endif|gosub|variant|wend" /* reserved deprecated keywords */, + '//|{|}|endif|gosub|variant|wend|^\\$ ' /* reserved deprecated keywords */, contains: [ hljs.inherit(hljs.QUOTE_STRING_MODE, { contains: [{ begin: '""' }] }), - hljs.COMMENT("'", "$", { + hljs.COMMENT("'", '$', { returnBegin: true, contains: [ { - className: "doctag", + className: 'doctag', begin: "'''|", contains: [hljs.PHRASAL_WORDS_MODE] }, { - className: "doctag", - begin: "?", - end: ">", + className: 'doctag', + begin: '?', + end: '>', contains: [hljs.PHRASAL_WORDS_MODE] } ] }), hljs.C_NUMBER_MODE, { - className: "meta", - begin: "#", - end: "$", + className: 'meta', + begin: '#', + end: '$', keywords: { - "meta-keyword": "if else elseif end region externalsource" + 'meta-keyword': 'if else elseif end region externalsource' } } ] @@ -34210,32 +66951,32 @@ /***/ }, - /* 513 */ + /* 523 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - aliases: ["vbs"], + aliases: ['vbs'], case_insensitive: true, keywords: { keyword: - "call class const dim do loop erase execute executeglobal exit for each next function " + - "if then else on error option explicit new private property let get public randomize " + - "redim rem select case set stop sub while wend with end to elseif is or xor and not " + - "class_initialize class_terminate default preserve in me byval byref step resume goto", + 'call class const dim do loop erase execute executeglobal exit for each next function ' + + 'if then else on error option explicit new private property let get public randomize ' + + 'redim rem select case set stop sub while wend with end to elseif is or xor and not ' + + 'class_initialize class_terminate default preserve in me byval byref step resume goto', built_in: - "lcase month vartype instrrev ubound setlocale getobject rgb getref string " + - "weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency " + - "conversions csng timevalue second year space abs clng timeserial fixs len asc " + - "isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate " + - "instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex " + - "chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim " + - "strcomp int createobject loadpicture tan formatnumber mid scriptenginebuildversion " + - "scriptengine split scriptengineminorversion cint sin datepart ltrim sqr " + - "scriptenginemajorversion time derived eval date formatpercent exp inputbox left ascw " + - "chrw regexp server response request cstr err", - literal: "true false null nothing empty" - }, - illegal: "//", + 'lcase month vartype instrrev ubound setlocale getobject rgb getref string ' + + 'weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency ' + + 'conversions csng timevalue second year space abs clng timeserial fixs len asc ' + + 'isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate ' + + 'instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex ' + + 'chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim ' + + 'strcomp int createobject loadpicture tan formatnumber mid scriptenginebuildversion ' + + 'scriptengine split scriptengineminorversion cint sin datepart ltrim sqr ' + + 'scriptenginemajorversion time derived eval date formatpercent exp inputbox left ascw ' + + 'chrw regexp server response request cstr err', + literal: 'true false null nothing empty' + }, + illegal: '//', contains: [ hljs.inherit(hljs.QUOTE_STRING_MODE, { contains: [{ begin: '""' }] @@ -34250,16 +66991,16 @@ /***/ }, - /* 514 */ + /* 524 */ /***/ function(module, exports) { module.exports = function(hljs) { return { - subLanguage: "xml", + subLanguage: 'xml', contains: [ { - begin: "<%", - end: "%>", - subLanguage: "vbscript" + begin: '<%', + end: '%>', + subLanguage: 'vbscript' } ] }; @@ -34267,69 +67008,69 @@ /***/ }, - /* 515 */ + /* 525 */ /***/ function(module, exports) { module.exports = function(hljs) { var SV_KEYWORDS = { keyword: - "accept_on alias always always_comb always_ff always_latch and assert assign " + - "assume automatic before begin bind bins binsof bit break buf|0 bufif0 bufif1 " + - "byte case casex casez cell chandle checker class clocking cmos config const " + - "constraint context continue cover covergroup coverpoint cross deassign default " + - "defparam design disable dist do edge else end endcase endchecker endclass " + - "endclocking endconfig endfunction endgenerate endgroup endinterface endmodule " + - "endpackage endprimitive endprogram endproperty endspecify endsequence endtable " + - "endtask enum event eventually expect export extends extern final first_match for " + - "force foreach forever fork forkjoin function generate|5 genvar global highz0 highz1 " + - "if iff ifnone ignore_bins illegal_bins implements implies import incdir include " + - "initial inout input inside instance int integer interconnect interface intersect " + - "join join_any join_none large let liblist library local localparam logic longint " + - "macromodule matches medium modport module nand negedge nettype new nexttime nmos " + - "nor noshowcancelled not notif0 notif1 or output package packed parameter pmos " + - "posedge primitive priority program property protected pull0 pull1 pulldown pullup " + - "pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos " + - "real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran " + - "rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared " + - "sequence shortint shortreal showcancelled signed small soft solve specify specparam " + - "static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on " + - "sync_reject_on table tagged task this throughout time timeprecision timeunit tran " + - "tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 " + - "unsigned until until_with untyped use uwire var vectored virtual void wait wait_order " + - "wand weak weak0 weak1 while wildcard wire with within wor xnor xor", - literal: "null", + 'accept_on alias always always_comb always_ff always_latch and assert assign ' + + 'assume automatic before begin bind bins binsof bit break buf|0 bufif0 bufif1 ' + + 'byte case casex casez cell chandle checker class clocking cmos config const ' + + 'constraint context continue cover covergroup coverpoint cross deassign default ' + + 'defparam design disable dist do edge else end endcase endchecker endclass ' + + 'endclocking endconfig endfunction endgenerate endgroup endinterface endmodule ' + + 'endpackage endprimitive endprogram endproperty endspecify endsequence endtable ' + + 'endtask enum event eventually expect export extends extern final first_match for ' + + 'force foreach forever fork forkjoin function generate|5 genvar global highz0 highz1 ' + + 'if iff ifnone ignore_bins illegal_bins implements implies import incdir include ' + + 'initial inout input inside instance int integer interconnect interface intersect ' + + 'join join_any join_none large let liblist library local localparam logic longint ' + + 'macromodule matches medium modport module nand negedge nettype new nexttime nmos ' + + 'nor noshowcancelled not notif0 notif1 or output package packed parameter pmos ' + + 'posedge primitive priority program property protected pull0 pull1 pulldown pullup ' + + 'pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos ' + + 'real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran ' + + 'rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared ' + + 'sequence shortint shortreal showcancelled signed small soft solve specify specparam ' + + 'static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on ' + + 'sync_reject_on table tagged task this throughout time timeprecision timeunit tran ' + + 'tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 ' + + 'unsigned until until_with untyped use uwire var vectored virtual void wait wait_order ' + + 'wand weak weak0 weak1 while wildcard wire with within wor xnor xor', + literal: 'null', built_in: - "$finish $stop $exit $fatal $error $warning $info $realtime $time $printtimescale " + - "$bitstoreal $bitstoshortreal $itor $signed $cast $bits $stime $timeformat " + - "$realtobits $shortrealtobits $rtoi $unsigned $asserton $assertkill $assertpasson " + - "$assertfailon $assertnonvacuouson $assertoff $assertcontrol $assertpassoff " + - "$assertfailoff $assertvacuousoff $isunbounded $sampled $fell $changed $past_gclk " + - "$fell_gclk $changed_gclk $rising_gclk $steady_gclk $coverage_control " + - "$coverage_get $coverage_save $set_coverage_db_name $rose $stable $past " + - "$rose_gclk $stable_gclk $future_gclk $falling_gclk $changing_gclk $display " + - "$coverage_get_max $coverage_merge $get_coverage $load_coverage_db $typename " + - "$unpacked_dimensions $left $low $increment $clog2 $ln $log10 $exp $sqrt $pow " + - "$floor $ceil $sin $cos $tan $countbits $onehot $isunknown $fatal $warning " + - "$dimensions $right $high $size $asin $acos $atan $atan2 $hypot $sinh $cosh " + - "$tanh $asinh $acosh $atanh $countones $onehot0 $error $info $random " + - "$dist_chi_square $dist_erlang $dist_exponential $dist_normal $dist_poisson " + - "$dist_t $dist_uniform $q_initialize $q_remove $q_exam $async$and$array " + - "$async$nand$array $async$or$array $async$nor$array $sync$and$array " + - "$sync$nand$array $sync$or$array $sync$nor$array $q_add $q_full $psprintf " + - "$async$and$plane $async$nand$plane $async$or$plane $async$nor$plane " + - "$sync$and$plane $sync$nand$plane $sync$or$plane $sync$nor$plane $system " + - "$display $displayb $displayh $displayo $strobe $strobeb $strobeh $strobeo " + - "$write $readmemb $readmemh $writememh $value$plusargs " + - "$dumpvars $dumpon $dumplimit $dumpports $dumpportson $dumpportslimit " + - "$writeb $writeh $writeo $monitor $monitorb $monitorh $monitoro $writememb " + - "$dumpfile $dumpoff $dumpall $dumpflush $dumpportsoff $dumpportsall " + - "$dumpportsflush $fclose $fdisplay $fdisplayb $fdisplayh $fdisplayo " + - "$fstrobe $fstrobeb $fstrobeh $fstrobeo $swrite $swriteb $swriteh " + - "$swriteo $fscanf $fread $fseek $fflush $feof $fopen $fwrite $fwriteb " + - "$fwriteh $fwriteo $fmonitor $fmonitorb $fmonitorh $fmonitoro $sformat " + - "$sformatf $fgetc $ungetc $fgets $sscanf $rewind $ftell $ferror" + '$finish $stop $exit $fatal $error $warning $info $realtime $time $printtimescale ' + + '$bitstoreal $bitstoshortreal $itor $signed $cast $bits $stime $timeformat ' + + '$realtobits $shortrealtobits $rtoi $unsigned $asserton $assertkill $assertpasson ' + + '$assertfailon $assertnonvacuouson $assertoff $assertcontrol $assertpassoff ' + + '$assertfailoff $assertvacuousoff $isunbounded $sampled $fell $changed $past_gclk ' + + '$fell_gclk $changed_gclk $rising_gclk $steady_gclk $coverage_control ' + + '$coverage_get $coverage_save $set_coverage_db_name $rose $stable $past ' + + '$rose_gclk $stable_gclk $future_gclk $falling_gclk $changing_gclk $display ' + + '$coverage_get_max $coverage_merge $get_coverage $load_coverage_db $typename ' + + '$unpacked_dimensions $left $low $increment $clog2 $ln $log10 $exp $sqrt $pow ' + + '$floor $ceil $sin $cos $tan $countbits $onehot $isunknown $fatal $warning ' + + '$dimensions $right $high $size $asin $acos $atan $atan2 $hypot $sinh $cosh ' + + '$tanh $asinh $acosh $atanh $countones $onehot0 $error $info $random ' + + '$dist_chi_square $dist_erlang $dist_exponential $dist_normal $dist_poisson ' + + '$dist_t $dist_uniform $q_initialize $q_remove $q_exam $async$and$array ' + + '$async$nand$array $async$or$array $async$nor$array $sync$and$array ' + + '$sync$nand$array $sync$or$array $sync$nor$array $q_add $q_full $psprintf ' + + '$async$and$plane $async$nand$plane $async$or$plane $async$nor$plane ' + + '$sync$and$plane $sync$nand$plane $sync$or$plane $sync$nor$plane $system ' + + '$display $displayb $displayh $displayo $strobe $strobeb $strobeh $strobeo ' + + '$write $readmemb $readmemh $writememh $value$plusargs ' + + '$dumpvars $dumpon $dumplimit $dumpports $dumpportson $dumpportslimit ' + + '$writeb $writeh $writeo $monitor $monitorb $monitorh $monitoro $writememb ' + + '$dumpfile $dumpoff $dumpall $dumpflush $dumpportsoff $dumpportsall ' + + '$dumpportsflush $fclose $fdisplay $fdisplayb $fdisplayh $fdisplayo ' + + '$fstrobe $fstrobeb $fstrobeh $fstrobeo $swrite $swriteb $swriteh ' + + '$swriteo $fscanf $fread $fseek $fflush $feof $fopen $fwrite $fwriteb ' + + '$fwriteh $fwriteo $fmonitor $fmonitorb $fmonitorh $fmonitoro $sformat ' + + '$sformatf $fgetc $ungetc $fgets $sscanf $rewind $ftell $ferror' }; return { - aliases: ["v", "sv", "svh"], + aliases: ['v', 'sv', 'svh'], case_insensitive: false, keywords: SV_KEYWORDS, lexemes: /[\w\$]+/, @@ -34338,33 +67079,33 @@ hljs.C_LINE_COMMENT_MODE, hljs.QUOTE_STRING_MODE, { - className: "number", + className: 'number', contains: [hljs.BACKSLASH_ESCAPE], variants: [ { begin: "\\b((\\d+'(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)" }, { begin: "\\B(('(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)" }, - { begin: "\\b([0-9_])+", relevance: 0 } + { begin: '\\b([0-9_])+', relevance: 0 } ] }, /* parameters to instances */ { - className: "variable", + className: 'variable', variants: [ - { begin: "#\\((?!parameter).+\\)" }, - { begin: "\\.\\w+", relevance: 0 } + { begin: '#\\((?!parameter).+\\)' }, + { begin: '\\.\\w+', relevance: 0 } ] }, { - className: "meta", - begin: "`", - end: "$", + className: 'meta', + begin: '`', + end: '$', keywords: { - "meta-keyword": - "define __FILE__ " + - "__LINE__ begin_keywords celldefine default_nettype define " + - "else elsif end_keywords endcelldefine endif ifdef ifndef " + - "include line nounconnected_drive pragma resetall timescale " + - "unconnected_drive undef undefineall" + 'meta-keyword': + 'define __FILE__ ' + + '__LINE__ begin_keywords celldefine default_nettype define ' + + 'else elsif end_keywords endcelldefine endif ifdef ifndef ' + + 'include line nounconnected_drive pragma resetall timescale ' + + 'unconnected_drive undef undefineall' }, relevance: 0 } @@ -34374,73 +67115,73 @@ /***/ }, - /* 516 */ + /* 526 */ /***/ function(module, exports) { module.exports = function(hljs) { // Regular expression for VHDL numeric literals. // Decimal literal: - var INTEGER_RE = "\\d(_|\\d)*"; - var EXPONENT_RE = "[eE][-+]?" + INTEGER_RE; + var INTEGER_RE = '\\d(_|\\d)*'; + var EXPONENT_RE = '[eE][-+]?' + INTEGER_RE; var DECIMAL_LITERAL_RE = - INTEGER_RE + "(\\." + INTEGER_RE + ")?" + "(" + EXPONENT_RE + ")?"; + INTEGER_RE + '(\\.' + INTEGER_RE + ')?' + '(' + EXPONENT_RE + ')?'; // Based literal: - var BASED_INTEGER_RE = "\\w+"; + var BASED_INTEGER_RE = '\\w+'; var BASED_LITERAL_RE = INTEGER_RE + - "#" + + '#' + BASED_INTEGER_RE + - "(\\." + + '(\\.' + BASED_INTEGER_RE + - ")?" + - "#" + - "(" + + ')?' + + '#' + + '(' + EXPONENT_RE + - ")?"; + ')?'; var NUMBER_RE = - "\\b(" + BASED_LITERAL_RE + "|" + DECIMAL_LITERAL_RE + ")"; + '\\b(' + BASED_LITERAL_RE + '|' + DECIMAL_LITERAL_RE + ')'; return { case_insensitive: true, keywords: { keyword: - "abs access after alias all and architecture array assert assume assume_guarantee attribute " + - "begin block body buffer bus case component configuration constant context cover disconnect " + - "downto default else elsif end entity exit fairness file for force function generate " + - "generic group guarded if impure in inertial inout is label library linkage literal " + - "loop map mod nand new next nor not null of on open or others out package port " + - "postponed procedure process property protected pure range record register reject " + - "release rem report restrict restrict_guarantee return rol ror select sequence " + - "severity shared signal sla sll sra srl strong subtype then to transport type " + - "unaffected units until use variable vmode vprop vunit wait when while with xnor xor", + 'abs access after alias all and architecture array assert assume assume_guarantee attribute ' + + 'begin block body buffer bus case component configuration constant context cover disconnect ' + + 'downto default else elsif end entity exit fairness file for force function generate ' + + 'generic group guarded if impure in inertial inout is label library linkage literal ' + + 'loop map mod nand new next nor not null of on open or others out package parameter port ' + + 'postponed procedure process property protected pure range record register reject ' + + 'release rem report restrict restrict_guarantee return rol ror select sequence ' + + 'severity shared signal sla sll sra srl strong subtype then to transport type ' + + 'unaffected units until use variable view vmode vprop vunit wait when while with xnor xor', built_in: - "boolean bit character " + - "integer time delay_length natural positive " + - "string bit_vector file_open_kind file_open_status " + - "std_logic std_logic_vector unsigned signed boolean_vector integer_vector " + - "std_ulogic std_ulogic_vector unresolved_unsigned u_unsigned unresolved_signed u_signed" + - "real_vector time_vector", + 'boolean bit character ' + + 'integer time delay_length natural positive ' + + 'string bit_vector file_open_kind file_open_status ' + + 'std_logic std_logic_vector unsigned signed boolean_vector integer_vector ' + + 'std_ulogic std_ulogic_vector unresolved_unsigned u_unsigned unresolved_signed u_signed ' + + 'real_vector time_vector', literal: - "false true note warning error failure " + "line text side width" // severity_level // textio + 'false true note warning error failure ' + 'line text side width' // severity_level // textio }, - illegal: "{", + illegal: '{', contains: [ hljs.C_BLOCK_COMMENT_MODE, // VHDL-2008 block commenting. - hljs.COMMENT("--", "$"), + hljs.COMMENT('--', '$'), hljs.QUOTE_STRING_MODE, { - className: "number", + className: 'number', begin: NUMBER_RE, relevance: 0 }, { - className: "string", + className: 'string', begin: "'(U|X|0|1|Z|W|L|H|-)'", contains: [hljs.BACKSLASH_ESCAPE] }, { - className: "symbol", + className: 'symbol', begin: "'[A-Za-z](_?[A-Za-z0-9])*", contains: [hljs.BACKSLASH_ESCAPE] } @@ -34450,7 +67191,7 @@ /***/ }, - /* 517 */ + /* 527 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -34458,67 +67199,72 @@ keywords: { keyword: // express version except: ! & * < = > !! # @ @@ - "N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope " + - "cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc " + - "ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 " + - "profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor " + - "so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew " + - "tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ " + + 'N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope ' + + 'cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ' + + 'ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 ' + + 'profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor ' + + 'so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew ' + + 'tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ ' + // full version - "Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload " + - "bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap " + - "cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor " + - "endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap " + - "imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview " + - "lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap " + - "nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext " + - "ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding " + - "scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace " + - "startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious " + - "trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew " + - "vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank", + 'Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload ' + + 'bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap ' + + 'cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor ' + + 'endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap ' + + 'imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview ' + + 'lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap ' + + 'nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ' + + 'ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding ' + + 'scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace ' + + 'startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious ' + + 'trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew ' + + 'vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank', //built in func built_in: - "synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv " + - "complete_check add getwinposx getqflist getwinposy screencol " + - "clearmatches empty extend getcmdpos mzeval garbagecollect setreg " + - "ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable " + - "shiftwidth max sinh isdirectory synID system inputrestore winline " + - "atan visualmode inputlist tabpagewinnr round getregtype mapcheck " + - "hasmapto histdel argidx findfile sha256 exists toupper getcmdline " + - "taglist string getmatches bufnr strftime winwidth bufexists " + - "strtrans tabpagebuflist setcmdpos remote_read printf setloclist " + - "getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval " + - "resolve libcallnr foldclosedend reverse filter has_key bufname " + - "str2float strlen setline getcharmod setbufvar index searchpos " + - "shellescape undofile foldclosed setqflist buflisted strchars str2nr " + - "virtcol floor remove undotree remote_expr winheight gettabwinvar " + - "reltime cursor tabpagenr finddir localtime acos getloclist search " + - "tanh matchend rename gettabvar strdisplaywidth type abs py3eval " + - "setwinvar tolower wildmenumode log10 spellsuggest bufloaded " + - "synconcealed nextnonblank server2client complete settabwinvar " + - "executable input wincol setmatches getftype hlID inputsave " + - "searchpair or screenrow line settabvar histadd deepcopy strpart " + - "remote_peek and eval getftime submatch screenchar winsaveview " + - "matchadd mkdir screenattr getfontname libcall reltimestr getfsize " + - "winnr invert pow getbufline byte2line soundfold repeat fnameescape " + - "tagfiles sin strwidth spellbadword trunc maparg log lispindent " + - "hostname setpos globpath remote_foreground getchar synIDattr " + - "fnamemodify cscope_connection stridx winbufnr indent min " + - "complete_add nr2char searchpairpos inputdialog values matchlist " + - "items hlexists strridx browsedir expand fmod pathshorten line2byte " + - "argc count getwinvar glob foldtextresult getreg foreground cosh " + - "matchdelete has char2nr simplify histget searchdecl iconv " + - "winrestcmd pumvisible writefile foldlevel haslocaldir keys cos " + - "matchstr foldtext histnr tan tempname getcwd byteidx getbufvar " + - "islocked escape eventhandler remote_send serverlist winrestview " + - "synstack pyeval prevnonblank readfile cindent filereadable changenr " + - "exp" + 'synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv ' + + 'complete_check add getwinposx getqflist getwinposy screencol ' + + 'clearmatches empty extend getcmdpos mzeval garbagecollect setreg ' + + 'ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable ' + + 'shiftwidth max sinh isdirectory synID system inputrestore winline ' + + 'atan visualmode inputlist tabpagewinnr round getregtype mapcheck ' + + 'hasmapto histdel argidx findfile sha256 exists toupper getcmdline ' + + 'taglist string getmatches bufnr strftime winwidth bufexists ' + + 'strtrans tabpagebuflist setcmdpos remote_read printf setloclist ' + + 'getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval ' + + 'resolve libcallnr foldclosedend reverse filter has_key bufname ' + + 'str2float strlen setline getcharmod setbufvar index searchpos ' + + 'shellescape undofile foldclosed setqflist buflisted strchars str2nr ' + + 'virtcol floor remove undotree remote_expr winheight gettabwinvar ' + + 'reltime cursor tabpagenr finddir localtime acos getloclist search ' + + 'tanh matchend rename gettabvar strdisplaywidth type abs py3eval ' + + 'setwinvar tolower wildmenumode log10 spellsuggest bufloaded ' + + 'synconcealed nextnonblank server2client complete settabwinvar ' + + 'executable input wincol setmatches getftype hlID inputsave ' + + 'searchpair or screenrow line settabvar histadd deepcopy strpart ' + + 'remote_peek and eval getftime submatch screenchar winsaveview ' + + 'matchadd mkdir screenattr getfontname libcall reltimestr getfsize ' + + 'winnr invert pow getbufline byte2line soundfold repeat fnameescape ' + + 'tagfiles sin strwidth spellbadword trunc maparg log lispindent ' + + 'hostname setpos globpath remote_foreground getchar synIDattr ' + + 'fnamemodify cscope_connection stridx winbufnr indent min ' + + 'complete_add nr2char searchpairpos inputdialog values matchlist ' + + 'items hlexists strridx browsedir expand fmod pathshorten line2byte ' + + 'argc count getwinvar glob foldtextresult getreg foreground cosh ' + + 'matchdelete has char2nr simplify histget searchdecl iconv ' + + 'winrestcmd pumvisible writefile foldlevel haslocaldir keys cos ' + + 'matchstr foldtext histnr tan tempname getcwd byteidx getbufvar ' + + 'islocked escape eventhandler remote_send serverlist winrestview ' + + 'synstack pyeval prevnonblank readfile cindent filereadable changenr ' + + 'exp' }, illegal: /;/, contains: [ hljs.NUMBER_MODE, - hljs.APOS_STRING_MODE, + { + className: 'string', + begin: "'", + end: "'", + illegal: '\\n' + }, /* A double quote can start either a string or a line comment. Strings are @@ -34531,31 +67277,31 @@ parser. */ { - className: "string", + className: 'string', begin: /"(\\"|\n\\|[^"\n])*"/ }, - hljs.COMMENT('"', "$"), + hljs.COMMENT('"', '$'), { - className: "variable", + className: 'variable', begin: /[bwtglsav]:[\w\d_]*/ }, { - className: "function", - beginKeywords: "function function!", - end: "$", + className: 'function', + beginKeywords: 'function function!', + end: '$', relevance: 0, contains: [ hljs.TITLE_MODE, { - className: "params", - begin: "\\(", - end: "\\)" + className: 'params', + begin: '\\(', + end: '\\)' } ] }, { - className: "symbol", + className: 'symbol', begin: /<[\w-]+>/ } ] @@ -34564,139 +67310,139 @@ /***/ }, - /* 518 */ + /* 528 */ /***/ function(module, exports) { module.exports = function(hljs) { return { case_insensitive: true, - lexemes: "[.%]?" + hljs.IDENT_RE, + lexemes: '[.%]?' + hljs.IDENT_RE, keywords: { keyword: - "lock rep repe repz repne repnz xaquire xrelease bnd nobnd " + - "aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63", + 'lock rep repe repz repne repnz xaquire xrelease bnd nobnd ' + + 'aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63', built_in: // Instruction pointer - "ip eip rip " + + 'ip eip rip ' + // 8-bit registers - "al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b " + + 'al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ' + // 16-bit registers - "ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w " + + 'ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w ' + // 32-bit registers - "eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d " + + 'eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d ' + // 64-bit registers - "rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 " + + 'rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 ' + // Segment registers - "cs ds es fs gs ss " + + 'cs ds es fs gs ss ' + // Floating point stack registers - "st st0 st1 st2 st3 st4 st5 st6 st7 " + + 'st st0 st1 st2 st3 st4 st5 st6 st7 ' + // MMX Registers - "mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 " + + 'mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 ' + // SSE registers - "xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 " + - "xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 " + + 'xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 ' + + 'xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ' + // AVX registers - "ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 " + - "ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 " + + 'ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ' + + 'ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 ' + // AVX-512F registers - "zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 " + - "zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 " + + 'zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 ' + + 'zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 ' + // AVX-512F mask registers - "k0 k1 k2 k3 k4 k5 k6 k7 " + + 'k0 k1 k2 k3 k4 k5 k6 k7 ' + // Bound (MPX) register - "bnd0 bnd1 bnd2 bnd3 " + + 'bnd0 bnd1 bnd2 bnd3 ' + // Special register - "cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 " + + 'cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 ' + // NASM altreg package - "r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b " + - "r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d " + - "r0h r1h r2h r3h " + - "r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l " + - "db dw dd dq dt ddq do dy dz " + - "resb resw resd resq rest resdq reso resy resz " + - "incbin equ times " + - "byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr", + 'r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b ' + + 'r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d ' + + 'r0h r1h r2h r3h ' + + 'r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l ' + + 'db dw dd dq dt ddq do dy dz ' + + 'resb resw resd resq rest resdq reso resy resz ' + + 'incbin equ times ' + + 'byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr', meta: - "%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif " + - "%if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep " + - "%endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment " + - ".nolist " + - "__FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ " + - "__UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend " + - "align alignb sectalign daz nodaz up down zero default option assume public " + - "bits use16 use32 use64 default section segment absolute extern global common cpu float " + - "__utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ " + - "__float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ " + - "__Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e " + - "float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__" + '%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif ' + + '%if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep ' + + '%endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment ' + + '.nolist ' + + '__FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ ' + + '__UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend ' + + 'align alignb sectalign daz nodaz up down zero default option assume public ' + + 'bits use16 use32 use64 default section segment absolute extern global common cpu float ' + + '__utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ ' + + '__float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ ' + + '__Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e ' + + 'float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__' }, contains: [ - hljs.COMMENT(";", "$", { + hljs.COMMENT(';', '$', { relevance: 0 }), { - className: "number", + className: 'number', variants: [ // Float number and x87 BCD { begin: - "\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|" + - "(0[Xx])?[0-9][0-9_]*\\.?[0-9_]*(?:[pP](?:[+-]?[0-9_]+)?)?)\\b", + '\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|' + + '(0[Xx])?[0-9][0-9_]*\\.?[0-9_]*(?:[pP](?:[+-]?[0-9_]+)?)?)\\b', relevance: 0 }, // Hex number in $ - { begin: "\\$[0-9][0-9A-Fa-f]*", relevance: 0 }, + { begin: '\\$[0-9][0-9A-Fa-f]*', relevance: 0 }, // Number in H,D,T,Q,O,B,Y suffix { begin: - "\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b" + '\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b' }, // Number in X,D,T,Q,O,B,Y prefix { begin: - "\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b" + '\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b' } ] }, // Double quote string hljs.QUOTE_STRING_MODE, { - className: "string", + className: 'string', variants: [ // Single-quoted string { begin: "'", end: "[^\\\\]'" }, // Backquoted string - { begin: "`", end: "[^\\\\]`" } + { begin: '`', end: '[^\\\\]`' } ], relevance: 0 }, { - className: "symbol", + className: 'symbol', variants: [ // Global label and local label - { begin: "^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)" }, + { begin: '^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)' }, // Macro-local label - { begin: "^\\s*%%[A-Za-z0-9_$#@~.?]*:" } + { begin: '^\\s*%%[A-Za-z0-9_$#@~.?]*:' } ], relevance: 0 }, // Macro parameter { - className: "subst", - begin: "%[0-9]+", + className: 'subst', + begin: '%[0-9]+', relevance: 0 }, // Macro parameter { - className: "subst", - begin: "%!S+", + className: 'subst', + begin: '%!S+', relevance: 0 }, { - className: "meta", + className: 'meta', begin: /^\s*\.[\w_-]+/ } ] @@ -34705,60 +67451,60 @@ /***/ }, - /* 519 */ + /* 529 */ /***/ function(module, exports) { module.exports = function(hljs) { var BUILTIN_MODULES = - "ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo " + - "StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts"; + 'ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo ' + + 'StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts'; var XL_KEYWORDS = { keyword: - "if then else do while until for loop import with is as where when by data constant " + - "integer real text name boolean symbol infix prefix postfix block tree", - literal: "true false nil", + 'if then else do while until for loop import with is as where when by data constant ' + + 'integer real text name boolean symbol infix prefix postfix block tree', + literal: 'true false nil', built_in: - "in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin " + - "acos atan exp expm1 log log2 log10 log1p pi at text_length text_range " + - "text_find text_replace contains page slide basic_slide title_slide " + - "title subtitle fade_in fade_out fade_at clear_color color line_color " + - "line_width texture_wrap texture_transform texture scale_?x scale_?y " + - "scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y " + - "rotate_?z? rectangle circle ellipse sphere path line_to move_to " + - "quad_to curve_to theme background contents locally time mouse_?x " + - "mouse_?y mouse_buttons " + + 'in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin ' + + 'acos atan exp expm1 log log2 log10 log1p pi at text_length text_range ' + + 'text_find text_replace contains page slide basic_slide title_slide ' + + 'title subtitle fade_in fade_out fade_at clear_color color line_color ' + + 'line_width texture_wrap texture_transform texture scale_?x scale_?y ' + + 'scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y ' + + 'rotate_?z? rectangle circle ellipse sphere path line_to move_to ' + + 'quad_to curve_to theme background contents locally time mouse_?x ' + + 'mouse_?y mouse_buttons ' + BUILTIN_MODULES }; var DOUBLE_QUOTE_TEXT = { - className: "string", + className: 'string', begin: '"', end: '"', - illegal: "\\n" + illegal: '\\n' }; var SINGLE_QUOTE_TEXT = { - className: "string", + className: 'string', begin: "'", end: "'", - illegal: "\\n" + illegal: '\\n' }; var LONG_TEXT = { - className: "string", - begin: "<<", - end: ">>" + className: 'string', + begin: '<<', + end: '>>' }; var BASED_NUMBER = { - className: "number", - begin: "[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?" + className: 'number', + begin: '[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?' }; var IMPORT = { - beginKeywords: "import", - end: "$", + beginKeywords: 'import', + end: '$', keywords: XL_KEYWORDS, contains: [DOUBLE_QUOTE_TEXT] }; var FUNCTION_DEFINITION = { - className: "function", + className: 'function', begin: /[a-z][^\n]*->/, returnBegin: true, end: /->/, @@ -34772,7 +67518,7 @@ ] }; return { - aliases: ["tao"], + aliases: ['tao'], lexemes: /[a-zA-Z][a-zA-Z0-9_?]*/, keywords: XL_KEYWORDS, contains: [ @@ -34791,32 +67537,32 @@ /***/ }, - /* 520 */ + /* 530 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = - "for let if while then else return where group by xquery encoding version" + - "module namespace boundary-space preserve strip default collation base-uri ordering" + - "copy-namespaces order declare import schema namespace function option in allowing empty" + - "at tumbling window sliding window start when only end when previous next stable ascending" + - "descending empty greatest least some every satisfies switch case typeswitch try catch and" + - "or to union intersect instance of treat as castable cast map array delete insert into" + - "replace value rename copy modify update"; + 'for let if while then else return where group by xquery encoding version' + + 'module namespace boundary-space preserve strip default collation base-uri ordering' + + 'copy-namespaces order declare import schema namespace function option in allowing empty' + + 'at tumbling window sliding window start when only end when previous next stable ascending' + + 'descending empty greatest least some every satisfies switch case typeswitch try catch and' + + 'or to union intersect instance of treat as castable cast map array delete insert into' + + 'replace value rename copy modify update'; var LITERAL = - "false true xs:string xs:integer element item xs:date xs:datetime xs:float xs:double xs:decimal QName xs:anyURI xs:long xs:int xs:short xs:byte attribute"; + 'false true xs:string xs:integer element item xs:date xs:datetime xs:float xs:double xs:decimal QName xs:anyURI xs:long xs:int xs:short xs:byte attribute'; var VAR = { begin: /\$[a-zA-Z0-9\-]+/ }; var NUMBER = { - className: "number", + className: 'number', begin: - "(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b", + '(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b', relevance: 0 }; var STRING = { - className: "string", + className: 'string', variants: [ { begin: /"/, end: /"/, contains: [{ begin: /""/, relevance: 0 }] }, { begin: /'/, end: /'/, contains: [{ begin: /''/, relevance: 0 }] } @@ -34824,33 +67570,33 @@ }; var ANNOTATION = { - className: "meta", - begin: "%\\w+" + className: 'meta', + begin: '%\\w+' }; var COMMENT = { - className: "comment", - begin: "\\(:", - end: ":\\)", + className: 'comment', + begin: '\\(:', + end: ':\\)', relevance: 10, contains: [ { - className: "doctag", - begin: "@\\w+" + className: 'doctag', + begin: '@\\w+' } ] }; var METHOD = { - begin: "{", - end: "}" + begin: '{', + end: '}' }; var CONTAINS = [VAR, STRING, NUMBER, COMMENT, ANNOTATION, METHOD]; METHOD.contains = CONTAINS; return { - aliases: ["xpath", "xq"], + aliases: ['xpath', 'xq'], case_insensitive: false, lexemes: /[a-zA-Z\$][a-zA-Z0-9_:\-]*/, illegal: /(proc)|(abstract)|(extends)|(until)|(#)/, @@ -34864,11 +67610,11 @@ /***/ }, - /* 521 */ + /* 531 */ /***/ function(module, exports) { module.exports = function(hljs) { var STRING = { - className: "string", + className: 'string', contains: [hljs.BACKSLASH_ESCAPE], variants: [ { @@ -34887,38 +67633,38 @@ variants: [hljs.BINARY_NUMBER_MODE, hljs.C_NUMBER_MODE] }; return { - aliases: ["zep"], + aliases: ['zep'], case_insensitive: true, keywords: - "and include_once list abstract global private echo interface as static endswitch " + - "array null if endwhile or const for endforeach self var let while isset public " + - "protected exit foreach throw elseif include __FILE__ empty require_once do xor " + - "return parent clone use __CLASS__ __LINE__ else break print eval new " + - "catch __METHOD__ case exception default die require __FUNCTION__ " + - "enddeclare final try switch continue endfor endif declare unset true false " + - "trait goto instanceof insteadof __DIR__ __NAMESPACE__ " + - "yield finally int uint long ulong char uchar double float bool boolean string" + - "likely unlikely", + 'and include_once list abstract global private echo interface as static endswitch ' + + 'array null if endwhile or const for endforeach self var let while isset public ' + + 'protected exit foreach throw elseif include __FILE__ empty require_once do xor ' + + 'return parent clone use __CLASS__ __LINE__ else break print eval new ' + + 'catch __METHOD__ case exception default die require __FUNCTION__ ' + + 'enddeclare final try switch continue endfor endif declare unset true false ' + + 'trait goto instanceof insteadof __DIR__ __NAMESPACE__ ' + + 'yield finally int uint long ulong char uchar double float bool boolean string' + + 'likely unlikely', contains: [ hljs.C_LINE_COMMENT_MODE, hljs.HASH_COMMENT_MODE, - hljs.COMMENT("/\\*", "\\*/", { + hljs.COMMENT('/\\*', '\\*/', { contains: [ { - className: "doctag", - begin: "@[A-Za-z]+" + className: 'doctag', + begin: '@[A-Za-z]+' } ] }), - hljs.COMMENT("__halt_compiler.+?;", false, { + hljs.COMMENT('__halt_compiler.+?;', false, { endsWithParent: true, - keywords: "__halt_compiler", + keywords: '__halt_compiler', lexemes: hljs.UNDERSCORE_IDENT_RE }), { - className: "string", - begin: "<<<['\"]?\\w+['\"]?$", - end: "^\\w+;", + className: 'string', + begin: '<<<[\'"]?\\w+[\'"]?$', + end: '^\\w+;', contains: [hljs.BACKSLASH_ESCAPE] }, { @@ -34926,45 +67672,45 @@ begin: /(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/ }, { - className: "function", - beginKeywords: "function", + className: 'function', + beginKeywords: 'function', end: /[;{]/, excludeEnd: true, - illegal: "\\$|\\[|%", + illegal: '\\$|\\[|%', contains: [ hljs.UNDERSCORE_TITLE_MODE, { - className: "params", - begin: "\\(", - end: "\\)", - contains: ["self", hljs.C_BLOCK_COMMENT_MODE, STRING, NUMBER] + className: 'params', + begin: '\\(', + end: '\\)', + contains: ['self', hljs.C_BLOCK_COMMENT_MODE, STRING, NUMBER] } ] }, { - className: "class", - beginKeywords: "class interface", - end: "{", + className: 'class', + beginKeywords: 'class interface', + end: '{', excludeEnd: true, illegal: /[:\(\$"]/, contains: [ - { beginKeywords: "extends implements" }, + { beginKeywords: 'extends implements' }, hljs.UNDERSCORE_TITLE_MODE ] }, { - beginKeywords: "namespace", - end: ";", + beginKeywords: 'namespace', + end: ';', illegal: /[\.']/, contains: [hljs.UNDERSCORE_TITLE_MODE] }, { - beginKeywords: "use", - end: ";", + beginKeywords: 'use', + end: ';', contains: [hljs.UNDERSCORE_TITLE_MODE] }, { - begin: "=>" // No markup, just a relevance booster + begin: '=>' // No markup, just a relevance booster }, STRING, NUMBER @@ -34974,31 +67720,27 @@ /***/ }, - /* 522 */ + /* 532 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -35008,15 +67750,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -35052,27 +67794,27 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } Default.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "\n\n" + 'code', + { className: 'jsx' }, + '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange @@ -35088,12 +67830,12 @@ /***/ }, - /* 523 */ + /* 533 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - exports.CalendarContainer = undefined; + exports.getDefaultLocale = exports.setDefaultLocale = exports.registerLocale = exports.CalendarContainer = undefined; var _createClass = (function() { function defineProperties(target, props) { @@ -35101,7 +67843,7 @@ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; + if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } @@ -35112,38 +67854,38 @@ }; })(); - var _calendar_container = __webpack_require__(524); + var _calendar_container = __webpack_require__(534); - Object.defineProperty(exports, "CalendarContainer", { + Object.defineProperty(exports, 'CalendarContainer', { enumerable: true, get: function get() { return _interopRequireDefault(_calendar_container).default; } }); - var _calendar = __webpack_require__(529); - - var _calendar2 = _interopRequireDefault(_calendar); - - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); - var _popper_component = __webpack_require__(666); + var _calendar = __webpack_require__(538); + + var _calendar2 = _interopRequireDefault(_calendar); + + var _popper_component = __webpack_require__(635); var _popper_component2 = _interopRequireDefault(_popper_component); - var _classnames2 = __webpack_require__(532); + var _classnames2 = __webpack_require__(541); var _classnames3 = _interopRequireDefault(_classnames2); - var _date_utils = __webpack_require__(534); + var _date_utils = __webpack_require__(542); - var _reactOnclickoutside = __webpack_require__(533); + var _reactOnclickoutside = __webpack_require__(625); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); @@ -35153,7 +67895,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -35163,15 +67905,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -35189,7 +67931,11 @@ : (subClass.__proto__ = superClass); } - var outsideClickIgnoreClass = "react-datepicker-ignore-onclickoutside"; + exports.registerLocale = _date_utils.registerLocale; + exports.setDefaultLocale = _date_utils.setDefaultLocale; + exports.getDefaultLocale = _date_utils.getDefaultLocale; + + var outsideClickIgnoreClass = 'react-datepicker-ignore-onclickoutside'; var WrappedCalendar = (0, _reactOnclickoutside2.default)( _calendar2.default ); @@ -35209,7 +67955,7 @@ function hasSelectionChanged(date1, date2) { if (date1 && date2) { - return !(0, _date_utils.equals)(date1, date2); + return !(0, _date_utils.isEqual)(date1, date2); } return false; @@ -35218,24 +67964,24 @@ /** * General datepicker component. */ - var INPUT_ERR_1 = "Date input not valid."; + var INPUT_ERR_1 = 'Date input not valid.'; var DatePicker = (function(_React$Component) { _inherits(DatePicker, _React$Component); _createClass(DatePicker, null, [ { - key: "defaultProps", + key: 'defaultProps', get: function get() { return { allowSameDay: false, - dateFormat: "L", - dateFormatCalendar: "MMMM YYYY", + dateFormat: 'MM/dd/yyyy', + dateFormatCalendar: 'LLLL yyyy', onChange: function onChange() {}, disabled: false, disabledKeyboardNavigation: false, - dropdownMode: "scroll", + dropdownMode: 'scroll', onFocus: function onFocus() {}, onBlur: function onBlur() {}, onKeyDown: function onKeyDown() {}, @@ -35254,9 +68000,9 @@ shouldCloseOnSelect: true, showTimeSelect: false, timeIntervals: 30, - timeCaption: "Time", - previousMonthButtonLabel: "Previous Month", - nextMonthButtonLabel: "Next month", + timeCaption: 'Time', + previousMonthButtonLabel: 'Previous Month', + nextMonthButtonLabel: 'Next month', renderDayContents: function renderDayContents(date) { return date; } @@ -35275,12 +68021,12 @@ _this.getPreSelection = function() { return _this.props.openToDate - ? (0, _date_utils.newDate)(_this.props.openToDate) + ? _this.props.openToDate : _this.props.selectsEnd && _this.props.startDate - ? (0, _date_utils.newDate)(_this.props.startDate) + ? _this.props.startDate : _this.props.selectsStart && _this.props.endDate - ? (0, _date_utils.newDate)(_this.props.endDate) - : (0, _date_utils.now)(_this.props.utcOffset); + ? _this.props.endDate + : (0, _date_utils.newDate)(); }; _this.calcInitialState = function() { @@ -35298,7 +68044,7 @@ open: _this.props.startOpen || false, preventFocus: false, preSelection: _this.props.selected - ? (0, _date_utils.newDate)(_this.props.selected) + ? _this.props.selected : boundedPreSelection, // transforming highlighted days (perhaps nested array) // to flat Map for faster access in day.jsx @@ -35368,10 +68114,7 @@ }; _this.inputOk = function() { - return ( - (0, _date_utils.isMoment)(_this.state.preSelection) || - (0, _date_utils.isDate)(_this.state.preSelection) - ); + return (0, _date_utils.isDate)(_this.state.preSelection); }; _this.isCalendarOpen = function() { @@ -35440,7 +68183,7 @@ if (_this.props.onChangeRaw) { _this.props.onChangeRaw.apply(_this, allArgs); if ( - typeof event.isDefaultPrevented !== "function" || + typeof event.isDefaultPrevented !== 'function' || event.isDefaultPrevented() ) { return; @@ -35452,7 +68195,8 @@ }); var date = (0, _date_utils.parseDate)( event.target.value, - _this.props + _this.props.dateFormat, + _this.props.locale ); if (date || !event.target.value) { _this.setSelected(date, event, true); @@ -35503,14 +68247,11 @@ var selected = _this.props.selected; if (keepInput) selected = (0, _date_utils.newDate)(changedDate); - changedDate = (0, _date_utils.setTime)( - (0, _date_utils.newDate)(changedDate), - { - hour: (0, _date_utils.getHour)(selected), - minute: (0, _date_utils.getMinute)(selected), - second: (0, _date_utils.getSecond)(selected) - } - ); + changedDate = (0, _date_utils.setTime)(changedDate, { + hour: (0, _date_utils.getHours)(selected), + minute: (0, _date_utils.getMinutes)(selected), + second: (0, _date_utils.getSeconds)(selected) + }); } if (!_this.props.inline) { _this.setState({ @@ -35530,8 +68271,8 @@ _this.setPreSelection = function(date) { var isDateRangePresent = - typeof _this.props.minDate !== "undefined" && - typeof _this.props.maxDate !== "undefined"; + typeof _this.props.minDate !== 'undefined' && + typeof _this.props.maxDate !== 'undefined'; var isValidDateSelection = isDateRangePresent && date ? (0, _date_utils.isDayInRange)( @@ -35551,13 +68292,10 @@ var selected = _this.props.selected ? _this.props.selected : _this.getPreSelection(); - var changedDate = (0, _date_utils.setTime)( - (0, _date_utils.cloneDate)(selected), - { - hour: (0, _date_utils.getHour)(time), - minute: (0, _date_utils.getMinute)(time) - } - ); + var changedDate = (0, _date_utils.setTime)(selected, { + hour: (0, _date_utils.getHours)(time), + minute: (0, _date_utils.getMinutes)(time) + }); _this.setState({ preSelection: changedDate @@ -35586,13 +68324,13 @@ !_this.props.inline && !_this.props.preventOpenOnFocus ) { - if (eventKey === "ArrowDown" || eventKey === "ArrowUp") { + if (eventKey === 'ArrowDown' || eventKey === 'ArrowUp') { _this.onInputClick(); } return; } var copy = (0, _date_utils.newDate)(_this.state.preSelection); - if (eventKey === "Enter") { + if (eventKey === 'Enter') { event.preventDefault(); if ( _this.inputOk() && @@ -35604,40 +68342,40 @@ } else { _this.setOpen(false); } - } else if (eventKey === "Escape") { + } else if (eventKey === 'Escape') { event.preventDefault(); _this.setOpen(false); if (!_this.inputOk()) { _this.props.onInputError({ code: 1, msg: INPUT_ERR_1 }); } - } else if (eventKey === "Tab") { + } else if (eventKey === 'Tab') { _this.setOpen(false, true); } else if (!_this.props.disabledKeyboardNavigation) { var newSelection = void 0; switch (eventKey) { - case "ArrowLeft": - newSelection = (0, _date_utils.subtractDays)(copy, 1); + case 'ArrowLeft': + newSelection = (0, _date_utils.subDays)(copy, 1); break; - case "ArrowRight": + case 'ArrowRight': newSelection = (0, _date_utils.addDays)(copy, 1); break; - case "ArrowUp": - newSelection = (0, _date_utils.subtractWeeks)(copy, 1); + case 'ArrowUp': + newSelection = (0, _date_utils.subWeeks)(copy, 1); break; - case "ArrowDown": + case 'ArrowDown': newSelection = (0, _date_utils.addWeeks)(copy, 1); break; - case "PageUp": - newSelection = (0, _date_utils.subtractMonths)(copy, 1); + case 'PageUp': + newSelection = (0, _date_utils.subMonths)(copy, 1); break; - case "PageDown": + case 'PageDown': newSelection = (0, _date_utils.addMonths)(copy, 1); break; - case "Home": - newSelection = (0, _date_utils.subtractYears)(copy, 1); + case 'Home': + newSelection = (0, _date_utils.subYears)(copy, 1); break; - case "End": + case 'End': newSelection = (0, _date_utils.addYears)(copy, 1); break; } @@ -35685,6 +68423,7 @@ locale: _this.props.locale, adjustDateOnChange: _this.props.adjustDateOnChange, setOpen: _this.setOpen, + shouldCloseOnSelect: _this.props.shouldCloseOnSelect, dateFormat: _this.props.dateFormatCalendar, useWeekdaysShort: _this.props.useWeekdaysShort, formatWeekDay: _this.props.formatWeekDay, @@ -35724,7 +68463,6 @@ _this.props.scrollableMonthYearDropdown, todayButton: _this.props.todayButton, weekLabel: _this.props.weekLabel, - utcOffset: _this.props.utcOffset, outsideClickIgnoreClass: outsideClickIgnoreClass, fixedHeight: _this.props.fixedHeight, monthsShown: _this.props.monthsShown, @@ -35768,12 +68506,12 @@ var customInput = _this.props.customInput || - _react2.default.createElement("input", { type: "text" }); - var customInputRef = _this.props.customInputRef || "ref"; + _react2.default.createElement('input', { type: 'text' }); + var customInputRef = _this.props.customInputRef || 'ref'; var inputValue = - typeof _this.props.value === "string" + typeof _this.props.value === 'string' ? _this.props.value - : typeof _this.state.inputValue === "string" + : typeof _this.state.inputValue === 'string' ? _this.state.inputValue : (0, _date_utils.safeDateFormat)( _this.props.selected, @@ -35809,9 +68547,9 @@ _this.renderClearButton = function() { if (_this.props.isClearable && _this.props.selected != null) { - return _react2.default.createElement("button", { - type: "button", - className: "react-datepicker__close-icon", + return _react2.default.createElement('button', { + type: 'button', + className: 'react-datepicker__close-icon', onClick: _this.onClearClick, title: _this.props.clearButtonTitle, tabIndex: -1 @@ -35863,20 +68601,20 @@ if (this.props.withPortal) { return _react2.default.createElement( - "div", + 'div', null, !this.props.inline ? _react2.default.createElement( - "div", - { className: "react-datepicker__input-container" }, + 'div', + { className: 'react-datepicker__input-container' }, this.renderDateInput(), this.renderClearButton() ) : null, this.state.open || this.props.inline ? _react2.default.createElement( - "div", - { className: "react-datepicker__portal" }, + 'div', + { className: 'react-datepicker__portal' }, calendar ) : null @@ -35888,8 +68626,8 @@ hidePopper: !this.isCalendarOpen(), popperModifiers: this.props.popperModifiers, targetComponent: _react2.default.createElement( - "div", - { className: "react-datepicker__input-container" }, + 'div', + { className: 'react-datepicker__input-container' }, this.renderDateInput(), this.renderClearButton() ), @@ -35923,9 +68661,9 @@ dayClassName: _propTypes2.default.func, disabled: _propTypes2.default.bool, disabledKeyboardNavigation: _propTypes2.default.bool, - dropdownMode: _propTypes2.default.oneOf(["scroll", "select"]) + dropdownMode: _propTypes2.default.oneOf(['scroll', 'select']) .isRequired, - endDate: _propTypes2.default.object, + endDate: _propTypes2.default.instanceOf(Date), excludeDates: _propTypes2.default.array, filterDate: _propTypes2.default.func, fixedHeight: _propTypes2.default.bool, @@ -35938,8 +68676,8 @@ inline: _propTypes2.default.bool, isClearable: _propTypes2.default.bool, locale: _propTypes2.default.string, - maxDate: _propTypes2.default.object, - minDate: _propTypes2.default.object, + maxDate: _propTypes2.default.instanceOf(Date), + minDate: _propTypes2.default.instanceOf(Date), monthsShown: _propTypes2.default.number, name: _propTypes2.default.string, onBlur: _propTypes2.default.func, @@ -35955,7 +68693,7 @@ onYearChange: _propTypes2.default.func, onInputError: _propTypes2.default.func, open: _propTypes2.default.bool, - openToDate: _propTypes2.default.object, + openToDate: _propTypes2.default.instanceOf(Date), peekNextMonth: _propTypes2.default.bool, placeholderText: _propTypes2.default.string, popperContainer: _propTypes2.default.func, @@ -35970,7 +68708,7 @@ required: _propTypes2.default.bool, scrollableYearDropdown: _propTypes2.default.bool, scrollableMonthYearDropdown: _propTypes2.default.bool, - selected: _propTypes2.default.object, + selected: _propTypes2.default.instanceOf(Date), selectsEnd: _propTypes2.default.bool, selectsStart: _propTypes2.default.bool, showMonthDropdown: _propTypes2.default.bool, @@ -35979,7 +68717,7 @@ showYearDropdown: _propTypes2.default.bool, forceShowMonthNavigation: _propTypes2.default.bool, showDisabledMonthNavigation: _propTypes2.default.bool, - startDate: _propTypes2.default.object, + startDate: _propTypes2.default.instanceOf(Date), startOpen: _propTypes2.default.bool, tabIndex: _propTypes2.default.number, timeCaption: _propTypes2.default.string, @@ -35987,10 +68725,6 @@ todayButton: _propTypes2.default.node, useWeekdaysShort: _propTypes2.default.bool, formatWeekDay: _propTypes2.default.func, - utcOffset: _propTypes2.default.oneOfType([ - _propTypes2.default.number, - _propTypes2.default.string - ]), value: _propTypes2.default.string, weekLabel: _propTypes2.default.string, withPortal: _propTypes2.default.bool, @@ -36000,8 +68734,8 @@ showTimeSelectOnly: _propTypes2.default.bool, timeFormat: _propTypes2.default.string, timeIntervals: _propTypes2.default.number, - minTime: _propTypes2.default.object, - maxTime: _propTypes2.default.object, + minTime: _propTypes2.default.instanceOf(Date), + maxTime: _propTypes2.default.instanceOf(Date), excludeTimes: _propTypes2.default.array, useShortMonthInDropdown: _propTypes2.default.bool, clearButtonTitle: _propTypes2.default.string, @@ -36012,14 +68746,14 @@ }; exports.default = DatePicker; - var PRESELECT_CHANGE_VIA_INPUT = "input"; - var PRESELECT_CHANGE_VIA_NAVIGATE = "navigate"; + var PRESELECT_CHANGE_VIA_INPUT = 'input'; + var PRESELECT_CHANGE_VIA_NAVIGATE = 'navigate'; /***/ }, - /* 524 */ + /* 534 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; @@ -36039,11 +68773,11 @@ exports.default = CalendarContainer; - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); @@ -36058,11 +68792,11 @@ arrowProps = _ref$arrowProps === undefined ? {} : _ref$arrowProps; return _react2.default.createElement( - "div", + 'div', { className: className }, _react2.default.createElement( - "div", - _extends({ className: "react-datepicker__triangle" }, arrowProps) + 'div', + _extends({ className: 'react-datepicker__triangle' }, arrowProps) ), children ); @@ -36076,75 +68810,880 @@ /***/ }, - /* 525 */ - [884, 526], - /* 526 */ - [885, 331, 527, 528], - /* 527 */ + /* 535 */ /***/ function(module, exports, __webpack_require__) { /** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - * */ - "use strict"; + if (undefined !== 'production') { + 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 = __webpack_require__(536)( + 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__(537)(); + } + + /***/ + }, + /* 536 */ + /***/ function(module, exports, __webpack_require__) { /** - * Use invariant() to assert state which your program assumes to be true. - * - * Provide sprintf-style format (only %s is supported) and arguments - * to provide information about what broke and what you were - * expecting. + * Copyright (c) 2013-present, Facebook, Inc. * - * The invariant message will be stripped in production, but the invariant - * will remain to ensure logic does not differ in production. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ - var validateFormat = function validateFormat(format) {}; + 'use strict'; - if (false) { - validateFormat = function validateFormat(format) { - if (format === undefined) { - throw new Error("invariant requires an error message argument"); + var assign = __webpack_require__(330); + + var ReactPropTypesSecret = __webpack_require__(333); + var checkPropTypes = __webpack_require__(332); + + var printWarning = function() {}; + + if (undefined !== 'production') { + printWarning = function(text) { + var message = 'Warning: ' + text; + 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 invariant(condition, format, a, b, c, d, e, f) { - validateFormat(format); + function emptyFunctionThatReturnsNull() { + return null; + } - if (!condition) { - var error; - if (format === undefined) { - error = new Error( - "Minified exception occurred; use the non-minified dev environment " + - "for the full error message and additional helpful warnings." - ); + module.exports = function(isValidElement, throwOnDirectAccess) { + /* 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; + } + } + + /** + * Collection of methods that allow declaration and validation of props that are + * supplied to React components. Example usage: + * + * var Props = require('ReactPropTypes'); + * var MyArticle = React.createClass({ + * propTypes: { + * // An optional string prop named "description". + * description: Props.string, + * + * // A required enum prop named "category". + * category: Props.oneOf(['News','Photos']).isRequired, + * + * // A prop named "dialog" that requires an instance of Dialog. + * dialog: Props.instanceOf(Dialog).isRequired + * }, + * render: function() { ... } + * }); + * + * A more formal specification of how these methods are used: + * + * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...) + * decl := ReactPropTypes.{type}(.isRequired)? + * + * Each and every declaration produces a function with the same signature. This + * allows the creation of custom validation functions. For example: + * + * var MyLink = React.createClass({ + * propTypes: { + * // An optional string or URI prop named "href". + * href: function(props, propName, componentName) { + * var propValue = props[propName]; + * if (propValue != null && typeof propValue !== 'string' && + * !(propValue instanceof URI)) { + * return new Error( + * 'Expected a string or an URI for ' + propName + ' in ' + + * componentName + * ); + * } + * } + * }, + * render: function() {...} + * }); + * + * @internal + */ + + var ANONYMOUS = '<>'; + + // Important! + // Keep this list in sync with production version in `./factoryWithThrowingShims.js`. + var ReactPropTypes = { + array: createPrimitiveTypeChecker('array'), + bool: createPrimitiveTypeChecker('boolean'), + func: createPrimitiveTypeChecker('function'), + number: createPrimitiveTypeChecker('number'), + object: createPrimitiveTypeChecker('object'), + string: createPrimitiveTypeChecker('string'), + symbol: createPrimitiveTypeChecker('symbol'), + + any: createAnyTypeChecker(), + arrayOf: createArrayOfTypeChecker, + element: createElementTypeChecker(), + instanceOf: createInstanceTypeChecker, + node: createNodeChecker(), + objectOf: createObjectOfTypeChecker, + oneOf: createEnumTypeChecker, + oneOfType: createUnionTypeChecker, + shape: createShapeTypeChecker, + exact: createStrictShapeTypeChecker + }; + + /** + * inlined Object.is polyfill to avoid requiring consumers ship their own + * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is + */ + /*eslint-disable no-self-compare*/ + function is(x, y) { + // SameValue algorithm + if (x === y) { + // Steps 1-5, 7-10 + // Steps 6.b-6.e: +0 != -0 + return x !== 0 || 1 / x === 1 / y; } else { - var args = [a, b, c, d, e, f]; - var argIndex = 0; - error = new Error( - format.replace(/%s/g, function() { - return args[argIndex++]; - }) + // Step 6.a: NaN == NaN + return x !== x && y !== y; + } + } + /*eslint-enable no-self-compare*/ + + /** + * We use an Error-like object for backward compatibility as people may call + * PropTypes directly and inspect their output. However, we don't use real + * Errors anymore. We don't inspect their stack anyway, and creating them + * is prohibitively expensive if they are created too often, such as what + * happens in oneOfType() for any type before the one that matched. + */ + function PropTypeError(message) { + this.message = message; + this.stack = ''; + } + // Make `instanceof Error` still work for returned errors. + PropTypeError.prototype = Error.prototype; + + function createChainableTypeChecker(validate) { + if (undefined !== 'production') { + var manualPropTypeCallCache = {}; + var manualPropTypeWarningCount = 0; + } + function checkType( + isRequired, + props, + propName, + componentName, + location, + propFullName, + secret + ) { + componentName = componentName || ANONYMOUS; + propFullName = propFullName || propName; + + if (secret !== ReactPropTypesSecret) { + if (throwOnDirectAccess) { + // New behavior only for users of `prop-types` package + var err = new Error( + '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' + ); + err.name = 'Invariant Violation'; + throw err; + } else if ( + undefined !== 'production' && + typeof console !== 'undefined' + ) { + // Old behavior for people using React.PropTypes + var cacheKey = componentName + ':' + propName; + if ( + !manualPropTypeCallCache[cacheKey] && + // Avoid spamming the console because they are often not actionable except for lib authors + manualPropTypeWarningCount < 3 + ) { + printWarning( + 'You are manually calling a React.PropTypes validation ' + + 'function for the `' + + propFullName + + '` prop on `' + + componentName + + '`. This is deprecated ' + + 'and will throw in the standalone `prop-types` package. ' + + 'You may be seeing this warning due to a third-party PropTypes ' + + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + + 'for details.' + ); + manualPropTypeCallCache[cacheKey] = true; + manualPropTypeWarningCount++; + } + } + } + if (props[propName] == null) { + if (isRequired) { + if (props[propName] === null) { + return new PropTypeError( + 'The ' + + location + + ' `' + + propFullName + + '` is marked as required ' + + ('in `' + componentName + '`, but its value is `null`.') + ); + } + return new PropTypeError( + 'The ' + + location + + ' `' + + propFullName + + '` is marked as required in ' + + ('`' + componentName + '`, but its value is `undefined`.') + ); + } + return null; + } else { + return validate( + props, + propName, + componentName, + location, + propFullName + ); + } + } + + var chainedCheckType = checkType.bind(null, false); + chainedCheckType.isRequired = checkType.bind(null, true); + + return chainedCheckType; + } + + function createPrimitiveTypeChecker(expectedType) { + function validate( + props, + propName, + componentName, + location, + propFullName, + secret + ) { + var propValue = props[propName]; + var propType = getPropType(propValue); + if (propType !== expectedType) { + // `propValue` being instance of, say, date/regexp, pass the 'object' + // check, but we can offer a more precise error message here rather than + // 'of type `object`'. + var preciseType = getPreciseType(propValue); + + return new PropTypeError( + 'Invalid ' + + location + + ' `' + + propFullName + + '` of type ' + + ('`' + + preciseType + + '` supplied to `' + + componentName + + '`, expected ') + + ('`' + expectedType + '`.') + ); + } + return null; + } + return createChainableTypeChecker(validate); + } + + function createAnyTypeChecker() { + return createChainableTypeChecker(emptyFunctionThatReturnsNull); + } + + function createArrayOfTypeChecker(typeChecker) { + function validate( + props, + propName, + componentName, + location, + propFullName + ) { + if (typeof typeChecker !== 'function') { + return new PropTypeError( + 'Property `' + + propFullName + + '` of component `' + + componentName + + '` has invalid PropType notation inside arrayOf.' + ); + } + var propValue = props[propName]; + if (!Array.isArray(propValue)) { + var propType = getPropType(propValue); + return new PropTypeError( + 'Invalid ' + + location + + ' `' + + propFullName + + '` of type ' + + ('`' + + propType + + '` supplied to `' + + componentName + + '`, expected an array.') + ); + } + for (var i = 0; i < propValue.length; i++) { + var error = typeChecker( + propValue, + i, + componentName, + location, + propFullName + '[' + i + ']', + ReactPropTypesSecret + ); + if (error instanceof Error) { + return error; + } + } + return null; + } + return createChainableTypeChecker(validate); + } + + function createElementTypeChecker() { + function validate( + props, + propName, + componentName, + location, + propFullName + ) { + var propValue = props[propName]; + if (!isValidElement(propValue)) { + var propType = getPropType(propValue); + return new PropTypeError( + 'Invalid ' + + location + + ' `' + + propFullName + + '` of type ' + + ('`' + + propType + + '` supplied to `' + + componentName + + '`, expected a single ReactElement.') + ); + } + return null; + } + return createChainableTypeChecker(validate); + } + + function createInstanceTypeChecker(expectedClass) { + function validate( + props, + propName, + componentName, + location, + propFullName + ) { + if (!(props[propName] instanceof expectedClass)) { + var expectedClassName = expectedClass.name || ANONYMOUS; + var actualClassName = getClassName(props[propName]); + return new PropTypeError( + 'Invalid ' + + location + + ' `' + + propFullName + + '` of type ' + + ('`' + + actualClassName + + '` supplied to `' + + componentName + + '`, expected ') + + ('instance of `' + expectedClassName + '`.') + ); + } + return null; + } + return createChainableTypeChecker(validate); + } + + function createEnumTypeChecker(expectedValues) { + if (!Array.isArray(expectedValues)) { + undefined !== 'production' + ? printWarning( + 'Invalid argument supplied to oneOf, expected an instance of array.' + ) + : void 0; + return emptyFunctionThatReturnsNull; + } + + function validate( + props, + propName, + componentName, + location, + propFullName + ) { + var propValue = props[propName]; + for (var i = 0; i < expectedValues.length; i++) { + if (is(propValue, expectedValues[i])) { + return null; + } + } + + var valuesString = JSON.stringify(expectedValues); + return new PropTypeError( + 'Invalid ' + + location + + ' `' + + propFullName + + '` of value `' + + propValue + + '` ' + + ('supplied to `' + + componentName + + '`, expected one of ' + + valuesString + + '.') ); - error.name = "Invariant Violation"; } + return createChainableTypeChecker(validate); + } - error.framesToPop = 1; // we don't care about invariant's own frame - throw error; + function createObjectOfTypeChecker(typeChecker) { + function validate( + props, + propName, + componentName, + location, + propFullName + ) { + if (typeof typeChecker !== 'function') { + return new PropTypeError( + 'Property `' + + propFullName + + '` of component `' + + componentName + + '` has invalid PropType notation inside objectOf.' + ); + } + var propValue = props[propName]; + var propType = getPropType(propValue); + if (propType !== 'object') { + return new PropTypeError( + 'Invalid ' + + location + + ' `' + + propFullName + + '` of type ' + + ('`' + + propType + + '` supplied to `' + + componentName + + '`, expected an object.') + ); + } + for (var key in propValue) { + if (propValue.hasOwnProperty(key)) { + var error = typeChecker( + propValue, + key, + componentName, + location, + propFullName + '.' + key, + ReactPropTypesSecret + ); + if (error instanceof Error) { + return error; + } + } + } + return null; + } + return createChainableTypeChecker(validate); } - } - module.exports = invariant; + function createUnionTypeChecker(arrayOfTypeCheckers) { + if (!Array.isArray(arrayOfTypeCheckers)) { + undefined !== 'production' + ? printWarning( + 'Invalid argument supplied to oneOfType, expected an instance of array.' + ) + : void 0; + return emptyFunctionThatReturnsNull; + } + + for (var i = 0; i < arrayOfTypeCheckers.length; i++) { + var checker = arrayOfTypeCheckers[i]; + if (typeof checker !== 'function') { + printWarning( + 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' + + 'received ' + + getPostfixForTypeWarning(checker) + + ' at index ' + + i + + '.' + ); + return emptyFunctionThatReturnsNull; + } + } + + function validate( + props, + propName, + componentName, + location, + propFullName + ) { + for (var i = 0; i < arrayOfTypeCheckers.length; i++) { + var checker = arrayOfTypeCheckers[i]; + if ( + checker( + props, + propName, + componentName, + location, + propFullName, + ReactPropTypesSecret + ) == null + ) { + return null; + } + } + + return new PropTypeError( + 'Invalid ' + + location + + ' `' + + propFullName + + '` supplied to ' + + ('`' + componentName + '`.') + ); + } + return createChainableTypeChecker(validate); + } + + function createNodeChecker() { + function validate( + props, + propName, + componentName, + location, + propFullName + ) { + if (!isNode(props[propName])) { + return new PropTypeError( + 'Invalid ' + + location + + ' `' + + propFullName + + '` supplied to ' + + ('`' + componentName + '`, expected a ReactNode.') + ); + } + return null; + } + return createChainableTypeChecker(validate); + } + + function createShapeTypeChecker(shapeTypes) { + function validate( + props, + propName, + componentName, + location, + propFullName + ) { + var propValue = props[propName]; + var propType = getPropType(propValue); + if (propType !== 'object') { + return new PropTypeError( + 'Invalid ' + + location + + ' `' + + propFullName + + '` of type `' + + propType + + '` ' + + ('supplied to `' + componentName + '`, expected `object`.') + ); + } + for (var key in shapeTypes) { + var checker = shapeTypes[key]; + if (!checker) { + continue; + } + var error = checker( + propValue, + key, + componentName, + location, + propFullName + '.' + key, + ReactPropTypesSecret + ); + if (error) { + return error; + } + } + return null; + } + return createChainableTypeChecker(validate); + } + + function createStrictShapeTypeChecker(shapeTypes) { + function validate( + props, + propName, + componentName, + location, + propFullName + ) { + var propValue = props[propName]; + var propType = getPropType(propValue); + if (propType !== 'object') { + return new PropTypeError( + 'Invalid ' + + location + + ' `' + + propFullName + + '` of type `' + + propType + + '` ' + + ('supplied to `' + componentName + '`, expected `object`.') + ); + } + // We need to check all keys in case some are required but missing from + // props. + var allKeys = assign({}, props[propName], shapeTypes); + for (var key in allKeys) { + var checker = shapeTypes[key]; + if (!checker) { + return new PropTypeError( + 'Invalid ' + + location + + ' `' + + propFullName + + '` key `' + + key + + '` supplied to `' + + componentName + + '`.' + + '\nBad object: ' + + JSON.stringify(props[propName], null, ' ') + + '\nValid keys: ' + + JSON.stringify(Object.keys(shapeTypes), null, ' ') + ); + } + var error = checker( + propValue, + key, + componentName, + location, + propFullName + '.' + key, + ReactPropTypesSecret + ); + if (error) { + return error; + } + } + return null; + } + + return createChainableTypeChecker(validate); + } + + function isNode(propValue) { + switch (typeof propValue) { + case 'number': + case 'string': + case 'undefined': + return true; + case 'boolean': + return !propValue; + case 'object': + if (Array.isArray(propValue)) { + return propValue.every(isNode); + } + if (propValue === null || isValidElement(propValue)) { + return true; + } + + var iteratorFn = getIteratorFn(propValue); + if (iteratorFn) { + var iterator = iteratorFn.call(propValue); + var step; + if (iteratorFn !== propValue.entries) { + while (!(step = iterator.next()).done) { + if (!isNode(step.value)) { + return false; + } + } + } else { + // Iterator will provide entry [k,v] tuples rather than values. + while (!(step = iterator.next()).done) { + var entry = step.value; + if (entry) { + if (!isNode(entry[1])) { + return false; + } + } + } + } + } else { + return false; + } + + return true; + default: + return false; + } + } + + function isSymbol(propType, propValue) { + // Native Symbol. + if (propType === 'symbol') { + return true; + } + + // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol' + if (propValue['@@toStringTag'] === 'Symbol') { + return true; + } + + // Fallback for non-spec compliant Symbols which are polyfilled. + if (typeof Symbol === 'function' && propValue instanceof Symbol) { + return true; + } + + return false; + } + + // Equivalent of `typeof` but with special handling for array and regexp. + function getPropType(propValue) { + var propType = typeof propValue; + if (Array.isArray(propValue)) { + return 'array'; + } + if (propValue instanceof RegExp) { + // Old webkits (at least until Android 4.0) return 'function' rather than + // 'object' for typeof a RegExp. We'll normalize this here so that /bla/ + // passes PropTypes.object. + return 'object'; + } + if (isSymbol(propType, propValue)) { + return 'symbol'; + } + return propType; + } + + // This handles more types than `getPropType`. Only used for error messages. + // See `createPrimitiveTypeChecker`. + function getPreciseType(propValue) { + if (typeof propValue === 'undefined' || propValue === null) { + return '' + propValue; + } + var propType = getPropType(propValue); + if (propType === 'object') { + if (propValue instanceof Date) { + return 'date'; + } else if (propValue instanceof RegExp) { + return 'regexp'; + } + } + return propType; + } + + // Returns a string that is postfixed to a warning about an invalid type. + // For example, "undefined" or "of type array" + function getPostfixForTypeWarning(value) { + var type = getPreciseType(value); + switch (type) { + case 'array': + case 'object': + return 'an ' + type; + case 'boolean': + case 'date': + case 'regexp': + return 'a ' + type; + default: + return type; + } + } + + // Returns class name of the object, if any. + function getClassName(propValue) { + if (!propValue.constructor || !propValue.constructor.name) { + return ANONYMOUS; + } + return propValue.constructor.name; + } + + ReactPropTypes.checkPropTypes = checkPropTypes; + ReactPropTypes.PropTypes = ReactPropTypes; + + return ReactPropTypes; + }; /***/ }, - /* 528 */ - /***/ function(module, exports) { + /* 537 */ + /***/ function(module, exports, __webpack_require__) { /** * Copyright (c) 2013-present, Facebook, Inc. * @@ -36152,17 +69691,71 @@ * LICENSE file in the root directory of this source tree. */ - "use strict"; + 'use strict'; - var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; + var ReactPropTypesSecret = __webpack_require__(333); - module.exports = ReactPropTypesSecret; + function emptyFunction() {} + + module.exports = function() { + function shim( + props, + propName, + componentName, + location, + propFullName, + secret + ) { + if (secret === ReactPropTypesSecret) { + // It is still safe when called from React. + return; + } + var err = new Error( + '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' + ); + err.name = 'Invariant Violation'; + throw err; + } + 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, + + any: shim, + arrayOf: getShim, + element: shim, + instanceOf: getShim, + node: shim, + objectOf: getShim, + oneOf: getShim, + oneOfType: getShim, + shape: getShim, + exact: getShim + }; + + ReactPropTypes.checkPropTypes = emptyFunction; + ReactPropTypes.PropTypes = ReactPropTypes; + + return ReactPropTypes; + }; /***/ }, - /* 529 */ + /* 538 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; @@ -36186,7 +69779,7 @@ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; + if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } @@ -36197,43 +69790,43 @@ }; })(); - var _year_dropdown = __webpack_require__(530); + var _year_dropdown = __webpack_require__(539); var _year_dropdown2 = _interopRequireDefault(_year_dropdown); - var _month_dropdown = __webpack_require__(657); + var _month_dropdown = __webpack_require__(626); var _month_dropdown2 = _interopRequireDefault(_month_dropdown); - var _month_year_dropdown = __webpack_require__(659); + var _month_year_dropdown = __webpack_require__(628); var _month_year_dropdown2 = _interopRequireDefault(_month_year_dropdown); - var _month = __webpack_require__(661); + var _month = __webpack_require__(630); var _month2 = _interopRequireDefault(_month); - var _time = __webpack_require__(665); + var _time = __webpack_require__(634); var _time2 = _interopRequireDefault(_time); - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(532); + var _classnames = __webpack_require__(541); var _classnames2 = _interopRequireDefault(_classnames); - var _calendar_container = __webpack_require__(524); + var _calendar_container = __webpack_require__(534); var _calendar_container2 = _interopRequireDefault(_calendar_container); - var _date_utils = __webpack_require__(534); + var _date_utils = __webpack_require__(542); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -36241,7 +69834,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -36251,15 +69844,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -36278,9 +69871,9 @@ } var DROPDOWN_FOCUS_CLASSNAMES = [ - "react-datepicker__year-select", - "react-datepicker__month-select", - "react-datepicker__month-year-select" + 'react-datepicker__year-select', + 'react-datepicker__month-select', + 'react-datepicker__month-year-select' ]; var isDropdownSelect = function isDropdownSelect() { @@ -36289,7 +69882,7 @@ ? arguments[0] : {}; - var classNames = (element.className || "").split(/\s+/); + var classNames = (element.className || '').split(/\s+/); return DROPDOWN_FOCUS_CLASSNAMES.some(function(testClassname) { return classNames.indexOf(testClassname) >= 0; }); @@ -36300,15 +69893,13 @@ _createClass(Calendar, null, [ { - key: "defaultProps", + key: 'defaultProps', get: function get() { return { onDropdownFocus: function onDropdownFocus() {}, monthsShown: 1, forceShowMonthNavigation: false, - timeCaption: "Time", - previousMonthButtonLabel: "Previous Month", - nextMonthButtonLabel: "Next Month" + timeCaption: 'Time' }; } } @@ -36336,12 +69927,11 @@ var _this$props = _this.props, preSelection = _this$props.preSelection, selected = _this$props.selected, - openToDate = _this$props.openToDate, - utcOffset = _this$props.utcOffset; + openToDate = _this$props.openToDate; var minDate = (0, _date_utils.getEffectiveMinDate)(_this.props); var maxDate = (0, _date_utils.getEffectiveMaxDate)(_this.props); - var current = (0, _date_utils.now)(utcOffset); + var current = (0, _date_utils.newDate)(); var initialDate = openToDate || selected || preSelection; if (initialDate) { return initialDate; @@ -36358,17 +69948,10 @@ return current; }; - _this.localizeDate = function(date) { - return (0, _date_utils.localizeDate)(date, _this.props.locale); - }; - _this.increaseMonth = function() { _this.setState( { - date: (0, _date_utils.addMonths)( - (0, _date_utils.cloneDate)(_this.state.date), - 1 - ) + date: (0, _date_utils.addMonths)(_this.state.date, 1) }, function() { return _this.handleMonthChange(_this.state.date); @@ -36379,10 +69962,7 @@ _this.decreaseMonth = function() { _this.setState( { - date: (0, _date_utils.subtractMonths)( - (0, _date_utils.cloneDate)(_this.state.date), - 1 - ) + date: (0, _date_utils.subMonths)(_this.state.date, 1) }, function() { return _this.handleMonthChange(_this.state.date); @@ -36430,10 +70010,7 @@ _this.changeYear = function(year) { _this.setState( { - date: (0, _date_utils.setYear)( - (0, _date_utils.cloneDate)(_this.state.date), - year - ) + date: (0, _date_utils.setYear)(_this.state.date, year) }, function() { return _this.handleYearChange(_this.state.date); @@ -36444,10 +70021,7 @@ _this.changeMonth = function(month) { _this.setState( { - date: (0, _date_utils.setMonth)( - (0, _date_utils.cloneDate)(_this.state.date), - month - ) + date: (0, _date_utils.setMonth)(_this.state.date, month) }, function() { return _this.handleMonthChange(_this.state.date); @@ -36460,7 +70034,7 @@ { date: (0, _date_utils.setYear)( (0, _date_utils.setMonth)( - (0, _date_utils.cloneDate)(_this.state.date), + _this.state.date, (0, _date_utils.getMonth)(monthYear) ), (0, _date_utils.getYear)(monthYear) @@ -36479,47 +70053,43 @@ : _this.state.date; var startOfWeek = (0, _date_utils.getStartOfWeek)( - (0, _date_utils.cloneDate)(date) + date, + _this.props.locale ); var dayNames = []; if (_this.props.showWeekNumbers) { dayNames.push( _react2.default.createElement( - "div", - { key: "W", className: "react-datepicker__day-name" }, - _this.props.weekLabel || "#" + 'div', + { key: 'W', className: 'react-datepicker__day-name' }, + _this.props.weekLabel || '#' ) ); } return dayNames.concat( [0, 1, 2, 3, 4, 5, 6].map(function(offset) { - var day = (0, _date_utils.addDays)( - (0, _date_utils.cloneDate)(startOfWeek), - offset - ); - var localeData = (0, _date_utils.getLocaleData)(day); - var weekDayName = _this.formatWeekday(localeData, day); - + var day = (0, _date_utils.addDays)(startOfWeek, offset); + var weekDayName = _this.formatWeekday(day, _this.props.locale); return _react2.default.createElement( - "div", - { key: offset, className: "react-datepicker__day-name" }, + 'div', + { key: offset, className: 'react-datepicker__day-name' }, weekDayName ); }) ); }; - _this.formatWeekday = function(localeData, day) { + _this.formatWeekday = function(day, locale) { if (_this.props.formatWeekDay) { return (0, _date_utils.getFormattedWeekdayInLocale)( - localeData, day, - _this.props.formatWeekDay + _this.props.formatWeekDay, + locale ); } return _this.props.useWeekdaysShort - ? (0, _date_utils.getWeekdayShortInLocale)(localeData, day) - : (0, _date_utils.getWeekdayMinInLocale)(localeData, day); + ? (0, _date_utils.getWeekdayShortInLocale)(day, locale) + : (0, _date_utils.getWeekdayMinInLocale)(day, locale); }; _this.renderPreviousMonthButton = function() { @@ -36527,9 +70097,8 @@ return; } - var allPrevDaysDisabled = (0, _date_utils.allDaysDisabledBefore)( + var allPrevDaysDisabled = (0, _date_utils.monthDisabledBefore)( _this.state.date, - "month", _this.props ); @@ -36543,8 +70112,8 @@ } var classes = [ - "react-datepicker__navigation", - "react-datepicker__navigation--previous" + 'react-datepicker__navigation', + 'react-datepicker__navigation--previous' ]; var clickHandler = _this.decreaseMonth; @@ -36553,15 +70122,15 @@ allPrevDaysDisabled && _this.props.showDisabledMonthNavigation ) { - classes.push("react-datepicker__navigation--previous--disabled"); + classes.push('react-datepicker__navigation--previous--disabled'); clickHandler = null; } return _react2.default.createElement( - "button", + 'button', { - type: "button", - className: classes.join(" "), + type: 'button', + className: classes.join(' '), onClick: clickHandler }, _this.props.previousMonthButtonLabel @@ -36573,9 +70142,8 @@ return; } - var allNextDaysDisabled = (0, _date_utils.allDaysDisabledAfter)( + var allNextDaysDisabled = (0, _date_utils.monthDisabledAfter)( _this.state.date, - "month", _this.props ); @@ -36589,15 +70157,15 @@ } var classes = [ - "react-datepicker__navigation", - "react-datepicker__navigation--next" + 'react-datepicker__navigation', + 'react-datepicker__navigation--next' ]; if (_this.props.showTimeSelect) { - classes.push("react-datepicker__navigation--next--with-time"); + classes.push('react-datepicker__navigation--next--with-time'); } if (_this.props.todayButton) { classes.push( - "react-datepicker__navigation--next--with-today-button" + 'react-datepicker__navigation--next--with-today-button' ); } @@ -36607,15 +70175,15 @@ allNextDaysDisabled && _this.props.showDisabledMonthNavigation ) { - classes.push("react-datepicker__navigation--next--disabled"); + classes.push('react-datepicker__navigation--next--disabled'); clickHandler = null; } return _react2.default.createElement( - "button", + 'button', { - type: "button", - className: classes.join(" "), + type: 'button', + className: classes.join(' '), onClick: clickHandler }, _this.props.nextMonthButtonLabel @@ -36628,23 +70196,27 @@ ? arguments[0] : _this.state.date; - var classes = ["react-datepicker__current-month"]; + var classes = ['react-datepicker__current-month']; if (_this.props.showYearDropdown) { - classes.push("react-datepicker__current-month--hasYearDropdown"); + classes.push('react-datepicker__current-month--hasYearDropdown'); } if (_this.props.showMonthDropdown) { - classes.push("react-datepicker__current-month--hasMonthDropdown"); + classes.push('react-datepicker__current-month--hasMonthDropdown'); } if (_this.props.showMonthYearDropdown) { classes.push( - "react-datepicker__current-month--hasMonthYearDropdown" + 'react-datepicker__current-month--hasMonthYearDropdown' ); } return _react2.default.createElement( - "div", - { className: classes.join(" ") }, - (0, _date_utils.formatDate)(date, _this.props.dateFormat) + 'div', + { className: classes.join(' ') }, + (0, _date_utils.formatDate)( + date, + _this.props.dateFormat, + _this.props.locale + ) ); }; @@ -36684,7 +70256,6 @@ return _react2.default.createElement(_month_dropdown2.default, { dropdownMode: _this.props.dropdownMode, locale: _this.props.locale, - dateFormat: _this.props.dateFormat, onChange: _this.changeMonth, month: (0, _date_utils.getMonth)(_this.state.date), useShortMonthInDropdown: _this.props.useShortMonthInDropdown @@ -36721,14 +70292,12 @@ return; } return _react2.default.createElement( - "div", + 'div', { - className: "react-datepicker__today-button", + className: 'react-datepicker__today-button', onClick: function onClick(e) { return _this.props.onSelect( - (0, _date_utils.getStartOfDate)( - (0, _date_utils.now)(_this.props.utcOffset) - ), + (0, _date_utils.getStartOfToday)(), e ); } @@ -36741,14 +70310,14 @@ var monthDate = _ref.monthDate, i = _ref.i; return _react2.default.createElement( - "div", - { className: "react-datepicker__header" }, + 'div', + { className: 'react-datepicker__header' }, _this.renderCurrentMonth(monthDate), _react2.default.createElement( - "div", + 'div', { className: - "react-datepicker__header__dropdown react-datepicker__header__dropdown--" + + 'react-datepicker__header__dropdown react-datepicker__header__dropdown--' + _this.props.dropdownMode, onFocus: _this.handleDropdownFocus }, @@ -36757,8 +70326,8 @@ _this.renderYearDropdown(i !== 0) ), _react2.default.createElement( - "div", - { className: "react-datepicker__day-names" }, + 'div', + { className: 'react-datepicker__day-names' }, _this.header(monthDate) ) ); @@ -36772,24 +70341,21 @@ return null; } - var prevMonthButtonDisabled = (0, - _date_utils.allDaysDisabledBefore)( + var prevMonthButtonDisabled = (0, _date_utils.monthDisabledBefore)( _this.state.date, - "month", _this.props ); - var nextMonthButtonDisabled = (0, _date_utils.allDaysDisabledAfter)( + var nextMonthButtonDisabled = (0, _date_utils.monthDisabledAfter)( _this.state.date, - "month", _this.props ); return _react2.default.createElement( - "div", + 'div', { className: - "react-datepicker__header react-datepicker__header--custom", + 'react-datepicker__header react-datepicker__header--custom', onFocus: _this.props.onDropdownFocus }, _this.props.renderCustomHeader( @@ -36803,8 +70369,8 @@ }) ), _react2.default.createElement( - "div", - { className: "react-datepicker__day-names" }, + 'div', + { className: 'react-datepicker__day-names' }, _this.header(monthDate) ) ); @@ -36817,20 +70383,17 @@ var monthList = []; for (var i = 0; i < _this.props.monthsShown; ++i) { - var monthDate = (0, _date_utils.addMonths)( - (0, _date_utils.cloneDate)(_this.state.date), - i - ); - var monthKey = "month-" + i; + var monthDate = (0, _date_utils.addMonths)(_this.state.date, i); + var monthKey = 'month-' + i; monthList.push( _react2.default.createElement( - "div", + 'div', { key: monthKey, ref: function ref(div) { _this.monthContainer = div; }, - className: "react-datepicker__month-container" + className: 'react-datepicker__month-container' }, _this.props.renderCustomHeader ? _this.renderCustomHeader({ monthDate: monthDate, i: i }) @@ -36843,6 +70406,7 @@ onMouseLeave: _this.handleMonthMouseLeave, onWeekSelect: _this.props.onWeekSelect, formatWeekNumber: _this.props.formatWeekNumber, + locale: _this.props.locale, minDate: _this.props.minDate, maxDate: _this.props.maxDate, excludeDates: _this.props.excludeDates, @@ -36860,7 +70424,8 @@ startDate: _this.props.startDate, endDate: _this.props.endDate, peekNextMonth: _this.props.peekNextMonth, - utcOffset: _this.props.utcOffset, + setOpen: _this.props.setOpen, + shouldCloseOnSelect: _this.props.shouldCloseOnSelect, renderDayContents: _this.props.renderDayContents, disabledKeyboardNavigation: _this.props.disabledKeyboardNavigation @@ -36898,7 +70463,7 @@ }; _this.state = { - date: _this.localizeDate(_this.getDateInView()), + date: _this.getDateInView(), selectingDate: null, monthContainer: null }; @@ -36930,7 +70495,7 @@ ) ) { this.setState({ - date: this.localizeDate(this.props.preSelection) + date: this.props.preSelection }); } else if ( this.props.openToDate && @@ -36940,7 +70505,7 @@ ) ) { this.setState({ - date: this.localizeDate(this.props.openToDate) + date: this.props.openToDate }); } }; @@ -36952,10 +70517,10 @@ Container, { className: (0, _classnames2.default)( - "react-datepicker", + 'react-datepicker', this.props.className, { - "react-datepicker--time-only": this.props.showTimeSelectOnly + 'react-datepicker--time-only': this.props.showTimeSelectOnly } ) }, @@ -36982,8 +70547,8 @@ ]).isRequired, dayClassName: _propTypes2.default.func, disabledKeyboardNavigation: _propTypes2.default.bool, - dropdownMode: _propTypes2.default.oneOf(["scroll", "select"]), - endDate: _propTypes2.default.object, + dropdownMode: _propTypes2.default.oneOf(['scroll', 'select']), + endDate: _propTypes2.default.instanceOf(Date), excludeDates: _propTypes2.default.array, filterDate: _propTypes2.default.func, fixedHeight: _propTypes2.default.bool, @@ -36994,8 +70559,8 @@ injectTimes: _propTypes2.default.array, inline: _propTypes2.default.bool, locale: _propTypes2.default.string, - maxDate: _propTypes2.default.object, - minDate: _propTypes2.default.object, + maxDate: _propTypes2.default.instanceOf(Date), + minDate: _propTypes2.default.instanceOf(Date), monthsShown: _propTypes2.default.number, onClickOutside: _propTypes2.default.func.isRequired, onMonthChange: _propTypes2.default.func, @@ -37009,34 +70574,31 @@ timeFormat: _propTypes2.default.string, timeIntervals: _propTypes2.default.number, onTimeChange: _propTypes2.default.func, - minTime: _propTypes2.default.object, - maxTime: _propTypes2.default.object, + minTime: _propTypes2.default.instanceOf(Date), + maxTime: _propTypes2.default.instanceOf(Date), excludeTimes: _propTypes2.default.array, timeCaption: _propTypes2.default.string, - openToDate: _propTypes2.default.object, + openToDate: _propTypes2.default.instanceOf(Date), peekNextMonth: _propTypes2.default.bool, scrollableYearDropdown: _propTypes2.default.bool, scrollableMonthYearDropdown: _propTypes2.default.bool, - preSelection: _propTypes2.default.object, - selected: _propTypes2.default.object, + preSelection: _propTypes2.default.instanceOf(Date), + selected: _propTypes2.default.instanceOf(Date), selectsEnd: _propTypes2.default.bool, selectsStart: _propTypes2.default.bool, showMonthDropdown: _propTypes2.default.bool, showMonthYearDropdown: _propTypes2.default.bool, showWeekNumbers: _propTypes2.default.bool, showYearDropdown: _propTypes2.default.bool, - startDate: _propTypes2.default.object, - todayButton: _propTypes2.default.node, + startDate: _propTypes2.default.instanceOf(Date), + todayButton: _propTypes2.default.string, useWeekdaysShort: _propTypes2.default.bool, formatWeekDay: _propTypes2.default.func, withPortal: _propTypes2.default.bool, - utcOffset: _propTypes2.default.oneOfType([ - _propTypes2.default.number, - _propTypes2.default.string - ]), weekLabel: _propTypes2.default.string, yearDropdownItemNumber: _propTypes2.default.number, setOpen: _propTypes2.default.func, + shouldCloseOnSelect: _propTypes2.default.bool, useShortMonthInDropdown: _propTypes2.default.bool, showDisabledMonthNavigation: _propTypes2.default.bool, previousMonthButtonLabel: _propTypes2.default.string, @@ -37048,31 +70610,31 @@ /***/ }, - /* 530 */ + /* 539 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); - var _year_dropdown_options = __webpack_require__(531); + var _year_dropdown_options = __webpack_require__(540); var _year_dropdown_options2 = _interopRequireDefault( _year_dropdown_options ); - var _reactOnclickoutside = __webpack_require__(533); + var _reactOnclickoutside = __webpack_require__(625); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - var _date_utils = __webpack_require__(534); + var _date_utils = __webpack_require__(542); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -37080,7 +70642,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -37090,15 +70652,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -37157,7 +70719,7 @@ for (var i = minYear; i <= maxYear; i++) { options.push( _react2.default.createElement( - "option", + 'option', { key: i, value: i }, i ) @@ -37170,10 +70732,10 @@ }), (_this.renderSelectMode = function() { return _react2.default.createElement( - "select", + 'select', { value: _this.props.year, - className: "react-datepicker__year-select", + className: 'react-datepicker__year-select', onChange: _this.onSelectChange }, _this.renderSelectOptions() @@ -37181,22 +70743,22 @@ }), (_this.renderReadView = function(visible) { return _react2.default.createElement( - "div", + 'div', { - key: "read", - style: { visibility: visible ? "visible" : "hidden" }, - className: "react-datepicker__year-read-view", + key: 'read', + style: { visibility: visible ? 'visible' : 'hidden' }, + className: 'react-datepicker__year-read-view', onClick: function onClick(event) { return _this.toggleDropdown(event); } }, - _react2.default.createElement("span", { - className: "react-datepicker__year-read-view--down-arrow" + _react2.default.createElement('span', { + className: 'react-datepicker__year-read-view--down-arrow' }), _react2.default.createElement( - "span", + 'span', { - className: "react-datepicker__year-read-view--selected-year" + className: 'react-datepicker__year-read-view--selected-year' }, _this.props.year ) @@ -37204,8 +70766,8 @@ }), (_this.renderDropdown = function() { return _react2.default.createElement(WrappedYearDropdownOptions, { - key: "dropdown", - ref: "options", + key: 'dropdown', + ref: 'options', year: _this.props.year, onChange: _this.onChange, onCancel: _this.toggleDropdown, @@ -37263,19 +70825,19 @@ YearDropdown.prototype.render = function render() { var renderedDropdown = void 0; switch (this.props.dropdownMode) { - case "scroll": + case 'scroll': renderedDropdown = this.renderScrollMode(); break; - case "select": + case 'select': renderedDropdown = this.renderSelectMode(); break; } return _react2.default.createElement( - "div", + 'div', { className: - "react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--" + + 'react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--' + this.props.dropdownMode }, renderedDropdown @@ -37287,15 +70849,15 @@ YearDropdown.propTypes = { adjustDateOnChange: _propTypes2.default.bool, - dropdownMode: _propTypes2.default.oneOf(["scroll", "select"]) + dropdownMode: _propTypes2.default.oneOf(['scroll', 'select']) .isRequired, - maxDate: _propTypes2.default.object, - minDate: _propTypes2.default.object, + maxDate: _propTypes2.default.instanceOf(Date), + minDate: _propTypes2.default.instanceOf(Date), onChange: _propTypes2.default.func.isRequired, scrollableYearDropdown: _propTypes2.default.bool, year: _propTypes2.default.number.isRequired, yearDropdownItemNumber: _propTypes2.default.number, - date: _propTypes2.default.object, + date: _propTypes2.default.instanceOf(Date), onSelect: _propTypes2.default.func, setOpen: _propTypes2.default.func }; @@ -37303,31 +70865,33 @@ /***/ }, - /* 531 */ + /* 540 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(532); + var _classnames = __webpack_require__(541); var _classnames2 = _interopRequireDefault(_classnames); + var _date_utils = __webpack_require__(542); + 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -37337,15 +70901,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -37370,11 +70934,11 @@ var isInRange = true; if (minDate) { - isInRange = minDate.year() <= newYear; + isInRange = (0, _date_utils.getYear)(minDate) <= newYear; } if (maxDate && isInRange) { - isInRange = maxDate.year() >= newYear; + isInRange = (0, _date_utils.getYear)(maxDate) >= newYear; } if (isInRange) { @@ -37400,32 +70964,32 @@ var selectedYear = _this.props.year; var options = _this.state.yearsList.map(function(year) { return _react2.default.createElement( - "div", + 'div', { className: selectedYear === year - ? "react-datepicker__year-option react-datepicker__year-option--selected_year" - : "react-datepicker__year-option", + ? 'react-datepicker__year-option react-datepicker__year-option--selected_year' + : 'react-datepicker__year-option', key: year, ref: year, onClick: _this.onChange.bind(_this, year) }, selectedYear === year ? _react2.default.createElement( - "span", - { className: "react-datepicker__year-option--selected" }, - "\u2713" + 'span', + { className: 'react-datepicker__year-option--selected' }, + '\u2713' ) - : "", + : '', year ); }); var minYear = _this.props.minDate - ? _this.props.minDate.year() + ? (0, _date_utils.getYear)(_this.props.minDate) : null; var maxYear = _this.props.maxDate - ? _this.props.maxDate.year() + ? (0, _date_utils.getYear)(_this.props.maxDate) : null; if ( @@ -37436,16 +71000,16 @@ ) { options.unshift( _react2.default.createElement( - "div", + 'div', { - className: "react-datepicker__year-option", - ref: "upcoming", - key: "upcoming", + className: 'react-datepicker__year-option', + ref: 'upcoming', + key: 'upcoming', onClick: _this.incrementYears }, - _react2.default.createElement("a", { + _react2.default.createElement('a', { className: - "react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming" + 'react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming' }) ) ); @@ -37459,16 +71023,16 @@ ) { options.push( _react2.default.createElement( - "div", + 'div', { - className: "react-datepicker__year-option", - ref: "previous", - key: "previous", + className: 'react-datepicker__year-option', + ref: 'previous', + key: 'previous', onClick: _this.decrementYears }, - _react2.default.createElement("a", { + _react2.default.createElement('a', { className: - "react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous" + 'react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous' }) ) ); @@ -37522,13 +71086,13 @@ YearDropdownOptions.prototype.render = function render() { var dropdownClass = (0, _classnames2.default)({ - "react-datepicker__year-dropdown": true, - "react-datepicker__year-dropdown--scrollable": this.props + 'react-datepicker__year-dropdown': true, + 'react-datepicker__year-dropdown--scrollable': this.props .scrollableYearDropdown }); return _react2.default.createElement( - "div", + 'div', { className: dropdownClass }, this.renderOptions() ); @@ -37538,8 +71102,8 @@ })(_react2.default.Component); YearDropdownOptions.propTypes = { - minDate: _propTypes2.default.object, - maxDate: _propTypes2.default.object, + minDate: _propTypes2.default.instanceOf(Date), + maxDate: _propTypes2.default.instanceOf(Date), onCancel: _propTypes2.default.func.isRequired, onChange: _propTypes2.default.func.isRequired, scrollableYearDropdown: _propTypes2.default.bool, @@ -37550,536 +71114,111 @@ /***/ }, - /* 532 */ + /* 541 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; /*! - Copyright (c) 2016 Jed Watson. + Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ /* global define */ (function() { - "use strict"; - - var hasOwn = {}.hasOwnProperty; - - function classNames() { - var classes = []; - - for (var i = 0; i < arguments.length; i++) { - var arg = arguments[i]; - if (!arg) continue; - - var argType = typeof arg; - - if (argType === "string" || argType === "number") { - classes.push(arg); - } else if (Array.isArray(arg)) { - classes.push(classNames.apply(null, arg)); - } else if (argType === "object") { - for (var key in arg) { - if (hasOwn.call(arg, key) && arg[key]) { - classes.push(key); - } - } - } - } - - return classes.join(" "); - } - - if (typeof module !== "undefined" && module.exports) { - module.exports = classNames; - } else if (true) { - // register as 'classnames', consistent with npm package name - !((__WEBPACK_AMD_DEFINE_ARRAY__ = []), - (__WEBPACK_AMD_DEFINE_RESULT__ = function() { - return classNames; - }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)), - __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && - (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); - } else { - window.classNames = classNames; - } - })(); - - /***/ - }, - /* 533 */ - /***/ function(module, exports, __webpack_require__) { - "use strict"; - - Object.defineProperty(exports, "__esModule", { value: true }); - - var react = __webpack_require__(327); - var reactDom = __webpack_require__(332); - - function _inheritsLoose(subClass, superClass) { - subClass.prototype = Object.create(superClass.prototype); - subClass.prototype.constructor = subClass; - subClass.__proto__ = superClass; - } - - function _objectWithoutProperties(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - - if (Object.getOwnPropertySymbols) { - var sourceSymbolKeys = Object.getOwnPropertySymbols(source); - - for (i = 0; i < sourceSymbolKeys.length; i++) { - key = sourceSymbolKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - if (!Object.prototype.propertyIsEnumerable.call(source, key)) - continue; - target[key] = source[key]; - } - } - - return target; - } - - /** - * Check whether some DOM node is our Component's node. - */ - function isNodeFound(current, componentNode, ignoreClass) { - if (current === componentNode) { - return true; - } // SVG elements do not technically reside in the rendered DOM, so - // they do not have classList directly, but they offer a link to their - // corresponding element, which can have classList. This extra check is for - // that case. - // See: http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGUseElement - // Discussion: https://github.com/Pomax/react-onclickoutside/pull/17 - - if (current.correspondingElement) { - return current.correspondingElement.classList.contains(ignoreClass); - } - - return current.classList.contains(ignoreClass); - } - /** - * Try to find our node in a hierarchy of nodes, returning the document - * node as highest node if our node is not found in the path up. - */ - - function findHighest(current, componentNode, ignoreClass) { - if (current === componentNode) { - return true; - } // If source=local then this event came from 'somewhere' - // inside and should be ignored. We could handle this with - // a layered approach, too, but that requires going back to - // thinking in terms of Dom node nesting, running counter - // to React's 'you shouldn't care about the DOM' philosophy. - - while (current.parentNode) { - if (isNodeFound(current, componentNode, ignoreClass)) { - return true; - } - - current = current.parentNode; - } - - return current; - } - /** - * Check if the browser scrollbar was clicked - */ - - function clickedScrollbar(evt) { - return ( - document.documentElement.clientWidth <= evt.clientX || - document.documentElement.clientHeight <= evt.clientY - ); - } - - // ideally will get replaced with external dep - // when rafrex/detect-passive-events#4 and rafrex/detect-passive-events#5 get merged in - var testPassiveEventSupport = function testPassiveEventSupport() { - if ( - typeof window === "undefined" || - typeof window.addEventListener !== "function" - ) { - return; - } - - var passive = false; - var options = Object.defineProperty({}, "passive", { - get: function get() { - passive = true; - } - }); - - var noop = function noop() {}; - - window.addEventListener("testPassiveEventSupport", noop, options); - window.removeEventListener("testPassiveEventSupport", noop, options); - return passive; - }; - - function autoInc(seed) { - if (seed === void 0) { - seed = 0; - } - - return function() { - return ++seed; - }; - } - - var uid = autoInc(); - - var passiveEventSupport; - var handlersMap = {}; - var enabledInstances = {}; - var touchEvents = ["touchstart", "touchmove"]; - var IGNORE_CLASS_NAME = "ignore-react-onclickoutside"; - /** - * Options for addEventHandler and removeEventHandler - */ + 'use strict'; - function getEventHandlerOptions(instance, eventName) { - var handlerOptions = null; - var isTouchEvent = touchEvents.indexOf(eventName) !== -1; - - if (isTouchEvent && passiveEventSupport) { - handlerOptions = { - passive: !instance.props.preventDefault - }; - } - - return handlerOptions; - } - /** - * This function generates the HOC function that you'll use - * in order to impart onOutsideClick listening to an - * arbitrary component. It gets called at the end of the - * bootstrapping code to yield an instance of the - * onClickOutsideHOC function defined inside setupHOC(). - */ - - function onClickOutsideHOC(WrappedComponent, config) { - var _class, _temp; - - return ( - (_temp = _class = - /*#__PURE__*/ - (function(_Component) { - _inheritsLoose(onClickOutside, _Component); - - function onClickOutside(props) { - var _this; - - _this = _Component.call(this, props) || this; - - _this.__outsideClickHandler = function(event) { - if (typeof _this.__clickOutsideHandlerProp === "function") { - _this.__clickOutsideHandlerProp(event); - - return; - } - - var instance = _this.getInstance(); - - if (typeof instance.props.handleClickOutside === "function") { - instance.props.handleClickOutside(event); - return; - } - - if (typeof instance.handleClickOutside === "function") { - instance.handleClickOutside(event); - return; - } - - throw new Error( - "WrappedComponent lacks a handleClickOutside(event) function for processing outside click events." - ); - }; - - _this.enableOnClickOutside = function() { - if ( - typeof document === "undefined" || - enabledInstances[_this._uid] - ) { - return; - } - - if (typeof passiveEventSupport === "undefined") { - passiveEventSupport = testPassiveEventSupport(); - } - - enabledInstances[_this._uid] = true; - var events = _this.props.eventTypes; - - if (!events.forEach) { - events = [events]; - } - - handlersMap[_this._uid] = function(event) { - if (_this.props.disableOnClickOutside) return; - if (_this.componentNode === null) return; - - if (_this.props.preventDefault) { - event.preventDefault(); - } - - if (_this.props.stopPropagation) { - event.stopPropagation(); - } - - if (_this.props.excludeScrollbar && clickedScrollbar(event)) - return; - var current = event.target; - - if ( - findHighest( - current, - _this.componentNode, - _this.props.outsideClickIgnoreClass - ) !== document - ) { - return; - } - - _this.__outsideClickHandler(event); - }; - - events.forEach(function(eventName) { - document.addEventListener( - eventName, - handlersMap[_this._uid], - getEventHandlerOptions(_this, eventName) - ); - }); - }; - - _this.disableOnClickOutside = function() { - delete enabledInstances[_this._uid]; - var fn = handlersMap[_this._uid]; - - if (fn && typeof document !== "undefined") { - var events = _this.props.eventTypes; - - if (!events.forEach) { - events = [events]; - } - - events.forEach(function(eventName) { - return document.removeEventListener( - eventName, - fn, - getEventHandlerOptions(_this, eventName) - ); - }); - delete handlersMap[_this._uid]; - } - }; - - _this.getRef = function(ref) { - return (_this.instanceRef = ref); - }; - - _this._uid = uid(); - return _this; - } - /** - * Access the WrappedComponent's instance. - */ - - var _proto = onClickOutside.prototype; - - _proto.getInstance = function getInstance() { - if (!WrappedComponent.prototype.isReactComponent) { - return this; - } - - var ref = this.instanceRef; - return ref.getInstance ? ref.getInstance() : ref; - }; - - /** - * Add click listeners to the current document, - * linked to this component's state. - */ - _proto.componentDidMount = function componentDidMount() { - // If we are in an environment without a DOM such - // as shallow rendering or snapshots then we exit - // early to prevent any unhandled errors being thrown. - if ( - typeof document === "undefined" || - !document.createElement - ) { - return; - } - - var instance = this.getInstance(); - - if (config && typeof config.handleClickOutside === "function") { - this.__clickOutsideHandlerProp = config.handleClickOutside( - instance - ); - - if (typeof this.__clickOutsideHandlerProp !== "function") { - throw new Error( - "WrappedComponent lacks a function for processing outside click events specified by the handleClickOutside config option." - ); - } - } - - this.componentNode = reactDom.findDOMNode(this.getInstance()); - this.enableOnClickOutside(); - }; + var hasOwn = {}.hasOwnProperty; - _proto.componentDidUpdate = function componentDidUpdate() { - this.componentNode = reactDom.findDOMNode(this.getInstance()); - }; - /** - * Remove all document's event listeners for this component - */ + function classNames() { + var classes = []; - _proto.componentWillUnmount = function componentWillUnmount() { - this.disableOnClickOutside(); - }; - /** - * Can be called to explicitly enable event listening - * for clicks and touches outside of this element. - */ + for (var i = 0; i < arguments.length; i++) { + var arg = arguments[i]; + if (!arg) continue; - /** - * Pass-through render - */ - _proto.render = function render() { - // eslint-disable-next-line no-unused-vars - var _props = this.props, - excludeScrollbar = _props.excludeScrollbar, - props = _objectWithoutProperties(_props, [ - "excludeScrollbar" - ]); + var argType = typeof arg; - if (WrappedComponent.prototype.isReactComponent) { - props.ref = this.getRef; - } else { - props.wrappedRef = this.getRef; + if (argType === 'string' || argType === 'number') { + classes.push(arg); + } else if (Array.isArray(arg) && arg.length) { + var inner = classNames.apply(null, arg); + if (inner) { + classes.push(inner); + } + } else if (argType === 'object') { + for (var key in arg) { + if (hasOwn.call(arg, key) && arg[key]) { + classes.push(key); } + } + } + } - props.disableOnClickOutside = this.disableOnClickOutside; - props.enableOnClickOutside = this.enableOnClickOutside; - return react.createElement(WrappedComponent, props); - }; - - return onClickOutside; - })(react.Component)), - (_class.displayName = - "OnClickOutside(" + - (WrappedComponent.displayName || - WrappedComponent.name || - "Component") + - ")"), - (_class.defaultProps = { - eventTypes: ["mousedown", "touchstart"], - excludeScrollbar: (config && config.excludeScrollbar) || false, - outsideClickIgnoreClass: IGNORE_CLASS_NAME, - preventDefault: false, - stopPropagation: false - }), - (_class.getClass = function() { - return WrappedComponent.getClass - ? WrappedComponent.getClass() - : WrappedComponent; - }), - _temp - ); - } + return classes.join(' '); + } - exports.IGNORE_CLASS_NAME = IGNORE_CLASS_NAME; - exports["default"] = onClickOutsideHOC; + if (typeof module !== 'undefined' && module.exports) { + classNames.default = classNames; + module.exports = classNames; + } else if (true) { + // register as 'classnames', consistent with npm package name + !((__WEBPACK_AMD_DEFINE_ARRAY__ = []), + (__WEBPACK_AMD_DEFINE_RESULT__ = function() { + return classNames; + }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)), + __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && + (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + } else { + window.classNames = classNames; + } + })(); /***/ }, - /* 534 */ + /* 542 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; + exports.isEqual = exports.isAfter = exports.isBefore = exports.subYears = exports.subMonths = exports.subWeeks = exports.subDays = exports.subHours = exports.subMinutes = exports.addYears = exports.addMonths = exports.addWeeks = exports.addDays = exports.addMinutes = exports.getTime = exports.getDate = exports.getDay = exports.getYear = exports.getMonth = exports.getHours = exports.getMinutes = exports.getSeconds = exports.setYear = exports.setMonth = exports.isDate = undefined; var _typeof = - typeof Symbol === "function" && typeof Symbol.iterator === "symbol" + typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function(obj) { return typeof obj; } : function(obj) { return obj && - typeof Symbol === "function" && + typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype - ? "symbol" + ? 'symbol' : typeof obj; }; exports.newDate = newDate; - exports.newDateWithOffset = newDateWithOffset; - exports.now = now; - exports.cloneDate = cloneDate; exports.parseDate = parseDate; - exports.isMoment = isMoment; - exports.isDate = isDate; + exports.isValid = isValid; exports.formatDate = formatDate; exports.safeDateFormat = safeDateFormat; exports.setTime = setTime; - exports.setMonth = setMonth; - exports.setYear = setYear; - exports.setUTCOffset = setUTCOffset; - exports.getSecond = getSecond; - exports.getMinute = getMinute; - exports.getHour = getHour; - exports.getDay = getDay; exports.getWeek = getWeek; - exports.getMonth = getMonth; - exports.getYear = getYear; - exports.getDate = getDate; - exports.getUTCOffset = getUTCOffset; exports.getDayOfWeekCode = getDayOfWeekCode; exports.getStartOfDay = getStartOfDay; exports.getStartOfWeek = getStartOfWeek; exports.getStartOfMonth = getStartOfMonth; - exports.getStartOfDate = getStartOfDate; + exports.getStartOfToday = getStartOfToday; exports.getEndOfWeek = getEndOfWeek; exports.getEndOfMonth = getEndOfMonth; - exports.addMinutes = addMinutes; - exports.addHours = addHours; - exports.addDays = addDays; - exports.addWeeks = addWeeks; - exports.addMonths = addMonths; - exports.addYears = addYears; - exports.subtractDays = subtractDays; - exports.subtractWeeks = subtractWeeks; - exports.subtractMonths = subtractMonths; - exports.subtractYears = subtractYears; - exports.isBefore = isBefore; - exports.isAfter = isAfter; - exports.equals = equals; exports.isSameYear = isSameYear; exports.isSameMonth = isSameMonth; exports.isSameDay = isSameDay; - exports.isSameUtcOffset = isSameUtcOffset; exports.isDayInRange = isDayInRange; exports.getDaysDiff = getDaysDiff; - exports.localizeDate = localizeDate; - exports.getDefaultLocale = getDefaultLocale; - exports.getDefaultLocaleData = getDefaultLocaleData; exports.registerLocale = registerLocale; - exports.getLocaleData = getLocaleData; - exports.getLocaleDataForLocale = getLocaleDataForLocale; + exports.setDefaultLocale = setDefaultLocale; + exports.getDefaultLocale = getDefaultLocale; + exports.getLocaleObject = getLocaleObject; exports.getFormattedWeekdayInLocale = getFormattedWeekdayInLocale; exports.getWeekdayMinInLocale = getWeekdayMinInLocale; exports.getWeekdayShortInLocale = getWeekdayShortInLocale; @@ -38089,18883 +71228,9957 @@ exports.isOutOfBounds = isOutOfBounds; exports.isTimeDisabled = isTimeDisabled; exports.isTimeInDisabledRange = isTimeInDisabledRange; - exports.allDaysDisabledBefore = allDaysDisabledBefore; - exports.allDaysDisabledAfter = allDaysDisabledAfter; + exports.monthDisabledBefore = monthDisabledBefore; + exports.monthDisabledAfter = monthDisabledAfter; exports.getEffectiveMinDate = getEffectiveMinDate; exports.getEffectiveMaxDate = getEffectiveMaxDate; exports.getHightLightDaysMap = getHightLightDaysMap; exports.timesToInjectAfter = timesToInjectAfter; - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - - var dayOfWeekCodes = { - 1: "mon", - 2: "tue", - 3: "wed", - 4: "thu", - 5: "fri", - 6: "sat", - 7: "sun" - }; - - // These functions are not exported so - // that we avoid magic strings like 'days' - function set(date, unit, to) { - return date.set(unit, to); - } - - function add(date, amount, unit) { - return date.add(amount, unit); - } - - function subtract(date, amount, unit) { - return date.subtract(amount, unit); - } - - function get(date, unit) { - return date.get(unit); - } - - function getStartOf(date, unit) { - return date.startOf(unit); - } - - function getEndOf(date, unit) { - return date.endOf(unit); - } - - function getDiff(date1, date2, unit) { - return date1.diff(date2, unit); - } - - // ** Date Constructors ** - - function newDate(point) { - return (0, _moment2.default)(point); - } - - function newDateWithOffset(utcOffset) { - return (0, _moment2.default)() - .utc() - .utcOffset(utcOffset); - } - - function now(maybeFixedUtcOffset) { - if (maybeFixedUtcOffset == null) { - return newDate(); - } - return newDateWithOffset(maybeFixedUtcOffset); - } - - function cloneDate(date) { - return date.clone(); - } - - function parseDate(value, _ref) { - var dateFormat = _ref.dateFormat, - locale = _ref.locale; - - var m = (0, _moment2.default)( - value, - dateFormat, - locale || _moment2.default.locale(), - true - ); - return m.isValid() ? m : null; - } - - // ** Date "Reflection" ** - - function isMoment(date) { - return _moment2.default.isMoment(date); - } - - function isDate(date) { - return _moment2.default.isDate(date); - } - - // ** Date Formatting ** - - function formatDate(date, format) { - return date.format(format); - } - - function safeDateFormat(date, _ref2) { - var dateFormat = _ref2.dateFormat, - locale = _ref2.locale; - - return ( - (date && - date - .clone() - .locale(locale || _moment2.default.locale()) - .format( - Array.isArray(dateFormat) ? dateFormat[0] : dateFormat - )) || - "" - ); - } - - // ** Date Setters ** - - function setTime(date, _ref3) { - var hour = _ref3.hour, - minute = _ref3.minute, - second = _ref3.second; - - date.set({ hour: hour, minute: minute, second: second }); - return date; - } - - function setMonth(date, month) { - return set(date, "month", month); - } - - function setYear(date, year) { - return set(date, "year", year); - } - - function setUTCOffset(date, offset) { - return date.utcOffset(offset); - } - - // ** Date Getters ** - - function getSecond(date) { - return get(date, "second"); - } - - function getMinute(date) { - return get(date, "minute"); - } - - function getHour(date) { - return get(date, "hour"); - } - - // Returns day of week - function getDay(date) { - return get(date, "day"); - } - - function getWeek(date) { - return get(date, "week"); - } - - function getMonth(date) { - return get(date, "month"); - } - - function getYear(date) { - return get(date, "year"); - } - - // Returns day of month - function getDate(date) { - return get(date, "date"); - } - - function getUTCOffset() { - return (0, _moment2.default)().utcOffset(); - } - - function getDayOfWeekCode(day) { - return dayOfWeekCodes[day.isoWeekday()]; - } - - // *** Start of *** - - function getStartOfDay(date) { - return getStartOf(date, "day"); - } - - function getStartOfWeek(date) { - return getStartOf(date, "week"); - } - function getStartOfMonth(date) { - return getStartOf(date, "month"); - } - - function getStartOfDate(date) { - return getStartOf(date, "date"); - } - - // *** End of *** - - function getEndOfWeek(date) { - return getEndOf(date, "week"); - } - - function getEndOfMonth(date) { - return getEndOf(date, "month"); - } - - // ** Date Math ** - - // *** Addition *** - - function addMinutes(date, amount) { - return add(date, amount, "minutes"); - } - - function addHours(date, amount) { - return add(date, amount, "hours"); - } - - function addDays(date, amount) { - return add(date, amount, "days"); - } - - function addWeeks(date, amount) { - return add(date, amount, "weeks"); - } - - function addMonths(date, amount) { - return add(date, amount, "months"); - } - - function addYears(date, amount) { - return add(date, amount, "years"); - } - - // *** Subtraction *** - function subtractDays(date, amount) { - return subtract(date, amount, "days"); - } - - function subtractWeeks(date, amount) { - return subtract(date, amount, "weeks"); - } - - function subtractMonths(date, amount) { - return subtract(date, amount, "months"); - } - - function subtractYears(date, amount) { - return subtract(date, amount, "years"); - } - - // ** Date Comparison ** - - function isBefore(date1, date2) { - return date1.isBefore(date2); - } - - function isAfter(date1, date2) { - return date1.isAfter(date2); - } - - function equals(date1, date2) { - return date1.isSame(date2); - } - - function isSameYear(date1, date2) { - if (date1 && date2) { - return date1.isSame(date2, "year"); - } else { - return !date1 && !date2; - } - } - - function isSameMonth(date1, date2) { - if (date1 && date2) { - return date1.isSame(date2, "month"); - } else { - return !date1 && !date2; - } - } - - function isSameDay(moment1, moment2) { - if (moment1 && moment2) { - return moment1.isSame(moment2, "day"); - } else { - return !moment1 && !moment2; - } - } - - function isSameUtcOffset(moment1, moment2) { - if (moment1 && moment2) { - return moment1.utcOffset() === moment2.utcOffset(); - } else { - return !moment1 && !moment2; - } - } - - function isDayInRange(day, startDate, endDate) { - var before = startDate - .clone() - .startOf("day") - .subtract(1, "seconds"); - var after = endDate - .clone() - .startOf("day") - .add(1, "seconds"); - return day - .clone() - .startOf("day") - .isBetween(before, after); - } - - // *** Diffing *** - - function getDaysDiff(date1, date2) { - return getDiff(date1, date2, "days"); - } - - // ** Date Localization ** - - function localizeDate(date, locale) { - return date.clone().locale(locale || _moment2.default.locale()); - } - - function getDefaultLocale() { - return _moment2.default.locale(); - } - - function getDefaultLocaleData() { - return _moment2.default.localeData(); - } - - function registerLocale(localeName, localeData) { - _moment2.default.defineLocale(localeName, localeData); - } - - function getLocaleData(date) { - return date.localeData(); - } + var _isDate = __webpack_require__(543); - function getLocaleDataForLocale(locale) { - return _moment2.default.localeData(locale); - } - - function getFormattedWeekdayInLocale(locale, date, formatFunc) { - return formatFunc(locale.weekdays(date)); - } - - function getWeekdayMinInLocale(locale, date) { - return locale.weekdaysMin(date); - } + var _isDate2 = _interopRequireDefault(_isDate); - function getWeekdayShortInLocale(locale, date) { - return locale.weekdaysShort(date); - } + var _isValid = __webpack_require__(544); - // TODO what is this format exactly? - function getMonthInLocale(locale, date, format) { - return locale.months(date, format); - } + var _isValid2 = _interopRequireDefault(_isValid); - function getMonthShortInLocale(locale, date) { - return locale.monthsShort(date); - } + var _format = __webpack_require__(548); - // ** Utils for some components ** + var _format2 = _interopRequireDefault(_format); - function isDayDisabled(day) { - var _ref4 = - arguments.length > 1 && arguments[1] !== undefined - ? arguments[1] - : {}, - minDate = _ref4.minDate, - maxDate = _ref4.maxDate, - excludeDates = _ref4.excludeDates, - includeDates = _ref4.includeDates, - filterDate = _ref4.filterDate; + var _addMinutes = __webpack_require__(573); - return ( - (minDate && day.isBefore(minDate, "day")) || - (maxDate && day.isAfter(maxDate, "day")) || - (excludeDates && - excludeDates.some(function(excludeDate) { - return isSameDay(day, excludeDate); - })) || - (includeDates && - !includeDates.some(function(includeDate) { - return isSameDay(day, includeDate); - })) || - (filterDate && !filterDate(day.clone())) || - false - ); - } + var _addMinutes2 = _interopRequireDefault(_addMinutes); - function isOutOfBounds(day) { - var _ref5 = - arguments.length > 1 && arguments[1] !== undefined - ? arguments[1] - : {}, - minDate = _ref5.minDate, - maxDate = _ref5.maxDate; + var _addHours = __webpack_require__(574); - return ( - (minDate && day.isBefore(minDate, "day")) || - (maxDate && day.isAfter(maxDate, "day")) - ); - } + var _addHours2 = _interopRequireDefault(_addHours); - function isTimeDisabled(time, disabledTimes) { - var l = disabledTimes.length; - for (var i = 0; i < l; i++) { - if ( - disabledTimes[i].get("hours") === time.get("hours") && - disabledTimes[i].get("minutes") === time.get("minutes") - ) { - return true; - } - } + var _addDays = __webpack_require__(575); - return false; - } + var _addDays2 = _interopRequireDefault(_addDays); - function isTimeInDisabledRange(time, _ref6) { - var minTime = _ref6.minTime, - maxTime = _ref6.maxTime; + var _addWeeks = __webpack_require__(576); - if (!minTime || !maxTime) { - throw new Error("Both minTime and maxTime props required"); - } - - var base = (0, _moment2.default)() - .hours(0) - .minutes(0) - .seconds(0); - var baseTime = base - .clone() - .hours(time.get("hours")) - .minutes(time.get("minutes")); - var min = base - .clone() - .hours(minTime.get("hours")) - .minutes(minTime.get("minutes")); - var max = base - .clone() - .hours(maxTime.get("hours")) - .minutes(maxTime.get("minutes")); - - return !(baseTime.isSameOrAfter(min) && baseTime.isSameOrBefore(max)); - } - - function allDaysDisabledBefore(day, unit) { - var _ref7 = - arguments.length > 2 && arguments[2] !== undefined - ? arguments[2] - : {}, - minDate = _ref7.minDate, - includeDates = _ref7.includeDates; + var _addWeeks2 = _interopRequireDefault(_addWeeks); - var dateBefore = day.clone().subtract(1, unit); - return ( - (minDate && dateBefore.isBefore(minDate, unit)) || - (includeDates && - includeDates.every(function(includeDate) { - return dateBefore.isBefore(includeDate, unit); - })) || - false - ); - } + var _addMonths = __webpack_require__(577); - function allDaysDisabledAfter(day, unit) { - var _ref8 = - arguments.length > 2 && arguments[2] !== undefined - ? arguments[2] - : {}, - maxDate = _ref8.maxDate, - includeDates = _ref8.includeDates; + var _addMonths2 = _interopRequireDefault(_addMonths); - var dateAfter = day.clone().add(1, unit); - return ( - (maxDate && dateAfter.isAfter(maxDate, unit)) || - (includeDates && - includeDates.every(function(includeDate) { - return dateAfter.isAfter(includeDate, unit); - })) || - false - ); - } + var _addYears = __webpack_require__(579); - function getEffectiveMinDate(_ref9) { - var minDate = _ref9.minDate, - includeDates = _ref9.includeDates; + var _addYears2 = _interopRequireDefault(_addYears); - if (includeDates && minDate) { - return _moment2.default.min( - includeDates.filter(function(includeDate) { - return minDate.isSameOrBefore(includeDate, "day"); - }) - ); - } else if (includeDates) { - return _moment2.default.min(includeDates); - } else { - return minDate; - } - } + var _subMinutes = __webpack_require__(580); - function getEffectiveMaxDate(_ref10) { - var maxDate = _ref10.maxDate, - includeDates = _ref10.includeDates; + var _subMinutes2 = _interopRequireDefault(_subMinutes); - if (includeDates && maxDate) { - return _moment2.default.max( - includeDates.filter(function(includeDate) { - return maxDate.isSameOrAfter(includeDate, "day"); - }) - ); - } else if (includeDates) { - return _moment2.default.max(includeDates); - } else { - return maxDate; - } - } + var _subHours = __webpack_require__(581); - function getHightLightDaysMap() { - var highlightDates = - arguments.length > 0 && arguments[0] !== undefined - ? arguments[0] - : []; - var defaultClassName = - arguments.length > 1 && arguments[1] !== undefined - ? arguments[1] - : "react-datepicker__day--highlighted"; + var _subHours2 = _interopRequireDefault(_subHours); - var dateClasses = new Map(); - for (var i = 0, len = highlightDates.length; i < len; i++) { - var obj = highlightDates[i]; - if (isMoment(obj)) { - var key = obj.format("MM.DD.YYYY"); - var classNamesArr = dateClasses.get(key) || []; - if (!classNamesArr.includes(defaultClassName)) { - classNamesArr.push(defaultClassName); - dateClasses.set(key, classNamesArr); - } - } else if ( - (typeof obj === "undefined" ? "undefined" : _typeof(obj)) === - "object" - ) { - var keys = Object.keys(obj); - var className = keys[0]; - var arrOfMoments = obj[keys[0]]; - if ( - typeof className === "string" && - arrOfMoments.constructor === Array - ) { - for (var k = 0, _len = arrOfMoments.length; k < _len; k++) { - var _key = arrOfMoments[k].format("MM.DD.YYYY"); - var _classNamesArr = dateClasses.get(_key) || []; - if (!_classNamesArr.includes(className)) { - _classNamesArr.push(className); - dateClasses.set(_key, _classNamesArr); - } - } - } - } - } + var _subDays = __webpack_require__(582); - return dateClasses; - } + var _subDays2 = _interopRequireDefault(_subDays); - function timesToInjectAfter( - startOfDay, - currentTime, - currentMultiplier, - intervals, - injectedTimes - ) { - var l = injectedTimes.length; - var times = []; - for (var i = 0; i < l; i++) { - var injectedTime = addMinutes( - addHours(cloneDate(startOfDay), getHour(injectedTimes[i])), - getMinute(injectedTimes[i]) - ); - var nextTime = addMinutes( - cloneDate(startOfDay), - (currentMultiplier + 1) * intervals - ); + var _subWeeks = __webpack_require__(583); - if (injectedTime.isBetween(currentTime, nextTime)) { - times.push(injectedTimes[i]); - } - } + var _subWeeks2 = _interopRequireDefault(_subWeeks); - return times; - } + var _subMonths = __webpack_require__(584); - /***/ - }, - /* 535 */ - /***/ function(module, exports, __webpack_require__) { - var require; - /* WEBPACK VAR INJECTION */ (function(module) { - //! moment.js - //! version : 2.20.1 - //! authors : Tim Wood, Iskren Chernev, Moment.js contributors - //! license : MIT - //! momentjs.com + var _subMonths2 = _interopRequireDefault(_subMonths); - (function(global, factory) { - true - ? (module.exports = factory()) - : typeof define === "function" && define.amd - ? define(factory) - : (global.moment = factory()); - })(this, function() { - "use strict"; + var _subYears = __webpack_require__(585); - var hookCallback; + var _subYears2 = _interopRequireDefault(_subYears); - function hooks() { - return hookCallback.apply(null, arguments); - } + var _getSeconds = __webpack_require__(586); - // This is done to register the method called with moment() - // without creating circular dependencies. - function setHookCallback(callback) { - hookCallback = callback; - } + var _getSeconds2 = _interopRequireDefault(_getSeconds); - function isArray(input) { - return ( - input instanceof Array || - Object.prototype.toString.call(input) === "[object Array]" - ); - } + var _getMinutes = __webpack_require__(587); - 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]" - ); - } + var _getMinutes2 = _interopRequireDefault(_getMinutes); - function isObjectEmpty(obj) { - if (Object.getOwnPropertyNames) { - return Object.getOwnPropertyNames(obj).length === 0; - } else { - var k; - for (k in obj) { - if (obj.hasOwnProperty(k)) { - return false; - } - } - return true; - } - } + var _getHours = __webpack_require__(588); - function isUndefined(input) { - return input === void 0; - } + var _getHours2 = _interopRequireDefault(_getHours); - function isNumber(input) { - return ( - typeof input === "number" || - Object.prototype.toString.call(input) === "[object Number]" - ); - } + var _getDay = __webpack_require__(589); - function isDate(input) { - return ( - input instanceof Date || - Object.prototype.toString.call(input) === "[object Date]" - ); - } + var _getDay2 = _interopRequireDefault(_getDay); - function map(arr, fn) { - var res = [], - i; - for (i = 0; i < arr.length; ++i) { - res.push(fn(arr[i], i)); - } - return res; - } + var _getDate = __webpack_require__(590); - function hasOwnProp(a, b) { - return Object.prototype.hasOwnProperty.call(a, b); - } + var _getDate2 = _interopRequireDefault(_getDate); - function extend(a, b) { - for (var i in b) { - if (hasOwnProp(b, i)) { - a[i] = b[i]; - } - } + var _getMonth = __webpack_require__(591); - if (hasOwnProp(b, "toString")) { - a.toString = b.toString; - } + var _getMonth2 = _interopRequireDefault(_getMonth); - if (hasOwnProp(b, "valueOf")) { - a.valueOf = b.valueOf; - } + var _getYear = __webpack_require__(592); - return a; - } + var _getYear2 = _interopRequireDefault(_getYear); - function createUTC(input, format, locale, strict) { - return createLocalOrUTC(input, format, locale, strict, true).utc(); - } + var _getTime = __webpack_require__(593); - 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 - }; - } + var _getTime2 = _interopRequireDefault(_getTime); - function getParsingFlags(m) { - if (m._pf == null) { - m._pf = defaultParsingFlags(); - } - return m._pf; - } + var _setSeconds = __webpack_require__(594); - var some; - if (Array.prototype.some) { - some = Array.prototype.some; - } else { - some = function(fun) { - var t = Object(this); - var len = t.length >>> 0; + var _setSeconds2 = _interopRequireDefault(_setSeconds); - for (var i = 0; i < len; i++) { - if (i in t && fun.call(this, t[i], i, t)) { - return true; - } - } + var _setMinutes = __webpack_require__(595); - return false; - }; - } + var _setMinutes2 = _interopRequireDefault(_setMinutes); - function 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.weekdayMismatch && - !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; - } - } - return m._isValid; - } + var _setHours = __webpack_require__(596); - function createInvalid(flags) { - var m = createUTC(NaN); - if (flags != null) { - extend(getParsingFlags(m), flags); - } else { - getParsingFlags(m).userInvalidated = true; - } + var _setHours2 = _interopRequireDefault(_setHours); - return m; - } + var _setMonth = __webpack_require__(597); - // Plugins that add properties should also add the key here (null value), - // so we can properly clone ourselves. - var momentProperties = (hooks.momentProperties = []); + var _setMonth2 = _interopRequireDefault(_setMonth); - function copyConfig(to, from) { - var i, prop, val; + var _setYear = __webpack_require__(598); - 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; - } + var _setYear2 = _interopRequireDefault(_setYear); - if (momentProperties.length > 0) { - for (i = 0; i < momentProperties.length; i++) { - prop = momentProperties[i]; - val = from[prop]; - if (!isUndefined(val)) { - to[prop] = val; - } - } - } + var _min = __webpack_require__(599); - return to; - } + var _min2 = _interopRequireDefault(_min); - var updateInProgress = false; + var _max = __webpack_require__(600); - // 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); - } - // Prevent infinite loop in case updateOffset creates new moment - // objects. - if (updateInProgress === false) { - updateInProgress = true; - hooks.updateOffset(this); - updateInProgress = false; - } - } + var _max2 = _interopRequireDefault(_max); - function isMoment(obj) { - return ( - obj instanceof Moment || - (obj != null && obj._isAMomentObject != null) - ); - } + var _differenceInCalendarDays = __webpack_require__(601); - function absFloor(number) { - if (number < 0) { - // -0 -> 0 - return Math.ceil(number) || 0; - } else { - return Math.floor(number); - } - } + var _differenceInCalendarDays2 = _interopRequireDefault( + _differenceInCalendarDays + ); - function toInt(argumentForCoercion) { - var coercedNumber = +argumentForCoercion, - value = 0; + var _differenceInCalendarMonths = __webpack_require__(603); - if (coercedNumber !== 0 && isFinite(coercedNumber)) { - value = absFloor(coercedNumber); - } + var _differenceInCalendarMonths2 = _interopRequireDefault( + _differenceInCalendarMonths + ); - return value; - } + var _differenceInCalendarWeeks = __webpack_require__(604); - // 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; - } + var _differenceInCalendarWeeks2 = _interopRequireDefault( + _differenceInCalendarWeeks + ); - function warn(msg) { - if ( - hooks.suppressDeprecationWarnings === false && - typeof console !== "undefined" && - console.warn - ) { - console.warn("Deprecation warning: " + msg); - } - } + var _setDayOfYear = __webpack_require__(606); - function deprecate(msg, fn) { - var firstTime = true; + var _setDayOfYear2 = _interopRequireDefault(_setDayOfYear); - 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] + ", "; - } - arg = arg.slice(0, -2); // Remove trailing comma and space - } else { - arg = arguments[i]; - } - args.push(arg); - } - warn( - msg + - "\nArguments: " + - Array.prototype.slice.call(args).join("") + - "\n" + - new Error().stack - ); - firstTime = false; - } - return fn.apply(this, arguments); - }, fn); - } + var _startOfDay = __webpack_require__(602); - var deprecations = {}; + var _startOfDay2 = _interopRequireDefault(_startOfDay); - function deprecateSimple(name, msg) { - if (hooks.deprecationHandler != null) { - hooks.deprecationHandler(name, msg); - } - if (!deprecations[name]) { - warn(msg); - deprecations[name] = true; - } - } + var _startOfWeek = __webpack_require__(605); - hooks.suppressDeprecationWarnings = false; - hooks.deprecationHandler = null; + var _startOfWeek2 = _interopRequireDefault(_startOfWeek); - function isFunction(input) { - return ( - input instanceof Function || - Object.prototype.toString.call(input) === "[object Function]" - ); - } + var _startOfMonth = __webpack_require__(607); - 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 - ); - } + var _startOfMonth2 = _interopRequireDefault(_startOfMonth); - 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]); - } - } - return res; - } + var _startOfYear = __webpack_require__(608); - function Locale(config) { - if (config != null) { - this.set(config); - } - } + var _startOfYear2 = _interopRequireDefault(_startOfYear); - var keys; + var _endOfWeek = __webpack_require__(609); - 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 _endOfWeek2 = _interopRequireDefault(_endOfWeek); - 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" - }; + var _endOfMonth = __webpack_require__(610); - function calendar(key, mom, now) { - var output = this._calendar[key] || this._calendar["sameElse"]; - return isFunction(output) ? output.call(mom, now) : output; - } + var _endOfMonth2 = _interopRequireDefault(_endOfMonth); - 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 _isEqual = __webpack_require__(611); - function longDateFormat(key) { - var format = this._longDateFormat[key], - formatUpper = this._longDateFormat[key.toUpperCase()]; + var _isEqual2 = _interopRequireDefault(_isEqual); - if (format || !formatUpper) { - return format; - } + var _isSameWeek = __webpack_require__(612); - this._longDateFormat[key] = formatUpper.replace( - /MMMM|MM|DD|dddd/g, - function(val) { - return val.slice(1); - } - ); + var _isSameWeek2 = _interopRequireDefault(_isSameWeek); - return this._longDateFormat[key]; - } + var _isSameDay = __webpack_require__(613); - var defaultInvalidDate = "Invalid date"; + var _isSameDay2 = _interopRequireDefault(_isSameDay); - function invalidDate() { - return this._invalidDate; - } + var _isSameMonth = __webpack_require__(614); - var defaultOrdinal = "%d"; - var defaultDayOfMonthOrdinalParse = /\d{1,2}/; + var _isSameMonth2 = _interopRequireDefault(_isSameMonth); - function ordinal(number) { - return this._ordinal.replace("%d", number); - } + var _isSameYear = __webpack_require__(615); - 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 _isSameYear2 = _interopRequireDefault(_isSameYear); - function relativeTime(number, withoutSuffix, string, isFuture) { - var output = this._relativeTime[string]; - return isFunction(output) - ? output(number, withoutSuffix, string, isFuture) - : output.replace(/%d/i, number); - } + var _isAfter = __webpack_require__(616); - function pastFuture(diff, output) { - var format = this._relativeTime[diff > 0 ? "future" : "past"]; - return isFunction(format) - ? format(output) - : format.replace(/%s/i, output); - } + var _isAfter2 = _interopRequireDefault(_isAfter); - var aliases = {}; + var _isBefore = __webpack_require__(617); - function addUnitAlias(unit, shorthand) { - var lowerCase = unit.toLowerCase(); - aliases[lowerCase] = aliases[lowerCase + "s"] = aliases[ - shorthand - ] = unit; - } + var _isBefore2 = _interopRequireDefault(_isBefore); - function normalizeUnits(units) { - return typeof units === "string" - ? aliases[units] || aliases[units.toLowerCase()] - : undefined; - } + var _isWithinInterval = __webpack_require__(618); - function normalizeObjectUnits(inputObject) { - var normalizedInput = {}, - normalizedProp, - prop; + var _isWithinInterval2 = _interopRequireDefault(_isWithinInterval); - for (prop in inputObject) { - if (hasOwnProp(inputObject, prop)) { - normalizedProp = normalizeUnits(prop); - if (normalizedProp) { - normalizedInput[normalizedProp] = inputObject[prop]; - } - } - } + var _toDate = __webpack_require__(545); - return normalizedInput; - } + var _toDate2 = _interopRequireDefault(_toDate); - var priorities = {}; + var _parse = __webpack_require__(619); - function addUnitPriority(unit, priority) { - priorities[unit] = priority; - } + var _parse2 = _interopRequireDefault(_parse); - 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 _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - 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 + // ** Date Constructors ** + + function newDate(value) { + var d = value ? (0, _toDate2.default)(value) : new Date(); + return isValid(d) ? d : null; + } + + function parseDate(value, dateFormat, locale) { + var parsedDate = null; + var localeObject = getLocaleObject(locale); + if (Array.isArray(dateFormat)) { + dateFormat.forEach(function(df) { + var tryParseDate = (0, _parse2.default)( + value, + df, + new Date(), + localeObject ); - } + if (isValid(tryParseDate)) { + parsedDate = tryParseDate; + } + }); + return parsedDate; + } + parsedDate = (0, _parse2.default)( + value, + dateFormat, + new Date(), + localeObject + ); + if (!isValid(parsedDate)) { + parsedDate = new Date(value); + } + return isValid(parsedDate) ? parsedDate : null; + } - 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; + // ** Date "Reflection" ** - var localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g; + exports.isDate = _isDate2.default; + function isValid(date) { + return ( + (0, _isValid2.default)(date) && + (0, _isAfter2.default)(date, new Date('1/1/1000')) + ); + } - var formatFunctions = {}; + // ** Date Formatting ** - var formatTokenFunctions = {}; + function formatDate(date, formatStr, locale) { + if (locale === 'en') { + return (0, _format2.default)(date, formatStr, { + awareOfUnicodeTokens: true + }); + } + var localeObj = getLocaleObject(locale); + if (locale && !localeObj) { + console.warn( + 'A locale object was not found for the provided string ["' + + locale + + '"].' + ); + } + if ( + !localeObj && + !!getDefaultLocale() && + !!getLocaleObject(getDefaultLocale()) + ) { + localeObj = getLocaleObject(getDefaultLocale()); + } + return (0, _format2.default)(date, formatStr, { + locale: localeObj ? localeObj : null, + awareOfUnicodeTokens: true + }); + } - // 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 safeDateFormat(date, _ref) { + var dateFormat = _ref.dateFormat, + locale = _ref.locale; - function removeFormattingTokens(input) { - if (input.match(/\[[\s\S]/)) { - return input.replace(/^\[|\]$/g, ""); - } - return input.replace(/\\/g, ""); - } + return ( + (date && + formatDate( + date, + Array.isArray(dateFormat) ? dateFormat[0] : dateFormat, + locale + )) || + '' + ); + } - function makeFormatFunction(format) { - var array = format.match(formattingTokens), - i, - length; + // ** Date Setters ** - for (i = 0, length = array.length; i < length; i++) { - if (formatTokenFunctions[array[i]]) { - array[i] = formatTokenFunctions[array[i]]; - } else { - array[i] = removeFormattingTokens(array[i]); - } - } + function setTime(date, _ref2) { + var _ref2$hour = _ref2.hour, + hour = _ref2$hour === undefined ? 0 : _ref2$hour, + _ref2$minute = _ref2.minute, + minute = _ref2$minute === undefined ? 0 : _ref2$minute, + _ref2$second = _ref2.second, + second = _ref2$second === undefined ? 0 : _ref2$second; + + return (0, _setHours2.default)( + (0, _setMinutes2.default)( + (0, _setSeconds2.default)(date, second), + minute + ), + hour + ); + } - 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; - }; - } + exports.setMonth = _setMonth2.default; + exports.setYear = _setYear2.default; - // format date using native date object - function formatMoment(m, format) { - if (!m.isValid()) { - return m.localeData().invalidDate(); - } + // ** Date Getters ** - format = expandFormat(format, m.localeData()); - formatFunctions[format] = - formatFunctions[format] || makeFormatFunction(format); + // getDay Returns day of week, getDate returns day of month - return formatFunctions[format](m); - } + exports.getSeconds = _getSeconds2.default; + exports.getMinutes = _getMinutes2.default; + exports.getHours = _getHours2.default; + exports.getMonth = _getMonth2.default; + exports.getYear = _getYear2.default; + exports.getDay = _getDay2.default; + exports.getDate = _getDate2.default; + exports.getTime = _getTime2.default; + function getWeek(date) { + var firstDayOfYear = (0, _setDayOfYear2.default)(date, 1); + if (!isSameYear((0, _endOfWeek2.default)(date), date)) { + return 1; + } + return ( + (0, _differenceInCalendarWeeks2.default)( + date, + (0, _startOfYear2.default)(date) + ) + 1 + ); + } - function expandFormat(format, locale) { - var i = 5; + function getDayOfWeekCode(day, locale) { + return formatDate(day, 'ddd', locale); + } - function replaceLongDateFormatTokens(input) { - return locale.longDateFormat(input) || input; - } + // *** Start of *** - localFormattingTokens.lastIndex = 0; - while (i >= 0 && localFormattingTokens.test(format)) { - format = format.replace( - localFormattingTokens, - replaceLongDateFormatTokens - ); - localFormattingTokens.lastIndex = 0; - i -= 1; - } + function getStartOfDay(date) { + return (0, _startOfDay2.default)(date); + } - return format; - } + function getStartOfWeek(date, locale) { + var localeObj = locale + ? getLocaleObject(locale) + : getLocaleObject(getDefaultLocale()); + return (0, _startOfWeek2.default)(date, { locale: localeObj }); + } - 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 + function getStartOfMonth(date) { + return (0, _startOfMonth2.default)(date); + } - var matchUnsigned = /\d+/; // 0 - inf - var matchSigned = /[+-]?\d+/; // -inf - inf + function getStartOfToday() { + return (0, _startOfDay2.default)(newDate()); + } - 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 + // *** End of *** - var matchTimestamp = /[+-]?\d+(\.\d{1,3})?/; // 123456789 123456789.123 + function getEndOfWeek(date) { + return (0, _endOfWeek2.default)(date); + } - // 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]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i; + function getEndOfMonth(date) { + return (0, _endOfMonth2.default)(date); + } - var regexes = {}; + // ** Date Math ** - function addRegexToken(token, regex, strictRegex) { - regexes[token] = isFunction(regex) - ? regex - : function(isStrict, localeData) { - return isStrict && strictRegex ? strictRegex : regex; - }; - } + // *** Addition *** - function getParseRegexForToken(token, config) { - if (!hasOwnProp(regexes, token)) { - return new RegExp(unescapeFormat(token)); - } + exports.addMinutes = _addMinutes2.default; + exports.addDays = _addDays2.default; + exports.addWeeks = _addWeeks2.default; + exports.addMonths = _addMonths2.default; + exports.addYears = _addYears2.default; - return regexes[token](config._strict, config._locale); - } + // *** Subtraction *** - // 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; - }) - ); - } + exports.subMinutes = _subMinutes2.default; + exports.subHours = _subHours2.default; + exports.subDays = _subDays2.default; + exports.subWeeks = _subWeeks2.default; + exports.subMonths = _subMonths2.default; + exports.subYears = _subYears2.default; - function regexEscape(s) { - return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&"); - } + // ** Date Comparison ** - var tokens = {}; + exports.isBefore = _isBefore2.default; + exports.isAfter = _isAfter2.default; + exports.isEqual = _isEqual2.default; + function isSameYear(date1, date2) { + if (date1 && date2) { + return (0, _isSameYear2.default)(date1, date2); + } else { + return !date1 && !date2; + } + } - 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 isSameMonth(date1, date2) { + if (date1 && date2) { + return (0, _isSameMonth2.default)(date1, date2); + } else { + return !date1 && !date2; + } + } - function addWeekParseToken(token, callback) { - addParseToken(token, function(input, array, config, token) { - config._w = config._w || {}; - callback(input, config._w, config, token); - }); - } + function isSameDay(date1, date2) { + if (date1 && date2) { + return (0, _isSameDay2.default)(date1, date2); + } else { + return !date1 && !date2; + } + } - function addTimeToArrayFromToken(token, input, config) { - if (input != null && hasOwnProp(tokens, token)) { - tokens[token](input, config._a, config, token); - } - } + function isDayInRange(day, startDate, endDate) { + return (0, _isWithinInterval2.default)(day, { + start: startDate, + end: endDate + }); + } - 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; + // *** Diffing *** - // FORMATTING + function getDaysDiff(date1, date2) { + return (0, _differenceInCalendarDays2.default)(date1, date2); + } - addFormatToken("Y", 0, 0, function() { - var y = this.year(); - return y <= 9999 ? "" + y : "+" + y; - }); + // ** Date Localization ** - addFormatToken(0, ["YY", 2], 0, function() { - return this.year() % 100; - }); + function registerLocale(localeName, localeData) { + if (!window.__localeData__) { + window.__localeData__ = {}; + } + window.__localeData__[localeName] = localeData; + } + + function setDefaultLocale(localeName) { + window.__localeId__ = localeName; + } + + function getDefaultLocale() { + return window.__localeId__; + } - addFormatToken(0, ["YYYY", 4], 0, "year"); - addFormatToken(0, ["YYYYY", 5], 0, "year"); - addFormatToken(0, ["YYYYYY", 6, true], 0, "year"); + function getLocaleObject(localeName) { + return window.__localeData__ ? window.__localeData__[localeName] : null; + } - // ALIASES + function getFormattedWeekdayInLocale(date, formatFunc, locale) { + return formatFunc(formatDate(date, 'dddd', locale)); + } - addUnitAlias("year", "y"); + function getWeekdayMinInLocale(date, locale) { + return formatDate(date, 'EEEEEE', locale); + } - // PRIORITIES + function getWeekdayShortInLocale(date, locale) { + return formatDate(date, 'EEE', locale); + } - addUnitPriority("year", 1); + function getMonthInLocale(month, locale) { + return formatDate( + (0, _setMonth2.default)(newDate(), month), + 'LLLL', + locale + ); + } - // PARSING + function getMonthShortInLocale(month, dateFormat, locale) { + return formatDate( + (0, _setMonth2.default)(newDate(), month), + 'LLL', + locale + ); + } - addRegexToken("Y", matchSigned); - addRegexToken("YY", match1to2, match2); - addRegexToken("YYYY", match1to4, match4); - addRegexToken("YYYYY", match1to6, match6); - addRegexToken("YYYYYY", match1to6, match6); + // ** Utils for some components ** - 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 isDayDisabled(day) { + var _ref3 = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : {}, + minDate = _ref3.minDate, + maxDate = _ref3.maxDate, + excludeDates = _ref3.excludeDates, + includeDates = _ref3.includeDates, + filterDate = _ref3.filterDate; - // HELPERS + return ( + isOutOfBounds(day, { minDate: minDate, maxDate: maxDate }) || + (excludeDates && + excludeDates.some(function(excludeDate) { + return isSameDay(day, excludeDate); + })) || + (includeDates && + !includeDates.some(function(includeDate) { + return isSameDay(day, includeDate); + })) || + (filterDate && !filterDate(newDate(day))) || + false + ); + } - function daysInYear(year) { - return isLeapYear(year) ? 366 : 365; - } + function isOutOfBounds(day) { + var _ref4 = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : {}, + minDate = _ref4.minDate, + maxDate = _ref4.maxDate; + + return ( + (minDate && + (0, _differenceInCalendarDays2.default)(day, minDate) < 0) || + (maxDate && (0, _differenceInCalendarDays2.default)(day, maxDate) > 0) + ); + } - function isLeapYear(year) { - return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; + function isTimeDisabled(time, disabledTimes) { + var l = disabledTimes.length; + for (var i = 0; i < l; i++) { + if ( + (0, _getHours2.default)(disabledTimes[i]) === + (0, _getHours2.default)(time) && + (0, _getMinutes2.default)(disabledTimes[i]) === + (0, _getMinutes2.default)(time) + ) { + return true; } + } - // HOOKS + return false; + } - hooks.parseTwoDigitYear = function(input) { - return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); - }; + function isTimeInDisabledRange(time, _ref5) { + var minTime = _ref5.minTime, + maxTime = _ref5.maxTime; - // MOMENTS + if (!minTime || !maxTime) { + throw new Error('Both minTime and maxTime props required'); + } + var base = newDate(); + var baseTime = (0, _setHours2.default)( + (0, _setMinutes2.default)(base, (0, _getMinutes2.default)(time)), + (0, _getHours2.default)(time) + ); + var min = (0, _setHours2.default)( + (0, _setMinutes2.default)(base, (0, _getMinutes2.default)(minTime)), + (0, _getHours2.default)(minTime) + ); + var max = (0, _setHours2.default)( + (0, _setMinutes2.default)(base, (0, _getMinutes2.default)(maxTime)), + (0, _getHours2.default)(maxTime) + ); + return !(0, _isWithinInterval2.default)(baseTime, { + start: min, + end: max + }); + } - var getSetYear = makeGetSet("FullYear", true); + function monthDisabledBefore(day) { + var _ref6 = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : {}, + minDate = _ref6.minDate, + includeDates = _ref6.includeDates; - function getIsLeapYear() { - return isLeapYear(this.year()); - } + var previousMonth = (0, _subMonths2.default)(day, 1); + return ( + (minDate && + (0, _differenceInCalendarMonths2.default)(minDate, previousMonth) > + 0) || + (includeDates && + includeDates.every(function(includeDate) { + return ( + (0, _differenceInCalendarMonths2.default)( + includeDate, + previousMonth + ) > 0 + ); + })) || + false + ); + } - 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); - } - }; - } + function monthDisabledAfter(day) { + var _ref7 = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : {}, + maxDate = _ref7.maxDate, + includeDates = _ref7.includeDates; - function get(mom, unit) { - return mom.isValid() - ? mom._d["get" + (mom._isUTC ? "UTC" : "") + unit]() - : NaN; - } + var nextMonth = (0, _addMonths2.default)(day, 1); + return ( + (maxDate && + (0, _differenceInCalendarMonths2.default)(nextMonth, maxDate) > + 0) || + (includeDates && + includeDates.every(function(includeDate) { + return ( + (0, _differenceInCalendarMonths2.default)( + nextMonth, + includeDate + ) > 0 + ); + })) || + false + ); + } - function set$1(mom, unit, value) { - if (mom.isValid() && !isNaN(value)) { - if ( - unit === "FullYear" && - isLeapYear(mom.year()) && - mom.month() === 1 && - mom.date() === 29 - ) { - mom._d["set" + (mom._isUTC ? "UTC" : "") + unit]( - value, - mom.month(), - daysInMonth(value, mom.month()) - ); - } else { - mom._d["set" + (mom._isUTC ? "UTC" : "") + unit](value); - } - } - } + function getEffectiveMinDate(_ref8) { + var minDate = _ref8.minDate, + includeDates = _ref8.includeDates; - // MOMENTS + if (includeDates && minDate) { + var minDates = includeDates.filter(function(includeDate) { + return ( + (0, _differenceInCalendarDays2.default)(includeDate, minDate) >= 0 + ); + }); + return (0, _min2.default)(minDates); + } else if (includeDates) { + return (0, _min2.default)(includeDates); + } else { + return minDate; + } + } - function stringGet(units) { - units = normalizeUnits(units); - if (isFunction(this[units])) { - return this[units](); - } - return this; - } + function getEffectiveMaxDate(_ref9) { + var maxDate = _ref9.maxDate, + includeDates = _ref9.includeDates; - 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); + if (includeDates && maxDate) { + var maxDates = includeDates.filter(function(includeDate) { + return ( + (0, _differenceInCalendarDays2.default)(includeDate, maxDate) <= 0 + ); + }); + return (0, _max2.default)(maxDates); + } else if (includeDates) { + return (0, _max2.default)(includeDates); + } else { + return maxDate; + } + } + + function getHightLightDaysMap() { + var highlightDates = + arguments.length > 0 && arguments[0] !== undefined + ? arguments[0] + : []; + var defaultClassName = + arguments.length > 1 && arguments[1] !== undefined + ? arguments[1] + : 'react-datepicker__day--highlighted'; + + var dateClasses = new Map(); + for (var i = 0, len = highlightDates.length; i < len; i++) { + var obj = highlightDates[i]; + if ((0, _isDate2.default)(obj)) { + var key = formatDate(obj, 'MM.dd.yyyy'); + var classNamesArr = dateClasses.get(key) || []; + if (!classNamesArr.includes(defaultClassName)) { + classNamesArr.push(defaultClassName); + dateClasses.set(key, classNamesArr); + } + } else if ( + (typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) === + 'object' + ) { + var keys = Object.keys(obj); + var className = keys[0]; + var arrOfDates = obj[keys[0]]; + if ( + typeof className === 'string' && + arrOfDates.constructor === Array + ) { + for (var k = 0, _len = arrOfDates.length; k < _len; k++) { + var _key = formatDate(arrOfDates[k], 'MM.dd.yyyy'); + var _classNamesArr = dateClasses.get(_key) || []; + if (!_classNamesArr.includes(className)) { + _classNamesArr.push(className); + dateClasses.set(_key, _classNamesArr); + } } } - return this; } + } - function mod(n, x) { - return (n % x + x) % x; - } + return dateClasses; + } - var indexOf; + function timesToInjectAfter( + startOfDay, + currentTime, + currentMultiplier, + intervals, + injectedTimes + ) { + var l = injectedTimes.length; + var times = []; + for (var i = 0; i < l; i++) { + var injectedTime = (0, _addMinutes2.default)( + (0, _addHours2.default)( + startOfDay, + (0, _getHours2.default)(injectedTimes[i]) + ), + (0, _getMinutes2.default)(injectedTimes[i]) + ); + var nextTime = (0, _addMinutes2.default)( + startOfDay, + (currentMultiplier + 1) * intervals + ); - 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; - }; + if ( + (0, _isAfter2.default)(injectedTime, currentTime) && + (0, _isBefore2.default)(injectedTime, nextTime) + ) { + times.push(injectedTimes[i]); } + } + + return times; + } + + /***/ + }, + /* 543 */ + /***/ function(module, exports) { + 'use strict'; + + Object.defineProperty(exports, '__esModule', { + value: true + }); - function daysInMonth(year, month) { - if (isNaN(year) || isNaN(month)) { - return NaN; + var _typeof = + typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' + ? function(obj) { + return typeof obj; } - var modMonth = mod(month, 12); - year += (month - modMonth) / 12; - return modMonth === 1 - ? isLeapYear(year) ? 29 : 28 - : 31 - (modMonth % 7) % 2; - } + : function(obj) { + return obj && + typeof Symbol === 'function' && + obj.constructor === Symbol && + obj !== Symbol.prototype + ? 'symbol' + : typeof obj; + }; - // FORMATTING + exports.default = isDate; + /** + * @name isDate + * @category Common Helpers + * @summary Is the given value a date? + * + * @description + * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes. + * + * @param {*} value - the value to check + * @param {Options} [options] - the object with options. Unused; present for FP submodule compatibility sake. See [Options]{@link https://date-fns.org/docs/Options} + * @returns {boolean} true if the given value is a date + * @throws {TypeError} 1 arguments required + * + * @example + * // For a valid date: + * var result = isDate(new Date()) + * //=> true + * + * @example + * // For an invalid date: + * var result = isDate(new Date(NaN)) + * //=> true + * + * @example + * // For some value: + * var result = isDate('2014-02-31') + * //=> false + * + * @example + * // For an object: + * var result = isDate({}) + * //=> false + */ + function isDate(value) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } - addFormatToken("M", ["MM", 2], "Mo", function() { - return this.month() + 1; - }); + return ( + value instanceof Date || + ((typeof value === 'undefined' ? 'undefined' : _typeof(value)) === + 'object' && + Object.prototype.toString.call(value) === '[object Date]') + ); + } + module.exports = exports['default']; - addFormatToken("MMM", 0, 0, function(format) { - return this.localeData().monthsShort(this, format); - }); + /***/ + }, + /* 544 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - addFormatToken("MMMM", 0, 0, function(format) { - return this.localeData().months(this, format); - }); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = isValid; - // ALIASES + var _index = __webpack_require__(545); - addUnitAlias("month", "M"); + var _index2 = _interopRequireDefault(_index); - // PRIORITY + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - addUnitPriority("month", 8); + /** + * @name isValid + * @category Common Helpers + * @summary Is the given date valid? + * + * @description + * Returns false if argument is Invalid Date and true otherwise. + * Argument is converted to Date using `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * Invalid Date is a Date, whose time value is NaN. + * + * Time value of Date: http://es5.github.io/#x15.9.1.1 + * + * @param {*} date - the date to check + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Boolean} the date is valid + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // For the valid date: + * var result = isValid(new Date(2014, 1, 31)) + * //=> true + * + * @example + * // For the value, convertable into a date: + * var result = isValid('2014-02-31') + * //=> true + * + * @example + * // For the invalid date: + * var result = isValid(new Date('')) + * //=> false + */ + function isValid(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } - // PARSING + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + return !isNaN(date); + } + module.exports = exports['default']; - 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); - }); + /***/ + }, + /* 545 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - addParseToken(["M", "MM"], function(input, array) { - array[MONTH] = toInt(input) - 1; - }); + Object.defineProperty(exports, '__esModule', { + value: true + }); - 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 _typeof = + typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' + ? function(obj) { + return typeof obj; } - }); + : function(obj) { + return obj && + typeof Symbol === 'function' && + obj.constructor === Symbol && + obj !== Symbol.prototype + ? 'symbol' + : typeof obj; + }; - // LOCALES + exports.default = toDate; - 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 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 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; - } - } 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; - } - } - } + var _index = __webpack_require__(546); - function localeMonthsParse(monthName, format, strict) { - var i, mom, regex; + var _index2 = _interopRequireDefault(_index); - if (this._monthsParseExact) { - return handleStrictParse.call(this, monthName, format, strict); - } + var _index3 = __webpack_require__(547); - if (!this._monthsParse) { - this._monthsParse = []; - this._longMonthsParse = []; - this._shortMonthsParse = []; - } + var _index4 = _interopRequireDefault(_index3); - // 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; - } - } - } + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + var MILLISECONDS_IN_HOUR = 3600000; + var MILLISECONDS_IN_MINUTE = 60000; + var DEFAULT_ADDITIONAL_DIGITS = 2; + + var patterns = { + dateTimeDelimeter: /[T ]/, + plainTime: /:/, + timeZoneDelimeter: /[Z ]/i, + + // year tokens + YY: /^(\d{2})$/, + YYY: [ + /^([+-]\d{2})$/, // 0 additional digits + /^([+-]\d{3})$/, // 1 additional digit + /^([+-]\d{4})$/ // 2 additional digits + ], + YYYY: /^(\d{4})/, + YYYYY: [ + /^([+-]\d{4})/, // 0 additional digits + /^([+-]\d{5})/, // 1 additional digit + /^([+-]\d{6})/ // 2 additional digits + ], + + // date tokens + MM: /^-(\d{2})$/, + DDD: /^-?(\d{3})$/, + MMDD: /^-?(\d{2})-?(\d{2})$/, + Www: /^-?W(\d{2})$/, + WwwD: /^-?W(\d{2})-?(\d{1})$/, + + HH: /^(\d{2}([.,]\d*)?)$/, + HHMM: /^(\d{2}):?(\d{2}([.,]\d*)?)$/, + HHMMSS: /^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/, + + // timezone tokens + timezone: /([Z+-].*)$/, + timezoneZ: /^(Z)$/, + timezoneHH: /^([+-])(\d{2})$/, + timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/ + }; + + /** + * @name toDate + * @category Common Helpers + * @summary Convert the given argument to an instance of Date. + * + * @description + * Convert the given argument to an instance of Date. + * + * If the argument is an instance of Date, the function returns its clone. + * + * If the argument is a number, it is treated as a timestamp. + * + * If an argument is a string, the function tries to parse it. + * Function accepts complete ISO 8601 formats as well as partial implementations. + * ISO 8601: http://en.wikipedia.org/wiki/ISO_8601 + * If the function cannot parse the string or the values are invalid, it returns Invalid Date. + * + * If the argument is none of the above, the function returns Invalid Date. + * + * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`. + * All *date-fns* functions will throw `RangeError` if `options.additionalDigits` is not 0, 1, 2 or undefined. + * + * @param {Date|String|Number} argument - the value to convert + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - the additional number of digits in the extended year format + * @returns {Date} the parsed date in the local time zone + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Convert string '2014-02-11T11:30:30' to date: + * var result = toDate('2014-02-11T11:30:30') + * //=> Tue Feb 11 2014 11:30:30 + * + * @example + * // Convert string '+02014101' to date, + * // if the additional number of digits in the extended year format is 1: + * var result = toDate('+02014101', {additionalDigits: 1}) + * //=> Fri Apr 11 2014 00:00:00 + */ + function toDate(argument, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } - // MOMENTS + if (argument === null) { + return new Date(NaN); + } + + var options = dirtyOptions || {}; + + var additionalDigits = + options.additionalDigits == null + ? DEFAULT_ADDITIONAL_DIGITS + : (0, _index2.default)(options.additionalDigits); + if ( + additionalDigits !== 2 && + additionalDigits !== 1 && + additionalDigits !== 0 + ) { + throw new RangeError('additionalDigits must be 0, 1 or 2'); + } + + // Clone the date + if ( + argument instanceof Date || + ((typeof argument === 'undefined' + ? 'undefined' + : _typeof(argument)) === 'object' && + Object.prototype.toString.call(argument) === '[object Date]') + ) { + // Prevent the date to lose the milliseconds when passed to new Date() in IE10 + return new Date(argument.getTime()); + } else if ( + typeof argument === 'number' || + Object.prototype.toString.call(argument) === '[object Number]' + ) { + return new Date(argument); + } else if ( + !( + typeof argument === 'string' || + Object.prototype.toString.call(argument) === '[object String]' + ) + ) { + return new Date(NaN); + } - function setMonth(mom, value) { - var dayOfMonth; + var dateStrings = splitDateString(argument); - if (!mom.isValid()) { - // No op - return mom; - } + var parseYearResult = parseYear(dateStrings.date, additionalDigits); + var year = parseYearResult.year; + var restDateString = parseYearResult.restDateString; - if (typeof value === "string") { - if (/^\d+$/.test(value)) { - value = toInt(value); - } else { - value = mom.localeData().monthsParse(value); - // TODO: Another silent failure? - if (!isNumber(value)) { - return mom; - } - } - } + var date = parseDate(restDateString, year); - dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value)); - mom._d["set" + (mom._isUTC ? "UTC" : "") + "Month"]( - value, - dayOfMonth - ); - return mom; - } + if (isNaN(date)) { + return new Date(NaN); + } - function getSetMonth(value) { - if (value != null) { - setMonth(this, value); - hooks.updateOffset(this, true); - return this; - } else { - return get(this, "Month"); - } - } + if (date) { + var timestamp = date.getTime(); + var time = 0; + var offset; - function getDaysInMonth() { - return daysInMonth(this.year(), this.month()); - } + if (dateStrings.time) { + time = parseTime(dateStrings.time); - 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; + if (isNaN(time)) { + return new Date(NaN); } } - 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; - } - } else { - if (!hasOwnProp(this, "_monthsRegex")) { - this._monthsRegex = defaultMonthsRegex; - } - return this._monthsStrictRegex && isStrict - ? this._monthsStrictRegex - : this._monthsRegex; + if (dateStrings.timezone) { + offset = parseTimezone(dateStrings.timezone); + if (isNaN(offset)) { + return new Date(NaN); } + } else { + // get offset accurate to hour in timezones that change offset + offset = (0, _index4.default)(new Date(timestamp + time)); + offset = (0, _index4.default)(new Date(timestamp + time + offset)); } - function computeMonthsParse() { - function cmpLenRev(a, b) { - return b.length - a.length; - } + return new Date(timestamp + time + offset); + } else { + return new Date(NaN); + } + } - 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]); - } + function splitDateString(dateString) { + var dateStrings = {}; + var array = dateString.split(patterns.dateTimeDelimeter); + var timeString; - 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" + if (patterns.plainTime.test(array[0])) { + dateStrings.date = null; + timeString = array[0]; + } else { + dateStrings.date = array[0]; + timeString = array[1]; + if (patterns.timeZoneDelimeter.test(dateStrings.date)) { + dateStrings.date = dateString.split(patterns.timeZoneDelimeter)[0]; + timeString = dateString.substr( + dateStrings.date.length, + dateString.length ); } + } - 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 constructor remaps years 0-99 to 1900-1999 - if (y < 100 && y >= 0 && isFinite(date.getFullYear())) { - date.setFullYear(y); - } - return date; + if (timeString) { + var token = patterns.timezone.exec(timeString); + if (token) { + dateStrings.time = timeString.replace(token[1], ''); + dateStrings.timezone = token[1]; + } else { + dateStrings.time = timeString; } + } - function createUTCDate(y) { - var date = new Date(Date.UTC.apply(null, arguments)); + return dateStrings; + } - // the Date.UTC function remaps years 0-99 to 1900-1999 - if (y < 100 && y >= 0 && isFinite(date.getUTCFullYear())) { - date.setUTCFullYear(y); - } - return date; - } + function parseYear(dateString, additionalDigits) { + var patternYYY = patterns.YYY[additionalDigits]; + var patternYYYYY = patterns.YYYYY[additionalDigits]; - // 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; + var token; - return -fwdlw + fwd - 1; - } + // YYYY or ±YYYYY + token = patterns.YYYY.exec(dateString) || patternYYYYY.exec(dateString); + if (token) { + var yearString = token[1]; + return { + year: parseInt(yearString, 10), + restDateString: dateString.slice(yearString.length) + }; + } - // 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; + // YY or ±YYY + token = patterns.YY.exec(dateString) || patternYYY.exec(dateString); + if (token) { + var centuryString = token[1]; + return { + year: parseInt(centuryString, 10) * 100, + restDateString: dateString.slice(centuryString.length) + }; + } - 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; - } + // Invalid ISO-formatted year + return { + year: null + }; + } - return { - year: resYear, - dayOfYear: resDayOfYear - }; - } + function parseDate(dateString, year) { + // Invalid ISO-formatted year + if (year === null) { + return null; + } - function weekOfYear(mom, dow, doy) { - var weekOffset = firstWeekOffset(mom.year(), dow, doy), - week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1, - resWeek, - resYear; + var token; + var date; + var month; + var week; - 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; - } + // YYYY + if (dateString.length === 0) { + date = new Date(0); + date.setUTCFullYear(year); + return date; + } - return { - week: resWeek, - year: resYear - }; - } + // YYYY-MM + token = patterns.MM.exec(dateString); + if (token) { + date = new Date(0); + month = parseInt(token[1], 10) - 1; - function weeksInYear(year, dow, doy) { - var weekOffset = firstWeekOffset(year, dow, doy), - weekOffsetNext = firstWeekOffset(year + 1, dow, doy); - return (daysInYear(year) - weekOffset + weekOffsetNext) / 7; + if (!validateDate(year, month)) { + return new Date(NaN); } - // FORMATTING + date.setUTCFullYear(year, month); + return date; + } - addFormatToken("w", ["ww", 2], "wo", "week"); - addFormatToken("W", ["WW", 2], "Wo", "isoWeek"); + // YYYY-DDD or YYYYDDD + token = patterns.DDD.exec(dateString); + if (token) { + date = new Date(0); + var dayOfYear = parseInt(token[1], 10); - // ALIASES + if (!validateDayOfYearDate(year, dayOfYear)) { + return new Date(NaN); + } - addUnitAlias("week", "w"); - addUnitAlias("isoWeek", "W"); + date.setUTCFullYear(year, 0, dayOfYear); + return date; + } - // PRIORITIES + // YYYY-MM-DD or YYYYMMDD + token = patterns.MMDD.exec(dateString); + if (token) { + date = new Date(0); + month = parseInt(token[1], 10) - 1; + var day = parseInt(token[2], 10); - addUnitPriority("week", 5); - addUnitPriority("isoWeek", 5); + if (!validateDate(year, month, day)) { + return new Date(NaN); + } - // PARSING + date.setUTCFullYear(year, month, day); + return date; + } - addRegexToken("w", match1to2); - addRegexToken("ww", match1to2, match2); - addRegexToken("W", match1to2); - addRegexToken("WW", match1to2, match2); + // YYYY-Www or YYYYWww + token = patterns.Www.exec(dateString); + if (token) { + week = parseInt(token[1], 10) - 1; - addWeekParseToken(["w", "ww", "W", "WW"], function( - input, - week, - config, - token - ) { - week[token.substr(0, 1)] = toInt(input); - }); + if (!validateWeekDate(year, week)) { + return new Date(NaN); + } - // HELPERS + return dayOfISOWeekYear(year, week); + } - // LOCALES + // YYYY-Www-D or YYYYWwwD + token = patterns.WwwD.exec(dateString); + if (token) { + week = parseInt(token[1], 10) - 1; + var dayOfWeek = parseInt(token[2], 10) - 1; - function localeWeek(mom) { - return weekOfYear(mom, this._week.dow, this._week.doy).week; + if (!validateWeekDate(year, week, dayOfWeek)) { + return new Date(NaN); } - 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. - }; + return dayOfISOWeekYear(year, week, dayOfWeek); + } - function localeFirstDayOfWeek() { - return this._week.dow; - } + // Invalid ISO-formatted date + return null; + } - function localeFirstDayOfYear() { - return this._week.doy; - } + function parseTime(timeString) { + var token; + var hours; + var minutes; - // MOMENTS + // hh + token = patterns.HH.exec(timeString); + if (token) { + hours = parseFloat(token[1].replace(',', '.')); - function getSetWeek(input) { - var week = this.localeData().week(this); - return input == null ? week : this.add((input - week) * 7, "d"); + if (!validateTime(hours)) { + return NaN; } - function getSetISOWeek(input) { - var week = weekOfYear(this, 1, 4).week; - return input == null ? week : this.add((input - week) * 7, "d"); - } + return (hours % 24) * MILLISECONDS_IN_HOUR; + } - // FORMATTING + // hh:mm or hhmm + token = patterns.HHMM.exec(timeString); + if (token) { + hours = parseInt(token[1], 10); + minutes = parseFloat(token[2].replace(',', '.')); - addFormatToken("d", 0, "do", "day"); + if (!validateTime(hours, minutes)) { + return NaN; + } - addFormatToken("dd", 0, 0, function(format) { - return this.localeData().weekdaysMin(this, format); - }); + return ( + (hours % 24) * MILLISECONDS_IN_HOUR + + minutes * MILLISECONDS_IN_MINUTE + ); + } - addFormatToken("ddd", 0, 0, function(format) { - return this.localeData().weekdaysShort(this, format); - }); + // hh:mm:ss or hhmmss + token = patterns.HHMMSS.exec(timeString); + if (token) { + hours = parseInt(token[1], 10); + minutes = parseInt(token[2], 10); + var seconds = parseFloat(token[3].replace(',', '.')); - addFormatToken("dddd", 0, 0, function(format) { - return this.localeData().weekdays(this, format); - }); + if (!validateTime(hours, minutes, seconds)) { + return NaN; + } - addFormatToken("e", 0, 0, "weekday"); - addFormatToken("E", 0, 0, "isoWeekday"); + return ( + (hours % 24) * MILLISECONDS_IN_HOUR + + minutes * MILLISECONDS_IN_MINUTE + + seconds * 1000 + ); + } - // ALIASES + // Invalid ISO-formatted time + return null; + } - addUnitAlias("day", "d"); - addUnitAlias("weekday", "e"); - addUnitAlias("isoWeekday", "E"); + function parseTimezone(timezoneString) { + var token; + var absoluteOffset; - // PRIORITY - addUnitPriority("day", 11); - addUnitPriority("weekday", 11); - addUnitPriority("isoWeekday", 11); + // Z + token = patterns.timezoneZ.exec(timezoneString); + if (token) { + return 0; + } - // PARSING + var hours; - 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); - }); + // ±hh + token = patterns.timezoneHH.exec(timezoneString); + if (token) { + hours = parseInt(token[2], 10); - 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; - } - }); + if (!validateTimezone(hours)) { + return NaN; + } - addWeekParseToken(["d", "e", "E"], function( - input, - week, - config, - token - ) { - week[token] = toInt(input); - }); + absoluteOffset = hours * MILLISECONDS_IN_HOUR; + return token[1] === '+' ? -absoluteOffset : absoluteOffset; + } - // HELPERS + // ±hh:mm or ±hhmm + token = patterns.timezoneHHMM.exec(timezoneString); + if (token) { + hours = parseInt(token[2], 10); + var minutes = parseInt(token[3], 10); - function parseWeekday(input, locale) { - if (typeof input !== "string") { - return input; - } + if (!validateTimezone(hours, minutes)) { + return NaN; + } - if (!isNaN(input)) { - return parseInt(input, 10); - } + absoluteOffset = + hours * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE; + return token[1] === '+' ? -absoluteOffset : absoluteOffset; + } - input = locale.weekdaysParse(input); - if (typeof input === "number") { - return input; - } + return 0; + } - return null; - } + function dayOfISOWeekYear(isoWeekYear, week, day) { + week = week || 0; + day = day || 0; + var date = new Date(0); + date.setUTCFullYear(isoWeekYear, 0, 4); + var fourthOfJanuaryDay = date.getUTCDay() || 7; + var diff = week * 7 + day + 1 - fourthOfJanuaryDay; + date.setUTCDate(date.getUTCDate() + diff); + return date; + } - function parseIsoWeekday(input, locale) { - if (typeof input === "string") { - return locale.weekdaysParse(input) % 7 || 7; - } - return isNaN(input) ? null : input; - } + // Validation functions + + var DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; + var DAYS_IN_MONTH_LEAP_YEAR = [ + 31, + 29, + 31, + 30, + 31, + 30, + 31, + 31, + 30, + 31, + 30, + 31 + ]; - // LOCALES + function isLeapYearIndex(year) { + return year % 400 === 0 || (year % 4 === 0 && year % 100 !== 0); + } - 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()]; + function validateDate(year, month, date) { + if (month < 0 || month > 11) { + return false; + } + + if (date != null) { + if (date < 1) { + return false; } - 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 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 = 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; - } - } 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; - } - } + var isLeapYear = isLeapYearIndex(year); + if (isLeapYear && date > DAYS_IN_MONTH_LEAP_YEAR[month]) { + return false; + } + if (!isLeapYear && date > DAYS_IN_MONTH[month]) { + return false; } + } - function localeWeekdaysParse(weekdayName, format, strict) { - var i, mom, regex; + return true; + } - if (this._weekdaysParseExact) { - return handleStrictParse$1.call( - this, - weekdayName, - format, - strict - ); - } + function validateDayOfYearDate(year, dayOfYear) { + if (dayOfYear < 1) { + return false; + } - if (!this._weekdaysParse) { - this._weekdaysParse = []; - this._minWeekdaysParse = []; - this._shortWeekdaysParse = []; - this._fullWeekdaysParse = []; - } + var isLeapYear = isLeapYearIndex(year); + if (isLeapYear && dayOfYear > 366) { + return false; + } + if (!isLeapYear && dayOfYear > 365) { + return false; + } - for (i = 0; i < 7; i++) { - // make the regex if we don't have it already + return true; + } - 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; - } - } - } + function validateWeekDate(year, week, day) { + if (week < 0 || week > 52) { + return false; + } + + if (day != null && (day < 0 || day > 6)) { + return false; + } - // MOMENTS + return true; + } - 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 validateTime(hours, minutes, seconds) { + if (hours != null && (hours < 0 || hours >= 25)) { + return false; + } - 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"); - } + if (minutes != null && (minutes < 0 || minutes >= 60)) { + return false; + } - function getSetISODayOfWeek(input) { - if (!this.isValid()) { - return input != null ? this : NaN; - } + if (seconds != null && (seconds < 0 || seconds >= 60)) { + return false; + } - // 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. + return true; + } - if (input != null) { - var weekday = parseIsoWeekday(input, this.localeData()); - return this.day(this.day() % 7 ? weekday : weekday - 7); - } else { - return this.day() || 7; - } - } + function validateTimezone(hours, minutes) { + if (minutes != null && (minutes < 0 || minutes > 59)) { + return false; + } - 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; - } - } else { - if (!hasOwnProp(this, "_weekdaysRegex")) { - this._weekdaysRegex = defaultWeekdaysRegex; - } - return this._weekdaysStrictRegex && isStrict - ? this._weekdaysStrictRegex - : this._weekdaysRegex; - } - } + return true; + } + module.exports = exports['default']; - 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; - } - } else { - if (!hasOwnProp(this, "_weekdaysShortRegex")) { - this._weekdaysShortRegex = defaultWeekdaysShortRegex; - } - return this._weekdaysShortStrictRegex && isStrict - ? this._weekdaysShortStrictRegex - : this._weekdaysShortRegex; - } - } + /***/ + }, + /* 546 */ + /***/ function(module, exports) { + 'use strict'; - 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; - } - } 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; - } - - 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; + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = toInteger; + function toInteger(dirtyNumber) { + if ( + dirtyNumber === null || + dirtyNumber === true || + dirtyNumber === false + ) { + return NaN; + } - this._weekdaysStrictRegex = new RegExp( - "^(" + longPieces.join("|") + ")", - "i" - ); - this._weekdaysShortStrictRegex = new RegExp( - "^(" + shortPieces.join("|") + ")", - "i" - ); - this._weekdaysMinStrictRegex = new RegExp( - "^(" + minPieces.join("|") + ")", - "i" - ); - } + var number = Number(dirtyNumber); - // FORMATTING + if (isNaN(number)) { + return number; + } - function hFormat() { - return this.hours() % 12 || 12; - } + return number < 0 ? Math.ceil(number) : Math.floor(number); + } + module.exports = exports['default']; - function kFormat() { - return this.hours() || 24; - } + /***/ + }, + /* 547 */ + /***/ function(module, exports) { + 'use strict'; - addFormatToken("H", ["HH", 2], 0, "hour"); - addFormatToken("h", ["hh", 2], 0, hFormat); - addFormatToken("k", ["kk", 2], 0, kFormat); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = getTimezoneOffsetInMilliseconds; + var MILLISECONDS_IN_MINUTE = 60000; - addFormatToken("hmm", 0, 0, function() { - return "" + hFormat.apply(this) + zeroFill(this.minutes(), 2); - }); + /** + * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds. + * They usually appear for dates that denote time before the timezones were introduced + * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891 + * and GMT+01:00:00 after that date) + * + * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above, + * which would lead to incorrect calculations. + * + * This function returns the timezone offset in milliseconds that takes seconds in account. + */ + function getTimezoneOffsetInMilliseconds(dirtyDate) { + var date = new Date(dirtyDate.getTime()); + var baseTimezoneOffset = date.getTimezoneOffset(); + date.setSeconds(0, 0); + var millisecondsPartOfTimezoneOffset = + date.getTime() % MILLISECONDS_IN_MINUTE; - addFormatToken("hmmss", 0, 0, function() { - return ( - "" + - hFormat.apply(this) + - zeroFill(this.minutes(), 2) + - zeroFill(this.seconds(), 2) - ); - }); + return ( + baseTimezoneOffset * MILLISECONDS_IN_MINUTE + + millisecondsPartOfTimezoneOffset + ); + } + module.exports = exports['default']; - addFormatToken("Hmm", 0, 0, function() { - return "" + this.hours() + zeroFill(this.minutes(), 2); - }); + /***/ + }, + /* 548 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - addFormatToken("Hmmss", 0, 0, function() { - return ( - "" + - this.hours() + - zeroFill(this.minutes(), 2) + - zeroFill(this.seconds(), 2) - ); - }); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = format; - function meridiem(token, lowercase) { - addFormatToken(token, 0, 0, function() { - return this.localeData().meridiem( - this.hours(), - this.minutes(), - lowercase - ); - }); - } + var _index = __webpack_require__(546); - meridiem("a", true); - meridiem("A", false); + var _index2 = _interopRequireDefault(_index); - // ALIASES + var _index3 = __webpack_require__(547); - addUnitAlias("hour", "h"); + var _index4 = _interopRequireDefault(_index3); - // PRIORITY - addUnitPriority("hour", 13); + var _index5 = __webpack_require__(545); - // PARSING + var _index6 = _interopRequireDefault(_index5); - function matchMeridiem(isStrict, locale) { - return locale._meridiemParse; - } + var _index7 = __webpack_require__(544); - 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); + var _index8 = _interopRequireDefault(_index7); - addRegexToken("hmm", match3to4); - addRegexToken("hmmss", match5to6); - addRegexToken("Hmm", match3to4); - addRegexToken("Hmmss", match5to6); + var _index9 = __webpack_require__(549); - 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)); - }); + var _index10 = _interopRequireDefault(_index9); - // LOCALES + var _index11 = __webpack_require__(559); - 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 _index12 = _interopRequireDefault(_index11); - var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i; - function localeMeridiem(hours, minutes, isLower) { - if (hours > 11) { - return isLower ? "pm" : "PM"; - } else { - return isLower ? "am" : "AM"; - } - } + var _index13 = __webpack_require__(569); - // MOMENTS + var _index14 = _interopRequireDefault(_index13); - // 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 _index15 = __webpack_require__(570); - // months - // week - // weekdays - // meridiem - var baseConfig = { - calendar: defaultCalendar, - longDateFormat: defaultLongDateFormat, - invalidDate: defaultInvalidDate, - ordinal: defaultOrdinal, - dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse, - relativeTime: defaultRelativeTime, + var _index16 = _interopRequireDefault(_index15); - months: defaultLocaleMonths, - monthsShort: defaultLocaleMonthsShort, + var _index17 = __webpack_require__(572); - week: defaultLocaleWeek, + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - weekdays: defaultLocaleWeekdays, - weekdaysMin: defaultLocaleWeekdaysMin, - weekdaysShort: defaultLocaleWeekdaysShort, + // This RegExp consists of three parts separated by `|`: + // - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token + // (one of the certain letters followed by `o`) + // - (\w)\1* matches any sequences of the same letter + // - '' matches two quote characters in a row + // - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('), + // except a single quote symbol, which ends the sequence. + // Two quote characters do not end the sequence. + // If there is no matching single quote + // then the sequence will continue until the end of the string. + // - . matches any single character unmatched by previous parts of the RegExps + var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g; - meridiemParse: defaultLocaleMeridiemParse - }; + // This RegExp catches symbols escaped by quotes, and also + // sequences of symbols P, p, and the combinations like `PPPPPPPppppp` + var longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g; - // internal storage for locale config files - var locales = {}; - var localeFamilies = {}; - var globalLocale; - - 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; - - 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--; - } - i++; - } - return null; - } + var escapedStringRegExp = /^'(.*?)'?$/; + var doubleQuoteRegExp = /''/g; - 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; - var aliasedRequire = require; - __webpack_require__(537)("./" + name); - 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 getSetGlobalLocale(key, values) { - var data; - if (key) { - if (isUndefined(values)) { - data = getLocale(key); - } else { - data = defineLocale(key, values); - } + /** + * @name format + * @category Common Helpers + * @summary Format the date. + * + * @description + * Return the formatted date string in the given format. The result may vary by locale. + * + * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries. + * > See: https://git.io/fxCyr + * + * The characters wrapped between two single quotes characters (') are escaped. + * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote. + * (see the last example) + * + * Format of the string is based on Unicode Technical Standard #35: + * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table + * with a few additions (see note 7 below the table). + * + * Accepted patterns: + * | Unit | Pattern | Result examples | Notes | + * |---------------------------------|---------|-----------------------------------|-------| + * | Era | G..GGG | AD, BC | | + * | | GGGG | Anno Domini, Before Christ | 2 | + * | | GGGGG | A, B | | + * | Calendar year | y | 44, 1, 1900, 2017 | 5 | + * | | yo | 44th, 1st, 0th, 17th | 5,7 | + * | | yy | 44, 01, 00, 17 | 5 | + * | | yyy | 044, 001, 1900, 2017 | 5 | + * | | yyyy | 0044, 0001, 1900, 2017 | 5 | + * | | yyyyy | ... | 3,5 | + * | Local week-numbering year | Y | 44, 1, 1900, 2017 | 5 | + * | | Yo | 44th, 1st, 1900th, 2017th | 5,7 | + * | | YY | 44, 01, 00, 17 | 5,8 | + * | | YYY | 044, 001, 1900, 2017 | 5 | + * | | YYYY | 0044, 0001, 1900, 2017 | 5,8 | + * | | YYYYY | ... | 3,5 | + * | ISO week-numbering year | R | -43, 0, 1, 1900, 2017 | 5,7 | + * | | RR | -43, 00, 01, 1900, 2017 | 5,7 | + * | | RRR | -043, 000, 001, 1900, 2017 | 5,7 | + * | | RRRR | -0043, 0000, 0001, 1900, 2017 | 5,7 | + * | | RRRRR | ... | 3,5,7 | + * | Extended year | u | -43, 0, 1, 1900, 2017 | 5 | + * | | uu | -43, 01, 1900, 2017 | 5 | + * | | uuu | -043, 001, 1900, 2017 | 5 | + * | | uuuu | -0043, 0001, 1900, 2017 | 5 | + * | | uuuuu | ... | 3,5 | + * | Quarter (formatting) | Q | 1, 2, 3, 4 | | + * | | Qo | 1st, 2nd, 3rd, 4th | 7 | + * | | QQ | 01, 02, 03, 04 | | + * | | QQQ | Q1, Q2, Q3, Q4 | | + * | | QQQQ | 1st quarter, 2nd quarter, ... | 2 | + * | | QQQQQ | 1, 2, 3, 4 | 4 | + * | Quarter (stand-alone) | q | 1, 2, 3, 4 | | + * | | qo | 1st, 2nd, 3rd, 4th | 7 | + * | | qq | 01, 02, 03, 04 | | + * | | qqq | Q1, Q2, Q3, Q4 | | + * | | qqqq | 1st quarter, 2nd quarter, ... | 2 | + * | | qqqqq | 1, 2, 3, 4 | 4 | + * | Month (formatting) | M | 1, 2, ..., 12 | | + * | | Mo | 1st, 2nd, ..., 12th | 7 | + * | | MM | 01, 02, ..., 12 | | + * | | MMM | Jan, Feb, ..., Dec | | + * | | MMMM | January, February, ..., December | 2 | + * | | MMMMM | J, F, ..., D | | + * | Month (stand-alone) | L | 1, 2, ..., 12 | | + * | | Lo | 1st, 2nd, ..., 12th | 7 | + * | | LL | 01, 02, ..., 12 | | + * | | LLL | Jan, Feb, ..., Dec | | + * | | LLLL | January, February, ..., December | 2 | + * | | LLLLL | J, F, ..., D | | + * | Local week of year | w | 1, 2, ..., 53 | | + * | | wo | 1st, 2nd, ..., 53th | 7 | + * | | ww | 01, 02, ..., 53 | | + * | ISO week of year | I | 1, 2, ..., 53 | 7 | + * | | Io | 1st, 2nd, ..., 53th | 7 | + * | | II | 01, 02, ..., 53 | 7 | + * | Day of month | d | 1, 2, ..., 31 | | + * | | do | 1st, 2nd, ..., 31st | 7 | + * | | dd | 01, 02, ..., 31 | | + * | Day of year | D | 1, 2, ..., 365, 366 | 8 | + * | | Do | 1st, 2nd, ..., 365th, 366th | 7 | + * | | DD | 01, 02, ..., 365, 366 | 8 | + * | | DDD | 001, 002, ..., 365, 366 | | + * | | DDDD | ... | 3 | + * | Day of week (formatting) | E..EEE | Mon, Tue, Wed, ..., Su | | + * | | EEEE | Monday, Tuesday, ..., Sunday | 2 | + * | | EEEEE | M, T, W, T, F, S, S | | + * | | EEEEEE | Mo, Tu, We, Th, Fr, Su, Sa | | + * | ISO day of week (formatting) | i | 1, 2, 3, ..., 7 | 7 | + * | | io | 1st, 2nd, ..., 7th | 7 | + * | | ii | 01, 02, ..., 07 | 7 | + * | | iii | Mon, Tue, Wed, ..., Su | 7 | + * | | iiii | Monday, Tuesday, ..., Sunday | 2,7 | + * | | iiiii | M, T, W, T, F, S, S | 7 | + * | | iiiiii | Mo, Tu, We, Th, Fr, Su, Sa | 7 | + * | Local day of week (formatting) | e | 2, 3, 4, ..., 1 | | + * | | eo | 2nd, 3rd, ..., 1st | 7 | + * | | ee | 02, 03, ..., 01 | | + * | | eee | Mon, Tue, Wed, ..., Su | | + * | | eeee | Monday, Tuesday, ..., Sunday | 2 | + * | | eeeee | M, T, W, T, F, S, S | | + * | | eeeeee | Mo, Tu, We, Th, Fr, Su, Sa | | + * | Local day of week (stand-alone) | c | 2, 3, 4, ..., 1 | | + * | | co | 2nd, 3rd, ..., 1st | 7 | + * | | cc | 02, 03, ..., 01 | | + * | | ccc | Mon, Tue, Wed, ..., Su | | + * | | cccc | Monday, Tuesday, ..., Sunday | 2 | + * | | ccccc | M, T, W, T, F, S, S | | + * | | cccccc | Mo, Tu, We, Th, Fr, Su, Sa | | + * | AM, PM | a..aaa | AM, PM | | + * | | aaaa | a.m., p.m. | 2 | + * | | aaaaa | a, p | | + * | AM, PM, noon, midnight | b..bbb | AM, PM, noon, midnight | | + * | | bbbb | a.m., p.m., noon, midnight | 2 | + * | | bbbbb | a, p, n, mi | | + * | Flexible day period | B..BBB | at night, in the morning, ... | | + * | | BBBB | at night, in the morning, ... | 2 | + * | | BBBBB | at night, in the morning, ... | | + * | Hour [1-12] | h | 1, 2, ..., 11, 12 | | + * | | ho | 1st, 2nd, ..., 11th, 12th | 7 | + * | | hh | 01, 02, ..., 11, 12 | | + * | Hour [0-23] | H | 0, 1, 2, ..., 23 | | + * | | Ho | 0th, 1st, 2nd, ..., 23rd | 7 | + * | | HH | 00, 01, 02, ..., 23 | | + * | Hour [0-11] | K | 1, 2, ..., 11, 0 | | + * | | Ko | 1st, 2nd, ..., 11th, 0th | 7 | + * | | KK | 1, 2, ..., 11, 0 | | + * | Hour [1-24] | k | 24, 1, 2, ..., 23 | | + * | | ko | 24th, 1st, 2nd, ..., 23rd | 7 | + * | | kk | 24, 01, 02, ..., 23 | | + * | Minute | m | 0, 1, ..., 59 | | + * | | mo | 0th, 1st, ..., 59th | 7 | + * | | mm | 00, 01, ..., 59 | | + * | Second | s | 0, 1, ..., 59 | | + * | | so | 0th, 1st, ..., 59th | 7 | + * | | ss | 00, 01, ..., 59 | | + * | Fraction of second | S | 0, 1, ..., 9 | | + * | | SS | 00, 01, ..., 99 | | + * | | SSS | 000, 0001, ..., 999 | | + * | | SSSS | ... | 3 | + * | Timezone (ISO-8601 w/ Z) | X | -08, +0530, Z | | + * | | XX | -0800, +0530, Z | | + * | | XXX | -08:00, +05:30, Z | | + * | | XXXX | -0800, +0530, Z, +123456 | 2 | + * | | XXXXX | -08:00, +05:30, Z, +12:34:56 | | + * | Timezone (ISO-8601 w/o Z) | x | -08, +0530, +00 | | + * | | xx | -0800, +0530, +0000 | | + * | | xxx | -08:00, +05:30, +00:00 | 2 | + * | | xxxx | -0800, +0530, +0000, +123456 | | + * | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | | + * | Timezone (GMT) | O...OOO | GMT-8, GMT+5:30, GMT+0 | | + * | | OOOO | GMT-08:00, GMT+05:30, GMT+00:00 | 2 | + * | Timezone (specific non-locat.) | z...zzz | GMT-8, GMT+5:30, GMT+0 | 6 | + * | | zzzz | GMT-08:00, GMT+05:30, GMT+00:00 | 2,6 | + * | Seconds timestamp | t | 512969520 | 7 | + * | | tt | ... | 3,7 | + * | Milliseconds timestamp | T | 512969520900 | 7 | + * | | TT | ... | 3,7 | + * | Long localized date | P | 05/29/1453 | 7 | + * | | PP | May 29, 1453 | 7 | + * | | PPP | May 29th, 1453 | 7 | + * | | PPPP | Sunday, May 29th, 1453 | 2,7 | + * | Long localized time | p | 12:00 AM | 7 | + * | | pp | 12:00:00 AM | 7 | + * | | ppp | 12:00:00 AM GMT+2 | 7 | + * | | pppp | 12:00:00 AM GMT+02:00 | 2,7 | + * | Combination of date and time | Pp | 05/29/1453, 12:00 AM | 7 | + * | | PPpp | May 29, 1453, 12:00:00 AM | 7 | + * | | PPPppp | May 29th, 1453 at ... | 7 | + * | | PPPPpppp| Sunday, May 29th, 1453 at ... | 2,7 | + * Notes: + * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale + * are the same as "stand-alone" units, but are different in some languages. + * "Formatting" units are declined according to the rules of the language + * in the context of a date. "Stand-alone" units are always nominative singular: + * + * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'` + * + * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'` + * + * 2. Any sequence of the identical letters is a pattern, unless it is escaped by + * the single quote characters (see below). + * If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`) + * the output will be the same as default pattern for this unit, usually + * the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units + * are marked with "2" in the last column of the table. + * + * `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'` + * + * `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'` + * + * `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'` + * + * `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'` + * + * `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'` + * + * 3. Some patterns could be unlimited length (such as `yyyyyyyy`). + * The output will be padded with zeros to match the length of the pattern. + * + * `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'` + * + * 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales. + * These tokens represent the shortest form of the quarter. + * + * 5. The main difference between `y` and `u` patterns are B.C. years: + * + * | Year | `y` | `u` | + * |------|-----|-----| + * | AC 1 | 1 | 1 | + * | BC 1 | 1 | 0 | + * | BC 2 | 2 | -1 | + * + * Also `yy` always returns the last two digits of a year, + * while `uu` pads single digit years to 2 characters and returns other years unchanged: + * + * | Year | `yy` | `uu` | + * |------|------|------| + * | 1 | 01 | 01 | + * | 14 | 14 | 14 | + * | 376 | 76 | 376 | + * | 1453 | 53 | 1453 | + * + * The same difference is true for local and ISO week-numbering years (`Y` and `R`), + * except local week-numbering years are dependent on `options.weekStartsOn` + * and `options.firstWeekContainsDate` (compare [getISOWeekYear]{@link https://date-fns.org/docs/getISOWeekYear} + * and [getWeekYear]{@link https://date-fns.org/docs/getWeekYear}). + * + * 6. Specific non-location timezones are currently unavailable in `date-fns`, + * so right now these tokens fall back to GMT timezones. + * + * 7. These patterns are not in the Unicode Technical Standard #35: + * - `i`: ISO day of week + * - `I`: ISO week of year + * - `R`: ISO week-numbering year + * - `t`: seconds timestamp + * - `T`: milliseconds timestamp + * - `o`: ordinal number modifier + * - `P`: long localized date + * - `p`: long localized time + * + * 8. These tokens are often confused with others. See: https://git.io/fxCyr + * + * @param {Date|String|Number} date - the original date + * @param {String} format - the string of tokens + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {Number} [options.firstWeekContainsDate=1] - the day of January, which is + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {Boolean} [options.awareOfUnicodeTokens=false] - if true, allows usage of Unicode tokens causes confusion: + * - Some of the day of year tokens (`D`, `DD`) that are confused with the day of month tokens (`d`, `dd`). + * - Some of the local week-numbering year tokens (`YY`, `YYYY`) that are confused with the calendar year tokens (`yy`, `yyyy`). + * See: https://git.io/fxCyr + * @returns {String} the formatted date string + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * @throws {RangeError} `options.locale` must contain `localize` property + * @throws {RangeError} `options.locale` must contain `formatLong` property + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * @throws {RangeError} `options.awareOfUnicodeTokens` must be set to `true` to use `XX` token; see: https://git.io/fxCyr + * + * @example + * // Represent 11 February 2014 in middle-endian format: + * var result = format( + * new Date(2014, 1, 11), + * 'MM/dd/yyyy' + * ) + * //=> '02/11/2014' + * + * @example + * // Represent 2 July 2014 in Esperanto: + * import { eoLocale } from 'date-fns/locale/eo' + * var result = format( + * new Date(2014, 6, 2), + * "do 'de' MMMM yyyy", + * {locale: eoLocale} + * ) + * //=> '2-a de julio 2014' + * + * @example + * // Escape string by single quote characters: + * var result = format( + * new Date(2014, 6, 2, 15), + * "h 'o''clock'" + * ) + * //=> "3 o'clock" + */ + function format(dirtyDate, dirtyFormatStr, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } - if (data) { - // moment.duration._locale = moment._locale = data; - globalLocale = data; - } - } + var formatStr = String(dirtyFormatStr); + var options = dirtyOptions || {}; - return globalLocale._abbr; - } + var locale = options.locale || _index10.default; - 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)); + var localeFirstWeekContainsDate = + locale.options && locale.options.firstWeekContainsDate; + var defaultFirstWeekContainsDate = + localeFirstWeekContainsDate == null + ? 1 + : (0, _index2.default)(localeFirstWeekContainsDate); + var firstWeekContainsDate = + options.firstWeekContainsDate == null + ? defaultFirstWeekContainsDate + : (0, _index2.default)(options.firstWeekContainsDate); + + // Test if weekStartsOn is between 1 and 7 _and_ is not NaN + if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) { + throw new RangeError( + 'firstWeekContainsDate must be between 1 and 7 inclusively' + ); + } - if (localeFamilies[name]) { - localeFamilies[name].forEach(function(x) { - defineLocale(x.name, x.config); - }); - } + var localeWeekStartsOn = locale.options && locale.options.weekStartsOn; + var defaultWeekStartsOn = + localeWeekStartsOn == null + ? 0 + : (0, _index2.default)(localeWeekStartsOn); + var weekStartsOn = + options.weekStartsOn == null + ? defaultWeekStartsOn + : (0, _index2.default)(options.weekStartsOn); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError( + 'weekStartsOn must be between 0 and 6 inclusively' + ); + } - // 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); + if (!locale.localize) { + throw new RangeError('locale must contain localize property'); + } - return locales[name]; - } else { - // useful for testing - delete locales[name]; - return null; - } - } + if (!locale.formatLong) { + throw new RangeError('locale must contain formatLong property'); + } - function updateLocale(name, config) { - if (config != null) { - var locale, - tmpLocale, - parentConfig = baseConfig; - // MERGE - tmpLocale = loadLocale(name); - if (tmpLocale != null) { - parentConfig = tmpLocale._config; - } - config = mergeConfigs(parentConfig, config); - locale = new Locale(config); - locale.parentLocale = locales[name]; - locales[name] = 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]; - } - } - } - return locales[name]; - } + var originalDate = (0, _index6.default)(dirtyDate, options); + + if (!(0, _index8.default)(originalDate, options)) { + return 'Invalid Date'; + } - // returns locale data - function getLocale(key) { - var locale; + // Convert the date in system timezone to the same date in UTC+00:00 timezone. + // This ensures that when UTC functions will be implemented, locales will be compatible with them. + // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/376 + var timezoneOffset = (0, _index4.default)(originalDate); + var utcDate = (0, _index16.default)( + originalDate, + timezoneOffset, + options + ); - if (key && key._locale && key._locale._abbr) { - key = key._locale._abbr; + var formatterOptions = { + firstWeekContainsDate: firstWeekContainsDate, + weekStartsOn: weekStartsOn, + locale: locale, + _originalDate: originalDate + }; + + var result = formatStr + .match(longFormattingTokensRegExp) + .map(function(substring) { + var firstCharacter = substring[0]; + if (firstCharacter === 'p' || firstCharacter === 'P') { + var longFormatter = _index14.default[firstCharacter]; + return longFormatter( + substring, + locale.formatLong, + formatterOptions + ); + } + return substring; + }) + .join('') + .match(formattingTokensRegExp) + .map(function(substring) { + // Replace two single quote characters with one single quote character + if (substring === "''") { + return "'"; } - if (!key) { - return globalLocale; + var firstCharacter = substring[0]; + if (firstCharacter === "'") { + return cleanEscapedString(substring); } - if (!isArray(key)) { - //short-circuit everything else - locale = loadLocale(key); - if (locale) { - return locale; + var formatter = _index12.default[firstCharacter]; + if (formatter) { + if ( + !options.awareOfUnicodeTokens && + (0, _index17.isProtectedToken)(substring) + ) { + (0, _index17.throwProtectedError)(substring); } - key = [key]; + return formatter( + utcDate, + substring, + locale.localize, + formatterOptions + ); } - return chooseLocale(key); - } + return substring; + }) + .join(''); - function listLocales() { - return keys(locales); - } + return result; + } - function checkOverflow(m) { - var overflow; - var a = m._a; + function cleanEscapedString(input) { + return input + .match(escapedStringRegExp)[1] + .replace(doubleQuoteRegExp, "'"); + } + module.exports = exports['default']; - 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; + /***/ + }, + /* 549 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - 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; - } + Object.defineProperty(exports, '__esModule', { + value: true + }); - getParsingFlags(m).overflow = overflow; - } + var _index = __webpack_require__(550); - return m; - } + var _index2 = _interopRequireDefault(_index); - // 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; - } + var _index3 = __webpack_require__(551); - 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() - ]; - } + var _index4 = _interopRequireDefault(_index3); - // 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, - expectedWeekday, - yearToUse; + var _index5 = __webpack_require__(553); - if (config._d) { - return; - } + var _index6 = _interopRequireDefault(_index5); - currentDate = currentDateArray(config); + var _index7 = __webpack_require__(554); - //compute day of the year from weeks and weekdays - if ( - config._w && - config._a[DATE] == null && - config._a[MONTH] == null - ) { - dayOfYearFromWeekInfo(config); - } + var _index8 = _interopRequireDefault(_index7); - //if the day of the year is set, figure out what it is - if (config._dayOfYear != null) { - yearToUse = defaults(config._a[YEAR], currentDate[YEAR]); + var _index9 = __webpack_require__(556); - if ( - config._dayOfYear > daysInYear(yearToUse) || - config._dayOfYear === 0 - ) { - getParsingFlags(config)._overflowDayOfYear = true; - } + var _index10 = _interopRequireDefault(_index9); - date = createUTCDate(yearToUse, 0, config._dayOfYear); - config._a[MONTH] = date.getUTCMonth(); - config._a[DATE] = date.getUTCDate(); - } + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - // 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]; - } + /** + * @type {Locale} + * @category Locales + * @summary English locale (United States). + * @language English + * @iso-639-2 eng + * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp} + * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss} + */ + var locale = { + formatDistance: _index2.default, + formatLong: _index4.default, + formatRelative: _index6.default, + localize: _index8.default, + match: _index10.default, + options: { + weekStartsOn: 0 /* Sunday */, + firstWeekContainsDate: 1 + } + }; - // 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]; - } + exports.default = locale; + module.exports = exports['default']; - // 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; - } + /***/ + }, + /* 550 */ + /***/ function(module, exports) { + 'use strict'; - config._d = (config._useUTC ? createUTCDate : createDate).apply( - null, - input - ); - expectedWeekday = config._useUTC - ? config._d.getUTCDay() - : config._d.getDay(); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = formatDistance; + var formatDistanceLocale = { + lessThanXSeconds: { + one: 'less than a second', + other: 'less than {{count}} seconds' + }, - // 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); - } + xSeconds: { + one: '1 second', + other: '{{count}} seconds' + }, - if (config._nextDay) { - config._a[HOUR] = 24; - } + halfAMinute: 'half a minute', - // check for mismatching day of week - if ( - config._w && - typeof config._w.d !== "undefined" && - config._w.d !== expectedWeekday - ) { - getParsingFlags(config).weekdayMismatch = true; - } - } + lessThanXMinutes: { + one: 'less than a minute', + other: 'less than {{count}} minutes' + }, - function dayOfYearFromWeekInfo(config) { - var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow; + xMinutes: { + one: '1 minute', + other: '{{count}} minutes' + }, - w = config._w; - if (w.GG != null || w.W != null || w.E != null) { - dow = 1; - doy = 4; + aboutXHours: { + one: 'about 1 hour', + other: 'about {{count}} hours' + }, - // 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; + xHours: { + one: '1 hour', + other: '{{count}} hours' + }, - var curWeek = weekOfYear(createLocal(), dow, doy); + xDays: { + one: '1 day', + other: '{{count}} days' + }, - weekYear = defaults(w.gg, config._a[YEAR], curWeek.year); + aboutXMonths: { + one: 'about 1 month', + other: 'about {{count}} months' + }, - // Default to current week. - week = defaults(w.w, curWeek.week); + xMonths: { + one: '1 month', + other: '{{count}} months' + }, - 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; - } - } - 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; - } - } - - // 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 tzRegex = /Z|[+-]\d\d(?::?\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}/] - ]; + aboutXYears: { + one: 'about 1 year', + other: 'about {{count}} years' + }, - // 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/] - ]; + xYears: { + one: '1 year', + other: '{{count}} years' + }, - 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; - - 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; - 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 (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; - } - } - config._f = dateFormat + (timeFormat || "") + (tzFormat || ""); - configFromStringAndFormat(config); - } else { - config._isValid = false; - } + overXYears: { + one: 'over 1 year', + other: 'over {{count}} years' + }, + + almostXYears: { + one: 'almost 1 year', + other: 'almost {{count}} years' + } + }; + + function formatDistance(token, count, options) { + options = options || {}; + + var result; + if (typeof formatDistanceLocale[token] === 'string') { + result = formatDistanceLocale[token]; + } else if (count === 1) { + result = formatDistanceLocale[token].one; + } else { + result = formatDistanceLocale[token].other.replace( + '{{count}}', + count + ); + } + + if (options.addSuffix) { + if (options.comparison > 0) { + return 'in ' + result; + } else { + return result + ' ago'; } + } + + return result; + } + module.exports = exports['default']; + + /***/ + }, + /* 551 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3 - var rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/; + Object.defineProperty(exports, '__esModule', { + value: true + }); - function extractFromRFC2822Strings( - yearStr, - monthStr, - dayStr, - hourStr, - minuteStr, - secondStr - ) { - var result = [ - untruncateYear(yearStr), - defaultLocaleMonthsShort.indexOf(monthStr), - parseInt(dayStr, 10), - parseInt(hourStr, 10), - parseInt(minuteStr, 10) - ]; + var _index = __webpack_require__(552); - if (secondStr) { - result.push(parseInt(secondStr, 10)); - } + var _index2 = _interopRequireDefault(_index); - return result; - } + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - function untruncateYear(yearStr) { - var year = parseInt(yearStr, 10); - if (year <= 49) { - return 2000 + year; - } else if (year <= 999) { - return 1900 + year; - } - return year; - } + var dateFormats = { + full: 'EEEE, MMMM do, y', + long: 'MMMM do, y', + medium: 'MMM d, y', + short: 'MM/dd/yyyy' + }; - function preprocessRFC2822(s) { - // Remove comments and folding whitespace and replace multiple-spaces with a single space - return s - .replace(/\([^)]*\)|[\n\t]/g, " ") - .replace(/(\s\s+)/g, " ") - .trim(); - } + var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' + }; - function checkWeekday(weekdayStr, parsedInput, config) { - if (weekdayStr) { - // TODO: Replace the vanilla JS Date object with an indepentent day-of-week check. - var weekdayProvided = defaultLocaleWeekdaysShort.indexOf( - weekdayStr - ), - weekdayActual = new Date( - parsedInput[0], - parsedInput[1], - parsedInput[2] - ).getDay(); - if (weekdayProvided !== weekdayActual) { - getParsingFlags(config).weekdayMismatch = true; - config._isValid = false; - return false; - } - } - return true; - } + var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' + }; - var obsOffsets = { - UT: 0, - GMT: 0, - EDT: -4 * 60, - EST: -5 * 60, - CDT: -5 * 60, - CST: -6 * 60, - MDT: -6 * 60, - MST: -7 * 60, - PDT: -7 * 60, - PST: -8 * 60 - }; + var formatLong = { + date: (0, _index2.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), - function calculateOffset(obsOffset, militaryOffset, numOffset) { - if (obsOffset) { - return obsOffsets[obsOffset]; - } else if (militaryOffset) { - // the only allowed military tz is Z - return 0; - } else { - var hm = parseInt(numOffset, 10); - var m = hm % 100, - h = (hm - m) / 100; - return h * 60 + m; - } - } - - // date and time from ref 2822 format - function configFromRFC2822(config) { - var match = rfc2822.exec(preprocessRFC2822(config._i)); - if (match) { - var parsedArray = extractFromRFC2822Strings( - match[4], - match[3], - match[2], - match[5], - match[6], - match[7] - ); - if (!checkWeekday(match[1], parsedArray, config)) { - return; - } + time: (0, _index2.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), - config._a = parsedArray; - config._tzm = calculateOffset(match[8], match[9], match[10]); + dateTime: (0, _index2.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) + }; - config._d = createUTCDate.apply(null, config._a); - config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); + exports.default = formatLong; + module.exports = exports['default']; - getParsingFlags(config).rfc2822 = true; - } else { - config._isValid = false; - } - } + /***/ + }, + /* 552 */ + /***/ function(module, exports) { + 'use strict'; - // date from iso format or fallback - function configFromString(config) { - var matched = aspNetJsonRegex.exec(config._i); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = buildFormatLongFn; + function buildFormatLongFn(args) { + return function(dirtyOptions) { + var options = dirtyOptions || {}; + var width = options.width ? String(options.width) : args.defaultWidth; + var format = args.formats[width] || args.formats[args.defaultWidth]; + return format; + }; + } + module.exports = exports['default']; - if (matched !== null) { - config._d = new Date(+matched[1]); - return; - } + /***/ + }, + /* 553 */ + /***/ function(module, exports) { + 'use strict'; - configFromISO(config); - if (config._isValid === false) { - delete config._isValid; - } else { - return; - } + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = formatRelative; + var formatRelativeLocale = { + lastWeek: "'last' eeee 'at' p", + yesterday: "'yesterday at' p", + today: "'today at' p", + tomorrow: "'tomorrow at' p", + nextWeek: "eeee 'at' p", + other: 'P' + }; - configFromRFC2822(config); - if (config._isValid === false) { - delete config._isValid; - } else { - return; - } + function formatRelative(token, date, baseDate, options) { + return formatRelativeLocale[token]; + } + module.exports = exports['default']; - // Final attempt, use Input Fallback - hooks.createFromInputFallback(config); - } + /***/ + }, + /* 554 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - 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" : "")); - } - ); + Object.defineProperty(exports, '__esModule', { + value: true + }); - // constant that refers to the ISO standard - hooks.ISO_8601 = function() {}; + var _index = __webpack_require__(555); - // constant that refers to the RFC 2822 form - hooks.RFC_2822 = function() {}; + var _index2 = _interopRequireDefault(_index); - // 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; + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - // 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) || - []; - - 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; - } - // 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); - } else if (config._strict && !parsedInput) { - getParsingFlags(config).unusedTokens.push(token); - } - } + var eraValues = { + narrow: ['B', 'A'], + abbreviated: ['BC', 'AD'], + wide: ['Before Christ', 'Anno Domini'] + }; - // add remaining unparsed input length to the string - getParsingFlags(config).charsLeftOver = - stringLength - totalParsedInputLength; - if (string.length > 0) { - getParsingFlags(config).unusedInput.push(string); - } + var quarterValues = { + narrow: ['1', '2', '3', '4'], + abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'], + wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter'] + }; - // clear _12h flag if hour is <= 12 - if ( - config._a[HOUR] <= 12 && - getParsingFlags(config).bigHour === true && - config._a[HOUR] > 0 - ) { - getParsingFlags(config).bigHour = undefined; - } + // Note: in English, the names of days of the week and months are capitalized. + // If you are making a new locale based on this one, check if the same is true for the language you're working on. + // Generally, formatted dates should look like they are in the middle of a sentence, + // e.g. in Spanish language the weekdays and months should be in the lowercase. + var monthValues = { + narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], + abbreviated: [ + 'Jan', + 'Feb', + 'Mar', + 'Apr', + 'May', + 'Jun', + 'Jul', + 'Aug', + 'Sep', + 'Oct', + 'Nov', + 'Dec' + ], + wide: [ + 'January', + 'February', + 'March', + 'April', + 'May', + 'June', + 'July', + 'August', + 'September', + 'October', + 'November', + 'December' + ] + }; - 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 - ); + var dayValues = { + narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'], + short: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + wide: [ + 'Sunday', + 'Monday', + 'Tuesday', + 'Wednesday', + 'Thursday', + 'Friday', + 'Saturday' + ] + }; - configFromArray(config); - checkOverflow(config); - } + var dayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mi', + noon: 'n', + morning: 'morning', + afternoon: 'afternoon', + evening: 'evening', + night: 'night' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'midnight', + noon: 'noon', + morning: 'morning', + afternoon: 'afternoon', + evening: 'evening', + night: 'night' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnight', + noon: 'noon', + morning: 'morning', + afternoon: 'afternoon', + evening: 'evening', + night: 'night' + } + }; + var formattingDayPeriodValues = { + narrow: { + am: 'a', + pm: 'p', + midnight: 'mi', + noon: 'n', + morning: 'in the morning', + afternoon: 'in the afternoon', + evening: 'in the evening', + night: 'at night' + }, + abbreviated: { + am: 'AM', + pm: 'PM', + midnight: 'midnight', + noon: 'noon', + morning: 'in the morning', + afternoon: 'in the afternoon', + evening: 'in the evening', + night: 'at night' + }, + wide: { + am: 'a.m.', + pm: 'p.m.', + midnight: 'midnight', + noon: 'noon', + morning: 'in the morning', + afternoon: 'in the afternoon', + evening: 'in the evening', + night: 'at night' + } + }; - function meridiemFixWrap(locale, hour, meridiem) { - var isPm; + function ordinalNumber(dirtyNumber, dirtyOptions) { + var number = Number(dirtyNumber); - 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 (!isPm && hour === 12) { - hour = 0; - } - return hour; - } else { - // this is not supposed to happen - return hour; - } + // If ordinal numbers depend on context, for example, + // if they are different for different grammatical genders, + // use `options.unit`: + // + // var options = dirtyOptions || {} + // var unit = String(options.unit) + // + // where `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear', + // 'day', 'hour', 'minute', 'second' + + var rem100 = number % 100; + if (rem100 > 20 || rem100 < 10) { + switch (rem100 % 10) { + case 1: + return number + 'st'; + case 2: + return number + 'nd'; + case 3: + return number + 'rd'; } + } + return number + 'th'; + } - // date from string and array of format strings - function configFromStringAndArray(config) { - var tempConfig, bestMoment, scoreToBeat, i, currentScore; + var localize = { + ordinalNumber: ordinalNumber, - if (config._f.length === 0) { - getParsingFlags(config).invalidFormat = true; - config._d = new Date(NaN); - return; - } + era: (0, _index2.default)({ + values: eraValues, + defaultWidth: 'wide' + }), - 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); + quarter: (0, _index2.default)({ + values: quarterValues, + defaultWidth: 'wide', + argumentCallback: function argumentCallback(quarter) { + return Number(quarter) - 1; + } + }), - if (!isValid(tempConfig)) { - continue; - } + month: (0, _index2.default)({ + values: monthValues, + defaultWidth: 'wide' + }), - // if there is any input that was not parsed add a penalty for that format - currentScore += getParsingFlags(tempConfig).charsLeftOver; + day: (0, _index2.default)({ + values: dayValues, + defaultWidth: 'wide' + }), - //or tokens - currentScore += - getParsingFlags(tempConfig).unusedTokens.length * 10; + dayPeriod: (0, _index2.default)({ + values: dayPeriodValues, + defaultWidth: 'wide', + formattingValues: formattingDayPeriodValues, + defaulFormattingWidth: 'wide' + }) + }; - getParsingFlags(tempConfig).score = currentScore; + exports.default = localize; + module.exports = exports['default']; - if (scoreToBeat == null || currentScore < scoreToBeat) { - scoreToBeat = currentScore; - bestMoment = tempConfig; - } - } + /***/ + }, + /* 555 */ + /***/ function(module, exports) { + 'use strict'; - extend(config, bestMoment || tempConfig); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = buildLocalizeFn; + function buildLocalizeFn(args) { + return function(dirtyIndex, dirtyOptions) { + var options = dirtyOptions || {}; + var width = options.width ? String(options.width) : args.defaultWidth; + var context = options.context + ? String(options.context) + : 'standalone'; + + var valuesArray; + if (context === 'formatting' && args.formattingValues) { + valuesArray = + args.formattingValues[width] || + args.formattingValues[args.defaultFormattingWidth]; + } else { + valuesArray = args.values[width] || args.values[args.defaultWidth]; } + var index = args.argumentCallback + ? args.argumentCallback(dirtyIndex) + : dirtyIndex; + return valuesArray[index]; + }; + } + module.exports = exports['default']; - 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); - } - ); + /***/ + }, + /* 556 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - configFromArray(config); - } + Object.defineProperty(exports, '__esModule', { + value: true + }); - 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 _index = __webpack_require__(557); - return res; - } + var _index2 = _interopRequireDefault(_index); - function prepareConfig(config) { - var input = config._i, - format = config._f; + var _index3 = __webpack_require__(558); - config._locale = config._locale || getLocale(config._l); + var _index4 = _interopRequireDefault(_index3); - if (input === null || (format === undefined && input === "")) { - return createInvalid({ nullInput: true }); - } + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - if (typeof input === "string") { - config._i = input = config._locale.preparse(input); - } + var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i; + var parseOrdinalNumberPattern = /\d+/i; - 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); - } + var matchEraPatterns = { + narrow: /^(b|a)/i, + abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i, + wide: /^(before christ|before common era|anno domini|common era)/i + }; + var parseEraPatterns = { + any: [/^b/i, /^(a|c)/i] + }; - if (!isValid(config)) { - config._d = null; - } + var matchQuarterPatterns = { + narrow: /^[1234]/i, + abbreviated: /^q[1234]/i, + wide: /^[1234](th|st|nd|rd)? quarter/i + }; + var parseQuarterPatterns = { + any: [/1/i, /2/i, /3/i, /4/i] + }; - return config; - } + var matchMonthPatterns = { + narrow: /^[jfmasond]/i, + abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i, + wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i + }; + var parseMonthPatterns = { + narrow: [ + /^j/i, + /^f/i, + /^m/i, + /^a/i, + /^m/i, + /^j/i, + /^j/i, + /^a/i, + /^s/i, + /^o/i, + /^n/i, + /^d/i + ], + any: [ + /^ja/i, + /^f/i, + /^mar/i, + /^ap/i, + /^may/i, + /^jun/i, + /^jul/i, + /^au/i, + /^s/i, + /^o/i, + /^n/i, + /^d/i + ] + }; - 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); - } - } + var matchDayPatterns = { + narrow: /^[smtwf]/i, + short: /^(su|mo|tu|we|th|fr|sa)/i, + abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i, + wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i + }; + var parseDayPatterns = { + narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], + any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i] + }; - function createLocalOrUTC(input, format, locale, strict, isUTC) { - var c = {}; + var matchDayPeriodPatterns = { + narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i, + any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i + }; + var parseDayPeriodPatterns = { + any: { + am: /^a/i, + pm: /^p/i, + midnight: /^mi/i, + noon: /^no/i, + morning: /morning/i, + afternoon: /afternoon/i, + evening: /evening/i, + night: /night/i + } + }; - if (locale === true || locale === false) { - strict = locale; - locale = undefined; - } + var match = { + ordinalNumber: (0, _index2.default)({ + matchPattern: matchOrdinalNumberPattern, + parsePattern: parseOrdinalNumberPattern, + valueCallback: function valueCallback(value) { + return parseInt(value, 10); + } + }), - 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; + era: (0, _index4.default)({ + matchPatterns: matchEraPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseEraPatterns, + defaultParseWidth: 'any' + }), - return createFromConfig(c); + quarter: (0, _index4.default)({ + matchPatterns: matchQuarterPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseQuarterPatterns, + defaultParseWidth: 'any', + valueCallback: function valueCallback(index) { + return index + 1; } + }), - function createLocal(input, format, locale, strict) { - return createLocalOrUTC(input, format, locale, strict, false); - } + month: (0, _index4.default)({ + matchPatterns: matchMonthPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseMonthPatterns, + defaultParseWidth: 'any' + }), - 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(); - } - } - ); + day: (0, _index4.default)({ + matchPatterns: matchDayPatterns, + defaultMatchWidth: 'wide', + parsePatterns: parseDayPatterns, + defaultParseWidth: 'any' + }), - 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(); - } - } - ); + dayPeriod: (0, _index4.default)({ + matchPatterns: matchDayPeriodPatterns, + defaultMatchWidth: 'any', + parsePatterns: parseDayPeriodPatterns, + defaultParseWidth: 'any' + }) + }; - // 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; - } + exports.default = match; + module.exports = exports['default']; - // TODO: Use [].sort instead? - function min() { - var args = [].slice.call(arguments, 0); + /***/ + }, + /* 557 */ + /***/ function(module, exports) { + 'use strict'; - return pickBy("isBefore", args); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = buildMatchPatternFn; + function buildMatchPatternFn(args) { + return function(dirtyString, dirtyOptions) { + var string = String(dirtyString); + var options = dirtyOptions || {}; + + var matchResult = string.match(args.matchPattern); + if (!matchResult) { + return null; } + var matchedString = matchResult[0]; - function max() { - var args = [].slice.call(arguments, 0); - - return pickBy("isAfter", args); + var parseResult = string.match(args.parsePattern); + if (!parseResult) { + return null; } + var value = args.valueCallback + ? args.valueCallback(parseResult[0]) + : parseResult[0]; + value = options.valueCallback ? options.valueCallback(value) : value; - var now = function() { - return Date.now ? Date.now() : +new Date(); + return { + value: value, + rest: string.slice(matchedString.length) }; + }; + } + module.exports = exports['default']; - var ordering = [ - "year", - "quarter", - "month", - "week", - "day", - "hour", - "minute", - "second", - "millisecond" - ]; + /***/ + }, + /* 558 */ + /***/ function(module, exports) { + 'use strict'; - function isDurationValid(m) { - for (var key in m) { - if ( - !( - indexOf.call(ordering, key) !== -1 && - (m[key] == null || !isNaN(m[key])) - ) - ) { - return false; - } - } + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = buildMatchFn; + function buildMatchFn(args) { + return function(dirtyString, dirtyOptions) { + var string = String(dirtyString); + var options = dirtyOptions || {}; + var width = options.width; + + var matchPattern = + (width && args.matchPatterns[width]) || + args.matchPatterns[args.defaultMatchWidth]; + var matchResult = string.match(matchPattern); + + if (!matchResult) { + return null; + } + var matchedString = matchResult[0]; - 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; - } - } - } + var parsePatterns = + (width && args.parsePatterns[width]) || + args.parsePatterns[args.defaultParseWidth]; - return true; + var value; + if ( + Object.prototype.toString.call(parsePatterns) === '[object Array]' + ) { + value = parsePatterns.findIndex(function(pattern) { + return pattern.test(string); + }); + } else { + value = findKey(parsePatterns, function(pattern) { + return pattern.test(string); + }); } - function isValid$1() { - return this._isValid; - } + value = args.valueCallback ? args.valueCallback(value) : value; + value = options.valueCallback ? options.valueCallback(value) : value; + + return { + value: value, + rest: string.slice(matchedString.length) + }; + }; + } - function createInvalid$1() { - return createDuration(NaN); + function findKey(object, predicate) { + for (var key in object) { + if (object.hasOwnProperty(key) && predicate(object[key])) { + return key; } + } + } + module.exports = exports['default']; - 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; + /***/ + }, + /* 559 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - this._isValid = isDurationValid(normalizedInput); + Object.defineProperty(exports, '__esModule', { + value: true + }); - // 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 to 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; + var _index = __webpack_require__(560); - this._data = {}; + var _index2 = _interopRequireDefault(_index); - this._locale = getLocale(); + var _index3 = __webpack_require__(561); - this._bubble(); - } + var _index4 = _interopRequireDefault(_index3); - function isDuration(obj) { - return obj instanceof Duration; - } + var _index5 = __webpack_require__(564); - function absRound(number) { - if (number < 0) { - return Math.round(-1 * number) * -1; - } else { - return Math.round(number); - } - } + var _index6 = _interopRequireDefault(_index5); - // FORMATTING + var _index7 = __webpack_require__(565); - 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) - ); - }); - } + var _index8 = _interopRequireDefault(_index7); - offset("Z", ":"); - offset("ZZ", ""); + var _index9 = __webpack_require__(568); - // PARSING + var _index10 = _interopRequireDefault(_index9); - addRegexToken("Z", matchShortOffset); - addRegexToken("ZZ", matchShortOffset); - addParseToken(["Z", "ZZ"], function(input, array, config) { - config._useUTC = true; - config._tzm = offsetFromString(matchShortOffset, input); - }); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - // HELPERS + var dayPeriodEnum = { + am: 'am', + pm: 'pm', + midnight: 'midnight', + noon: 'noon', + morning: 'morning', + afternoon: 'afternoon', + evening: 'evening', + night: 'night' + }; - // timezone chunker - // '+10:00' > ['10', '00'] - // '-1530' > ['-15', '30'] - var chunkOffset = /([\+\-]|\d\d)/gi; + /* + * | | Unit | | Unit | + * |-----|--------------------------------|-----|--------------------------------| + * | a | AM, PM | A* | Milliseconds in day | + * | b | AM, PM, noon, midnight | B | Flexible day period | + * | c | Stand-alone local day of week | C* | Localized hour w/ day period | + * | d | Day of month | D | Day of year | + * | e | Local day of week | E | Day of week | + * | f | | F* | Day of week in month | + * | g* | Modified Julian day | G | Era | + * | h | Hour [1-12] | H | Hour [0-23] | + * | i! | ISO day of week | I! | ISO week of year | + * | j* | Localized hour w/ day period | J* | Localized hour w/o day period | + * | k | Hour [1-24] | K | Hour [0-11] | + * | l* | (deprecated) | L | Stand-alone month | + * | m | Minute | M | Month | + * | n | | N | | + * | o! | Ordinal number modifier | O | Timezone (GMT) | + * | p! | Long localized time | P! | Long localized date | + * | q | Stand-alone quarter | Q | Quarter | + * | r* | Related Gregorian year | R! | ISO week-numbering year | + * | s | Second | S | Fraction of second | + * | t! | Seconds timestamp | T! | Milliseconds timestamp | + * | u | Extended year | U* | Cyclic year | + * | v* | Timezone (generic non-locat.) | V* | Timezone (location) | + * | w | Local week of year | W* | Week of month | + * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) | + * | y | Year (abs) | Y | Local week-numbering year | + * | z | Timezone (specific non-locat.) | Z* | Timezone (aliases) | + * + * Letters marked by * are not implemented but reserved by Unicode standard. + * + * Letters marked by ! are non-standard, but implemented by date-fns: + * - `o` modifies the previous token to turn it into an ordinal (see `format` docs) + * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days, + * i.e. 7 for Sunday, 1 for Monday, etc. + * - `I` is ISO week of year, as opposed to `w` which is local week of year. + * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year. + * `R` is supposed to be used in conjunction with `I` and `i` + * for universal ISO week-numbering date, whereas + * `Y` is supposed to be used in conjunction with `w` and `e` + * for week-numbering date specific to the locale. + * - `P` is long localized date format + * - `p` is long localized time format + */ - function offsetFromString(matcher, string) { - var matches = (string || "").match(matcher); + var formatters = { + // Era + G: function G(date, token, localize) { + var era = date.getUTCFullYear() > 0 ? 1 : 0; + switch (token) { + // AD, BC + case 'G': + case 'GG': + case 'GGG': + return localize.era(era, { width: 'abbreviated' }); + // A, B + case 'GGGGG': + return localize.era(era, { width: 'narrow' }); + // Anno Domini, Before Christ + case 'GGGG': + default: + return localize.era(era, { width: 'wide' }); + } + }, - if (matches === null) { - return null; - } + // Year + y: function y(date, token, localize, options) { + // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens + // | Year | y | yy | yyy | yyyy | yyyyy | + // |----------|-------|----|-------|-------|-------| + // | AD 1 | 1 | 01 | 001 | 0001 | 00001 | + // | AD 12 | 12 | 12 | 012 | 0012 | 00012 | + // | AD 123 | 123 | 23 | 123 | 0123 | 00123 | + // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 | + // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 | - var chunk = matches[matches.length - 1] || []; - var parts = (chunk + "").match(chunkOffset) || ["-", 0, 0]; - var minutes = +(parts[1] * 60) + toInt(parts[2]); + var signedYear = date.getUTCFullYear(); - return minutes === 0 ? 0 : parts[0] === "+" ? minutes : -minutes; - } + // Returns 1 for 1 BC (which is year 0 in JavaScript) + var year = signedYear > 0 ? signedYear : 1 - signedYear; - // 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(); - } + // Two digit year + if (token === 'yy') { + var twoDigitYear = year % 100; + return addLeadingZeros(twoDigitYear, 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; + // Ordinal number + if (token === 'yo') { + return localize.ordinalNumber(year, { unit: 'year' }); } - // HOOKS + // Padding + return addLeadingZeros(year, token.length); + }, - // 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() {}; + // Local week-numbering year + Y: function Y(date, token, localize, options) { + var signedWeekYear = (0, _index10.default)(date, options); + var weekYear = + signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear; - // MOMENTS + // Two digit year + if (token === 'YY') { + var twoDigitYear = weekYear % 100; + return addLeadingZeros(twoDigitYear, 2); + } - // 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); - } + // Ordinal number + if (token === 'Yo') { + return localize.ordinalNumber(weekYear, { unit: 'year' }); } - function getSetZone(input, keepLocalTime) { - if (input != null) { - if (typeof input !== "string") { - input = -input; - } + // Padding + return addLeadingZeros(weekYear, token.length); + }, - this.utcOffset(input, keepLocalTime); + // ISO week-numbering year + R: function R(date, token, localize, options) { + var isoWeekYear = (0, _index6.default)(date, options); - return this; - } else { - return -this.utcOffset(); - } - } + // Padding + return addLeadingZeros(isoWeekYear, token.length); + }, - function setOffsetToUTC(keepLocalTime) { - return this.utcOffset(0, keepLocalTime); + // Extended year. This is a single number designating the year of this calendar system. + // The main difference between `y` and `u` localizers are B.C. years: + // | Year | `y` | `u` | + // |------|-----|-----| + // | AC 1 | 1 | 1 | + // | BC 1 | 1 | 0 | + // | BC 2 | 2 | -1 | + // Also `yy` always returns the last two digits of a year, + // while `uu` pads single digit years to 2 characters and returns other years unchanged. + u: function u(date, token, localize, options) { + var year = date.getUTCFullYear(); + return addLeadingZeros(year, token.length); + }, + + // Quarter + Q: function Q(date, token, localize, options) { + var quarter = Math.ceil((date.getUTCMonth() + 1) / 3); + switch (token) { + // 1, 2, 3, 4 + case 'Q': + return String(quarter); + // 01, 02, 03, 04 + case 'QQ': + return addLeadingZeros(quarter, 2); + // 1st, 2nd, 3rd, 4th + case 'Qo': + return localize.ordinalNumber(quarter, { unit: 'quarter' }); + // Q1, Q2, Q3, Q4 + case 'QQQ': + return localize.quarter(quarter, { + width: 'abbreviated', + context: 'formatting' + }); + // 1, 2, 3, 4 (narrow quarter; could be not numerical) + case 'QQQQQ': + return localize.quarter(quarter, { + width: 'narrow', + context: 'formatting' + }); + // 1st quarter, 2nd quarter, ... + case 'QQQQ': + default: + return localize.quarter(quarter, { + width: 'wide', + context: 'formatting' + }); } + }, - function setOffsetToLocal(keepLocalTime) { - if (this._isUTC) { - this.utcOffset(0, keepLocalTime); - this._isUTC = false; + // Stand-alone quarter + q: function q(date, token, localize, options) { + var quarter = Math.ceil((date.getUTCMonth() + 1) / 3); + switch (token) { + // 1, 2, 3, 4 + case 'q': + return String(quarter); + // 01, 02, 03, 04 + case 'qq': + return addLeadingZeros(quarter, 2); + // 1st, 2nd, 3rd, 4th + case 'qo': + return localize.ordinalNumber(quarter, { unit: 'quarter' }); + // Q1, Q2, Q3, Q4 + case 'qqq': + return localize.quarter(quarter, { + width: 'abbreviated', + context: 'standalone' + }); + // 1, 2, 3, 4 (narrow quarter; could be not numerical) + case 'qqqqq': + return localize.quarter(quarter, { + width: 'narrow', + context: 'standalone' + }); + // 1st quarter, 2nd quarter, ... + case 'qqqq': + default: + return localize.quarter(quarter, { + width: 'wide', + context: 'standalone' + }); + } + }, - if (keepLocalTime) { - this.subtract(getDateOffset(this), "m"); - } - } - return this; + // Month + M: function M(date, token, localize, options) { + var month = date.getUTCMonth(); + switch (token) { + // 1, 2, ..., 12 + case 'M': + return String(month + 1); + // 01, 02, ..., 12 + case 'MM': + return addLeadingZeros(month + 1, 2); + // 1st, 2nd, ..., 12th + case 'Mo': + return localize.ordinalNumber(month + 1, { unit: 'month' }); + // Jan, Feb, ..., Dec + case 'MMM': + return localize.month(month, { + width: 'abbreviated', + context: 'formatting' + }); + // J, F, ..., D + case 'MMMMM': + return localize.month(month, { + width: 'narrow', + context: 'formatting' + }); + // January, February, ..., December + case 'MMMM': + default: + return localize.month(month, { + width: 'wide', + context: 'formatting' + }); } + }, - 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; + // Stand-alone month + L: function L(date, token, localize, options) { + var month = date.getUTCMonth(); + switch (token) { + // 1, 2, ..., 12 + case 'L': + return String(month + 1); + // 01, 02, ..., 12 + case 'LL': + return addLeadingZeros(month + 1, 2); + // 1st, 2nd, ..., 12th + case 'Lo': + return localize.ordinalNumber(month + 1, { unit: 'month' }); + // Jan, Feb, ..., Dec + case 'LLL': + return localize.month(month, { + width: 'abbreviated', + context: 'standalone' + }); + // J, F, ..., D + case 'LLLLL': + return localize.month(month, { + width: 'narrow', + context: 'standalone' + }); + // January, February, ..., December + case 'LLLL': + default: + return localize.month(month, { + width: 'wide', + context: 'standalone' + }); } + }, - function hasAlignedHourOffset(input) { - if (!this.isValid()) { - return false; - } - input = input ? createLocal(input).utcOffset() : 0; + // Local week of year + w: function w(date, token, localize, options) { + var week = (0, _index8.default)(date, options); - return (this.utcOffset() - input) % 60 === 0; + if (token === 'wo') { + return localize.ordinalNumber(week, { unit: 'week' }); } - function isDaylightSavingTime() { - return ( - this.utcOffset() > - this.clone() - .month(0) - .utcOffset() || - this.utcOffset() > - this.clone() - .month(5) - .utcOffset() - ); - } + return addLeadingZeros(week, token.length); + }, - function isDaylightSavingTimeShifted() { - if (!isUndefined(this._isDSTShifted)) { - return this._isDSTShifted; - } + // ISO week of year + I: function I(date, token, localize, options) { + var isoWeek = (0, _index4.default)(date, options); - var c = {}; + if (token === 'Io') { + return localize.ordinalNumber(isoWeek, { unit: 'week' }); + } - copyConfig(c, this); - c = prepareConfig(c); + return addLeadingZeros(isoWeek, token.length); + }, - 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; - } + // Day of the month + d: function d(date, token, localize, options) { + var dayOfMonth = date.getUTCDate(); - return this._isDSTShifted; + if (token === 'do') { + return localize.ordinalNumber(dayOfMonth, { unit: 'date' }); } - function isLocal() { - return this.isValid() ? !this._isUTC : false; - } + return addLeadingZeros(dayOfMonth, token.length); + }, + + // Day of year + D: function D(date, token, localize, options) { + var dayOfYear = (0, _index2.default)(date, options); - function isUtcOffset() { - return this.isValid() ? this._isUTC : false; + if (token === 'Do') { + return localize.ordinalNumber(dayOfYear, { unit: 'dayOfYear' }); } - function isUtc() { - return this.isValid() ? this._isUTC && this._offset === 0 : false; + return addLeadingZeros(dayOfYear, token.length); + }, + + // Day of week + E: function E(date, token, localize, options) { + var dayOfWeek = date.getUTCDay(); + switch (token) { + // Tue + case 'E': + case 'EE': + case 'EEE': + return localize.day(dayOfWeek, { + width: 'abbreviated', + context: 'formatting' + }); + // T + case 'EEEEE': + return localize.day(dayOfWeek, { + width: 'narrow', + context: 'formatting' + }); + // Tu + case 'EEEEEE': + return localize.day(dayOfWeek, { + width: 'short', + context: 'formatting' + }); + // Tuesday + case 'EEEE': + default: + return localize.day(dayOfWeek, { + width: 'wide', + context: 'formatting' + }); } + }, - // ASP.NET json date format regex - var aspNetRegex = /^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/; + // Local day of week + e: function e(date, token, localize, options) { + var dayOfWeek = date.getUTCDay(); + var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7; + switch (token) { + // Numerical value (Nth day of week with current locale or weekStartsOn) + case 'e': + return String(localDayOfWeek); + // Padded numerical value + case 'ee': + return addLeadingZeros(localDayOfWeek, 2); + // 1st, 2nd, ..., 7th + case 'eo': + return localize.ordinalNumber(localDayOfWeek, { unit: 'day' }); + case 'eee': + return localize.day(dayOfWeek, { + width: 'abbreviated', + context: 'formatting' + }); + // T + case 'eeeee': + return localize.day(dayOfWeek, { + width: 'narrow', + context: 'formatting' + }); + // Tu + case 'eeeeee': + return localize.day(dayOfWeek, { + width: 'short', + context: 'formatting' + }); + // Tuesday + case 'eeee': + default: + return localize.day(dayOfWeek, { + width: 'wide', + context: 'formatting' + }); + } + }, - // 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)?)?$/; + // Stand-alone local day of week + c: function c(date, token, localize, options) { + var dayOfWeek = date.getUTCDay(); + var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7; + switch (token) { + // Numerical value (same as in `e`) + case 'c': + return String(localDayOfWeek); + // Padded numberical value + case 'cc': + return addLeadingZeros(localDayOfWeek, token.length); + // 1st, 2nd, ..., 7th + case 'co': + return localize.ordinalNumber(localDayOfWeek, { unit: 'day' }); + case 'ccc': + return localize.day(dayOfWeek, { + width: 'abbreviated', + context: 'standalone' + }); + // T + case 'ccccc': + return localize.day(dayOfWeek, { + width: 'narrow', + context: 'standalone' + }); + // Tu + case 'cccccc': + return localize.day(dayOfWeek, { + width: 'short', + context: 'standalone' + }); + // Tuesday + case 'cccc': + default: + return localize.day(dayOfWeek, { + width: 'wide', + context: 'standalone' + }); + } + }, - function createDuration(input, key) { - var duration = input, - // matching against regexp is expensive, do it on demand - match = null, - sign, - ret, - diffRes; + // ISO day of week + i: function i(date, token, localize, options) { + var dayOfWeek = date.getUTCDay(); + var isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek; + switch (token) { + // 2 + case 'i': + return String(isoDayOfWeek); + // 02 + case 'ii': + return addLeadingZeros(isoDayOfWeek, token.length); + // 2nd + case 'io': + return localize.ordinalNumber(isoDayOfWeek, { unit: 'day' }); + // Tue + case 'iii': + return localize.day(dayOfWeek, { + width: 'abbreviated', + context: 'formatting' + }); + // T + case 'iiiii': + return localize.day(dayOfWeek, { + width: 'narrow', + context: 'formatting' + }); + // Tu + case 'iiiiii': + return localize.day(dayOfWeek, { + width: 'short', + context: 'formatting' + }); + // Tuesday + case 'iiii': + default: + return localize.day(dayOfWeek, { + width: 'wide', + context: 'formatting' + }); + } + }, - 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 : 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) - ); + // AM or PM + a: function a(date, token, localize) { + var hours = date.getUTCHours(); + var dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am'; + + switch (token) { + case 'a': + case 'aa': + case 'aaa': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'abbreviated', + context: 'formatting' + }); + case 'aaaaa': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'narrow', + context: 'formatting' + }); + case 'aaaa': + default: + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'wide', + context: 'formatting' + }); + } + }, - duration = {}; - duration.ms = diffRes.milliseconds; - duration.M = diffRes.months; - } + // AM, PM, midnight, noon + b: function b(date, token, localize) { + var hours = date.getUTCHours(); + var dayPeriodEnumValue; + if (hours === 12) { + dayPeriodEnumValue = dayPeriodEnum.noon; + } else if (hours === 0) { + dayPeriodEnumValue = dayPeriodEnum.midnight; + } else { + dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am'; + } - ret = new Duration(duration); + switch (token) { + case 'b': + case 'bb': + case 'bbb': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'abbreviated', + context: 'formatting' + }); + case 'bbbbb': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'narrow', + context: 'formatting' + }); + case 'bbbb': + default: + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'wide', + context: 'formatting' + }); + } + }, - if (isDuration(input) && hasOwnProp(input, "_locale")) { - ret._locale = input._locale; - } + // in the morning, in the afternoon, in the evening, at night + B: function B(date, token, localize) { + var hours = date.getUTCHours(); + var dayPeriodEnumValue; + if (hours >= 17) { + dayPeriodEnumValue = dayPeriodEnum.evening; + } else if (hours >= 12) { + dayPeriodEnumValue = dayPeriodEnum.afternoon; + } else if (hours >= 4) { + dayPeriodEnumValue = dayPeriodEnum.morning; + } else { + dayPeriodEnumValue = dayPeriodEnum.night; + } - return ret; + switch (token) { + case 'B': + case 'BB': + case 'BBB': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'abbreviated', + context: 'formatting' + }); + case 'BBBBB': + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'narrow', + context: 'formatting' + }); + case 'BBBB': + default: + return localize.dayPeriod(dayPeriodEnumValue, { + width: 'wide', + context: 'formatting' + }); } + }, - createDuration.fn = Duration.prototype; - createDuration.invalid = createInvalid$1; + // Hour [1-12] + h: function h(date, token, localize, options) { + var hours = date.getUTCHours() % 12; - 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; + if (hours === 0) { + hours = 12; } - function positiveMomentsDifference(base, other) { - var res = { milliseconds: 0, months: 0 }; + if (token === 'ho') { + return localize.ordinalNumber(hours, { unit: 'hour' }); + } - res.months = - other.month() - base.month() + (other.year() - base.year()) * 12; - if ( - base - .clone() - .add(res.months, "M") - .isAfter(other) - ) { - --res.months; - } + return addLeadingZeros(hours, token.length); + }, - res.milliseconds = +other - +base.clone().add(res.months, "M"); + // Hour [0-23] + H: function H(date, token, localize, options) { + var hours = date.getUTCHours(); - return res; + if (token === 'Ho') { + return localize.ordinalNumber(hours, { unit: 'hour' }); } - function momentsDifference(base, other) { - var res; - if (!(base.isValid() && other.isValid())) { - return { milliseconds: 0, months: 0 }; - } + return addLeadingZeros(hours, token.length); + }, - 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; - } + // Hour [0-11] + K: function K(date, token, localize, options) { + var hours = date.getUTCHours() % 12; - return res; + if (token === 'Ko') { + return localize.ordinalNumber(hours, { unit: 'hour' }); } - // 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 addLeadingZeros(hours, token.length); + }, - val = typeof val === "string" ? +val : val; - dur = createDuration(val, period); - addSubtract(this, dur, direction); - return this; - }; + // Hour [1-24] + k: function k(date, token, localize, options) { + var hours = date.getUTCHours(); + + if (hours === 0) { + hours = 24; } - function addSubtract(mom, duration, isAdding, updateOffset) { - var milliseconds = duration._milliseconds, - days = absRound(duration._days), - months = absRound(duration._months); + if (token === 'ko') { + return localize.ordinalNumber(hours, { unit: 'hour' }); + } - if (!mom.isValid()) { - // No op - return; - } + return addLeadingZeros(hours, token.length); + }, - updateOffset = updateOffset == null ? true : updateOffset; + // Minute + m: function m(date, token, localize, options) { + var minutes = date.getUTCMinutes(); - if (months) { - setMonth(mom, get(mom, "Month") + months * isAdding); - } - if (days) { - set$1(mom, "Date", get(mom, "Date") + days * isAdding); - } - if (milliseconds) { - mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding); - } - if (updateOffset) { - hooks.updateOffset(mom, days || months); - } + if (token === 'mo') { + return localize.ordinalNumber(minutes, { unit: 'minute' }); } - var add = createAdder(1, "add"); - var subtract = createAdder(-1, "subtract"); + return addLeadingZeros(minutes, token.length); + }, + + // Second + s: function s(date, token, localize, options) { + var seconds = date.getUTCSeconds(); - 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"; + if (token === 'so') { + return localize.ordinalNumber(seconds, { unit: 'second' }); } - 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"; + return addLeadingZeros(seconds, token.length); + }, - var output = - formats && - (isFunction(formats[format]) - ? formats[format].call(this, now) - : formats[format]); + // Fraction of second + S: function S(date, token, localize, options) { + var numberOfDigits = token.length; + var milliseconds = date.getUTCMilliseconds(); + var fractionalSeconds = Math.floor( + milliseconds * Math.pow(10, numberOfDigits - 3) + ); + return addLeadingZeros(fractionalSeconds, numberOfDigits); + }, - return this.format( - output || - this.localeData().calendar(format, this, createLocal(now)) - ); + // Timezone (ISO-8601. If offset is 0, output is always `'Z'`) + X: function X(date, token, localize, options) { + var originalDate = options._originalDate || date; + var timezoneOffset = originalDate.getTimezoneOffset(); + + if (timezoneOffset === 0) { + return 'Z'; + } + + switch (token) { + // Hours and optional minutes + case 'X': + return formatTimezoneWithOptionalMinutes(timezoneOffset); + + // Hours, minutes and optional seconds without `:` delimeter + // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets + // so this token always has the same output as `XX` + case 'XXXX': + case 'XX': + // Hours and minutes without `:` delimeter + return formatTimezone(timezoneOffset); + + // Hours, minutes and optional seconds with `:` delimeter + // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets + // so this token always has the same output as `XXX` + case 'XXXXX': + case 'XXX': // Hours and minutes with `:` delimeter + default: + return formatTimezone(timezoneOffset, ':'); } + }, - function clone() { - return new Moment(this); + // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent) + x: function x(date, token, localize, options) { + var originalDate = options._originalDate || date; + var timezoneOffset = originalDate.getTimezoneOffset(); + + switch (token) { + // Hours and optional minutes + case 'x': + return formatTimezoneWithOptionalMinutes(timezoneOffset); + + // Hours, minutes and optional seconds without `:` delimeter + // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets + // so this token always has the same output as `xx` + case 'xxxx': + case 'xx': + // Hours and minutes without `:` delimeter + return formatTimezone(timezoneOffset); + + // Hours, minutes and optional seconds with `:` delimeter + // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets + // so this token always has the same output as `xxx` + case 'xxxxx': + case 'xxx': // Hours and minutes with `:` delimeter + default: + return formatTimezone(timezoneOffset, ':'); } + }, - 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() - ); - } + // Timezone (GMT) + O: function O(date, token, localize, options) { + var originalDate = options._originalDate || date; + var timezoneOffset = originalDate.getTimezoneOffset(); + + switch (token) { + // Short + case 'O': + case 'OO': + case 'OOO': + return 'GMT' + formatTimezoneShort(timezoneOffset, ':'); + // Long + case 'OOOO': + default: + return 'GMT' + formatTimezone(timezoneOffset, ':'); } + }, - 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() - ); - } + // Timezone (specific non-location) + z: function z(date, token, localize, options) { + var originalDate = options._originalDate || date; + var timezoneOffset = originalDate.getTimezoneOffset(); + + switch (token) { + // Short + case 'z': + case 'zz': + case 'zzz': + return 'GMT' + formatTimezoneShort(timezoneOffset, ':'); + // Long + case 'zzzz': + default: + return 'GMT' + formatTimezone(timezoneOffset, ':'); } + }, - 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)) - ); - } + // Seconds timestamp + t: function t(date, token, localize, options) { + var originalDate = options._originalDate || date; + var timestamp = Math.floor(originalDate.getTime() / 1000); + return addLeadingZeros(timestamp, token.length); + }, - function isSame(input, units) { - var localInput = isMoment(input) ? input : 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() - ); - } - } + // Milliseconds timestamp + T: function T(date, token, localize, options) { + var originalDate = options._originalDate || date; + var timestamp = originalDate.getTime(); + return addLeadingZeros(timestamp, token.length); + } + }; - function isSameOrAfter(input, units) { - return this.isSame(input, units) || this.isAfter(input, units); - } + function addLeadingZeros(number, targetLength) { + var sign = number < 0 ? '-' : ''; + var output = Math.abs(number).toString(); + while (output.length < targetLength) { + output = '0' + output; + } + return sign + output; + } - function isSameOrBefore(input, units) { - return this.isSame(input, units) || this.isBefore(input, units); - } + function formatTimezone(offset, dirtyDelimeter) { + var delimeter = dirtyDelimeter || ''; + var sign = offset > 0 ? '-' : '+'; + var absOffset = Math.abs(offset); + var hours = addLeadingZeros(Math.floor(absOffset / 60), 2); + var minutes = addLeadingZeros(absOffset % 60, 2); + return sign + hours + delimeter + minutes; + } - function diff(input, units, asFloat) { - var that, zoneDelta, delta, output; + function formatTimezoneWithOptionalMinutes(offset, dirtyDelimeter) { + if (offset % 60 === 0) { + var sign = offset > 0 ? '-' : '+'; + return sign + addLeadingZeros(Math.abs(offset) / 60, 2); + } + return formatTimezone(offset, dirtyDelimeter); + } - if (!this.isValid()) { - return NaN; - } + function formatTimezoneShort(offset, dirtyDelimeter) { + var sign = offset > 0 ? '-' : '+'; + var absOffset = Math.abs(offset); + var hours = Math.floor(absOffset / 60); + var minutes = absOffset % 60; + if (minutes === 0) { + return sign + String(hours); + } + var delimeter = dirtyDelimeter || ''; + return sign + String(hours) + delimeter + addLeadingZeros(minutes, 2); + } - that = cloneWithOffset(input, this); + exports.default = formatters; + module.exports = exports['default']; - if (!that.isValid()) { - return NaN; - } + /***/ + }, + /* 560 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; + + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = getUTCDayOfYear; - zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4; + var _index = __webpack_require__(545); - units = normalizeUnits(units); + var _index2 = _interopRequireDefault(_index); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + var MILLISECONDS_IN_DAY = 86400000; + + // This function will be a part of public API when UTC function will be implemented. + // See issue: https://github.com/date-fns/date-fns/issues/376 + function getUTCDayOfYear(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } + + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + var timestamp = date.getTime(); + date.setUTCMonth(0, 1); + date.setUTCHours(0, 0, 0, 0); + var startOfYearTimestamp = date.getTime(); + var difference = timestamp - startOfYearTimestamp; + return Math.floor(difference / MILLISECONDS_IN_DAY) + 1; + } + module.exports = exports['default']; + + /***/ + }, + /* 561 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - switch (units) { - case "year": - output = monthDiff(this, that) / 12; - break; - case "month": - output = monthDiff(this, that); - break; - case "quarter": - output = monthDiff(this, that) / 3; - break; - case "second": - output = (this - that) / 1e3; - break; // 1000 - case "minute": - output = (this - that) / 6e4; - break; // 1000 * 60 - case "hour": - output = (this - that) / 36e5; - break; // 1000 * 60 * 60 - case "day": - output = (this - that - zoneDelta) / 864e5; - break; // 1000 * 60 * 60 * 24, negate dst - case "week": - output = (this - that - zoneDelta) / 6048e5; - break; // 1000 * 60 * 60 * 24 * 7, negate dst - default: - output = this - that; - } + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = getUTCISOWeek; - return asFloat ? output : absFloor(output); - } + var _index = __webpack_require__(545); - 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; + var _index2 = _interopRequireDefault(_index); - 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); - } + var _index3 = __webpack_require__(562); - //check for negative zero, return zero if negative zero - return -(wholeMonthDiff + adjust) || 0; - } + var _index4 = _interopRequireDefault(_index3); - hooks.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ"; - hooks.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]"; + var _index5 = __webpack_require__(563); - function toString() { - return this.clone() - .locale("en") - .format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ"); - } + var _index6 = _interopRequireDefault(_index5); - function toISOString(keepOffset) { - if (!this.isValid()) { - return null; - } - var utc = keepOffset !== true; - var m = utc ? this.clone().utc() : this; - if (m.year() < 0 || m.year() > 9999) { - return formatMoment( - m, - utc - ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" - : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ" - ); - } - if (isFunction(Date.prototype.toISOString)) { - // native implementation is ~50x faster, use it when we can - if (utc) { - return this.toDate().toISOString(); - } else { - return new Date(this._d.valueOf()) - .toISOString() - .replace("Z", formatMoment(m, "Z")); - } - } - return formatMoment( - m, - utc - ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" - : "YYYY-MM-DD[T]HH:mm:ss.SSSZ" - ); - } + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - /** - * 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 + " */)"; - } - 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 + '[")]'; + var MILLISECONDS_IN_WEEK = 604800000; - return this.format(prefix + year + datetime + suffix); - } + // This function will be a part of public API when UTC function will be implemented. + // See issue: https://github.com/date-fns/date-fns/issues/376 + function getUTCISOWeek(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } - function format(inputString) { - if (!inputString) { - inputString = this.isUtc() - ? hooks.defaultFormatUtc - : hooks.defaultFormat; - } - var output = formatMoment(this, inputString); - return this.localeData().postformat(output); - } + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + var diff = + (0, _index4.default)(date, dirtyOptions).getTime() - + (0, _index6.default)(date, dirtyOptions).getTime(); - 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(); - } - } + // Round the number of days to the nearest integer + // because the number of milliseconds in a week is not constant + // (e.g. it's different in the week of the daylight saving time clock shift) + return Math.round(diff / MILLISECONDS_IN_WEEK) + 1; + } + module.exports = exports['default']; - function fromNow(withoutSuffix) { - return this.from(createLocal(), withoutSuffix); - } + /***/ + }, + /* 562 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - 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(); - } - } + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = startOfUTCISOWeek; - function toNow(withoutSuffix) { - return this.to(createLocal(), withoutSuffix); - } + var _index = __webpack_require__(545); - // 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; + var _index2 = _interopRequireDefault(_index); - if (key === undefined) { - return this._locale._abbr; - } else { - newLocaleData = getLocale(key); - if (newLocaleData != null) { - this._locale = newLocaleData; - } - return this; - } - } + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - 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); - } - } + // This function will be a part of public API when UTC function will be implemented. + // See issue: https://github.com/date-fns/date-fns/issues/376 + function startOfUTCISOWeek(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' ); + } - function localeData() { - return this._locale; - } - - 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); - } - - return this; - } + var weekStartsOn = 1; - function endOf(units) { - units = normalizeUnits(units); - if (units === undefined || units === "millisecond") { - return this; - } + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + var day = date.getUTCDay(); + var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn; - // 'date' is an alias for 'day', so it should be considered as such. - if (units === "date") { - units = "day"; - } + date.setUTCDate(date.getUTCDate() - diff); + date.setUTCHours(0, 0, 0, 0); + return date; + } + module.exports = exports['default']; - return this.startOf(units) - .add(1, units === "isoWeek" ? "week" : units) - .subtract(1, "ms"); - } + /***/ + }, + /* 563 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - function valueOf() { - return this._d.valueOf() - (this._offset || 0) * 60000; - } + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = startOfUTCISOWeekYear; - function unix() { - return Math.floor(this.valueOf() / 1000); - } + var _index = __webpack_require__(564); - function toDate() { - return new Date(this.valueOf()); - } + var _index2 = _interopRequireDefault(_index); - function toArray() { - var m = this; - return [ - m.year(), - m.month(), - m.date(), - m.hour(), - m.minute(), - m.second(), - m.millisecond() - ]; - } + var _index3 = __webpack_require__(562); - 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() - }; - } + var _index4 = _interopRequireDefault(_index3); - function toJSON() { - // new Date(NaN).toJSON() === null - return this.isValid() ? this.toISOString() : null; - } + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - function isValid$2() { - return isValid(this); - } + // This function will be a part of public API when UTC function will be implemented. + // See issue: https://github.com/date-fns/date-fns/issues/376 + function startOfUTCISOWeekYear(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } - function parsingFlags() { - return extend({}, getParsingFlags(this)); - } + var year = (0, _index2.default)(dirtyDate, dirtyOptions); + var fourthOfJanuary = new Date(0); + fourthOfJanuary.setUTCFullYear(year, 0, 4); + fourthOfJanuary.setUTCHours(0, 0, 0, 0); + var date = (0, _index4.default)(fourthOfJanuary, dirtyOptions); + return date; + } + module.exports = exports['default']; - function invalidAt() { - return getParsingFlags(this).overflow; - } + /***/ + }, + /* 564 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - function creationData() { - return { - input: this._i, - format: this._f, - locale: this._locale, - isUTC: this._isUTC, - strict: this._strict - }; - } + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = getUTCISOWeekYear; - // FORMATTING + var _index = __webpack_require__(545); - addFormatToken(0, ["gg", 2], 0, function() { - return this.weekYear() % 100; - }); + var _index2 = _interopRequireDefault(_index); - addFormatToken(0, ["GG", 2], 0, function() { - return this.isoWeekYear() % 100; - }); + var _index3 = __webpack_require__(562); - function addWeekYearFormatToken(token, getter) { - addFormatToken(0, [token, token.length], 0, getter); - } + var _index4 = _interopRequireDefault(_index3); - addWeekYearFormatToken("gggg", "weekYear"); - addWeekYearFormatToken("ggggg", "weekYear"); - addWeekYearFormatToken("GGGG", "isoWeekYear"); - addWeekYearFormatToken("GGGGG", "isoWeekYear"); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - // ALIASES + // This function will be a part of public API when UTC function will be implemented. + // See issue: https://github.com/date-fns/date-fns/issues/376 + function getUTCISOWeekYear(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } - addUnitAlias("weekYear", "gg"); - addUnitAlias("isoWeekYear", "GG"); + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + var year = date.getUTCFullYear(); - // PRIORITY + var fourthOfJanuaryOfNextYear = new Date(0); + fourthOfJanuaryOfNextYear.setUTCFullYear(year + 1, 0, 4); + fourthOfJanuaryOfNextYear.setUTCHours(0, 0, 0, 0); + var startOfNextYear = (0, _index4.default)( + fourthOfJanuaryOfNextYear, + dirtyOptions + ); - addUnitPriority("weekYear", 1); - addUnitPriority("isoWeekYear", 1); + var fourthOfJanuaryOfThisYear = new Date(0); + fourthOfJanuaryOfThisYear.setUTCFullYear(year, 0, 4); + fourthOfJanuaryOfThisYear.setUTCHours(0, 0, 0, 0); + var startOfThisYear = (0, _index4.default)( + fourthOfJanuaryOfThisYear, + dirtyOptions + ); - // PARSING + if (date.getTime() >= startOfNextYear.getTime()) { + return year + 1; + } else if (date.getTime() >= startOfThisYear.getTime()) { + return year; + } else { + return year - 1; + } + } + module.exports = exports['default']; - 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); + /***/ + }, + /* 565 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - addWeekParseToken(["gggg", "ggggg", "GGGG", "GGGGG"], function( - input, - week, - config, - token - ) { - week[token.substr(0, 2)] = toInt(input); - }); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = getUTCWeek; - addWeekParseToken(["gg", "GG"], function(input, week, config, token) { - week[token] = hooks.parseTwoDigitYear(input); - }); + var _index = __webpack_require__(545); - // MOMENTS + var _index2 = _interopRequireDefault(_index); - function getSetWeekYear(input) { - return getSetWeekYearHelper.call( - this, - input, - this.week(), - this.weekday(), - this.localeData()._week.dow, - this.localeData()._week.doy - ); - } + var _index3 = __webpack_require__(566); - function getSetISOWeekYear(input) { - return getSetWeekYearHelper.call( - this, - input, - this.isoWeek(), - this.isoWeekday(), - 1, - 4 - ); - } + var _index4 = _interopRequireDefault(_index3); - function getISOWeeksInYear() { - return weeksInYear(this.year(), 1, 4); - } + var _index5 = __webpack_require__(567); - function getWeeksInYear() { - var weekInfo = this.localeData()._week; - return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy); - } + var _index6 = _interopRequireDefault(_index5); - 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); - } - } + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - function setWeekAll(weekYear, week, weekday, dow, doy) { - var dayOfYearData = dayOfYearFromWeeks( - weekYear, - week, - weekday, - dow, - doy - ), - date = createUTCDate( - dayOfYearData.year, - 0, - dayOfYearData.dayOfYear - ); + var MILLISECONDS_IN_WEEK = 604800000; - this.year(date.getUTCFullYear()); - this.month(date.getUTCMonth()); - this.date(date.getUTCDate()); - return this; - } + // This function will be a part of public API when UTC function will be implemented. + // See issue: https://github.com/date-fns/date-fns/issues/376 + function getUTCWeek(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } - // FORMATTING + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + var diff = + (0, _index4.default)(date, dirtyOptions).getTime() - + (0, _index6.default)(date, dirtyOptions).getTime(); - addFormatToken("Q", 0, "Qo", "quarter"); + // Round the number of days to the nearest integer + // because the number of milliseconds in a week is not constant + // (e.g. it's different in the week of the daylight saving time clock shift) + return Math.round(diff / MILLISECONDS_IN_WEEK) + 1; + } + module.exports = exports['default']; - // ALIASES + /***/ + }, + /* 566 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - addUnitAlias("quarter", "Q"); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = startOfUTCWeek; - // PRIORITY + var _index = __webpack_require__(546); - addUnitPriority("quarter", 7); + var _index2 = _interopRequireDefault(_index); - // PARSING + var _index3 = __webpack_require__(545); - addRegexToken("Q", match1); - addParseToken("Q", function(input, array) { - array[MONTH] = (toInt(input) - 1) * 3; - }); + var _index4 = _interopRequireDefault(_index3); - // MOMENTS + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - function getSetQuarter(input) { - return input == null - ? Math.ceil((this.month() + 1) / 3) - : this.month((input - 1) * 3 + this.month() % 3); - } + // This function will be a part of public API when UTC function will be implemented. + // See issue: https://github.com/date-fns/date-fns/issues/376 + function startOfUTCWeek(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } - // FORMATTING + var options = dirtyOptions || {}; + var locale = options.locale; + var localeWeekStartsOn = + locale && locale.options && locale.options.weekStartsOn; + var defaultWeekStartsOn = + localeWeekStartsOn == null + ? 0 + : (0, _index2.default)(localeWeekStartsOn); + var weekStartsOn = + options.weekStartsOn == null + ? defaultWeekStartsOn + : (0, _index2.default)(options.weekStartsOn); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError( + 'weekStartsOn must be between 0 and 6 inclusively' + ); + } - addFormatToken("D", ["DD", 2], "Do", "date"); + var date = (0, _index4.default)(dirtyDate, options); + var day = date.getUTCDay(); + var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn; - // ALIASES + date.setUTCDate(date.getUTCDate() - diff); + date.setUTCHours(0, 0, 0, 0); + return date; + } + module.exports = exports['default']; - addUnitAlias("date", "D"); + /***/ + }, + /* 567 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - // PRIOROITY - addUnitPriority("date", 9); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = startOfUTCWeekYear; - // PARSING + var _index = __webpack_require__(546); - 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 _index2 = _interopRequireDefault(_index); - addParseToken(["D", "DD"], DATE); - addParseToken("Do", function(input, array) { - array[DATE] = toInt(input.match(match1to2)[0]); - }); + var _index3 = __webpack_require__(568); - // MOMENTS + var _index4 = _interopRequireDefault(_index3); - var getSetDayOfMonth = makeGetSet("Date", true); + var _index5 = __webpack_require__(566); - // FORMATTING + var _index6 = _interopRequireDefault(_index5); - addFormatToken("DDD", ["DDDD", 3], "DDDo", "dayOfYear"); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - // ALIASES + // This function will be a part of public API when UTC function will be implemented. + // See issue: https://github.com/date-fns/date-fns/issues/376 + function startOfUTCWeekYear(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } - addUnitAlias("dayOfYear", "DDD"); + var options = dirtyOptions || {}; + var locale = options.locale; + var localeFirstWeekContainsDate = + locale && locale.options && locale.options.firstWeekContainsDate; + var defaultFirstWeekContainsDate = + localeFirstWeekContainsDate == null + ? 1 + : (0, _index2.default)(localeFirstWeekContainsDate); + var firstWeekContainsDate = + options.firstWeekContainsDate == null + ? defaultFirstWeekContainsDate + : (0, _index2.default)(options.firstWeekContainsDate); + + var year = (0, _index4.default)(dirtyDate, dirtyOptions); + var firstWeek = new Date(0); + firstWeek.setUTCFullYear(year, 0, firstWeekContainsDate); + firstWeek.setUTCHours(0, 0, 0, 0); + var date = (0, _index6.default)(firstWeek, dirtyOptions); + return date; + } + module.exports = exports['default']; - // PRIORITY - addUnitPriority("dayOfYear", 4); + /***/ + }, + /* 568 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - // PARSING + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = getUTCWeekYear; - addRegexToken("DDD", match1to3); - addRegexToken("DDDD", match3); - addParseToken(["DDD", "DDDD"], function(input, array, config) { - config._dayOfYear = toInt(input); - }); + var _index = __webpack_require__(546); - // HELPERS + var _index2 = _interopRequireDefault(_index); - // MOMENTS + var _index3 = __webpack_require__(545); - 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"); - } + var _index4 = _interopRequireDefault(_index3); - // FORMATTING + var _index5 = __webpack_require__(566); - addFormatToken("m", ["mm", 2], 0, "minute"); + var _index6 = _interopRequireDefault(_index5); - // ALIASES + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - addUnitAlias("minute", "m"); + // This function will be a part of public API when UTC function will be implemented. + // See issue: https://github.com/date-fns/date-fns/issues/376 + function getUTCWeekYear(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } - // PRIORITY + var date = (0, _index4.default)(dirtyDate, dirtyOptions); + var year = date.getUTCFullYear(); - addUnitPriority("minute", 14); + var options = dirtyOptions || {}; + var locale = options.locale; + var localeFirstWeekContainsDate = + locale && locale.options && locale.options.firstWeekContainsDate; + var defaultFirstWeekContainsDate = + localeFirstWeekContainsDate == null + ? 1 + : (0, _index2.default)(localeFirstWeekContainsDate); + var firstWeekContainsDate = + options.firstWeekContainsDate == null + ? defaultFirstWeekContainsDate + : (0, _index2.default)(options.firstWeekContainsDate); + + // Test if weekStartsOn is between 1 and 7 _and_ is not NaN + if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) { + throw new RangeError( + 'firstWeekContainsDate must be between 1 and 7 inclusively' + ); + } - // PARSING + var firstWeekOfNextYear = new Date(0); + firstWeekOfNextYear.setUTCFullYear(year + 1, 0, firstWeekContainsDate); + firstWeekOfNextYear.setUTCHours(0, 0, 0, 0); + var startOfNextYear = (0, _index6.default)( + firstWeekOfNextYear, + dirtyOptions + ); - addRegexToken("m", match1to2); - addRegexToken("mm", match1to2, match2); - addParseToken(["m", "mm"], MINUTE); + var firstWeekOfThisYear = new Date(0); + firstWeekOfThisYear.setUTCFullYear(year, 0, firstWeekContainsDate); + firstWeekOfThisYear.setUTCHours(0, 0, 0, 0); + var startOfThisYear = (0, _index6.default)( + firstWeekOfThisYear, + dirtyOptions + ); - // MOMENTS + if (date.getTime() >= startOfNextYear.getTime()) { + return year + 1; + } else if (date.getTime() >= startOfThisYear.getTime()) { + return year; + } else { + return year - 1; + } + } + module.exports = exports['default']; - var getSetMinute = makeGetSet("Minutes", false); + /***/ + }, + /* 569 */ + /***/ function(module, exports) { + 'use strict'; - // FORMATTING + Object.defineProperty(exports, '__esModule', { + value: true + }); + function dateLongFormatter(pattern, formatLong, options) { + switch (pattern) { + case 'P': + return formatLong.date({ width: 'short' }); + case 'PP': + return formatLong.date({ width: 'medium' }); + case 'PPP': + return formatLong.date({ width: 'long' }); + case 'PPPP': + default: + return formatLong.date({ width: 'full' }); + } + } - addFormatToken("s", ["ss", 2], 0, "second"); + function timeLongFormatter(pattern, formatLong, options) { + switch (pattern) { + case 'p': + return formatLong.time({ width: 'short' }); + case 'pp': + return formatLong.time({ width: 'medium' }); + case 'ppp': + return formatLong.time({ width: 'long' }); + case 'pppp': + default: + return formatLong.time({ width: 'full' }); + } + } - // ALIASES + function dateTimeLongFormatter(pattern, formatLong, options) { + var matchResult = pattern.match(/(P+)(p+)?/); + var datePattern = matchResult[1]; + var timePattern = matchResult[2]; - addUnitAlias("second", "s"); + if (!timePattern) { + return dateLongFormatter(pattern, formatLong, options); + } - // PRIORITY + var dateTimeFormat; - addUnitPriority("second", 15); + switch (datePattern) { + case 'P': + dateTimeFormat = formatLong.dateTime({ width: 'short' }); + break; + case 'PP': + dateTimeFormat = formatLong.dateTime({ width: 'medium' }); + break; + case 'PPP': + dateTimeFormat = formatLong.dateTime({ width: 'long' }); + break; + case 'PPPP': + default: + dateTimeFormat = formatLong.dateTime({ width: 'full' }); + break; + } - // PARSING + return dateTimeFormat + .replace( + '{{date}}', + dateLongFormatter(datePattern, formatLong, options) + ) + .replace( + '{{time}}', + timeLongFormatter(timePattern, formatLong, options) + ); + } - addRegexToken("s", match1to2); - addRegexToken("ss", match1to2, match2); - addParseToken(["s", "ss"], SECOND); + var longFormatters = { + p: timeLongFormatter, + P: dateTimeLongFormatter + }; - // MOMENTS + exports.default = longFormatters; + module.exports = exports['default']; - var getSetSecond = makeGetSet("Seconds", false); + /***/ + }, + /* 570 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - // FORMATTING + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = subMilliseconds; - addFormatToken("S", 0, 0, function() { - return ~~(this.millisecond() / 100); - }); + var _index = __webpack_require__(546); - addFormatToken(0, ["SS", 2], 0, function() { - return ~~(this.millisecond() / 10); - }); + var _index2 = _interopRequireDefault(_index); - 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; - }); + var _index3 = __webpack_require__(571); - // ALIASES + var _index4 = _interopRequireDefault(_index3); - addUnitAlias("millisecond", "ms"); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - // PRIORITY + /** + * @name subMilliseconds + * @category Millisecond Helpers + * @summary Subtract the specified number of milliseconds from the given date. + * + * @description + * Subtract the specified number of milliseconds from the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} amount - the amount of milliseconds to be subtracted + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the milliseconds subtracted + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Subtract 750 milliseconds from 10 July 2014 12:45:30.000: + * var result = subMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750) + * //=> Thu Jul 10 2014 12:45:29.250 + */ + function subMilliseconds(dirtyDate, dirtyAmount, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } - addUnitPriority("millisecond", 16); + var amount = (0, _index2.default)(dirtyAmount); + return (0, _index4.default)(dirtyDate, -amount, dirtyOptions); + } + module.exports = exports['default']; - // PARSING + /***/ + }, + /* 571 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - addRegexToken("S", match1to3, match1); - addRegexToken("SS", match1to3, match2); - addRegexToken("SSS", match1to3, match3); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = addMilliseconds; - var token; - for (token = "SSSS"; token.length <= 9; token += "S") { - addRegexToken(token, matchUnsigned); - } + var _index = __webpack_require__(546); - function parseMs(input, array) { - array[MILLISECOND] = toInt(("0." + input) * 1000); - } + var _index2 = _interopRequireDefault(_index); - for (token = "S"; token.length <= 9; token += "S") { - addParseToken(token, parseMs); - } - // MOMENTS + var _index3 = __webpack_require__(545); - var getSetMillisecond = makeGetSet("Milliseconds", false); + var _index4 = _interopRequireDefault(_index3); - // FORMATTING + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - addFormatToken("z", 0, 0, "zoneAbbr"); - addFormatToken("zz", 0, 0, "zoneName"); - - // MOMENTS - - function getZoneAbbr() { - return this._isUTC ? "UTC" : ""; - } - - function getZoneName() { - return this._isUTC ? "Coordinated Universal Time" : ""; - } - - 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; - - // Year - proto.year = getSetYear; - proto.isLeapYear = getIsLeapYear; - - // Week Year - proto.weekYear = getSetWeekYear; - proto.isoWeekYear = getSetISOWeekYear; - - // Quarter - proto.quarter = proto.quarters = getSetQuarter; - - // 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 + /** + * @name addMilliseconds + * @category Millisecond Helpers + * @summary Add the specified number of milliseconds to the given date. + * + * @description + * Add the specified number of milliseconds to the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} amount - the amount of milliseconds to be added + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the milliseconds added + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Add 750 milliseconds to 10 July 2014 12:45:30.000: + * var result = addMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750) + * //=> Thu Jul 10 2014 12:45:30.750 + */ + function addMilliseconds(dirtyDate, dirtyAmount, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' ); + } - function createUnix(input) { - return createLocal(input * 1000); - } + var timestamp = (0, _index4.default)(dirtyDate, dirtyOptions).getTime(); + var amount = (0, _index2.default)(dirtyAmount); + return new Date(timestamp + amount); + } + module.exports = exports['default']; - function createInZone() { - return createLocal.apply(null, arguments).parseZone(); - } + /***/ + }, + /* 572 */ + /***/ function(module, exports) { + 'use strict'; - function preParsePostFormat(string) { - return string; - } + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.isProtectedToken = isProtectedToken; + exports.throwProtectedError = throwProtectedError; + var protectedTokens = (exports.protectedTokens = [ + 'D', + 'DD', + 'YY', + 'YYYY' + ]); - var proto$1 = Locale.prototype; + function isProtectedToken(token) { + return protectedTokens.indexOf(token) !== -1; + } - 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; + function throwProtectedError(token) { + throw new RangeError( + '`options.awareOfUnicodeTokens` must be set to `true` to use `' + + token + + '` token; see: https://git.io/fxCyr' + ); + } - // Month - proto$1.months = localeMonths; - proto$1.monthsShort = localeMonthsShort; - proto$1.monthsParse = localeMonthsParse; - proto$1.monthsRegex = monthsRegex; - proto$1.monthsShortRegex = monthsShortRegex; + /***/ + }, + /* 573 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - // Week - proto$1.week = localeWeek; - proto$1.firstDayOfYear = localeFirstDayOfYear; - proto$1.firstDayOfWeek = localeFirstDayOfWeek; + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = addMinutes; - // Day of Week - proto$1.weekdays = localeWeekdays; - proto$1.weekdaysMin = localeWeekdaysMin; - proto$1.weekdaysShort = localeWeekdaysShort; - proto$1.weekdaysParse = localeWeekdaysParse; + var _index = __webpack_require__(546); - proto$1.weekdaysRegex = weekdaysRegex; - proto$1.weekdaysShortRegex = weekdaysShortRegex; - proto$1.weekdaysMinRegex = weekdaysMinRegex; + var _index2 = _interopRequireDefault(_index); - // Hours - proto$1.isPM = localeIsPM; - proto$1.meridiem = localeMeridiem; + var _index3 = __webpack_require__(571); - function get$1(format, index, field, setter) { - var locale = getLocale(); - var utc = createUTC().set(setter, index); - return locale[field](utc, format); - } + var _index4 = _interopRequireDefault(_index3); - function listMonthsImpl(format, index, field) { - if (isNumber(format)) { - index = format; - format = undefined; - } + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - format = format || ""; + var MILLISECONDS_IN_MINUTE = 60000; - if (index != null) { - return get$1(format, index, field, "month"); - } + /** + * @name addMinutes + * @category Minute Helpers + * @summary Add the specified number of minutes to the given date. + * + * @description + * Add the specified number of minutes to the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} amount - the amount of minutes to be added + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the minutes added + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Add 30 minutes to 10 July 2014 12:00:00: + * var result = addMinutes(new Date(2014, 6, 10, 12, 0), 30) + * //=> Thu Jul 10 2014 12:30:00 + */ + function addMinutes(dirtyDate, dirtyAmount, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } - var i; - var out = []; - for (i = 0; i < 12; i++) { - out[i] = get$1(format, i, field, "month"); - } - return out; - } + var amount = (0, _index2.default)(dirtyAmount); + return (0, _index4.default)( + dirtyDate, + amount * MILLISECONDS_IN_MINUTE, + dirtyOptions + ); + } + module.exports = exports['default']; - // () - // (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; - } + /***/ + }, + /* 574 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - format = format || ""; - } else { - format = localeSorted; - index = format; - localeSorted = false; + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = addHours; - if (isNumber(format)) { - index = format; - format = undefined; - } + var _index = __webpack_require__(546); - format = format || ""; - } + var _index2 = _interopRequireDefault(_index); - var locale = getLocale(), - shift = localeSorted ? locale._week.dow : 0; + var _index3 = __webpack_require__(571); - if (index != null) { - return get$1(format, (index + shift) % 7, field, "day"); - } + var _index4 = _interopRequireDefault(_index3); - var i; - var out = []; - for (i = 0; i < 7; i++) { - out[i] = get$1(format, (i + shift) % 7, field, "day"); - } - return out; - } + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - function listMonths(format, index) { - return listMonthsImpl(format, index, "months"); - } + var MILLISECONDS_IN_HOUR = 3600000; - function listMonthsShort(format, index) { - return listMonthsImpl(format, index, "monthsShort"); - } + /** + * @name addHours + * @category Hour Helpers + * @summary Add the specified number of hours to the given date. + * + * @description + * Add the specified number of hours to the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} amount - the amount of hours to be added + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the hours added + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Add 2 hours to 10 July 2014 23:00:00: + * var result = addHours(new Date(2014, 6, 10, 23, 0), 2) + * //=> Fri Jul 11 2014 01:00:00 + */ + function addHours(dirtyDate, dirtyAmount, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } - function listWeekdays(localeSorted, format, index) { - return listWeekdaysImpl(localeSorted, format, index, "weekdays"); - } + var amount = (0, _index2.default)(dirtyAmount); + return (0, _index4.default)( + dirtyDate, + amount * MILLISECONDS_IN_HOUR, + dirtyOptions + ); + } + module.exports = exports['default']; - function listWeekdaysShort(localeSorted, format, index) { - return listWeekdaysImpl( - localeSorted, - format, - index, - "weekdaysShort" - ); - } + /***/ + }, + /* 575 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - function listWeekdaysMin(localeSorted, format, index) { - return listWeekdaysImpl(localeSorted, format, index, "weekdaysMin"); - } + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = addDays; - 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; - } - }); + var _index = __webpack_require__(546); - // 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 - ); + var _index2 = _interopRequireDefault(_index); + + var _index3 = __webpack_require__(545); + + var _index4 = _interopRequireDefault(_index3); - var mathAbs = Math.abs; + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - function abs() { - var data = this._data; + /** + * @name addDays + * @category Day Helpers + * @summary Add the specified number of days to the given date. + * + * @description + * Add the specified number of days to the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} amount - the amount of days to be added + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the days added + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Add 10 days to 1 September 2014: + * var result = addDays(new Date(2014, 8, 1), 10) + * //=> Thu Sep 11 2014 00:00:00 + */ + function addDays(dirtyDate, dirtyAmount, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } - this._milliseconds = mathAbs(this._milliseconds); - this._days = mathAbs(this._days); - this._months = mathAbs(this._months); + var date = (0, _index4.default)(dirtyDate, dirtyOptions); + var amount = (0, _index2.default)(dirtyAmount); + date.setDate(date.getDate() + amount); + return date; + } + module.exports = exports['default']; - 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); + /***/ + }, + /* 576 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - return this; - } + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = addWeeks; - function addSubtract$1(duration, input, value, direction) { - var other = createDuration(input, value); + var _index = __webpack_require__(546); - duration._milliseconds += direction * other._milliseconds; - duration._days += direction * other._days; - duration._months += direction * other._months; + var _index2 = _interopRequireDefault(_index); - return duration._bubble(); - } + var _index3 = __webpack_require__(575); - // supports only 2.0-style add(1, 's') or add(duration) - function add$1(input, value) { - return addSubtract$1(this, input, value, 1); - } + var _index4 = _interopRequireDefault(_index3); - // supports only 2.0-style subtract(1, 's') or subtract(duration) - function subtract$1(input, value) { - return addSubtract$1(this, input, value, -1); - } + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - function absCeil(number) { - if (number < 0) { - return Math.floor(number); - } else { - return Math.ceil(number); - } - } + /** + * @name addWeeks + * @category Week Helpers + * @summary Add the specified number of weeks to the given date. + * + * @description + * Add the specified number of week to the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} amount - the amount of weeks to be added + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the weeks added + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Add 4 weeks to 1 September 2014: + * var result = addWeeks(new Date(2014, 8, 1), 4) + * //=> Mon Sep 29 2014 00:00:00 + */ + function addWeeks(dirtyDate, dirtyAmount, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } - function bubble() { - var milliseconds = this._milliseconds; - var days = this._days; - var months = this._months; - var data = this._data; - var seconds, minutes, hours, years, monthsFromDays; + var amount = (0, _index2.default)(dirtyAmount); + var days = amount * 7; + return (0, _index4.default)(dirtyDate, days, dirtyOptions); + } + module.exports = exports['default']; - // 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; - } + /***/ + }, + /* 577 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - // The following code bubbles up values, see the tests for - // examples of what that means. - data.milliseconds = milliseconds % 1000; + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = addMonths; - seconds = absFloor(milliseconds / 1000); - data.seconds = seconds % 60; + var _index = __webpack_require__(546); - minutes = absFloor(seconds / 60); - data.minutes = minutes % 60; + var _index2 = _interopRequireDefault(_index); - hours = absFloor(minutes / 60); - data.hours = hours % 24; + var _index3 = __webpack_require__(545); - days += absFloor(hours / 24); + var _index4 = _interopRequireDefault(_index3); - // convert days to months - monthsFromDays = absFloor(daysToMonths(days)); - months += monthsFromDays; - days -= absCeil(monthsToDays(monthsFromDays)); + var _index5 = __webpack_require__(578); - // 12 months -> 1 year - years = absFloor(months / 12); - months %= 12; + var _index6 = _interopRequireDefault(_index5); - data.days = days; - data.months = months; - data.years = years; + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - return this; - } + /** + * @name addMonths + * @category Month Helpers + * @summary Add the specified number of months to the given date. + * + * @description + * Add the specified number of months to the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} amount - the amount of months to be added + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the months added + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Add 5 months to 1 September 2014: + * var result = addMonths(new Date(2014, 8, 1), 5) + * //=> Sun Feb 01 2015 00:00:00 + */ + function addMonths(dirtyDate, dirtyAmount, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } - function daysToMonths(days) { - // 400 years have 146097 days (taking into account leap year rules) - // 400 years have 12 months === 4800 - return days * 4800 / 146097; - } + var date = (0, _index4.default)(dirtyDate, dirtyOptions); + var amount = (0, _index2.default)(dirtyAmount); + var desiredMonth = date.getMonth() + amount; + var dateWithDesiredMonth = new Date(0); + dateWithDesiredMonth.setFullYear(date.getFullYear(), desiredMonth, 1); + dateWithDesiredMonth.setHours(0, 0, 0, 0); + var daysInMonth = (0, _index6.default)( + dateWithDesiredMonth, + dirtyOptions + ); + // Set the last day of the new month + // if the original date was the last day of the longer month + date.setMonth(desiredMonth, Math.min(daysInMonth, date.getDate())); + return date; + } + module.exports = exports['default']; - function monthsToDays(months) { - // the reverse of daysToMonths - return months * 146097 / 4800; - } + /***/ + }, + /* 578 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - function as(units) { - if (!this.isValid()) { - return NaN; - } - var days; - var months; - var milliseconds = this._milliseconds; + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = getDaysInMonth; - units = normalizeUnits(units); + var _index = __webpack_require__(545); - 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); - } - } - } + var _index2 = _interopRequireDefault(_index); - // 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 - ); - } + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - function makeAs(alias) { - return function() { - return this.as(alias); - }; - } + /** + * @name getDaysInMonth + * @category Month Helpers + * @summary Get the number of days in a month of the given date. + * + * @description + * Get the number of days in a month of the given date. + * + * @param {Date|String|Number} date - the given date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Number} the number of days in a month + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // How many days are in February 2000? + * var result = getDaysInMonth(new Date(2000, 1)) + * //=> 29 + */ + function getDaysInMonth(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } - 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 date = (0, _index2.default)(dirtyDate, dirtyOptions); + var year = date.getFullYear(); + var monthIndex = date.getMonth(); + var lastDayOfMonth = new Date(0); + lastDayOfMonth.setFullYear(year, monthIndex + 1, 0); + lastDayOfMonth.setHours(0, 0, 0, 0); + return lastDayOfMonth.getDate(); + } + module.exports = exports['default']; - function clone$1() { - return createDuration(this); - } + /***/ + }, + /* 579 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - function get$2(units) { - units = normalizeUnits(units); - return this.isValid() ? this[units + "s"]() : NaN; - } + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = addYears; - function makeGetter(name) { - return function() { - return this.isValid() ? this._data[name] : NaN; - }; - } + var _index = __webpack_require__(546); - 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"); + var _index2 = _interopRequireDefault(_index); - function weeks() { - return absFloor(this.days() / 7); - } + var _index3 = __webpack_require__(577); - 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 - }; + var _index4 = _interopRequireDefault(_index3); - // 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 _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - 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; - } + /** + * @name addYears + * @category Year Helpers + * @summary Add the specified number of years to the given date. + * + * @description + * Add the specified number of years to the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} amount - the amount of years to be added + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the years added + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Add 5 years to 1 September 2014: + * var result = addYears(new Date(2014, 8, 1), 5) + * //=> Sun Sep 01 2019 00:00:00 + */ + function addYears(dirtyDate, dirtyAmount, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } - // This function allows you to set a threshold for relative time strings - function getSetRelativeTimeThreshold(threshold, limit) { - if (thresholds[threshold] === undefined) { - return false; - } - if (limit === undefined) { - return thresholds[threshold]; - } - thresholds[threshold] = limit; - if (threshold === "s") { - thresholds.ss = limit - 1; - } - return true; - } + var amount = (0, _index2.default)(dirtyAmount); + return (0, _index4.default)(dirtyDate, amount * 12, dirtyOptions); + } + module.exports = exports['default']; - function humanize(withSuffix) { - if (!this.isValid()) { - return this.localeData().invalidDate(); - } + /***/ + }, + /* 580 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - var locale = this.localeData(); - var output = relativeTime$1(this, !withSuffix, locale); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = subMinutes; - if (withSuffix) { - output = locale.pastFuture(+this, output); - } + var _index = __webpack_require__(546); - return locale.postformat(output); - } + var _index2 = _interopRequireDefault(_index); - var abs$1 = Math.abs; + var _index3 = __webpack_require__(573); - function sign(x) { - return (x > 0) - (x < 0) || +x; - } + var _index4 = _interopRequireDefault(_index3); - 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(); - } + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - var seconds = abs$1(this._milliseconds) / 1000; - var days = abs$1(this._days); - var months = abs$1(this._months); - var minutes, hours, years; + /** + * @name subMinutes + * @category Minute Helpers + * @summary Subtract the specified number of minutes from the given date. + * + * @description + * Subtract the specified number of minutes from the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} amount - the amount of minutes to be subtracted + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the mintues subtracted + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Subtract 30 minutes from 10 July 2014 12:00:00: + * var result = subMinutes(new Date(2014, 6, 10, 12, 0), 30) + * //=> Thu Jul 10 2014 11:30:00 + */ + function subMinutes(dirtyDate, dirtyAmount, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } - // 3600 seconds -> 60 minutes -> 1 hour - minutes = absFloor(seconds / 60); - hours = absFloor(minutes / 60); - seconds %= 60; - minutes %= 60; + var amount = (0, _index2.default)(dirtyAmount); + return (0, _index4.default)(dirtyDate, -amount, dirtyOptions); + } + module.exports = exports['default']; - // 12 months -> 1 year - years = absFloor(months / 12); - months %= 12; + /***/ + }, + /* 581 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - // 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 ? seconds.toFixed(3).replace(/\.?0+$/, "") : ""; - var total = this.asSeconds(); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = subHours; - if (!total) { - // this is the same as C#'s (Noda) and python (isodate)... - // but not other JS (goog.date) - return "P0D"; - } + var _index = __webpack_require__(546); - var totalSign = total < 0 ? "-" : ""; - var ymSign = sign(this._months) !== sign(total) ? "-" : ""; - var daysSign = sign(this._days) !== sign(total) ? "-" : ""; - var hmsSign = sign(this._milliseconds) !== sign(total) ? "-" : ""; + var _index2 = _interopRequireDefault(_index); - return ( - totalSign + - "P" + - (Y ? ymSign + Y + "Y" : "") + - (M ? ymSign + M + "M" : "") + - (D ? daysSign + D + "D" : "") + - (h || m || s ? "T" : "") + - (h ? hmsSign + h + "H" : "") + - (m ? hmsSign + m + "M" : "") + - (s ? hmsSign + s + "S" : "") - ); - } + var _index3 = __webpack_require__(574); - 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.clone = clone$1; - 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; + var _index4 = _interopRequireDefault(_index3); - // Side effect imports + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - // FORMATTING + /** + * @name subHours + * @category Hour Helpers + * @summary Subtract the specified number of hours from the given date. + * + * @description + * Subtract the specified number of hours from the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} amount - the amount of hours to be subtracted + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the hours subtracted + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Subtract 2 hours from 11 July 2014 01:00:00: + * var result = subHours(new Date(2014, 6, 11, 1, 0), 2) + * //=> Thu Jul 10 2014 23:00:00 + */ + function subHours(dirtyDate, dirtyAmount, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } - addFormatToken("X", 0, 0, "unix"); - addFormatToken("x", 0, 0, "valueOf"); + var amount = (0, _index2.default)(dirtyAmount); + return (0, _index4.default)(dirtyDate, -amount, dirtyOptions); + } + module.exports = exports['default']; - // PARSING + /***/ + }, + /* 582 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - 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)); - }); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = subDays; - // Side effect imports - - hooks.version = "2.20.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; - - // currently HTML5 input type only supports 24-hour formats - hooks.HTML5_FMT = { - DATETIME_LOCAL: "YYYY-MM-DDTHH:mm", // - DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss", // - DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS", // - DATE: "YYYY-MM-DD", // - TIME: "HH:mm", // - TIME_SECONDS: "HH:mm:ss", // - TIME_MS: "HH:mm:ss.SSS", // - WEEK: "YYYY-[W]WW", // - MONTH: "YYYY-MM" // - }; + var _index = __webpack_require__(546); - return hooks; - }); + var _index2 = _interopRequireDefault(_index); - /* WEBPACK VAR INJECTION */ - }.call(exports, __webpack_require__(536)(module))); + var _index3 = __webpack_require__(575); - /***/ - }, - /* 536 */ - /***/ function(module, exports) { - module.exports = function(module) { - if (!module.webpackPolyfill) { - module.deprecate = function() {}; - module.paths = []; - // module.parent = undefined by default - module.children = []; - module.webpackPolyfill = 1; - } - return module; - }; + var _index4 = _interopRequireDefault(_index3); - /***/ - }, - /* 537 */ - /***/ function(module, exports, __webpack_require__) { - var map = { - "./af": 538, - "./af.js": 538, - "./ar": 539, - "./ar-dz": 540, - "./ar-dz.js": 540, - "./ar-kw": 541, - "./ar-kw.js": 541, - "./ar-ly": 542, - "./ar-ly.js": 542, - "./ar-ma": 543, - "./ar-ma.js": 543, - "./ar-sa": 544, - "./ar-sa.js": 544, - "./ar-tn": 545, - "./ar-tn.js": 545, - "./ar.js": 539, - "./az": 546, - "./az.js": 546, - "./be": 547, - "./be.js": 547, - "./bg": 548, - "./bg.js": 548, - "./bm": 549, - "./bm.js": 549, - "./bn": 550, - "./bn.js": 550, - "./bo": 551, - "./bo.js": 551, - "./br": 552, - "./br.js": 552, - "./bs": 553, - "./bs.js": 553, - "./ca": 554, - "./ca.js": 554, - "./cs": 555, - "./cs.js": 555, - "./cv": 556, - "./cv.js": 556, - "./cy": 557, - "./cy.js": 557, - "./da": 558, - "./da.js": 558, - "./de": 559, - "./de-at": 560, - "./de-at.js": 560, - "./de-ch": 561, - "./de-ch.js": 561, - "./de.js": 559, - "./dv": 562, - "./dv.js": 562, - "./el": 563, - "./el.js": 563, - "./en-au": 564, - "./en-au.js": 564, - "./en-ca": 565, - "./en-ca.js": 565, - "./en-gb": 566, - "./en-gb.js": 566, - "./en-ie": 567, - "./en-ie.js": 567, - "./en-nz": 568, - "./en-nz.js": 568, - "./eo": 569, - "./eo.js": 569, - "./es": 570, - "./es-do": 571, - "./es-do.js": 571, - "./es-us": 572, - "./es-us.js": 572, - "./es.js": 570, - "./et": 573, - "./et.js": 573, - "./eu": 574, - "./eu.js": 574, - "./fa": 575, - "./fa.js": 575, - "./fi": 576, - "./fi.js": 576, - "./fo": 577, - "./fo.js": 577, - "./fr": 578, - "./fr-ca": 579, - "./fr-ca.js": 579, - "./fr-ch": 580, - "./fr-ch.js": 580, - "./fr.js": 578, - "./fy": 581, - "./fy.js": 581, - "./gd": 582, - "./gd.js": 582, - "./gl": 583, - "./gl.js": 583, - "./gom-latn": 584, - "./gom-latn.js": 584, - "./gu": 585, - "./gu.js": 585, - "./he": 586, - "./he.js": 586, - "./hi": 587, - "./hi.js": 587, - "./hr": 588, - "./hr.js": 588, - "./hu": 589, - "./hu.js": 589, - "./hy-am": 590, - "./hy-am.js": 590, - "./id": 591, - "./id.js": 591, - "./is": 592, - "./is.js": 592, - "./it": 593, - "./it.js": 593, - "./ja": 594, - "./ja.js": 594, - "./jv": 595, - "./jv.js": 595, - "./ka": 596, - "./ka.js": 596, - "./kk": 597, - "./kk.js": 597, - "./km": 598, - "./km.js": 598, - "./kn": 599, - "./kn.js": 599, - "./ko": 600, - "./ko.js": 600, - "./ky": 601, - "./ky.js": 601, - "./lb": 602, - "./lb.js": 602, - "./lo": 603, - "./lo.js": 603, - "./lt": 604, - "./lt.js": 604, - "./lv": 605, - "./lv.js": 605, - "./me": 606, - "./me.js": 606, - "./mi": 607, - "./mi.js": 607, - "./mk": 608, - "./mk.js": 608, - "./ml": 609, - "./ml.js": 609, - "./mr": 610, - "./mr.js": 610, - "./ms": 611, - "./ms-my": 612, - "./ms-my.js": 612, - "./ms.js": 611, - "./mt": 613, - "./mt.js": 613, - "./my": 614, - "./my.js": 614, - "./nb": 615, - "./nb.js": 615, - "./ne": 616, - "./ne.js": 616, - "./nl": 617, - "./nl-be": 618, - "./nl-be.js": 618, - "./nl.js": 617, - "./nn": 619, - "./nn.js": 619, - "./pa-in": 620, - "./pa-in.js": 620, - "./pl": 621, - "./pl.js": 621, - "./pt": 622, - "./pt-br": 623, - "./pt-br.js": 623, - "./pt.js": 622, - "./ro": 624, - "./ro.js": 624, - "./ru": 625, - "./ru.js": 625, - "./sd": 626, - "./sd.js": 626, - "./se": 627, - "./se.js": 627, - "./si": 628, - "./si.js": 628, - "./sk": 629, - "./sk.js": 629, - "./sl": 630, - "./sl.js": 630, - "./sq": 631, - "./sq.js": 631, - "./sr": 632, - "./sr-cyrl": 633, - "./sr-cyrl.js": 633, - "./sr.js": 632, - "./ss": 634, - "./ss.js": 634, - "./sv": 635, - "./sv.js": 635, - "./sw": 636, - "./sw.js": 636, - "./ta": 637, - "./ta.js": 637, - "./te": 638, - "./te.js": 638, - "./tet": 639, - "./tet.js": 639, - "./th": 640, - "./th.js": 640, - "./tl-ph": 641, - "./tl-ph.js": 641, - "./tlh": 642, - "./tlh.js": 642, - "./tr": 643, - "./tr.js": 643, - "./tzl": 644, - "./tzl.js": 644, - "./tzm": 645, - "./tzm-latn": 646, - "./tzm-latn.js": 646, - "./tzm.js": 645, - "./uk": 647, - "./uk.js": 647, - "./ur": 648, - "./ur.js": 648, - "./uz": 649, - "./uz-latn": 650, - "./uz-latn.js": 650, - "./uz.js": 649, - "./vi": 651, - "./vi.js": 651, - "./x-pseudo": 652, - "./x-pseudo.js": 652, - "./yo": 653, - "./yo.js": 653, - "./zh-cn": 654, - "./zh-cn.js": 654, - "./zh-hk": 655, - "./zh-hk.js": 655, - "./zh-tw": 656, - "./zh-tw.js": 656 - }; - function webpackContext(req) { - return __webpack_require__(webpackContextResolve(req)); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; } - function webpackContextResolve(req) { - return ( - map[req] || - (function() { - throw new Error("Cannot find module '" + req + "'."); - })() - ); + + /** + * @name subDays + * @category Day Helpers + * @summary Subtract the specified number of days from the given date. + * + * @description + * Subtract the specified number of days from the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} amount - the amount of days to be subtracted + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the days subtracted + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Subtract 10 days from 1 September 2014: + * var result = subDays(new Date(2014, 8, 1), 10) + * //=> Fri Aug 22 2014 00:00:00 + */ + function subDays(dirtyDate, dirtyAmount, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } + + var amount = (0, _index2.default)(dirtyAmount); + return (0, _index4.default)(dirtyDate, -amount, dirtyOptions); } - webpackContext.keys = function webpackContextKeys() { - return Object.keys(map); - }; - webpackContext.resolve = webpackContextResolve; - module.exports = webpackContext; - webpackContext.id = 537; + module.exports = exports['default']; /***/ }, - /* 538 */ + /* 583 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Afrikaans [af] - //! author : Werner Mollentze : https://github.com/wernerm + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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", - ss: "%d 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; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = subWeeks; - /***/ - }, - /* 539 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Arabic [ar] - //! author : Abdel Said: https://github.com/abdelsaid - //! author : Ahmed Elkhatib - //! author : forabi https://github.com/forabi + var _index = __webpack_require__(546); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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 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 _index2 = _interopRequireDefault(_index); - 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"), - ss: 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(/[١٢٣٤٥٦٧٨٩٠]/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 _index3 = __webpack_require__(576); - return ar; - }); + var _index4 = _interopRequireDefault(_index3); - /***/ - }, - /* 540 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Arabic (Algeria) [ar-dz] - //! author : Noureddine LOUAHEDJ : https://github.com/noureddineme + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: "ثوان", - ss: "%d ثانية", - 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. - } - }); + /** + * @name subWeeks + * @category Week Helpers + * @summary Subtract the specified number of weeks from the given date. + * + * @description + * Subtract the specified number of weeks from the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} amount - the amount of weeks to be subtracted + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the weeks subtracted + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Subtract 4 weeks from 1 September 2014: + * var result = subWeeks(new Date(2014, 8, 1), 4) + * //=> Mon Aug 04 2014 00:00:00 + */ + function subWeeks(dirtyDate, dirtyAmount, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } - return arDz; - }); + var amount = (0, _index2.default)(dirtyAmount); + return (0, _index4.default)(dirtyDate, -amount, dirtyOptions); + } + module.exports = exports['default']; /***/ }, - /* 541 */ + /* 584 */ /***/ 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__(535)) - : 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: "ثوان", - ss: "%d ثانية", - 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. - } - }); + 'use strict'; - return arKw; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = subMonths; - /***/ - }, - /* 542 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Arabic (Lybia) [ar-ly] - //! author : Ali Hmer: https://github.com/kikoanis + var _index = __webpack_require__(546); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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" - }; - 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 _index2 = _interopRequireDefault(_index); - 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"), - ss: 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(/،/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 _index3 = __webpack_require__(577); - return arLy; - }); + var _index4 = _interopRequireDefault(_index3); - /***/ - }, - /* 543 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Arabic (Morocco) [ar-ma] - //! author : ElFadili Yassine : https://github.com/ElFadiliY - //! author : Abdel Said : https://github.com/abdelsaid + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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: "ثوان", - ss: "%d ثانية", - 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. - } - }); + /** + * @name subMonths + * @category Month Helpers + * @summary Subtract the specified number of months from the given date. + * + * @description + * Subtract the specified number of months from the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} amount - the amount of months to be subtracted + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the months subtracted + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Subtract 5 months from 1 February 2015: + * var result = subMonths(new Date(2015, 1, 1), 5) + * //=> Mon Sep 01 2014 00:00:00 + */ + function subMonths(dirtyDate, dirtyAmount, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } - return arMa; - }); + var amount = (0, _index2.default)(dirtyAmount); + return (0, _index4.default)(dirtyDate, -amount, dirtyOptions); + } + module.exports = exports['default']; /***/ }, - /* 544 */ + /* 585 */ /***/ 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__(535)) - : 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 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: "ثوان", - ss: "%d ثانية", - 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. - } - }); + 'use strict'; - return arSa; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = subYears; - /***/ - }, - /* 545 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Arabic (Tunisia) [ar-tn] - //! author : Nader Toukabri : https://github.com/naderio + var _index = __webpack_require__(546); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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: "ثوان", - ss: "%d ثانية", - 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. - } - }); + var _index2 = _interopRequireDefault(_index); - return arTn; - }); + var _index3 = __webpack_require__(579); - /***/ - }, - /* 546 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Azerbaijani [az] - //! author : topchiyev : https://github.com/topchiyev + var _index4 = _interopRequireDefault(_index3); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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ə", - ss: "%d saniyə", - 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. - } - }); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - return az; - }); + /** + * @name subYears + * @category Year Helpers + * @summary Subtract the specified number of years from the given date. + * + * @description + * Subtract the specified number of years from the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} amount - the amount of years to be subtracted + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the years subtracted + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Subtract 5 years from 1 September 2014: + * var result = subYears(new Date(2014, 8, 1), 5) + * //=> Tue Sep 01 2009 00:00:00 + */ + function subYears(dirtyDate, dirtyAmount, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } + + var amount = (0, _index2.default)(dirtyAmount); + return (0, _index4.default)(dirtyDate, -amount, dirtyOptions); + } + module.exports = exports['default']; /***/ }, - /* 547 */ + /* 586 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Belarusian [be] - //! author : Dmitry Demidov : https://github.com/demidov91 - //! author: Praleska: http://praleska.pro/ - //! Author : Menelion Elensúle : https://github.com/Oire + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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 relativeTimeWithPlural(number, withoutSuffix, key) { - var format = { - ss: withoutSuffix - ? "секунда_секунды_секунд" - : "секунду_секунды_секунд", - 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); - } - } + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = getSeconds; - 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 "вечара"; - } - }, - 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. - } - }); + var _index = __webpack_require__(545); - return be; - }); + var _index2 = _interopRequireDefault(_index); - /***/ - }, - /* 548 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Bulgarian [bg] - //! author : Krasen Borisov : https://github.com/kraz + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: "няколко секунди", - ss: "%d секунди", - 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. - } - }); + /** + * @name getSeconds + * @category Second Helpers + * @summary Get the seconds of the given date. + * + * @description + * Get the seconds of the given date. + * + * @param {Date|String|Number} date - the given date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Number} the seconds + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Get the seconds of 29 February 2012 11:45:05.123: + * var result = getSeconds(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 5 + */ + function getSeconds(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } - return bg; - }); + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + var seconds = date.getSeconds(); + return seconds; + } + module.exports = exports['default']; /***/ }, - /* 549 */ + /* 587 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Bambara [bm] - //! author : Estelle Comment : https://github.com/estellecomment + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - // Language contact person : Abdoufata Kane : https://github.com/abdoufata - - var bm = moment.defineLocale("bm", { - months: "Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split( - "_" - ), - monthsShort: "Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split( - "_" - ), - weekdays: "Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"), - weekdaysShort: "Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"), - weekdaysMin: "Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"), - longDateFormat: { - LT: "HH:mm", - LTS: "HH:mm:ss", - L: "DD/MM/YYYY", - LL: "MMMM [tile] D [san] YYYY", - LLL: "MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm", - LLLL: "dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm" - }, - calendar: { - sameDay: "[Bi lɛrɛ] LT", - nextDay: "[Sini lɛrɛ] LT", - nextWeek: "dddd [don lɛrɛ] LT", - lastDay: "[Kunu lɛrɛ] LT", - lastWeek: "dddd [tɛmɛnen lɛrɛ] LT", - sameElse: "L" - }, - relativeTime: { - future: "%s kɔnɔ", - past: "a bɛ %s bɔ", - s: "sanga dama dama", - ss: "sekondi %d", - m: "miniti kelen", - mm: "miniti %d", - h: "lɛrɛ kelen", - hh: "lɛrɛ %d", - d: "tile kelen", - dd: "tile %d", - M: "kalo kelen", - MM: "kalo %d", - y: "san kelen", - yy: "san %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 bm; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = getMinutes; - /***/ - }, - /* 550 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Bengali [bn] - //! author : Kaushik Gandhi : https://github.com/kaushikgandhi + var _index = __webpack_require__(545); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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 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: "কয়েক সেকেন্ড", - ss: "%d সেকেন্ড", - 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. - } - }); + var _index2 = _interopRequireDefault(_index); - return bn; - }); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name getMinutes + * @category Minute Helpers + * @summary Get the minutes of the given date. + * + * @description + * Get the minutes of the given date. + * + * @param {Date|String|Number} date - the given date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Number} the minutes + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Get the minutes of 29 February 2012 11:45:05: + * var result = getMinutes(new Date(2012, 1, 29, 11, 45, 5)) + * //=> 45 + */ + function getMinutes(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } + + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + var minutes = date.getMinutes(); + return minutes; + } + module.exports = exports['default']; /***/ }, - /* 551 */ + /* 588 */ /***/ 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__(535)) - : 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 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: "ལམ་སང", - ss: "%d སྐར་ཆ།", - 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. - } - }); + 'use strict'; - return bo; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = getHours; - /***/ - }, - /* 552 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Breton [br] - //! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou + var _index = __webpack_require__(545); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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 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); - } - return number; - } - 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; - } - return mutationTable[text.charAt(0)] + text.substring(1); + var _index2 = _interopRequireDefault(_index); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name getHours + * @category Hour Helpers + * @summary Get the hours of the given date. + * + * @description + * Get the hours of the given date. + * + * @param {Date|String|Number} date - the given date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Number} the hours + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Get the hours of 29 February 2012 11:45:00: + * var result = getHours(new Date(2012, 1, 29, 11, 45)) + * //=> 11 + */ + function getHours(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); } - 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ù", - ss: "%d eilenn", - 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. - } - }); + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + var hours = date.getHours(); + return hours; + } + module.exports = exports['default']; + + /***/ + }, + /* 589 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - return br; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = getDay; + + var _index = __webpack_require__(545); + + var _index2 = _interopRequireDefault(_index); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name getDay + * @category Weekday Helpers + * @summary Get the day of the week of the given date. + * + * @description + * Get the day of the week of the given date. + * + * @param {Date|String|Number} date - the given date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Number} the day of week + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Which day of the week is 29 February 2012? + * var result = getDay(new Date(2012, 1, 29)) + * //=> 3 + */ + function getDay(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } + + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + var day = date.getDay(); + return day; + } + module.exports = exports['default']; /***/ }, - /* 553 */ + /* 590 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Bosnian [bs] - //! author : Nedim Cholich : https://github.com/frontyard - //! based on (hr) translation by Bojan Marković + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - function translate(number, withoutSuffix, key) { - var result = number + " "; - switch (key) { - case "ss": - if (number === 1) { - result += "sekunda"; - } else if (number === 2 || number === 3 || number === 4) { - result += "sekunde"; - } else { - result += "sekundi"; - } - return result; - 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; - } - } + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = getDate; - 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" - }, - relativeTime: { - future: "za %s", - past: "prije %s", - s: "par sekundi", - ss: translate, - 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. - } - }); + var _index = __webpack_require__(545); - return bs; - }); + var _index2 = _interopRequireDefault(_index); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name getDate + * @category Day Helpers + * @summary Get the day of the month of the given date. + * + * @description + * Get the day of the month of the given date. + * + * @param {Date|String|Number} date - the given date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Number} the day of month + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Which day of the month is 29 February 2012? + * var result = getDate(new Date(2012, 1, 29)) + * //=> 29 + */ + function getDate(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } + + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + var dayOfMonth = date.getDate(); + return dayOfMonth; + } + module.exports = exports['default']; /***/ }, - /* 554 */ + /* 591 */ /***/ 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__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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: "D MMMM [de] YYYY", - ll: "D MMM YYYY", - LLL: "D MMMM [de] YYYY [a les] H:mm", - lll: "D MMM YYYY, H:mm", - LLLL: "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"; - }, - 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" - }, - relativeTime: { - future: "d'aquí %s", - past: "fa %s", - s: "uns segons", - ss: "%d 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. - } - }); + 'use strict'; - return ca; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = getMonth; + + var _index = __webpack_require__(545); + + var _index2 = _interopRequireDefault(_index); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name getMonth + * @category Month Helpers + * @summary Get the month of the given date. + * + * @description + * Get the month of the given date. + * + * @param {Date|String|Number} date - the given date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Number} the month + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Which month is 29 February 2012? + * var result = getMonth(new Date(2012, 1, 29)) + * //=> 1 + */ + function getMonth(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } + + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + var month = date.getMonth(); + return month; + } + module.exports = exports['default']; /***/ }, - /* 555 */ + /* 592 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Czech [cs] - //! author : petrbela : https://github.com/petrbela + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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( - "_" - ); - 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 "ss": // 9 seconds / in 9 seconds / 9 seconds ago - if (withoutSuffix || isFuture) { - return result + (plural(number) ? "sekundy" : "sekund"); - } else { - return result + "sekundami"; - } - break; - 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; - } - } + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = getYear; - 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" - }, - relativeTime: { - future: "za %s", - past: "před %s", - s: translate, - ss: 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. - } - }); + var _index = __webpack_require__(545); - return cs; - }); + var _index2 = _interopRequireDefault(_index); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name getYear + * @category Year Helpers + * @summary Get the year of the given date. + * + * @description + * Get the year of the given date. + * + * @param {Date|String|Number} date - the given date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Number} the year + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Which year is 2 July 2014? + * var result = getYear(new Date(2014, 6, 2)) + * //=> 2014 + */ + function getYear(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } + + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + var year = date.getFullYear(); + return year; + } + module.exports = exports['default']; /***/ }, - /* 556 */ + /* 593 */ /***/ 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__(535)) - : 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: "пӗр-ик ҫеккунт", - ss: "%d ҫеккунт", - 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. - } - }); + 'use strict'; - return cv; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = getTime; + + var _index = __webpack_require__(545); + + var _index2 = _interopRequireDefault(_index); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name getTime + * @category Timestamp Helpers + * @summary Get the milliseconds timestamp of the given date. + * + * @description + * Get the milliseconds timestamp of the given date. + * + * @param {Date|String|Number} date - the given date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Number} the timestamp + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Get the timestamp of 29 February 2012 11:45:05.123: + * var result = getTime(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 1330515905123 + */ + function getTime(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } + + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + var timestamp = date.getTime(); + return timestamp; + } + module.exports = exports['default']; /***/ }, - /* 557 */ + /* 594 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Welsh [cy] - //! author : Robert Allen : https://github.com/robgallen - //! author : https://github.com/ryangreaves - - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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", - ss: "%d eiliad", - 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"; - } - } 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. - } - }); + 'use strict'; - return cy; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = setSeconds; + + var _index = __webpack_require__(546); + + var _index2 = _interopRequireDefault(_index); + + var _index3 = __webpack_require__(545); + + var _index4 = _interopRequireDefault(_index3); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name setSeconds + * @category Second Helpers + * @summary Set the seconds to the given date. + * + * @description + * Set the seconds to the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} seconds - the seconds of the new date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the seconds setted + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Set 45 seconds to 1 September 2014 11:30:40: + * var result = setSeconds(new Date(2014, 8, 1, 11, 30, 40), 45) + * //=> Mon Sep 01 2014 11:30:45 + */ + function setSeconds(dirtyDate, dirtySeconds, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } + + var date = (0, _index4.default)(dirtyDate, dirtyOptions); + var seconds = (0, _index2.default)(dirtySeconds); + date.setSeconds(seconds); + return date; + } + module.exports = exports['default']; /***/ }, - /* 558 */ + /* 595 */ /***/ 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__(535)) - : 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 [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", - ss: "%d 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. - } - }); + 'use strict'; - return da; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = setMinutes; + + var _index = __webpack_require__(546); + + var _index2 = _interopRequireDefault(_index); + + var _index3 = __webpack_require__(545); + + var _index4 = _interopRequireDefault(_index3); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name setMinutes + * @category Minute Helpers + * @summary Set the minutes to the given date. + * + * @description + * Set the minutes to the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} minutes - the minutes of the new date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the minutes setted + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Set 45 minutes to 1 September 2014 11:30:40: + * var result = setMinutes(new Date(2014, 8, 1, 11, 30, 40), 45) + * //=> Mon Sep 01 2014 11:45:40 + */ + function setMinutes(dirtyDate, dirtyMinutes, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } + + var date = (0, _index4.default)(dirtyDate, dirtyOptions); + var minutes = (0, _index2.default)(dirtyMinutes); + date.setMinutes(minutes); + return date; + } + module.exports = exports['default']; /***/ }, - /* 559 */ + /* 596 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : German [de] - //! author : lluchs : https://github.com/lluchs - //! author: Menelion Elensúle: https://github.com/Oire - //! author : Mikolaj Dadela : https://github.com/mik01aj + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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]; - } + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = setHours; - var de = moment.defineLocale("de", { - months: "Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split( - "_" - ), - monthsShort: "Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._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", - ss: "%d 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. - } - }); + var _index = __webpack_require__(546); - return de; - }); + var _index2 = _interopRequireDefault(_index); + + var _index3 = __webpack_require__(545); + + var _index4 = _interopRequireDefault(_index3); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name setHours + * @category Hour Helpers + * @summary Set the hours to the given date. + * + * @description + * Set the hours to the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} hours - the hours of the new date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the hours setted + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Set 4 hours to 1 September 2014 11:30:00: + * var result = setHours(new Date(2014, 8, 1, 11, 30), 4) + * //=> Mon Sep 01 2014 04:30:00 + */ + function setHours(dirtyDate, dirtyHours, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } + + var date = (0, _index4.default)(dirtyDate, dirtyOptions); + var hours = (0, _index2.default)(dirtyHours); + date.setHours(hours); + return date; + } + module.exports = exports['default']; /***/ }, - /* 560 */ + /* 597 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : German (Austria) [de-at] - //! author : lluchs : https://github.com/lluchs - //! author: Menelion Elensúle: https://github.com/Oire - //! author : Martin Groller : https://github.com/MadMG - //! author : Mikolaj Dadela : https://github.com/mik01aj - - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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]; + 'use strict'; + + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = setMonth; + + var _index = __webpack_require__(546); + + var _index2 = _interopRequireDefault(_index); + + var _index3 = __webpack_require__(545); + + var _index4 = _interopRequireDefault(_index3); + + var _index5 = __webpack_require__(578); + + var _index6 = _interopRequireDefault(_index5); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name setMonth + * @category Month Helpers + * @summary Set the month to the given date. + * + * @description + * Set the month to the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} month - the month of the new date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the month setted + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Set February to 1 September 2014: + * var result = setMonth(new Date(2014, 8, 1), 1) + * //=> Sat Feb 01 2014 00:00:00 + */ + function setMonth(dirtyDate, dirtyMonth, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); } - 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._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._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", - ss: "%d 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. - } - }); + var date = (0, _index4.default)(dirtyDate, dirtyOptions); + var month = (0, _index2.default)(dirtyMonth); + var year = date.getFullYear(); + var day = date.getDate(); - return deAt; - }); + var dateWithDesiredMonth = new Date(0); + dateWithDesiredMonth.setFullYear(year, month, 15); + dateWithDesiredMonth.setHours(0, 0, 0, 0); + var daysInMonth = (0, _index6.default)( + dateWithDesiredMonth, + dirtyOptions + ); + // Set the last day of the new month + // if the original date was the last day of the longer month + date.setMonth(month, Math.min(day, daysInMonth)); + return date; + } + module.exports = exports['default']; /***/ }, - /* 561 */ + /* 598 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : German (Switzerland) [de-ch] - //! author : sschueller : https://github.com/sschueller + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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]; + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = setYear; + + var _index = __webpack_require__(546); + + var _index2 = _interopRequireDefault(_index); + + var _index3 = __webpack_require__(545); + + var _index4 = _interopRequireDefault(_index3); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name setYear + * @category Year Helpers + * @summary Set the year to the given date. + * + * @description + * Set the year to the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} year - the year of the new date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the year setted + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Set year 2013 to 1 September 2014: + * var result = setYear(new Date(2014, 8, 1), 2013) + * //=> Sun Sep 01 2013 00:00:00 + */ + function setYear(dirtyDate, dirtyYear, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); } - var deCh = moment.defineLocale("de-ch", { - months: "Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split( - "_" - ), - monthsShort: "Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._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", - ss: "%d 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. - } - }); + var date = (0, _index4.default)(dirtyDate, dirtyOptions); + var year = (0, _index2.default)(dirtyYear); - return deCh; - }); + // Check if date is Invalid Date because Date.prototype.setFullYear ignores the value of Invalid Date + if (isNaN(date)) { + return new Date(NaN); + } + + date.setFullYear(year); + return date; + } + module.exports = exports['default']; /***/ }, - /* 562 */ + /* 599 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Maldivian [dv] - //! author : Jawish Hameed : https://github.com/jawish + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - var months = [ - "ޖެނުއަރީ", - "ފެބްރުއަރީ", - "މާރިޗު", - "އޭޕްރީލު", - "މޭ", - "ޖޫން", - "ޖުލައި", - "އޯގަސްޓު", - "ސެޕްޓެމްބަރު", - "އޮކްޓޯބަރު", - "ނޮވެމްބަރު", - "ޑިސެމްބަރު" - ]; - var weekdays = [ - "އާދިއްތަ", - "ހޯމަ", - "އަންގާރަ", - "ބުދަ", - "ބުރާސްފަތި", - "ހުކުރު", - "ހޮނިހިރު" - ]; + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = min; - 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: "ސިކުންތުކޮޅެއް", - ss: "d% ސިކުންތު", - 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 _index = __webpack_require__(545); - return dv; - }); + var _index2 = _interopRequireDefault(_index); - /***/ - }, - /* 563 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Greek [el] - //! author : Aggelos Karalias : https://github.com/mehiel + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - function isFunction(input) { - return ( - input instanceof Function || - Object.prototype.toString.call(input) === "[object Function]" + /** + * @name min + * @category Common Helpers + * @summary Return the earliest of the given dates. + * + * @description + * Return the earliest of the given dates. + * + * @param {Date[]|String[]|Number[]} datesArray - the dates to compare + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the earliest of the dates + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Which of these dates is the earliest? + * var result = min( + * [ + * new Date(1989, 6, 10), + * new Date(1987, 1, 11), + * new Date(1995, 6, 2), + * new Date(1990, 0, 1) + * ] + * ) + * //=> Wed Feb 11 1987 00:00:00 + */ + function min(dirtyDatesArray, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' ); } - var el = moment.defineLocale("el", { - monthsNominativeEl: "Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split( - "_" - ), - monthsGenitiveEl: "Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split( - "_" - ), - months: function(momentToFormat, format) { - if (!momentToFormat) { - return this._monthsNominativeEl; - } else if ( - typeof format === "string" && - /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); - } - return output.replace("{}", hours % 12 === 1 ? "στη" : "στις"); - }, - relativeTime: { - future: "σε %s", - past: "%s πριν", - s: "λίγα δευτερόλεπτα", - ss: "%d δευτερόλεπτα", - 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. - } - }); + var datesArray; + // `dirtyDatesArray` is undefined or null + if (dirtyDatesArray == null) { + datesArray = []; - return el; - }); + // `dirtyDatesArray` is Array, Set or Map, or object with custom `forEach` method + } else if (typeof dirtyDatesArray.forEach === 'function') { + datesArray = dirtyDatesArray; - /***/ - }, - /* 564 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : English (Australia) [en-au] - //! author : Jared Morse : https://github.com/jarcoal + // If `dirtyDatesArray` is Array-like Object, convert to Array. Otherwise, make it empty Array + } else { + datesArray = Array.prototype.slice.call(dirtyDatesArray); + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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", - 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" - }, - 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. + var result; + datesArray.forEach(function(dirtyDate) { + var currentDate = (0, _index2.default)(dirtyDate, dirtyOptions); + + if ( + result === undefined || + result > currentDate || + isNaN(currentDate) + ) { + result = currentDate; } }); - return enAu; - }); + return result; + } + module.exports = exports['default']; /***/ }, - /* 565 */ + /* 600 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : English (Canada) [en-ca] - //! author : Jonathan Abourbih : https://github.com/jonbca + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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", - 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" - }, - 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; + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = max; + + var _index = __webpack_require__(545); + + var _index2 = _interopRequireDefault(_index); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name max + * @category Common Helpers + * @summary Return the latest of the given dates. + * + * @description + * Return the latest of the given dates. + * + * @param {Date[]|String[]|Number[]} datesArray - the dates to compare + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the latest of the dates + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Which of these dates is the latest? + * var result = max( + * [ + * new Date(1989, 6, 10), + * new Date(1987, 1, 11), + * new Date(1995, 6, 2), + * new Date(1990, 0, 1) + * ] + * ) + * //=> Sun Jul 02 1995 00:00:00 + */ + function max(dirtyDatesArray, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } + + var datesArray; + // `dirtyDatesArray` is undefined or null + if (dirtyDatesArray == null) { + datesArray = []; + + // `dirtyDatesArray` is Array, Set or Map, or object with custom `forEach` method + } else if (typeof dirtyDatesArray.forEach === 'function') { + datesArray = dirtyDatesArray; + + // If `dirtyDatesArray` is Array-like Object, convert to Array. Otherwise, make it empty Array + } else { + datesArray = Array.prototype.slice.call(dirtyDatesArray); + } + + var result; + datesArray.forEach(function(dirtyDate) { + var currentDate = (0, _index2.default)(dirtyDate, dirtyOptions); + + if ( + result === undefined || + result < currentDate || + isNaN(currentDate) + ) { + result = currentDate; } }); - return enCa; - }); + return result; + } + module.exports = exports['default']; /***/ }, - /* 566 */ + /* 601 */ /***/ 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__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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", - 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" - }, - 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. - } - }); + 'use strict'; - return enGb; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = differenceInCalendarDays; - /***/ - }, - /* 567 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : English (Ireland) [en-ie] - //! author : Chris Cartlidge : https://github.com/chriscartlidge + var _index = __webpack_require__(547); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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", - 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" - }, - 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. - } - }); + var _index2 = _interopRequireDefault(_index); - return enIe; - }); + var _index3 = __webpack_require__(602); - /***/ - }, - /* 568 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : English (New Zealand) [en-nz] - //! author : Luke McGregor : https://github.com/lukemcgregor + var _index4 = _interopRequireDefault(_index3); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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", - 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" - }, - 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. - } - }); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - return enNz; - }); + var MILLISECONDS_IN_DAY = 86400000; - /***/ - }, - /* 569 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Esperanto [eo] - //! author : Colin Dean : https://github.com/colindean - //! author : Mia Nordentoft Imperatori : https://github.com/miestasmia - //! comment : miestasmia corrected the translation by colindean + /** + * @name differenceInCalendarDays + * @category Day Helpers + * @summary Get the number of calendar days between the given dates. + * + * @description + * Get the number of calendar days between the given dates. This means that the times are removed + * from the dates and then the difference in days is calculated. + * + * @param {Date|String|Number} dateLeft - the later date + * @param {Date|String|Number} dateRight - the earlier date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Number} the number of calendar days + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // How many calendar days are between + * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00? + * var result = differenceInCalendarDays( + * new Date(2012, 6, 2, 0, 0), + * new Date(2011, 6, 2, 23, 0) + * ) + * //=> 366 + * // How many calendar days are between + * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00? + * var result = differenceInCalendarDays( + * new Date(2011, 6, 2, 0, 1), + * new Date(2011, 6, 2, 23, 59) + * ) + * //=> 1 + */ + function differenceInCalendarDays( + dirtyDateLeft, + dirtyDateRight, + dirtyOptions + ) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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[-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", - ss: "%d 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. - } - }); + var startOfDayLeft = (0, _index4.default)(dirtyDateLeft, dirtyOptions); + var startOfDayRight = (0, _index4.default)( + dirtyDateRight, + dirtyOptions + ); - return eo; - }); + var timestampLeft = + startOfDayLeft.getTime() - (0, _index2.default)(startOfDayLeft); + var timestampRight = + startOfDayRight.getTime() - (0, _index2.default)(startOfDayRight); + + // Round the number of days to the nearest integer + // because the number of milliseconds in a day is not constant + // (e.g. it's different in the day of the daylight saving time clock shift) + return Math.round( + (timestampLeft - timestampRight) / MILLISECONDS_IN_DAY + ); + } + module.exports = exports['default']; /***/ }, - /* 570 */ + /* 602 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Spanish [es] - //! author : Julio Napurí : https://github.com/julionc + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - 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( - "_" - ); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = startOfDay; - var monthsParse = [ - /^ene/i, - /^feb/i, - /^mar/i, - /^abr/i, - /^may/i, - /^jun/i, - /^jul/i, - /^ago/i, - /^sep/i, - /^oct/i, - /^nov/i, - /^dic/i - ]; - var monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + var _index = __webpack_require__(545); - 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()]; - } - }, - monthsRegex: monthsRegex, - monthsShortRegex: monthsRegex, - monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, - monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, - monthsParse: monthsParse, - longMonthsParse: monthsParse, - shortMonthsParse: monthsParse, - 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"; - }, - 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" - }, - relativeTime: { - future: "en %s", - past: "hace %s", - s: "unos segundos", - ss: "%d 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. - } - }); + var _index2 = _interopRequireDefault(_index); - return es; - }); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name startOfDay + * @category Day Helpers + * @summary Return the start of a day for the given date. + * + * @description + * Return the start of a day for the given date. + * The result will be in the local timezone. + * + * @param {Date|String|Number} date - the original date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the start of a day + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // The start of a day for 2 September 2014 11:55:00: + * var result = startOfDay(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Tue Sep 02 2014 00:00:00 + */ + function startOfDay(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } + + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + date.setHours(0, 0, 0, 0); + return date; + } + module.exports = exports['default']; /***/ }, - /* 571 */ + /* 603 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Spanish (Dominican Republic) [es-do] + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - 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( - "_" - ); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = differenceInCalendarMonths; - var monthsParse = [ - /^ene/i, - /^feb/i, - /^mar/i, - /^abr/i, - /^may/i, - /^jun/i, - /^jul/i, - /^ago/i, - /^sep/i, - /^oct/i, - /^nov/i, - /^dic/i - ]; - var monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + var _index = __webpack_require__(545); - 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()]; - } - }, - monthsRegex: monthsRegex, - monthsShortRegex: monthsRegex, - monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, - monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, - monthsParse: monthsParse, - longMonthsParse: monthsParse, - shortMonthsParse: monthsParse, - 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"; - }, - 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" - }, - relativeTime: { - future: "en %s", - past: "hace %s", - s: "unos segundos", - ss: "%d 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. - } - }); + var _index2 = _interopRequireDefault(_index); - return esDo; - }); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - /***/ - }, - /* 572 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Spanish (United States) [es-us] - //! author : bustta : https://github.com/bustta + /** + * @name differenceInCalendarMonths + * @category Month Helpers + * @summary Get the number of calendar months between the given dates. + * + * @description + * Get the number of calendar months between the given dates. + * + * @param {Date|String|Number} dateLeft - the later date + * @param {Date|String|Number} dateRight - the earlier date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Number} the number of calendar months + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // How many calendar months are between 31 January 2014 and 1 September 2014? + * var result = differenceInCalendarMonths( + * new Date(2014, 8, 1), + * new Date(2014, 0, 31) + * ) + * //=> 8 + */ + function differenceInCalendarMonths( + dirtyDateLeft, + dirtyDateRight, + dirtyOptions + ) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - 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 dateLeft = (0, _index2.default)(dirtyDateLeft, dirtyOptions); + var dateRight = (0, _index2.default)(dirtyDateRight, dirtyOptions); - var esUs = moment.defineLocale("es-us", { - 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: "MM/DD/YYYY", - LL: "MMMM [de] D [de] YYYY", - LLL: "MMMM [de] D [de] YYYY h:mm A", - LLLL: "dddd, MMMM [de] D [de] YYYY h:mm A" - }, - 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" - }, - relativeTime: { - future: "en %s", - past: "hace %s", - s: "unos segundos", - ss: "%d 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: 0, // Sunday is the first day of the week. - doy: 6 // The week that contains Jan 1st is the first week of the year. - } - }); + var yearDiff = dateLeft.getFullYear() - dateRight.getFullYear(); + var monthDiff = dateLeft.getMonth() - dateRight.getMonth(); - return esUs; - }); + return yearDiff * 12 + monthDiff; + } + module.exports = exports['default']; /***/ }, - /* 573 */ + /* 604 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Estonian [et] - //! author : Henry Kehlmann : https://github.com/madhenry - //! improvements : Illimar Tambek : https://github.com/ragulka + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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"], - ss: [number + "sekundi", number + "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]; + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = differenceInCalendarWeeks; + + var _index = __webpack_require__(547); + + var _index2 = _interopRequireDefault(_index); + + var _index3 = __webpack_require__(605); + + var _index4 = _interopRequireDefault(_index3); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + var MILLISECONDS_IN_WEEK = 604800000; + + /** + * @name differenceInCalendarWeeks + * @category Week Helpers + * @summary Get the number of calendar weeks between the given dates. + * + * @description + * Get the number of calendar weeks between the given dates. + * + * @param {Date|String|Number} dateLeft - the later date + * @param {Date|String|Number} dateRight - the earlier date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @returns {Number} the number of calendar weeks + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // How many calendar weeks are between 5 July 2014 and 20 July 2014? + * var result = differenceInCalendarWeeks( + * new Date(2014, 6, 20), + * new Date(2014, 6, 5) + * ) + * //=> 3 + * + * @example + * // If the week starts on Monday, + * // how many calendar weeks are between 5 July 2014 and 20 July 2014? + * var result = differenceInCalendarWeeks( + * new Date(2014, 6, 20), + * new Date(2014, 6, 5), + * {weekStartsOn: 1} + * ) + * //=> 2 + */ + function differenceInCalendarWeeks( + dirtyDateLeft, + dirtyDateRight, + dirtyOptions + ) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); } - 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, - ss: 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. - } - }); + var startOfWeekLeft = (0, _index4.default)(dirtyDateLeft, dirtyOptions); + var startOfWeekRight = (0, _index4.default)( + dirtyDateRight, + dirtyOptions + ); - return et; - }); + var timestampLeft = + startOfWeekLeft.getTime() - (0, _index2.default)(startOfWeekLeft); + var timestampRight = + startOfWeekRight.getTime() - (0, _index2.default)(startOfWeekRight); + + // Round the number of days to the nearest integer + // because the number of milliseconds in a week is not constant + // (e.g. it's different in the week of the daylight saving time clock shift) + return Math.round( + (timestampLeft - timestampRight) / MILLISECONDS_IN_WEEK + ); + } + module.exports = exports['default']; /***/ }, - /* 574 */ + /* 605 */ /***/ 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__(535)) - : 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", - ss: "%d segundo", - 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. - } - }); + 'use strict'; - return eu; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = startOfWeek; - /***/ - }, - /* 575 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Persian [fa] - //! author : Ebrahim Byagowi : https://github.com/ebraminio + var _index = __webpack_require__(546); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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 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: "چند ثانیه", - ss: "ثانیه d%", - 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. - } - }); + var _index2 = _interopRequireDefault(_index); - return fa; - }); + var _index3 = __webpack_require__(545); - /***/ - }, - /* 576 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Finnish [fi] - //! author : Tarmo Aidantausta : https://github.com/bleadof + var _index4 = _interopRequireDefault(_index3); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - 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 "ss": - return isFuture ? "sekunnin" : "sekuntia"; - 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; + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name startOfWeek + * @category Week Helpers + * @summary Return the start of a week for the given date. + * + * @description + * Return the start of a week for the given date. + * The result will be in the local timezone. + * + * @param {Date|String|Number} date - the original date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @returns {Date} the start of a week + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // The start of a week for 2 September 2014 11:55:00: + * var result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Sun Aug 31 2014 00:00:00 + * + * @example + * // If the week starts on Monday, the start of the week for 2 September 2014 11:55:00: + * var result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0), {weekStartsOn: 1}) + * //=> Mon Sep 01 2014 00:00:00 + */ + function startOfWeek(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); } - function verbalNumber(number, isFuture) { - return number < 10 - ? isFuture ? numbersFuture[number] : numbersPast[number] - : number; + + var options = dirtyOptions || {}; + var locale = options.locale; + var localeWeekStartsOn = + locale && locale.options && locale.options.weekStartsOn; + var defaultWeekStartsOn = + localeWeekStartsOn == null + ? 0 + : (0, _index2.default)(localeWeekStartsOn); + var weekStartsOn = + options.weekStartsOn == null + ? defaultWeekStartsOn + : (0, _index2.default)(options.weekStartsOn); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError( + 'weekStartsOn must be between 0 and 6 inclusively' + ); } - 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, - ss: 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. - } - }); + var date = (0, _index4.default)(dirtyDate, options); + var day = date.getDay(); + var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn; - return fi; - }); + date.setDate(date.getDate() - diff); + date.setHours(0, 0, 0, 0); + return date; + } + module.exports = exports['default']; /***/ }, - /* 577 */ + /* 606 */ /***/ 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__(535)) - : 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", - ss: "%d sekundir", - 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. - } - }); + 'use strict'; - return fo; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = setDayOfYear; - /***/ - }, - /* 578 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : French [fr] - //! author : John Fischer : https://github.com/jfroffice + var _index = __webpack_require__(546); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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", - ss: "%d 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"); + var _index2 = _interopRequireDefault(_index); - // 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. - } - }); + var _index3 = __webpack_require__(545); - return fr; - }); + var _index4 = _interopRequireDefault(_index3); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name setDayOfYear + * @category Day Helpers + * @summary Set the day of the year to the given date. + * + * @description + * Set the day of the year to the given date. + * + * @param {Date|String|Number} date - the date to be changed + * @param {Number} dayOfYear - the day of the year of the new date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the new date with the day of the year setted + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Set the 2nd day of the year to 2 July 2014: + * var result = setDayOfYear(new Date(2014, 6, 2), 2) + * //=> Thu Jan 02 2014 00:00:00 + */ + function setDayOfYear(dirtyDate, dirtyDayOfYear, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } + + var date = (0, _index4.default)(dirtyDate, dirtyOptions); + var dayOfYear = (0, _index2.default)(dirtyDayOfYear); + date.setMonth(0); + date.setDate(dayOfYear); + return date; + } + module.exports = exports['default']; /***/ }, - /* 579 */ + /* 607 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : French (Canada) [fr-ca] - //! author : Jonathan Abourbih : https://github.com/jonbca + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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", - ss: "%d 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"); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = startOfMonth; - // Words with feminine grammatical gender: semaine - case "w": - case "W": - return number + (number === 1 ? "re" : "e"); - } - } - }); + var _index = __webpack_require__(545); - return frCa; - }); + var _index2 = _interopRequireDefault(_index); - /***/ - }, - /* 580 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : French (Switzerland) [fr-ch] - //! author : Gaspard Bucher : https://github.com/gaspard + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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", - ss: "%d 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. - } - }); + /** + * @name startOfMonth + * @category Month Helpers + * @summary Return the start of a month for the given date. + * + * @description + * Return the start of a month for the given date. + * The result will be in the local timezone. + * + * @param {Date|String|Number} date - the original date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the start of a month + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // The start of a month for 2 September 2014 11:55:00: + * var result = startOfMonth(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Mon Sep 01 2014 00:00:00 + */ + function startOfMonth(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } - return frCh; - }); + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + date.setDate(1); + date.setHours(0, 0, 0, 0); + return date; + } + module.exports = exports['default']; /***/ }, - /* 581 */ + /* 608 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Frisian [fy] - //! author : Robin van der Vliet : https://github.com/robin0van0der0v + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - 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( - "_" - ); + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = startOfYear; - 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", - ss: "%d 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. - } - }); + var _index = __webpack_require__(545); - return fy; - }); + var _index2 = _interopRequireDefault(_index); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name startOfYear + * @category Year Helpers + * @summary Return the start of a year for the given date. + * + * @description + * Return the start of a year for the given date. + * The result will be in the local timezone. + * + * @param {Date|String|Number} date - the original date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the start of a year + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // The start of a year for 2 September 2014 11:55:00: + * var result = startOfYear(new Date(2014, 8, 2, 11, 55, 00)) + * //=> Wed Jan 01 2014 00:00:00 + */ + function startOfYear(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } + + var cleanDate = (0, _index2.default)(dirtyDate, dirtyOptions); + var date = new Date(0); + date.setFullYear(cleanDate.getFullYear(), 0, 1); + date.setHours(0, 0, 0, 0); + return date; + } + module.exports = exports['default']; /***/ }, - /* 582 */ + /* 609 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Scottish Gaelic [gd] - //! author : Jon Ashdown : https://github.com/jonashdown + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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" - ]; + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = endOfWeek; - var monthsShort = [ - "Faoi", - "Gear", - "Màrt", - "Gibl", - "Cèit", - "Ògmh", - "Iuch", - "Lùn", - "Sult", - "Dàmh", - "Samh", - "Dùbh" - ]; + var _index = __webpack_require__(546); - var weekdays = [ - "Didòmhnaich", - "Diluain", - "Dimàirt", - "Diciadain", - "Diardaoin", - "Dihaoine", - "Disathairne" - ]; + var _index2 = _interopRequireDefault(_index); - var weekdaysShort = ["Did", "Dil", "Dim", "Dic", "Dia", "Dih", "Dis"]; - - 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", - ss: "%d 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. - } - }); + var _index3 = __webpack_require__(545); - return gd; - }); + var _index4 = _interopRequireDefault(_index3); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name endOfWeek + * @category Week Helpers + * @summary Return the end of a week for the given date. + * + * @description + * Return the end of a week for the given date. + * The result will be in the local timezone. + * + * @param {Date|String|Number} date - the original date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @returns {Date} the end of a week + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // The end of a week for 2 September 2014 11:55:00: + * var result = endOfWeek(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Sat Sep 06 2014 23:59:59.999 + * + * @example + * // If the week starts on Monday, the end of the week for 2 September 2014 11:55:00: + * var result = endOfWeek(new Date(2014, 8, 2, 11, 55, 0), {weekStartsOn: 1}) + * //=> Sun Sep 07 2014 23:59:59.999 + */ + function endOfWeek(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } + + var options = dirtyOptions || {}; + + var locale = options.locale; + var localeWeekStartsOn = + locale && locale.options && locale.options.weekStartsOn; + var defaultWeekStartsOn = + localeWeekStartsOn == null + ? 0 + : (0, _index2.default)(localeWeekStartsOn); + var weekStartsOn = + options.weekStartsOn == null + ? defaultWeekStartsOn + : (0, _index2.default)(options.weekStartsOn); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError( + 'weekStartsOn must be between 0 and 6 inclusively' + ); + } + + var date = (0, _index4.default)(dirtyDate, options); + var day = date.getDay(); + var diff = (day < weekStartsOn ? -7 : 0) + 6 - (day - weekStartsOn); + + date.setDate(date.getDate() + diff); + date.setHours(23, 59, 59, 999); + return date; + } + module.exports = exports['default']; /***/ }, - /* 583 */ + /* 610 */ /***/ 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__(535)) - : 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" - }, - 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" - }, - relativeTime: { - future: function(str) { - if (str.indexOf("un") === 0) { - return "n" + str; - } - return "en " + str; - }, - past: "hai %s", - s: "uns segundos", - ss: "%d 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. - } - }); + 'use strict'; - return gl; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = endOfMonth; - /***/ - }, - /* 584 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Konkani Latin script [gom-latn] - //! author : The Discoverer : https://github.com/WikiDiscoverer + var _index = __webpack_require__(545); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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"], - ss: [number + " secondanim", number + " 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 _index2 = _interopRequireDefault(_index); - 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, - ss: 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"; - } - } - }); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - return gomLatn; - }); + /** + * @name endOfMonth + * @category Month Helpers + * @summary Return the end of a month for the given date. + * + * @description + * Return the end of a month for the given date. + * The result will be in the local timezone. + * + * @param {Date|String|Number} date - the original date + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Date} the end of a month + * @throws {TypeError} 1 argument required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // The end of a month for 2 September 2014 11:55:00: + * var result = endOfMonth(new Date(2014, 8, 2, 11, 55, 0)) + * //=> Tue Sep 30 2014 23:59:59.999 + */ + function endOfMonth(dirtyDate, dirtyOptions) { + if (arguments.length < 1) { + throw new TypeError( + '1 argument required, but only ' + arguments.length + ' present' + ); + } + + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + var month = date.getMonth(); + date.setFullYear(date.getFullYear(), month + 1, 0); + date.setHours(23, 59, 59, 999); + return date; + } + module.exports = exports['default']; /***/ }, - /* 585 */ + /* 611 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Gujarati [gu] - //! author : Kaushik Thanki : https://github.com/Kaushik1987 - - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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 gu = moment.defineLocale("gu", { - 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: "અમુક પળો", - ss: "%d સેકંડ", - 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]; - }); - }, - // Gujarati 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 Gujarati. - 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. - } - }); + 'use strict'; - return gu; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = isEqual; - /***/ - }, - /* 586 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Hebrew [he] - //! author : Tomer Cohen : https://github.com/tomer - //! author : Moshe Simantov : https://github.com/DevelopmentIL - //! author : Tal Ater : https://github.com/TalAter + var _index = __webpack_require__(545); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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" - }, - relativeTime: { - future: "בעוד %s", - past: "לפני %s", - s: "מספר שניות", - ss: "%d שניות", - 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 + " שנים"; - } - }, - 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 "בערב"; - } - } - }); + var _index2 = _interopRequireDefault(_index); - return he; - }); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name isEqual + * @category Common Helpers + * @summary Are the given dates equal? + * + * @description + * Are the given dates equal? + * + * @param {Date|String|Number} dateLeft - the first date to compare + * @param {Date|String|Number} dateRight - the second date to compare + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Boolean} the dates are equal + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Are 2 July 2014 06:30:45.000 and 2 July 2014 06:30:45.500 equal? + * var result = isEqual( + * new Date(2014, 6, 2, 6, 30, 45, 0) + * new Date(2014, 6, 2, 6, 30, 45, 500) + * ) + * //=> false + */ + function isEqual(dirtyLeftDate, dirtyRightDate, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } + + var dateLeft = (0, _index2.default)(dirtyLeftDate, dirtyOptions); + var dateRight = (0, _index2.default)(dirtyRightDate, dirtyOptions); + return dateLeft.getTime() === dateRight.getTime(); + } + module.exports = exports['default']; /***/ }, - /* 587 */ + /* 612 */ /***/ 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__(535)) - : 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 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: "कुछ ही क्षण", - ss: "%d सेकंड", - 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. - } - }); + 'use strict'; - return hi; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = isSameWeek; - /***/ - }, - /* 588 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Croatian [hr] - //! author : Bojan Marković : https://github.com/bmarkovic + var _index = __webpack_require__(605); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - function translate(number, withoutSuffix, key) { - var result = number + " "; - switch (key) { - case "ss": - if (number === 1) { - result += "sekunda"; - } else if (number === 2 || number === 3 || number === 4) { - result += "sekunde"; - } else { - result += "sekundi"; - } - return result; - 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 _index2 = _interopRequireDefault(_index); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name isSameWeek + * @category Week Helpers + * @summary Are the given dates in the same week? + * + * @description + * Are the given dates in the same week? + * + * @param {Date|String|Number} dateLeft - the first date to check + * @param {Date|String|Number} dateRight - the second date to check + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @returns {Boolean} the dates are in the same week + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * + * @example + * // Are 31 August 2014 and 4 September 2014 in the same week? + * var result = isSameWeek( + * new Date(2014, 7, 31), + * new Date(2014, 8, 4) + * ) + * //=> true + * + * @example + * // If week starts with Monday, + * // are 31 August 2014 and 4 September 2014 in the same week? + * var result = isSameWeek( + * new Date(2014, 7, 31), + * new Date(2014, 8, 4), + * {weekStartsOn: 1} + * ) + * //=> false + */ + function isSameWeek(dirtyDateLeft, dirtyDateRight, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); } - 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" - }, - relativeTime: { - future: "za %s", - past: "prije %s", - s: "par sekundi", - ss: translate, - 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. - } - }); + var dateLeftStartOfWeek = (0, _index2.default)( + dirtyDateLeft, + dirtyOptions + ); + var dateRightStartOfWeek = (0, _index2.default)( + dirtyDateRight, + dirtyOptions + ); - return hr; - }); + return dateLeftStartOfWeek.getTime() === dateRightStartOfWeek.getTime(); + } + module.exports = exports['default']; /***/ }, - /* 589 */ + /* 613 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Hungarian [hu] - //! author : Adam Brunner : https://github.com/adambrunner + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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; - switch (key) { - case "s": - return isFuture || withoutSuffix - ? "néhány másodperc" - : "néhány másodperce"; - case "ss": - return num + (isFuture || withoutSuffix) - ? " másodperc" - : " 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 ""; - } - function week(isFuture) { - return ( - (isFuture ? "" : "[múlt] ") + - "[" + - weekEndings[this.day()] + - "] LT[-kor]" + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = isSameDay; + + var _index = __webpack_require__(602); + + var _index2 = _interopRequireDefault(_index); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name isSameDay + * @category Day Helpers + * @summary Are the given dates in the same day? + * + * @description + * Are the given dates in the same day? + * + * @param {Date|String|Number} dateLeft - the first date to check + * @param {Date|String|Number} dateRight - the second date to check + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Boolean} the dates are in the same day + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day? + * var result = isSameDay( + * new Date(2014, 8, 4, 6, 0), + * new Date(2014, 8, 4, 18, 0) + * ) + * //=> true + */ + function isSameDay(dirtyDateLeft, dirtyDateRight, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' ); } - 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" - }, - relativeTime: { - future: "%s múlva", - past: "%s", - s: translate, - ss: 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. - } - }); + var dateLeftStartOfDay = (0, _index2.default)( + dirtyDateLeft, + dirtyOptions + ); + var dateRightStartOfDay = (0, _index2.default)( + dirtyDateRight, + dirtyOptions + ); - return hu; - }); + return dateLeftStartOfDay.getTime() === dateRightStartOfDay.getTime(); + } + module.exports = exports['default']; /***/ }, - /* 590 */ + /* 614 */ /***/ 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__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - 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"; - }, - lastWeek: function() { - return "[անցած] 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 տարի" - }, - 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. - } - }); + 'use strict'; - return hyAm; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = isSameMonth; - /***/ - }, - /* 591 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Indonesian [id] - //! author : Mohammad Satrio Utomo : https://github.com/tyok - //! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan + var _index = __webpack_require__(545); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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", - ss: "%d 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. - } - }); + var _index2 = _interopRequireDefault(_index); - return id; - }); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name isSameMonth + * @category Month Helpers + * @summary Are the given dates in the same month? + * + * @description + * Are the given dates in the same month? + * + * @param {Date|String|Number} dateLeft - the first date to check + * @param {Date|String|Number} dateRight - the second date to check + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Boolean} the dates are in the same month + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Are 2 September 2014 and 25 September 2014 in the same month? + * var result = isSameMonth( + * new Date(2014, 8, 2), + * new Date(2014, 8, 25) + * ) + * //=> true + */ + function isSameMonth(dirtyDateLeft, dirtyDateRight, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } + + var dateLeft = (0, _index2.default)(dirtyDateLeft, dirtyOptions); + var dateRight = (0, _index2.default)(dirtyDateRight, dirtyOptions); + return ( + dateLeft.getFullYear() === dateRight.getFullYear() && + dateLeft.getMonth() === dateRight.getMonth() + ); + } + module.exports = exports['default']; /***/ }, - /* 592 */ + /* 615 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Icelandic [is] - //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - function plural(n) { - if (n % 100 === 11) { - return true; - } else if (n % 10 === 1) { - return false; - } - 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 "ss": - if (plural(number)) { - return ( - result + (withoutSuffix || isFuture ? "sekúndur" : "sekúndum") - ); - } - return result + "sekúnda"; - 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 result + "dagar"; - } - 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 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"); - } - } + Object.defineProperty(exports, '__esModule', { + value: true + }); + exports.default = isSameYear; - 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, - ss: 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. - } - }); + var _index = __webpack_require__(545); - return is; - }); + var _index2 = _interopRequireDefault(_index); - /***/ - }, - /* 593 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Italian [it] - //! author : Lorenzo : https://github.com/aliem - //! author: Mattia Larentis: https://github.com/nostalgiaz + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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" - }, - relativeTime: { - future: function(s) { - return (/^[0-9].+$/.test(s) ? "tra" : "in") + " " + s; - }, - past: "%s fa", - s: "alcuni secondi", - ss: "%d 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. - } - }); + /** + * @name isSameYear + * @category Year Helpers + * @summary Are the given dates in the same year? + * + * @description + * Are the given dates in the same year? + * + * @param {Date|String|Number} dateLeft - the first date to check + * @param {Date|String|Number} dateRight - the second date to check + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Boolean} the dates are in the same year + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Are 2 September 2014 and 25 September 2014 in the same year? + * var result = isSameYear( + * new Date(2014, 8, 2), + * new Date(2014, 8, 25) + * ) + * //=> true + */ + function isSameYear(dirtyDateLeft, dirtyDateRight, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } - return it; - }); + var dateLeft = (0, _index2.default)(dirtyDateLeft, dirtyOptions); + var dateRight = (0, _index2.default)(dirtyDateRight, dirtyOptions); + return dateLeft.getFullYear() === dateRight.getFullYear(); + } + module.exports = exports['default']; /***/ }, - /* 594 */ + /* 616 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Japanese [ja] - //! author : LI Long : https://github.com/baryon + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: "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: "数秒", - ss: "%d秒", - m: "1分", - mm: "%d分", - h: "1時間", - hh: "%d時間", - d: "1日", - dd: "%d日", - M: "1ヶ月", - MM: "%dヶ月", - y: "1年", - yy: "%d年" - } - }); - - return ja; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = isAfter; - /***/ - }, - /* 595 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Javanese [jv] - //! author : Rony Lantip : https://github.com/lantip - //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa + var _index = __webpack_require__(545); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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", - ss: "%d 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. - } - }); + var _index2 = _interopRequireDefault(_index); - return jv; - }); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name isAfter + * @category Common Helpers + * @summary Is the first date after the second one? + * + * @description + * Is the first date after the second one? + * + * @param {Date|String|Number} date - the date that should be after the other one to return true + * @param {Date|String|Number} dateToCompare - the date to compare with + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Boolean} the first date is after the second date + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Is 10 July 1989 after 11 February 1987? + * var result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11)) + * //=> true + */ + function isAfter(dirtyDate, dirtyDateToCompare, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } + + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + var dateToCompare = (0, _index2.default)( + dirtyDateToCompare, + dirtyOptions + ); + return date.getTime() > dateToCompare.getTime(); + } + module.exports = exports['default']; /***/ }, - /* 596 */ + /* 617 */ /***/ 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__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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: "რამდენიმე წამი", - ss: "%d წამი", - 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 - } - }); + 'use strict'; - return ka; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = isBefore; - /***/ - }, - /* 597 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Kazakh [kk] - //! authors : Nurlan Rakhimzhanov : https://github.com/nurlan + var _index = __webpack_require__(545); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: "бірнеше секунд", - ss: "%d секунд", - 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. - } - }); + var _index2 = _interopRequireDefault(_index); - return kk; - }); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name isBefore + * @category Common Helpers + * @summary Is the first date before the second one? + * + * @description + * Is the first date before the second one? + * + * @param {Date|String|Number} date - the date that should be before the other one to return true + * @param {Date|String|Number} dateToCompare - the date to compare with + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Boolean} the first date is before the second date + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * + * @example + * // Is 10 July 1989 before 11 February 1987? + * var result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11)) + * //=> false + */ + function isBefore(dirtyDate, dirtyDateToCompare, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } + + var date = (0, _index2.default)(dirtyDate, dirtyOptions); + var dateToCompare = (0, _index2.default)( + dirtyDateToCompare, + dirtyOptions + ); + return date.getTime() < dateToCompare.getTime(); + } + module.exports = exports['default']; /***/ }, - /* 598 */ + /* 618 */ /***/ 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__(535)) - : 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: "ប៉ុន្មានវិនាទី", - ss: "%d វិនាទី", - 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. - } - }); + 'use strict'; - return km; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = isWithinInterval; - /***/ - }, - /* 599 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Kannada [kn] - //! author : Rajeev Naik : https://github.com/rajeevnaikte + var _index = __webpack_require__(545); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: "ಕೆಲವು ಕ್ಷಣಗಳು", - ss: "%d ಸೆಕೆಂಡುಗಳು", - 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. - } - }); + var _index2 = _interopRequireDefault(_index); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * @name isWithinInterval + * @category Interval Helpers + * @summary Is the given date within the interval? + * + * @description + * Is the given date within the interval? + * + * @param {Date|String|Number} date - the date to check + * @param {Interval} interval - the interval to check + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @returns {Boolean} the date is within the interval + * @throws {TypeError} 2 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * @throws {RangeError} The start of an interval cannot be after its end + * @throws {RangeError} Date in interval cannot be `Invalid Date` + * + * @example + * // For the date within the interval: + * isWithinInterval( + * new Date(2014, 0, 3), + * {start: new Date(2014, 0, 1), end: new Date(2014, 0, 7)} + * ) + * //=> true + * + * @example + * // For the date outside of the interval: + * isWithinInterval( + * new Date(2014, 0, 10), + * {start: new Date(2014, 0, 1), end: new Date(2014, 0, 7)} + * ) + * //=> false + */ + function isWithinInterval(dirtyDate, dirtyInterval, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } + + var interval = dirtyInterval || {}; + var time = (0, _index2.default)(dirtyDate, dirtyOptions).getTime(); + var startTime = (0, _index2.default)( + interval.start, + dirtyOptions + ).getTime(); + var endTime = (0, _index2.default)( + interval.end, + dirtyOptions + ).getTime(); + + // Throw an exception if start date is after end date or if any date is `Invalid Date` + if (!(startTime <= endTime)) { + throw new RangeError('Invalid interval'); + } - return kn; - }); + return time >= startTime && time <= endTime; + } + module.exports = exports['default']; /***/ }, - /* 600 */ + /* 619 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Korean [ko] - //! author : Kyungwook, Park : https://github.com/kyungw00k - //! author : Jeeeyul Lee - - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: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: 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; - } - }, - meridiemParse: /오전|오후/, - isPM: function(token) { - return token === "오후"; - }, - meridiem: function(hour, minute, isUpper) { - return hour < 12 ? "오전" : "오후"; - } - }); + 'use strict'; - return ko; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = parse; - /***/ - }, - /* 601 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Kyrgyz [ky] - //! author : Chyngyz Arystan uulu : https://github.com/chyngyz + var _index = __webpack_require__(546); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: "бирнече секунд", - ss: "%d секунд", - 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. - } - }); + var _index2 = _interopRequireDefault(_index); - return ky; - }); + var _index3 = __webpack_require__(547); - /***/ - }, - /* 602 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Luxembourgish [lb] - //! author : mweimerskirch : https://github.com/mweimerskirch - //! author : David Raison : https://github.com/kwisatz + var _index4 = _interopRequireDefault(_index3); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: ["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]; + var _index5 = __webpack_require__(545); + + var _index6 = _interopRequireDefault(_index5); + + var _index7 = __webpack_require__(570); + + var _index8 = _interopRequireDefault(_index7); + + var _index9 = __webpack_require__(549); + + var _index10 = _interopRequireDefault(_index9); + + var _index11 = __webpack_require__(620); + + var _index12 = _interopRequireDefault(_index11); + + var _index13 = __webpack_require__(572); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + var TIMEZONE_UNIT_PRIORITY = 20; + + // This RegExp consists of three parts separated by `|`: + // - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token + // (one of the certain letters followed by `o`) + // - (\w)\1* matches any sequences of the same letter + // - '' matches two quote characters in a row + // - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('), + // except a single quote symbol, which ends the sequence. + // Two quote characters do not end the sequence. + // If there is no matching single quote + // then the sequence will continue until the end of the string. + // - . matches any single character unmatched by previous parts of the RegExps + var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g; + + var escapedStringRegExp = /^'(.*?)'?$/; + var doubleQuoteRegExp = /''/g; + + var notWhitespaceRegExp = /\S/; + + /** + * @name parse + * @category Common Helpers + * @summary Parse the date. + * + * @description + * Return the date parsed from string using the given format string. + * + * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries. + * > See: https://git.io/fxCyr + * + * The characters in the format string wrapped between two single quotes characters (') are escaped. + * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote. + * + * Format of the format string is based on Unicode Technical Standard #35: + * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table + * with a few additions (see note 5 below the table). + * + * Accepted format string patterns: + * | Unit |Prior| Pattern | Result examples | Notes | + * |---------------------------------|-----|---------|-----------------------------------|-------| + * | Era | 140 | G..GGG | AD, BC | | + * | | | GGGG | Anno Domini, Before Christ | 2 | + * | | | GGGGG | A, B | | + * | Calendar year | 130 | y | 44, 1, 1900, 2017, 9999 | 4 | + * | | | yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | yy | 44, 01, 00, 17 | 4 | + * | | | yyy | 044, 001, 123, 999 | 4 | + * | | | yyyy | 0044, 0001, 1900, 2017 | 4 | + * | | | yyyyy | ... | 2,4 | + * | Local week-numbering year | 130 | Y | 44, 1, 1900, 2017, 9000 | 4 | + * | | | Yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | YY | 44, 01, 00, 17 | 4,6 | + * | | | YYY | 044, 001, 123, 999 | 4 | + * | | | YYYY | 0044, 0001, 1900, 2017 | 4,6 | + * | | | YYYYY | ... | 2,4 | + * | ISO week-numbering year | 130 | R | -43, 1, 1900, 2017, 9999, -9999 | 4,5 | + * | | | RR | -43, 01, 00, 17 | 4,5 | + * | | | RRR | -043, 001, 123, 999, -999 | 4,5 | + * | | | RRRR | -0043, 0001, 2017, 9999, -9999 | 4,5 | + * | | | RRRRR | ... | 2,4,5 | + * | Extended year | 130 | u | -43, 1, 1900, 2017, 9999, -999 | 4 | + * | | | uu | -43, 01, 99, -99 | 4 | + * | | | uuu | -043, 001, 123, 999, -999 | 4 | + * | | | uuuu | -0043, 0001, 2017, 9999, -9999 | 4 | + * | | | uuuuu | ... | 2,4 | + * | Quarter (formatting) | 120 | Q | 1, 2, 3, 4 | | + * | | | Qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | QQ | 01, 02, 03, 04 | | + * | | | QQQ | Q1, Q2, Q3, Q4 | | + * | | | QQQQ | 1st quarter, 2nd quarter, ... | 2 | + * | | | QQQQQ | 1, 2, 3, 4 | 4 | + * | Quarter (stand-alone) | 120 | q | 1, 2, 3, 4 | | + * | | | qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | qq | 01, 02, 03, 04 | | + * | | | qqq | Q1, Q2, Q3, Q4 | | + * | | | qqqq | 1st quarter, 2nd quarter, ... | 2 | + * | | | qqqqq | 1, 2, 3, 4 | 3 | + * | Month (formatting) | 110 | M | 1, 2, ..., 12 | | + * | | | Mo | 1st, 2nd, ..., 12th | 5 | + * | | | MM | 01, 02, ..., 12 | | + * | | | MMM | Jan, Feb, ..., Dec | | + * | | | MMMM | January, February, ..., December | 2 | + * | | | MMMMM | J, F, ..., D | | + * | Month (stand-alone) | 110 | L | 1, 2, ..., 12 | | + * | | | Lo | 1st, 2nd, ..., 12th | 5 | + * | | | LL | 01, 02, ..., 12 | | + * | | | LLL | Jan, Feb, ..., Dec | | + * | | | LLLL | January, February, ..., December | 2 | + * | | | LLLLL | J, F, ..., D | | + * | Local week of year | 100 | w | 1, 2, ..., 53 | | + * | | | wo | 1st, 2nd, ..., 53th | 5 | + * | | | ww | 01, 02, ..., 53 | | + * | ISO week of year | 100 | I | 1, 2, ..., 53 | 5 | + * | | | Io | 1st, 2nd, ..., 53th | 5 | + * | | | II | 01, 02, ..., 53 | 5 | + * | Day of month | 90 | d | 1, 2, ..., 31 | | + * | | | do | 1st, 2nd, ..., 31st | 5 | + * | | | dd | 01, 02, ..., 31 | | + * | Day of year | 90 | D | 1, 2, ..., 365, 366 | 6 | + * | | | Do | 1st, 2nd, ..., 365th, 366th | 5 | + * | | | DD | 01, 02, ..., 365, 366 | 6 | + * | | | DDD | 001, 002, ..., 365, 366 | | + * | | | DDDD | ... | 2 | + * | Day of week (formatting) | 90 | E..EEE | Mon, Tue, Wed, ..., Su | | + * | | | EEEE | Monday, Tuesday, ..., Sunday | 2 | + * | | | EEEEE | M, T, W, T, F, S, S | | + * | | | EEEEEE | Mo, Tu, We, Th, Fr, Su, Sa | | + * | ISO day of week (formatting) | 90 | i | 1, 2, 3, ..., 7 | 5 | + * | | | io | 1st, 2nd, ..., 7th | 5 | + * | | | ii | 01, 02, ..., 07 | 5 | + * | | | iii | Mon, Tue, Wed, ..., Su | 5 | + * | | | iiii | Monday, Tuesday, ..., Sunday | 2,5 | + * | | | iiiii | M, T, W, T, F, S, S | 5 | + * | | | iiiiii | Mo, Tu, We, Th, Fr, Su, Sa | 5 | + * | Local day of week (formatting) | 90 | e | 2, 3, 4, ..., 1 | | + * | | | eo | 2nd, 3rd, ..., 1st | 5 | + * | | | ee | 02, 03, ..., 01 | | + * | | | eee | Mon, Tue, Wed, ..., Su | | + * | | | eeee | Monday, Tuesday, ..., Sunday | 2 | + * | | | eeeee | M, T, W, T, F, S, S | | + * | | | eeeeee | Mo, Tu, We, Th, Fr, Su, Sa | | + * | Local day of week (stand-alone) | 90 | c | 2, 3, 4, ..., 1 | | + * | | | co | 2nd, 3rd, ..., 1st | 5 | + * | | | cc | 02, 03, ..., 01 | | + * | | | ccc | Mon, Tue, Wed, ..., Su | | + * | | | cccc | Monday, Tuesday, ..., Sunday | 2 | + * | | | ccccc | M, T, W, T, F, S, S | | + * | | | cccccc | Mo, Tu, We, Th, Fr, Su, Sa | | + * | AM, PM | 80 | a..aaa | AM, PM | | + * | | | aaaa | a.m., p.m. | 2 | + * | | | aaaaa | a, p | | + * | AM, PM, noon, midnight | 80 | b..bbb | AM, PM, noon, midnight | | + * | | | bbbb | a.m., p.m., noon, midnight | 2 | + * | | | bbbbb | a, p, n, mi | | + * | Flexible day period | 80 | B..BBB | at night, in the morning, ... | | + * | | | BBBB | at night, in the morning, ... | 2 | + * | | | BBBBB | at night, in the morning, ... | | + * | Hour [1-12] | 70 | h | 1, 2, ..., 11, 12 | | + * | | | ho | 1st, 2nd, ..., 11th, 12th | 5 | + * | | | hh | 01, 02, ..., 11, 12 | | + * | Hour [0-23] | 70 | H | 0, 1, 2, ..., 23 | | + * | | | Ho | 0th, 1st, 2nd, ..., 23rd | 5 | + * | | | HH | 00, 01, 02, ..., 23 | | + * | Hour [0-11] | 70 | K | 1, 2, ..., 11, 0 | | + * | | | Ko | 1st, 2nd, ..., 11th, 0th | 5 | + * | | | KK | 1, 2, ..., 11, 0 | | + * | Hour [1-24] | 70 | k | 24, 1, 2, ..., 23 | | + * | | | ko | 24th, 1st, 2nd, ..., 23rd | 5 | + * | | | kk | 24, 01, 02, ..., 23 | | + * | Minute | 60 | m | 0, 1, ..., 59 | | + * | | | mo | 0th, 1st, ..., 59th | 5 | + * | | | mm | 00, 01, ..., 59 | | + * | Second | 50 | s | 0, 1, ..., 59 | | + * | | | so | 0th, 1st, ..., 59th | 5 | + * | | | ss | 00, 01, ..., 59 | | + * | Fraction of second | 40 | S | 0, 1, ..., 9 | | + * | | | SS | 00, 01, ..., 99 | | + * | | | SSS | 000, 0001, ..., 999 | | + * | | | SSSS | ... | 2 | + * | Timezone (ISO-8601 w/ Z) | 20 | X | -08, +0530, Z | | + * | | | XX | -0800, +0530, Z | | + * | | | XXX | -08:00, +05:30, Z | | + * | | | XXXX | -0800, +0530, Z, +123456 | 2 | + * | | | XXXXX | -08:00, +05:30, Z, +12:34:56 | | + * | Timezone (ISO-8601 w/o Z) | 20 | x | -08, +0530, +00 | | + * | | | xx | -0800, +0530, +0000 | | + * | | | xxx | -08:00, +05:30, +00:00 | 2 | + * | | | xxxx | -0800, +0530, +0000, +123456 | | + * | | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | | + * | Seconds timestamp | 10 | t | 512969520 | | + * | | | tt | ... | 2 | + * | Milliseconds timestamp | 10 | T | 512969520900 | | + * | | | TT | ... | 2 | + * Notes: + * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale + * are the same as "stand-alone" units, but are different in some languages. + * "Formatting" units are declined according to the rules of the language + * in the context of a date. "Stand-alone" units are always nominative singular. + * In `format` function, they will produce different result: + * + * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'` + * + * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'` + * + * `parse` will try to match both formatting and stand-alone units interchangably. + * + * 2. Any sequence of the identical letters is a pattern, unless it is escaped by + * the single quote characters (see below). + * If the sequence is longer than listed in table: + * - for numerical units (`yyyyyyyy`) `parse` will try to match a number + * as wide as the sequence + * - for text units (`MMMMMMMM`) `parse` will try to match the widest variation of the unit. + * These variations are marked with "2" in the last column of the table. + * + * 3. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales. + * These tokens represent the shortest form of the quarter. + * + * 4. The main difference between `y` and `u` patterns are B.C. years: + * + * | Year | `y` | `u` | + * |------|-----|-----| + * | AC 1 | 1 | 1 | + * | BC 1 | 1 | 0 | + * | BC 2 | 2 | -1 | + * + * Also `yy` will try to guess the century of two digit year by proximity with `baseDate`: + * + * `parse('50', 'yy', new Date(2018, 0, 1)) //=> Sat Jan 01 2050 00:00:00` + * + * `parse('75', 'yy', new Date(2018, 0, 1)) //=> Wed Jan 01 1975 00:00:00` + * + * while `uu` will just assign the year as is: + * + * `parse('50', 'uu', new Date(2018, 0, 1)) //=> Sat Jan 01 0050 00:00:00` + * + * `parse('75', 'uu', new Date(2018, 0, 1)) //=> Tue Jan 01 0075 00:00:00` + * + * The same difference is true for local and ISO week-numbering years (`Y` and `R`), + * except local week-numbering years are dependent on `options.weekStartsOn` + * and `options.firstWeekContainsDate` (compare [setISOWeekYear]{@link https://date-fns.org/docs/setISOWeekYear} + * and [setWeekYear]{@link https://date-fns.org/docs/setWeekYear}). + * + * 5. These patterns are not in the Unicode Technical Standard #35: + * - `i`: ISO day of week + * - `I`: ISO week of year + * - `R`: ISO week-numbering year + * - `o`: ordinal number modifier + * + * 6. These tokens are often confused with others. See: https://git.io/fxCyr + * + * Values will be assigned to the date in the descending order of its unit's priority. + * Units of an equal priority overwrite each other in the order of appearance. + * + * If no values of higher priority are parsed (e.g. when parsing string 'January 1st' without a year), + * the values will be taken from 3rd argument `baseDate` which works as a context of parsing. + * + * `baseDate` must be passed for correct work of the function. + * If you're not sure which `baseDate` to supply, create a new instance of Date: + * `parse('02/11/2014', 'MM/dd/yyyy', new Date())` + * In this case parsing will be done in the context of the current date. + * If `baseDate` is `Invalid Date` or a value not convertible to valid `Date`, + * then `Invalid Date` will be returned. + * + * The result may vary by locale. + * + * If `formatString` matches with `dateString` but does not provides tokens, `baseDate` will be returned. + * + * If parsing failed, `Invalid Date` will be returned. + * Invalid Date is a Date, whose time value is NaN. + * Time value of Date: http://es5.github.io/#x15.9.1.1 + * + * @param {String} dateString - the string to parse + * @param {String} formatString - the string of tokens + * @param {Date|String|Number} baseDate - defines values missing from the parsed dateString + * @param {Options} [options] - the object with options. See [Options]{@link https://date-fns.org/docs/Options} + * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate} + * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale} + * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday) + * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year + * @param {Boolean} [options.awareOfUnicodeTokens=false] - if true, allows usage of Unicode tokens causes confusion: + * - Some of the day of year tokens (`D`, `DD`) that are confused with the day of month tokens (`d`, `dd`). + * - Some of the local week-numbering year tokens (`YY`, `YYYY`) that are confused with the calendar year tokens (`yy`, `yyyy`). + * See: https://git.io/fxCyr + * @returns {Date} the parsed date + * @throws {TypeError} 3 arguments required + * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2 + * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6 + * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7 + * @throws {RangeError} `options.locale` must contain `match` property + * @throws {RangeError} `options.awareOfUnicodeTokens` must be set to `true` to use `XX` token; see: https://git.io/fxCyr + * + * @example + * // Parse 11 February 2014 from middle-endian format: + * var result = parse( + * '02/11/2014', + * 'MM/dd/yyyy', + * new Date() + * ) + * //=> Tue Feb 11 2014 00:00:00 + * + * @example + * // Parse 28th of February in Esperanto locale in the context of 2010 year: + * import eo from 'date-fns/locale/eo' + * var result = parse( + * '28-a de februaro', + * "do 'de' MMMM", + * new Date(2010, 0, 1), + * {locale: eo} + * ) + * //=> Sun Feb 28 2010 00:00:00 + */ + function parse( + dirtyDateString, + dirtyFormatString, + dirtyBaseDate, + dirtyOptions + ) { + if (arguments.length < 3) { + throw new TypeError( + '3 arguments required, but only ' + arguments.length + ' present' + ); } - function processFutureTime(string) { - var number = string.substr(0, string.indexOf(" ")); - if (eifelerRegelAppliesToNumber(number)) { - return "a " + string; - } - return "an " + string; + + var dateString = String(dirtyDateString); + var formatString = String(dirtyFormatString); + var options = dirtyOptions || {}; + + var locale = options.locale || _index10.default; + + if (!locale.match) { + throw new RangeError('locale must contain match property'); } - function processPastTime(string) { - var number = string.substr(0, string.indexOf(" ")); - if (eifelerRegelAppliesToNumber(number)) { - return "viru " + string; - } - return "virun " + string; + + var localeFirstWeekContainsDate = + locale.options && locale.options.firstWeekContainsDate; + var defaultFirstWeekContainsDate = + localeFirstWeekContainsDate == null + ? 1 + : (0, _index2.default)(localeFirstWeekContainsDate); + var firstWeekContainsDate = + options.firstWeekContainsDate == null + ? defaultFirstWeekContainsDate + : (0, _index2.default)(options.firstWeekContainsDate); + + // Test if weekStartsOn is between 1 and 7 _and_ is not NaN + if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) { + throw new RangeError( + 'firstWeekContainsDate must be between 1 and 7 inclusively' + ); } - /** - * 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); + + var localeWeekStartsOn = locale.options && locale.options.weekStartsOn; + var defaultWeekStartsOn = + localeWeekStartsOn == null + ? 0 + : (0, _index2.default)(localeWeekStartsOn); + var weekStartsOn = + options.weekStartsOn == null + ? defaultWeekStartsOn + : (0, _index2.default)(options.weekStartsOn); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError( + 'weekStartsOn must be between 0 and 6 inclusively' + ); + } + + if (formatString === '') { + if (dateString === '') { + return (0, _index6.default)(dirtyBaseDate, options); } else { - // Anything larger than 4 digits: recursively check first n-3 digits - number = number / 1000; - return eifelerRegelAppliesToNumber(number); + return new Date(NaN); } } - 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", - ss: "%d 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. + var subFnOptions = { + firstWeekContainsDate: firstWeekContainsDate, + weekStartsOn: weekStartsOn, + locale: locale + }; + + // If timezone isn't specified, it will be set to the system timezone + var setters = [ + { + priority: TIMEZONE_UNIT_PRIORITY, + set: dateToSystemTimezone, + index: 0 } - }); + ]; - return lb; - }); + var i; - /***/ - }, - /* 603 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Lao [lo] - //! author : Ryan Hart : https://github.com/ryanhart2 + var tokens = formatString.match(formattingTokensRegExp); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: "ບໍ່ເທົ່າໃດວິນາທີ", - ss: "%d ວິນາທີ", - 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; + for (i = 0; i < tokens.length; i++) { + var token = tokens[i]; + + if ( + !options.awareOfUnicodeTokens && + (0, _index13.isProtectedToken)(token) + ) { + (0, _index13.throwProtectedError)(token); } - }); - return lo; - }); + var firstCharacter = token[0]; + var parser = _index12.default[firstCharacter]; + if (parser) { + var parseResult = parser.parse( + dateString, + token, + locale.match, + subFnOptions + ); - /***/ - }, - /* 604 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Lithuanian [lt] - //! author : Mindaugas Mozūras : https://github.com/mmozuras + if (!parseResult) { + return new Date(NaN); + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - var units = { - ss: "sekundė_sekundžių_sekundes", - 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("_"); - } - 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]); + setters.push({ + priority: parser.priority, + set: parser.set, + validate: parser.validate, + value: parseResult.value, + index: setters.length + }); + + dateString = parseResult.rest; } else { - if (isFuture) { - return result + forms(key)[1]; + // Replace two single quote characters with one single quote character + if (token === "''") { + token = "'"; + } else if (firstCharacter === "'") { + token = cleanEscapedString(token); + } + + // Cut token from string, or, if string doesn't match the token, return Invalid Date + if (dateString.indexOf(token) === 0) { + dateString = dateString.slice(token.length); } else { - return result + (special(number) ? forms(key)[1] : forms(key)[2]); + return new Date(NaN); } } } - 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, - ss: translate, - 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; - }); + // Check if the remaining input contains something other than whitespace + if (dateString.length > 0 && notWhitespaceRegExp.test(dateString)) { + return new Date(NaN); + } - /***/ - }, - /* 605 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Latvian [lv] - //! author : Kristaps Karlsons : https://github.com/skakri - //! author : Jānis Elmeris : https://github.com/JanisE + var uniquePrioritySetters = setters + .map(function(setter) { + return setter.priority; + }) + .sort(function(a, b) { + return b - a; + }) + .filter(function(priority, index, array) { + return array.indexOf(priority) === index; + }) + .map(function(priority) { + return setters + .filter(function(setter) { + return setter.priority === priority; + }) + .reverse(); + }) + .map(function(setterArray) { + return setterArray[0]; + }); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - var units = { - ss: "sekundes_sekundēm_sekunde_sekundes".split("_"), - 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 date = (0, _index6.default)(dirtyBaseDate, options); - 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, - ss: relativeTimeWithPlural, - 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. - } - }); + if (isNaN(date)) { + return new Date(NaN); + } - return lv; - }); + // Convert the date in system timezone to the same date in UTC+00:00 timezone. + // This ensures that when UTC functions will be implemented, locales will be compatible with them. + // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/37 + var utcDate = (0, _index8.default)(date, (0, _index4.default)(date)); - /***/ - }, - /* 606 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Montenegrin [me] - //! author : Miodrag Nikač : https://github.com/miodragnikac + for (i = 0; i < uniquePrioritySetters.length; i++) { + var setter = uniquePrioritySetters[i]; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - var translator = { - words: { - //Different grammatical cases - ss: ["sekund", "sekunda", "sekundi"], - 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) - ); - } + if ( + setter.validate && + !setter.validate(utcDate, setter.value, subFnOptions) + ) { + return new Date(NaN); } - }; - 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"; - } - }, - 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" - }, - relativeTime: { - future: "za %s", - past: "prije %s", - s: "nekoliko sekundi", - ss: translator.translate, - 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. - } - }); + utcDate = setter.set(utcDate, setter.value, subFnOptions); + } - return me; - }); + return utcDate; + } + + function dateToSystemTimezone(date) { + var convertedDate = new Date(0); + convertedDate.setFullYear( + date.getUTCFullYear(), + date.getUTCMonth(), + date.getUTCDate() + ); + convertedDate.setHours( + date.getUTCHours(), + date.getUTCMinutes(), + date.getUTCSeconds(), + date.getUTCMilliseconds() + ); + return convertedDate; + } + + function cleanEscapedString(input) { + return input + .match(escapedStringRegExp)[1] + .replace(doubleQuoteRegExp, "'"); + } + module.exports = exports['default']; /***/ }, - /* 607 */ + /* 620 */ /***/ 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__(535)) - : 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", - ss: "%d hēkona", - 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. - } - }); + 'use strict'; - return mi; + Object.defineProperty(exports, '__esModule', { + value: true }); - /***/ - }, - /* 608 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Macedonian [mk] - //! author : Borislav Mickov : https://github.com/B0k0 + var _index = __webpack_require__(568); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: "неколку секунди", - ss: "%d секунди", - 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. - } - }); + var _index2 = _interopRequireDefault(_index); - return mk; - }); + var _index3 = __webpack_require__(621); - /***/ - }, - /* 609 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Malayalam [ml] - //! author : Floyd Pink : https://github.com/floydpink + var _index4 = _interopRequireDefault(_index3); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: "അൽപ നിമിഷങ്ങൾ", - ss: "%d സെക്കൻഡ്", - 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 "രാത്രി"; - } - } - }); + var _index5 = __webpack_require__(622); - return ml; - }); + var _index6 = _interopRequireDefault(_index5); - /***/ - }, - /* 610 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Marathi [mr] - //! author : Harshad Kale : https://github.com/kalehv - //! author : Vivek Athalye : https://github.com/vnathalye + var _index7 = __webpack_require__(566); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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" - }; - - function relativeTimeMr(number, withoutSuffix, string, isFuture) { - var output = ""; - if (withoutSuffix) { - switch (string) { - case "s": - output = "काही सेकंद"; - break; - case "ss": - output = "%d सेकंद"; - 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 "ss": - output = "%d सेकंदां"; - 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 _index8 = _interopRequireDefault(_index7); - 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, - ss: 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. - } - }); + var _index9 = __webpack_require__(623); - return mr; - }); + var _index10 = _interopRequireDefault(_index9); - /***/ - }, - /* 611 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Malay [ms] - //! author : Weldan Jamili : https://github.com/weldan + var _index11 = __webpack_require__(624); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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", - ss: "%d 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. - } - }); + var _index12 = _interopRequireDefault(_index11); - return ms; - }); + var _index13 = __webpack_require__(562); - /***/ - }, - /* 612 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Malay [ms-my] - //! note : DEPRECATED, the correct one is [ms] - //! author : Weldan Jamili : https://github.com/weldan + var _index14 = _interopRequireDefault(_index13); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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", - ss: "%d 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. - } - }); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - return msMy; - }); + var MILLISECONDS_IN_HOUR = 3600000; + var MILLISECONDS_IN_MINUTE = 60000; + var MILLISECONDS_IN_SECOND = 1000; + + var numericPatterns = { + month: /^(1[0-2]|0?\d)/, // 0 to 12 + date: /^(3[0-1]|[0-2]?\d)/, // 0 to 31 + dayOfYear: /^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/, // 0 to 366 + week: /^(5[0-3]|[0-4]?\d)/, // 0 to 53 + hour23h: /^(2[0-3]|[0-1]?\d)/, // 0 to 23 + hour24h: /^(2[0-4]|[0-1]?\d)/, // 0 to 24 + hour11h: /^(1[0-1]|0?\d)/, // 0 to 11 + hour12h: /^(1[0-2]|0?\d)/, // 0 to 12 + minute: /^[0-5]?\d/, // 0 to 59 + second: /^[0-5]?\d/, // 0 to 59 + + singleDigit: /^\d/, // 0 to 9 + twoDigits: /^\d{1,2}/, // 0 to 99 + threeDigits: /^\d{1,3}/, // 0 to 999 + fourDigits: /^\d{1,4}/, // 0 to 9999 + + anyDigitsSigned: /^-?\d+/, + singleDigitSigned: /^-?\d/, // 0 to 9, -0 to -9 + twoDigitsSigned: /^-?\d{1,2}/, // 0 to 99, -0 to -99 + threeDigitsSigned: /^-?\d{1,3}/, // 0 to 999, -0 to -999 + fourDigitsSigned: /^-?\d{1,4}/ // 0 to 9999, -0 to -9999 + }; - /***/ - }, - /* 613 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Maltese (Malta) [mt] - //! author : Alessandro Maruccia : https://github.com/alesma + var timezonePatterns = { + basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/, + basic: /^([+-])(\d{2})(\d{2})|Z/, + basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/, + extended: /^([+-])(\d{2}):(\d{2})|Z/, + extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/ + }; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - var mt = moment.defineLocale("mt", { - months: "Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split( - "_" - ), - monthsShort: "Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split( - "_" - ), - weekdays: "Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split( - "_" - ), - weekdaysShort: "Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"), - weekdaysMin: "Ħa_Tn_Tl_Er_Ħa_Ġi_Si".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: "[Illum fil-]LT", - nextDay: "[Għada fil-]LT", - nextWeek: "dddd [fil-]LT", - lastDay: "[Il-bieraħ fil-]LT", - lastWeek: "dddd [li għadda] [fil-]LT", - sameElse: "L" - }, - relativeTime: { - future: "f’ %s", - past: "%s ilu", - s: "ftit sekondi", - ss: "%d sekondi", - m: "minuta", - mm: "%d minuti", - h: "siegħa", - hh: "%d siegħat", - d: "ġurnata", - dd: "%d ġranet", - M: "xahar", - MM: "%d xhur", - y: "sena", - yy: "%d sni" - }, - 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. - } - }); + function parseNumericPattern(pattern, string, valueCallback) { + var matchResult = string.match(pattern); - return mt; - }); + if (!matchResult) { + return null; + } - /***/ - }, - /* 614 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Burmese [my] - //! author : Squar team, mysquar.com - //! author : David Rossellat : https://github.com/gholadr - //! author : Tin Aung Lin : https://github.com/thanyawzinmin + var value = parseInt(matchResult[0], 10); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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 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: "စက္ကန်.အနည်းငယ်", - ss: "%d စက္ကန့်", - 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 { + value: valueCallback ? valueCallback(value) : value, + rest: string.slice(matchResult[0].length) + }; + } - return my; - }); + function parseTimezonePattern(pattern, string) { + var matchResult = string.match(pattern); - /***/ - }, - /* 615 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Norwegian Bokmål [nb] - //! authors : Espen Hovlandsdal : https://github.com/rexxars - //! Sigurd Gartmann : https://github.com/sigurdga + if (!matchResult) { + return null; + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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", - ss: "%d 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. - } - }); + // Input is 'Z' + if (matchResult[0] === 'Z') { + return { + value: 0, + rest: string.slice(1) + }; + } - return nb; - }); + var sign = matchResult[1] === '+' ? 1 : -1; + var hours = matchResult[2] ? parseInt(matchResult[2], 10) : 0; + var minutes = matchResult[3] ? parseInt(matchResult[3], 10) : 0; + var seconds = matchResult[5] ? parseInt(matchResult[5], 10) : 0; - /***/ - }, - /* 616 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Nepalese [ne] - //! author : suvash : https://github.com/suvash + return { + value: + sign * + (hours * MILLISECONDS_IN_HOUR + + minutes * MILLISECONDS_IN_MINUTE + + seconds * MILLISECONDS_IN_SECOND), + rest: string.slice(matchResult[0].length) + }; + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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 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: "केही क्षण", - ss: "%d सेकेण्ड", - 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. - } - }); + function parseAnyDigitsSigned(string, valueCallback) { + return parseNumericPattern( + numericPatterns.anyDigitsSigned, + string, + valueCallback + ); + } + + function parseNDigits(n, string, valueCallback) { + switch (n) { + case 1: + return parseNumericPattern( + numericPatterns.singleDigit, + string, + valueCallback + ); + case 2: + return parseNumericPattern( + numericPatterns.twoDigits, + string, + valueCallback + ); + case 3: + return parseNumericPattern( + numericPatterns.threeDigits, + string, + valueCallback + ); + case 4: + return parseNumericPattern( + numericPatterns.fourDigits, + string, + valueCallback + ); + default: + return parseNumericPattern( + new RegExp('^\\d{1,' + n + '}'), + string, + valueCallback + ); + } + } + + function parseNDigitsSigned(n, string, valueCallback) { + switch (n) { + case 1: + return parseNumericPattern( + numericPatterns.singleDigitSigned, + string, + valueCallback + ); + case 2: + return parseNumericPattern( + numericPatterns.twoDigitsSigned, + string, + valueCallback + ); + case 3: + return parseNumericPattern( + numericPatterns.threeDigitsSigned, + string, + valueCallback + ); + case 4: + return parseNumericPattern( + numericPatterns.fourDigitsSigned, + string, + valueCallback + ); + default: + return parseNumericPattern( + new RegExp('^-?\\d{1,' + n + '}'), + string, + valueCallback + ); + } + } - return ne; - }); + function dayPeriodEnumToHours(enumValue) { + switch (enumValue) { + case 'morning': + return 4; + case 'evening': + return 17; + case 'pm': + case 'noon': + case 'afternoon': + return 12; + case 'am': + case 'midnight': + case 'night': + default: + return 0; + } + } - /***/ - }, - /* 617 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Dutch [nl] - //! author : Joris Röling : https://github.com/jorisroling - //! author : Jacob Middag : https://github.com/middagj + function normalizeTwoDigitYear(twoDigitYear, currentYear) { + var isCommonEra = currentYear > 0; + // Absolute number of the current year: + // 1 -> 1 AC + // 0 -> 1 BC + // -1 -> 2 BC + var absCurrentYear = isCommonEra ? currentYear : 1 - currentYear; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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 result; + if (absCurrentYear <= 50) { + result = twoDigitYear || 100; + } else { + var rangeEnd = absCurrentYear + 50; + var rangeEndCentury = Math.floor(rangeEnd / 100) * 100; + var isPreviousCentury = twoDigitYear >= rangeEnd % 100; + result = + twoDigitYear + rangeEndCentury - (isPreviousCentury ? 100 : 0); + } + + return isCommonEra ? result : 1 - result; + } + + var DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; + var DAYS_IN_MONTH_LEAP_YEAR = [ + 31, + 29, + 31, + 30, + 31, + 30, + 31, + 31, + 30, + 31, + 30, + 31 + ]; - 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; + // User for validation + function isLeapYearIndex(year) { + return year % 400 === 0 || (year % 4 === 0 && year % 100 !== 0); + } - 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()]; + /* + * | | Unit | | Unit | + * |-----|--------------------------------|-----|--------------------------------| + * | a | AM, PM | A* | Milliseconds in day | + * | b | AM, PM, noon, midnight | B | Flexible day period | + * | c | Stand-alone local day of week | C* | Localized hour w/ day period | + * | d | Day of month | D | Day of year | + * | e | Local day of week | E | Day of week | + * | f | | F* | Day of week in month | + * | g* | Modified Julian day | G | Era | + * | h | Hour [1-12] | H | Hour [0-23] | + * | i! | ISO day of week | I! | ISO week of year | + * | j* | Localized hour w/ day period | J* | Localized hour w/o day period | + * | k | Hour [1-24] | K | Hour [0-11] | + * | l* | (deprecated) | L | Stand-alone month | + * | m | Minute | M | Month | + * | n | | N | | + * | o! | Ordinal number modifier | O* | Timezone (GMT) | + * | p | | P | | + * | q | Stand-alone quarter | Q | Quarter | + * | r* | Related Gregorian year | R! | ISO week-numbering year | + * | s | Second | S | Fraction of second | + * | t! | Seconds timestamp | T! | Milliseconds timestamp | + * | u | Extended year | U* | Cyclic year | + * | v* | Timezone (generic non-locat.) | V* | Timezone (location) | + * | w | Local week of year | W* | Week of month | + * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) | + * | y | Year (abs) | Y | Local week-numbering year | + * | z* | Timezone (specific non-locat.) | Z* | Timezone (aliases) | + * + * Letters marked by * are not implemented but reserved by Unicode standard. + * + * Letters marked by ! are non-standard, but implemented by date-fns: + * - `o` modifies the previous token to turn it into an ordinal (see `parse` docs) + * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days, + * i.e. 7 for Sunday, 1 for Monday, etc. + * - `I` is ISO week of year, as opposed to `w` which is local week of year. + * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year. + * `R` is supposed to be used in conjunction with `I` and `i` + * for universal ISO week-numbering date, whereas + * `Y` is supposed to be used in conjunction with `w` and `e` + * for week-numbering date specific to the locale. + */ + var parsers = { + // Era + G: { + priority: 140, + parse: function parse(string, token, match, options) { + switch (token) { + // AD, BC + case 'G': + case 'GG': + case 'GGG': + return ( + match.era(string, { width: 'abbreviated' }) || + match.era(string, { width: 'narrow' }) + ); + // A, B + case 'GGGGG': + return match.era(string, { width: 'narrow' }); + // Anno Domini, Before Christ + case 'GGGG': + default: + return ( + match.era(string, { width: 'wide' }) || + match.era(string, { width: 'abbreviated' }) || + match.era(string, { width: 'narrow' }) + ); } }, + set: function set(date, value, options) { + // Sets year 10 BC if BC, or 10 AC if AC + date.setUTCFullYear(value === 1 ? 10 : -9, 0, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }, - 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, + // Year + y: { + // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns + // | Year | y | yy | yyy | yyyy | yyyyy | + // |----------|-------|----|-------|-------|-------| + // | AD 1 | 1 | 01 | 001 | 0001 | 00001 | + // | AD 12 | 12 | 12 | 012 | 0012 | 00012 | + // | AD 123 | 123 | 23 | 123 | 0123 | 00123 | + // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 | + // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 | + + priority: 130, + parse: function parse(string, token, match, options) { + var valueCallback = function valueCallback(year) { + return { + year: year, + isTwoDigitYear: token === 'yy' + }; + }; - 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", - ss: "%d 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" + switch (token) { + case 'y': + return parseNDigits(4, string, valueCallback); + case 'yo': + return match.ordinalNumber(string, { + unit: 'year', + valueCallback: valueCallback + }); + default: + return parseNDigits(token.length, string, valueCallback); + } }, - dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, - ordinal: function(number) { - return ( - number + - (number === 1 || number === 8 || number >= 20 ? "ste" : "de") - ); + validate: function validate(date, value, options) { + return value.isTwoDigitYear || value.year > 0; }, - 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; - }); + set: function set(date, value, options) { + var currentYear = (0, _index2.default)(date, options); - /***/ - }, - /* 618 */ - /***/ 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 + if (value.isTwoDigitYear) { + var normalizedTwoDigitYear = normalizeTwoDigitYear( + value.year, + currentYear + ); + date.setUTCFullYear(normalizedTwoDigitYear, 0, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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 year = currentYear > 0 ? value.year : 1 - value.year; + date.setUTCFullYear(year, 0, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }, - 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; + // Local week-numbering year + Y: { + priority: 130, + parse: function parse(string, token, match, options) { + var valueCallback = function valueCallback(year) { + return { + year: year, + isTwoDigitYear: token === 'YY' + }; + }; - 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()]; + switch (token) { + case 'Y': + return parseNDigits(4, string, valueCallback); + case 'Yo': + return match.ordinalNumber(string, { + unit: 'year', + valueCallback: valueCallback + }); + default: + return parseNDigits(token.length, string, valueCallback); } }, + validate: function validate(date, value, options) { + return value.isTwoDigitYear || value.year > 0; + }, + set: function set(date, value, options) { + var currentYear = date.getUTCFullYear(); - 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, + if (value.isTwoDigitYear) { + var normalizedTwoDigitYear = normalizeTwoDigitYear( + value.year, + currentYear + ); + date.setUTCFullYear( + normalizedTwoDigitYear, + 0, + options.firstWeekContainsDate + ); + date.setUTCHours(0, 0, 0, 0); + return (0, _index8.default)(date, options); + } - 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", - ss: "%d 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. + var year = currentYear > 0 ? value.year : 1 - value.year; + date.setUTCFullYear(year, 0, options.firstWeekContainsDate); + date.setUTCHours(0, 0, 0, 0); + return (0, _index8.default)(date, options); } - }); - - return nlBe; - }); + }, - /***/ - }, - /* 619 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Nynorsk [nn] - //! author : https://github.com/mechuwind + // ISO week-numbering year + R: { + priority: 130, + parse: function parse(string, token, match, options) { + if (token === 'R') { + return parseNDigitsSigned(4, string); + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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" + return parseNDigitsSigned(token.length, string); }, - relativeTime: { - future: "om %s", - past: "%s sidan", - s: "nokre sekund", - ss: "%d 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. + set: function set(date, value, options) { + var firstWeekOfYear = new Date(0); + firstWeekOfYear.setUTCFullYear(value, 0, 4); + firstWeekOfYear.setUTCHours(0, 0, 0, 0); + return (0, _index14.default)(firstWeekOfYear); } - }); - - return nn; - }); + }, - /***/ - }, - /* 620 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Punjabi (India) [pa-in] - //! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit + // Extended year + u: { + priority: 130, + parse: function parse(string, token, match, options) { + if (token === 'u') { + return parseNDigitsSigned(4, string); + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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 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: "ਕੁਝ ਸਕਿੰਟ", - ss: "%d ਸਕਿੰਟ", - 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]; - }); + return parseNDigitsSigned(token.length, string); }, - 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; + set: function set(date, value, options) { + date.setUTCFullYear(value, 0, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }, + + // Quarter + Q: { + priority: 120, + parse: function parse(string, token, match, options) { + switch (token) { + // 1, 2, 3, 4 + case 'Q': + case 'QQ': + // 01, 02, 03, 04 + return parseNDigits(token.length, string); + // 1st, 2nd, 3rd, 4th + case 'Qo': + return match.ordinalNumber(string, { unit: 'quarter' }); + // Q1, Q2, Q3, Q4 + case 'QQQ': + return ( + match.quarter(string, { + width: 'abbreviated', + context: 'formatting' + }) || + match.quarter(string, { + width: 'narrow', + context: 'formatting' + }) + ); + // 1, 2, 3, 4 (narrow quarter; could be not numerical) + case 'QQQQQ': + return match.quarter(string, { + width: 'narrow', + context: 'formatting' + }); + // 1st quarter, 2nd quarter, ... + case 'QQQQ': + default: + return ( + match.quarter(string, { + width: 'wide', + context: 'formatting' + }) || + match.quarter(string, { + width: 'abbreviated', + context: 'formatting' + }) || + match.quarter(string, { + width: 'narrow', + context: 'formatting' + }) + ); } }, - 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 "ਰਾਤ"; - } + validate: function validate(date, value, options) { + return value >= 1 && value <= 4; }, - 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. + set: function set(date, value, options) { + date.setUTCMonth((value - 1) * 3, 1); + date.setUTCHours(0, 0, 0, 0); + return date; } - }); - - return paIn; - }); - - /***/ - }, - /* 621 */ - /***/ 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__(535)) - : 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( - "_" - ); - 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 "ss": - return result + (plural(number) ? "sekundy" : "sekund"); - 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()]; + // Stand-alone quarter + q: { + priority: 120, + parse: function parse(string, token, match, options) { + switch (token) { + // 1, 2, 3, 4 + case 'q': + case 'qq': + // 01, 02, 03, 04 + return parseNDigits(token.length, string); + // 1st, 2nd, 3rd, 4th + case 'qo': + return match.ordinalNumber(string, { unit: 'quarter' }); + // Q1, Q2, Q3, Q4 + case 'qqq': + return ( + match.quarter(string, { + width: 'abbreviated', + context: 'standalone' + }) || + match.quarter(string, { + width: 'narrow', + context: 'standalone' + }) + ); + // 1, 2, 3, 4 (narrow quarter; could be not numerical) + case 'qqqqq': + return match.quarter(string, { + width: 'narrow', + context: 'standalone' + }); + // 1st quarter, 2nd quarter, ... + case 'qqqq': + default: + return ( + match.quarter(string, { + width: 'wide', + context: 'standalone' + }) || + match.quarter(string, { + width: 'abbreviated', + context: 'standalone' + }) || + match.quarter(string, { + width: 'narrow', + context: 'standalone' + }) + ); } }, - 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" + validate: function validate(date, value, options) { + return value >= 1 && value <= 4; }, - calendar: { - sameDay: "[Dziś o] LT", - nextDay: "[Jutro o] LT", - nextWeek: function() { - switch (this.day()) { - case 0: - return "[W niedzielę o] LT"; - - case 2: - return "[We wtorek o] LT"; - - case 3: - return "[W środę o] LT"; + set: function set(date, value, options) { + date.setUTCMonth((value - 1) * 3, 1); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }, - case 6: - return "[W sobotę o] LT"; + // Month + M: { + priority: 110, + parse: function parse(string, token, match, options) { + var valueCallback = function valueCallback(value) { + return value - 1; + }; - default: - return "[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" + switch (token) { + // 1, 2, ..., 12 + case 'M': + return parseNumericPattern( + numericPatterns.month, + string, + valueCallback + ); + // 01, 02, ..., 12 + case 'MM': + return parseNDigits(2, string, valueCallback); + // 1st, 2nd, ..., 12th + case 'Mo': + return match.ordinalNumber(string, { + unit: 'month', + valueCallback: valueCallback + }); + // Jan, Feb, ..., Dec + case 'MMM': + return ( + match.month(string, { + width: 'abbreviated', + context: 'formatting' + }) || + match.month(string, { + width: 'narrow', + context: 'formatting' + }) + ); + // J, F, ..., D + case 'MMMMM': + return match.month(string, { + width: 'narrow', + context: 'formatting' + }); + // January, February, ..., December + case 'MMMM': + default: + return ( + match.month(string, { + width: 'wide', + context: 'formatting' + }) || + match.month(string, { + width: 'abbreviated', + context: 'formatting' + }) || + match.month(string, { + width: 'narrow', + context: 'formatting' + }) + ); + } }, - relativeTime: { - future: "za %s", - past: "%s temu", - s: "kilka sekund", - ss: translate, - m: translate, - mm: translate, - h: translate, - hh: translate, - d: "1 dzień", - dd: "%d dni", - M: "miesiąc", - MM: translate, - y: "rok", - yy: translate + validate: function validate(date, value, options) { + return value >= 0 && value <= 11; }, - 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. + set: function set(date, value, options) { + date.setUTCMonth(value, 1); + date.setUTCHours(0, 0, 0, 0); + return date; } - }); - - return pl; - }); + }, - /***/ - }, - /* 622 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Portuguese [pt] - //! author : Jefferson : https://github.com/jalex79 + // Stand-alone month + L: { + priority: 110, + parse: function parse(string, token, match, options) { + var valueCallback = function valueCallback(value) { + return value - 1; + }; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: "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 - }, - sameElse: "L" + switch (token) { + // 1, 2, ..., 12 + case 'L': + return parseNumericPattern( + numericPatterns.month, + string, + valueCallback + ); + // 01, 02, ..., 12 + case 'LL': + return parseNDigits(2, string, valueCallback); + // 1st, 2nd, ..., 12th + case 'Lo': + return match.ordinalNumber(string, { + unit: 'month', + valueCallback: valueCallback + }); + // Jan, Feb, ..., Dec + case 'LLL': + return ( + match.month(string, { + width: 'abbreviated', + context: 'standalone' + }) || + match.month(string, { + width: 'narrow', + context: 'standalone' + }) + ); + // J, F, ..., D + case 'LLLLL': + return match.month(string, { + width: 'narrow', + context: 'standalone' + }); + // January, February, ..., December + case 'LLLL': + default: + return ( + match.month(string, { + width: 'wide', + context: 'standalone' + }) || + match.month(string, { + width: 'abbreviated', + context: 'standalone' + }) || + match.month(string, { + width: 'narrow', + context: 'standalone' + }) + ); + } }, - relativeTime: { - future: "em %s", - past: "há %s", - s: "segundos", - ss: "%d 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" + validate: function validate(date, value, options) { + return value >= 0 && value <= 11; }, - 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. + set: function set(date, value, options) { + date.setUTCMonth(value, 1); + date.setUTCHours(0, 0, 0, 0); + return date; } - }); - - return pt; - }); - - /***/ - }, - /* 623 */ - /***/ 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__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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 - }, - sameElse: "L" + // Local week of year + w: { + priority: 100, + parse: function parse(string, token, match, options) { + switch (token) { + case 'w': + return parseNumericPattern(numericPatterns.week, string); + case 'wo': + return match.ordinalNumber(string, { unit: 'week' }); + default: + return parseNDigits(token.length, string); + } }, - relativeTime: { - future: "em %s", - past: "%s atrás", - s: "poucos segundos", - ss: "%d 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" + validate: function validate(date, value, options) { + return value >= 1 && value <= 53; }, - dayOfMonthOrdinalParse: /\d{1,2}º/, - ordinal: "%dº" - }); - - return ptBr; - }); - - /***/ - }, - /* 624 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Romanian [ro] - //! author : Vlad Gurdiga : https://github.com/gurdiga - //! author : Valentin Agachi : https://github.com/avaly + set: function set(date, value, options) { + return (0, _index8.default)( + (0, _index6.default)(date, value, options), + options + ); + } + }, - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - function relativeTimeWithPlural(number, withoutSuffix, key) { - var format = { - ss: "secunde", - 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" + // ISO week of year + I: { + priority: 100, + parse: function parse(string, token, match, options) { + switch (token) { + case 'I': + return parseNumericPattern(numericPatterns.week, string); + case 'Io': + return match.ordinalNumber(string, { unit: 'week' }); + default: + return parseNDigits(token.length, string); + } }, - relativeTime: { - future: "peste %s", - past: "%s în urmă", - s: "câteva secunde", - ss: relativeTimeWithPlural, - 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 + validate: function validate(date, value, options) { + return value >= 1 && value <= 53; }, - 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. + set: function set(date, value, options) { + return (0, _index14.default)( + (0, _index12.default)(date, value, options), + options + ); } - }); - - return ro; - }); - - /***/ - }, - /* 625 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Russian [ru] - //! author : Viktorminator : https://github.com/Viktorminator - //! Author : Menelion Elensúle : https://github.com/Oire - //! author : Коренберг Марк : https://github.com/socketpair - - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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 relativeTimeWithPlural(number, withoutSuffix, key) { - var format = { - ss: withoutSuffix - ? "секунда_секунды_секунд" - : "секунду_секунды_секунд", - mm: withoutSuffix ? "минута_минуты_минут" : "минуту_минуты_минут", - hh: "час_часа_часов", - dd: "день_дня_дней", - MM: "месяц_месяца_месяцев", - yy: "год_года_лет" - }; - if (key === "m") { - return withoutSuffix ? "минута" : "минуту"; - } else { - return number + " " + plural(format[key], +number); - } - } - 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: "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", - 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"; - } - } - }, - 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"; - } - } - }, - sameElse: "L" - }, - relativeTime: { - future: "через %s", - past: "%s назад", - s: "несколько секунд", - ss: relativeTimeWithPlural, - 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 "вечера"; + // Day of the month + d: { + priority: 90, + parse: function parse(string, token, match, options) { + switch (token) { + case 'd': + return parseNumericPattern(numericPatterns.date, string); + case 'do': + return match.ordinalNumber(string, { unit: 'date' }); + default: + return parseNDigits(token.length, string); } }, - 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; + validate: function validate(date, value, options) { + var year = date.getUTCFullYear(); + var isLeapYear = isLeapYearIndex(year); + var month = date.getUTCMonth(); + if (isLeapYear) { + return value >= 1 && value <= DAYS_IN_MONTH_LEAP_YEAR[month]; + } else { + return value >= 1 && value <= DAYS_IN_MONTH[month]; } }, - 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. + set: function set(date, value, options) { + date.setUTCDate(value); + date.setUTCHours(0, 0, 0, 0); + return date; } - }); - - return ru; - }); - - /***/ - }, - /* 626 */ - /***/ 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__(535)) - : 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 "صبح"; + // Day of year + D: { + priority: 90, + parse: function parse(string, token, match, options) { + switch (token) { + case 'D': + case 'DD': + return parseNumericPattern(numericPatterns.dayOfYear, string); + case 'Do': + return match.ordinalNumber(string, { unit: 'date' }); + default: + return parseNDigits(token.length, string); } - return "شام"; - }, - 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 سال" }, - preparse: function(string) { - return string.replace(/،/g, ","); - }, - postformat: function(string) { - return string.replace(/,/g, "،"); + validate: function validate(date, value, options) { + var year = date.getUTCFullYear(); + var isLeapYear = isLeapYearIndex(year); + if (isLeapYear) { + return value >= 1 && value <= 366; + } else { + return value >= 1 && value <= 365; + } }, - 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. + set: function set(date, value, options) { + date.setUTCMonth(0, value); + date.setUTCHours(0, 0, 0, 0); + return date; } - }); - - return sd; - }); - - /***/ - }, - /* 627 */ - /***/ 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__(535)) - : 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" + // Day of week + E: { + priority: 90, + parse: function parse(string, token, match, options) { + switch (token) { + // Tue + case 'E': + case 'EE': + case 'EEE': + return ( + match.day(string, { + width: 'abbreviated', + context: 'formatting' + }) || + match.day(string, { + width: 'short', + context: 'formatting' + }) || + match.day(string, { width: 'narrow', context: 'formatting' }) + ); + // T + case 'EEEEE': + return match.day(string, { + width: 'narrow', + context: 'formatting' + }); + // Tu + case 'EEEEEE': + return ( + match.day(string, { + width: 'short', + context: 'formatting' + }) || + match.day(string, { width: 'narrow', context: 'formatting' }) + ); + // Tuesday + case 'EEEE': + default: + return ( + match.day(string, { width: 'wide', context: 'formatting' }) || + match.day(string, { + width: 'abbreviated', + context: 'formatting' + }) || + match.day(string, { + width: 'short', + context: 'formatting' + }) || + match.day(string, { width: 'narrow', context: 'formatting' }) + ); + } }, - relativeTime: { - future: "%s geažes", - past: "maŋit %s", - s: "moadde sekunddat", - ss: "%d 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" + validate: function validate(date, value, options) { + return value >= 0 && value <= 6; }, - 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. + set: function set(date, value, options) { + date = (0, _index4.default)(date, value, options); + date.setUTCHours(0, 0, 0, 0); + return date; } - }); - - return se; - }); + }, - /***/ - }, - /* 628 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Sinhalese [si] - //! author : Sampath Sitinamaluwa : https://github.com/sampathsris + // Local day of week + e: { + priority: 90, + parse: function parse(string, token, match, options) { + var valueCallback = function valueCallback(value) { + var wholeWeekDays = Math.floor((value - 1) / 7) * 7; + return ((value + options.weekStartsOn + 6) % 7) + wholeWeekDays; + }; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: "තත්පර කිහිපය", - ss: "තත්පර %d", - 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 ? "පෙ.ව." : "පෙර වරු"; + switch (token) { + // 3 + case 'e': + case 'ee': + // 03 + return parseNDigits(token.length, string, valueCallback); + // 3rd + case 'eo': + return match.ordinalNumber(string, { + unit: 'day', + valueCallback: valueCallback + }); + // Tue + case 'eee': + return ( + match.day(string, { + width: 'abbreviated', + context: 'formatting' + }) || + match.day(string, { + width: 'short', + context: 'formatting' + }) || + match.day(string, { width: 'narrow', context: 'formatting' }) + ); + // T + case 'eeeee': + return match.day(string, { + width: 'narrow', + context: 'formatting' + }); + // Tu + case 'eeeeee': + return ( + match.day(string, { + width: 'short', + context: 'formatting' + }) || + match.day(string, { width: 'narrow', context: 'formatting' }) + ); + // Tuesday + case 'eeee': + default: + return ( + match.day(string, { width: 'wide', context: 'formatting' }) || + match.day(string, { + width: 'abbreviated', + context: 'formatting' + }) || + match.day(string, { + width: 'short', + context: 'formatting' + }) || + match.day(string, { width: 'narrow', context: 'formatting' }) + ); } - } - }); - - return si; - }); - - /***/ - }, - /* 629 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Slovak [sk] - //! author : Martin Minka : https://github.com/k2s - //! based on work of petrbela : https://github.com/petrbela - - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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( - "_" - ); - 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 "ss": // 9 seconds / in 9 seconds / 9 seconds ago - if (withoutSuffix || isFuture) { - return result + (plural(number) ? "sekundy" : "sekúnd"); - } else { - return result + "sekundami"; - } - break; - 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" }, - relativeTime: { - future: "za %s", - past: "pred %s", - s: translate, - ss: translate, - m: translate, - mm: translate, - h: translate, - hh: translate, - d: translate, - dd: translate, - M: translate, - MM: translate, - y: translate, - yy: translate + validate: function validate(date, value, options) { + return value >= 0 && value <= 6; }, - 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. + set: function set(date, value, options) { + date = (0, _index4.default)(date, value, options); + date.setUTCHours(0, 0, 0, 0); + return date; } - }); - - return sk; - }); - - /***/ - }, - /* 630 */ - /***/ 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__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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 "ss": - if (number === 1) { - result += withoutSuffix ? "sekundo" : "sekundi"; - } else if (number === 2) { - result += withoutSuffix || isFuture ? "sekundi" : "sekundah"; - } else if (number < 5) { - result += withoutSuffix || isFuture ? "sekunde" : "sekundah"; - } else { - result += withoutSuffix || isFuture ? "sekund" : "sekund"; - } - return result; - 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; - } - } + // Stand-alone local day of week + c: { + priority: 90, + parse: function parse(string, token, match, options) { + var valueCallback = function valueCallback(value) { + var wholeWeekDays = Math.floor((value - 1) / 7) * 7; + return ((value + options.weekStartsOn + 6) % 7) + wholeWeekDays; + }; - 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" + switch (token) { + // 3 + case 'c': + case 'cc': + // 03 + return parseNDigits(token.length, string, valueCallback); + // 3rd + case 'co': + return match.ordinalNumber(string, { + unit: 'day', + valueCallback: valueCallback + }); + // Tue + case 'ccc': + return ( + match.day(string, { + width: 'abbreviated', + context: 'standalone' + }) || + match.day(string, { + width: 'short', + context: 'standalone' + }) || + match.day(string, { width: 'narrow', context: 'standalone' }) + ); + // T + case 'ccccc': + return match.day(string, { + width: 'narrow', + context: 'standalone' + }); + // Tu + case 'cccccc': + return ( + match.day(string, { + width: 'short', + context: 'standalone' + }) || + match.day(string, { width: 'narrow', context: 'standalone' }) + ); + // Tuesday + case 'cccc': + default: + return ( + match.day(string, { width: 'wide', context: 'standalone' }) || + match.day(string, { + width: 'abbreviated', + context: 'standalone' + }) || + match.day(string, { + width: 'short', + context: 'standalone' + }) || + match.day(string, { width: 'narrow', context: 'standalone' }) + ); + } }, - relativeTime: { - future: "čez %s", - past: "pred %s", - s: processRelativeTime, - ss: processRelativeTime, - m: processRelativeTime, - mm: processRelativeTime, - h: processRelativeTime, - hh: processRelativeTime, - d: processRelativeTime, - dd: processRelativeTime, - M: processRelativeTime, - MM: processRelativeTime, - y: processRelativeTime, - yy: processRelativeTime + validate: function validate(date, value, options) { + return value >= 0 && value <= 6; }, - 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. + set: function set(date, value, options) { + date = (0, _index4.default)(date, value, options); + date.setUTCHours(0, 0, 0, 0); + return date; } - }); - - return sl; - }); + }, - /***/ - }, - /* 631 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Albanian [sq] - //! author : Flakërim Ismani : https://github.com/flakerimi - //! author : Menelion Elensúle : https://github.com/Oire - //! author : Oerd Cukalla : https://github.com/oerd + // ISO day of week + i: { + priority: 90, + parse: function parse(string, token, match, options) { + var valueCallback = function valueCallback(value) { + if (value === 0) { + return 7; + } + return value; + }; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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" + switch (token) { + // 2 + case 'i': + case 'ii': + // 02 + return parseNDigits(token.length, string); + // 2nd + case 'io': + return match.ordinalNumber(string, { unit: 'day' }); + // Tue + case 'iii': + return ( + match.day(string, { + width: 'abbreviated', + context: 'formatting', + valueCallback: valueCallback + }) || + match.day(string, { + width: 'short', + context: 'formatting', + valueCallback: valueCallback + }) || + match.day(string, { + width: 'narrow', + context: 'formatting', + valueCallback: valueCallback + }) + ); + // T + case 'iiiii': + return match.day(string, { + width: 'narrow', + context: 'formatting', + valueCallback: valueCallback + }); + // Tu + case 'iiiiii': + return ( + match.day(string, { + width: 'short', + context: 'formatting', + valueCallback: valueCallback + }) || + match.day(string, { + width: 'narrow', + context: 'formatting', + valueCallback: valueCallback + }) + ); + // Tuesday + case 'iiii': + default: + return ( + match.day(string, { + width: 'wide', + context: 'formatting', + valueCallback: valueCallback + }) || + match.day(string, { + width: 'abbreviated', + context: 'formatting', + valueCallback: valueCallback + }) || + match.day(string, { + width: 'short', + context: 'formatting', + valueCallback: valueCallback + }) || + match.day(string, { + width: 'narrow', + context: 'formatting', + valueCallback: valueCallback + }) + ); + } }, - 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" + validate: function validate(date, value, options) { + return value >= 1 && value <= 7; }, - relativeTime: { - future: "në %s", - past: "%s më parë", - s: "disa sekonda", - ss: "%d 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" + set: function set(date, value, options) { + date = (0, _index10.default)(date, value, options); + date.setUTCHours(0, 0, 0, 0); + return date; + } + }, + + // AM or PM + a: { + priority: 80, + parse: function parse(string, token, match, options) { + switch (token) { + case 'a': + case 'aa': + case 'aaa': + return ( + match.dayPeriod(string, { + width: 'abbreviated', + context: 'formatting' + }) || + match.dayPeriod(string, { + width: 'narrow', + context: 'formatting' + }) + ); + case 'aaaaa': + return match.dayPeriod(string, { + width: 'narrow', + context: 'formatting' + }); + case 'aaaa': + default: + return ( + match.dayPeriod(string, { + width: 'wide', + context: 'formatting' + }) || + match.dayPeriod(string, { + width: 'abbreviated', + context: 'formatting' + }) || + match.dayPeriod(string, { + width: 'narrow', + context: 'formatting' + }) + ); + } }, - 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. + set: function set(date, value, options) { + date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0); + return date; } - }); + }, - return sq; - }); + // AM, PM, midnight + b: { + priority: 80, + parse: function parse(string, token, match, options) { + switch (token) { + case 'b': + case 'bb': + case 'bbb': + return ( + match.dayPeriod(string, { + width: 'abbreviated', + context: 'formatting' + }) || + match.dayPeriod(string, { + width: 'narrow', + context: 'formatting' + }) + ); + case 'bbbbb': + return match.dayPeriod(string, { + width: 'narrow', + context: 'formatting' + }); + case 'bbbb': + default: + return ( + match.dayPeriod(string, { + width: 'wide', + context: 'formatting' + }) || + match.dayPeriod(string, { + width: 'abbreviated', + context: 'formatting' + }) || + match.dayPeriod(string, { + width: 'narrow', + context: 'formatting' + }) + ); + } + }, + set: function set(date, value, options) { + date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0); + return date; + } + }, - /***/ - }, - /* 632 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Serbian [sr] - //! author : Milan Janačković : https://github.com/milan-j + // in the morning, in the afternoon, in the evening, at night + B: { + priority: 80, + parse: function parse(string, token, match, options) { + switch (token) { + case 'B': + case 'BB': + case 'BBB': + return ( + match.dayPeriod(string, { + width: 'abbreviated', + context: 'formatting' + }) || + match.dayPeriod(string, { + width: 'narrow', + context: 'formatting' + }) + ); + case 'BBBBB': + return match.dayPeriod(string, { + width: 'narrow', + context: 'formatting' + }); + case 'BBBB': + default: + return ( + match.dayPeriod(string, { + width: 'wide', + context: 'formatting' + }) || + match.dayPeriod(string, { + width: 'abbreviated', + context: 'formatting' + }) || + match.dayPeriod(string, { + width: 'narrow', + context: 'formatting' + }) + ); + } + }, + set: function set(date, value, options) { + date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0); + return date; + } + }, - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - var translator = { - words: { - //Different grammatical cases - ss: ["sekunda", "sekunde", "sekundi"], - 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"] + // Hour [1-12] + h: { + priority: 70, + parse: function parse(string, token, match, options) { + switch (token) { + case 'h': + return parseNumericPattern(numericPatterns.hour12h, string); + case 'ho': + return match.ordinalNumber(string, { unit: 'hour' }); + default: + return parseNDigits(token.length, string); + } }, - correctGrammaticalCase: function(number, wordKey) { - return number === 1 - ? wordKey[0] - : number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]; + validate: function validate(date, value, options) { + return value >= 1 && value <= 12; }, - translate: function(number, withoutSuffix, key) { - var wordKey = translator.words[key]; - if (key.length === 1) { - return withoutSuffix ? wordKey[0] : wordKey[1]; + set: function set(date, value, options) { + var isPM = date.getUTCHours() >= 12; + if (isPM && value < 12) { + date.setUTCHours(value + 12, 0, 0, 0); + } else if (!isPM && value === 12) { + date.setUTCHours(0, 0, 0, 0); } else { - return ( - number + - " " + - translator.correctGrammaticalCase(number, wordKey) - ); + date.setUTCHours(value, 0, 0, 0); } + return date; } - }; + }, - 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" + // Hour [0-23] + H: { + priority: 70, + parse: function parse(string, token, match, options) { + switch (token) { + case 'H': + return parseNumericPattern(numericPatterns.hour23h, string); + case 'Ho': + return match.ordinalNumber(string, { unit: 'hour' }); + default: + return parseNDigits(token.length, string); + } }, - relativeTime: { - future: "za %s", - past: "pre %s", - s: "nekoliko sekundi", - ss: translator.translate, - 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 + validate: function validate(date, value, options) { + return value >= 0 && value <= 23; }, - 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. + set: function set(date, value, options) { + date.setUTCHours(value, 0, 0, 0); + return date; } - }); - - return sr; - }); - - /***/ - }, - /* 633 */ - /***/ 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__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - var translator = { - words: { - //Different grammatical cases - ss: ["секунда", "секунде", "секунди"], - m: ["један минут", "једне минуте"], - mm: ["минут", "минуте", "минута"], - h: ["један сат", "једног сата"], - hh: ["сат", "сата", "сати"], - dd: ["дан", "дана", "дана"], - MM: ["месец", "месеца", "месеци"], - yy: ["година", "године", "година"] + // Hour [0-11] + K: { + priority: 70, + parse: function parse(string, token, match, options) { + switch (token) { + case 'K': + return parseNumericPattern(numericPatterns.hour11h, string); + case 'Ko': + return match.ordinalNumber(string, { unit: 'hour' }); + default: + return parseNDigits(token.length, string); + } }, - correctGrammaticalCase: function(number, wordKey) { - return number === 1 - ? wordKey[0] - : number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]; + validate: function validate(date, value, options) { + return value >= 0 && value <= 11; }, - translate: function(number, withoutSuffix, key) { - var wordKey = translator.words[key]; - if (key.length === 1) { - return withoutSuffix ? wordKey[0] : wordKey[1]; + set: function set(date, value, options) { + var isPM = date.getUTCHours() >= 12; + if (isPM && value < 12) { + date.setUTCHours(value + 12, 0, 0, 0); } else { - return ( - number + - " " + - translator.correctGrammaticalCase(number, wordKey) - ); + date.setUTCHours(value, 0, 0, 0); } + return date; } - }; + }, - 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"; - } - }, - lastDay: "[јуче у] LT", - lastWeek: function() { - var lastWeekDays = [ - "[прошле] [недеље] [у] LT", - "[прошлог] [понедељка] [у] LT", - "[прошлог] [уторка] [у] LT", - "[прошле] [среде] [у] LT", - "[прошлог] [четвртка] [у] LT", - "[прошлог] [петка] [у] LT", - "[прошле] [суботе] [у] LT" - ]; - return lastWeekDays[this.day()]; - }, - sameElse: "L" + // Hour [1-24] + k: { + priority: 70, + parse: function parse(string, token, match, options) { + switch (token) { + case 'k': + return parseNumericPattern(numericPatterns.hour24h, string); + case 'ko': + return match.ordinalNumber(string, { unit: 'hour' }); + default: + return parseNDigits(token.length, string); + } }, - relativeTime: { - future: "за %s", - past: "пре %s", - s: "неколико секунди", - ss: translator.translate, - m: translator.translate, - mm: translator.translate, - h: translator.translate, - hh: translator.translate, - d: "дан", - dd: translator.translate, - M: "месец", - MM: translator.translate, - y: "годину", - yy: translator.translate + validate: function validate(date, value, options) { + return value >= 1 && value <= 24; }, - 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. + set: function set(date, value, options) { + var hours = value <= 24 ? value % 24 : value; + date.setUTCHours(hours, 0, 0, 0); + return date; } - }); - - return srCyrl; - }); - - /***/ - }, - /* 634 */ - /***/ 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__(535)) - : 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" + // Minute + m: { + priority: 60, + parse: function parse(string, token, match, options) { + switch (token) { + case 'm': + return parseNumericPattern(numericPatterns.minute, string); + case 'mo': + return match.ordinalNumber(string, { unit: 'minute' }); + default: + return parseNDigits(token.length, string); + } }, - relativeTime: { - future: "nga %s", - past: "wenteka nga %s", - s: "emizuzwana lomcane", - ss: "%d mzuzwana", - 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" + validate: function validate(date, value, options) { + return value >= 0 && value <= 59; }, - 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"; + set: function set(date, value, options) { + date.setUTCMinutes(value, 0, 0); + return date; + } + }, + + // Second + s: { + priority: 50, + parse: function parse(string, token, match, options) { + switch (token) { + case 's': + return parseNumericPattern(numericPatterns.second, string); + case 'so': + return match.ordinalNumber(string, { unit: 'second' }); + default: + return parseNDigits(token.length, string); } }, - 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; - } + validate: function validate(date, value, options) { + return value >= 0 && value <= 59; }, - 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. + set: function set(date, value, options) { + date.setUTCSeconds(value, 0); + return date; } - }); - - return ss; - }); + }, - /***/ - }, - /* 635 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Swedish [sv] - //! author : Jens Alm : https://github.com/ulmus + // Fraction of second + S: { + priority: 40, + parse: function parse(string, token, match, options) { + var valueCallback = function valueCallback(value) { + return Math.floor(value * Math.pow(10, -token.length + 3)); + }; + return parseNDigits(token.length, string, valueCallback); + }, + set: function set(date, value, options) { + date.setUTCMilliseconds(value); + return date; + } + }, - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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" + // Timezone (ISO-8601. +00:00 is `'Z'`) + X: { + priority: 20, + parse: function parse(string, token, match, options) { + switch (token) { + case 'X': + return parseTimezonePattern( + timezonePatterns.basicOptionalMinutes, + string + ); + case 'XX': + return parseTimezonePattern(timezonePatterns.basic, string); + case 'XXXX': + return parseTimezonePattern( + timezonePatterns.basicOptionalSeconds, + string + ); + case 'XXXXX': + return parseTimezonePattern( + timezonePatterns.extendedOptionalSeconds, + string + ); + case 'XXX': + default: + return parseTimezonePattern(timezonePatterns.extended, string); + } }, - calendar: { - sameDay: "[Idag] LT", - nextDay: "[Imorgon] LT", - lastDay: "[Igår] LT", - nextWeek: "[På] dddd LT", - lastWeek: "[I] dddd[s] LT", - sameElse: "L" + set: function set(date, value, options) { + return new Date(date.getTime() - value); + } + }, + + // Timezone (ISO-8601) + x: { + priority: 20, + parse: function parse(string, token, match, options) { + switch (token) { + case 'x': + return parseTimezonePattern( + timezonePatterns.basicOptionalMinutes, + string + ); + case 'xx': + return parseTimezonePattern(timezonePatterns.basic, string); + case 'xxxx': + return parseTimezonePattern( + timezonePatterns.basicOptionalSeconds, + string + ); + case 'xxxxx': + return parseTimezonePattern( + timezonePatterns.extendedOptionalSeconds, + string + ); + case 'xxx': + default: + return parseTimezonePattern(timezonePatterns.extended, string); + } }, - relativeTime: { - future: "om %s", - past: "för %s sedan", - s: "några sekunder", - ss: "%d 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" + set: function set(date, value, options) { + return new Date(date.getTime() - value); + } + }, + + // Seconds timestamp + t: { + priority: 10, + parse: function parse(string, token, match, options) { + return parseAnyDigitsSigned(string); }, - 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; + set: function set(date, value, options) { + return new Date(value * 1000); + } + }, + + // Milliseconds timestamp + T: { + priority: 10, + parse: function parse(string, token, match, options) { + return parseAnyDigitsSigned(string); }, - 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. + set: function set(date, value, options) { + return new Date(value); } - }); + } + }; - return sv; - }); + exports.default = parsers; + module.exports = exports['default']; /***/ }, - /* 636 */ + /* 621 */ /***/ 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__(535)) - : 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", - ss: "sekunde %d", - 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. - } - }); + 'use strict'; - return sw; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = setUTCDay; + + var _index = __webpack_require__(546); + + var _index2 = _interopRequireDefault(_index); + + var _index3 = __webpack_require__(545); + + var _index4 = _interopRequireDefault(_index3); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + // This function will be a part of public API when UTC function will be implemented. + // See issue: https://github.com/date-fns/date-fns/issues/376 + function setUTCDay(dirtyDate, dirtyDay, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } + + var options = dirtyOptions || {}; + var locale = options.locale; + var localeWeekStartsOn = + locale && locale.options && locale.options.weekStartsOn; + var defaultWeekStartsOn = + localeWeekStartsOn == null + ? 0 + : (0, _index2.default)(localeWeekStartsOn); + var weekStartsOn = + options.weekStartsOn == null + ? defaultWeekStartsOn + : (0, _index2.default)(options.weekStartsOn); + + // Test if weekStartsOn is between 0 and 6 _and_ is not NaN + if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) { + throw new RangeError( + 'weekStartsOn must be between 0 and 6 inclusively' + ); + } + + var date = (0, _index4.default)(dirtyDate, dirtyOptions); + var day = (0, _index2.default)(dirtyDay); + + var currentDay = date.getUTCDay(); + + var remainder = day % 7; + var dayIndex = (remainder + 7) % 7; + + var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay; + + date.setUTCDate(date.getUTCDate() + diff); + return date; + } + module.exports = exports['default']; /***/ }, - /* 637 */ + /* 622 */ /***/ 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__(535)) - : 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: "ஒரு சில விநாடிகள்", - ss: "%d விநாடிகள்", - 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. - } - }); + 'use strict'; - return ta; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = setUTCWeek; + + var _index = __webpack_require__(546); + + var _index2 = _interopRequireDefault(_index); + + var _index3 = __webpack_require__(545); + + var _index4 = _interopRequireDefault(_index3); + + var _index5 = __webpack_require__(565); + + var _index6 = _interopRequireDefault(_index5); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + // This function will be a part of public API when UTC function will be implemented. + // See issue: https://github.com/date-fns/date-fns/issues/376 + function setUTCWeek(dirtyDate, dirtyWeek, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } + + var date = (0, _index4.default)(dirtyDate, dirtyOptions); + var week = (0, _index2.default)(dirtyWeek); + var diff = (0, _index6.default)(date, dirtyOptions) - week; + date.setUTCDate(date.getUTCDate() - diff * 7); + return date; + } + module.exports = exports['default']; /***/ }, - /* 638 */ + /* 623 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Telugu [te] - //! author : Krishna Chaitanya Thota : https://github.com/kcthota - - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: "కొన్ని క్షణాలు", - ss: "%d సెకన్లు", - 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. - } - }); + 'use strict'; - return te; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = setUTCISODay; + + var _index = __webpack_require__(546); + + var _index2 = _interopRequireDefault(_index); + + var _index3 = __webpack_require__(545); + + var _index4 = _interopRequireDefault(_index3); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + // This function will be a part of public API when UTC function will be implemented. + // See issue: https://github.com/date-fns/date-fns/issues/376 + function setUTCISODay(dirtyDate, dirtyDay, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } + + var day = (0, _index2.default)(dirtyDay); + + if (day % 7 === 0) { + day = day - 7; + } + + var weekStartsOn = 1; + var date = (0, _index4.default)(dirtyDate, dirtyOptions); + var currentDay = date.getUTCDay(); + + var remainder = day % 7; + var dayIndex = (remainder + 7) % 7; + + var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay; + + date.setUTCDate(date.getUTCDate() + diff); + return date; + } + module.exports = exports['default']; /***/ }, - /* 639 */ + /* 624 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! 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__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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", - ss: "minutu %d", - 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. - } - }); + 'use strict'; - return tet; + Object.defineProperty(exports, '__esModule', { + value: true }); + exports.default = setUTCISOWeek; + + var _index = __webpack_require__(546); + + var _index2 = _interopRequireDefault(_index); + + var _index3 = __webpack_require__(545); + + var _index4 = _interopRequireDefault(_index3); + + var _index5 = __webpack_require__(561); + + var _index6 = _interopRequireDefault(_index5); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + // This function will be a part of public API when UTC function will be implemented. + // See issue: https://github.com/date-fns/date-fns/issues/376 + function setUTCISOWeek(dirtyDate, dirtyISOWeek, dirtyOptions) { + if (arguments.length < 2) { + throw new TypeError( + '2 arguments required, but only ' + arguments.length + ' present' + ); + } + + var date = (0, _index4.default)(dirtyDate, dirtyOptions); + var isoWeek = (0, _index2.default)(dirtyISOWeek); + var diff = (0, _index6.default)(date, dirtyOptions) - isoWeek; + date.setUTCDate(date.getUTCDate() - diff * 7); + return date; + } + module.exports = exports['default']; /***/ }, - /* 640 */ + /* 625 */ /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Thai [th] - //! author : Kridsada Thanabulpong : https://github.com/sirn + 'use strict'; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: "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: "ไม่กี่วินาที", - ss: "%d วินาที", - m: "1 นาที", - mm: "%d นาที", - h: "1 ชั่วโมง", - hh: "%d ชั่วโมง", - d: "1 วัน", - dd: "%d วัน", - M: "1 เดือน", - MM: "%d เดือน", - y: "1 ปี", - yy: "%d ปี" + Object.defineProperty(exports, '__esModule', { value: true }); + + var react = __webpack_require__(328); + var reactDom = __webpack_require__(334); + + function _inheritsLoose(subClass, superClass) { + subClass.prototype = Object.create(superClass.prototype); + subClass.prototype.constructor = subClass; + subClass.__proto__ = superClass; + } + + function _objectWithoutProperties(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + if (Object.getOwnPropertySymbols) { + var sourceSymbolKeys = Object.getOwnPropertySymbols(source); + + for (i = 0; i < sourceSymbolKeys.length; i++) { + key = sourceSymbolKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + if (!Object.prototype.propertyIsEnumerable.call(source, key)) + continue; + target[key] = source[key]; } - }); + } - return th; - }); + return target; + } - /***/ - }, - /* 641 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Tagalog (Philippines) [tl-ph] - //! author : Dan Hagman : https://github.com/hagmandan + /** + * Check whether some DOM node is our Component's node. + */ + function isNodeFound(current, componentNode, ignoreClass) { + if (current === componentNode) { + return true; + } // SVG elements do not technically reside in the rendered DOM, so + // they do not have classList directly, but they offer a link to their + // corresponding element, which can have classList. This extra check is for + // that case. + // See: http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGUseElement + // Discussion: https://github.com/Pomax/react-onclickoutside/pull/17 - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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", - ss: "%d 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. + if (current.correspondingElement) { + return current.correspondingElement.classList.contains(ignoreClass); + } + + return current.classList.contains(ignoreClass); + } + /** + * Try to find our node in a hierarchy of nodes, returning the document + * node as highest node if our node is not found in the path up. + */ + + function findHighest(current, componentNode, ignoreClass) { + if (current === componentNode) { + return true; + } // If source=local then this event came from 'somewhere' + // inside and should be ignored. We could handle this with + // a layered approach, too, but that requires going back to + // thinking in terms of Dom node nesting, running counter + // to React's 'you shouldn't care about the DOM' philosophy. + + while (current.parentNode) { + if (isNodeFound(current, componentNode, ignoreClass)) { + return true; } - }); - return tlPh; - }); + current = current.parentNode; + } - /***/ - }, - /* 642 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Klingon [tlh] - //! author : Dominika Kruk : https://github.com/amaranthrose + return current; + } + /** + * Check if the browser scrollbar was clicked + */ - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - var numbersNouns = "pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split( - "_" + function clickedScrollbar(evt) { + return ( + document.documentElement.clientWidth <= evt.clientX || + document.documentElement.clientHeight <= evt.clientY ); + } - 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 translate(number, withoutSuffix, string, isFuture) { - var numberNoun = numberAsNoun(number); - switch (string) { - case "ss": - return numberNoun + " lup"; - 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", - ss: translate, - 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. + // ideally will get replaced with external dep + // when rafrex/detect-passive-events#4 and rafrex/detect-passive-events#5 get merged in + var testPassiveEventSupport = function testPassiveEventSupport() { + if ( + typeof window === 'undefined' || + typeof window.addEventListener !== 'function' + ) { + return; + } + + var passive = false; + var options = Object.defineProperty({}, 'passive', { + get: function get() { + passive = true; } }); - return tlh; - }); + var noop = function noop() {}; - /***/ - }, - /* 643 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Turkish [tr] - //! authors : Erhan Gundogan : https://github.com/erhangundogan, - //! Burak Yiğit Kaya: https://github.com/BYK + window.addEventListener('testPassiveEventSupport', noop, options); + window.removeEventListener('testPassiveEventSupport', noop, options); + return passive; + }; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: "[gelecek] dddd [saat] LT", - lastDay: "[dün] LT", - lastWeek: "[geçen] dddd [saat] LT", - sameElse: "L" - }, - relativeTime: { - future: "%s sonra", - past: "%s önce", - s: "birkaç saniye", - ss: "%d 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. - } - }); + function autoInc(seed) { + if (seed === void 0) { + seed = 0; + } - return tr; - }); + return function() { + return ++seed; + }; + } - /***/ - }, - /* 644 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Talossan [tzl] - //! author : Robin van der Vliet : https://github.com/robin0van0der0v - //! author : Iustì Canun + var uid = autoInc(); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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, - ss: 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. - } - }); + var passiveEventSupport; + var handlersMap = {}; + var enabledInstances = {}; + var touchEvents = ['touchstart', 'touchmove']; + var IGNORE_CLASS_NAME = 'ignore-react-onclickoutside'; + /** + * Options for addEventHandler and removeEventHandler + */ + + function getEventHandlerOptions(instance, eventName) { + var handlerOptions = null; + var isTouchEvent = touchEvents.indexOf(eventName) !== -1; + + if (isTouchEvent && passiveEventSupport) { + handlerOptions = { + passive: !instance.props.preventDefault + }; + } + + return handlerOptions; + } + /** + * This function generates the HOC function that you'll use + * in order to impart onOutsideClick listening to an + * arbitrary component. It gets called at the end of the + * bootstrapping code to yield an instance of the + * onClickOutsideHOC function defined inside setupHOC(). + */ - function processRelativeTime(number, withoutSuffix, key, isFuture) { - var format = { - s: ["viensas secunds", "'iensas secunds"], - ss: [number + " secunds", "" + number + " 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]; - } + function onClickOutsideHOC(WrappedComponent, config) { + var _class, _temp; - return tzl; - }); + return ( + (_temp = _class = + /*#__PURE__*/ + (function(_Component) { + _inheritsLoose(onClickOutside, _Component); - /***/ - }, - /* 645 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Central Atlas Tamazight [tzm] - //! author : Abdel Said : https://github.com/abdelsaid + function onClickOutside(props) { + var _this; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: "ⵉⵎⵉⴽ", - ss: "%d ⵉⵎⵉⴽ", - 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 = _Component.call(this, props) || this; - return tzm; - }); + _this.__outsideClickHandler = function(event) { + if (typeof _this.__clickOutsideHandlerProp === 'function') { + _this.__clickOutsideHandlerProp(event); - /***/ - }, - /* 646 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Central Atlas Tamazight Latin [tzm-latn] - //! author : Abdel Said : https://github.com/abdelsaid + return; + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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", - ss: "%d 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. - } - }); + var instance = _this.getInstance(); - return tzmLatn; - }); + if (typeof instance.props.handleClickOutside === 'function') { + instance.props.handleClickOutside(event); + return; + } - /***/ - }, - /* 647 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Ukrainian [uk] - //! author : zemlanin : https://github.com/zemlanin - //! Author : Menelion Elensúle : https://github.com/Oire + if (typeof instance.handleClickOutside === 'function') { + instance.handleClickOutside(event); + return; + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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 relativeTimeWithPlural(number, withoutSuffix, key) { - var format = { - ss: withoutSuffix - ? "секунда_секунди_секунд" - : "секунду_секунди_секунд", - 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); - } - } - function weekdaysCaseReplace(m, format) { - var weekdays = { - nominative: "неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split( - "_" - ), - accusative: "неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split( - "_" - ), - genitive: "неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split( - "_" - ) - }; + throw new Error( + 'WrappedComponent lacks a handleClickOutside(event) function for processing outside click events.' + ); + }; - if (!m) { - return weekdays["nominative"]; - } + _this.enableOnClickOutside = function() { + if ( + typeof document === 'undefined' || + enabledInstances[_this._uid] + ) { + return; + } - 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"; - }; - } + if (typeof passiveEventSupport === 'undefined') { + passiveEventSupport = testPassiveEventSupport(); + } - 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: "декілька секунд", - ss: relativeTimeWithPlural, - 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. - } - }); + enabledInstances[_this._uid] = true; + var events = _this.props.eventTypes; - return uk; - }); + if (!events.forEach) { + events = [events]; + } - /***/ - }, - /* 648 */ - /***/ 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 + handlersMap[_this._uid] = function(event) { + if (_this.props.disableOnClickOutside) return; + if (_this.componentNode === null) return; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: "چند سیکنڈ", - ss: "%d سیکنڈ", - 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. - } - }); + if (_this.props.preventDefault) { + event.preventDefault(); + } - return ur; - }); + if (_this.props.stopPropagation) { + event.stopPropagation(); + } - /***/ - }, - /* 649 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Uzbek [uz] - //! author : Sardor Muminov : https://github.com/muminoff + if (_this.props.excludeScrollbar && clickedScrollbar(event)) + return; + var current = event.target; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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: "фурсат", - ss: "%d фурсат", - 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. - } - }); + if ( + findHighest( + current, + _this.componentNode, + _this.props.outsideClickIgnoreClass + ) !== document + ) { + return; + } - return uz; - }); + _this.__outsideClickHandler(event); + }; - /***/ - }, - /* 650 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Uzbek Latin [uz-latn] - //! author : Rasulbek Mirzayev : github.com/Rasulbeeek + events.forEach(function(eventName) { + document.addEventListener( + eventName, + handlersMap[_this._uid], + getEventHandlerOptions(_this, eventName) + ); + }); + }; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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", - ss: "%d 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. - } - }); + _this.disableOnClickOutside = function() { + delete enabledInstances[_this._uid]; + var fn = handlersMap[_this._uid]; - return uzLatn; - }); + if (fn && typeof document !== 'undefined') { + var events = _this.props.eventTypes; - /***/ - }, - /* 651 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Vietnamese [vi] - //! author : Bang Nguyen : https://github.com/bangnk + if (!events.forEach) { + events = [events]; + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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", - ss: "%d 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. - } - }); + events.forEach(function(eventName) { + return document.removeEventListener( + eventName, + fn, + getEventHandlerOptions(_this, eventName) + ); + }); + delete handlersMap[_this._uid]; + } + }; - return vi; - }); + _this.getRef = function(ref) { + return (_this.instanceRef = ref); + }; - /***/ - }, - /* 652 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Pseudo [x-pseudo] - //! author : Andrew Hood : https://github.com/andrewhood125 + _this._uid = uid(); + return _this; + } + /** + * Access the WrappedComponent's instance. + */ - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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", - ss: "%d 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. - } - }); + var _proto = onClickOutside.prototype; - return xPseudo; - }); + _proto.getInstance = function getInstance() { + if (!WrappedComponent.prototype.isReactComponent) { + return this; + } - /***/ - }, - /* 653 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Yoruba Nigeria [yo] - //! author : Atolagbe Abisoye : https://github.com/andela-batolagbe + var ref = this.instanceRef; + return ref.getInstance ? ref.getInstance() : ref; + }; - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : 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", - ss: "aayá %d", - 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. - } - }); + /** + * Add click listeners to the current document, + * linked to this component's state. + */ + _proto.componentDidMount = function componentDidMount() { + // If we are in an environment without a DOM such + // as shallow rendering or snapshots then we exit + // early to prevent any unhandled errors being thrown. + if ( + typeof document === 'undefined' || + !document.createElement + ) { + return; + } - return yo; - }); + var instance = this.getInstance(); - /***/ - }, - /* 654 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Chinese (China) [zh-cn] - //! author : suupic : https://github.com/suupic - //! author : Zeno Zeng : https://github.com/zenozeng + if (config && typeof config.handleClickOutside === 'function') { + this.__clickOutsideHandlerProp = config.handleClickOutside( + instance + ); - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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/MM/DD", - LL: "YYYY年M月D日", - LLL: "YYYY年M月D日Ah点mm分", - LLLL: "YYYY年M月D日ddddAh点mm分", - l: "YYYY/M/D", - ll: "YYYY年M月D日", - lll: "YYYY年M月D日 HH:mm", - llll: "YYYY年M月D日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: "几秒", - ss: "%d 秒", - 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. - } - }); + if (typeof this.__clickOutsideHandlerProp !== 'function') { + throw new Error( + 'WrappedComponent lacks a function for processing outside click events specified by the handleClickOutside config option.' + ); + } + } - return zhCn; - }); + this.componentNode = reactDom.findDOMNode(this.getInstance()); + this.enableOnClickOutside(); + }; - /***/ - }, - /* 655 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Chinese (Hong Kong) [zh-hk] - //! author : Ben : https://github.com/ben-lin - //! author : Chris Lam : https://github.com/hehachris - //! author : Konstantin : https://github.com/skfd + _proto.componentDidUpdate = function componentDidUpdate() { + this.componentNode = reactDom.findDOMNode(this.getInstance()); + }; + /** + * Remove all document's event listeners for this component + */ - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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/MM/DD", - LL: "YYYY年M月D日", - LLL: "YYYY年M月D日 HH:mm", - LLLL: "YYYY年M月D日dddd HH:mm", - l: "YYYY/M/D", - ll: "YYYY年M月D日", - lll: "YYYY年M月D日 HH:mm", - llll: "YYYY年M月D日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: "幾秒", - ss: "%d 秒", - m: "1 分鐘", - mm: "%d 分鐘", - h: "1 小時", - hh: "%d 小時", - d: "1 天", - dd: "%d 天", - M: "1 個月", - MM: "%d 個月", - y: "1 年", - yy: "%d 年" - } - }); + _proto.componentWillUnmount = function componentWillUnmount() { + this.disableOnClickOutside(); + }; + /** + * Can be called to explicitly enable event listening + * for clicks and touches outside of this element. + */ - return zhHk; - }); + /** + * Pass-through render + */ + _proto.render = function render() { + // eslint-disable-next-line no-unused-vars + var _props = this.props, + excludeScrollbar = _props.excludeScrollbar, + props = _objectWithoutProperties(_props, [ + 'excludeScrollbar' + ]); - /***/ - }, - /* 656 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - //! locale : Chinese (Taiwan) [zh-tw] - //! author : Ben : https://github.com/ben-lin - //! author : Chris Lam : https://github.com/hehachris + if (WrappedComponent.prototype.isReactComponent) { + props.ref = this.getRef; + } else { + props.wrappedRef = this.getRef; + } - (function(global, factory) { - true - ? factory(__webpack_require__(535)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(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/MM/DD", - LL: "YYYY年M月D日", - LLL: "YYYY年M月D日 HH:mm", - LLLL: "YYYY年M月D日dddd HH:mm", - l: "YYYY/M/D", - ll: "YYYY年M月D日", - lll: "YYYY年M月D日 HH:mm", - llll: "YYYY年M月D日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: "幾秒", - ss: "%d 秒", - m: "1 分鐘", - mm: "%d 分鐘", - h: "1 小時", - hh: "%d 小時", - d: "1 天", - dd: "%d 天", - M: "1 個月", - MM: "%d 個月", - y: "1 年", - yy: "%d 年" - } - }); + props.disableOnClickOutside = this.disableOnClickOutside; + props.enableOnClickOutside = this.enableOnClickOutside; + return react.createElement(WrappedComponent, props); + }; - return zhTw; - }); + return onClickOutside; + })(react.Component)), + (_class.displayName = + 'OnClickOutside(' + + (WrappedComponent.displayName || + WrappedComponent.name || + 'Component') + + ')'), + (_class.defaultProps = { + eventTypes: ['mousedown', 'touchstart'], + excludeScrollbar: (config && config.excludeScrollbar) || false, + outsideClickIgnoreClass: IGNORE_CLASS_NAME, + preventDefault: false, + stopPropagation: false + }), + (_class.getClass = function() { + return WrappedComponent.getClass + ? WrappedComponent.getClass() + : WrappedComponent; + }), + _temp + ); + } + + exports.IGNORE_CLASS_NAME = IGNORE_CLASS_NAME; + exports['default'] = onClickOutsideHOC; /***/ }, - /* 657 */ + /* 626 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); - var _month_dropdown_options = __webpack_require__(658); + var _month_dropdown_options = __webpack_require__(627); var _month_dropdown_options2 = _interopRequireDefault( _month_dropdown_options ); - var _reactOnclickoutside = __webpack_require__(533); + var _reactOnclickoutside = __webpack_require__(625); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - var _date_utils = __webpack_require__(534); + var _date_utils = __webpack_require__(542); var utils = _interopRequireWildcard(_date_utils); @@ -56991,7 +81204,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -57001,15 +81214,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -57059,7 +81272,7 @@ (_this.renderSelectOptions = function(monthNames) { return monthNames.map(function(M, i) { return _react2.default.createElement( - "option", + 'option', { key: i, value: i }, M ); @@ -57067,10 +81280,10 @@ }), (_this.renderSelectMode = function(monthNames) { return _react2.default.createElement( - "select", + 'select', { value: _this.props.month, - className: "react-datepicker__month-select", + className: 'react-datepicker__month-select', onChange: function onChange(e) { return _this.onChange(e.target.value); } @@ -57080,21 +81293,21 @@ }), (_this.renderReadView = function(visible, monthNames) { return _react2.default.createElement( - "div", + 'div', { - key: "read", - style: { visibility: visible ? "visible" : "hidden" }, - className: "react-datepicker__month-read-view", + key: 'read', + style: { visibility: visible ? 'visible' : 'hidden' }, + className: 'react-datepicker__month-read-view', onClick: _this.toggleDropdown }, - _react2.default.createElement("span", { - className: "react-datepicker__month-read-view--down-arrow" + _react2.default.createElement('span', { + className: 'react-datepicker__month-read-view--down-arrow' }), _react2.default.createElement( - "span", + 'span', { className: - "react-datepicker__month-read-view--selected-month" + 'react-datepicker__month-read-view--selected-month' }, monthNames[_this.props.month] ) @@ -57104,8 +81317,8 @@ return _react2.default.createElement( WrappedMonthDropdownOptions, { - key: "dropdown", - ref: "options", + key: 'dropdown', + ref: 'options', month: _this.props.month, monthNames: monthNames, onChange: _this.onChange, @@ -57141,39 +81354,31 @@ MonthDropdown.prototype.render = function render() { var _this2 = this; - var localeData = utils.getLocaleDataForLocale(this.props.locale); var monthNames = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].map( this.props.useShortMonthInDropdown ? function(M) { - return utils.getMonthShortInLocale( - localeData, - utils.newDate({ M: M }) - ); + return utils.getMonthShortInLocale(M, _this2.props.locale); } : function(M) { - return utils.getMonthInLocale( - localeData, - utils.newDate({ M: M }), - _this2.props.dateFormat - ); + return utils.getMonthInLocale(M, _this2.props.locale); } ); var renderedDropdown = void 0; switch (this.props.dropdownMode) { - case "scroll": + case 'scroll': renderedDropdown = this.renderScrollMode(monthNames); break; - case "select": + case 'select': renderedDropdown = this.renderSelectMode(monthNames); break; } return _react2.default.createElement( - "div", + 'div', { className: - "react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--" + + 'react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--' + this.props.dropdownMode }, renderedDropdown @@ -57184,10 +81389,9 @@ })(_react2.default.Component); MonthDropdown.propTypes = { - dropdownMode: _propTypes2.default.oneOf(["scroll", "select"]) + dropdownMode: _propTypes2.default.oneOf(['scroll', 'select']) .isRequired, locale: _propTypes2.default.string, - dateFormat: _propTypes2.default.string.isRequired, month: _propTypes2.default.number.isRequired, onChange: _propTypes2.default.func.isRequired, useShortMonthInDropdown: _propTypes2.default.bool @@ -57196,17 +81400,17 @@ /***/ }, - /* 658 */ + /* 627 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -57216,7 +81420,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -57226,15 +81430,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -57277,25 +81481,25 @@ (_this.renderOptions = function() { return _this.props.monthNames.map(function(month, i) { return _react2.default.createElement( - "div", + 'div', { className: _this.props.month === i - ? "react-datepicker__month-option --selected_month" - : "react-datepicker__month-option", + ? 'react-datepicker__month-option --selected_month' + : 'react-datepicker__month-option', key: month, ref: month, onClick: _this.onChange.bind(_this, i) }, _this.props.month === i ? _react2.default.createElement( - "span", + 'span', { - className: "react-datepicker__month-option--selected" + className: 'react-datepicker__month-option--selected' }, - "\u2713" + '\u2713' ) - : "", + : '', month ); }); @@ -57313,8 +81517,8 @@ MonthDropdownOptions.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "react-datepicker__month-dropdown" }, + 'div', + { className: 'react-datepicker__month-dropdown' }, this.renderOptions() ); }; @@ -57334,31 +81538,31 @@ /***/ }, - /* 659 */ + /* 628 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); - var _month_year_dropdown_options = __webpack_require__(660); + var _month_year_dropdown_options = __webpack_require__(629); var _month_year_dropdown_options2 = _interopRequireDefault( _month_year_dropdown_options ); - var _reactOnclickoutside = __webpack_require__(533); + var _reactOnclickoutside = __webpack_require__(625); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - var _date_utils = __webpack_require__(534); + var _date_utils = __webpack_require__(542); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -57366,7 +81570,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -57376,15 +81580,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -57433,34 +81637,28 @@ }), (_this.renderSelectOptions = function() { var currDate = (0, _date_utils.getStartOfMonth)( - (0, _date_utils.localizeDate)( - _this.props.minDate, - _this.props.locale - ) + _this.props.minDate ); var lastDate = (0, _date_utils.getStartOfMonth)( - (0, _date_utils.localizeDate)( - _this.props.maxDate, - _this.props.locale - ) + _this.props.maxDate ); - var options = []; while (!(0, _date_utils.isAfter)(currDate, lastDate)) { - var timepoint = currDate.valueOf(); + var timepoint = (0, _date_utils.getTime)(currDate); options.push( _react2.default.createElement( - "option", + 'option', { key: timepoint, value: timepoint }, (0, _date_utils.formatDate)( currDate, - _this.props.dateFormat + _this.props.dateFormat, + _this.props.locale ) ) ); - (0, _date_utils.addMonths)(currDate, 1); + currDate = (0, _date_utils.addMonths)(currDate, 1); } return options; @@ -57470,12 +81668,12 @@ }), (_this.renderSelectMode = function() { return _react2.default.createElement( - "select", + 'select', { - value: (0, _date_utils.getStartOfMonth)( - _this.props.date - ).valueOf(), - className: "react-datepicker__month-year-select", + value: (0, _date_utils.getTime)( + (0, _date_utils.getStartOfMonth)(_this.props.date) + ), + className: 'react-datepicker__month-year-select', onChange: _this.onSelectChange }, _this.renderSelectOptions() @@ -57483,32 +81681,30 @@ }), (_this.renderReadView = function(visible) { var yearMonth = (0, _date_utils.formatDate)( - (0, _date_utils.localizeDate)( - (0, _date_utils.newDate)(_this.props.date), - _this.props.locale - ), - _this.props.dateFormat + _this.props.date, + _this.props.dateFormat, + _this.props.locale ); return _react2.default.createElement( - "div", + 'div', { - key: "read", - style: { visibility: visible ? "visible" : "hidden" }, - className: "react-datepicker__month-year-read-view", + key: 'read', + style: { visibility: visible ? 'visible' : 'hidden' }, + className: 'react-datepicker__month-year-read-view', onClick: function onClick(event) { return _this.toggleDropdown(event); } }, - _react2.default.createElement("span", { + _react2.default.createElement('span', { className: - "react-datepicker__month-year-read-view--down-arrow" + 'react-datepicker__month-year-read-view--down-arrow' }), _react2.default.createElement( - "span", + 'span', { className: - "react-datepicker__month-year-read-view--selected-month-year" + 'react-datepicker__month-year-read-view--selected-month-year' }, yearMonth ) @@ -57518,20 +81714,14 @@ return _react2.default.createElement( WrappedMonthYearDropdownOptions, { - key: "dropdown", - ref: "options", + key: 'dropdown', + ref: 'options', date: _this.props.date, dateFormat: _this.props.dateFormat, onChange: _this.onChange, onCancel: _this.toggleDropdown, - minDate: (0, _date_utils.localizeDate)( - _this.props.minDate, - _this.props.locale - ), - maxDate: (0, _date_utils.localizeDate)( - _this.props.maxDate, - _this.props.locale - ), + minDate: _this.props.minDate, + maxDate: _this.props.maxDate, scrollableMonthYearDropdown: _this.props.scrollableMonthYearDropdown } @@ -57575,19 +81765,19 @@ MonthYearDropdown.prototype.render = function render() { var renderedDropdown = void 0; switch (this.props.dropdownMode) { - case "scroll": + case 'scroll': renderedDropdown = this.renderScrollMode(); break; - case "select": + case 'select': renderedDropdown = this.renderSelectMode(); break; } return _react2.default.createElement( - "div", + 'div', { className: - "react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--" + + 'react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--' + this.props.dropdownMode }, renderedDropdown @@ -57598,13 +81788,13 @@ })(_react2.default.Component); MonthYearDropdown.propTypes = { - dropdownMode: _propTypes2.default.oneOf(["scroll", "select"]) + dropdownMode: _propTypes2.default.oneOf(['scroll', 'select']) .isRequired, dateFormat: _propTypes2.default.string.isRequired, locale: _propTypes2.default.string, - maxDate: _propTypes2.default.object.isRequired, - minDate: _propTypes2.default.object.isRequired, - date: _propTypes2.default.object.isRequired, + maxDate: _propTypes2.default.instanceOf(Date).isRequired, + minDate: _propTypes2.default.instanceOf(Date).isRequired, + date: _propTypes2.default.instanceOf(Date).isRequired, onChange: _propTypes2.default.func.isRequired, scrollableMonthYearDropdown: _propTypes2.default.bool }; @@ -57612,25 +81802,25 @@ /***/ }, - /* 660 */ + /* 629 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(532); + var _classnames = __webpack_require__(541); var _classnames2 = _interopRequireDefault(_classnames); - var _date_utils = __webpack_require__(534); + var _date_utils = __webpack_require__(542); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -57638,7 +81828,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -57648,15 +81838,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -57677,19 +81867,14 @@ function generateMonthYears(minDate, maxDate) { var list = []; - var currDate = (0, _date_utils.getStartOfMonth)( - (0, _date_utils.cloneDate)(minDate) - ); - var lastDate = (0, _date_utils.getStartOfMonth)( - (0, _date_utils.cloneDate)(maxDate) - ); + var currDate = (0, _date_utils.getStartOfMonth)(minDate); + var lastDate = (0, _date_utils.getStartOfMonth)(maxDate); while (!(0, _date_utils.isAfter)(currDate, lastDate)) { - list.push((0, _date_utils.cloneDate)(currDate)); + list.push((0, _date_utils.newDate)(currDate)); - (0, _date_utils.addMonths)(currDate, 1); + currDate = (0, _date_utils.addMonths)(currDate, 1); } - return list; } @@ -57706,32 +81891,31 @@ _this.renderOptions = function() { return _this.state.monthYearsList.map(function(monthYear) { - var monthYearPoint = monthYear.valueOf(); - + var monthYearPoint = (0, _date_utils.getTime)(monthYear); var isSameMonthYear = (0, _date_utils.isSameYear)(_this.props.date, monthYear) && (0, _date_utils.isSameMonth)(_this.props.date, monthYear); return _react2.default.createElement( - "div", + 'div', { className: isSameMonthYear - ? "react-datepicker__month-year-option --selected_month-year" - : "react-datepicker__month-year-option", + ? 'react-datepicker__month-year-option --selected_month-year' + : 'react-datepicker__month-year-option', key: monthYearPoint, ref: monthYearPoint, onClick: _this.onChange.bind(_this, monthYearPoint) }, isSameMonthYear ? _react2.default.createElement( - "span", + 'span', { className: - "react-datepicker__month-year-option--selected" + 'react-datepicker__month-year-option--selected' }, - "\u2713" + '\u2713' ) - : "", + : '', (0, _date_utils.formatDate)(monthYear, _this.props.dateFormat) ); }); @@ -57756,13 +81940,13 @@ MonthYearDropdownOptions.prototype.render = function render() { var dropdownClass = (0, _classnames2.default)({ - "react-datepicker__month-year-dropdown": true, - "react-datepicker__month-year-dropdown--scrollable": this.props + 'react-datepicker__month-year-dropdown': true, + 'react-datepicker__month-year-dropdown--scrollable': this.props .scrollableMonthYearDropdown }); return _react2.default.createElement( - "div", + 'div', { className: dropdownClass }, this.renderOptions() ); @@ -57772,41 +81956,41 @@ })(_react2.default.Component); MonthYearDropdownOptions.propTypes = { - minDate: _propTypes2.default.object.isRequired, - maxDate: _propTypes2.default.object.isRequired, + minDate: _propTypes2.default.instanceOf(Date).isRequired, + maxDate: _propTypes2.default.instanceOf(Date).isRequired, onCancel: _propTypes2.default.func.isRequired, onChange: _propTypes2.default.func.isRequired, scrollableMonthYearDropdown: _propTypes2.default.bool, - date: _propTypes2.default.object.isRequired, + date: _propTypes2.default.instanceOf(Date).isRequired, dateFormat: _propTypes2.default.string.isRequired }; exports.default = MonthYearDropdownOptions; /***/ }, - /* 661 */ + /* 630 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(532); + var _classnames = __webpack_require__(541); var _classnames2 = _interopRequireDefault(_classnames); - var _week = __webpack_require__(662); + var _week = __webpack_require__(631); var _week2 = _interopRequireDefault(_week); - var _date_utils = __webpack_require__(534); + var _date_utils = __webpack_require__(542); var utils = _interopRequireWildcard(_date_utils); @@ -57832,7 +82016,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -57842,15 +82026,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -57909,7 +82093,7 @@ }), (_this.isWeekInMonth = function(startOfWeek) { var day = _this.props.day; - var endOfWeek = utils.addDays(utils.cloneDate(startOfWeek), 6); + var endOfWeek = utils.addDays(startOfWeek, 6); return ( utils.isSameMonth(startOfWeek, day) || utils.isSameMonth(endOfWeek, day) @@ -57919,7 +82103,8 @@ var weeks = []; var isFixedHeight = _this.props.fixedHeight; var currentWeekStart = utils.getStartOfWeek( - utils.getStartOfMonth(utils.cloneDate(_this.props.day)) + utils.getStartOfMonth(_this.props.day), + _this.props.locale ); var i = 0; var breakAfterNextPush = false; @@ -57934,6 +82119,7 @@ onDayMouseEnter: _this.handleDayMouseEnter, onWeekSelect: _this.props.onWeekSelect, formatWeekNumber: _this.props.formatWeekNumber, + locale: _this.props.locale, minDate: _this.props.minDate, maxDate: _this.props.maxDate, excludeDates: _this.props.excludeDates, @@ -57950,7 +82136,8 @@ startDate: _this.props.startDate, endDate: _this.props.endDate, dayClassName: _this.props.dayClassName, - utcOffset: _this.props.utcOffset, + setOpen: _this.props.setOpen, + shouldCloseOnSelect: _this.props.shouldCloseOnSelect, disabledKeyboardNavigation: _this.props.disabledKeyboardNavigation, renderDayContents: _this.props.renderDayContents @@ -57960,10 +82147,7 @@ if (breakAfterNextPush) break; i++; - currentWeekStart = utils.addWeeks( - utils.cloneDate(currentWeekStart), - 1 - ); + currentWeekStart = utils.addWeeks(currentWeekStart, 1); // If one of these conditions is true, we will either break on this week // or break on the next week @@ -57989,8 +82173,8 @@ selectsStart = _this$props.selectsStart, selectsEnd = _this$props.selectsEnd; - return (0, _classnames2.default)("react-datepicker__month", { - "react-datepicker__month--selecting-range": + return (0, _classnames2.default)('react-datepicker__month', { + 'react-datepicker__month--selecting-range': selectingDate && (selectsStart || selectsEnd) }); }), @@ -58001,12 +82185,13 @@ Month.prototype.render = function render() { return _react2.default.createElement( - "div", + 'div', { className: this.getClassNames(), onMouseLeave: this.handleMouseLeave, - role: "listbox", - "aria-label": "month-" + this.props.day.format("YYYY-MM") + role: 'listbox', + 'aria-label': + 'month-' + utils.formatDate(this.props.day, 'YYYY-MM') }, this.renderWeeks() ); @@ -58017,9 +82202,9 @@ Month.propTypes = { disabledKeyboardNavigation: _propTypes2.default.bool, - day: _propTypes2.default.object.isRequired, + day: _propTypes2.default.instanceOf(Date).isRequired, dayClassName: _propTypes2.default.func, - endDate: _propTypes2.default.object, + endDate: _propTypes2.default.instanceOf(Date), excludeDates: _propTypes2.default.array, filterDate: _propTypes2.default.func, fixedHeight: _propTypes2.default.bool, @@ -58027,53 +82212,69 @@ highlightDates: _propTypes2.default.instanceOf(Map), includeDates: _propTypes2.default.array, inline: _propTypes2.default.bool, - maxDate: _propTypes2.default.object, - minDate: _propTypes2.default.object, + locale: _propTypes2.default.string, + maxDate: _propTypes2.default.instanceOf(Date), + minDate: _propTypes2.default.instanceOf(Date), onDayClick: _propTypes2.default.func, onDayMouseEnter: _propTypes2.default.func, onMouseLeave: _propTypes2.default.func, onWeekSelect: _propTypes2.default.func, peekNextMonth: _propTypes2.default.bool, - preSelection: _propTypes2.default.object, - selected: _propTypes2.default.object, - selectingDate: _propTypes2.default.object, + preSelection: _propTypes2.default.instanceOf(Date), + selected: _propTypes2.default.instanceOf(Date), + selectingDate: _propTypes2.default.instanceOf(Date), selectsEnd: _propTypes2.default.bool, selectsStart: _propTypes2.default.bool, showWeekNumbers: _propTypes2.default.bool, - startDate: _propTypes2.default.object, - utcOffset: _propTypes2.default.oneOfType([ - _propTypes2.default.number, - _propTypes2.default.string - ]), + startDate: _propTypes2.default.instanceOf(Date), + setOpen: _propTypes2.default.func, + shouldCloseOnSelect: _propTypes2.default.bool, renderDayContents: _propTypes2.default.func }; exports.default = Month; /***/ }, - /* 662 */ + /* 631 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _createClass = (function() { + function defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ('value' in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + return function(Constructor, protoProps, staticProps) { + if (protoProps) defineProperties(Constructor.prototype, protoProps); + if (staticProps) defineProperties(Constructor, staticProps); + return Constructor; + }; + })(); + + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); - var _day = __webpack_require__(663); + var _day = __webpack_require__(632); var _day2 = _interopRequireDefault(_day); - var _week_number = __webpack_require__(664); + var _week_number = __webpack_require__(633); var _week_number2 = _interopRequireDefault(_week_number); - var _date_utils = __webpack_require__(534); + var _date_utils = __webpack_require__(542); var utils = _interopRequireWildcard(_date_utils); @@ -58099,7 +82300,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -58109,15 +82310,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -58168,9 +82369,12 @@ } }), (_this.handleWeekClick = function(day, weekNumber, event) { - if (typeof _this.props.onWeekSelect === "function") { + if (typeof _this.props.onWeekSelect === 'function') { _this.props.onWeekSelect(day, weekNumber, event); } + if (_this.props.shouldCloseOnSelect) { + _this.props.setOpen(false); + } }), (_this.formatWeekNumber = function(startOfWeek) { if (_this.props.formatWeekNumber) { @@ -58180,7 +82384,8 @@ }), (_this.renderDays = function() { var startOfWeek = utils.getStartOfWeek( - utils.cloneDate(_this.props.day) + _this.props.day, + _this.props.locale ); var days = []; var weekNumber = _this.formatWeekNumber(startOfWeek); @@ -58190,7 +82395,7 @@ : undefined; days.push( _react2.default.createElement(_week_number2.default, { - key: "W", + key: 'W', weekNumber: weekNumber, onClick: onClickAction }) @@ -58198,7 +82403,7 @@ } return days.concat( [0, 1, 2, 3, 4, 5, 6].map(function(offset) { - var day = utils.addDays(utils.cloneDate(startOfWeek), offset); + var day = utils.addDays(startOfWeek, offset); return _react2.default.createElement(_day2.default, { key: offset, day: day, @@ -58220,7 +82425,6 @@ startDate: _this.props.startDate, endDate: _this.props.endDate, dayClassName: _this.props.dayClassName, - utcOffset: _this.props.utcOffset, renderDayContents: _this.props.renderDayContents, disabledKeyboardNavigation: _this.props.disabledKeyboardNavigation @@ -58235,68 +82439,78 @@ Week.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "react-datepicker__week" }, + 'div', + { className: 'react-datepicker__week' }, this.renderDays() ); }; + _createClass(Week, null, [ + { + key: 'defaultProps', + get: function get() { + return { + shouldCloseOnSelect: true + }; + } + } + ]); + return Week; })(_react2.default.Component); Week.propTypes = { disabledKeyboardNavigation: _propTypes2.default.bool, - day: _propTypes2.default.object.isRequired, + day: _propTypes2.default.instanceOf(Date).isRequired, dayClassName: _propTypes2.default.func, - endDate: _propTypes2.default.object, + endDate: _propTypes2.default.instanceOf(Date), excludeDates: _propTypes2.default.array, filterDate: _propTypes2.default.func, formatWeekNumber: _propTypes2.default.func, highlightDates: _propTypes2.default.instanceOf(Map), includeDates: _propTypes2.default.array, inline: _propTypes2.default.bool, - maxDate: _propTypes2.default.object, - minDate: _propTypes2.default.object, + locale: _propTypes2.default.string, + maxDate: _propTypes2.default.instanceOf(Date), + minDate: _propTypes2.default.instanceOf(Date), month: _propTypes2.default.number, onDayClick: _propTypes2.default.func, onDayMouseEnter: _propTypes2.default.func, onWeekSelect: _propTypes2.default.func, - preSelection: _propTypes2.default.object, - selected: _propTypes2.default.object, - selectingDate: _propTypes2.default.object, + preSelection: _propTypes2.default.instanceOf(Date), + selected: _propTypes2.default.instanceOf(Date), + selectingDate: _propTypes2.default.instanceOf(Date), selectsEnd: _propTypes2.default.bool, selectsStart: _propTypes2.default.bool, showWeekNumber: _propTypes2.default.bool, - startDate: _propTypes2.default.object, - utcOffset: _propTypes2.default.oneOfType([ - _propTypes2.default.number, - _propTypes2.default.string - ]), + startDate: _propTypes2.default.instanceOf(Date), + setOpen: _propTypes2.default.func, + shouldCloseOnSelect: _propTypes2.default.bool, renderDayContents: _propTypes2.default.func }; exports.default = Week; /***/ }, - /* 663 */ + /* 632 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(532); + var _classnames = __webpack_require__(541); var _classnames2 = _interopRequireDefault(_classnames); - var _date_utils = __webpack_require__(534); + var _date_utils = __webpack_require__(542); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -58304,7 +82518,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -58314,15 +82528,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -58399,7 +82613,7 @@ } // Looking for className in the Map of {'day string, 'className'} - var dayStr = day.format("MM.DD.YYYY"); + var dayStr = (0, _date_utils.formatDate)(day, 'MM.dd.yyyy'); return highlightDates.get(dayStr); }), (_this.isInRange = function() { @@ -58433,7 +82647,8 @@ if ( selectsStart && endDate && - selectingDate.isSameOrBefore(endDate) + ((0, _date_utils.isBefore)(selectingDate, endDate) || + (0, _date_utils.isEqual)(selectingDate, endDate)) ) { return (0, _date_utils.isDayInRange)( day, @@ -58445,7 +82660,8 @@ if ( selectsEnd && startDate && - selectingDate.isSameOrAfter(startDate) + ((0, _date_utils.isAfter)(selectingDate, startDate) || + (0, _date_utils.isEqual)(selectingDate, startDate)) ) { return (0, _date_utils.isDayInRange)( day, @@ -58527,29 +82743,29 @@ ? _this.props.dayClassName(date) : undefined; return (0, _classnames2.default)( - "react-datepicker__day", + 'react-datepicker__day', dayClassName, - "react-datepicker__day--" + + 'react-datepicker__day--' + (0, _date_utils.getDayOfWeekCode)(_this.props.day), { - "react-datepicker__day--disabled": _this.isDisabled(), - "react-datepicker__day--selected": _this.isSameDay( + 'react-datepicker__day--disabled': _this.isDisabled(), + 'react-datepicker__day--selected': _this.isSameDay( _this.props.selected ), - "react-datepicker__day--keyboard-selected": _this.isKeyboardSelected(), - "react-datepicker__day--range-start": _this.isRangeStart(), - "react-datepicker__day--range-end": _this.isRangeEnd(), - "react-datepicker__day--in-range": _this.isInRange(), - "react-datepicker__day--in-selecting-range": _this.isInSelectingRange(), - "react-datepicker__day--selecting-range-start": _this.isSelectingRangeStart(), - "react-datepicker__day--selecting-range-end": _this.isSelectingRangeEnd(), - "react-datepicker__day--today": _this.isSameDay( - (0, _date_utils.now)(_this.props.utcOffset) + 'react-datepicker__day--keyboard-selected': _this.isKeyboardSelected(), + 'react-datepicker__day--range-start': _this.isRangeStart(), + 'react-datepicker__day--range-end': _this.isRangeEnd(), + 'react-datepicker__day--in-range': _this.isInRange(), + 'react-datepicker__day--in-selecting-range': _this.isInSelectingRange(), + 'react-datepicker__day--selecting-range-start': _this.isSelectingRangeStart(), + 'react-datepicker__day--selecting-range-end': _this.isSelectingRangeEnd(), + 'react-datepicker__day--today': _this.isSameDay( + (0, _date_utils.newDate)() ), - "react-datepicker__day--weekend": _this.isWeekend(), - "react-datepicker__day--outside-month": _this.isOutsideMonth() + 'react-datepicker__day--weekend': _this.isWeekend(), + 'react-datepicker__day--outside-month': _this.isOutsideMonth() }, - _this.getHighLightedClass("react-datepicker__day--highlighted") + _this.getHighLightedClass('react-datepicker__day--highlighted') ); }), _temp)), @@ -58559,13 +82775,13 @@ Day.prototype.render = function render() { return _react2.default.createElement( - "div", + 'div', { className: this.getClassNames(this.props.day), onClick: this.handleClick, onMouseEnter: this.handleMouseEnter, - "aria-label": "day-" + (0, _date_utils.getDate)(this.props.day), - role: "option" + 'aria-label': 'day-' + (0, _date_utils.getDate)(this.props.day), + role: 'option' }, this.props.renderDayContents ? this.props.renderDayContents( @@ -58580,45 +82796,41 @@ Day.propTypes = { disabledKeyboardNavigation: _propTypes2.default.bool, - day: _propTypes2.default.object.isRequired, + day: _propTypes2.default.instanceOf(Date).isRequired, dayClassName: _propTypes2.default.func, - endDate: _propTypes2.default.object, + endDate: _propTypes2.default.instanceOf(Date), highlightDates: _propTypes2.default.instanceOf(Map), inline: _propTypes2.default.bool, month: _propTypes2.default.number, onClick: _propTypes2.default.func, onMouseEnter: _propTypes2.default.func, - preSelection: _propTypes2.default.object, + preSelection: _propTypes2.default.instanceOf(Date), selected: _propTypes2.default.object, - selectingDate: _propTypes2.default.object, + selectingDate: _propTypes2.default.instanceOf(Date), selectsEnd: _propTypes2.default.bool, selectsStart: _propTypes2.default.bool, - startDate: _propTypes2.default.object, - utcOffset: _propTypes2.default.oneOfType([ - _propTypes2.default.number, - _propTypes2.default.string - ]), + startDate: _propTypes2.default.instanceOf(Date), renderDayContents: _propTypes2.default.func }; exports.default = Day; /***/ }, - /* 664 */ + /* 633 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(532); + var _classnames = __webpack_require__(541); var _classnames2 = _interopRequireDefault(_classnames); @@ -58628,7 +82840,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -58638,15 +82850,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -58698,14 +82910,14 @@ WeekNumber.prototype.render = function render() { var weekNumberClasses = { - "react-datepicker__week-number": true, - "react-datepicker__week-number--clickable": !!this.props.onClick + 'react-datepicker__week-number': true, + 'react-datepicker__week-number--clickable': !!this.props.onClick }; return _react2.default.createElement( - "div", + 'div', { className: (0, _classnames2.default)(weekNumberClasses), - "aria-label": "week-" + this.props.weekNumber, + 'aria-label': 'week-' + this.props.weekNumber, onClick: this.handleClick }, this.props.weekNumber @@ -58723,9 +82935,9 @@ /***/ }, - /* 665 */ + /* 634 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; @@ -58735,7 +82947,7 @@ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; + if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } @@ -58746,15 +82958,15 @@ }; })(); - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); - var _date_utils = __webpack_require__(534); + var _date_utils = __webpack_require__(542); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -58762,7 +82974,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -58772,15 +82984,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -58837,17 +83049,16 @@ ) { return; } - _this.props.onChange(time); }), (_this.liClasses = function(time, currH, currM) { - var classes = ["react-datepicker__time-list-item"]; + var classes = ['react-datepicker__time-list-item']; if ( - currH === (0, _date_utils.getHour)(time) && - currM === (0, _date_utils.getMinute)(time) + currH === (0, _date_utils.getHours)(time) && + currM === (0, _date_utils.getMinutes)(time) ) { - classes.push("react-datepicker__time-list-item--selected"); + classes.push('react-datepicker__time-list-item--selected'); } if ( ((_this.props.minTime || _this.props.maxTime) && @@ -58863,29 +83074,29 @@ _this.props.includeTimes )) ) { - classes.push("react-datepicker__time-list-item--disabled"); + classes.push('react-datepicker__time-list-item--disabled'); } if ( _this.props.injectTimes && - ((0, _date_utils.getHour)(time) * 60 + - (0, _date_utils.getMinute)(time)) % + ((0, _date_utils.getHours)(time) * 60 + + (0, _date_utils.getMinutes)(time)) % _this.props.intervals !== 0 ) { - classes.push("react-datepicker__time-list-item--injected"); + classes.push('react-datepicker__time-list-item--injected'); } - return classes.join(" "); + return classes.join(' '); }), (_this.renderTimes = function() { var times = []; - var format = _this.props.format ? _this.props.format : "hh:mm A"; + var format = _this.props.format ? _this.props.format : 'p'; var intervals = _this.props.intervals; var activeTime = _this.props.selected ? _this.props.selected : (0, _date_utils.newDate)(); - var currH = (0, _date_utils.getHour)(activeTime); - var currM = (0, _date_utils.getMinute)(activeTime); + var currH = (0, _date_utils.getHours)(activeTime); + var currM = (0, _date_utils.getMinutes)(activeTime); var base = (0, _date_utils.getStartOfDay)( (0, _date_utils.newDate)() ); @@ -58897,7 +83108,7 @@ }); for (var i = 0; i < multiplier; i++) { var currentTime = (0, _date_utils.addMinutes)( - (0, _date_utils.cloneDate)(base), + base, i * intervals ); times.push(currentTime); @@ -58916,16 +83127,16 @@ return times.map(function(time, i) { return _react2.default.createElement( - "li", + 'li', { key: i, onClick: _this.handleClick.bind(_this, time), className: _this.liClasses(time, currH, currM), ref: function ref(li) { if ( - (currH === (0, _date_utils.getHour)(time) && - currM === (0, _date_utils.getMinute)(time)) || - (currH === (0, _date_utils.getHour)(time) && + (currH === (0, _date_utils.getHours)(time) && + currM === (0, _date_utils.getMinutes)(time)) || + (currH === (0, _date_utils.getHours)(time) && !_this.centerLi) ) { _this.centerLi = li; @@ -58961,39 +83172,39 @@ } return _react2.default.createElement( - "div", + 'div', { className: - "react-datepicker__time-container " + + 'react-datepicker__time-container ' + (this.props.todayButton - ? "react-datepicker__time-container--with-today-button" - : "") + ? 'react-datepicker__time-container--with-today-button' + : '') }, _react2.default.createElement( - "div", + 'div', { className: - "react-datepicker__header react-datepicker__header--time", + 'react-datepicker__header react-datepicker__header--time', ref: function ref(header) { _this2.header = header; } }, _react2.default.createElement( - "div", - { className: "react-datepicker-time__header" }, + 'div', + { className: 'react-datepicker-time__header' }, this.props.timeCaption ) ), _react2.default.createElement( - "div", - { className: "react-datepicker__time" }, + 'div', + { className: 'react-datepicker__time' }, _react2.default.createElement( - "div", - { className: "react-datepicker__time-box" }, + 'div', + { className: 'react-datepicker__time-box' }, _react2.default.createElement( - "ul", + 'ul', { - className: "react-datepicker__time-list", + className: 'react-datepicker__time-list', ref: function ref(list) { _this2.list = list; }, @@ -59008,13 +83219,13 @@ _createClass(Time, null, [ { - key: "defaultProps", + key: 'defaultProps', get: function get() { return { intervals: 30, onTimeChange: function onTimeChange() {}, todayButton: null, - timeCaption: "Time" + timeCaption: 'Time' }; } } @@ -59027,11 +83238,11 @@ format: _propTypes2.default.string, includeTimes: _propTypes2.default.array, intervals: _propTypes2.default.number, - selected: _propTypes2.default.object, + selected: _propTypes2.default.instanceOf(Date), onChange: _propTypes2.default.func, todayButton: _propTypes2.default.node, - minTime: _propTypes2.default.object, - maxTime: _propTypes2.default.object, + minTime: _propTypes2.default.instanceOf(Date), + maxTime: _propTypes2.default.instanceOf(Date), excludeTimes: _propTypes2.default.array, monthRef: _propTypes2.default.object, timeCaption: _propTypes2.default.string, @@ -59049,9 +83260,9 @@ /***/ }, - /* 666 */ + /* 635 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; exports.popperPlacementPositions = undefined; @@ -59076,7 +83287,7 @@ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; + if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } @@ -59087,19 +83298,19 @@ }; })(); - var _classnames = __webpack_require__(532); + var _classnames = __webpack_require__(541); var _classnames2 = _interopRequireDefault(_classnames); - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); - var _reactPopper = __webpack_require__(667); + var _reactPopper = __webpack_require__(636); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -59107,7 +83318,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -59117,15 +83328,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -59144,18 +83355,18 @@ } var popperPlacementPositions = (exports.popperPlacementPositions = [ - "bottom", - "bottom-end", - "bottom-start", - "left", - "left-end", - "left-start", - "right", - "right-end", - "right-start", - "top", - "top-end", - "top-start" + 'bottom', + 'bottom-end', + 'bottom-start', + 'left', + 'left-end', + 'left-start', + 'right', + 'right-end', + 'right-start', + 'top', + 'top-end', + 'top-start' ]); var PopperComponent = (function(_React$Component) { @@ -59184,7 +83395,7 @@ if (!hidePopper) { var classes = (0, _classnames2.default)( - "react-datepicker-popper", + 'react-datepicker-popper', className ); popper = _react2.default.createElement( @@ -59202,12 +83413,12 @@ placement = _ref.placement, arrowProps = _ref.arrowProps; return _react2.default.createElement( - "div", + 'div', _extends( { ref: ref, style: style }, { className: classes, - "data-placement": placement + 'data-placement': placement } ), _react2.default.cloneElement(popperComponent, { @@ -59235,8 +83446,8 @@ function(_ref2) { var ref = _ref2.ref; return _react2.default.createElement( - "div", - { ref: ref, className: "react-datepicker-wrapper" }, + 'div', + { ref: ref, className: 'react-datepicker-wrapper' }, targetComponent ); } @@ -59247,7 +83458,7 @@ _createClass(PopperComponent, null, [ { - key: "defaultProps", + key: 'defaultProps', get: function get() { return { hidePopper: true, @@ -59255,11 +83466,11 @@ preventOverflow: { enabled: true, escapeWithReference: true, - boundariesElement: "viewport" + boundariesElement: 'viewport' } }, popperProps: {}, - popperPlacement: "bottom-start" + popperPlacement: 'bottom-start' }; } } @@ -59282,24 +83493,24 @@ /***/ }, - /* 667 */ + /* 636 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; - Object.defineProperty(exports, "__esModule", { + Object.defineProperty(exports, '__esModule', { value: true }); exports.Reference = exports.Manager = exports.placements = exports.Popper = undefined; - var _Popper = __webpack_require__(668); + var _Popper = __webpack_require__(637); var _Popper2 = _interopRequireDefault(_Popper); - var _Manager = __webpack_require__(752); + var _Manager = __webpack_require__(721); var _Manager2 = _interopRequireDefault(_Manager); - var _Reference = __webpack_require__(764); + var _Reference = __webpack_require__(728); var _Reference2 = _interopRequireDefault(_Reference); @@ -59318,46 +83529,46 @@ /***/ }, - /* 668 */ + /* 637 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; - Object.defineProperty(exports, "__esModule", { + Object.defineProperty(exports, '__esModule', { value: true }); exports.placements = exports.InnerPopper = undefined; - var _extends2 = __webpack_require__(669); + var _extends2 = __webpack_require__(638); var _extends3 = _interopRequireDefault(_extends2); - var _classCallCheck2 = __webpack_require__(707); + var _classCallCheck2 = __webpack_require__(677); var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); - var _possibleConstructorReturn2 = __webpack_require__(708); + var _possibleConstructorReturn2 = __webpack_require__(678); var _possibleConstructorReturn3 = _interopRequireDefault( _possibleConstructorReturn2 ); - var _inherits2 = __webpack_require__(743); + var _inherits2 = __webpack_require__(712); var _inherits3 = _interopRequireDefault(_inherits2); exports.default = Popper; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var React = _interopRequireWildcard(_react); - var _popper = __webpack_require__(751); + var _popper = __webpack_require__(720); var _popper2 = _interopRequireDefault(_popper); - var _Manager = __webpack_require__(752); + var _Manager = __webpack_require__(721); - var _utils = __webpack_require__(763); + var _utils = __webpack_require__(727); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { @@ -59380,11 +83591,11 @@ } var initialStyle = { - position: "absolute", + position: 'absolute', top: 0, left: 0, opacity: 0, - pointerEvents: "none" + pointerEvents: 'none' }; var initialArrowStyle = {}; @@ -59560,7 +83771,7 @@ })(React.Component)); InnerPopper.defaultProps = { - placement: "bottom", + placement: 'bottom', eventsEnabled: true, referenceElement: undefined, positionFixed: false @@ -59584,13 +83795,13 @@ /***/ }, - /* 669 */ + /* 638 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _assign = __webpack_require__(670); + var _assign = __webpack_require__(639); var _assign2 = _interopRequireDefault(_assign); @@ -59616,28 +83827,29 @@ /***/ }, - /* 670 */ + /* 639 */ /***/ function(module, exports, __webpack_require__) { - module.exports = { default: __webpack_require__(671), __esModule: true }; + module.exports = { default: __webpack_require__(640), __esModule: true }; /***/ }, - /* 671 */ + /* 640 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(672); - module.exports = __webpack_require__(675).Object.assign; + __webpack_require__(641); + module.exports = __webpack_require__(644).Object.assign; /***/ }, - /* 672 */ - [873, 673, 688], - /* 673 */ + /* 641 */ + [838, 642, 658], + /* 642 */ /***/ function(module, exports, __webpack_require__) { - var global = __webpack_require__(674); - var core = __webpack_require__(675); - var ctx = __webpack_require__(676); - var hide = __webpack_require__(678); - var PROTOTYPE = "prototype"; + var global = __webpack_require__(643); + var core = __webpack_require__(644); + var ctx = __webpack_require__(645); + var hide = __webpack_require__(647); + var has = __webpack_require__(657); + var PROTOTYPE = 'prototype'; var $export = function(type, name, source) { var IS_FORCED = type & $export.F; @@ -59650,18 +83862,20 @@ var expProto = exports[PROTOTYPE]; var target = IS_GLOBAL ? global - : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]; + : IS_STATIC + ? global[name] + : (global[name] || {})[PROTOTYPE]; var key, own, out; if (IS_GLOBAL) source = name; for (key in source) { // contains in native own = !IS_FORCED && target && target[key] !== undefined; - if (own && key in exports) continue; + if (own && has(exports, key)) continue; // export native or passed out = own ? target[key] : source[key]; // prevent global pollution for namespaces exports[key] = - IS_GLOBAL && typeof target[key] != "function" + IS_GLOBAL && typeof target[key] != 'function' ? source[key] : // bind timers to global for call from export context IS_BIND && own @@ -59687,7 +83901,7 @@ return F; // make static versions for prototype methods })(out) - : IS_PROTO && typeof out == "function" + : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% @@ -59712,93 +83926,99 @@ /***/ }, - /* 674 */ + /* 643 */ 4, - /* 675 */ + /* 644 */ 9, - /* 676 */ - [847, 677], - /* 677 */ + /* 645 */ + [812, 646], + /* 646 */ 21, - /* 678 */ - [841, 679, 687, 683], - /* 679 */ - [842, 680, 682, 686, 683], - /* 680 */ - [843, 681], - /* 681 */ + /* 647 */ + [806, 648, 656, 652], + /* 648 */ + [807, 649, 651, 655, 652], + /* 649 */ + [808, 650], + /* 650 */ 13, - /* 682 */ - [844, 683, 684, 685], - /* 683 */ - [840, 684], - /* 684 */ + /* 651 */ + [809, 652, 653, 654], + /* 652 */ + [805, 653], + /* 653 */ 7, - /* 685 */ - [845, 681, 674], - /* 686 */ - [846, 681], - /* 687 */ + /* 654 */ + [810, 650, 643], + /* 655 */ + [811, 650], + /* 656 */ 17, - /* 688 */ - [874, 689, 704, 705, 706, 693, 684], - /* 689 */ - [855, 690, 703], - /* 690 */ - [856, 691, 692, 696, 700], - /* 691 */ + /* 657 */ 5, - /* 692 */ - [857, 693, 695], - /* 693 */ - [858, 694], - /* 694 */ + /* 658 */ + [839, 659, 674, 675, 676, 662, 653], + /* 659 */ + [820, 660, 673], + /* 660 */ + [821, 657, 661, 665, 669], + /* 661 */ + [822, 662, 664], + /* 662 */ + [823, 663], + /* 663 */ 34, - /* 695 */ + /* 664 */ 35, - /* 696 */ - [859, 692, 697, 699], - /* 697 */ - [860, 698], - /* 698 */ + /* 665 */ + [824, 661, 666, 668], + /* 666 */ + [825, 667], + /* 667 */ 38, - /* 699 */ - [861, 698], - /* 700 */ - [862, 701, 702], - /* 701 */ - [849, 674], - /* 702 */ + /* 668 */ + [826, 667], + /* 669 */ + [827, 670, 672], + /* 670 */ + [814, 644, 643, 671], + /* 671 */ + /***/ function(module, exports) { + module.exports = true; + + /***/ + }, + /* 672 */ 19, - /* 703 */ + /* 673 */ 41, - /* 704 */ + /* 674 */ 42, - /* 705 */ + /* 675 */ 43, - /* 706 */ - [871, 695], - /* 707 */ + /* 676 */ + [836, 664], + /* 677 */ /***/ function(module, exports) { - "use strict"; + 'use strict'; exports.__esModule = true; exports.default = function(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } }; /***/ }, - /* 708 */ + /* 678 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _typeof2 = __webpack_require__(709); + var _typeof2 = __webpack_require__(679); var _typeof3 = _interopRequireDefault(_typeof2); @@ -59814,42 +84034,42 @@ } return call && - ((typeof call === "undefined" - ? "undefined" - : (0, _typeof3.default)(call)) === "object" || - typeof call === "function") + ((typeof call === 'undefined' + ? 'undefined' + : (0, _typeof3.default)(call)) === 'object' || + typeof call === 'function') ? call : self; }; /***/ }, - /* 709 */ + /* 679 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _iterator = __webpack_require__(710); + var _iterator = __webpack_require__(680); var _iterator2 = _interopRequireDefault(_iterator); - var _symbol = __webpack_require__(730); + var _symbol = __webpack_require__(699); var _symbol2 = _interopRequireDefault(_symbol); var _typeof = - typeof _symbol2.default === "function" && - typeof _iterator2.default === "symbol" + typeof _symbol2.default === 'function' && + typeof _iterator2.default === 'symbol' ? function(obj) { return typeof obj; } : function(obj) { return obj && - typeof _symbol2.default === "function" && + typeof _symbol2.default === 'function' && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype - ? "symbol" + ? 'symbol' : typeof obj; }; @@ -59858,85 +84078,81 @@ } exports.default = - typeof _symbol2.default === "function" && - _typeof(_iterator2.default) === "symbol" + typeof _symbol2.default === 'function' && + _typeof(_iterator2.default) === 'symbol' ? function(obj) { - return typeof obj === "undefined" ? "undefined" : _typeof(obj); + return typeof obj === 'undefined' ? 'undefined' : _typeof(obj); } : function(obj) { return obj && - typeof _symbol2.default === "function" && + typeof _symbol2.default === 'function' && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype - ? "symbol" - : typeof obj === "undefined" ? "undefined" : _typeof(obj); + ? 'symbol' + : typeof obj === 'undefined' + ? 'undefined' + : _typeof(obj); }; /***/ }, - /* 710 */ + /* 680 */ /***/ function(module, exports, __webpack_require__) { - module.exports = { default: __webpack_require__(711), __esModule: true }; + module.exports = { default: __webpack_require__(681), __esModule: true }; /***/ }, - /* 711 */ + /* 681 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(712); - __webpack_require__(725); - module.exports = __webpack_require__(729).f("iterator"); + __webpack_require__(682); + __webpack_require__(694); + module.exports = __webpack_require__(698).f('iterator'); /***/ }, - /* 712 */ - [877, 713, 714], - /* 713 */ - [878, 698, 695], - /* 714 */ - [879, 715, 673, 716, 678, 691, 717, 718, 722, 724, 723], - /* 715 */ - /***/ function(module, exports) { - module.exports = true; - - /***/ - }, - /* 716 */ + /* 682 */ + [842, 683, 684], + /* 683 */ + [843, 667, 664], + /* 684 */ + [844, 671, 642, 685, 647, 686, 687, 691, 693, 692], + /* 685 */ /***/ function(module, exports, __webpack_require__) { - module.exports = __webpack_require__(678); + module.exports = __webpack_require__(647); /***/ }, - /* 717 */ + /* 686 */ 129, - /* 718 */ - [880, 719, 687, 722, 678, 723], - /* 719 */ - [864, 680, 720, 703, 700, 685, 721], - /* 720 */ - [865, 679, 680, 689, 683], - /* 721 */ - [866, 674], - /* 722 */ - [850, 679, 691, 723], - /* 723 */ - [851, 701, 702, 674], - /* 724 */ - [872, 691, 706, 700], - /* 725 */ + /* 687 */ + [845, 688, 656, 691, 647, 692], + /* 688 */ + [829, 649, 689, 673, 669, 654, 690], + /* 689 */ + [830, 648, 649, 659, 652], + /* 690 */ + [831, 643], + /* 691 */ + [815, 648, 657, 692], + /* 692 */ + [816, 670, 672, 643], + /* 693 */ + [837, 657, 676, 669], + /* 694 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(726); - var global = __webpack_require__(674); - var hide = __webpack_require__(678); - var Iterators = __webpack_require__(717); - var TO_STRING_TAG = __webpack_require__(723)("toStringTag"); + __webpack_require__(695); + var global = __webpack_require__(643); + var hide = __webpack_require__(647); + var Iterators = __webpack_require__(686); + var TO_STRING_TAG = __webpack_require__(692)('toStringTag'); var DOMIterables = ( - "CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList," + - "DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement," + - "MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList," + - "SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList," + - "TextTrackList,TouchList" - ).split(","); + 'CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' + + 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' + + 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' + + 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' + + 'TextTrackList,TouchList' + ).split(','); for (var i = 0; i < DOMIterables.length; i++) { var NAME = DOMIterables[i]; @@ -59948,9 +84164,9 @@ /***/ }, - /* 726 */ - [881, 727, 728, 717, 692, 714], - /* 727 */ + /* 695 */ + [846, 696, 697, 686, 661, 684], + /* 696 */ /***/ function(module, exports) { module.exports = function() { /* empty */ @@ -59958,96 +84174,97 @@ /***/ }, - /* 728 */ + /* 697 */ 195, - /* 729 */ - [852, 723], - /* 730 */ + /* 698 */ + [817, 692], + /* 699 */ /***/ function(module, exports, __webpack_require__) { - module.exports = { default: __webpack_require__(731), __esModule: true }; + module.exports = { default: __webpack_require__(700), __esModule: true }; /***/ }, - /* 731 */ + /* 700 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(732); - __webpack_require__(740); - __webpack_require__(741); - __webpack_require__(742); - module.exports = __webpack_require__(675).Symbol; + __webpack_require__(701); + __webpack_require__(709); + __webpack_require__(710); + __webpack_require__(711); + module.exports = __webpack_require__(644).Symbol; /***/ }, - /* 732 */ + /* 701 */ [ - 839, - 674, - 691, - 683, - 673, - 716, - 733, - 684, - 701, - 722, + 804, + 643, + 657, + 652, + 642, + 685, 702, - 723, - 729, - 734, - 735, - 736, - 680, + 653, + 670, + 691, + 672, 692, - 686, - 687, - 719, - 737, - 739, - 679, - 689, - 738, - 705, + 698, + 703, 704, - 715, - 678 + 705, + 649, + 650, + 661, + 655, + 656, + 688, + 706, + 708, + 648, + 659, + 707, + 675, + 674, + 671, + 647 ], - /* 733 */ - [848, 702, 681, 691, 679, 684], - /* 734 */ - [853, 674, 675, 715, 729, 679], - /* 735 */ - [854, 689, 704, 705], - /* 736 */ - [863, 694], - /* 737 */ - [867, 692, 738], - /* 738 */ - [868, 690, 703], - /* 739 */ - [869, 705, 687, 692, 686, 691, 682, 683], - /* 740 */ + /* 702 */ + [813, 672, 650, 657, 648, 653], + /* 703 */ + [818, 643, 644, 671, 698, 648], + /* 704 */ + [819, 659, 674, 675], + /* 705 */ + [828, 663], + /* 706 */ + [832, 661, 707], + /* 707 */ + [833, 660, 673], + /* 708 */ + [834, 675, 656, 661, 655, 657, 651, 652], + /* 709 */ /***/ function(module, exports) { /***/ }, - /* 741 */ - [882, 734], - /* 742 */ - [883, 734], - /* 743 */ + /* 710 */ + [847, 703], + /* 711 */ + [848, 703], + /* 712 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _setPrototypeOf = __webpack_require__(744); + var _setPrototypeOf = __webpack_require__(713); var _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf); - var _create = __webpack_require__(748); + var _create = __webpack_require__(717); var _create2 = _interopRequireDefault(_create); - var _typeof2 = __webpack_require__(709); + var _typeof2 = __webpack_require__(679); var _typeof3 = _interopRequireDefault(_typeof2); @@ -60056,11 +84273,11 @@ } exports.default = function(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + - (typeof superClass === "undefined" - ? "undefined" + 'Super expression must either be null or a function, not ' + + (typeof superClass === 'undefined' + ? 'undefined' : (0, _typeof3.default)(superClass)) ); } @@ -60084,47 +84301,47 @@ /***/ }, - /* 744 */ + /* 713 */ /***/ function(module, exports, __webpack_require__) { - module.exports = { default: __webpack_require__(745), __esModule: true }; + module.exports = { default: __webpack_require__(714), __esModule: true }; /***/ }, - /* 745 */ + /* 714 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(746); - module.exports = __webpack_require__(675).Object.setPrototypeOf; + __webpack_require__(715); + module.exports = __webpack_require__(644).Object.setPrototypeOf; /***/ }, - /* 746 */ - [875, 673, 747], - /* 747 */ - [876, 681, 680, 676, 739], - /* 748 */ + /* 715 */ + [840, 642, 716], + /* 716 */ + [841, 650, 649, 645, 708], + /* 717 */ /***/ function(module, exports, __webpack_require__) { - module.exports = { default: __webpack_require__(749), __esModule: true }; + module.exports = { default: __webpack_require__(718), __esModule: true }; /***/ }, - /* 749 */ + /* 718 */ /***/ function(module, exports, __webpack_require__) { - __webpack_require__(750); - var $Object = __webpack_require__(675).Object; + __webpack_require__(719); + var $Object = __webpack_require__(644).Object; module.exports = function create(P, D) { return $Object.create(P, D); }; /***/ }, - /* 750 */ - [870, 673, 719], - /* 751 */ + /* 719 */ + [835, 642, 688], + /* 720 */ /***/ function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */ (function(global) { /**! * @fileOverview Kickass library to create and place poppers near their reference elements. - * @version 1.14.1 + * @version 1.14.4 * @license * Copyright (c) 2016 Federico Zivolo and contributors * @@ -60149,15 +84366,16 @@ (function(global, factory) { true ? (module.exports = factory()) - : typeof define === "function" && define.amd + : typeof define === 'function' && define.amd ? define(factory) : (global.Popper = factory()); })(this, function() { - "use strict"; + 'use strict'; var isBrowser = - typeof window !== "undefined" && typeof document !== "undefined"; - var longerTimeoutBrowsers = ["Edge", "Trident", "Firefox"]; + typeof window !== 'undefined' && typeof document !== 'undefined'; + + var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox']; var timeoutDuration = 0; for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) { if ( @@ -60220,7 +84438,7 @@ var getType = {}; return ( functionToCheck && - getType.toString.call(functionToCheck) === "[object Function]" + getType.toString.call(functionToCheck) === '[object Function]' ); } @@ -60248,7 +84466,7 @@ * @returns {Element} parent */ function getParentNode(element) { - if (element.nodeName === "HTML") { + if (element.nodeName === 'HTML') { return element; } return element.parentNode || element.host; @@ -60268,10 +84486,10 @@ } switch (element.nodeName) { - case "HTML": - case "BODY": + case 'HTML': + case 'BODY': return element.ownerDocument.body; - case "#document": + case '#document': return element.body; } @@ -60291,47 +84509,27 @@ return getScrollParent(getParentNode(element)); } + var isIE11 = + isBrowser && + !!(window.MSInputMethodContext && document.documentMode); + var isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent); + /** - * Tells if you are running Internet Explorer + * Determines if the browser is Internet Explorer * @method * @memberof Popper.Utils - * @argument {number} version to check + * @param {Number} version to check * @returns {Boolean} isIE */ - var cache = {}; - - var isIE = function() { - var version = - arguments.length > 0 && arguments[0] !== undefined - ? arguments[0] - : "all"; - - version = version.toString(); - if (cache.hasOwnProperty(version)) { - return cache[version]; + function isIE(version) { + if (version === 11) { + return isIE11; } - switch (version) { - case "11": - cache[version] = navigator.userAgent.indexOf("Trident") !== -1; - break; - case "10": - cache[version] = navigator.appVersion.indexOf("MSIE 10") !== -1; - break; - case "all": - cache[version] = - navigator.userAgent.indexOf("Trident") !== -1 || - navigator.userAgent.indexOf("MSIE") !== -1; - break; + if (version === 10) { + return isIE10; } - - //Set IE - cache.all = - cache.all || - Object.keys(cache).some(function(key) { - return cache[key]; - }); - return cache[version]; - }; + return isIE11 || isIE10; + } /** * Returns the offset parent of the given element @@ -60360,7 +84558,7 @@ var nodeName = offsetParent && offsetParent.nodeName; - if (!nodeName || nodeName === "BODY" || nodeName === "HTML") { + if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') { return element ? element.ownerDocument.documentElement : document.documentElement; @@ -60369,8 +84567,8 @@ // .offsetParent will return the closest TD or TABLE in case // no offsetParent is present, I hate this job... if ( - ["TD", "TABLE"].indexOf(offsetParent.nodeName) !== -1 && - getStyleComputedProperty(offsetParent, "position") === "static" + ['TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && + getStyleComputedProperty(offsetParent, 'position') === 'static' ) { return getOffsetParent(offsetParent); } @@ -60381,11 +84579,11 @@ function isOffsetContainer(element) { var nodeName = element.nodeName; - if (nodeName === "BODY") { + if (nodeName === 'BODY') { return false; } return ( - nodeName === "HTML" || + nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element ); } @@ -60472,12 +84670,12 @@ var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] - : "top"; + : 'top'; - var upperSide = side === "top" ? "scrollTop" : "scrollLeft"; + var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft'; var nodeName = element.nodeName; - if (nodeName === "BODY" || nodeName === "HTML") { + if (nodeName === 'BODY' || nodeName === 'HTML') { var html = element.ownerDocument.documentElement; var scrollingElement = element.ownerDocument.scrollingElement || html; @@ -60502,8 +84700,8 @@ ? arguments[2] : false; - var scrollTop = getScroll(element, "top"); - var scrollLeft = getScroll(element, "left"); + var scrollTop = getScroll(element, 'top'); + var scrollLeft = getScroll(element, 'left'); var modifier = subtract ? -1 : 1; rect.top += scrollTop * modifier; rect.bottom += scrollTop * modifier; @@ -60523,48 +84721,52 @@ */ function getBordersSize(styles, axis) { - var sideA = axis === "x" ? "Left" : "Top"; - var sideB = sideA === "Left" ? "Right" : "Bottom"; + var sideA = axis === 'x' ? 'Left' : 'Top'; + var sideB = sideA === 'Left' ? 'Right' : 'Bottom'; return ( - parseFloat(styles["border" + sideA + "Width"], 10) + - parseFloat(styles["border" + sideB + "Width"], 10) + parseFloat(styles['border' + sideA + 'Width'], 10) + + parseFloat(styles['border' + sideB + 'Width'], 10) ); } function getSize(axis, body, html, computedStyle) { return Math.max( - body["offset" + axis], - body["scroll" + axis], - html["client" + axis], - html["offset" + axis], - html["scroll" + axis], + body['offset' + axis], + body['scroll' + axis], + html['client' + axis], + html['offset' + axis], + html['scroll' + axis], isIE(10) - ? html["offset" + axis] + - computedStyle[ - "margin" + (axis === "Height" ? "Top" : "Left") - ] + - computedStyle[ - "margin" + (axis === "Height" ? "Bottom" : "Right") - ] + ? parseInt(html['offset' + axis]) + + parseInt( + computedStyle[ + 'margin' + (axis === 'Height' ? 'Top' : 'Left') + ] + ) + + parseInt( + computedStyle[ + 'margin' + (axis === 'Height' ? 'Bottom' : 'Right') + ] + ) : 0 ); } - function getWindowSizes() { + function getWindowSizes(document) { var body = document.body; var html = document.documentElement; var computedStyle = isIE(10) && getComputedStyle(html); return { - height: getSize("Height", body, html, computedStyle), - width: getSize("Width", body, html, computedStyle) + height: getSize('Height', body, html, computedStyle), + width: getSize('Width', body, html, computedStyle) }; } var classCallCheck = function(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } }; @@ -60574,7 +84776,7 @@ var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; + if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } @@ -60648,8 +84850,8 @@ try { if (isIE(10)) { rect = element.getBoundingClientRect(); - var scrollTop = getScroll(element, "top"); - var scrollLeft = getScroll(element, "left"); + var scrollTop = getScroll(element, 'top'); + var scrollLeft = getScroll(element, 'left'); rect.top += scrollTop; rect.left += scrollLeft; rect.bottom += scrollTop; @@ -60667,7 +84869,10 @@ }; // subtract scrollbar size from sizes - var sizes = element.nodeName === "HTML" ? getWindowSizes() : {}; + var sizes = + element.nodeName === 'HTML' + ? getWindowSizes(element.ownerDocument) + : {}; var width = sizes.width || element.clientWidth || result.right - result.left; var height = @@ -60682,8 +84887,8 @@ // we make this check conditional for performance reasons if (horizScrollbar || vertScrollbar) { var styles = getStyleComputedProperty(element); - horizScrollbar -= getBordersSize(styles, "x"); - vertScrollbar -= getBordersSize(styles, "y"); + horizScrollbar -= getBordersSize(styles, 'x'); + vertScrollbar -= getBordersSize(styles, 'y'); result.width -= horizScrollbar; result.height -= vertScrollbar; @@ -60699,7 +84904,7 @@ : false; var isIE10 = isIE(10); - var isHTML = parent.nodeName === "HTML"; + var isHTML = parent.nodeName === 'HTML'; var childrenRect = getBoundingClientRect(children); var parentRect = getBoundingClientRect(parent); var scrollParent = getScrollParent(children); @@ -60709,7 +84914,7 @@ var borderLeftWidth = parseFloat(styles.borderLeftWidth, 10); // In cases where the parent is fixed, we must ignore negative scroll in offset calc - if (fixedPosition && parent.nodeName === "HTML") { + if (fixedPosition && isHTML) { parentRect.top = Math.max(parentRect.top, 0); parentRect.left = Math.max(parentRect.left, 0); } @@ -60743,7 +84948,7 @@ if ( isIE10 && !fixedPosition ? parent.contains(scrollParent) - : parent === scrollParent && scrollParent.nodeName !== "BODY" + : parent === scrollParent && scrollParent.nodeName !== 'BODY' ) { offsets = includeScroll(offsets, parent); } @@ -60766,7 +84971,7 @@ var height = Math.max(html.clientHeight, window.innerHeight || 0); var scrollTop = !excludeScroll ? getScroll(html) : 0; - var scrollLeft = !excludeScroll ? getScroll(html, "left") : 0; + var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0; var offset = { top: scrollTop - relativeOffset.top + relativeOffset.marginTop, @@ -60789,10 +84994,10 @@ */ function isFixed(element) { var nodeName = element.nodeName; - if (nodeName === "BODY" || nodeName === "HTML") { + if (nodeName === 'BODY' || nodeName === 'HTML') { return false; } - if (getStyleComputedProperty(element, "position") === "fixed") { + if (getStyleComputedProperty(element, 'position') === 'fixed') { return true; } return isFixed(getParentNode(element)); @@ -60812,7 +85017,7 @@ return document.documentElement; } var el = element.parentElement; - while (el && getStyleComputedProperty(el, "transform") === "none") { + while (el && getStyleComputedProperty(el, 'transform') === 'none') { el = el.parentElement; } return el || document.documentElement; @@ -60848,7 +85053,7 @@ : findCommonOffsetParent(popper, reference); // Handle viewport case - if (boundariesElement === "viewport") { + if (boundariesElement === 'viewport') { boundaries = getViewportOffsetRectRelativeToArtbitraryNode( offsetParent, fixedPosition @@ -60856,12 +85061,12 @@ } else { // Handle other cases based on DOM element used as boundaries var boundariesNode = void 0; - if (boundariesElement === "scrollParent") { + if (boundariesElement === 'scrollParent') { boundariesNode = getScrollParent(getParentNode(reference)); - if (boundariesNode.nodeName === "BODY") { + if (boundariesNode.nodeName === 'BODY') { boundariesNode = popper.ownerDocument.documentElement; } - } else if (boundariesElement === "window") { + } else if (boundariesElement === 'window') { boundariesNode = popper.ownerDocument.documentElement; } else { boundariesNode = boundariesElement; @@ -60875,10 +85080,10 @@ // In case of HTML, we need a different computation if ( - boundariesNode.nodeName === "HTML" && + boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent) ) { - var _getWindowSizes = getWindowSizes(), + var _getWindowSizes = getWindowSizes(popper.ownerDocument), height = _getWindowSizes.height, width = _getWindowSizes.width; @@ -60893,10 +85098,14 @@ } // Add paddings - boundaries.left += padding; - boundaries.top += padding; - boundaries.right -= padding; - boundaries.bottom -= padding; + padding = padding || 0; + var isPaddingNumber = typeof padding === 'number'; + boundaries.left += isPaddingNumber ? padding : padding.left || 0; + boundaries.top += isPaddingNumber ? padding : padding.top || 0; + boundaries.right -= isPaddingNumber ? padding : padding.right || 0; + boundaries.bottom -= isPaddingNumber + ? padding + : padding.bottom || 0; return boundaries; } @@ -60929,7 +85138,7 @@ ? arguments[5] : 0; - if (placement.indexOf("auto") === -1) { + if (placement.indexOf('auto') === -1) { return placement; } @@ -60988,9 +85197,9 @@ ? filteredAreas[0].key : sortedAreas[0].key; - var variation = placement.split("-")[1]; + var variation = placement.split('-')[1]; - return computedPlacement + (variation ? "-" + variation : ""); + return computedPlacement + (variation ? '-' + variation : ''); } /** @@ -61048,10 +85257,10 @@ */ function getOppositePlacement(placement) { var hash = { - left: "right", - right: "left", - bottom: "top", - top: "bottom" + left: 'right', + right: 'left', + bottom: 'top', + top: 'bottom' }; return placement.replace(/left|right|bottom|top/g, function( matched @@ -61071,7 +85280,7 @@ * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper */ function getPopperOffsets(popper, referenceOffsets, placement) { - placement = placement.split("-")[0]; + placement = placement.split('-')[0]; // Get popper node sizes var popperRect = getOuterSizes(popper); @@ -61083,11 +85292,11 @@ }; // depending by the popper placement we have to compute its offsets slightly differently - var isHoriz = ["right", "left"].indexOf(placement) !== -1; - var mainSide = isHoriz ? "top" : "left"; - var secondarySide = isHoriz ? "left" : "top"; - var measurement = isHoriz ? "height" : "width"; - var secondaryMeasurement = !isHoriz ? "height" : "width"; + var isHoriz = ['right', 'left'].indexOf(placement) !== -1; + var mainSide = isHoriz ? 'top' : 'left'; + var secondarySide = isHoriz ? 'left' : 'top'; + var measurement = isHoriz ? 'height' : 'width'; + var secondaryMeasurement = !isHoriz ? 'height' : 'width'; popperOffsets[mainSide] = referenceOffsets[mainSide] + @@ -61162,16 +85371,16 @@ var modifiersToRun = ends === undefined ? modifiers - : modifiers.slice(0, findIndex(modifiers, "name", ends)); + : modifiers.slice(0, findIndex(modifiers, 'name', ends)); modifiersToRun.forEach(function(modifier) { - if (modifier["function"]) { + if (modifier['function']) { // eslint-disable-line dot-notation console.warn( - "`modifier.function` is deprecated, use `modifier.fn`!" + '`modifier.function` is deprecated, use `modifier.fn`!' ); } - var fn = modifier["function"] || modifier.fn; // eslint-disable-line dot-notation + var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation if (modifier.enabled && isFunction(fn)) { // Add properties to offsets to make them a complete clientRect object // we do this before each modifier to make sure the previous one doesn't @@ -61239,9 +85448,10 @@ data.offsets.reference, data.placement ); + data.offsets.popper.position = this.options.positionFixed - ? "fixed" - : "absolute"; + ? 'fixed' + : 'absolute'; // run the modifiers data = runModifiers(this.modifiers, data); @@ -61278,14 +85488,14 @@ * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix) */ function getSupportedPropertyName(property) { - var prefixes = [false, "ms", "Webkit", "Moz", "O"]; + var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O']; var upperProp = property.charAt(0).toUpperCase() + property.slice(1); for (var i = 0; i < prefixes.length; i++) { var prefix = prefixes[i]; - var toCheck = prefix ? "" + prefix + upperProp : property; - if (typeof document.body.style[toCheck] !== "undefined") { + var toCheck = prefix ? '' + prefix + upperProp : property; + if (typeof document.body.style[toCheck] !== 'undefined') { return toCheck; } } @@ -61293,7 +85503,7 @@ } /** - * Destroy the popper + * Destroys the popper. * @method * @memberof Popper */ @@ -61301,15 +85511,15 @@ this.state.isDestroyed = true; // touch DOM only if `applyStyle` modifier is enabled - if (isModifierEnabled(this.modifiers, "applyStyle")) { - this.popper.removeAttribute("x-placement"); - this.popper.style.position = ""; - this.popper.style.top = ""; - this.popper.style.left = ""; - this.popper.style.right = ""; - this.popper.style.bottom = ""; - this.popper.style.willChange = ""; - this.popper.style[getSupportedPropertyName("transform")] = ""; + if (isModifierEnabled(this.modifiers, 'applyStyle')) { + this.popper.removeAttribute('x-placement'); + this.popper.style.position = ''; + this.popper.style.top = ''; + this.popper.style.left = ''; + this.popper.style.right = ''; + this.popper.style.bottom = ''; + this.popper.style.willChange = ''; + this.popper.style[getSupportedPropertyName('transform')] = ''; } this.disableEventListeners(); @@ -61338,7 +85548,7 @@ callback, scrollParents ) { - var isBody = scrollParent.nodeName === "BODY"; + var isBody = scrollParent.nodeName === 'BODY'; var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent; @@ -61364,7 +85574,7 @@ function setupEventListeners(reference, options, state, updateBound) { // Resize event listener on window state.updateBound = updateBound; - getWindow(reference).addEventListener("resize", state.updateBound, { + getWindow(reference).addEventListener('resize', state.updateBound, { passive: true }); @@ -61372,7 +85582,7 @@ var scrollElement = getScrollParent(reference); attachToScrollParents( scrollElement, - "scroll", + 'scroll', state.updateBound, state.scrollParents ); @@ -61408,13 +85618,13 @@ function removeEventListeners(reference, state) { // Remove resize event listener on window getWindow(reference).removeEventListener( - "resize", + 'resize', state.updateBound ); // Remove scroll event listener on scroll parents state.scrollParents.forEach(function(target) { - target.removeEventListener("scroll", state.updateBound); + target.removeEventListener('scroll', state.updateBound); }); // Reset state @@ -61427,7 +85637,7 @@ /** * It will remove resize/scroll events and won't recalculate popper position - * when they are triggered. It also won't trigger onUpdate callback anymore, + * when they are triggered. It also won't trigger `onUpdate` callback anymore, * unless you call `update` method manually. * @method * @memberof Popper @@ -61447,7 +85657,7 @@ * @return {Boolean} */ function isNumeric(n) { - return n !== "" && !isNaN(parseFloat(n)) && isFinite(n); + return n !== '' && !isNaN(parseFloat(n)) && isFinite(n); } /** @@ -61460,15 +85670,15 @@ */ function setStyles(element, styles) { Object.keys(styles).forEach(function(prop) { - var unit = ""; + var unit = ''; // add unit if the value is numeric and is one of the following if ( - ["width", "height", "top", "right", "bottom", "left"].indexOf( + ['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf( prop ) !== -1 && isNumeric(styles[prop]) ) { - unit = "px"; + unit = 'px'; } element.style[prop] = styles[prop] + unit; }); @@ -61558,12 +85768,12 @@ options.modifiers.flip.padding ); - popper.setAttribute("x-placement", placement); + popper.setAttribute('x-placement', placement); // Apply `position` to popper before anything else because // without the position applied we can't guarantee correct computations setStyles(popper, { - position: options.positionFixed ? "fixed" : "absolute" + position: options.positionFixed ? 'fixed' : 'absolute' }); return options; @@ -61586,12 +85796,12 @@ var legacyGpuAccelerationOption = find( data.instance.modifiers, function(modifier) { - return modifier.name === "applyStyle"; + return modifier.name === 'applyStyle'; } ).gpuAcceleration; if (legacyGpuAccelerationOption !== undefined) { console.warn( - "WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!" + 'WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!' ); } var gpuAcceleration = @@ -61607,21 +85817,23 @@ position: popper.position }; - // floor sides to avoid blurry text + // Avoid blurry text by using full pixel integers. + // For pixel-perfect positioning, top/bottom prefers rounded + // values, while left/right prefers floored values. var offsets = { left: Math.floor(popper.left), - top: Math.floor(popper.top), - bottom: Math.floor(popper.bottom), + top: Math.round(popper.top), + bottom: Math.round(popper.bottom), right: Math.floor(popper.right) }; - var sideA = x === "bottom" ? "top" : "bottom"; - var sideB = y === "right" ? "left" : "right"; + var sideA = x === 'bottom' ? 'top' : 'bottom'; + var sideB = y === 'right' ? 'left' : 'right'; // if gpuAcceleration is set to `true` and transform is supported, // we use `translate3d` to apply the position to the popper we // automatically use the supported prefixed version if needed - var prefixedProperty = getSupportedPropertyName("transform"); + var prefixedProperty = getSupportedPropertyName('transform'); // now, let's make a step back and look at this code closely (wtf?) // If the content of the popper grows once it's been positioned, it @@ -61634,34 +85846,44 @@ // its bottom. var left = void 0, top = void 0; - if (sideA === "bottom") { - top = -offsetParentRect.height + offsets.bottom; + if (sideA === 'bottom') { + // when offsetParent is the positioning is relative to the bottom of the screen (excluding the scrollbar) + // and not the bottom of the html element + if (offsetParent.nodeName === 'HTML') { + top = -offsetParent.clientHeight + offsets.bottom; + } else { + top = -offsetParentRect.height + offsets.bottom; + } } else { top = offsets.top; } - if (sideB === "right") { - left = -offsetParentRect.width + offsets.right; + if (sideB === 'right') { + if (offsetParent.nodeName === 'HTML') { + left = -offsetParent.clientWidth + offsets.right; + } else { + left = -offsetParentRect.width + offsets.right; + } } else { left = offsets.left; } if (gpuAcceleration && prefixedProperty) { styles[prefixedProperty] = - "translate3d(" + left + "px, " + top + "px, 0)"; + 'translate3d(' + left + 'px, ' + top + 'px, 0)'; styles[sideA] = 0; styles[sideB] = 0; - styles.willChange = "transform"; + styles.willChange = 'transform'; } else { // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties - var invertTop = sideA === "bottom" ? -1 : 1; - var invertLeft = sideB === "right" ? -1 : 1; + var invertTop = sideA === 'bottom' ? -1 : 1; + var invertLeft = sideB === 'right' ? -1 : 1; styles[sideA] = top * invertTop; styles[sideB] = left * invertLeft; - styles.willChange = sideA + ", " + sideB; + styles.willChange = sideA + ', ' + sideB; } // Attributes var attributes = { - "x-placement": data.placement + 'x-placement': data.placement }; // Update `data` attributes, styles and arrowStyles @@ -61707,15 +85929,15 @@ }); if (!isRequired) { - var _requesting = "`" + requestingName + "`"; - var requested = "`" + requestedName + "`"; + var _requesting = '`' + requestingName + '`'; + var requested = '`' + requestedName + '`'; console.warn( requested + - " modifier is required by " + + ' modifier is required by ' + _requesting + - " modifier in order to work, be sure to include it before " + + ' modifier in order to work, be sure to include it before ' + _requesting + - "!" + '!' ); } return isRequired; @@ -61735,8 +85957,8 @@ if ( !isModifierRequired( data.instance.modifiers, - "arrow", - "keepTogether" + 'arrow', + 'keepTogether' ) ) { return data; @@ -61745,7 +85967,7 @@ var arrowElement = options.element; // if arrowElement is a string, suppose it's a CSS selector - if (typeof arrowElement === "string") { + if (typeof arrowElement === 'string') { arrowElement = data.instance.popper.querySelector(arrowElement); // if arrowElement is not found, don't run the modifier @@ -61757,29 +85979,29 @@ // provided DOM node is child of its popper node if (!data.instance.popper.contains(arrowElement)) { console.warn( - "WARNING: `arrow.element` must be child of its popper element!" + 'WARNING: `arrow.element` must be child of its popper element!' ); return data; } } - var placement = data.placement.split("-")[0]; + var placement = data.placement.split('-')[0]; var _data$offsets = data.offsets, popper = _data$offsets.popper, reference = _data$offsets.reference; - var isVertical = ["left", "right"].indexOf(placement) !== -1; + var isVertical = ['left', 'right'].indexOf(placement) !== -1; - var len = isVertical ? "height" : "width"; - var sideCapitalized = isVertical ? "Top" : "Left"; + var len = isVertical ? 'height' : 'width'; + var sideCapitalized = isVertical ? 'Top' : 'Left'; var side = sideCapitalized.toLowerCase(); - var altSide = isVertical ? "left" : "top"; - var opSide = isVertical ? "bottom" : "right"; + var altSide = isVertical ? 'left' : 'top'; + var opSide = isVertical ? 'bottom' : 'right'; var arrowElementSize = getOuterSizes(arrowElement)[len]; // // extends keepTogether behavior making sure the popper and its - // reference have enough pixels in conjuction + // reference have enough pixels in conjunction // // top/left side @@ -61802,11 +86024,11 @@ // take popper margin in account because we don't have this info available var css = getStyleComputedProperty(data.instance.popper); var popperMarginSide = parseFloat( - css["margin" + sideCapitalized], + css['margin' + sideCapitalized], 10 ); var popperBorderSide = parseFloat( - css["border" + sideCapitalized + "Width"], + css['border' + sideCapitalized + 'Width'], 10 ); var sideValue = @@ -61824,7 +86046,7 @@ data.arrowElement = arrowElement; data.offsets.arrow = ((_data$offsets$arrow = {}), defineProperty(_data$offsets$arrow, side, Math.round(sideValue)), - defineProperty(_data$offsets$arrow, altSide, ""), + defineProperty(_data$offsets$arrow, altSide, ''), _data$offsets$arrow); return data; @@ -61838,10 +86060,10 @@ * @returns {String} flipped placement variation */ function getOppositeVariation(variation) { - if (variation === "end") { - return "start"; - } else if (variation === "start") { - return "end"; + if (variation === 'end') { + return 'start'; + } else if (variation === 'start') { + return 'end'; } return variation; } @@ -61868,7 +86090,7 @@ * - `top-end` (on top of reference, right aligned) * - `right-start` (on right of reference, top aligned) * - `bottom` (on bottom, centered) - * - `auto-right` (on the side with more space available, alignment depends by placement) + * - `auto-end` (on the side with more space available, alignment depends by placement) * * @static * @type {Array} @@ -61878,21 +86100,21 @@ * @memberof Popper */ var placements = [ - "auto-start", - "auto", - "auto-end", - "top-start", - "top", - "top-end", - "right-start", - "right", - "right-end", - "bottom-end", - "bottom", - "bottom-start", - "left-end", - "left", - "left-start" + 'auto-start', + 'auto', + 'auto-end', + 'top-start', + 'top', + 'top-end', + 'right-start', + 'right', + 'right-end', + 'bottom-end', + 'bottom', + 'bottom-start', + 'left-end', + 'left', + 'left-start' ]; // Get rid of `auto` `auto-start` and `auto-end` @@ -61922,9 +86144,9 @@ } var BEHAVIORS = { - FLIP: "flip", - CLOCKWISE: "clockwise", - COUNTERCLOCKWISE: "counterclockwise" + FLIP: 'flip', + CLOCKWISE: 'clockwise', + COUNTERCLOCKWISE: 'counterclockwise' }; /** @@ -61936,7 +86158,7 @@ */ function flip(data, options) { // if `inner` modifier is enabled, we can't use the `flip` modifier - if (isModifierEnabled(data.instance.modifiers, "inner")) { + if (isModifierEnabled(data.instance.modifiers, 'inner')) { return data; } @@ -61953,9 +86175,9 @@ data.positionFixed ); - var placement = data.placement.split("-")[0]; + var placement = data.placement.split('-')[0]; var placementOpposite = getOppositePlacement(placement); - var variation = data.placement.split("-")[1] || ""; + var variation = data.placement.split('-')[1] || ''; var flipOrder = []; @@ -61978,7 +86200,7 @@ return data; } - placement = data.placement.split("-")[0]; + placement = data.placement.split('-')[0]; placementOpposite = getOppositePlacement(placement); var popperOffsets = data.offsets.popper; @@ -61987,13 +86209,13 @@ // using floor because the reference offsets may contain decimals we are not going to consider here var floor = Math.floor; var overlapsRef = - (placement === "left" && + (placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left)) || - (placement === "right" && + (placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right)) || - (placement === "top" && + (placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top)) || - (placement === "bottom" && + (placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom)); var overflowsLeft = @@ -62006,19 +86228,19 @@ floor(popperOffsets.bottom) > floor(boundaries.bottom); var overflowsBoundaries = - (placement === "left" && overflowsLeft) || - (placement === "right" && overflowsRight) || - (placement === "top" && overflowsTop) || - (placement === "bottom" && overflowsBottom); + (placement === 'left' && overflowsLeft) || + (placement === 'right' && overflowsRight) || + (placement === 'top' && overflowsTop) || + (placement === 'bottom' && overflowsBottom); // flip the variation if required - var isVertical = ["top", "bottom"].indexOf(placement) !== -1; + var isVertical = ['top', 'bottom'].indexOf(placement) !== -1; var flippedVariation = !!options.flipVariations && - ((isVertical && variation === "start" && overflowsLeft) || - (isVertical && variation === "end" && overflowsRight) || - (!isVertical && variation === "start" && overflowsTop) || - (!isVertical && variation === "end" && overflowsBottom)); + ((isVertical && variation === 'start' && overflowsLeft) || + (isVertical && variation === 'end' && overflowsRight) || + (!isVertical && variation === 'start' && overflowsTop) || + (!isVertical && variation === 'end' && overflowsBottom)); if (overlapsRef || overflowsBoundaries || flippedVariation) { // this boolean to detect any flip loop @@ -62032,7 +86254,7 @@ variation = getOppositeVariation(variation); } - data.placement = placement + (variation ? "-" + variation : ""); + data.placement = placement + (variation ? '-' + variation : ''); // this object contains `position`, we want to preserve it along with // any additional property we may add in the future @@ -62046,7 +86268,7 @@ ) ); - data = runModifiers(data.instance.modifiers, data, "flip"); + data = runModifiers(data.instance.modifiers, data, 'flip'); } }); return data; @@ -62064,12 +86286,12 @@ popper = _data$offsets.popper, reference = _data$offsets.reference; - var placement = data.placement.split("-")[0]; + var placement = data.placement.split('-')[0]; var floor = Math.floor; - var isVertical = ["top", "bottom"].indexOf(placement) !== -1; - var side = isVertical ? "right" : "bottom"; - var opSide = isVertical ? "left" : "top"; - var measurement = isVertical ? "width" : "height"; + var isVertical = ['top', 'bottom'].indexOf(placement) !== -1; + var side = isVertical ? 'right' : 'bottom'; + var opSide = isVertical ? 'left' : 'top'; + var measurement = isVertical ? 'width' : 'height'; if (popper[side] < floor(reference[opSide])) { data.offsets.popper[opSide] = @@ -62105,24 +86327,24 @@ return str; } - if (unit.indexOf("%") === 0) { + if (unit.indexOf('%') === 0) { var element = void 0; switch (unit) { - case "%p": + case '%p': element = popperOffsets; break; - case "%": - case "%r": + case '%': + case '%r': default: element = referenceOffsets; } var rect = getClientRect(element); - return rect[measurement] / 100 * value; - } else if (unit === "vh" || unit === "vw") { + return (rect[measurement] / 100) * value; + } else if (unit === 'vh' || unit === 'vw') { // if is a vh or vw, we calculate the size based on the viewport var size = void 0; - if (unit === "vh") { + if (unit === 'vh') { size = Math.max( document.documentElement.clientHeight, window.innerHeight || 0 @@ -62133,7 +86355,7 @@ window.innerWidth || 0 ); } - return size / 100 * value; + return (size / 100) * value; } else { // if is an explicit pixel unit, we get rid of the unit and keep the value // if is an implicit unit, it's px, and we return just the value @@ -62163,7 +86385,7 @@ // Use height if placement is left or right and index is 0 otherwise use width // in this way the first offset will use an axis and the second one // will use the other one - var useHeight = ["right", "left"].indexOf(basePlacement) !== -1; + var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1; // Split the offset string to obtain a list of values and operands // The regex addresses values with the plus or minus sign in front (+10, -20, etc) @@ -62179,9 +86401,9 @@ }) ); - if (fragments[divider] && fragments[divider].indexOf(",") === -1) { + if (fragments[divider] && fragments[divider].indexOf(',') === -1) { console.warn( - "Offsets separated by white space(s) are deprecated, use a comma (,) instead." + 'Offsets separated by white space(s) are deprecated, use a comma (,) instead.' ); } @@ -62203,17 +86425,20 @@ // Convert the values with units to absolute pixels to allow our computations ops = ops.map(function(op, index) { // Most of the units rely on the orientation of the popper - var measurement = (index === 1 ? !useHeight : useHeight) - ? "height" - : "width"; + var measurement = (index === 1 + ? !useHeight + : useHeight) + ? 'height' + : 'width'; var mergeWithPrevious = false; - return (op + return ( + op // This aggregates any `+` or `-` sign that aren't considered operators // e.g.: 10 + +5 => [10, +, +5] .reduce(function(a, b) { if ( - a[a.length - 1] === "" && - ["+", "-"].indexOf(b) !== -1 + a[a.length - 1] === '' && + ['+', '-'].indexOf(b) !== -1 ) { a[a.length - 1] = b; mergeWithPrevious = true; @@ -62234,14 +86459,15 @@ popperOffsets, referenceOffsets ); - }) ); + }) + ); }); // Loop trough the offsets arrays and execute the operations ops.forEach(function(op, index) { op.forEach(function(frag, index2) { if (isNumeric(frag)) { - offsets[index] += frag * (op[index2 - 1] === "-" ? -1 : 1); + offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1); } }); }); @@ -62264,7 +86490,7 @@ popper = _data$offsets.popper, reference = _data$offsets.reference; - var basePlacement = placement.split("-")[0]; + var basePlacement = placement.split('-')[0]; var offsets = void 0; if (isNumeric(+offset)) { @@ -62273,16 +86499,16 @@ offsets = parseOffset(offset, popper, reference, basePlacement); } - if (basePlacement === "left") { + if (basePlacement === 'left') { popper.top += offsets[0]; popper.left -= offsets[1]; - } else if (basePlacement === "right") { + } else if (basePlacement === 'right') { popper.top += offsets[0]; popper.left += offsets[1]; - } else if (basePlacement === "top") { + } else if (basePlacement === 'top') { popper.left += offsets[0]; popper.top -= offsets[1]; - } else if (basePlacement === "bottom") { + } else if (basePlacement === 'bottom') { popper.left += offsets[0]; popper.top += offsets[1]; } @@ -62310,6 +86536,19 @@ boundariesElement = getOffsetParent(boundariesElement); } + // NOTE: DOM access here + // resets the popper's position so that the document size can be calculated excluding + // the size of the popper element itself + var transformProp = getSupportedPropertyName('transform'); + var popperStyles = data.instance.popper.style; // assignment to help minification + var top = popperStyles.top, + left = popperStyles.left, + transform = popperStyles[transformProp]; + + popperStyles.top = ''; + popperStyles.left = ''; + popperStyles[transformProp] = ''; + var boundaries = getBoundaries( data.instance.popper, data.instance.reference, @@ -62317,6 +86556,13 @@ boundariesElement, data.positionFixed ); + + // NOTE: DOM access here + // restores the original style properties after the offsets have been computed + popperStyles.top = top; + popperStyles.left = left; + popperStyles[transformProp] = transform; + options.boundaries = boundaries; var order = options.priority; @@ -62334,7 +86580,7 @@ return defineProperty({}, placement, value); }, secondary: function secondary(placement) { - var mainSide = placement === "right" ? "left" : "top"; + var mainSide = placement === 'right' ? 'left' : 'top'; var value = popper[mainSide]; if ( popper[placement] > boundaries[placement] && @@ -62343,7 +86589,7 @@ value = Math.min( popper[mainSide], boundaries[placement] - - (placement === "right" ? popper.width : popper.height) + (placement === 'right' ? popper.width : popper.height) ); } return defineProperty({}, mainSide, value); @@ -62352,9 +86598,9 @@ order.forEach(function(placement) { var side = - ["left", "top"].indexOf(placement) !== -1 - ? "primary" - : "secondary"; + ['left', 'top'].indexOf(placement) !== -1 + ? 'primary' + : 'secondary'; popper = _extends({}, popper, check[side](placement)); }); @@ -62372,8 +86618,8 @@ */ function shift(data) { var placement = data.placement; - var basePlacement = placement.split("-")[0]; - var shiftvariation = placement.split("-")[1]; + var basePlacement = placement.split('-')[0]; + var shiftvariation = placement.split('-')[1]; // if shift shiftvariation is specified, run the modifier if (shiftvariation) { @@ -62381,9 +86627,9 @@ reference = _data$offsets.reference, popper = _data$offsets.popper; - var isVertical = ["bottom", "top"].indexOf(basePlacement) !== -1; - var side = isVertical ? "left" : "top"; - var measurement = isVertical ? "width" : "height"; + var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1; + var side = isVertical ? 'left' : 'top'; + var measurement = isVertical ? 'width' : 'height'; var shiftOffsets = { start: defineProperty({}, side, reference[side]), @@ -62415,8 +86661,8 @@ if ( !isModifierRequired( data.instance.modifiers, - "hide", - "preventOverflow" + 'hide', + 'preventOverflow' ) ) { return data; @@ -62424,7 +86670,7 @@ var refRect = data.offsets.reference; var bound = find(data.instance.modifiers, function(modifier) { - return modifier.name === "preventOverflow"; + return modifier.name === 'preventOverflow'; }).boundaries; if ( @@ -62439,7 +86685,7 @@ } data.hide = true; - data.attributes["x-out-of-boundaries"] = ""; + data.attributes['x-out-of-boundaries'] = ''; } else { // Avoid unnecessary DOM access if visibility hasn't changed if (data.hide === false) { @@ -62447,7 +86693,7 @@ } data.hide = false; - data.attributes["x-out-of-boundaries"] = false; + data.attributes['x-out-of-boundaries'] = false; } return data; @@ -62462,18 +86708,18 @@ */ function inner(data) { var placement = data.placement; - var basePlacement = placement.split("-")[0]; + var basePlacement = placement.split('-')[0]; var _data$offsets = data.offsets, popper = _data$offsets.popper, reference = _data$offsets.reference; - var isHoriz = ["left", "right"].indexOf(basePlacement) !== -1; + var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1; - var subtractLength = ["top", "left"].indexOf(basePlacement) === -1; + var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1; - popper[isHoriz ? "left" : "top"] = + popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - - (subtractLength ? popper[isHoriz ? "width" : "height"] : 0); + (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0); data.placement = getOppositePlacement(placement); data.offsets.popper = getClientRect(popper); @@ -62524,7 +86770,7 @@ * The `offset` modifier can shift your popper on both its axis. * * It accepts the following units: - * - `px` or unitless, interpreted as pixels + * - `px` or unit-less, interpreted as pixels * - `%` or `%r`, percentage relative to the length of the reference element * - `%p`, percentage relative to the length of the popper element * - `vw`, CSS viewport width unit @@ -62532,7 +86778,7 @@ * * For length is intended the main axis relative to the placement of the popper. * This means that if the placement is `top` or `bottom`, the length will be the - * `width`. In case of `left` or `right`, it will be the height. + * `width`. In case of `left` or `right`, it will be the `height`. * * You can provide a single value (as `Number` or `String`), or a pair of values * as `String` divided by a comma or one (or more) white spaces. @@ -62553,7 +86799,7 @@ * ``` * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap * > with their reference element, unfortunately, you will have to disable the `flip` modifier. - * > More on this [reading this issue](https://github.com/FezVrasta/popper.js/issues/373) + * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373). * * @memberof modifiers * @inner @@ -62574,7 +86820,7 @@ /** * Modifier used to prevent the popper from being positioned outside the boundary. * - * An scenario exists where the reference itself is not within the boundaries. + * A scenario exists where the reference itself is not within the boundaries. * We can say it has "escaped the boundaries" — or just "escaped". * In this case we need to decide whether the popper should either: * @@ -62600,27 +86846,27 @@ * Popper will try to prevent overflow following these priorities by default, * then, it could overflow on the left and on top of the `boundariesElement` */ - priority: ["left", "right", "top", "bottom"], + priority: ['left', 'right', 'top', 'bottom'], /** * @prop {number} padding=5 * Amount of pixel used to define a minimum distance between the boundaries - * and the popper this makes sure the popper has always a little padding + * and the popper. This makes sure the popper always has a little padding * between the edges of its container */ padding: 5, /** * @prop {String|HTMLElement} boundariesElement='scrollParent' - * Boundaries used by the modifier, can be `scrollParent`, `window`, + * Boundaries used by the modifier. Can be `scrollParent`, `window`, * `viewport` or any DOM element. */ - boundariesElement: "scrollParent" + boundariesElement: 'scrollParent' }, /** - * Modifier used to make sure the reference and its popper stay near eachothers - * without leaving any gap between the two. Expecially useful when the arrow is - * enabled and you want to assure it to point to its reference element. - * It cares only about the first axis, you can still have poppers with margin + * Modifier used to make sure the reference and its popper stay near each other + * without leaving any gap between the two. Especially useful when the arrow is + * enabled and you want to ensure that it points to its reference element. + * It cares only about the first axis. You can still have poppers with margin * between the popper and its reference element. * @memberof modifiers * @inner @@ -62638,7 +86884,7 @@ * This modifier is used to move the `arrowElement` of the popper to make * sure it is positioned between the reference element and its popper element. * It will read the outer size of the `arrowElement` node to detect how many - * pixels of conjuction are needed. + * pixels of conjunction are needed. * * It has no effect if no `arrowElement` is provided. * @memberof modifiers @@ -62652,7 +86898,7 @@ /** @prop {ModifierFn} */ fn: arrow, /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */ - element: "[x-arrow]" + element: '[x-arrow]' }, /** @@ -62677,9 +86923,9 @@ * @prop {String|Array} behavior='flip' * The behavior used to change the popper's placement. It can be one of * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid - * placements (with optional variations). + * placements (with optional variations) */ - behavior: "flip", + behavior: 'flip', /** * @prop {number} padding=5 * The popper will flip if it hits the edges of the `boundariesElement` @@ -62687,11 +86933,11 @@ padding: 5, /** * @prop {String|HTMLElement} boundariesElement='viewport' - * The element which will define the boundaries of the popper position, - * the popper will never be placed outside of the defined boundaries - * (except if keepTogether is enabled) + * The element which will define the boundaries of the popper position. + * The popper will never be placed outside of the defined boundaries + * (except if `keepTogether` is enabled) */ - boundariesElement: "viewport" + boundariesElement: 'viewport' }, /** @@ -62753,8 +86999,8 @@ fn: computeStyle, /** * @prop {Boolean} gpuAcceleration=true - * If true, it uses the CSS 3d transformation to position the popper. - * Otherwise, it will use the `top` and `left` properties. + * If true, it uses the CSS 3D transformation to position the popper. + * Otherwise, it will use the `top` and `left` properties */ gpuAcceleration: true, /** @@ -62762,13 +87008,13 @@ * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin. * Change this if your popper should grow in a direction different from `bottom` */ - x: "bottom", + x: 'bottom', /** * @prop {string} [x='left'] * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin. * Change this if your popper should grow in a direction different from `right` */ - y: "right" + y: 'right' }, /** @@ -62781,7 +87027,7 @@ * Note that if you disable this modifier, you must make sure the popper element * has its position set to `absolute` before Popper.js can do its work! * - * Just disable this modifier and define you own to achieve the desired effect. + * Just disable this modifier and define your own to achieve the desired effect. * * @memberof modifiers * @inner @@ -62798,27 +87044,27 @@ /** * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier * @prop {Boolean} gpuAcceleration=true - * If true, it uses the CSS 3d transformation to position the popper. - * Otherwise, it will use the `top` and `left` properties. + * If true, it uses the CSS 3D transformation to position the popper. + * Otherwise, it will use the `top` and `left` properties */ gpuAcceleration: undefined } }; /** - * The `dataObject` is an object containing all the informations used by Popper.js - * this object get passed to modifiers and to the `onCreate` and `onUpdate` callbacks. + * The `dataObject` is an object containing all the information used by Popper.js. + * This object is passed to modifiers and to the `onCreate` and `onUpdate` callbacks. * @name dataObject * @property {Object} data.instance The Popper.js instance * @property {String} data.placement Placement applied to popper * @property {String} data.originalPlacement Placement originally defined on init * @property {Boolean} data.flipped True if popper has been flipped by flip modifier - * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper. + * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier - * @property {Object} data.styles Any CSS property defined here will be applied to the popper, it expects the JavaScript nomenclature (eg. `marginBottom`) - * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow, it expects the JavaScript nomenclature (eg. `marginBottom`) + * @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`) + * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`) * @property {Object} data.boundaries Offsets of the popper boundaries - * @property {Object} data.offsets The measurements of popper, reference and arrow elements. + * @property {Object} data.offsets The measurements of popper, reference and arrow elements * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0 @@ -62826,9 +87072,9 @@ /** * Default options provided to Popper.js constructor. - * These can be overriden using the `options` argument of Popper.js. - * To override an option, simply pass as 3rd argument an object with the same - * structure of this object, example: + * These can be overridden using the `options` argument of Popper.js. + * To override an option, simply pass an object with the same + * structure of the `options` object, as the 3rd argument. For example: * ``` * new Popper(ref, pop, { * modifiers: { @@ -62842,10 +87088,10 @@ */ var Defaults = { /** - * Popper's placement + * Popper's placement. * @prop {Popper.placements} placement='bottom' */ - placement: "bottom", + placement: 'bottom', /** * Set this to true if you want popper to position it self in 'fixed' mode @@ -62854,7 +87100,7 @@ positionFixed: false, /** - * Whether events (resize, scroll) are initially enabled + * Whether events (resize, scroll) are initially enabled. * @prop {Boolean} eventsEnabled=true */ eventsEnabled: true, @@ -62868,17 +87114,17 @@ /** * Callback called when the popper is created. - * By default, is set to no-op. + * By default, it is set to no-op. * Access Popper.js instance with `data.instance`. * @prop {onCreate} */ onCreate: function onCreate() {}, /** - * Callback called when the popper is updated, this callback is not called + * Callback called when the popper is updated. This callback is not called * on the initialization/creation of the popper, but only on subsequent * updates. - * By default, is set to no-op. + * By default, it is set to no-op. * Access Popper.js instance with `data.instance`. * @prop {onUpdate} */ @@ -62886,7 +87132,7 @@ /** * List of modifiers used to modify the offsets before they are applied to the popper. - * They provide most of the functionalities of Popper.js + * They provide most of the functionalities of Popper.js. * @prop {modifiers} */ modifiers: modifiers @@ -62906,10 +87152,10 @@ // Methods var Popper = (function() { /** - * Create a new Popper.js instance + * Creates a new Popper.js instance. * @class Popper * @param {HTMLElement|referenceObject} reference - The reference element used to position the popper - * @param {HTMLElement} popper - The HTML element used as popper. + * @param {HTMLElement} popper - The HTML element used as the popper * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults) * @return {Object} instance - The generated Popper.js instance */ @@ -63007,31 +87253,31 @@ createClass(Popper, [ { - key: "update", + key: 'update', value: function update$$1() { return update.call(this); } }, { - key: "destroy", + key: 'destroy', value: function destroy$$1() { return destroy.call(this); } }, { - key: "enableEventListeners", + key: 'enableEventListeners', value: function enableEventListeners$$1() { return enableEventListeners.call(this); } }, { - key: "disableEventListeners", + key: 'disableEventListeners', value: function disableEventListeners$$1() { return disableEventListeners.call(this); } /** - * Schedule an update, it will run on the next UI update available + * Schedules an update. It will run on the next UI update available. * @method scheduleUpdate * @memberof Popper */ @@ -63067,7 +87313,7 @@ * new Popper(referenceObject, popperNode); * ``` * - * NB: This feature isn't supported in Internet Explorer 10 + * NB: This feature isn't supported in Internet Explorer 10. * @name referenceObject * @property {Function} data.getBoundingClientRect * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method. @@ -63077,7 +87323,7 @@ * An ES6 getter that will return the height of the virtual reference element. */ - Popper.Utils = (typeof window !== "undefined" + Popper.Utils = (typeof window !== 'undefined' ? window : global ).PopperUtils; @@ -63098,38 +87344,38 @@ /***/ }, - /* 752 */ + /* 721 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; - Object.defineProperty(exports, "__esModule", { + Object.defineProperty(exports, '__esModule', { value: true }); exports.ManagerContext = undefined; - var _extends2 = __webpack_require__(669); + var _extends2 = __webpack_require__(638); var _extends3 = _interopRequireDefault(_extends2); - var _classCallCheck2 = __webpack_require__(707); + var _classCallCheck2 = __webpack_require__(677); var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); - var _possibleConstructorReturn2 = __webpack_require__(708); + var _possibleConstructorReturn2 = __webpack_require__(678); var _possibleConstructorReturn3 = _interopRequireDefault( _possibleConstructorReturn2 ); - var _inherits2 = __webpack_require__(743); + var _inherits2 = __webpack_require__(712); var _inherits3 = _interopRequireDefault(_inherits2); - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var React = _interopRequireWildcard(_react); - var _createReactContext = __webpack_require__(753); + var _createReactContext = __webpack_require__(722); var _createReactContext2 = _interopRequireDefault(_createReactContext); @@ -63205,17 +87451,17 @@ /***/ }, - /* 753 */ + /* 722 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _implementation = __webpack_require__(754); + var _implementation = __webpack_require__(723); var _implementation2 = _interopRequireDefault(_implementation); @@ -63225,29 +87471,29 @@ exports.default = _react2.default.createContext || _implementation2.default; - module.exports = exports["default"]; + module.exports = exports['default']; /***/ }, - /* 754 */ + /* 723 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(755); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); - var _gud = __webpack_require__(760); + var _gud = __webpack_require__(724); var _gud2 = _interopRequireDefault(_gud); - var _warning = __webpack_require__(761); + var _warning = __webpack_require__(725); var _warning2 = _interopRequireDefault(_warning); @@ -63257,7 +87503,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -63267,15 +87513,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -63336,7 +87582,7 @@ var _Provider$childContex, _Consumer$contextType; var contextProp = - "__create-react-context-" + (0, _gud2.default)() + "__"; + '__create-react-context-' + (0, _gud2.default)() + '__'; var Provider = (function(_Component) { _inherits(Provider, _Component); @@ -63384,14 +87630,14 @@ changedBits = 0; // No change } else { changedBits = - typeof calculateChangedBits === "function" + typeof calculateChangedBits === 'function' ? calculateChangedBits(oldValue, newValue) : MAX_SIGNED_31_BIT_INT; - if (false) { + if (undefined !== 'production') { (0, _warning2.default)( (changedBits & MAX_SIGNED_31_BIT_INT) === changedBits, - "calculateChangedBits: Expected the return value to be a " + - "31-bit integer. Instead received: %s", + 'calculateChangedBits: Expected the return value to be a ' + + '31-bit integer. Instead received: %s', changedBits ); } @@ -63508,27 +87754,17 @@ } exports.default = createReactContext; - module.exports = exports["default"]; + module.exports = exports['default']; /***/ }, - /* 755 */ - [884, 756], - /* 756 */ - [885, 757, 758, 759], - /* 757 */ - 331, - /* 758 */ - 527, - /* 759 */ - 528, - /* 760 */ + /* 724 */ /***/ function(module, exports) { /* WEBPACK VAR INJECTION */ (function(global) { // @flow - "use strict"; + 'use strict'; - var key = "__global_unique_id__"; + var key = '__global_unique_id__'; module.exports = function() { return (global[key] = (global[key] || 0) + 1); @@ -63544,7 +87780,7 @@ /***/ }, - /* 761 */ + /* 725 */ /***/ function(module, exports, __webpack_require__) { /** * Copyright (c) 2014-present, Facebook, Inc. @@ -63554,9 +87790,9 @@ * */ - "use strict"; + 'use strict'; - var emptyFunction = __webpack_require__(762); + var emptyFunction = __webpack_require__(726); /** * Similar to invariant but only logs a warning if the condition is not met. @@ -63567,7 +87803,7 @@ var warning = emptyFunction; - if (false) { + if (undefined !== 'production') { var printWarning = function printWarning(format) { for ( var _len = arguments.length, @@ -63581,11 +87817,11 @@ var argIndex = 0; var message = - "Warning: " + + 'Warning: ' + format.replace(/%s/g, function() { return args[argIndex++]; }); - if (typeof console !== "undefined") { + if (typeof console !== 'undefined') { console.error(message); } try { @@ -63599,12 +87835,12 @@ warning = function warning(condition, format) { if (format === undefined) { throw new Error( - "`warning(condition, format, ...args)` requires a warning " + - "message argument" + '`warning(condition, format, ...args)` requires a warning ' + + 'message argument' ); } - if (format.indexOf("Failed Composite propType: ") === 0) { + if (format.indexOf('Failed Composite propType: ') === 0) { return; // Ignore CompositeComponent proptype check. } @@ -63628,13 +87864,52 @@ /***/ }, - /* 762 */ - 331, - /* 763 */ + /* 726 */ /***/ function(module, exports) { - "use strict"; + 'use strict'; + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * + */ - Object.defineProperty(exports, "__esModule", { + 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; + + /***/ + }, + /* 727 */ + /***/ function(module, exports) { + 'use strict'; + + Object.defineProperty(exports, '__esModule', { value: true }); @@ -63661,52 +87936,52 @@ args[_key - 1] = arguments[_key]; } - if (typeof fn === "function") { + if (typeof fn === 'function') { return fn.apply(undefined, args); } }); /***/ }, - /* 764 */ + /* 728 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; - Object.defineProperty(exports, "__esModule", { + Object.defineProperty(exports, '__esModule', { value: true }); - var _extends2 = __webpack_require__(669); + var _extends2 = __webpack_require__(638); var _extends3 = _interopRequireDefault(_extends2); - var _classCallCheck2 = __webpack_require__(707); + var _classCallCheck2 = __webpack_require__(677); var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); - var _possibleConstructorReturn2 = __webpack_require__(708); + var _possibleConstructorReturn2 = __webpack_require__(678); var _possibleConstructorReturn3 = _interopRequireDefault( _possibleConstructorReturn2 ); - var _inherits2 = __webpack_require__(743); + var _inherits2 = __webpack_require__(712); var _inherits3 = _interopRequireDefault(_inherits2); exports.default = Reference; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var React = _interopRequireWildcard(_react); - var _warning = __webpack_require__(765); + var _warning = __webpack_require__(729); var _warning2 = _interopRequireDefault(_warning); - var _Manager = __webpack_require__(752); + var _Manager = __webpack_require__(721); - var _utils = __webpack_require__(763); + var _utils = __webpack_require__(727); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { @@ -63763,7 +88038,7 @@ InnerReference.prototype.render = function render() { (0, _warning2.default)( this.props.getReferenceRef, - "`Reference` should not be used outside of a `Manager` component." + '`Reference` should not be used outside of a `Manager` component.' ); return (0, _utils.unwrapArray)(this.props.children)({ ref: this.refHandler @@ -63792,7 +88067,7 @@ /***/ }, - /* 765 */ + /* 729 */ /***/ function(module, exports, __webpack_require__) { /** * Copyright 2014-2015, Facebook, Inc. @@ -63803,7 +88078,7 @@ * of patent rights can be found in the PATENTS file in the same directory. */ - "use strict"; + 'use strict'; /** * Similar to invariant but only logs a warning if the condition is not met. @@ -63814,7 +88089,7 @@ var warning = function() {}; - if (false) { + if (undefined !== 'production') { warning = function(condition, format, args) { var len = arguments.length; args = new Array(len > 2 ? len - 2 : 0); @@ -63823,15 +88098,15 @@ } if (format === undefined) { throw new Error( - "`warning(condition, format, ...args)` requires a warning " + - "message argument" + '`warning(condition, format, ...args)` requires a warning ' + + 'message argument' ); } 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: " + + 'The warning format should be able to uniquely identify this ' + + 'warning. Please, use a more descriptive format than: ' + format ); } @@ -63839,11 +88114,11 @@ if (!condition) { var argIndex = 0; var message = - "Warning: " + + 'Warning: ' + format.replace(/%s/g, function() { return args[argIndex++]; }); - if (typeof console !== "undefined") { + if (typeof console !== 'undefined') { console.error(message); } try { @@ -63859,17 +88134,17 @@ /***/ }, - /* 766 */ + /* 730 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -63879,7 +88154,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -63889,15 +88164,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -63929,15 +88204,15 @@ CodeExampleComponent.prototype.render = function render() { return _react2.default.createElement( - "div", + 'div', { key: this.props.id, - id: "example-" + this.props.id, - className: "example" + id: 'example-' + this.props.id, + className: 'example' }, _react2.default.createElement( - "h2", - { className: "example__heading" }, + 'h2', + { className: 'example__heading' }, this.props.title ), this.props.children @@ -63956,31 +88231,27 @@ /***/ }, - /* 767 */ + /* 731 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -63990,15 +88261,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -64034,39 +88305,39 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } CustomDateFormat.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "" + _react2.default.createElement('br', null), + 'selected={this.state.startDate}', + _react2.default.createElement('br', null), + 'onChange={this.handleChange} />' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { - dateFormat: "YYYY/MM/DD", + dateFormat: 'yyyy/MM/dd', selected: this.state.startDate, onChange: this.handleChange }) @@ -64081,31 +88352,27 @@ /***/ }, - /* 768 */ + /* 732 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -64115,15 +88382,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -64159,31 +88426,31 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } CustomClassName.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, + 'code', + { className: 'jsx' }, '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, - className: "red-border" + className: 'red-border' }) ) ); @@ -64196,31 +88463,27 @@ /***/ }, - /* 769 */ + /* 733 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -64230,15 +88493,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -64274,31 +88537,31 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } CustomCalendarClassName.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, + 'code', + { className: 'jsx' }, '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, - calendarClassName: "rasta-stripes" + calendarClassName: 'rasta-stripes' }) ) ); @@ -64311,23 +88574,336 @@ /***/ }, - /* 770 */ + /* 734 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(328); + + var _react2 = _interopRequireDefault(_react); + + var _reactDatepicker = __webpack_require__(533); + + var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); + + var _getDate = __webpack_require__(590); + + var _getDate2 = _interopRequireDefault(_getDate); + + 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 CustomDayClassNames = (function(_React$Component) { + _inherits(CustomDayClassNames, _React$Component); + + function CustomDayClassNames(props) { + _classCallCheck(this, CustomDayClassNames); + + var _this = _possibleConstructorReturn( + this, + _React$Component.call(this, props) + ); + + _this.handleChange = function(date) { + _this.setState({ + startDate: date + }); + }; + + _this.state = { + startDate: new Date() + }; + return _this; + } + + CustomDayClassNames.prototype.render = function render() { + return _react2.default.createElement( + 'div', + { className: 'row' }, + _react2.default.createElement( + 'pre', + { className: 'column example__code' }, + _react2.default.createElement( + 'code', + { className: 'jsx' }, + "\n getDate(date) < Math.random() * 31 ? 'random' : undefined} />\n/>\n" + ) + ), + _react2.default.createElement( + 'div', + { className: 'column' }, + _react2.default.createElement(_reactDatepicker2.default, { + selected: this.state.startDate, + onChange: this.handleChange, + dayClassName: function dayClassName(date) { + return (0, _getDate2.default)(date) < Math.random() * 31 + ? 'random' + : undefined; + } + }) + ) + ); + }; + + return CustomDayClassNames; + })(_react2.default.Component); + + exports.default = CustomDayClassNames; + + /***/ + }, + /* 735 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; + + exports.__esModule = true; + exports.default = PlaceholderText; + + var _react = __webpack_require__(328); + + var _react2 = _interopRequireDefault(_react); + + var _reactDatepicker = __webpack_require__(533); + + var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + function PlaceholderText() { + return _react2.default.createElement( + 'div', + { className: 'row' }, + _react2.default.createElement( + 'pre', + { className: 'column example__code' }, + _react2.default.createElement( + 'code', + { className: 'jsx' }, + '' + ) + ), + _react2.default.createElement( + 'div', + { className: 'column' }, + _react2.default.createElement(_reactDatepicker2.default, { + placeholderText: 'Click to select a date' + }) + ) + ); + } + + /***/ + }, + /* 736 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(328); + + var _react2 = _interopRequireDefault(_react); + + var _reactDatepicker = __webpack_require__(533); + + var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); + + var _addDays = __webpack_require__(575); + + var _addDays2 = _interopRequireDefault(_addDays); + + 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 SpecificDateRange = (function(_React$Component) { + _inherits(SpecificDateRange, _React$Component); + + function SpecificDateRange() { + var _temp, _this, _ret; + + _classCallCheck(this, SpecificDateRange); + + 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.state = { + startDate: null + }), + (_this.handleChange = function(date) { + _this.setState({ + startDate: date + }); + }), + _temp)), + _possibleConstructorReturn(_this, _ret) + ); + } + + SpecificDateRange.prototype.render = function render() { + return _react2.default.createElement( + 'div', + { className: 'row' }, + _react2.default.createElement( + 'pre', + { className: 'column example__code' }, + _react2.default.createElement( + 'code', + { className: 'jsx' }, + '' + ) + ), + _react2.default.createElement( + 'div', + { className: 'column' }, + _react2.default.createElement(_reactDatepicker2.default, { + selected: this.state.startDate, + onChange: this.handleChange, + minDate: new Date(), + maxDate: (0, _addDays2.default)(new Date(), 5), + placeholderText: + 'Select a date between today and 5 days in the future' + }) + ) + ); + }; + + return SpecificDateRange; + })(_react2.default.Component); + + exports.default = SpecificDateRange; + + /***/ + }, + /* 737 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); + var _enGB = __webpack_require__(738); - var _moment2 = _interopRequireDefault(_moment); + var _enGB2 = _interopRequireDefault(_enGB); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -64335,7 +88911,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -64345,15 +88921,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -64371,176 +88947,15 @@ : (subClass.__proto__ = superClass); } - var CustomDayClassNames = (function(_React$Component) { - _inherits(CustomDayClassNames, _React$Component); - - function CustomDayClassNames(props) { - _classCallCheck(this, CustomDayClassNames); - - var _this = _possibleConstructorReturn( - this, - _React$Component.call(this, props) - ); - - _this.handleChange = function(date) { - _this.setState({ - startDate: date - }); - }; - - _this.state = { - startDate: (0, _moment2.default)() - }; - return _this; - } - - CustomDayClassNames.prototype.render = function render() { - return _react2.default.createElement( - "div", - { className: "row" }, - _react2.default.createElement( - "pre", - { className: "column example__code" }, - _react2.default.createElement( - "code", - { className: "jsx" }, - "\n date.date() < Math.random() * 31 ? 'random' : undefined} />\n/>\n" - ) - ), - _react2.default.createElement( - "div", - { className: "column" }, - _react2.default.createElement(_reactDatepicker2.default, { - selected: this.state.startDate, - onChange: this.handleChange, - dayClassName: function dayClassName(date) { - return date.date() < Math.random() * 31 - ? "random" - : undefined; - } - }) - ) - ); - }; - - return CustomDayClassNames; - })(_react2.default.Component); - - exports.default = CustomDayClassNames; - - /***/ - }, - /* 771 */ - /***/ function(module, exports, __webpack_require__) { - "use strict"; - - exports.__esModule = true; - exports.default = PlaceholderText; - - var _react = __webpack_require__(327); - - var _react2 = _interopRequireDefault(_react); - - var _reactDatepicker = __webpack_require__(523); - - var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - - function PlaceholderText() { - return _react2.default.createElement( - "div", - { className: "row" }, - _react2.default.createElement( - "pre", - { className: "column example__code" }, - _react2.default.createElement( - "code", - { className: "jsx" }, - '' - ) - ), - _react2.default.createElement( - "div", - { className: "column" }, - _react2.default.createElement(_reactDatepicker2.default, { - placeholderText: "Click to select a date" - }) - ) - ); - } - - /***/ - }, - /* 772 */ - /***/ function(module, exports, __webpack_require__) { - "use strict"; - - exports.__esModule = true; - - var _react = __webpack_require__(327); - - var _react2 = _interopRequireDefault(_react); - - var _reactDatepicker = __webpack_require__(523); - - var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - - 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"); - } - } + (0, _reactDatepicker.registerLocale)('en-GB', _enGB2.default); - 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 SpecificDateRange = (function(_React$Component) { - _inherits(SpecificDateRange, _React$Component); + var CustomStartDate = (function(_React$Component) { + _inherits(CustomStartDate, _React$Component); - function SpecificDateRange() { + function CustomStartDate() { var _temp, _this, _ret; - _classCallCheck(this, SpecificDateRange); + _classCallCheck(this, CustomStartDate); for ( var _len = arguments.length, args = Array(_len), _key = 0; @@ -64569,214 +88984,189 @@ ); } - SpecificDateRange.prototype.render = function render() { + CustomStartDate.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "" + _react2.default.createElement('br', null), + ' placeholderText="Weeks start on Monday" />' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, - minDate: (0, _moment2.default)(), - maxDate: (0, _moment2.default)().add(5, "days"), - placeholderText: - "Select a date between today and 5 days in the future" + locale: 'en-GB', + placeholderText: 'Weeks start on Monday' }) ) ); }; - return SpecificDateRange; + return CustomStartDate; })(_react2.default.Component); - exports.default = SpecificDateRange; + exports.default = CustomStartDate; /***/ }, - /* 773 */ + /* 738 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; - exports.__esModule = true; + Object.defineProperty(exports, '__esModule', { + value: true + }); - var _react = __webpack_require__(327); + var _index = __webpack_require__(550); - var _react2 = _interopRequireDefault(_react); + var _index2 = _interopRequireDefault(_index); - var _reactDatepicker = __webpack_require__(523); + var _index3 = __webpack_require__(739); - var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); + var _index4 = _interopRequireDefault(_index3); + + var _index5 = __webpack_require__(553); + + var _index6 = _interopRequireDefault(_index5); + + var _index7 = __webpack_require__(554); + + var _index8 = _interopRequireDefault(_index7); + + var _index9 = __webpack_require__(556); + + var _index10 = _interopRequireDefault(_index9); 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"); + /** + * @type {Locale} + * @category Locales + * @summary English locale (United Kingdom). + * @language English + * @iso-639-2 eng + * @author Alex [@glintik]{@link https://github.com/glintik} + */ + var locale = { + formatDistance: _index2.default, + formatLong: _index4.default, + formatRelative: _index6.default, + localize: _index8.default, + match: _index10.default, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 } - } + }; - 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; - } + exports.default = locale; + module.exports = exports['default']; - 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); - } + /***/ + }, + /* 739 */ + /***/ function(module, exports, __webpack_require__) { + 'use strict'; - var CustomStartDate = (function(_React$Component) { - _inherits(CustomStartDate, _React$Component); + Object.defineProperty(exports, '__esModule', { + value: true + }); - function CustomStartDate() { - var _temp, _this, _ret; + var _index = __webpack_require__(552); - _classCallCheck(this, CustomStartDate); + var _index2 = _interopRequireDefault(_index); - for ( - var _len = arguments.length, args = Array(_len), _key = 0; - _key < _len; - _key++ - ) { - args[_key] = arguments[_key]; - } + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } - return ( - (_ret = ((_temp = ((_this = _possibleConstructorReturn( - this, - _React$Component.call.apply(_React$Component, [this].concat(args)) - )), - _this)), - (_this.state = { - startDate: null - }), - (_this.handleChange = function(date) { - _this.setState({ - startDate: date - }); - }), - _temp)), - _possibleConstructorReturn(_this, _ret) - ); - } + var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM yyyy', + medium: 'd MMM yyyy', + short: 'dd/MM/yyyy' + }; - CustomStartDate.prototype.render = function render() { - return _react2.default.createElement( - "div", - { className: "row" }, - _react2.default.createElement( - "pre", - { className: "column example__code" }, - _react2.default.createElement( - "code", - { className: "jsx" }, - "' - ) - ), - _react2.default.createElement( - "div", - { className: "column" }, - _react2.default.createElement(_reactDatepicker2.default, { - selected: this.state.startDate, - onChange: this.handleChange, - locale: "en-gb", - placeholderText: "Weeks start on Monday" - }) - ) - ); - }; + var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' + }; - return CustomStartDate; - })(_react2.default.Component); + var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' + }; - exports.default = CustomStartDate; + var formatLong = { + date: (0, _index2.default)({ + formats: dateFormats, + defaultWidth: 'full' + }), + + time: (0, _index2.default)({ + formats: timeFormats, + defaultWidth: 'full' + }), + + dateTime: (0, _index2.default)({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) + }; + + exports.default = formatLong; + module.exports = exports['default']; /***/ }, - /* 774 */ + /* 740 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); + var _subDays = __webpack_require__(582); - var _moment2 = _interopRequireDefault(_moment); + var _subDays2 = _interopRequireDefault(_subDays); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -64784,7 +89174,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -64794,15 +89184,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -64857,40 +89247,40 @@ ExcludeDates.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, excludeDates: [ - (0, _moment2.default)(), - (0, _moment2.default)().subtract(1, "days") + new Date(), + (0, _subDays2.default)(new Date(), 1) ], - placeholderText: "Select a date other than today or yesterday" + placeholderText: 'Select a date other than today or yesterday' }) ) ); @@ -64903,23 +89293,27 @@ /***/ }, - /* 775 */ + /* 741 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); + var _addDays = __webpack_require__(575); + + var _addDays2 = _interopRequireDefault(_addDays); - var _moment2 = _interopRequireDefault(_moment); + var _subDays = __webpack_require__(582); + + var _subDays2 = _interopRequireDefault(_subDays); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -64927,7 +89321,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -64937,15 +89331,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -65000,41 +89394,41 @@ highlightDates.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, highlightDates: [ - (0, _moment2.default)().subtract(7, "days"), - (0, _moment2.default)().add(7, "days") + (0, _subDays2.default)(new Date(), 7), + (0, _addDays2.default)(new Date(), 7) ], placeholderText: - "This highlights a week ago and a week from today" + 'This highlights a week ago and a week from today' }) ) ); @@ -65047,23 +89441,27 @@ /***/ }, - /* 776 */ + /* 742 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); + var _addDays = __webpack_require__(575); + + var _addDays2 = _interopRequireDefault(_addDays); + + var _subDays = __webpack_require__(582); - var _moment2 = _interopRequireDefault(_moment); + var _subDays2 = _interopRequireDefault(_subDays); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -65071,7 +89469,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -65081,15 +89479,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -65130,19 +89528,19 @@ _this.highlightWithRanges = [ { - "react-datepicker__day--highlighted-custom-1": [ - (0, _moment2.default)().subtract(4, "days"), - (0, _moment2.default)().subtract(3, "days"), - (0, _moment2.default)().subtract(2, "days"), - (0, _moment2.default)().subtract(1, "days") + 'react-datepicker__day--highlighted-custom-1': [ + (0, _subDays2.default)(new Date(), 4), + (0, _subDays2.default)(new Date(), 3), + (0, _subDays2.default)(new Date(), 2), + (0, _subDays2.default)(new Date(), 1) ] }, { - "react-datepicker__day--highlighted-custom-2": [ - (0, _moment2.default)().add(1, "days"), - (0, _moment2.default)().add(2, "days"), - (0, _moment2.default)().add(3, "days"), - (0, _moment2.default)().add(4, "days") + 'react-datepicker__day--highlighted-custom-2': [ + (0, _addDays2.default)(new Date(), 1), + (0, _addDays2.default)(new Date(), 2), + (0, _addDays2.default)(new Date(), 3), + (0, _addDays2.default)(new Date(), 4) ] } ]; @@ -65151,75 +89549,75 @@ highlightDatesRanges.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", + 'code', null, - "constructor (props) {", - _react2.default.createElement("br", null), - " super(props)", - _react2.default.createElement("br", null), - " this.highlightWithRanges = [", - _react2.default.createElement("br", null), + 'constructor (props) {', + _react2.default.createElement('br', null), + ' super(props)', + _react2.default.createElement('br', null), + ' this.highlightWithRanges = [', + _react2.default.createElement('br', null), ' { "react-datepicker__day--highlighted-custom-1": [', - _react2.default.createElement("br", null), - ' moment().subtract(4, "days"),', - _react2.default.createElement("br", null), - ' moment().subtract(3, "days"),', - _react2.default.createElement("br", null), - ' moment().subtract(2, "days"),', - _react2.default.createElement("br", null), - ' moment().subtract(1, "days") ]', - _react2.default.createElement("br", null), - " },", - _react2.default.createElement("br", null), + _react2.default.createElement('br', null), + ' subDays(new Date(), 4),', + _react2.default.createElement('br', null), + ' subDays(new Date(), 3),', + _react2.default.createElement('br', null), + ' subDays(new Date(), 2),', + _react2.default.createElement('br', null), + ' subDays(new Date(), 1) ]', + _react2.default.createElement('br', null), + ' },', + _react2.default.createElement('br', null), ' { "react-datepicker__day--highlighted-custom-2": [', - _react2.default.createElement("br", null), - ' moment().add(1, "days"),', - _react2.default.createElement("br", null), - ' moment().add(2, "days"),', - _react2.default.createElement("br", null), - ' moment().add(3, "days"),', - _react2.default.createElement("br", null), - ' moment().add(4, "days") ]', - _react2.default.createElement("br", null), - " }", - _react2.default.createElement("br", null), - " ]", - _react2.default.createElement("br", null), - "}", - _react2.default.createElement("br", null) + _react2.default.createElement('br', null), + ' addDays(new Date(), 1),', + _react2.default.createElement('br', null), + ' addDays(new Date(), 2),', + _react2.default.createElement('br', null), + ' addDays(new Date(), 3),', + _react2.default.createElement('br', null), + ' addDays(new Date(), 4) ]', + _react2.default.createElement('br', null), + ' }', + _react2.default.createElement('br', null), + ' ]', + _react2.default.createElement('br', null), + '}', + _react2.default.createElement('br', null) ), _react2.default.createElement( - "code", - { className: "jsx" }, - "' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, highlightDates: this.highlightWithRanges, - placeholderText: "This highlight two ranges with custom classes" + placeholderText: 'This highlight two ranges with custom classes' }) ) ); @@ -65232,23 +89630,23 @@ /***/ }, - /* 777 */ + /* 743 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); + var _addDays = __webpack_require__(575); - var _moment2 = _interopRequireDefault(_moment); + var _addDays2 = _interopRequireDefault(_addDays); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -65256,7 +89654,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -65266,15 +89664,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -65329,40 +89727,40 @@ includeDates.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, includeDates: [ - (0, _moment2.default)(), - (0, _moment2.default)().add(1, "days") + new Date(), + (0, _addDays2.default)(new Date(), 1) ], - placeholderText: "This only includes today and tomorrow" + placeholderText: 'This only includes today and tomorrow' }) ) ); @@ -65375,27 +89773,31 @@ /***/ }, - /* 778 */ + /* 744 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); + var _getDay = __webpack_require__(589); + + var _getDay2 = _interopRequireDefault(_getDay); + 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -65405,15 +89807,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -65462,7 +89864,7 @@ }); }), (_this.isWeekday = function(date) { - var day = date.day(); + var day = (0, _getDay2.default)(date); return day !== 0 && day !== 6; }), _temp)), @@ -65472,37 +89874,37 @@ FilterDates.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.date, onChange: this.handleChange, filterDate: this.isWeekday, - placeholderText: "Select a weekday" + placeholderText: 'Select a weekday' }) ) ); @@ -65515,17 +89917,17 @@ /***/ }, - /* 779 */ + /* 745 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -65535,7 +89937,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -65545,15 +89947,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -65596,38 +89998,38 @@ Disabled.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "" + ' />' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, disabled: true, - placeholderText: "This is disabled" + placeholderText: 'This is disabled' }) ) ); @@ -65640,31 +90042,27 @@ /***/ }, - /* 780 */ + /* 746 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -65674,15 +90072,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -65718,44 +90116,44 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } DisabledKeyboardNavigation.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, disabledKeyboardNavigation: true, - placeholderText: "This has disabled keyboard navigation" + placeholderText: 'This has disabled keyboard navigation' }) ) ); @@ -65768,31 +90166,27 @@ /***/ }, - /* 781 */ + /* 747 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -65802,15 +90196,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -65846,32 +90240,32 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } ClearInput.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, + 'code', + { className: 'jsx' }, '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, isClearable: true, - placeholderText: "I have been cleared!" + placeholderText: 'I have been cleared!' }) ) ); @@ -65884,27 +90278,35 @@ /***/ }, - /* 782 */ + /* 748 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); + var _format = __webpack_require__(548); + + var _format2 = _interopRequireDefault(_format); + + var _isValid = __webpack_require__(544); + + var _isValid2 = _interopRequireDefault(_isValid); + 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -65914,15 +90316,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -65971,10 +90373,12 @@ }); }), (_this.handleOnBlur = function(date) { - if (date === null) { - console.log("selected date: %s", date); - } else { - console.log("selected date: %s", date.format("DD/MM/YYYY")); + var selectedDate = new Date(date); + if ((0, _isValid2.default)(date)) { + console.log( + 'selected date: %s', + (0, _format2.default)(selectedDate, 'dd/MM/yyyy') + ); } }), _temp)), @@ -65984,46 +90388,46 @@ Disabled.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "js" }, - '\nhandleOnBlur: function (date) {\n if (date === null) {\n console.log("selected date: %s", date);\n }\n else {\n console.log("selected date: %s", date.format("DD/MM/YYYY"));\n }\n};\'}\n' + 'code', + { className: 'js' }, + '\nhandleOnBlur: function (date) {\n const date = new Date(event.target.value);\n if (isValid(date)) {\n console.log("selected date: %s", format(date, "dd/MM/yyyy"));\n } else {\n console.log("selected date: %s", event.target.value);\n }\n};\'}\n' ), - _react2.default.createElement("br", null), + _react2.default.createElement('br', null), _react2.default.createElement( - "code", - { className: "jsx" }, - "' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { - key: "example9", + key: 'example9', selected: this.state.startDate, onChange: this.handleChange, onBlur: this.handleOnBlur, - placeholderText: "View blur callbacks in console" + placeholderText: 'View blur callbacks in console' }) ) ); @@ -66036,31 +90440,27 @@ /***/ }, - /* 783 */ + /* 749 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -66070,15 +90470,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -66114,41 +90514,41 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } ConfigurePopper.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "\n\n" + 'code', + { className: 'jsx' }, + '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, - popperClassName: "some-custom-class", - popperPlacement: "top-end", + popperClassName: 'some-custom-class', + popperPlacement: 'top-end', popperModifiers: { offset: { enabled: true, - offset: "5px, 10px" + offset: '5px, 10px' }, preventOverflow: { enabled: true, escapeWithReference: false, - boundariesElement: "viewport" + boundariesElement: 'viewport' } } }) @@ -66163,23 +90563,23 @@ /***/ }, - /* 784 */ + /* 750 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); + var _isAfter = __webpack_require__(616); - var _moment2 = _interopRequireDefault(_moment); + var _isAfter2 = _interopRequireDefault(_isAfter); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -66187,7 +90587,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -66197,15 +90597,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -66241,7 +90641,7 @@ startDate = startDate || _this.state.startDate; endDate = endDate || _this.state.endDate; - if (startDate.isAfter(endDate)) { + if ((0, _isAfter2.default)(startDate, endDate)) { endDate = startDate; } @@ -66257,28 +90657,28 @@ }; _this.state = { - startDate: (0, _moment2.default)("2014-02-08"), - endDate: (0, _moment2.default)("2014-02-10") + startDate: new Date('2014/02/08'), + endDate: new Date('2014/02/10') }; return _this; } DateRange.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "\n\n\n\n" + 'code', + { className: 'jsx' }, + '\n\n\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, selectsStart: true, @@ -66304,23 +90704,23 @@ /***/ }, - /* 785 */ + /* 751 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); + var _addMonths = __webpack_require__(577); - var _moment2 = _interopRequireDefault(_moment); + var _addMonths2 = _interopRequireDefault(_addMonths); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -66328,7 +90728,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -66338,15 +90738,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -66401,25 +90801,25 @@ DateRangeWithShowDisabledNavigation.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - '\n\n\n\n' + 'code', + { className: 'jsx' }, + '\n\n\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, - minDate: (0, _moment2.default)(), - maxDate: (0, _moment2.default)().add(5, "months"), + minDate: new Date(), + maxDate: (0, _addMonths2.default)(new Date(), 5), showDisabledMonthNavigation: true }) ) @@ -66433,31 +90833,27 @@ /***/ }, - /* 786 */ + /* 752 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -66467,15 +90863,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -66511,27 +90907,27 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } TabIndex.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "\n\n" + 'code', + { className: 'jsx' }, + '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, @@ -66548,31 +90944,27 @@ /***/ }, - /* 787 */ + /* 753 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -66582,15 +90974,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -66626,32 +91018,32 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } YearDropdown.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, + 'code', + { className: 'jsx' }, '\n \n ' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, showYearDropdown: true, - dateFormatCalendar: "MMMM", + dateFormatCalendar: 'MMMM', yearDropdownItemNumber: 15, scrollableYearDropdown: true }) @@ -66666,31 +91058,27 @@ /***/ }, - /* 788 */ + /* 754 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -66700,15 +91088,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -66744,27 +91132,27 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } MonthDropdown.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "\n\n" + 'code', + { className: 'jsx' }, + '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, @@ -66781,23 +91169,27 @@ /***/ }, - /* 789 */ + /* 755 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); + var _addMonths = __webpack_require__(577); + + var _addMonths2 = _interopRequireDefault(_addMonths); - var _moment2 = _interopRequireDefault(_moment); + var _subMonths = __webpack_require__(584); + + var _subMonths2 = _interopRequireDefault(_subMonths); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -66805,7 +91197,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -66815,15 +91207,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -66859,33 +91251,33 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } MonthYearDropdown.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - '\n\n' + 'code', + { className: 'jsx' }, + '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, - dateFormatCalendar: "MMM YYYY", - minDate: (0, _moment2.default)().subtract(6, "month"), - maxDate: (0, _moment2.default)().add(6, "month"), + dateFormatCalendar: 'MMM yyyy', + minDate: (0, _subMonths2.default)(new Date(), 6), + maxDate: (0, _addMonths2.default)(new Date(), 6), showMonthYearDropdown: true }) ) @@ -66899,31 +91291,27 @@ /***/ }, - /* 790 */ + /* 756 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -66933,15 +91321,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -66977,27 +91365,27 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } MonthDropdownShort.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "\n\n" + 'code', + { className: 'jsx' }, + '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, @@ -67015,31 +91403,27 @@ /***/ }, - /* 791 */ + /* 757 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -67049,15 +91433,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -67093,34 +91477,34 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } YearDropdown.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, + 'code', + { className: 'jsx' }, '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, peekNextMonth: true, showMonthDropdown: true, showYearDropdown: true, - dropdownMode: "select" + dropdownMode: 'select' }) ) ); @@ -67133,31 +91517,27 @@ /***/ }, - /* 792 */ + /* 758 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -67167,15 +91547,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -67211,29 +91591,29 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } Today.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, + 'code', + { className: 'jsx' }, '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { - todayButton: "Vandaag", + todayButton: 'Vandaag', selected: this.state.startDate, onChange: this.handleChange }) @@ -67248,246 +91628,27 @@ /***/ }, - /* 793 */ - /***/ function(module, exports, __webpack_require__) { - "use strict"; - - exports.__esModule = true; - - var _react = __webpack_require__(327); - - var _react2 = _interopRequireDefault(_react); - - var _reactDatepicker = __webpack_require__(523); - - var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - - 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 TimeZoneDate = (function(_React$Component) { - _inherits(TimeZoneDate, _React$Component); - - function TimeZoneDate() { - var _temp, _this, _ret; - - _classCallCheck(this, TimeZoneDate); - - 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.state = { - startDate: null, - utcOffset: -4 - }), - (_this.timezoneNames = [ - { name: "GMT+10", value: 10 }, - { name: "GMT+8", value: 8 }, - { name: "GMT+4", value: 4 }, - { name: "GMT+1", value: 1 }, - { name: "GMT", value: 0 }, - { name: "GMT-3", value: -3 }, - { name: "GMT-4", value: -4 }, - { name: "GMT-8", value: -8 }, - { name: "GMT-10", value: -10 } - ]), - (_this.handleChange = function(date) { - _this.setState({ - startDate: date - }); - }), - (_this.handleTmzChange = function(event) { - _this.setState({ - utcOffset: parseInt(event.target.value, 10) - }); - }), - (_this.getOffsetLabel = function(tmz) { - var obj = _this.timezoneNames.find(function(_ref) { - var value = _ref.value; - return value === tmz; - }); - return (obj && obj.name) || ""; - }), - _temp)), - _possibleConstructorReturn(_this, _ret) - ); - } - - TimeZoneDate.prototype.render = function render() { - var selected = - this.state.startDate && - this.state.startDate.clone().utcOffset(this.state.utcOffset); - var utcText = this.getOffsetLabel(this.state.utcOffset); - var todayTxt = "Today in " + utcText; - - return _react2.default.createElement( - "div", - { className: "row" }, - _react2.default.createElement( - "pre", - { className: "column example__code" }, - _react2.default.createElement( - "code", - { className: "jsx" }, - '\n\n' - ) - ), - _react2.default.createElement( - "div", - { className: "column" }, - _react2.default.createElement(_reactDatepicker2.default, { - utcOffset: this.state.utcOffset * 60, - dateFormat: "DD-MMM YYYY HH:mm", - showTimeSelect: true, - todayButton: todayTxt, - selected: selected, - onChange: this.handleChange - }), - _react2.default.createElement("br", null), - _react2.default.createElement( - "label", - { className: "example__timezone-label" }, - "Timezone Offset:", - _react2.default.createElement( - "select", - { - className: "example__timezone-selector", - value: this.state.utcOffset, - onChange: this.handleTmzChange - }, - _react2.default.createElement( - "option", - { value: "10" }, - "GMT+10:00" - ), - _react2.default.createElement( - "option", - { value: "8" }, - "GMT+08:00" - ), - _react2.default.createElement( - "option", - { value: "4" }, - "GMT+04:00" - ), - _react2.default.createElement( - "option", - { value: "1" }, - "GMT+01:00" - ), - _react2.default.createElement( - "option", - { value: "0" }, - "GMT" - ), - _react2.default.createElement( - "option", - { value: "-3" }, - "GMT-03:00" - ), - _react2.default.createElement( - "option", - { value: "-4" }, - "GMT-04:00" - ), - _react2.default.createElement( - "option", - { value: "-8" }, - "GMT-08:00" - ), - _react2.default.createElement( - "option", - { value: "-10" }, - "GMT-10:00" - ) - ) - ) - ) - ); - }; - - return TimeZoneDate; - })(_react2.default.Component); - - exports.default = TimeZoneDate; - - /***/ - }, - /* 794 */ + /* 759 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -67497,15 +91658,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -67541,27 +91702,27 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } Inline.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "\n\n" + 'code', + { className: 'jsx' }, + '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { inline: true, selected: this.state.startDate, @@ -67578,31 +91739,27 @@ /***/ }, - /* 795 */ + /* 760 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -67612,15 +91769,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -67675,22 +91832,22 @@ OpenToDate.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - '\n\n' + 'code', + { className: 'jsx' }, + '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { - openToDate: (0, _moment2.default)("1993-09-28"), + openToDate: new Date('1993/09/28'), selected: this.state.startDate, onChange: this.handleChange }) @@ -67705,17 +91862,17 @@ /***/ }, - /* 796 */ + /* 761 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -67725,7 +91882,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -67735,15 +91892,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -67798,26 +91955,26 @@ FixedCalendar.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "" + 'code', + { className: 'jsx' }, + '' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { fixedHeight: true, selected: this.state.startDate, @@ -67834,31 +91991,27 @@ /***/ }, - /* 797 */ + /* 762 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -67868,15 +92021,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -67912,27 +92065,27 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } Default.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "\n\n" + 'code', + { className: 'jsx' }, + '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, @@ -67949,35 +92102,31 @@ /***/ }, - /* 798 */ + /* 763 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -67987,15 +92136,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -68028,11 +92177,8 @@ ExampleCustomInput.prototype.render = function render() { return _react2.default.createElement( - "button", - { - className: "example-custom-input", - onClick: this.props.onClick - }, + 'button', + { className: 'example-custom-input', onClick: this.props.onClick }, this.props.value ); }; @@ -68063,27 +92209,27 @@ }; _this2.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this2; } CustomInput.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, + 'code', + { className: 'jsx' }, '\nclass ExampleCustomInput extends React.Component {\n\n render () {\n return (\n \n {this.props.value}\n \n )\n }\n}\n\nExampleCustomInput.propTypes = {\n onClick: PropTypes.func,\n value: PropTypes.string\n};\n\n...\n\n}\n selected={this.state.startDate}\n onChange={this.handleChange} />\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { customInput: _react2.default.createElement( ExampleCustomInput, @@ -68103,31 +92249,27 @@ /***/ }, - /* 799 */ + /* 764 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -68137,15 +92279,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -68181,27 +92323,27 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } MultiMonth.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "\n\n" + 'code', + { className: 'jsx' }, + '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { monthsShown: 2, onChange: this.handleChange, @@ -68218,31 +92360,27 @@ /***/ }, - /* 800 */ + /* 765 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -68252,15 +92390,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -68296,27 +92434,27 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } MultiMonthDrp.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "\n\n" + 'code', + { className: 'jsx' }, + '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { monthsShown: 2, onChange: this.handleChange, @@ -68334,31 +92472,27 @@ /***/ }, - /* 801 */ + /* 766 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -68368,15 +92502,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -68412,27 +92546,27 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } MultiMonthInline.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "\n\n" + 'code', + { className: 'jsx' }, + '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { monthsShown: 2, inline: true, @@ -68450,31 +92584,27 @@ /***/ }, - /* 802 */ + /* 767 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -68484,15 +92614,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -68528,27 +92658,27 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } Children.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, + 'code', + { className: 'jsx' }, "\n\n \n Don't forget to check the weather!\n \n\n" ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement( _reactDatepicker2.default, { @@ -68556,8 +92686,8 @@ onChange: this.handleChange }, _react2.default.createElement( - "div", - { style: { color: "red" } }, + 'div', + { style: { color: 'red' } }, "Don't forget to check the weather!" ) ) @@ -68572,35 +92702,31 @@ /***/ }, - /* 803 */ + /* 768 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _propTypes = __webpack_require__(525); + var _propTypes = __webpack_require__(535); var _propTypes2 = _interopRequireDefault(_propTypes); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -68610,15 +92736,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -68654,27 +92780,27 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } CalendarContainer.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, + 'code', + { className: 'jsx' }, "\n\nfunction MyContainer({ className, children }) {\n return (\n \n \n What is your favorite day?\n \n {children}\n \n \n \n );\n }\n " ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, @@ -68695,19 +92821,19 @@ children = _ref.children; return _react2.default.createElement( - "div", - { style: { padding: "16px", background: "#216ba5", color: "#fff" } }, + 'div', + { style: { padding: '16px', background: '#216ba5', color: '#fff' } }, _react2.default.createElement( _reactDatepicker.CalendarContainer, { className: className }, _react2.default.createElement( - "div", - { style: { background: "#f0f0f0" } }, - "What is your favorite day?" + 'div', + { style: { background: '#f0f0f0' } }, + 'What is your favorite day?' ), _react2.default.createElement( - "div", - { style: { position: "relative" } }, + 'div', + { style: { position: 'relative' } }, children ) ) @@ -68721,31 +92847,27 @@ /***/ }, - /* 804 */ + /* 769 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -68755,15 +92877,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -68799,27 +92921,27 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } WithPortal.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "\n\n" + 'code', + { className: 'jsx' }, + '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, @@ -68836,23 +92958,23 @@ /***/ }, - /* 805 */ + /* 770 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); + var _format = __webpack_require__(548); - var _moment2 = _interopRequireDefault(_moment); + var _format2 = _interopRequireDefault(_format); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -68860,7 +92982,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -68870,15 +92992,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -68918,7 +93040,7 @@ }; _this.state = { - startDate: (0, _moment2.default)(), + startDate: new Date(), isOpen: false }; return _this; @@ -68926,27 +93048,27 @@ InlinePortalVersion.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - '\nhandleChange (date) {\n this.setState({startDate: date})\n this.toggleCalendar()\n}\n\ntoggleCalendar (e) {\n e && e.preventDefault()\n this.setState({isOpen: !this.state.isOpen})\n}\n\n\n \n {this.state.startDate.format("DD-MM-YYYY")}\n \n {\n this.state.isOpen && (\n \n )\n }\n\n' + 'code', + { className: 'jsx' }, + '\nhandleChange (date) {\n this.setState({startDate: date})\n this.toggleCalendar()\n}\n\ntoggleCalendar (e) {\n e && e.preventDefault()\n this.setState({isOpen: !this.state.isOpen})\n}\n\n\n \n {format(this.state.startDate, "dd-MM-yyyy")}\n \n {\n this.state.isOpen && (\n \n )\n }\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement( - "button", + 'button', { - className: "example-custom-input", + className: 'example-custom-input', onClick: this.toggleCalendar }, - this.state.startDate.format("DD-MM-YYYY") + (0, _format2.default)(this.state.startDate, 'dd-MM-yyyy') ), this.state.isOpen && _react2.default.createElement(_reactDatepicker2.default, { @@ -68966,23 +93088,23 @@ /***/ }, - /* 806 */ + /* 771 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); + var _addDays = __webpack_require__(575); - var _moment2 = _interopRequireDefault(_moment); + var _addDays2 = _interopRequireDefault(_addDays); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -68990,7 +93112,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -69000,15 +93122,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -69057,8 +93179,8 @@ }); }), (_this.handleChangeRaw = function(value) { - if (value === "tomorrow") { - _this.handleChange((0, _moment2.default)().add(1, "day")); + if (value === 'tomorrow') { + _this.handleChange((0, _addDays2.default)(new Date(), 1)); } }), _temp)), @@ -69070,20 +93192,20 @@ var _this2 = this; return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - '\nhandleChangeRaw(value) {\n if(value === "tomorrow") {\n const tomorrow = moment().add(1, "day")\n this.handleChange(tomorrow)\n }\n}\n\n this.handleChangeRaw(event.target.value)}\n/>\n' + 'code', + { className: 'jsx' }, + '\nhandleChangeRaw(value) {\n if(value === "tomorrow") {\n const tomorrow = addDays(new Date(), 1)\n this.handleChange(tomorrow)\n }\n}\n\n this.handleChangeRaw(event.target.value)}\n/>\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, @@ -69103,17 +93225,17 @@ /***/ }, - /* 807 */ + /* 772 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -69123,7 +93245,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -69133,15 +93255,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -69184,37 +93306,37 @@ ReadOnly.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "" + ' />' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, - placeholderText: "This is readOnly", + placeholderText: 'This is readOnly', readOnly: true }) ) @@ -69228,31 +93350,27 @@ /***/ }, - /* 808 */ + /* 773 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -69262,15 +93380,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -69306,41 +93424,41 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } ShowTime.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "\n\n' + ' showTimeSelect\n timeFormat="HH:mm"\n timeIntervals={15}\n dateFormat="MMMM d, yyyy h:mm aa"\n timeCaption="time"\n/>\n' ) ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, showTimeSelect: true, - timeFormat: "HH:mm", + timeFormat: 'HH:mm', timeIntervals: 15, - timeCaption: "time", - dateFormat: "LLL" + timeCaption: 'time', + dateFormat: 'MMMM d, yyyy h:mm aa' }) ) ); @@ -69353,31 +93471,27 @@ /***/ }, - /* 809 */ + /* 774 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -69387,15 +93501,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -69431,41 +93545,41 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } ShowTimeOnly.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "\n\n' + ' showTimeSelect\n showTimeSelectOnly\n timeIntervals={15}\n dateFormat="h:mm aa"\n timeCaption="Time"\n/>\n' ) ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, showTimeSelect: true, showTimeSelectOnly: true, timeIntervals: 15, - timeCaption: "Time", - dateFormat: "LT" + timeCaption: 'Time', + dateFormat: 'h:mm aa' }) ) ); @@ -69478,23 +93592,27 @@ /***/ }, - /* 810 */ + /* 775 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); + var _setMinutes = __webpack_require__(595); + + var _setMinutes2 = _interopRequireDefault(_setMinutes); - var _moment2 = _interopRequireDefault(_moment); + var _setHours = __webpack_require__(596); + + var _setHours2 = _interopRequireDefault(_setHours); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -69502,7 +93620,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -69512,15 +93630,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -69561,9 +93679,10 @@ )), _this)), (_this.state = { - startDate: (0, _moment2.default)() - .hours(16) - .minutes(30) + startDate: (0, _setHours2.default)( + (0, _setMinutes2.default)(new Date(), 30), + 16 + ) }), (_this.handleChange = function(date) { _this.setState({ @@ -69577,59 +93696,63 @@ ExcludeTimes.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "" + _react2.default.createElement('br', null), + '/>' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, showTimeSelect: true, excludeTimes: [ - (0, _moment2.default)() - .hours(17) - .minutes(0), - (0, _moment2.default)() - .hours(18) - .minutes(30), - (0, _moment2.default)() - .hours(19) - .minutes(30), - (0, _moment2.default)() - .hours(17) - .minutes(30) + (0, _setHours2.default)( + (0, _setMinutes2.default)(new Date(), 0), + 17 + ), + (0, _setHours2.default)( + (0, _setMinutes2.default)(new Date(), 30), + 18 + ), + (0, _setHours2.default)( + (0, _setMinutes2.default)(new Date(), 30), + 19 + ), + (0, _setHours2.default)( + (0, _setMinutes2.default)(new Date(), 30), + 17 + ) ], - dateFormat: "LLL" + dateFormat: 'MMMM d, yyyy h:mm aa' }) ) ); @@ -69642,23 +93765,27 @@ /***/ }, - /* 811 */ + /* 776 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); + var _setMinutes = __webpack_require__(595); + + var _setMinutes2 = _interopRequireDefault(_setMinutes); + + var _setHours = __webpack_require__(596); - var _moment2 = _interopRequireDefault(_moment); + var _setHours2 = _interopRequireDefault(_setHours); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -69666,7 +93793,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -69676,15 +93803,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -69725,9 +93852,10 @@ )), _this)), (_this.state = { - startDate: (0, _moment2.default)() - .hours(17) - .minutes(30) + startDate: (0, _setHours2.default)( + (0, _setMinutes2.default)(new Date(), 30), + 17 + ) }), (_this.handleChange = function(date) { _this.setState({ @@ -69741,49 +93869,51 @@ ExcludeTimePeriod.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "" + _react2.default.createElement('br', null), + '/>' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, showTimeSelect: true, - minTime: (0, _moment2.default)() - .hours(17) - .minutes(0), - maxTime: (0, _moment2.default)() - .hours(20) - .minutes(30), - dateFormat: "LLL" + minTime: (0, _setHours2.default)( + (0, _setMinutes2.default)(new Date(), 0), + 17 + ), + maxTime: (0, _setHours2.default)( + (0, _setMinutes2.default)(new Date(), 30), + 20 + ), + dateFormat: 'MMMM d, yyyy h:mm aa' }) ) ); @@ -69796,23 +93926,27 @@ /***/ }, - /* 812 */ + /* 777 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); + var _setMinutes = __webpack_require__(595); + + var _setMinutes2 = _interopRequireDefault(_setMinutes); - var _moment2 = _interopRequireDefault(_moment); + var _setHours = __webpack_require__(596); + + var _setHours2 = _interopRequireDefault(_setHours); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -69820,7 +93954,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -69830,15 +93964,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -69879,9 +94013,10 @@ )), _this)), (_this.state = { - startDate: (0, _moment2.default)() - .hours(16) - .minutes(30) + startDate: (0, _setHours2.default)( + (0, _setMinutes2.default)(new Date(), 30), + 16 + ) }), (_this.handleChange = function(date) { _this.setState({ @@ -69895,59 +94030,63 @@ IncludeTimes.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "" + _react2.default.createElement('br', null), + '/>' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, showTimeSelect: true, includeTimes: [ - (0, _moment2.default)() - .hours(17) - .minutes(0), - (0, _moment2.default)() - .hours(18) - .minutes(30), - (0, _moment2.default)() - .hours(19) - .minutes(30), - (0, _moment2.default)() - .hours(17) - .minutes(30) + (0, _setHours2.default)( + (0, _setMinutes2.default)(new Date(), 0), + 17 + ), + (0, _setHours2.default)( + (0, _setMinutes2.default)(new Date(), 30), + 18 + ), + (0, _setHours2.default)( + (0, _setMinutes2.default)(new Date(), 30), + 19 + ), + (0, _setHours2.default)( + (0, _setMinutes2.default)(new Date(), 30), + 17 + ) ], - dateFormat: "LLL" + dateFormat: 'MMMM d, yyyy h:mm aa' }) ) ); @@ -69960,23 +94099,27 @@ /***/ }, - /* 813 */ + /* 778 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); + var _setMinutes = __webpack_require__(595); + + var _setMinutes2 = _interopRequireDefault(_setMinutes); + + var _setHours = __webpack_require__(596); - var _moment2 = _interopRequireDefault(_moment); + var _setHours2 = _interopRequireDefault(_setHours); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -69984,7 +94127,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -69994,15 +94137,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -70043,9 +94186,10 @@ )), _this)), (_this.state = { - startDate: (0, _moment2.default)() - .hours(16) - .minutes(30) + startDate: (0, _setHours2.default)( + (0, _setMinutes2.default)(new Date(), 30), + 16 + ) }), (_this.handleChange = function(date) { _this.setState({ @@ -70059,43 +94203,46 @@ InjectTimes.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "\n\n' + ' showTimeSelect\n timeFormat="HH:mm"\n injectTimes={[\n setHours(setMinutes(new Date(), 1), 0),\n setHours(setMinutes(new Date(), 5), 12),\n setHours(setMinutes(new Date(), 59), 23)\n ]}\n dateFormat="MMMM d, yyyy h:mm aa"\n/>\n' ) ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, showTimeSelect: true, - timeFormat: "HH:mm", + timeFormat: 'HH:mm', injectTimes: [ - (0, _moment2.default)() - .hours(0) - .minutes(1), - (0, _moment2.default)() - .hours(12) - .minutes(5), - (0, _moment2.default)() - .hours(23) - .minutes(59) + (0, _setHours2.default)( + (0, _setMinutes2.default)(new Date(), 1), + 0 + ), + (0, _setHours2.default)( + (0, _setMinutes2.default)(new Date(), 5), + 12 + ), + (0, _setHours2.default)( + (0, _setMinutes2.default)(new Date(), 59), + 23 + ) ], - dateFormat: "LLL" + dateFormat: 'MMMM d, yyyy h:mm aa' }) ) ); @@ -70108,31 +94255,27 @@ /***/ }, - /* 814 */ + /* 779 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -70142,15 +94285,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -70186,27 +94329,27 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } DontCloseOnSelect.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "\n\n" + 'code', + { className: 'jsx' }, + '\n\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { selected: this.state.startDate, onChange: this.handleChange, @@ -70223,27 +94366,31 @@ /***/ }, - /* 815 */ + /* 780 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); + var _range = __webpack_require__(781); - var _moment2 = _interopRequireDefault(_moment); + var _range2 = _interopRequireDefault(_range); - var _range = __webpack_require__(816); + var _getYear = __webpack_require__(592); - var _range2 = _interopRequireDefault(_range); + var _getYear2 = _interopRequireDefault(_getYear); + + var _getMonth = __webpack_require__(591); + + var _getMonth2 = _interopRequireDefault(_getMonth); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -70251,7 +94398,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); + throw new TypeError('Cannot call a class as a function'); } } @@ -70261,15 +94408,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -70289,10 +94436,23 @@ var years = (0, _range2.default)( 1990, - (0, _moment2.default)().year() + 1, + (0, _getYear2.default)(new Date()) + 1, 1 ); - var months = _moment2.default.months(); + var months = [ + 'January', + 'February', + 'March', + 'April', + 'May', + 'June', + 'July', + 'August', + 'September', + 'October', + 'November', + 'December' + ]; var Default = (function(_React$Component) { _inherits(Default, _React$Component); @@ -70312,27 +94472,27 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } Default.prototype.render = function render() { return _react2.default.createElement( - "div", - { className: "row" }, + 'div', + { className: 'row' }, _react2.default.createElement( - "pre", - { className: "column example__code" }, + 'pre', + { className: 'column example__code' }, _react2.default.createElement( - "code", - { className: "jsx" }, - "\n {}}\n/>\n" + 'code', + { className: 'jsx' }, + '\n {}}\n/>\n' ) ), _react2.default.createElement( - "div", - { className: "column" }, + 'div', + { className: 'column' }, _react2.default.createElement(_reactDatepicker2.default, { renderCustomHeader: function renderCustomHeader(_ref) { var date = _ref.date, @@ -70343,26 +94503,26 @@ prevMonthButtonDisabled = _ref.prevMonthButtonDisabled, nextMonthButtonDisabled = _ref.nextMonthButtonDisabled; return _react2.default.createElement( - "div", + 'div', { style: { margin: 10, - display: "flex", - justifyContent: "center" + display: 'flex', + justifyContent: 'center' } }, _react2.default.createElement( - "button", + 'button', { onClick: decreaseMonth, disabled: prevMonthButtonDisabled }, - "<" + '<' ), _react2.default.createElement( - "select", + 'select', { - value: date.year(), + value: (0, _getYear2.default)(date), onChange: function onChange(_ref2) { var value = _ref2.target.value; return changeYear(value); @@ -70370,16 +94530,16 @@ }, years.map(function(option) { return _react2.default.createElement( - "option", + 'option', { key: option, value: option }, option ); }) ), _react2.default.createElement( - "select", + 'select', { - value: months[date.month()], + value: months[(0, _getMonth2.default)(date)], onChange: function onChange(_ref3) { var value = _ref3.target.value; return changeMonth(value); @@ -70387,19 +94547,19 @@ }, months.map(function(option) { return _react2.default.createElement( - "option", + 'option', { key: option, value: option }, option ); }) ), _react2.default.createElement( - "button", + 'button', { onClick: increaseMonth, disabled: nextMonthButtonDisabled }, - ">" + '>' ) ); }, @@ -70417,9 +94577,9 @@ /***/ }, - /* 816 */ + /* 781 */ /***/ function(module, exports, __webpack_require__) { - var createRange = __webpack_require__(817); + var createRange = __webpack_require__(782); /** * Creates an array of numbers (positive and/or negative) progressing from @@ -70468,11 +94628,11 @@ /***/ }, - /* 817 */ + /* 782 */ /***/ function(module, exports, __webpack_require__) { - var baseRange = __webpack_require__(818), - isIterateeCall = __webpack_require__(819), - toFinite = __webpack_require__(832); + var baseRange = __webpack_require__(783), + isIterateeCall = __webpack_require__(784), + toFinite = __webpack_require__(797); /** * Creates a `_.range` or `_.rangeRight` function. @@ -70485,7 +94645,7 @@ return function(start, end, step) { if ( step && - typeof step != "number" && + typeof step != 'number' && isIterateeCall(start, end, step) ) { end = step = undefined; @@ -70507,7 +94667,7 @@ /***/ }, - /* 818 */ + /* 783 */ /***/ function(module, exports) { /* Built-in method references for those with the same name as other `lodash` methods. */ var nativeCeil = Math.ceil, @@ -70540,12 +94700,12 @@ /***/ }, - /* 819 */ + /* 784 */ /***/ function(module, exports, __webpack_require__) { - var eq = __webpack_require__(820), - isArrayLike = __webpack_require__(821), - isIndex = __webpack_require__(831), - isObject = __webpack_require__(829); + var eq = __webpack_require__(785), + isArrayLike = __webpack_require__(786), + isIndex = __webpack_require__(796), + isObject = __webpack_require__(794); /** * Checks if the given arguments are from an iteratee call. @@ -70563,9 +94723,9 @@ } var type = typeof index; if ( - type == "number" + type == 'number' ? isArrayLike(object) && isIndex(index, object.length) - : type == "string" && index in object + : type == 'string' && index in object ) { return eq(object[index], value); } @@ -70576,7 +94736,7 @@ /***/ }, - /* 820 */ + /* 785 */ /***/ function(module, exports) { /** * Performs a @@ -70618,10 +94778,10 @@ /***/ }, - /* 821 */ + /* 786 */ /***/ function(module, exports, __webpack_require__) { - var isFunction = __webpack_require__(822), - isLength = __webpack_require__(830); + var isFunction = __webpack_require__(787), + isLength = __webpack_require__(795); /** * Checks if `value` is array-like. A value is considered array-like if it's @@ -70656,16 +94816,16 @@ /***/ }, - /* 822 */ + /* 787 */ /***/ function(module, exports, __webpack_require__) { - var baseGetTag = __webpack_require__(823), - isObject = __webpack_require__(829); + var baseGetTag = __webpack_require__(788), + isObject = __webpack_require__(794); /** `Object#toString` result references. */ - var asyncTag = "[object AsyncFunction]", - funcTag = "[object Function]", - genTag = "[object GeneratorFunction]", - proxyTag = "[object Proxy]"; + var asyncTag = '[object AsyncFunction]', + funcTag = '[object Function]', + genTag = '[object GeneratorFunction]', + proxyTag = '[object Proxy]'; /** * Checks if `value` is classified as a `Function` object. @@ -70700,15 +94860,15 @@ /***/ }, - /* 823 */ + /* 788 */ /***/ function(module, exports, __webpack_require__) { - var Symbol = __webpack_require__(824), - getRawTag = __webpack_require__(827), - objectToString = __webpack_require__(828); + var Symbol = __webpack_require__(789), + getRawTag = __webpack_require__(792), + objectToString = __webpack_require__(793); /** `Object#toString` result references. */ - var nullTag = "[object Null]", - undefinedTag = "[object Undefined]"; + var nullTag = '[object Null]', + undefinedTag = '[object Undefined]'; /** Built-in value references. */ var symToStringTag = Symbol ? Symbol.toStringTag : undefined; @@ -70733,9 +94893,9 @@ /***/ }, - /* 824 */ + /* 789 */ /***/ function(module, exports, __webpack_require__) { - var root = __webpack_require__(825); + var root = __webpack_require__(790); /** Built-in value references. */ var Symbol = root.Symbol; @@ -70744,27 +94904,27 @@ /***/ }, - /* 825 */ + /* 790 */ /***/ function(module, exports, __webpack_require__) { - var freeGlobal = __webpack_require__(826); + var freeGlobal = __webpack_require__(791); /** Detect free variable `self`. */ var freeSelf = - typeof self == "object" && self && self.Object === Object && self; + typeof self == 'object' && self && self.Object === Object && self; /** Used as a reference to the global object. */ - var root = freeGlobal || freeSelf || Function("return this")(); + var root = freeGlobal || freeSelf || Function('return this')(); module.exports = root; /***/ }, - /* 826 */ + /* 791 */ /***/ function(module, exports) { /* WEBPACK VAR INJECTION */ (function(global) { /** Detect free variable `global` from Node.js. */ var freeGlobal = - typeof global == "object" && + typeof global == 'object' && global && global.Object === Object && global; @@ -70781,9 +94941,9 @@ /***/ }, - /* 827 */ + /* 792 */ /***/ function(module, exports, __webpack_require__) { - var Symbol = __webpack_require__(824); + var Symbol = __webpack_require__(789); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -70832,7 +94992,7 @@ /***/ }, - /* 828 */ + /* 793 */ /***/ function(module, exports) { /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -70859,7 +95019,7 @@ /***/ }, - /* 829 */ + /* 794 */ /***/ function(module, exports) { /** * Checks if `value` is the @@ -70888,14 +95048,14 @@ */ function isObject(value) { var type = typeof value; - return value != null && (type == "object" || type == "function"); + return value != null && (type == 'object' || type == 'function'); } module.exports = isObject; /***/ }, - /* 830 */ + /* 795 */ /***/ function(module, exports) { /** Used as references for various `Number` constants. */ var MAX_SAFE_INTEGER = 9007199254740991; @@ -70928,7 +95088,7 @@ */ function isLength(value) { return ( - typeof value == "number" && + typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER @@ -70939,7 +95099,7 @@ /***/ }, - /* 831 */ + /* 796 */ /***/ function(module, exports) { /** Used as references for various `Number` constants. */ var MAX_SAFE_INTEGER = 9007199254740991; @@ -70956,10 +95116,12 @@ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. */ function isIndex(value, length) { + var type = typeof value; length = length == null ? MAX_SAFE_INTEGER : length; + return ( !!length && - (typeof value == "number" || reIsUint.test(value)) && + (type == 'number' || (type != 'symbol' && reIsUint.test(value))) && (value > -1 && value % 1 == 0 && value < length) ); } @@ -70968,9 +95130,9 @@ /***/ }, - /* 832 */ + /* 797 */ /***/ function(module, exports, __webpack_require__) { - var toNumber = __webpack_require__(833); + var toNumber = __webpack_require__(798); /** Used as references for various `Number` constants. */ var INFINITY = 1 / 0, @@ -71015,10 +95177,10 @@ /***/ }, - /* 833 */ + /* 798 */ /***/ function(module, exports, __webpack_require__) { - var isObject = __webpack_require__(829), - isSymbol = __webpack_require__(834); + var isObject = __webpack_require__(794), + isSymbol = __webpack_require__(799); /** Used as references for various `Number` constants. */ var NAN = 0 / 0; @@ -71062,7 +95224,7 @@ * // => 3.2 */ function toNumber(value) { - if (typeof value == "number") { + if (typeof value == 'number') { return value; } if (isSymbol(value)) { @@ -71070,30 +95232,32 @@ } if (isObject(value)) { var other = - typeof value.valueOf == "function" ? value.valueOf() : value; - value = isObject(other) ? other + "" : other; + typeof value.valueOf == 'function' ? value.valueOf() : value; + value = isObject(other) ? other + '' : other; } - if (typeof value != "string") { + if (typeof value != 'string') { return value === 0 ? value : +value; } - value = value.replace(reTrim, ""); + value = value.replace(reTrim, ''); var isBinary = reIsBinary.test(value); return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) - : reIsBadHex.test(value) ? NAN : +value; + : reIsBadHex.test(value) + ? NAN + : +value; } module.exports = toNumber; /***/ }, - /* 834 */ + /* 799 */ /***/ function(module, exports, __webpack_require__) { - var baseGetTag = __webpack_require__(823), - isObjectLike = __webpack_require__(835); + var baseGetTag = __webpack_require__(788), + isObjectLike = __webpack_require__(800); /** `Object#toString` result references. */ - var symbolTag = "[object Symbol]"; + var symbolTag = '[object Symbol]'; /** * Checks if `value` is classified as a `Symbol` primitive or object. @@ -71114,7 +95278,7 @@ */ function isSymbol(value) { return ( - typeof value == "symbol" || + typeof value == 'symbol' || (isObjectLike(value) && baseGetTag(value) == symbolTag) ); } @@ -71123,7 +95287,7 @@ /***/ }, - /* 835 */ + /* 800 */ /***/ function(module, exports) { /** * Checks if `value` is object-like. A value is object-like if it's not `null` @@ -71150,45 +95314,41 @@ * // => false */ function isObjectLike(value) { - return value != null && typeof value == "object"; + return value != null && typeof value == 'object'; } module.exports = isObjectLike; /***/ }, - /* 836 */ + /* 801 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, - /* 837 */ - 836, - /* 838 */ + /* 802 */ + 801, + /* 803 */ /***/ function(module, exports, __webpack_require__) { - "use strict"; + 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(328); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(523); + var _reactDatepicker = __webpack_require__(533); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(535); - - var _moment2 = _interopRequireDefault(_moment); - 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"); + throw new TypeError('Cannot call a class as a function'); } } @@ -71198,15 +95358,15 @@ "this hasn't been initialised - super() hasn't been called" ); } - return call && (typeof call === "object" || typeof call === "function") + return call && (typeof call === 'object' || typeof call === 'function') ? call : self; } function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { + if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError( - "Super expression must either be null or a function, not " + + 'Super expression must either be null or a function, not ' + typeof superClass ); } @@ -71242,7 +95402,7 @@ }; _this.state = { - startDate: (0, _moment2.default)() + startDate: new Date() }; return _this; } @@ -71262,7 +95422,7 @@ /***/ }, - /* 839 */ + /* 804 */ /***/ function( module, exports, @@ -71295,9 +95455,10 @@ __webpack_module_template_argument_25__, __webpack_module_template_argument_26__, __webpack_module_template_argument_27__, - __webpack_module_template_argument_28__ + __webpack_module_template_argument_28__, + __webpack_module_template_argument_29__ ) { - "use strict"; + 'use strict'; // ECMAScript 6 symbols shim var global = __webpack_require__(__webpack_module_template_argument_0__); var has = __webpack_require__(__webpack_module_template_argument_1__); @@ -71330,39 +95491,42 @@ var anObject = __webpack_require__( __webpack_module_template_argument_15__ ); - var toIObject = __webpack_require__( + var isObject = __webpack_require__( __webpack_module_template_argument_16__ ); - var toPrimitive = __webpack_require__( + var toIObject = __webpack_require__( __webpack_module_template_argument_17__ ); - var createDesc = __webpack_require__( + var toPrimitive = __webpack_require__( __webpack_module_template_argument_18__ ); - var _create = __webpack_require__( + var createDesc = __webpack_require__( __webpack_module_template_argument_19__ ); - var gOPNExt = __webpack_require__( + var _create = __webpack_require__( __webpack_module_template_argument_20__ ); - var $GOPD = __webpack_require__(__webpack_module_template_argument_21__); - var $DP = __webpack_require__(__webpack_module_template_argument_22__); - var $keys = __webpack_require__(__webpack_module_template_argument_23__); + var gOPNExt = __webpack_require__( + __webpack_module_template_argument_21__ + ); + var $GOPD = __webpack_require__(__webpack_module_template_argument_22__); + var $DP = __webpack_require__(__webpack_module_template_argument_23__); + var $keys = __webpack_require__(__webpack_module_template_argument_24__); var gOPD = $GOPD.f; var dP = $DP.f; var gOPN = gOPNExt.f; var $Symbol = global.Symbol; var $JSON = global.JSON; var _stringify = $JSON && $JSON.stringify; - var PROTOTYPE = "prototype"; - var HIDDEN = wks("_hidden"); - var TO_PRIMITIVE = wks("toPrimitive"); + var PROTOTYPE = 'prototype'; + var HIDDEN = wks('_hidden'); + var TO_PRIMITIVE = wks('toPrimitive'); var isEnum = {}.propertyIsEnumerable; - var SymbolRegistry = shared("symbol-registry"); - var AllSymbols = shared("symbols"); - var OPSymbols = shared("op-symbols"); + var SymbolRegistry = shared('symbol-registry'); + var AllSymbols = shared('symbols'); + var OPSymbols = shared('op-symbols'); var ObjectProto = Object[PROTOTYPE]; - var USE_NATIVE = typeof $Symbol == "function"; + var USE_NATIVE = typeof $Symbol == 'function'; var QObject = global.QObject; // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 var setter = @@ -71374,9 +95538,9 @@ $fails(function() { return ( _create( - dP({}, "a", { + dP({}, 'a', { get: function() { - return dP(this, "a", { value: 7 }).a; + return dP(this, 'a', { value: 7 }).a; } }) ).a != 7 @@ -71398,9 +95562,9 @@ }; var isSymbol = - USE_NATIVE && typeof $Symbol.iterator == "symbol" + USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function(it) { - return typeof it == "symbol"; + return typeof it == 'symbol'; } : function(it) { return it instanceof $Symbol; @@ -71500,7 +95664,7 @@ if (!USE_NATIVE) { $Symbol = function Symbol() { if (this instanceof $Symbol) - throw TypeError("Symbol is not a constructor!"); + throw TypeError('Symbol is not a constructor!'); var tag = uid(arguments.length > 0 ? arguments[0] : undefined); var $set = function(value) { if (this === ObjectProto) $set.call(OPSymbols, value); @@ -71512,29 +95676,29 @@ setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); return wrap(tag); }; - redefine($Symbol[PROTOTYPE], "toString", function toString() { + redefine($Symbol[PROTOTYPE], 'toString', function toString() { return this._k; }); $GOPD.f = $getOwnPropertyDescriptor; $DP.f = $defineProperty; __webpack_require__( - __webpack_module_template_argument_24__ + __webpack_module_template_argument_25__ ).f = gOPNExt.f = $getOwnPropertyNames; __webpack_require__( - __webpack_module_template_argument_25__ + __webpack_module_template_argument_26__ ).f = $propertyIsEnumerable; __webpack_require__( - __webpack_module_template_argument_26__ + __webpack_module_template_argument_27__ ).f = $getOwnPropertySymbols; if ( DESCRIPTORS && - !__webpack_require__(__webpack_module_template_argument_27__) + !__webpack_require__(__webpack_module_template_argument_28__) ) { redefine( ObjectProto, - "propertyIsEnumerable", + 'propertyIsEnumerable', $propertyIsEnumerable, true ); @@ -71551,8 +95715,8 @@ for ( var es6Symbols = // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14 - "hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split( - "," + 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'.split( + ',' ), j = 0; es6Symbols.length > j; @@ -71567,16 +95731,16 @@ ) wksDefine(wellKnownSymbols[k++]); - $export($export.S + $export.F * !USE_NATIVE, "Symbol", { + $export($export.S + $export.F * !USE_NATIVE, 'Symbol', { // 19.4.2.1 Symbol.for(key) for: function(key) { - return has(SymbolRegistry, (key += "")) + return has(SymbolRegistry, (key += '')) ? SymbolRegistry[key] : (SymbolRegistry[key] = $Symbol(key)); }, // 19.4.2.5 Symbol.keyFor(sym) keyFor: function keyFor(sym) { - if (!isSymbol(sym)) throw TypeError(sym + " is not a symbol!"); + if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; }, @@ -71588,7 +95752,7 @@ } }); - $export($export.S + $export.F * !USE_NATIVE, "Object", { + $export($export.S + $export.F * !USE_NATIVE, 'Object', { // 19.1.2.2 Object.create(O [, Properties]) create: $create, // 19.1.2.4 Object.defineProperty(O, P, Attributes) @@ -71615,24 +95779,25 @@ // WebKit converts symbol values to JSON as null // V8 throws on boxed symbols return ( - _stringify([S]) != "[null]" || - _stringify({ a: S }) != "{}" || - _stringify(Object(S)) != "{}" + _stringify([S]) != '[null]' || + _stringify({ a: S }) != '{}' || + _stringify(Object(S)) != '{}' ); })), - "JSON", + 'JSON', { stringify: function stringify(it) { - if (it === undefined || isSymbol(it)) return; // IE8 returns string on undefined var args = [it]; var i = 1; var replacer, $replacer; while (arguments.length > i) args.push(arguments[i++]); - replacer = args[1]; - if (typeof replacer == "function") $replacer = replacer; - if ($replacer || !isArray(replacer)) + $replacer = replacer = args[1]; + if ((!isObject(replacer) && it === undefined) || isSymbol(it)) + return; // IE8 returns string on undefined + if (!isArray(replacer)) replacer = function(key, value) { - if ($replacer) value = $replacer.call(this, key, value); + if (typeof $replacer == 'function') + value = $replacer.call(this, key, value); if (!isSymbol(value)) return value; }; args[1] = replacer; @@ -71643,21 +95808,21 @@ // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) $Symbol[PROTOTYPE][TO_PRIMITIVE] || - __webpack_require__(__webpack_module_template_argument_28__)( + __webpack_require__(__webpack_module_template_argument_29__)( $Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf ); // 19.4.3.5 Symbol.prototype[@@toStringTag] - setToStringTag($Symbol, "Symbol"); + setToStringTag($Symbol, 'Symbol'); // 20.2.1.9 Math[@@toStringTag] - setToStringTag(Math, "Math", true); + setToStringTag(Math, 'Math', true); // 24.3.3 JSON[@@toStringTag] - setToStringTag(global.JSON, "JSON", true); + setToStringTag(global.JSON, 'JSON', true); /***/ }, - /* 840 */ + /* 805 */ /***/ function( module, exports, @@ -71669,7 +95834,7 @@ __webpack_module_template_argument_0__ )(function() { return ( - Object.defineProperty({}, "a", { + Object.defineProperty({}, 'a', { get: function() { return 7; } @@ -71679,7 +95844,7 @@ /***/ }, - /* 841 */ + /* 806 */ /***/ function( module, exports, @@ -71705,7 +95870,7 @@ /***/ }, - /* 842 */ + /* 807 */ /***/ function( module, exports, @@ -71738,15 +95903,15 @@ } catch (e) { /* empty */ } - if ("get" in Attributes || "set" in Attributes) - throw TypeError("Accessors not supported!"); - if ("value" in Attributes) O[P] = Attributes.value; + if ('get' in Attributes || 'set' in Attributes) + throw TypeError('Accessors not supported!'); + if ('value' in Attributes) O[P] = Attributes.value; return O; }; /***/ }, - /* 843 */ + /* 808 */ /***/ function( module, exports, @@ -71757,13 +95922,13 @@ __webpack_module_template_argument_0__ ); module.exports = function(it) { - if (!isObject(it)) throw TypeError(it + " is not an object!"); + if (!isObject(it)) throw TypeError(it + ' is not an object!'); return it; }; /***/ }, - /* 844 */ + /* 809 */ /***/ function( module, exports, @@ -71779,9 +95944,9 @@ return ( Object.defineProperty( __webpack_require__(__webpack_module_template_argument_2__)( - "div" + 'div' ), - "a", + 'a', { get: function() { return 7; @@ -71794,7 +95959,7 @@ /***/ }, - /* 845 */ + /* 810 */ /***/ function( module, exports, @@ -71815,7 +95980,7 @@ /***/ }, - /* 846 */ + /* 811 */ /***/ function( module, exports, @@ -71833,18 +95998,18 @@ var fn, val; if ( S && - typeof (fn = it.toString) == "function" && + typeof (fn = it.toString) == 'function' && !isObject((val = fn.call(it))) ) return val; if ( - typeof (fn = it.valueOf) == "function" && + typeof (fn = it.valueOf) == 'function' && !isObject((val = fn.call(it))) ) return val; if ( !S && - typeof (fn = it.toString) == "function" && + typeof (fn = it.toString) == 'function' && !isObject((val = fn.call(it))) ) return val; @@ -71853,7 +96018,7 @@ /***/ }, - /* 847 */ + /* 812 */ /***/ function( module, exports, @@ -71888,7 +96053,7 @@ /***/ }, - /* 848 */ + /* 813 */ /***/ function( module, exports, @@ -71900,7 +96065,7 @@ __webpack_module_template_argument_4__ ) { var META = __webpack_require__(__webpack_module_template_argument_0__)( - "meta" + 'meta' ); var isObject = __webpack_require__( __webpack_module_template_argument_1__ @@ -71922,7 +96087,7 @@ var setMeta = function(it) { setDesc(it, META, { value: { - i: "O" + ++id, // object ID + i: 'O' + ++id, // object ID w: {} // weak collections IDs } }); @@ -71930,14 +96095,14 @@ var fastKey = function(it, create) { // return primitive with prefix if (!isObject(it)) - return typeof it == "symbol" + return typeof it == 'symbol' ? it - : (typeof it == "string" ? "S" : "P") + it; + : (typeof it == 'string' ? 'S' : 'P') + it; if (!has(it, META)) { // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return "F"; + if (!isExtensible(it)) return 'F'; // not necessary to add metadata - if (!create) return "E"; + if (!create) return 'E'; // add missing metadata setMeta(it); // return object ID @@ -71972,23 +96137,33 @@ /***/ }, - /* 849 */ + /* 814 */ /***/ function( module, exports, __webpack_require__, - __webpack_module_template_argument_0__ + __webpack_module_template_argument_0__, + __webpack_module_template_argument_1__, + __webpack_module_template_argument_2__ ) { - var global = __webpack_require__(__webpack_module_template_argument_0__); - var SHARED = "__core-js_shared__"; + var core = __webpack_require__(__webpack_module_template_argument_0__); + var global = __webpack_require__(__webpack_module_template_argument_1__); + var SHARED = '__core-js_shared__'; var store = global[SHARED] || (global[SHARED] = {}); - module.exports = function(key) { - return store[key] || (store[key] = {}); - }; + + (module.exports = function(key, value) { + return store[key] || (store[key] = value !== undefined ? value : {}); + })('versions', []).push({ + version: core.version, + mode: __webpack_require__(__webpack_module_template_argument_2__) + ? 'pure' + : 'global', + copyright: '© 2018 Denis Pushkarev (zloirock.ru)' + }); /***/ }, - /* 850 */ + /* 815 */ /***/ function( module, exports, @@ -72000,7 +96175,7 @@ var def = __webpack_require__(__webpack_module_template_argument_0__).f; var has = __webpack_require__(__webpack_module_template_argument_1__); var TAG = __webpack_require__(__webpack_module_template_argument_2__)( - "toStringTag" + 'toStringTag' ); module.exports = function(it, tag, stat) { @@ -72010,7 +96185,7 @@ /***/ }, - /* 851 */ + /* 816 */ /***/ function( module, exports, @@ -72020,19 +96195,19 @@ __webpack_module_template_argument_2__ ) { var store = __webpack_require__(__webpack_module_template_argument_0__)( - "wks" + 'wks' ); var uid = __webpack_require__(__webpack_module_template_argument_1__); var Symbol = __webpack_require__(__webpack_module_template_argument_2__) .Symbol; - var USE_SYMBOL = typeof Symbol == "function"; + var USE_SYMBOL = typeof Symbol == 'function'; var $exports = (module.exports = function(name) { return ( store[name] || (store[name] = (USE_SYMBOL && Symbol[name]) || - (USE_SYMBOL ? Symbol : uid)("Symbol." + name)) + (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)) ); }); @@ -72040,7 +96215,7 @@ /***/ }, - /* 852 */ + /* 817 */ /***/ function( module, exports, @@ -72051,7 +96226,7 @@ /***/ }, - /* 853 */ + /* 818 */ /***/ function( module, exports, @@ -72072,13 +96247,13 @@ module.exports = function(name) { var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); - if (name.charAt(0) != "_" && !(name in $Symbol)) + if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); }; /***/ }, - /* 854 */ + /* 819 */ /***/ function( module, exports, @@ -72107,7 +96282,7 @@ /***/ }, - /* 855 */ + /* 820 */ /***/ function( module, exports, @@ -72129,7 +96304,7 @@ /***/ }, - /* 856 */ + /* 821 */ /***/ function( module, exports, @@ -72148,7 +96323,7 @@ )(false); var IE_PROTO = __webpack_require__( __webpack_module_template_argument_3__ - )("IE_PROTO"); + )('IE_PROTO'); module.exports = function(object, names) { var O = toIObject(object); @@ -72166,7 +96341,7 @@ /***/ }, - /* 857 */ + /* 822 */ /***/ function( module, exports, @@ -72183,7 +96358,7 @@ /***/ }, - /* 858 */ + /* 823 */ /***/ function( module, exports, @@ -72193,15 +96368,15 @@ // fallback for non-array-like ES3 and non-enumerable old V8 strings var cof = __webpack_require__(__webpack_module_template_argument_0__); // eslint-disable-next-line no-prototype-builtins - module.exports = Object("z").propertyIsEnumerable(0) + module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it) { - return cof(it) == "String" ? it.split("") : Object(it); + return cof(it) == 'String' ? it.split('') : Object(it); }; /***/ }, - /* 859 */ + /* 824 */ /***/ function( module, exports, @@ -72247,7 +96422,7 @@ /***/ }, - /* 860 */ + /* 825 */ /***/ function( module, exports, @@ -72265,7 +96440,7 @@ /***/ }, - /* 861 */ + /* 826 */ /***/ function( module, exports, @@ -72284,7 +96459,7 @@ /***/ }, - /* 862 */ + /* 827 */ /***/ function( module, exports, @@ -72293,7 +96468,7 @@ __webpack_module_template_argument_1__ ) { var shared = __webpack_require__(__webpack_module_template_argument_0__)( - "keys" + 'keys' ); var uid = __webpack_require__(__webpack_module_template_argument_1__); module.exports = function(key) { @@ -72302,7 +96477,7 @@ /***/ }, - /* 863 */ + /* 828 */ /***/ function( module, exports, @@ -72314,12 +96489,12 @@ module.exports = Array.isArray || function isArray(arg) { - return cof(arg) == "Array"; + return cof(arg) == 'Array'; }; /***/ }, - /* 864 */ + /* 829 */ /***/ function( module, exports, @@ -72341,33 +96516,33 @@ ); var IE_PROTO = __webpack_require__( __webpack_module_template_argument_3__ - )("IE_PROTO"); + )('IE_PROTO'); var Empty = function() { /* empty */ }; - var PROTOTYPE = "prototype"; + var PROTOTYPE = 'prototype'; // Create object with fake `null` prototype: use iframe Object with cleared prototype var createDict = function() { // Thrash, waste and sodomy: IE GC bug var iframe = __webpack_require__( __webpack_module_template_argument_4__ - )("iframe"); + )('iframe'); var i = enumBugKeys.length; - var lt = "<"; - var gt = ">"; + var lt = '<'; + var gt = '>'; var iframeDocument; - iframe.style.display = "none"; + iframe.style.display = 'none'; __webpack_require__(__webpack_module_template_argument_5__).appendChild( iframe ); - iframe.src = "javascript:"; // eslint-disable-line no-script-url + iframe.src = 'javascript:'; // eslint-disable-line no-script-url // createDict = iframe.contentWindow.Object; // html.removeChild(iframe); iframeDocument = iframe.contentWindow.document; iframeDocument.open(); iframeDocument.write( - lt + "script" + gt + "document.F=Object" + lt + "/script" + gt + lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt ); iframeDocument.close(); createDict = iframeDocument.F; @@ -72391,7 +96566,7 @@ /***/ }, - /* 865 */ + /* 830 */ /***/ function( module, exports, @@ -72423,7 +96598,7 @@ /***/ }, - /* 866 */ + /* 831 */ /***/ function( module, exports, @@ -72436,7 +96611,7 @@ /***/ }, - /* 867 */ + /* 832 */ /***/ function( module, exports, @@ -72452,7 +96627,7 @@ var toString = {}.toString; var windowNames = - typeof window == "object" && window && Object.getOwnPropertyNames + typeof window == 'object' && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; @@ -72465,14 +96640,14 @@ }; module.exports.f = function getOwnPropertyNames(it) { - return windowNames && toString.call(it) == "[object Window]" + return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); }; /***/ }, - /* 868 */ + /* 833 */ /***/ function( module, exports, @@ -72484,7 +96659,7 @@ var $keys = __webpack_require__(__webpack_module_template_argument_0__); var hiddenKeys = __webpack_require__( __webpack_module_template_argument_1__ - ).concat("length", "prototype"); + ).concat('length', 'prototype'); exports.f = Object.getOwnPropertyNames || @@ -72494,7 +96669,7 @@ /***/ }, - /* 869 */ + /* 834 */ /***/ function( module, exports, @@ -72539,7 +96714,7 @@ /***/ }, - /* 870 */ + /* 835 */ /***/ function( module, exports, @@ -72549,13 +96724,13 @@ ) { var $export = __webpack_require__(__webpack_module_template_argument_0__); // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) - $export($export.S, "Object", { + $export($export.S, 'Object', { create: __webpack_require__(__webpack_module_template_argument_1__) }); /***/ }, - /* 871 */ + /* 836 */ /***/ function( module, exports, @@ -72570,7 +96745,7 @@ /***/ }, - /* 872 */ + /* 837 */ /***/ function( module, exports, @@ -72586,7 +96761,7 @@ ); var IE_PROTO = __webpack_require__( __webpack_module_template_argument_2__ - )("IE_PROTO"); + )('IE_PROTO'); var ObjectProto = Object.prototype; module.exports = @@ -72595,7 +96770,7 @@ O = toObject(O); if (has(O, IE_PROTO)) return O[IE_PROTO]; if ( - typeof O.constructor == "function" && + typeof O.constructor == 'function' && O instanceof O.constructor ) { return O.constructor.prototype; @@ -72605,7 +96780,7 @@ /***/ }, - /* 873 */ + /* 838 */ /***/ function( module, exports, @@ -72616,13 +96791,13 @@ // 19.1.3.1 Object.assign(target, source) var $export = __webpack_require__(__webpack_module_template_argument_0__); - $export($export.S + $export.F, "Object", { + $export($export.S + $export.F, 'Object', { assign: __webpack_require__(__webpack_module_template_argument_1__) }); /***/ }, - /* 874 */ + /* 839 */ /***/ function( module, exports, @@ -72634,7 +96809,7 @@ __webpack_module_template_argument_4__, __webpack_module_template_argument_5__ ) { - "use strict"; + 'use strict'; // 19.1.2.1 Object.assign(target, source, ...) var getKeys = __webpack_require__(__webpack_module_template_argument_0__); var gOPS = __webpack_require__(__webpack_module_template_argument_1__); @@ -72653,13 +96828,13 @@ var B = {}; // eslint-disable-next-line no-undef var S = Symbol(); - var K = "abcdefghijklmnopqrst"; + var K = 'abcdefghijklmnopqrst'; A[S] = 7; - K.split("").forEach(function(k) { + K.split('').forEach(function(k) { B[k] = k; }); return ( - $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join("") != K + $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K ); }) ? function assign(target, source) { @@ -72686,7 +96861,7 @@ /***/ }, - /* 875 */ + /* 840 */ /***/ function( module, exports, @@ -72696,7 +96871,7 @@ ) { // 19.1.3.19 Object.setPrototypeOf(O, proto) var $export = __webpack_require__(__webpack_module_template_argument_0__); - $export($export.S, "Object", { + $export($export.S, 'Object', { setPrototypeOf: __webpack_require__( __webpack_module_template_argument_1__ ).set @@ -72704,7 +96879,7 @@ /***/ }, - /* 876 */ + /* 841 */ /***/ function( module, exports, @@ -72730,7 +96905,7 @@ module.exports = { set: Object.setPrototypeOf || - ("__proto__" in {} // eslint-disable-line + ('__proto__' in {} // eslint-disable-line ? (function(test, buggy, set) { try { set = __webpack_require__( @@ -72739,7 +96914,7 @@ Function.call, __webpack_require__( __webpack_module_template_argument_3__ - ).f(Object.prototype, "__proto__").set, + ).f(Object.prototype, '__proto__').set, 2 ); set(test, []); @@ -72760,7 +96935,7 @@ /***/ }, - /* 877 */ + /* 842 */ /***/ function( module, exports, @@ -72768,7 +96943,7 @@ __webpack_module_template_argument_0__, __webpack_module_template_argument_1__ ) { - "use strict"; + 'use strict'; var $at = __webpack_require__(__webpack_module_template_argument_0__)( true ); @@ -72776,7 +96951,7 @@ // 21.1.3.27 String.prototype[@@iterator]() __webpack_require__(__webpack_module_template_argument_1__)( String, - "String", + 'String', function(iterated) { this._t = String(iterated); // target this._i = 0; // next index @@ -72795,7 +96970,7 @@ /***/ }, - /* 878 */ + /* 843 */ /***/ function( module, exports, @@ -72815,14 +96990,16 @@ var i = toInteger(pos); var l = s.length; var a, b; - if (i < 0 || i >= l) return TO_STRING ? "" : undefined; + if (i < 0 || i >= l) return TO_STRING ? '' : undefined; a = s.charCodeAt(i); return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff - ? TO_STRING ? s.charAt(i) : a + ? TO_STRING + ? s.charAt(i) + : a : TO_STRING ? s.slice(i, i + 2) : ((a - 0xd800) << 10) + (b - 0xdc00) + 0x10000; @@ -72831,7 +97008,7 @@ /***/ }, - /* 879 */ + /* 844 */ /***/ function( module, exports, @@ -72844,36 +97021,34 @@ __webpack_module_template_argument_5__, __webpack_module_template_argument_6__, __webpack_module_template_argument_7__, - __webpack_module_template_argument_8__, - __webpack_module_template_argument_9__ + __webpack_module_template_argument_8__ ) { - "use strict"; + 'use strict'; var LIBRARY = __webpack_require__(__webpack_module_template_argument_0__); var $export = __webpack_require__(__webpack_module_template_argument_1__); var redefine = __webpack_require__( __webpack_module_template_argument_2__ ); var hide = __webpack_require__(__webpack_module_template_argument_3__); - var has = __webpack_require__(__webpack_module_template_argument_4__); var Iterators = __webpack_require__( - __webpack_module_template_argument_5__ + __webpack_module_template_argument_4__ ); var $iterCreate = __webpack_require__( - __webpack_module_template_argument_6__ + __webpack_module_template_argument_5__ ); var setToStringTag = __webpack_require__( - __webpack_module_template_argument_7__ + __webpack_module_template_argument_6__ ); var getPrototypeOf = __webpack_require__( - __webpack_module_template_argument_8__ + __webpack_module_template_argument_7__ ); var ITERATOR = __webpack_require__( - __webpack_module_template_argument_9__ - )("iterator"); - var BUGGY = !([].keys && "next" in [].keys()); // Safari has buggy iterators w/o `next` - var FF_ITERATOR = "@@iterator"; - var KEYS = "keys"; - var VALUES = "values"; + __webpack_module_template_argument_8__ + )('iterator'); + var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` + var FF_ITERATOR = '@@iterator'; + var KEYS = 'keys'; + var VALUES = 'values'; var returnThis = function() { return this; @@ -72905,7 +97080,7 @@ return new Constructor(this, kind); }; }; - var TAG = NAME + " Iterator"; + var TAG = NAME + ' Iterator'; var DEF_VALUES = DEFAULT == VALUES; var VALUES_BUG = false; var proto = Base.prototype; @@ -72913,9 +97088,11 @@ proto[ITERATOR] || proto[FF_ITERATOR] || (DEFAULT && proto[DEFAULT]); var $default = $native || getMethod(DEFAULT); var $entries = DEFAULT - ? !DEF_VALUES ? $default : getMethod("entries") + ? !DEF_VALUES + ? $default + : getMethod('entries') : undefined; - var $anyNative = NAME == "Array" ? proto.entries || $native : $native; + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; var methods, key, IteratorPrototype; // Fix native if ($anyNative) { @@ -72927,7 +97104,7 @@ // Set @@toStringTag to native iterators setToStringTag(IteratorPrototype, TAG, true); // fix for some old engines - if (!LIBRARY && !has(IteratorPrototype, ITERATOR)) + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); } } @@ -72967,7 +97144,7 @@ /***/ }, - /* 880 */ + /* 845 */ /***/ function( module, exports, @@ -72978,7 +97155,7 @@ __webpack_module_template_argument_3__, __webpack_module_template_argument_4__ ) { - "use strict"; + 'use strict'; var create = __webpack_require__(__webpack_module_template_argument_0__); var descriptor = __webpack_require__( __webpack_module_template_argument_1__ @@ -72991,7 +97168,7 @@ // 25.1.2.1.1 %IteratorPrototype%[@@iterator]() __webpack_require__(__webpack_module_template_argument_3__)( IteratorPrototype, - __webpack_require__(__webpack_module_template_argument_4__)("iterator"), + __webpack_require__(__webpack_module_template_argument_4__)('iterator'), function() { return this; } @@ -73001,12 +97178,12 @@ Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); - setToStringTag(Constructor, NAME + " Iterator"); + setToStringTag(Constructor, NAME + ' Iterator'); }; /***/ }, - /* 881 */ + /* 846 */ /***/ function( module, exports, @@ -73017,7 +97194,7 @@ __webpack_module_template_argument_3__, __webpack_module_template_argument_4__ ) { - "use strict"; + 'use strict'; var addToUnscopables = __webpack_require__( __webpack_module_template_argument_0__ ); @@ -73037,7 +97214,7 @@ __webpack_module_template_argument_4__ )( Array, - "Array", + 'Array', function(iterated, kind) { this._t = toIObject(iterated); // target this._i = 0; // next index @@ -73052,23 +97229,23 @@ this._t = undefined; return step(1); } - if (kind == "keys") return step(0, index); - if (kind == "values") return step(0, O[index]); + if (kind == 'keys') return step(0, index); + if (kind == 'values') return step(0, O[index]); return step(0, [index, O[index]]); }, - "values" + 'values' ); // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) Iterators.Arguments = Iterators.Array; - addToUnscopables("keys"); - addToUnscopables("values"); - addToUnscopables("entries"); + addToUnscopables('keys'); + addToUnscopables('values'); + addToUnscopables('entries'); /***/ }, - /* 882 */ + /* 847 */ /***/ function( module, exports, @@ -73076,148 +97253,19 @@ __webpack_module_template_argument_0__ ) { __webpack_require__(__webpack_module_template_argument_0__)( - "asyncIterator" + 'asyncIterator' ); /***/ }, - /* 883 */ - /***/ function( - module, - exports, - __webpack_require__, - __webpack_module_template_argument_0__ - ) { - __webpack_require__(__webpack_module_template_argument_0__)("observable"); - - /***/ - }, - /* 884 */ + /* 848 */ /***/ function( module, exports, __webpack_require__, __webpack_module_template_argument_0__ ) { - /** - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - - 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__( - __webpack_module_template_argument_0__ - )(); - } - - /***/ - }, - /* 885 */ - /***/ function( - module, - exports, - __webpack_require__, - __webpack_module_template_argument_0__, - __webpack_module_template_argument_1__, - __webpack_module_template_argument_2__ - ) { - /** - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - - "use strict"; - - var emptyFunction = __webpack_require__( - __webpack_module_template_argument_0__ - ); - var invariant = __webpack_require__( - __webpack_module_template_argument_1__ - ); - var ReactPropTypesSecret = __webpack_require__( - __webpack_module_template_argument_2__ - ); - - 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, - - any: shim, - arrayOf: getShim, - element: shim, - instanceOf: getShim, - node: shim, - objectOf: getShim, - oneOf: getShim, - oneOfType: getShim, - shape: getShim, - exact: getShim - }; - - ReactPropTypes.checkPropTypes = emptyFunction; - ReactPropTypes.PropTypes = ReactPropTypes; - - return ReactPropTypes; - }; + __webpack_require__(__webpack_module_template_argument_0__)('observable'); /***/ } diff --git a/docs-site/src/example_components.jsx b/docs-site/src/example_components.jsx index 280077cab..8b6f86621 100644 --- a/docs-site/src/example_components.jsx +++ b/docs-site/src/example_components.jsx @@ -29,7 +29,6 @@ import MonthYearDropdown from "./examples/month_year_dropdown"; import MonthDropdownShort from "./examples/month_dropdown_short"; import YearSelectDropdown from "./examples/year_select_dropdown"; import Today from "./examples/today"; -import TimeZoneDate from "./examples/timezone_date"; import Inline from "./examples/inline"; import OpenToDate from "./examples/open_to_date"; import FixedCalendar from "./examples/fixed_calendar"; @@ -110,10 +109,6 @@ export default class exampleComponents extends React.Component { title: "Today button", component: }, - { - title: `TimeZone date`, - component: - }, { title: "Placeholder text", component: diff --git a/docs-site/src/examples.scss b/docs-site/src/examples.scss index f5ecc08a4..ba4b2b017 100644 --- a/docs-site/src/examples.scss +++ b/docs-site/src/examples.scss @@ -117,7 +117,3 @@ font: inherit; color: #fff; } - -.example__timezone-selector { - margin-left: 10px; -} diff --git a/docs-site/src/examples/calendar_container.jsx b/docs-site/src/examples/calendar_container.jsx index a098c23ac..5f4128b5c 100644 --- a/docs-site/src/examples/calendar_container.jsx +++ b/docs-site/src/examples/calendar_container.jsx @@ -3,13 +3,12 @@ import DatePicker, { CalendarContainer as OriginalContainer } from "react-datepicker"; import PropTypes from "prop-types"; -import moment from "moment"; export default class CalendarContainer extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } diff --git a/docs-site/src/examples/children.jsx b/docs-site/src/examples/children.jsx index 3f837eae9..fb54034a8 100644 --- a/docs-site/src/examples/children.jsx +++ b/docs-site/src/examples/children.jsx @@ -1,25 +1,26 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class Children extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - - - Don't forget to check the weather! - - + + + + + + Don't forget to check the weather! + + + - + ); } } diff --git a/docs-site/src/examples/clear_input.jsx b/docs-site/src/examples/clear_input.jsx index abab558e9..9331b09fa 100644 --- a/docs-site/src/examples/clear_input.jsx +++ b/docs-site/src/examples/clear_input.jsx @@ -1,25 +1,25 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class ClearInput extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + {` `} - - - + + + + - + ); } } diff --git a/docs-site/src/examples/configurePopper.jsx b/docs-site/src/examples/configurePopper.jsx index 8e278e8d7..cd5ca252c 100644 --- a/docs-site/src/examples/configurePopper.jsx +++ b/docs-site/src/examples/configurePopper.jsx @@ -1,25 +1,26 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class ConfigurePopper extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_calendar_class_name.jsx b/docs-site/src/examples/custom_calendar_class_name.jsx index ad14eb67e..484ac4ab2 100644 --- a/docs-site/src/examples/custom_calendar_class_name.jsx +++ b/docs-site/src/examples/custom_calendar_class_name.jsx @@ -1,38 +1,40 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class CustomCalendarClassName extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + {` `} - - - + + + + - + ); } } diff --git a/docs-site/src/examples/custom_class_name.jsx b/docs-site/src/examples/custom_class_name.jsx index 06c5845e2..84b265576 100644 --- a/docs-site/src/examples/custom_class_name.jsx +++ b/docs-site/src/examples/custom_class_name.jsx @@ -1,39 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class CustomClassName extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_date_format.jsx b/docs-site/src/examples/custom_date_format.jsx index fc65bae30..7baf7bc03 100644 --- a/docs-site/src/examples/custom_date_format.jsx +++ b/docs-site/src/examples/custom_date_format.jsx @@ -1,37 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import DatePicker from "react-datepicker"; export default class CustomDateFormat extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - - {' - {'dateFormat="YYYY/MM/DD"'} - {'selected={this.state.startDate}'} - {'onChange={this.handleChange} />'} - - - - + render() { + return ( + + + + {" + {'dateFormat="yyyy/MM/dd"'} + + {"selected={this.state.startDate}"} + + {"onChange={this.handleChange} />"} + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_day_class_names.jsx b/docs-site/src/examples/custom_day_class_names.jsx index 2b9270daa..d66bfdc47 100644 --- a/docs-site/src/examples/custom_day_class_names.jsx +++ b/docs-site/src/examples/custom_day_class_names.jsx @@ -1,39 +1,45 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import getDate from 'date-fns/getDate'; export default class CustomDayClassNames extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` date.date() < Math.random() * 31 ? 'random' : undefined} /> + dayClassName={date => getDate(date) < Math.random() * 31 ? 'random' : undefined} /> /> `} - - - - date.date() < Math.random() * 31 ? 'random' : undefined} /> + + + + + getDate(date) < Math.random() * 31 ? 'random' : undefined + } + /> + - + ); } } diff --git a/docs-site/src/examples/custom_input.jsx b/docs-site/src/examples/custom_input.jsx index 6e7b6ff9f..58b797b82 100644 --- a/docs-site/src/examples/custom_input.jsx +++ b/docs-site/src/examples/custom_input.jsx @@ -1,44 +1,43 @@ -import React from 'react' -import PropTypes from 'prop-types' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import PropTypes from "prop-types"; +import DatePicker from "react-datepicker"; /* eslint-disable react/no-multi-comp */ class ExampleCustomInput extends React.Component { static propTypes = { onClick: PropTypes.func, value: PropTypes.string - } + }; - render () { + render() { return ( - + {this.props.value} - ) + ); } } export default class CustomInput extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` class ExampleCustomInput extends React.Component { render () { @@ -64,14 +63,16 @@ ExampleCustomInput.propTypes = { selected={this.state.startDate} onChange={this.handleChange} /> `} - - - - } - selected={this.state.startDate} - onChange={this.handleChange} /> + + + + } + selected={this.state.startDate} + onChange={this.handleChange} + /> + - + ); } } diff --git a/docs-site/src/examples/date_range.jsx b/docs-site/src/examples/date_range.jsx index 2151f9992..8b0c7c30d 100644 --- a/docs-site/src/examples/date_range.jsx +++ b/docs-site/src/examples/date_range.jsx @@ -1,35 +1,37 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import isAfter from 'date-fns/isAfter'; export default class DateRange extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment('2014-02-08'), - endDate: moment('2014-02-10') - } + startDate: new Date('2014/02/08'), + endDate: new Date('2014/02/10') + }; } handleChange = ({ startDate, endDate }) => { - startDate = startDate || this.state.startDate - endDate = endDate || this.state.endDate + startDate = startDate || this.state.startDate; + endDate = endDate || this.state.endDate; - if (startDate.isAfter(endDate)) { - endDate = startDate + if (isAfter(startDate, endDate)) { + endDate = startDate; } - this.setState({ startDate, endDate }) - } + this.setState({ startDate, endDate }); + }; - handleChangeStart = (startDate) => this.handleChange({ startDate }) + handleChangeStart = startDate => this.handleChange({ startDate }); - handleChangeEnd = (endDate) => this.handleChange({ endDate }) + handleChangeEnd = endDate => this.handleChange({ endDate }); - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - - + + + + + + - + ); } } diff --git a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx index a1bd3d39c..2fcf0edf3 100644 --- a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx +++ b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addMonths from "date-fns/addMonths"; export default class DateRangeWithShowDisabledNavigation extends React.Component { state = { @@ -17,12 +17,13 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component return ( - {` + + {` @@ -33,9 +34,10 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component + minDate={new Date()} + maxDate={addMonths(new Date(), 5)} + showDisabledMonthNavigation + /> ); diff --git a/docs-site/src/examples/default.jsx b/docs-site/src/examples/default.jsx index 044d6d8c6..62ef0f6f0 100644 --- a/docs-site/src/examples/default.jsx +++ b/docs-site/src/examples/default.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } diff --git a/docs-site/src/examples/disabled_keyboard_navigation.jsx b/docs-site/src/examples/disabled_keyboard_navigation.jsx index 7406323a0..4353faaa1 100644 --- a/docs-site/src/examples/disabled_keyboard_navigation.jsx +++ b/docs-site/src/examples/disabled_keyboard_navigation.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DisabledKeyboardNavigation extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -37,7 +36,8 @@ export default class DisabledKeyboardNavigation extends React.Component { selected={this.state.startDate} onChange={this.handleChange} disabledKeyboardNavigation - placeholderText="This has disabled keyboard navigation"/> + placeholderText="This has disabled keyboard navigation" + /> ); diff --git a/docs-site/src/examples/dont_close_onSelect.jsx b/docs-site/src/examples/dont_close_onSelect.jsx index d3ecd69c3..831bff3c7 100644 --- a/docs-site/src/examples/dont_close_onSelect.jsx +++ b/docs-site/src/examples/dont_close_onSelect.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DontCloseOnSelect extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class DontCloseOnSelect extends React.Component { + shouldCloseOnSelect={false} + /> ); diff --git a/docs-site/src/examples/exclude_dates.jsx b/docs-site/src/examples/exclude_dates.jsx index 3f26cb05e..882915224 100644 --- a/docs-site/src/examples/exclude_dates.jsx +++ b/docs-site/src/examples/exclude_dates.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import subDays from "date-fns/subDays"; export default class ExcludeDates extends React.Component { state = { @@ -25,7 +25,7 @@ export default class ExcludeDates extends React.Component { {" onChange={this.handleChange}"} - {' excludeDates={[moment(), moment().subtract(1, "days")]}'} + {" excludeDates={[new Date(), subDays(new Date(), 1)]}"} { @@ -37,8 +37,9 @@ export default class ExcludeDates extends React.Component { + excludeDates={[new Date(), subDays(new Date(), 1)]} + placeholderText="Select a date other than today or yesterday" + /> ); diff --git a/docs-site/src/examples/exclude_time_period.jsx b/docs-site/src/examples/exclude_time_period.jsx index 635b21998..7317f243b 100644 --- a/docs-site/src/examples/exclude_time_period.jsx +++ b/docs-site/src/examples/exclude_time_period.jsx @@ -1,12 +1,11 @@ -import React from "react"; -import DatePicker from "react-datepicker"; -import moment from "moment"; +import React from 'react'; +import DatePicker from 'react-datepicker'; +import setMinutes from 'date-fns/setMinutes'; +import setHours from 'date-fns/setHours'; export default class ExcludeTimePeriod extends React.Component { state = { - startDate: moment() - .hours(17) - .minutes(30) + startDate: setHours(setMinutes(new Date(), 30), 17) }; handleChange = date => { @@ -20,23 +19,23 @@ export default class ExcludeTimePeriod extends React.Component { - {" - {" selected={this.state.startDate}"} + {' selected={this.state.startDate}'} - {" onChange={this.handleChange}"} + {' onChange={this.handleChange}'} - {" showTimeSelect"} + {' showTimeSelect'} - {" minTime={moment().hours(17).minutes(0)}"} + {' minTime={setHours(setMinutes(new Date(), 0), 17)}'} - {" maxTime={moment().hours(20).minutes(30)}"} + {' maxTime={setHours(setMinutes(new Date(), 30), 20)}'} - {' dateFormat="LLL"'} + {' dateFormat="MMMM d, yyyy"'} - {"/>"} + {'/>'} @@ -44,13 +43,10 @@ export default class ExcludeTimePeriod extends React.Component { selected={this.state.startDate} onChange={this.handleChange} showTimeSelect - minTime={moment() - .hours(17) - .minutes(0)} - maxTime={moment() - .hours(20) - .minutes(30)} - dateFormat="LLL"/> + minTime={setHours(setMinutes(new Date(), 0), 17)} + maxTime={setHours(setMinutes(new Date(), 30), 20)} + dateFormat="MMMM d, yyyy h:mm aa" + /> ); diff --git a/docs-site/src/examples/exclude_times.jsx b/docs-site/src/examples/exclude_times.jsx index 1d4951e45..38a9bf50c 100644 --- a/docs-site/src/examples/exclude_times.jsx +++ b/docs-site/src/examples/exclude_times.jsx @@ -1,12 +1,11 @@ -import React from "react"; -import DatePicker from "react-datepicker"; -import moment from "moment"; +import React from 'react'; +import DatePicker from 'react-datepicker'; +import setMinutes from 'date-fns/setMinutes'; +import setHours from 'date-fns/setHours'; export default class ExcludeTimes extends React.Component { state = { - startDate: moment() - .hours(16) - .minutes(30) + startDate: setHours(setMinutes(new Date(), 30), 16) }; handleChange = date => { @@ -20,23 +19,23 @@ export default class ExcludeTimes extends React.Component { - {" - {" selected={this.state.startDate}"} + {' selected={this.state.startDate}'} - {" onChange={this.handleChange}"} + {' onChange={this.handleChange}'} - {" showTimeSelect"} + {' showTimeSelect'} { - " excludeTimes={[moment().hours(17).minutes(0), moment().hours(18).minutes(30), moment().hours(19).minutes(30)], moment().hours(17).minutes(30)}" + ' excludeTimes={[setHours(setMinutes(new Date(), 0), 17), setHours(setMinutes(new Date(), 30), 18), setHours(setMinutes(new Date(), 30), 19), setHours(setMinutes(new Date(), 30), 17)]}' } - {' dateFormat="LLL"'} + {' dateFormat="MMMM d, yyyy h:mm aa"'} - {"/>"} + {'/>'} @@ -45,20 +44,13 @@ export default class ExcludeTimes extends React.Component { onChange={this.handleChange} showTimeSelect excludeTimes={[ - moment() - .hours(17) - .minutes(0), - moment() - .hours(18) - .minutes(30), - moment() - .hours(19) - .minutes(30), - moment() - .hours(17) - .minutes(30) + setHours(setMinutes(new Date(), 0), 17), + setHours(setMinutes(new Date(), 30), 18), + setHours(setMinutes(new Date(), 30), 19), + setHours(setMinutes(new Date(), 30), 17) ]} - dateFormat="LLL"/> + dateFormat="MMMM d, yyyy h:mm aa" + /> ); diff --git a/docs-site/src/examples/filter_dates.jsx b/docs-site/src/examples/filter_dates.jsx index 3a8c5cf1b..25673a781 100644 --- a/docs-site/src/examples/filter_dates.jsx +++ b/docs-site/src/examples/filter_dates.jsx @@ -1,5 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; +import getDay from "date-fns/getDay"; export default class FilterDates extends React.Component { state = { @@ -13,7 +14,7 @@ export default class FilterDates extends React.Component { }; isWeekday = date => { - const day = date.day(); + const day = getDay(date); return day !== 0 && day !== 6; }; @@ -38,7 +39,8 @@ export default class FilterDates extends React.Component { selected={this.state.date} onChange={this.handleChange} filterDate={this.isWeekday} - placeholderText="Select a weekday"/> + placeholderText="Select a weekday" + /> ); diff --git a/docs-site/src/examples/highlight_dates.jsx b/docs-site/src/examples/highlight_dates.jsx index 26e5457b4..31ee92c79 100644 --- a/docs-site/src/examples/highlight_dates.jsx +++ b/docs-site/src/examples/highlight_dates.jsx @@ -1,6 +1,7 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addDays from "date-fns/addDays"; +import subDays from "date-fns/subDays"; export default class highlightDates extends React.Component { state = { @@ -26,7 +27,7 @@ export default class highlightDates extends React.Component { { - 'highlightDates={[moment().subtract(7, "days"), moment().add(7, "days")]}' + "highlightDates={[subDays(new Date(), 7), addDays(new Date(), 7)]}" } @@ -39,11 +40,9 @@ export default class highlightDates extends React.Component { + highlightDates={[subDays(new Date(), 7), addDays(new Date(), 7)]} + placeholderText="This highlights a week ago and a week from today" + /> ); diff --git a/docs-site/src/examples/highlight_dates_with_ranges.jsx b/docs-site/src/examples/highlight_dates_with_ranges.jsx index 986273ce4..d01164e50 100644 --- a/docs-site/src/examples/highlight_dates_with_ranges.jsx +++ b/docs-site/src/examples/highlight_dates_with_ranges.jsx @@ -1,6 +1,7 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addDays from "date-fns/addDays"; +import subDays from "date-fns/subDays"; export default class highlightDatesRanges extends React.Component { constructor(props) { @@ -8,18 +9,18 @@ export default class highlightDatesRanges extends React.Component { this.highlightWithRanges = [ { "react-datepicker__day--highlighted-custom-1": [ - moment().subtract(4, "days"), - moment().subtract(3, "days"), - moment().subtract(2, "days"), - moment().subtract(1, "days") + subDays(new Date(), 4), + subDays(new Date(), 3), + subDays(new Date(), 2), + subDays(new Date(), 1) ] }, { "react-datepicker__day--highlighted-custom-2": [ - moment().add(1, "days"), - moment().add(2, "days"), - moment().add(3, "days"), - moment().add(4, "days") + addDays(new Date(), 1), + addDays(new Date(), 2), + addDays(new Date(), 3), + addDays(new Date(), 4) ] } ]; @@ -48,25 +49,25 @@ export default class highlightDatesRanges extends React.Component { {' { "react-datepicker__day--highlighted-custom-1": ['} - {' moment().subtract(4, "days"),'} + {" subDays(new Date(), 4),"} - {' moment().subtract(3, "days"),'} + {" subDays(new Date(), 3),"} - {' moment().subtract(2, "days"),'} + {" subDays(new Date(), 2),"} - {' moment().subtract(1, "days") ]'} + {" subDays(new Date(), 1) ]"} {" },"} {' { "react-datepicker__day--highlighted-custom-2": ['} - {' moment().add(1, "days"),'} + {" addDays(new Date(), 1),"} - {' moment().add(2, "days"),'} + {" addDays(new Date(), 2),"} - {' moment().add(3, "days"),'} + {" addDays(new Date(), 3),"} - {' moment().add(4, "days") ]'} + {" addDays(new Date(), 4) ]"} {" }"} @@ -94,7 +95,8 @@ export default class highlightDatesRanges extends React.Component { selected={this.state.startDate} onChange={this.handleChange} highlightDates={this.highlightWithRanges} - placeholderText="This highlight two ranges with custom classes"/> + placeholderText="This highlight two ranges with custom classes" + /> ); diff --git a/docs-site/src/examples/include_dates.jsx b/docs-site/src/examples/include_dates.jsx index 6f0503db2..398daf008 100644 --- a/docs-site/src/examples/include_dates.jsx +++ b/docs-site/src/examples/include_dates.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addDays from "date-fns/addDays"; export default class includeDates extends React.Component { state = { @@ -25,7 +25,7 @@ export default class includeDates extends React.Component { {"onChange={this.handleChange}"} - {'includeDates={[moment(), moment().add(1, "days")]}'} + {"includeDates={[new Date(), addDays(new Date(), 1)]}"} {'placeholderText="This only includes today and tomorrow" />'} @@ -35,8 +35,9 @@ export default class includeDates extends React.Component { + includeDates={[new Date(), addDays(new Date(), 1)]} + placeholderText="This only includes today and tomorrow" + /> ); diff --git a/docs-site/src/examples/include_times.jsx b/docs-site/src/examples/include_times.jsx index bc59f2047..c2ccb0cf3 100644 --- a/docs-site/src/examples/include_times.jsx +++ b/docs-site/src/examples/include_times.jsx @@ -1,12 +1,11 @@ -import React from "react"; -import DatePicker from "react-datepicker"; -import moment from "moment"; +import React from 'react'; +import DatePicker from 'react-datepicker'; +import setMinutes from 'date-fns/setMinutes'; +import setHours from 'date-fns/setHours'; export default class IncludeTimes extends React.Component { state = { - startDate: moment() - .hours(16) - .minutes(30) + startDate: setHours(setMinutes(new Date(), 30), 16) }; handleChange = date => { @@ -20,23 +19,23 @@ export default class IncludeTimes extends React.Component { - {" - {" selected={this.state.startDate}"} + {' selected={this.state.startDate}'} - {" onChange={this.handleChange}"} + {' onChange={this.handleChange}'} - {" showTimeSelect"} + {' showTimeSelect'} { - " includeTimes={[moment().hours(17).minutes(0), moment().hours(18).minutes(30), moment().hours(19).minutes(30)], moment().hours(17).minutes(30)}" + ' includeTimes={[setHours(setMinutes(new Date(), 0), 17), setHours(setMinutes(new Date(), 30), 18), setHours(setMinutes(new Date(), 30), 19), setHours(setMinutes(new Date(), 30), 17)]}' } - {' dateFormat="LLL"'} + {' dateFormat="MMMM d, yyyy h:mm aa"'} - {"/>"} + {'/>'} @@ -45,20 +44,13 @@ export default class IncludeTimes extends React.Component { onChange={this.handleChange} showTimeSelect includeTimes={[ - moment() - .hours(17) - .minutes(0), - moment() - .hours(18) - .minutes(30), - moment() - .hours(19) - .minutes(30), - moment() - .hours(17) - .minutes(30) + setHours(setMinutes(new Date(), 0), 17), + setHours(setMinutes(new Date(), 30), 18), + setHours(setMinutes(new Date(), 30), 19), + setHours(setMinutes(new Date(), 30), 17) ]} - dateFormat="LLL"/> + dateFormat="MMMM d, yyyy h:mm aa" + /> ); diff --git a/docs-site/src/examples/inject_times.jsx b/docs-site/src/examples/inject_times.jsx index 0f238f1c9..547488618 100644 --- a/docs-site/src/examples/inject_times.jsx +++ b/docs-site/src/examples/inject_times.jsx @@ -1,12 +1,11 @@ -import React from "react"; -import DatePicker from "react-datepicker"; -import moment from "moment"; +import React from 'react'; +import DatePicker from 'react-datepicker'; +import setMinutes from 'date-fns/setMinutes'; +import setHours from 'date-fns/setHours'; export default class InjectTimes extends React.Component { state = { - startDate: moment() - .hours(16) - .minutes(30) + startDate: setHours(setMinutes(new Date(), 30), 16) }; handleChange = date => { @@ -28,11 +27,11 @@ export default class InjectTimes extends React.Component { {` showTimeSelect timeFormat="HH:mm" injectTimes={[ - moment().hours(0).minutes(1), - moment().hours(12).minutes(5), - moment().hours(23).minutes(59) + setHours(setMinutes(new Date(), 1), 0), + setHours(setMinutes(new Date(), 5), 12), + setHours(setMinutes(new Date(), 59), 23) ]} - dateFormat="LLL" + dateFormat="MMMM d, yyyy h:mm aa" /> `} @@ -44,17 +43,11 @@ export default class InjectTimes extends React.Component { showTimeSelect timeFormat="HH:mm" injectTimes={[ - moment() - .hours(0) - .minutes(1), - moment() - .hours(12) - .minutes(5), - moment() - .hours(23) - .minutes(59) + setHours(setMinutes(new Date(), 1), 0), + setHours(setMinutes(new Date(), 5), 12), + setHours(setMinutes(new Date(), 59), 23) ]} - dateFormat="LLL" + dateFormat="MMMM d, yyyy h:mm aa" /> diff --git a/docs-site/src/examples/inline.jsx b/docs-site/src/examples/inline.jsx index 8b4d29dfe..eab828537 100644 --- a/docs-site/src/examples/inline.jsx +++ b/docs-site/src/examples/inline.jsx @@ -1,13 +1,12 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Inline extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } diff --git a/docs-site/src/examples/inline_portal.jsx b/docs-site/src/examples/inline_portal.jsx index 7b42aa54e..1ebc38ee1 100644 --- a/docs-site/src/examples/inline_portal.jsx +++ b/docs-site/src/examples/inline_portal.jsx @@ -1,12 +1,12 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import format from "date-fns/format"; export default class InlinePortalVersion extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment(), + startDate: new Date(), isOpen: false }; } @@ -41,7 +41,7 @@ toggleCalendar (e) { - {this.state.startDate.format("DD-MM-YYYY")} + {format(this.state.startDate, "dd-MM-yyyy")} { this.state.isOpen && ( @@ -59,15 +59,17 @@ toggleCalendar (e) { - {this.state.startDate.format("DD-MM-YYYY")} + onClick={this.toggleCalendar} + > + {format(this.state.startDate, "dd-MM-yyyy")} {this.state.isOpen && ( + inline + /> )} diff --git a/docs-site/src/examples/locale.jsx b/docs-site/src/examples/locale.jsx index 7ee3444a9..b2467aa15 100644 --- a/docs-site/src/examples/locale.jsx +++ b/docs-site/src/examples/locale.jsx @@ -1,5 +1,8 @@ import React from "react"; -import DatePicker from "react-datepicker"; +import DatePicker, { registerLocale } from "react-datepicker"; +import enGB from "date-fns/locale/en-GB"; + +registerLocale("en-GB", enGB); export default class CustomStartDate extends React.Component { state = { @@ -17,13 +20,18 @@ export default class CustomStartDate extends React.Component { + {"import enGB from 'date-fns/locale/en-GB';"} + + {"registerLocale('en-GB', enGB);"} + + {" {" selected={this.state.startDate}"} {" onChange={this.handleChange}"} - {' locale="en-gb"'} + {' locale="en-GB"'} {' placeholderText="Weeks start on Monday" />'} @@ -32,8 +40,9 @@ export default class CustomStartDate extends React.Component { + locale="en-GB" + placeholderText="Weeks start on Monday" + /> ); diff --git a/docs-site/src/examples/month_dropdown.jsx b/docs-site/src/examples/month_dropdown.jsx index 3e465695b..1c51b6fcd 100644 --- a/docs-site/src/examples/month_dropdown.jsx +++ b/docs-site/src/examples/month_dropdown.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class MonthDropdown extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class MonthDropdown extends React.Component { + showMonthDropdown + /> ); diff --git a/docs-site/src/examples/month_dropdown_short.jsx b/docs-site/src/examples/month_dropdown_short.jsx index dfab08989..7744d69b9 100644 --- a/docs-site/src/examples/month_dropdown_short.jsx +++ b/docs-site/src/examples/month_dropdown_short.jsx @@ -1,25 +1,26 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class MonthDropdownShort extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/month_year_dropdown.jsx b/docs-site/src/examples/month_year_dropdown.jsx index 3cdc05264..6c8c46a2d 100644 --- a/docs-site/src/examples/month_year_dropdown.jsx +++ b/docs-site/src/examples/month_year_dropdown.jsx @@ -1,46 +1,50 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import addMonths from 'date-fns/addMonths'; +import subMonths from 'date-fns/subMonths'; export default class MonthYearDropdown extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/multi_month.jsx b/docs-site/src/examples/multi_month.jsx index 395709e87..05873a70e 100644 --- a/docs-site/src/examples/multi_month.jsx +++ b/docs-site/src/examples/multi_month.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class MultiMonth extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class MultiMonth extends React.Component { + selected={this.state.startDate} + /> ); diff --git a/docs-site/src/examples/multi_month_drp.jsx b/docs-site/src/examples/multi_month_drp.jsx index 51c1a3204..675006fd6 100644 --- a/docs-site/src/examples/multi_month_drp.jsx +++ b/docs-site/src/examples/multi_month_drp.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class MultiMonthDrp extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -36,7 +35,8 @@ export default class MultiMonthDrp extends React.Component { monthsShown={2} onChange={this.handleChange} showYearDropdown - selected={this.state.startDate}/> + selected={this.state.startDate} + /> ); diff --git a/docs-site/src/examples/multi_month_inline.jsx b/docs-site/src/examples/multi_month_inline.jsx index eaee13513..1b6b5b19f 100644 --- a/docs-site/src/examples/multi_month_inline.jsx +++ b/docs-site/src/examples/multi_month_inline.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class MultiMonthInline extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } diff --git a/docs-site/src/examples/on_blur_callbacks.jsx b/docs-site/src/examples/on_blur_callbacks.jsx index ea5e144fa..0a6fe279a 100644 --- a/docs-site/src/examples/on_blur_callbacks.jsx +++ b/docs-site/src/examples/on_blur_callbacks.jsx @@ -1,5 +1,7 @@ import React from "react"; import DatePicker from "react-datepicker"; +import format from "date-fns/format"; +import isValid from "date-fns/isValid"; export default class Disabled extends React.Component { state = { @@ -13,10 +15,9 @@ export default class Disabled extends React.Component { }; handleOnBlur = date => { - if (date === null) { - console.log("selected date: %s", date); - } else { - console.log("selected date: %s", date.format("DD/MM/YYYY")); + const selectedDate = new Date(date); + if (isValid(date)) { + console.log("selected date: %s", format(selectedDate, "dd/MM/yyyy")); } }; @@ -27,11 +28,11 @@ export default class Disabled extends React.Component { {` handleOnBlur: function (date) { - if (date === null) { - console.log("selected date: %s", date); - } - else { - console.log("selected date: %s", date.format("DD/MM/YYYY")); + const date = new Date(event.target.value); + if (isValid(date)) { + console.log("selected date: %s", format(date, "dd/MM/yyyy")); + } else { + console.log("selected date: %s", event.target.value); } };'} `} @@ -57,7 +58,8 @@ handleOnBlur: function (date) { selected={this.state.startDate} onChange={this.handleChange} onBlur={this.handleOnBlur} - placeholderText="View blur callbacks in console"/> + placeholderText="View blur callbacks in console" + /> ); diff --git a/docs-site/src/examples/open_to_date.jsx b/docs-site/src/examples/open_to_date.jsx index 9dda03b4c..4c16e4feb 100644 --- a/docs-site/src/examples/open_to_date.jsx +++ b/docs-site/src/examples/open_to_date.jsx @@ -1,6 +1,5 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class OpenToDate extends React.Component { state = { @@ -20,7 +19,7 @@ export default class OpenToDate extends React.Component { {` @@ -29,9 +28,10 @@ export default class OpenToDate extends React.Component { + onChange={this.handleChange} + /> ); diff --git a/docs-site/src/examples/portal.jsx b/docs-site/src/examples/portal.jsx index 0953db9f5..cf9b06108 100644 --- a/docs-site/src/examples/portal.jsx +++ b/docs-site/src/examples/portal.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class WithPortal extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class WithPortal extends React.Component { + withPortal + /> ); diff --git a/docs-site/src/examples/raw_change.jsx b/docs-site/src/examples/raw_change.jsx index bc7672941..6ecf9ccb5 100644 --- a/docs-site/src/examples/raw_change.jsx +++ b/docs-site/src/examples/raw_change.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addDays from "date-fns/addDays"; export default class RawChanges extends React.Component { state = { @@ -15,7 +15,7 @@ export default class RawChanges extends React.Component { handleChangeRaw = value => { if (value === "tomorrow") { - this.handleChange(moment().add(1, "day")); + this.handleChange(addDays(new Date(), 1)); } }; @@ -27,7 +27,7 @@ export default class RawChanges extends React.Component { {` handleChangeRaw(value) { if(value === "tomorrow") { - const tomorrow = moment().add(1, "day") + const tomorrow = addDays(new Date(), 1) this.handleChange(tomorrow) } } @@ -46,7 +46,8 @@ handleChangeRaw(value) { selected={this.state.startDate} onChange={this.handleChange} placeholderText="Enter "tomorrow"" - onChangeRaw={event => this.handleChangeRaw(event.target.value)}/> + onChangeRaw={event => this.handleChangeRaw(event.target.value)} + /> ); diff --git a/docs-site/src/examples/render_custom_header.jsx b/docs-site/src/examples/render_custom_header.jsx index 2f4977940..3f1733ef6 100644 --- a/docs-site/src/examples/render_custom_header.jsx +++ b/docs-site/src/examples/render_custom_header.jsx @@ -1,16 +1,30 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; import range from "lodash/range"; +import getYear from "date-fns/getYear"; +import getMonth from "date-fns/getMonth"; -const years = range(1990, moment().year() + 1, 1); -const months = moment.months(); +const years = range(1990, getYear(new Date()) + 1, 1); +const months = [ + "January", + "February", + "March", + "April", + "May", + "June", + "July", + "August", + "September", + "October", + "November", + "December" +]; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -67,7 +81,7 @@ export default class Default extends React.Component { {"<"} changeYear(value)} > {years.map(option => ( @@ -78,7 +92,7 @@ export default class Default extends React.Component { changeMonth(value)} > {months.map(option => ( diff --git a/docs-site/src/examples/show_time.jsx b/docs-site/src/examples/show_time.jsx index 7d42a8163..2ad43a216 100644 --- a/docs-site/src/examples/show_time.jsx +++ b/docs-site/src/examples/show_time.jsx @@ -1,12 +1,11 @@ -import React from "react"; -import DatePicker from "react-datepicker"; -import moment from "moment"; +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class ShowTime extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -29,7 +28,7 @@ export default class ShowTime extends React.Component { {` showTimeSelect timeFormat="HH:mm" timeIntervals={15} - dateFormat="LLL" + dateFormat="MMMM d, yyyy h:mm aa" timeCaption="time" /> `} @@ -43,7 +42,8 @@ export default class ShowTime extends React.Component { timeFormat="HH:mm" timeIntervals={15} timeCaption="time" - dateFormat="LLL"/> + dateFormat="MMMM d, yyyy h:mm aa" + /> ); diff --git a/docs-site/src/examples/show_time_only.jsx b/docs-site/src/examples/show_time_only.jsx index 1fce677d1..3078494ba 100644 --- a/docs-site/src/examples/show_time_only.jsx +++ b/docs-site/src/examples/show_time_only.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class ShowTimeOnly extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -29,7 +28,7 @@ export default class ShowTimeOnly extends React.Component { {` showTimeSelect showTimeSelectOnly timeIntervals={15} - dateFormat="LT" + dateFormat="h:mm aa" timeCaption="Time" /> `} @@ -43,7 +42,8 @@ export default class ShowTimeOnly extends React.Component { showTimeSelectOnly timeIntervals={15} timeCaption="Time" - dateFormat="LT"/> + dateFormat="h:mm aa" + /> ); diff --git a/docs-site/src/examples/specific_date_range.jsx b/docs-site/src/examples/specific_date_range.jsx index 2e5620179..f579e7cb3 100644 --- a/docs-site/src/examples/specific_date_range.jsx +++ b/docs-site/src/examples/specific_date_range.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addDays from "date-fns/addDays"; export default class SpecificDateRange extends React.Component { state = { @@ -24,9 +24,9 @@ export default class SpecificDateRange extends React.Component { {" onChange={this.handleChange}"} - {" minDate={moment()}"} + {" minDate={new Date()}"} - {' maxDate={moment().add(5, "days")}'} + {" maxDate={addDays(new Date(), 5)}"} { ' placeholderText="Select a date between today and 5 days in the future"' @@ -39,9 +39,10 @@ export default class SpecificDateRange extends React.Component { + minDate={new Date()} + maxDate={addDays(new Date(), 5)} + placeholderText="Select a date between today and 5 days in the future" + /> ); diff --git a/docs-site/src/examples/tab_index.jsx b/docs-site/src/examples/tab_index.jsx index 0db450f7a..3da55544f 100644 --- a/docs-site/src/examples/tab_index.jsx +++ b/docs-site/src/examples/tab_index.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class TabIndex extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class TabIndex extends React.Component { + tabIndex={1} + /> ); diff --git a/docs-site/src/examples/timezone_date.jsx b/docs-site/src/examples/timezone_date.jsx deleted file mode 100644 index bf1e8cc20..000000000 --- a/docs-site/src/examples/timezone_date.jsx +++ /dev/null @@ -1,91 +0,0 @@ -import React from "react"; - -import DatePicker from "react-datepicker"; - -export default class TimeZoneDate extends React.Component { - state = { - startDate: null, - utcOffset: -4 - }; - - timezoneNames = [ - { name: "GMT+10", value: 10 }, - { name: "GMT+8", value: 8 }, - { name: "GMT+4", value: 4 }, - { name: "GMT+1", value: 1 }, - { name: "GMT", value: 0 }, - { name: "GMT-3", value: -3 }, - { name: "GMT-4", value: -4 }, - { name: "GMT-8", value: -8 }, - { name: "GMT-10", value: -10 } - ]; - - handleChange = date => { - this.setState({ - startDate: date - }); - }; - - handleTmzChange = event => { - this.setState({ - utcOffset: parseInt(event.target.value, 10) - }); - }; - - getOffsetLabel = tmz => { - const obj = this.timezoneNames.find(({ value }) => value === tmz); - return (obj && obj.name) || ""; - }; - - render() { - const selected = - this.state.startDate && - this.state.startDate.clone().utcOffset(this.state.utcOffset); - const utcText = this.getOffsetLabel(this.state.utcOffset); - const todayTxt = `Today in ${utcText}`; - - return ( - - - - {` - -`} - - - - - - - Timezone Offset: - - GMT+10:00 - GMT+08:00 - GMT+04:00 - GMT+01:00 - GMT - GMT-03:00 - GMT-04:00 - GMT-08:00 - GMT-10:00 - - - - - ); - } -} diff --git a/docs-site/src/examples/today.jsx b/docs-site/src/examples/today.jsx index 84aee3fac..72c73c8f3 100644 --- a/docs-site/src/examples/today.jsx +++ b/docs-site/src/examples/today.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Today extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class Today extends React.Component { + onChange={this.handleChange} + /> ); diff --git a/docs-site/src/examples/week_numbers.jsx b/docs-site/src/examples/week_numbers.jsx index 80528057a..a31f0306e 100644 --- a/docs-site/src/examples/week_numbers.jsx +++ b/docs-site/src/examples/week_numbers.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class Default extends React.Component { + showWeekNumbers + /> ); diff --git a/docs-site/src/examples/year_dropdown.jsx b/docs-site/src/examples/year_dropdown.jsx index 26a7a6f78..29782ee74 100644 --- a/docs-site/src/examples/year_dropdown.jsx +++ b/docs-site/src/examples/year_dropdown.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class YearDropdown extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -40,7 +39,8 @@ export default class YearDropdown extends React.Component { showYearDropdown dateFormatCalendar="MMMM" yearDropdownItemNumber={15} - scrollableYearDropdown/> + scrollableYearDropdown + /> ); diff --git a/docs-site/src/examples/year_select_dropdown.jsx b/docs-site/src/examples/year_select_dropdown.jsx index bdb17af35..f6d071a6b 100644 --- a/docs-site/src/examples/year_select_dropdown.jsx +++ b/docs-site/src/examples/year_select_dropdown.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class YearDropdown extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -40,7 +39,8 @@ export default class YearDropdown extends React.Component { peekNextMonth showMonthDropdown showYearDropdown - dropdownMode="select"/> + dropdownMode="select" + /> ); diff --git a/docs-site/src/hero_example.jsx b/docs-site/src/hero_example.jsx index 31b3361be..9422e7884 100644 --- a/docs-site/src/hero_example.jsx +++ b/docs-site/src/hero_example.jsx @@ -1,25 +1,27 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class HeroExample extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return + render() { + return ( + + ); } } diff --git a/docs-site/style.css b/docs-site/style.css index c347072a8..52e8dc58d 100644 --- a/docs-site/style.css +++ b/docs-site/style.css @@ -1,19 +1,19 @@ -.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, -.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow, .react-datepicker__month-read-view--down-arrow, .react-datepicker__month-year-read-view--down-arrow { margin-left: -8px; position: absolute; } -.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, -.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow, .react-datepicker__month-read-view--down-arrow, .react-datepicker__month-year-read-view--down-arrow, -.react-datepicker-popper[data-placement^="bottom"] +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle::before, -.react-datepicker-popper[data-placement^="top"] +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before, .react-datepicker__month-read-view--down-arrow::before, @@ -24,48 +24,48 @@ height: 0; width: 1px; } -.react-datepicker-popper[data-placement^="bottom"] +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle::before, -.react-datepicker-popper[data-placement^="top"] +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before, .react-datepicker__month-read-view--down-arrow::before, .react-datepicker__month-year-read-view--down-arrow::before { - content: ""; + content: ''; z-index: -1; border-width: 8px; left: -8px; border-bottom-color: #aeaeae; } -.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle { +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle { top: 0; margin-top: -8px; } -.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, -.react-datepicker-popper[data-placement^="bottom"] +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle::before { border-top: none; border-bottom-color: #f0f0f0; } -.react-datepicker-popper[data-placement^="bottom"] +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle::before { top: -1px; border-bottom-color: #aeaeae; } -.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow, .react-datepicker__month-read-view--down-arrow, .react-datepicker__month-year-read-view--down-arrow { bottom: 0; margin-bottom: -8px; } -.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow, .react-datepicker__month-read-view--down-arrow, .react-datepicker__month-year-read-view--down-arrow, -.react-datepicker-popper[data-placement^="top"] +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before, .react-datepicker__month-read-view--down-arrow::before, @@ -73,7 +73,7 @@ border-bottom: none; border-top-color: #fff; } -.react-datepicker-popper[data-placement^="top"] +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before, .react-datepicker__month-read-view--down-arrow::before, @@ -87,7 +87,7 @@ } .react-datepicker { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 0.8rem; background-color: #fff; color: #000; @@ -121,23 +121,23 @@ .react-datepicker-popper { z-index: 1; } -.react-datepicker-popper[data-placement^="bottom"] { +.react-datepicker-popper[data-placement^='bottom'] { margin-top: 10px; } -.react-datepicker-popper[data-placement^="top"] { +.react-datepicker-popper[data-placement^='top'] { margin-bottom: 10px; } -.react-datepicker-popper[data-placement^="right"] { +.react-datepicker-popper[data-placement^='right'] { margin-left: 8px; } -.react-datepicker-popper[data-placement^="right"] .react-datepicker__triangle { +.react-datepicker-popper[data-placement^='right'] .react-datepicker__triangle { left: auto; right: 42px; } -.react-datepicker-popper[data-placement^="left"] { +.react-datepicker-popper[data-placement^='left'] { margin-right: 8px; } -.react-datepicker-popper[data-placement^="left"] .react-datepicker__triangle { +.react-datepicker-popper[data-placement^='left'] .react-datepicker__triangle { left: 42px; right: auto; } @@ -571,7 +571,7 @@ bottom: 0; box-sizing: border-box; color: #fff; - content: "\D7"; + content: '\D7'; cursor: pointer; font-size: 12px; height: 16px; @@ -770,7 +770,7 @@ q:before, q:after, blockquote:before, blockquote:after { - content: ""; + content: ''; content: none; } @@ -1068,10 +1068,6 @@ github.com style (c) Vasily Polovnyov color: #fff; } -.example__timezone-selector { - margin-left: 10px; -} - .hero__content, .wrapper { max-width: 1100px; @@ -1083,7 +1079,7 @@ body { height: 100%; width: 100%; background: #f5f5f5; - font-family: "Open Sans", sans-serif; + font-family: 'Open Sans', sans-serif; color: #555; font-size: 14px; line-height: 21px; @@ -1132,7 +1128,7 @@ code { font-size: 85%; background-color: #e8e7e7; border-radius: 3px; - font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; + font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; } strong { diff --git a/docs/datepicker.md b/docs/datepicker.md index 3232af566..e4d30d9b8 100644 --- a/docs/datepicker.md +++ b/docs/datepicker.md @@ -19,7 +19,7 @@ General datepicker component. | `disabled` | `bool` | `false` | | | `disabledKeyboardNavigation` | `bool` | `false` | | | `dropdownMode` (required) | `enum('scroll'\|'select')` | `'scroll'` | | -| `endDate` | `object` | | | +| `endDate` | `instanceOf(Date)` | | | | `excludeDates` | `array` | | | | `excludeTimes` | `array` | | | | `filterDate` | `func` | | | @@ -34,10 +34,10 @@ General datepicker component. | `inline` | `bool` | | | | `isClearable` | `bool` | | | | `locale` | `string` | | | -| `maxDate` | `object` | | | -| `maxTime` | `object` | | | -| `minDate` | `object` | | | -| `minTime` | `object` | | | +| `maxDate` | `instanceOf(Date)` | | | +| `maxTime` | `instanceOf(Date)` | | | +| `minDate` | `instanceOf(Date)` | | | +| `minTime` | `instanceOf(Date)` | | | | `monthsShown` | `number` | `1` | | | `name` | `string` | | | | `onBlur` | `func` | `function() {}` | | @@ -50,7 +50,7 @@ General datepicker component. | `onYearChange` | `func` | `function() {}` | | | `onSelect` | `func` | `function() {}` | | | `onWeekSelect` | `func` | | | -| `openToDate` | `object` | | | +| `openToDate` | `instanceOf(Date)` | | | | `peekNextMonth` | `bool` | | | | `placeholderText` | `string` | | | | `popperClassName` | `string` | | | @@ -60,7 +60,7 @@ General datepicker component. | `readOnly` | `bool` | | | | `required` | `bool` | | | | `scrollableYearDropdown` | `bool` | | | -| `selected` | `object` | | | +| `selected` | `instanceOf(Date)` | | | | `selectsEnd` | `bool` | | | | `selectsStart` | `bool` | | | | `shouldCloseOnSelect` | `bool` | `true` | | @@ -68,7 +68,7 @@ General datepicker component. | `showTimeSelect` | `bool` | `false` | | | `showWeekNumbers` | `bool` | | | | `showYearDropdown` | `bool` | | | -| `startDate` | `object` | | | +| `startDate` | `instanceOf(Date)` | | | | `startOpen` | `bool` | | | | `tabIndex` | `number` | | | | `timeFormat` | `string` | | | diff --git a/docs/index.md b/docs/index.md index 3325cfe72..0c5100986 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,73 +1,98 @@ # `index` (component) -| name | type | default value | description | -| ---------------------------- | ------------------------------ | ------------------ | ----------- | -| `adjustDateOnChange` | `bool` | | | -| `allowSameDay` | `bool` | `false` | | -| `autoComplete` | `string` | | | -| `autoFocus` | `bool` | | | -| `calendarClassName` | `string` | | | -| `calendarContainer` | `func` | | | -| `children` | `node` | | | -| `className` | `string` | | | -| `clearButtonTitle` | `string` | | | -| `customInput` | `element` | | | -| `customInputRef` | `string` | | | -| `dateFormat` | `union(string\|array)` | `"L"` | | -| `dateFormatCalendar` | `string` | `"MMMM YYYY"` | | -| `dayClassName` | `func` | | | -| `disabled` | `bool` | `false` | | -| `disabledKeyboardNavigation` | `bool` | `false` | | -| `dropdownMode` | `enum("scroll"\|"select")` | `"scroll"` | | -| `endDate` | `object` | | | -| `excludeDates` | `array` | | | -| `excludeTimes` | `array` | | | -| `filterDate` | `func` | | | -| `fixedHeight` | `bool` | | | -| `forceShowMonthNavigation` | `bool` | | | -| `formatWeekDay` | `func` | | | -| `formatWeekNumber` | `func` | | | -| `highlightDates` | `array` | | | -| `id` | `string` | | | -| `includeDates` | `array` | | | -| `includeTimes` | `array` | | | -| `injectTimes` | `array` | | | -| `inline` | `bool` | | | -| `isClearable` | `bool` | | | -| `locale` | `string` | | | -| `maxDate` | `object` | | | -| `maxTime` | `object` | | | -| `minDate` | `object` | | | -| `minTime` | `object` | | | -| `monthsShown` | `number` | `1` | | -| `name` | `string` | | | -| `nextMonthButtonLabel` | `string` | `"Next month"` | | -| `onBlur` | `func` | `function() {}` | | -| `onChange` | `func` | `function() {}` | | -| `onChangeRaw` | `func` | | | -| `onClickOutside` | `func` | `function() {}` | | -| `onFocus` | `func` | `function() {}` | | -| `onInputClick` | `func` | `function() {}` | | -| `onInputError` | `func` | `function() {}` | | -| `onKeyDown` | `func` | `function() {}` | | -| `onMonthChange` | `func` | `function() {}` | | -| `onSelect` | `func` | `function() {}` | | -| `onWeekSelect` | `func` | | | -| `onYearChange` | `func` | `function() {}` | | -| `open` | `bool` | | | -| `openToDate` | `object` | | | -| `peekNextMonth` | `bool` | | | -| `placeholderText` | `string` | | | -| `popperClassName` | `string` | | | -| `popperContainer` | `func` | | | -| `popperModifiers` | `object` | | | -| `popperPlacement` | `enumpopperPlacementPositions` | | | -| `popperProps` | `object` | | | -| `preventOpenOnFocus` | `bool` | `false` | | -| `previousMonthButtonLabel` | `string` | `"Previous Month"` | | -| `readOnly` | `bool` | `false` | | -| `renderCustomHeader` | `func` | | | -| `renderDayContents` | `func` | `function(date) { | +General datepicker component. -return date; -}`|| |`required`|`bool`||| |`scrollableMonthYearDropdown`|`bool`||| |`scrollableYearDropdown`|`bool`||| |`selected`|`object`||| |`selectsEnd`|`bool`||| |`selectsStart`|`bool`||| |`shouldCloseOnSelect`|`bool`|`true`|| |`showDisabledMonthNavigation`|`bool`||| |`showMonthDropdown`|`bool`||| |`showMonthYearDropdown`|`bool`||| |`showTimeSelect`|`bool`|`false`|| |`showTimeSelectOnly`|`bool`||| |`showWeekNumbers`|`bool`||| |`showYearDropdown`|`bool`||| |`startDate`|`object`||| |`startOpen`|`bool`||| |`tabIndex`|`number`||| |`timeCaption`|`string`|`"Time"`|| |`timeFormat`|`string`||| |`timeIntervals`|`number`|`30`|| |`title`|`string`||| |`todayButton`|`node`||| |`useShortMonthInDropdown`|`bool`||| |`useWeekdaysShort`|`bool`||| |`utcOffset`|`union(number\|string)`||| |`value`|`string`||| |`weekLabel`|`string`||| |`withPortal`|`bool`|`false`|| |`yearDropdownItemNumber`|`number`||| +| name | type | default value | description | +| ----------------------------- | ------------------------------ | ------------------ | ----------- | +| `adjustDateOnChange` | `bool` | | | +| `allowSameDay` | `bool` | `false` | | +| `autoComplete` | `string` | | | +| `autoFocus` | `bool` | | | +| `calendarClassName` | `string` | | | +| `calendarContainer` | `func` | | | +| `children` | `node` | | | +| `className` | `string` | | | +| `clearButtonTitle` | `string` | | | +| `customInput` | `element` | | | +| `customInputRef` | `string` | | | +| `dateFormat` | `union(string\|array)` | `"L"` | | +| `dateFormatCalendar` | `string` | `"MMMM YYYY"` | | +| `dayClassName` | `func` | | | +| `disabled` | `bool` | `false` | | +| `disabledKeyboardNavigation` | `bool` | `false` | | +| `dropdownMode` | `enum("scroll"\|"select")` | `"scroll"` | | +| `endDate` | `instanceOf(Date)` | | | +| `excludeDates` | `array` | | | +| `excludeTimes` | `array` | | | +| `filterDate` | `func` | | | +| `fixedHeight` | `bool` | | | +| `forceShowMonthNavigation` | `bool` | | | +| `formatWeekDay` | `func` | | | +| `formatWeekNumber` | `func` | | | +| `highlightDates` | `array` | | | +| `id` | `string` | | | +| `includeDates` | `array` | | | +| `includeTimes` | `array` | | | +| `injectTimes` | `array` | | | +| `inline` | `bool` | | | +| `isClearable` | `bool` | | | +| `locale` | `string` | | | +| `maxDate` | `instanceOf(Date)` | | | +| `maxTime` | `instanceOf(Date)` | | | +| `minDate` | `instanceOf(Date)` | | | +| `minTime` | `instanceOf(Date)` | | | +| `monthsShown` | `number` | `1` | | +| `name` | `string` | | | +| `nextMonthButtonLabel` | `string` | `"Next month"` | | +| `onBlur` | `func` | `function() {}` | | +| `onChange` | `func` | `function() {}` | | +| `onChangeRaw` | `func` | | | +| `onClickOutside` | `func` | `function() {}` | | +| `onFocus` | `func` | `function() {}` | | +| `onInputClick` | `func` | `function() {}` | | +| `onKeyDown` | `func` | `function() {}` | | +| `onMonthChange` | `func` | `function() {}` | | +| `onSelect` | `func` | `function() {}` | | +| `onWeekSelect` | `func` | | | +| `onYearChange` | `func` | `function() {}` | | +| `open` | `bool` | | | +| `openToDate` | `instanceOf(Date)` | | | +| `peekNextMonth` | `bool` | | | +| `placeholderText` | `string` | | | +| `popperClassName` | `string` | | | +| `popperContainer` | `func` | | | +| `popperModifiers` | `object` | | | +| `popperPlacement` | `enumpopperPlacementPositions` | | | +| `preventOpenOnFocus` | `bool` | `false` | | +| `previousMonthButtonLabel` | `string` | `"Previous Month"` | | +| `readOnly` | `bool` | `false` | | +| `renderCustomHeader` | `func` | | | +| `required` | `bool` | | | +| `scrollableMonthYearDropdown` | `bool` | | | +| `scrollableYearDropdown` | `bool` | | | +| `selected` | `instanceOf(Date)` | | | +| `selectsEnd` | `bool` | | | +| `selectsStart` | `bool` | | | +| `shouldCloseOnSelect` | `bool` | `true` | | +| `showDisabledMonthNavigation` | `bool` | | | +| `showMonthDropdown` | `bool` | | | +| `showMonthYearDropdown` | `bool` | | | +| `showTimeSelect` | `bool` | `false` | | +| `showTimeSelectOnly` | `bool` | | | +| `showWeekNumbers` | `bool` | | | +| `showYearDropdown` | `bool` | | | +| `startDate` | `instanceOf(Date)` | | | +| `startOpen` | `bool` | | | +| `tabIndex` | `number` | | | +| `timeCaption` | `string` | `"Time"` | | +| `timeFormat` | `string` | | | +| `timeIntervals` | `number` | `30` | | +| `title` | `string` | | | +| `todayButton` | `node` | | | +| `useShortMonthInDropdown` | `bool` | | | +| `useWeekdaysShort` | `bool` | | | +| `utcOffset` | `union(number\|string)` | | | +| `value` | `string` | | | +| `weekLabel` | `string` | | | +| `withPortal` | `bool` | `false` | | +| `yearDropdownItemNumber` | `number` | | | diff --git a/docs/month_year_dropdown.md b/docs/month_year_dropdown.md index ddf33feaf..305bf49fa 100644 --- a/docs/month_year_dropdown.md +++ b/docs/month_year_dropdown.md @@ -2,11 +2,11 @@ | name | type | default value | description | | ----------------------------- | -------------------------- | ------------- | ----------- | -| `date` (required) | `object` | | | +| `date` (required) | `instanceOf(Date)` | | | | `dateFormat` (required) | `string` | | | | `dropdownMode` (required) | `enum("scroll"\|"select")` | | | | `locale` | `string` | | | -| `maxDate` (required) | `object` | | | -| `minDate` (required) | `object` | | | +| `maxDate` (required) | `instanceOf(Date)` | | | +| `minDate` (required) | `instanceOf(Date)` | | | | `onChange` (required) | `func` | | | | `scrollableMonthYearDropdown` | `bool` | | | diff --git a/docs/month_year_dropdown_options.md b/docs/month_year_dropdown_options.md index ba890876d..8b1370d9f 100644 --- a/docs/month_year_dropdown_options.md +++ b/docs/month_year_dropdown_options.md @@ -1,11 +1,11 @@ # `month_year_dropdown_options` (component) -| name | type | default value | description | -| ----------------------------- | -------- | ------------- | ----------- | -| `date` (required) | `object` | | | -| `dateFormat` (required) | `string` | | | -| `maxDate` (required) | `object` | | | -| `minDate` (required) | `object` | | | -| `onCancel` (required) | `func` | | | -| `onChange` (required) | `func` | | | -| `scrollableMonthYearDropdown` | `bool` | | | +| name | type | default value | description | +| ----------------------------- | ------------------ | ------------- | ----------- | +| `date` (required) | `instanceOf(Date)` | | | +| `dateFormat` (required) | `string` | | | +| `maxDate` (required) | `instanceOf(Date)` | | | +| `minDate` (required) | `instanceOf(Date)` | | | +| `onCancel` (required) | `func` | | | +| `onChange` (required) | `func` | | | +| `scrollableMonthYearDropdown` | `bool` | | | diff --git a/docs/time.md b/docs/time.md index e1b7ebda2..2fb850f4b 100644 --- a/docs/time.md +++ b/docs/time.md @@ -1,17 +1,17 @@ # `time` (component) -| name | type | default value | description | -| -------------- | -------- | ------------- | ----------- | -| `excludeTimes` | `array` | | | -| `format` | `string` | | | -| `includeTimes` | `array` | | | -| `injectTimes` | `array` | | | -| `intervals` | `number` | `30` | | -| `maxTime` | `object` | | | -| `minTime` | `object` | | | -| `monthRef` | `object` | | | -| `onChange` | `func` | | | -| `onTimeChange` | | `() => {}` | | -| `selected` | `object` | | | -| `timeCaption` | `string` | `"Time"` | | -| `todayButton` | `node` | `null` | | +| name | type | default value | description | +| -------------- | ------------------ | ------------- | ----------- | +| `excludeTimes` | `array` | | | +| `format` | `string` | | | +| `includeTimes` | `array` | | | +| `injectTimes` | `array` | | | +| `intervals` | `number` | `30` | | +| `maxTime` | `instanceOf(Date)` | | | +| `minTime` | `instanceOf(Date)` | | | +| `monthRef` | `object` | | | +| `onChange` | `func` | | | +| `onTimeChange` | | `() => {}` | | +| `selected` | `instanceOf(Date)` | | | +| `timeCaption` | `string` | `"Time"` | | +| `todayButton` | `node` | `null` | | diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 000000000..b6d14a941 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,13523 @@ +{ + "name": "react-datepicker", + "version": "1.6.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@babel/code-frame": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.44.tgz", + "integrity": "sha512-cuAuTTIQ9RqcFRJ/Y8PvTh+paepNcaGxwQwjIDRWPXmzzyAeCO4KqS9ikMvq0MCbRk6GlYKwfzStrcP3/jSL8g==", + "dev": true, + "requires": { + "@babel/highlight": "7.0.0-beta.44" + } + }, + "@babel/generator": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.44.tgz", + "integrity": "sha512-5xVb7hlhjGcdkKpMXgicAVgx8syK5VJz193k0i/0sLP6DzE6lRrU1K3B/rFefgdo9LPGMAOOOAWW4jycj07ShQ==", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.44", + "jsesc": "2.5.1", + "lodash": "4.17.11", + "source-map": "0.5.7", + "trim-right": "1.0.1" + }, + "dependencies": { + "jsesc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.1.tgz", + "integrity": "sha1-5CGiqOINawgZ3yiQj3glJrlt0f4=", + "dev": true + } + } + }, + "@babel/helper-function-name": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.44.tgz", + "integrity": "sha512-MHRG2qZMKMFaBavX0LWpfZ2e+hLloT++N7rfM3DYOMUOGCD8cVjqZpwiL8a0bOX3IYcQev1ruciT0gdFFRTxzg==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "7.0.0-beta.44", + "@babel/template": "7.0.0-beta.44", + "@babel/types": "7.0.0-beta.44" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.44.tgz", + "integrity": "sha512-w0YjWVwrM2HwP6/H3sEgrSQdkCaxppqFeJtAnB23pRiJB5E/O9Yp7JAAeWBl+gGEgmBFinnTyOv2RN7rcSmMiw==", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.44" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.44.tgz", + "integrity": "sha512-aQ7QowtkgKKzPGf0j6u77kBMdUFVBKNHw2p/3HX/POt5/oz8ec5cs0GwlgM8Hz7ui5EwJnzyfRmkNF1Nx1N7aA==", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.44" + } + }, + "@babel/highlight": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.44.tgz", + "integrity": "sha512-Il19yJvy7vMFm8AVAh6OZzaFoAd0hbkeMZiX3P5HGD+z7dyI7RzndHB0dg6Urh/VAFfHtpOIzDUSxmY6coyZWQ==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "esutils": "2.0.2", + "js-tokens": "3.0.2" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "@babel/template": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.44.tgz", + "integrity": "sha512-w750Sloq0UNifLx1rUqwfbnC6uSUk0mfwwgGRfdLiaUzfAOiH0tHJE6ILQIUi3KYkjiCDTskoIsnfqZvWLBDng==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.44", + "@babel/types": "7.0.0-beta.44", + "babylon": "7.0.0-beta.44", + "lodash": "4.17.11" + }, + "dependencies": { + "babylon": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.44.tgz", + "integrity": "sha512-5Hlm13BJVAioCHpImtFqNOF2H3ieTOHd0fmFGMxOJ9jgeFqeAwsv3u5P5cR7CSeFrkgHsT19DgFJkHV0/Mcd8g==", + "dev": true + } + } + }, + "@babel/traverse": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.44.tgz", + "integrity": "sha512-UHuDz8ukQkJCDASKHf+oDt3FVUzFd+QYfuBIsiNu/4+/ix6pP/C+uQZJ6K1oEfbCMv/IKWbgDEh7fcsnIE5AtA==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.44", + "@babel/generator": "7.0.0-beta.44", + "@babel/helper-function-name": "7.0.0-beta.44", + "@babel/helper-split-export-declaration": "7.0.0-beta.44", + "@babel/types": "7.0.0-beta.44", + "babylon": "7.0.0-beta.44", + "debug": "3.2.5", + "globals": "11.7.0", + "invariant": "2.2.4", + "lodash": "4.17.11" + }, + "dependencies": { + "babylon": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.44.tgz", + "integrity": "sha512-5Hlm13BJVAioCHpImtFqNOF2H3ieTOHd0fmFGMxOJ9jgeFqeAwsv3u5P5cR7CSeFrkgHsT19DgFJkHV0/Mcd8g==", + "dev": true + }, + "debug": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.5.tgz", + "integrity": "sha512-D61LaDQPQkxJ5AUM2mbSJRbPkNs/TmdmOeLAi1hgDkpDfIfetSrjmWhccwtuResSwMbACjx/xXQofvM9CE/aeg==", + "dev": true, + "requires": { + "ms": "2.1.1" + } + }, + "globals": { + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.7.0.tgz", + "integrity": "sha512-K8BNSPySfeShBQXsahYB/AbbWruVOTyVpgoIDnl8odPpeSfP2J5QO2oLFFdl2j7GfDCtZj2bMKar2T49itTPCg==", + "dev": true + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + } + } + }, + "@babel/types": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.44.tgz", + "integrity": "sha512-5eTV4WRmqbaFM3v9gHAIljEQJU4Ssc6fxL61JN+Oe2ga/BwyjzjamwkCVVAQjHGuAX8i0BWo42dshL8eO5KfLQ==", + "dev": true, + "requires": { + "esutils": "2.0.2", + "lodash": "4.17.11", + "to-fast-properties": "2.0.0" + }, + "dependencies": { + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + } + } + }, + "@sinonjs/formatio": { + "version": "2.0.0", + "resolved": "http://registry.npmjs.org/@sinonjs/formatio/-/formatio-2.0.0.tgz", + "integrity": "sha512-ls6CAMA6/5gG+O/IdsBcblvnd8qcO/l1TYoNeAzp3wcISOxlPXQEus0mLcdwazEkWjaBdaJ3TaxmNgCLWwvWzg==", + "dev": true, + "requires": { + "samsam": "1.3.0" + } + }, + "@sinonjs/samsam": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-2.1.0.tgz", + "integrity": "sha512-5x2kFgJYupaF1ns/RmharQ90lQkd2ELS8A9X0ymkAAdemYHGtI2KiUHG8nX2WU0T1qgnOU5YMqnBM2V7NUanNw==", + "dev": true, + "requires": { + "array-from": "2.1.1" + } + }, + "@types/node": { + "version": "10.12.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.0.tgz", + "integrity": "sha512-3TUHC3jsBAB7qVRGxT6lWyYo2v96BMmD2PTcl47H25Lu7UXtFH/2qqmKiVrnel6Ne//0TFYf6uvNX+HW2FRkLQ==", + "dev": true + }, + "abbrev": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz", + "integrity": "sha1-kbR5JYinc4wl813W9jdSovh3YTU=", + "dev": true + }, + "accepts": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz", + "integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=", + "dev": true, + "requires": { + "mime-types": "2.1.20", + "negotiator": "0.6.1" + }, + "dependencies": { + "mime-types": { + "version": "2.1.20", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz", + "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==", + "dev": true, + "requires": { + "mime-db": "1.36.0" + } + } + } + }, + "acorn": { + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz", + "integrity": "sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==", + "dev": true + }, + "acorn-jsx": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz", + "integrity": "sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s=", + "dev": true, + "requires": { + "acorn": "3.3.0" + }, + "dependencies": { + "acorn": { + "version": "3.3.0", + "resolved": "http://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", + "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=", + "dev": true + } + } + }, + "after": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/after/-/after-0.8.2.tgz", + "integrity": "sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8=", + "dev": true + }, + "ajv": { + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", + "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "dev": true, + "requires": { + "co": "4.6.0", + "fast-deep-equal": "1.1.0", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.3.1" + } + }, + "ajv-keywords": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-2.1.1.tgz", + "integrity": "sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I=", + "dev": true + }, + "align-text": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", + "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", + "dev": true, + "requires": { + "kind-of": "3.2.2", + "longest": "1.0.1", + "repeat-string": "1.6.1" + } + }, + "alphanum-sort": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz", + "integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=", + "dev": true + }, + "amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", + "dev": true + }, + "ansi-escapes": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz", + "integrity": "sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw==", + "dev": true + }, + "ansi-html": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz", + "integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=", + "dev": true + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "any-observable": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/any-observable/-/any-observable-0.2.0.tgz", + "integrity": "sha1-xnhwBYADV5AJCD9UrAq6+1wz0kI=", + "dev": true + }, + "anymatch": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz", + "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==", + "dev": true, + "requires": { + "micromatch": "2.3.11", + "normalize-path": "2.1.1" + }, + "dependencies": { + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "requires": { + "remove-trailing-separator": "1.1.0" + } + } + } + }, + "app-root-path": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/app-root-path/-/app-root-path-2.0.1.tgz", + "integrity": "sha1-zWLc+OT9WkF+/GZNLlsQZTxlG0Y=", + "dev": true + }, + "aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true + }, + "are-we-there-yet": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", + "dev": true, + "requires": { + "delegates": "1.0.0", + "readable-stream": "2.3.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "1.0.3" + } + }, + "arr-diff": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", + "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", + "dev": true, + "requires": { + "arr-flatten": "1.1.0" + } + }, + "arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true + }, + "arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", + "dev": true + }, + "array-filter": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-0.0.1.tgz", + "integrity": "sha1-fajPLiZijtcygDWB/SH2fKzS7uw=", + "dev": true + }, + "array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", + "dev": true + }, + "array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", + "dev": true + }, + "array-from": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/array-from/-/array-from-2.1.1.tgz", + "integrity": "sha1-z+nYwmYoudxa7MYqn12PHzUsEZU=", + "dev": true + }, + "array-includes": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz", + "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0" + } + }, + "array-map": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/array-map/-/array-map-0.0.0.tgz", + "integrity": "sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI=", + "dev": true + }, + "array-reduce": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/array-reduce/-/array-reduce-0.0.0.tgz", + "integrity": "sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys=", + "dev": true + }, + "array-slice": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-0.2.3.tgz", + "integrity": "sha1-3Tz7gO15c6dRF82sabC5nshhhvU=", + "dev": true + }, + "array-union": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "dev": true, + "requires": { + "array-uniq": "1.0.3" + } + }, + "array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", + "dev": true + }, + "array-unique": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", + "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", + "dev": true + }, + "array.prototype.flat": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.1.tgz", + "integrity": "sha512-rVqIs330nLJvfC7JqYvEWwqVr5QjYF1ib02i3YJtR/fICO6527Tjpc/e4Mvmxh3GIePPreRXMdaGyC99YphWEw==", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0", + "function-bind": "1.1.1" + } + }, + "arraybuffer.slice": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.6.tgz", + "integrity": "sha1-8zshWfBTKj8xB6JywMz70a0peco=", + "dev": true + }, + "arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "dev": true + }, + "asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" + }, + "asn1": { + "version": "0.1.11", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz", + "integrity": "sha1-VZvhg3bQik7E2+gId9J4GGObLfc=", + "dev": true, + "optional": true + }, + "assert": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/assert/-/assert-1.4.1.tgz", + "integrity": "sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=", + "dev": true, + "requires": { + "util": "0.10.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", + "dev": true + }, + "util": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "dev": true, + "requires": { + "inherits": "2.0.1" + } + } + } + }, + "assert-plus": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.5.tgz", + "integrity": "sha1-7nQAlBMALYTOxyGcasgRgS5yMWA=", + "dev": true, + "optional": true + }, + "assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true + }, + "assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", + "dev": true + }, + "ast-types": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.10.1.tgz", + "integrity": "sha512-UY7+9DPzlJ9VM8eY0b2TUZcZvF+1pO0hzMtAyjBYKhOmnvRlqYNYnWdtsMj0V16CGaMlpL0G1jnLbLo4AyotuQ==", + "dev": true + }, + "async": { + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz", + "integrity": "sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=", + "dev": true + }, + "async-each": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz", + "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=", + "dev": true + }, + "async-foreach": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz", + "integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=", + "dev": true + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true + }, + "autoprefixer": { + "version": "6.7.7", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-6.7.7.tgz", + "integrity": "sha1-Hb0cg1ZY41zj+ZhAmdsAWFx4IBQ=", + "dev": true, + "requires": { + "browserslist": "1.7.7", + "caniuse-db": "1.0.30000890", + "normalize-range": "0.1.2", + "num2fraction": "1.2.2", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + }, + "dependencies": { + "browserslist": { + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz", + "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", + "dev": true, + "requires": { + "caniuse-db": "1.0.30000890", + "electron-to-chromium": "1.3.67" + } + } + } + }, + "aws-sign2": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.5.0.tgz", + "integrity": "sha1-xXED96F/wDfwLXwuZLYC6iI/fWM=", + "dev": true, + "optional": true + }, + "aws4": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", + "dev": true + }, + "babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "esutils": "2.0.2", + "js-tokens": "3.0.2" + }, + "dependencies": { + "js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", + "dev": true + } + } + }, + "babel-core": { + "version": "6.26.3", + "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz", + "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==", + "dev": true, + "requires": { + "babel-code-frame": "6.26.0", + "babel-generator": "6.26.1", + "babel-helpers": "6.24.1", + "babel-messages": "6.23.0", + "babel-register": "6.26.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "convert-source-map": "1.6.0", + "debug": "2.6.9", + "json5": "0.5.1", + "lodash": "4.17.11", + "minimatch": "3.0.4", + "path-is-absolute": "1.0.1", + "private": "0.1.8", + "slash": "1.0.0", + "source-map": "0.5.7" + } + }, + "babel-eslint": { + "version": "8.2.6", + "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-8.2.6.tgz", + "integrity": "sha512-aCdHjhzcILdP8c9lej7hvXKvQieyRt20SF102SIGyY4cUIiw6UaAtK4j2o3dXX74jEmy0TJ0CEhv4fTIM3SzcA==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.44", + "@babel/traverse": "7.0.0-beta.44", + "@babel/types": "7.0.0-beta.44", + "babylon": "7.0.0-beta.44", + "eslint-scope": "3.7.1", + "eslint-visitor-keys": "1.0.0" + }, + "dependencies": { + "babylon": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.44.tgz", + "integrity": "sha512-5Hlm13BJVAioCHpImtFqNOF2H3ieTOHd0fmFGMxOJ9jgeFqeAwsv3u5P5cR7CSeFrkgHsT19DgFJkHV0/Mcd8g==", + "dev": true + } + } + }, + "babel-generator": { + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", + "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", + "dev": true, + "requires": { + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "detect-indent": "4.0.0", + "jsesc": "1.3.0", + "lodash": "4.17.11", + "source-map": "0.5.7", + "trim-right": "1.0.1" + } + }, + "babel-helper-bindify-decorators": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-bindify-decorators/-/babel-helper-bindify-decorators-6.24.1.tgz", + "integrity": "sha1-FMGeXxQte0fxmlJDHlKxzLxAozA=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-builder-binary-assignment-operator-visitor": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz", + "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=", + "dev": true, + "requires": { + "babel-helper-explode-assignable-expression": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-builder-react-jsx": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-helper-builder-react-jsx/-/babel-helper-builder-react-jsx-6.26.0.tgz", + "integrity": "sha1-Of+DE7dci2Xc7/HzHTg+D/KkCKA=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "esutils": "2.0.2" + } + }, + "babel-helper-call-delegate": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz", + "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", + "dev": true, + "requires": { + "babel-helper-hoist-variables": "6.24.1", + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-define-map": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz", + "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=", + "dev": true, + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "lodash": "4.17.11" + } + }, + "babel-helper-explode-assignable-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz", + "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-explode-class": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-explode-class/-/babel-helper-explode-class-6.24.1.tgz", + "integrity": "sha1-fcKjkQ3uAHBW4eMdZAztPVTqqes=", + "dev": true, + "requires": { + "babel-helper-bindify-decorators": "6.24.1", + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", + "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", + "dev": true, + "requires": { + "babel-helper-get-function-arity": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-get-function-arity": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", + "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-hoist-variables": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", + "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-optimise-call-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz", + "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-regex": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz", + "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "lodash": "4.17.11" + } + }, + "babel-helper-remap-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz", + "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=", + "dev": true, + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-replace-supers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz", + "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", + "dev": true, + "requires": { + "babel-helper-optimise-call-expression": "6.24.1", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helpers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", + "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-loader": { + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-6.4.1.tgz", + "integrity": "sha1-CzQRLVsHSKjc2/Uaz2+b1C1QuMo=", + "dev": true, + "requires": { + "find-cache-dir": "0.1.1", + "loader-utils": "0.2.17", + "mkdirp": "0.5.1", + "object-assign": "4.1.1" + } + }, + "babel-messages": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-add-react-displayname": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.4.tgz", + "integrity": "sha1-vCp0vL7m5QUCWzNS/qhe57xMb3w=", + "dev": true + }, + "babel-plugin-check-es2015-constants": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", + "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-external-helpers": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-external-helpers/-/babel-plugin-external-helpers-6.22.0.tgz", + "integrity": "sha1-IoX0iwK9Xe3oUXXK+MYuhq3M76E=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-react-transform": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-3.0.0.tgz", + "integrity": "sha512-4vJGddwPiHAOgshzZdGwYy4zRjjIr5SMY7gkOaCyIASjgpcsyLTlZNuB5rHOFoaTvGlhfo8/g4pobXPyHqm/3w==", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + }, + "babel-plugin-syntax-async-functions": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", + "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=", + "dev": true + }, + "babel-plugin-syntax-async-generators": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz", + "integrity": "sha1-a8lj67FuzLrmuStZbrfzXDQqi5o=", + "dev": true + }, + "babel-plugin-syntax-class-constructor-call": { + "version": "6.18.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-class-constructor-call/-/babel-plugin-syntax-class-constructor-call-6.18.0.tgz", + "integrity": "sha1-nLnTn+Q8hgC+yBRkVt3L1OGnZBY=", + "dev": true + }, + "babel-plugin-syntax-class-properties": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz", + "integrity": "sha1-1+sjt5oxf4VDlixQW4J8fWysJ94=", + "dev": true + }, + "babel-plugin-syntax-decorators": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-decorators/-/babel-plugin-syntax-decorators-6.13.0.tgz", + "integrity": "sha1-MSVjtNvePMgGzuPkFszurd0RrAs=", + "dev": true + }, + "babel-plugin-syntax-do-expressions": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-do-expressions/-/babel-plugin-syntax-do-expressions-6.13.0.tgz", + "integrity": "sha1-V0d1YTmqJtOQ0JQQsDdEugfkeW0=", + "dev": true + }, + "babel-plugin-syntax-dynamic-import": { + "version": "6.18.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz", + "integrity": "sha1-jWomIpyDdFqZgqRBBRVyyqF5sdo=", + "dev": true + }, + "babel-plugin-syntax-exponentiation-operator": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", + "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=", + "dev": true + }, + "babel-plugin-syntax-export-extensions": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-export-extensions/-/babel-plugin-syntax-export-extensions-6.13.0.tgz", + "integrity": "sha1-cKFITw+QiaToStRLrDU8lbmxJyE=", + "dev": true + }, + "babel-plugin-syntax-flow": { + "version": "6.18.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz", + "integrity": "sha1-TDqyCiryaqIM0lmVw5jE63AxDI0=", + "dev": true + }, + "babel-plugin-syntax-function-bind": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-function-bind/-/babel-plugin-syntax-function-bind-6.13.0.tgz", + "integrity": "sha1-SMSV8Xe98xqYHnMvVa3AvdJgH0Y=", + "dev": true + }, + "babel-plugin-syntax-jsx": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz", + "integrity": "sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY=", + "dev": true + }, + "babel-plugin-syntax-object-rest-spread": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz", + "integrity": "sha1-/WU28rzhODb/o6VFjEkDpZe7O/U=", + "dev": true + }, + "babel-plugin-syntax-trailing-function-commas": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz", + "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM=", + "dev": true + }, + "babel-plugin-transform-async-generator-functions": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-generator-functions/-/babel-plugin-transform-async-generator-functions-6.24.1.tgz", + "integrity": "sha1-8FiQAUX9PpkHpt3yjaWfIVJYpds=", + "dev": true, + "requires": { + "babel-helper-remap-async-to-generator": "6.24.1", + "babel-plugin-syntax-async-generators": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz", + "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=", + "dev": true, + "requires": { + "babel-helper-remap-async-to-generator": "6.24.1", + "babel-plugin-syntax-async-functions": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-class-constructor-call": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-constructor-call/-/babel-plugin-transform-class-constructor-call-6.24.1.tgz", + "integrity": "sha1-gNwoVQWsBn3LjWxl4vbxGrd2Xvk=", + "dev": true, + "requires": { + "babel-plugin-syntax-class-constructor-call": "6.18.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-class-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz", + "integrity": "sha1-anl2PqYdM9NvN7YRqp3vgagbRqw=", + "dev": true, + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-plugin-syntax-class-properties": "6.13.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-decorators": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-decorators/-/babel-plugin-transform-decorators-6.24.1.tgz", + "integrity": "sha1-eIAT2PjGtSIr33s0Q5Df13Vp4k0=", + "dev": true, + "requires": { + "babel-helper-explode-class": "6.24.1", + "babel-plugin-syntax-decorators": "6.13.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-do-expressions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-do-expressions/-/babel-plugin-transform-do-expressions-6.22.0.tgz", + "integrity": "sha1-KMyvkoEtlJws0SgfaQyP3EaK6bs=", + "dev": true, + "requires": { + "babel-plugin-syntax-do-expressions": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-arrow-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", + "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-block-scoped-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", + "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-block-scoping": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz", + "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "lodash": "4.17.11" + } + }, + "babel-plugin-transform-es2015-classes": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz", + "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", + "dev": true, + "requires": { + "babel-helper-define-map": "6.26.0", + "babel-helper-function-name": "6.24.1", + "babel-helper-optimise-call-expression": "6.24.1", + "babel-helper-replace-supers": "6.24.1", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-computed-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz", + "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-es2015-destructuring": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", + "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-duplicate-keys": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz", + "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-for-of": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz", + "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz", + "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", + "dev": true, + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", + "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-amd": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz", + "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=", + "dev": true, + "requires": { + "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-commonjs": { + "version": "6.26.2", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz", + "integrity": "sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==", + "dev": true, + "requires": { + "babel-plugin-transform-strict-mode": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-systemjs": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz", + "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", + "dev": true, + "requires": { + "babel-helper-hoist-variables": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-umd": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz", + "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=", + "dev": true, + "requires": { + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-es2015-object-super": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz", + "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", + "dev": true, + "requires": { + "babel-helper-replace-supers": "6.24.1", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-parameters": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz", + "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", + "dev": true, + "requires": { + "babel-helper-call-delegate": "6.24.1", + "babel-helper-get-function-arity": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-shorthand-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz", + "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-spread": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", + "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-sticky-regex": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz", + "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=", + "dev": true, + "requires": { + "babel-helper-regex": "6.26.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-template-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", + "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-typeof-symbol": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz", + "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-unicode-regex": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz", + "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=", + "dev": true, + "requires": { + "babel-helper-regex": "6.26.0", + "babel-runtime": "6.26.0", + "regexpu-core": "2.0.0" + } + }, + "babel-plugin-transform-es3-member-expression-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es3-member-expression-literals/-/babel-plugin-transform-es3-member-expression-literals-6.22.0.tgz", + "integrity": "sha1-cz00RPPsxBvvjtGmpOCWV7iWnrs=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es3-property-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es3-property-literals/-/babel-plugin-transform-es3-property-literals-6.22.0.tgz", + "integrity": "sha1-sgeNWELiKr9A9z6M3pzTcRq9V1g=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es5-property-mutators": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es5-property-mutators/-/babel-plugin-transform-es5-property-mutators-6.24.1.tgz", + "integrity": "sha1-C5ok9OL/GMM2A9JKDUONyXk7ChM=", + "dev": true, + "requires": { + "babel-helper-define-map": "6.26.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-exponentiation-operator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz", + "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=", + "dev": true, + "requires": { + "babel-helper-builder-binary-assignment-operator-visitor": "6.24.1", + "babel-plugin-syntax-exponentiation-operator": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-export-extensions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-export-extensions/-/babel-plugin-transform-export-extensions-6.22.0.tgz", + "integrity": "sha1-U3OLR+deghhYnuqUbLvTkQm75lM=", + "dev": true, + "requires": { + "babel-plugin-syntax-export-extensions": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-flow-strip-types": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz", + "integrity": "sha1-hMtnKTXUNxT9wyvOhFaNh0Qc988=", + "dev": true, + "requires": { + "babel-plugin-syntax-flow": "6.18.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-function-bind": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-function-bind/-/babel-plugin-transform-function-bind-6.22.0.tgz", + "integrity": "sha1-xvuOlqwpajELjPjqQBRiQH3fapc=", + "dev": true, + "requires": { + "babel-plugin-syntax-function-bind": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-jscript": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-jscript/-/babel-plugin-transform-jscript-6.22.0.tgz", + "integrity": "sha1-borxK3q6SeCoCRUmFqwFaQszUtw=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-object-rest-spread": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz", + "integrity": "sha1-DzZpLVD+9rfi1LOsFHgTepY7ewY=", + "dev": true, + "requires": { + "babel-plugin-syntax-object-rest-spread": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-react-display-name": { + "version": "6.25.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-display-name/-/babel-plugin-transform-react-display-name-6.25.0.tgz", + "integrity": "sha1-Z+K/Hx6ck6sI25Z5LgU5K/LMKNE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-react-jsx": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx/-/babel-plugin-transform-react-jsx-6.24.1.tgz", + "integrity": "sha1-hAoCjn30YN/DotKfDA2R9jduZqM=", + "dev": true, + "requires": { + "babel-helper-builder-react-jsx": "6.26.0", + "babel-plugin-syntax-jsx": "6.18.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-react-jsx-self": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx-self/-/babel-plugin-transform-react-jsx-self-6.22.0.tgz", + "integrity": "sha1-322AqdomEqEh5t3XVYvL7PBuY24=", + "dev": true, + "requires": { + "babel-plugin-syntax-jsx": "6.18.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-react-jsx-source": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx-source/-/babel-plugin-transform-react-jsx-source-6.22.0.tgz", + "integrity": "sha1-ZqwSFT9c0tF7PBkmj0vwGX9E7NY=", + "dev": true, + "requires": { + "babel-plugin-syntax-jsx": "6.18.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-react-remove-prop-types": { + "version": "0.4.19", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.19.tgz", + "integrity": "sha512-f49NsaohQ1ByY20nUrpc30QFdbeT4ntV4PAL2vSZe6uCB5nqAcqXS/qzU+aI6ZfYhWASx5eIsTFvFrs1B2ffGg==", + "dev": true + }, + "babel-plugin-transform-regenerator": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz", + "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=", + "dev": true, + "requires": { + "regenerator-transform": "0.10.1" + } + }, + "babel-plugin-transform-strict-mode": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz", + "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-polyfill": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz", + "integrity": "sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "core-js": "2.5.7", + "regenerator-runtime": "0.10.5" + }, + "dependencies": { + "regenerator-runtime": { + "version": "0.10.5", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", + "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=", + "dev": true + } + } + }, + "babel-preset-airbnb": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/babel-preset-airbnb/-/babel-preset-airbnb-2.6.0.tgz", + "integrity": "sha512-0VrYWk6ntS/wzjgVPdEqAX8y0GJ2JLV44QxyiP4J7C2V4BcZAfbMvh292I4C3myKkLmWzjvgAuj+s3kQ6yAUvg==", + "dev": true, + "requires": { + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", + "babel-plugin-transform-es2015-template-literals": "6.22.0", + "babel-plugin-transform-es3-member-expression-literals": "6.22.0", + "babel-plugin-transform-es3-property-literals": "6.22.0", + "babel-plugin-transform-es5-property-mutators": "6.24.1", + "babel-plugin-transform-exponentiation-operator": "6.24.1", + "babel-plugin-transform-jscript": "6.22.0", + "babel-plugin-transform-object-rest-spread": "6.26.0", + "babel-plugin-transform-react-remove-prop-types": "0.4.19", + "babel-plugin-transform-strict-mode": "6.24.1", + "babel-preset-env": "1.7.0", + "babel-preset-react": "6.24.1", + "object.assign": "4.1.0" + }, + "dependencies": { + "babel-preset-env": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.7.0.tgz", + "integrity": "sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==", + "dev": true, + "requires": { + "babel-plugin-check-es2015-constants": "6.22.0", + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-async-to-generator": "6.24.1", + "babel-plugin-transform-es2015-arrow-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoping": "6.26.0", + "babel-plugin-transform-es2015-classes": "6.24.1", + "babel-plugin-transform-es2015-computed-properties": "6.24.1", + "babel-plugin-transform-es2015-destructuring": "6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "6.24.1", + "babel-plugin-transform-es2015-for-of": "6.23.0", + "babel-plugin-transform-es2015-function-name": "6.24.1", + "babel-plugin-transform-es2015-literals": "6.22.0", + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", + "babel-plugin-transform-es2015-modules-systemjs": "6.24.1", + "babel-plugin-transform-es2015-modules-umd": "6.24.1", + "babel-plugin-transform-es2015-object-super": "6.24.1", + "babel-plugin-transform-es2015-parameters": "6.24.1", + "babel-plugin-transform-es2015-shorthand-properties": "6.24.1", + "babel-plugin-transform-es2015-spread": "6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "6.24.1", + "babel-plugin-transform-es2015-template-literals": "6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "6.24.1", + "babel-plugin-transform-exponentiation-operator": "6.24.1", + "babel-plugin-transform-regenerator": "6.26.0", + "browserslist": "3.2.8", + "invariant": "2.2.4", + "semver": "5.5.1" + } + } + } + }, + "babel-preset-env": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.7.0.tgz", + "integrity": "sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==", + "dev": true, + "requires": { + "babel-plugin-check-es2015-constants": "6.22.0", + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-async-to-generator": "6.24.1", + "babel-plugin-transform-es2015-arrow-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoping": "6.26.0", + "babel-plugin-transform-es2015-classes": "6.24.1", + "babel-plugin-transform-es2015-computed-properties": "6.24.1", + "babel-plugin-transform-es2015-destructuring": "6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "6.24.1", + "babel-plugin-transform-es2015-for-of": "6.23.0", + "babel-plugin-transform-es2015-function-name": "6.24.1", + "babel-plugin-transform-es2015-literals": "6.22.0", + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", + "babel-plugin-transform-es2015-modules-systemjs": "6.24.1", + "babel-plugin-transform-es2015-modules-umd": "6.24.1", + "babel-plugin-transform-es2015-object-super": "6.24.1", + "babel-plugin-transform-es2015-parameters": "6.24.1", + "babel-plugin-transform-es2015-shorthand-properties": "6.24.1", + "babel-plugin-transform-es2015-spread": "6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "6.24.1", + "babel-plugin-transform-es2015-template-literals": "6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "6.24.1", + "babel-plugin-transform-exponentiation-operator": "6.24.1", + "babel-plugin-transform-regenerator": "6.26.0", + "browserslist": "3.2.8", + "invariant": "2.2.4", + "semver": "5.5.1" + } + }, + "babel-preset-flow": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-preset-flow/-/babel-preset-flow-6.23.0.tgz", + "integrity": "sha1-5xIYiHCFrpoktb5Baa/7WZgWxJ0=", + "dev": true, + "requires": { + "babel-plugin-transform-flow-strip-types": "6.22.0" + } + }, + "babel-preset-react": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-react/-/babel-preset-react-6.24.1.tgz", + "integrity": "sha1-umnfrqRfw+xjm2pOzqbhdwLJE4A=", + "dev": true, + "requires": { + "babel-plugin-syntax-jsx": "6.18.0", + "babel-plugin-transform-react-display-name": "6.25.0", + "babel-plugin-transform-react-jsx": "6.24.1", + "babel-plugin-transform-react-jsx-self": "6.22.0", + "babel-plugin-transform-react-jsx-source": "6.22.0", + "babel-preset-flow": "6.23.0" + } + }, + "babel-preset-stage-0": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-stage-0/-/babel-preset-stage-0-6.24.1.tgz", + "integrity": "sha1-VkLRUEL5E4TX5a+LyIsduVsDnmo=", + "dev": true, + "requires": { + "babel-plugin-transform-do-expressions": "6.22.0", + "babel-plugin-transform-function-bind": "6.22.0", + "babel-preset-stage-1": "6.24.1" + } + }, + "babel-preset-stage-1": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-stage-1/-/babel-preset-stage-1-6.24.1.tgz", + "integrity": "sha1-dpLNfc1oSZB+auSgqFWJz7niv7A=", + "dev": true, + "requires": { + "babel-plugin-transform-class-constructor-call": "6.24.1", + "babel-plugin-transform-export-extensions": "6.22.0", + "babel-preset-stage-2": "6.24.1" + } + }, + "babel-preset-stage-2": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-stage-2/-/babel-preset-stage-2-6.24.1.tgz", + "integrity": "sha1-2eKWD7PXEYfw5k7sYrwHdnIZvcE=", + "dev": true, + "requires": { + "babel-plugin-syntax-dynamic-import": "6.18.0", + "babel-plugin-transform-class-properties": "6.24.1", + "babel-plugin-transform-decorators": "6.24.1", + "babel-preset-stage-3": "6.24.1" + } + }, + "babel-preset-stage-3": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-stage-3/-/babel-preset-stage-3-6.24.1.tgz", + "integrity": "sha1-g2raCp56f6N8sTj7kyb4eTSkg5U=", + "dev": true, + "requires": { + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-async-generator-functions": "6.24.1", + "babel-plugin-transform-async-to-generator": "6.24.1", + "babel-plugin-transform-exponentiation-operator": "6.24.1", + "babel-plugin-transform-object-rest-spread": "6.26.0" + } + }, + "babel-register": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", + "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", + "dev": true, + "requires": { + "babel-core": "6.26.3", + "babel-runtime": "6.26.0", + "core-js": "2.5.7", + "home-or-tmp": "2.0.0", + "lodash": "4.17.11", + "mkdirp": "0.5.1", + "source-map-support": "0.4.18" + } + }, + "babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "requires": { + "core-js": "2.5.7", + "regenerator-runtime": "0.11.1" + } + }, + "babel-template": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", + "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "lodash": "4.17.11" + } + }, + "babel-traverse": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", + "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "dev": true, + "requires": { + "babel-code-frame": "6.26.0", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "debug": "2.6.9", + "globals": "9.18.0", + "invariant": "2.2.4", + "lodash": "4.17.11" + } + }, + "babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "esutils": "2.0.2", + "lodash": "4.17.11", + "to-fast-properties": "1.0.3" + } + }, + "babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", + "dev": true + }, + "backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=", + "dev": true + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "requires": { + "cache-base": "1.0.1", + "class-utils": "0.3.6", + "component-emitter": "1.2.1", + "define-property": "1.0.0", + "isobject": "3.0.1", + "mixin-deep": "1.3.1", + "pascalcase": "0.1.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "1.0.2" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "base64-arraybuffer": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz", + "integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg=", + "dev": true + }, + "base64-js": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.0.tgz", + "integrity": "sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==", + "dev": true + }, + "base64id": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/base64id/-/base64id-1.0.0.tgz", + "integrity": "sha1-R2iMuZu2gE8OBtPnY7HDLlfY5rY=", + "dev": true + }, + "batch": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", + "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=", + "dev": true + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, + "requires": { + "tweetnacl": "0.14.5" + } + }, + "better-assert": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/better-assert/-/better-assert-1.0.2.tgz", + "integrity": "sha1-QIZrnhueC1W0gYlDEeaPr/rrxSI=", + "dev": true, + "requires": { + "callsite": "1.0.0" + } + }, + "big.js": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz", + "integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==", + "dev": true + }, + "binary-extensions": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.12.0.tgz", + "integrity": "sha512-DYWGk01lDcxeS/K9IHPGWfT8PsJmbXRtRd2Sx72Tnb8pcYZQFF1oSDb8hJtS1vhp212q1Rzi5dUf9+nq0o9UIg==", + "dev": true + }, + "bl": { + "version": "0.9.5", + "resolved": "http://registry.npmjs.org/bl/-/bl-0.9.5.tgz", + "integrity": "sha1-wGt5evCF6gC8Unr8jvzxHeIjIFQ=", + "dev": true, + "requires": { + "readable-stream": "1.0.34" + } + }, + "blob": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/blob/-/blob-0.0.4.tgz", + "integrity": "sha1-vPEwUspURj8w+fx+lbmkdjCpSSE=", + "dev": true + }, + "block-stream": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", + "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", + "dev": true, + "requires": { + "inherits": "2.0.3" + } + }, + "bluebird": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.2.tgz", + "integrity": "sha512-dhHTWMI7kMx5whMQntl7Vr9C6BvV10lFXDAasnqnrMYhXVCzzk6IO9Fo2L75jXHT07WrOngL1WDXOp+yYS91Yg==", + "dev": true + }, + "body-parser": { + "version": "1.18.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.2.tgz", + "integrity": "sha1-h2eKGdhLR9hZuDGZvVm84iKxBFQ=", + "dev": true, + "requires": { + "bytes": "3.0.0", + "content-type": "1.0.4", + "debug": "2.6.9", + "depd": "1.1.2", + "http-errors": "1.6.3", + "iconv-lite": "0.4.19", + "on-finished": "2.3.0", + "qs": "6.5.1", + "raw-body": "2.3.2", + "type-is": "1.6.16" + }, + "dependencies": { + "iconv-lite": { + "version": "0.4.19", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz", + "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==", + "dev": true + }, + "qs": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz", + "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==", + "dev": true + } + } + }, + "boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", + "dev": true + }, + "boom": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/boom/-/boom-0.4.2.tgz", + "integrity": "sha1-emNune1O/O+xnO9JR6PGffrukRs=", + "dev": true, + "requires": { + "hoek": "0.9.1" + } + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "1.8.5", + "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", + "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", + "dev": true, + "requires": { + "expand-range": "1.8.2", + "preserve": "0.2.0", + "repeat-element": "1.1.3" + } + }, + "browser-stdout": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.0.tgz", + "integrity": "sha1-81HTKWnTL6XXpVZxVCY9korjvR8=", + "dev": true + }, + "browserify-aes": { + "version": "0.4.0", + "resolved": "http://registry.npmjs.org/browserify-aes/-/browserify-aes-0.4.0.tgz", + "integrity": "sha1-BnFJtmjfMcS1hTPgLQHoBthgjiw=", + "dev": true, + "requires": { + "inherits": "2.0.3" + } + }, + "browserify-zlib": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.1.4.tgz", + "integrity": "sha1-uzX4pRn2AOD6a4SFJByXnQFB+y0=", + "dev": true, + "requires": { + "pako": "0.2.9" + } + }, + "browserslist": { + "version": "3.2.8", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz", + "integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==", + "dev": true, + "requires": { + "caniuse-lite": "1.0.30000885", + "electron-to-chromium": "1.3.67" + } + }, + "buffer": { + "version": "4.9.1", + "resolved": "http://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", + "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", + "dev": true, + "requires": { + "base64-js": "1.3.0", + "ieee754": "1.1.12", + "isarray": "1.0.0" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + } + } + }, + "buffer-alloc": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz", + "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==", + "dev": true, + "requires": { + "buffer-alloc-unsafe": "1.1.0", + "buffer-fill": "1.0.0" + } + }, + "buffer-alloc-unsafe": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz", + "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==", + "dev": true + }, + "buffer-fill": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz", + "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=", + "dev": true + }, + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "dev": true + }, + "builtin-modules": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", + "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", + "dev": true + }, + "builtin-status-codes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", + "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", + "dev": true + }, + "bytes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", + "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=", + "dev": true + }, + "cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "requires": { + "collection-visit": "1.0.0", + "component-emitter": "1.2.1", + "get-value": "2.0.6", + "has-value": "1.0.0", + "isobject": "3.0.1", + "set-value": "2.0.0", + "to-object-path": "0.3.0", + "union-value": "1.0.0", + "unset-value": "1.0.0" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "caller-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz", + "integrity": "sha1-lAhe9jWB7NPaqSREqP6U6CV3dR8=", + "dev": true, + "requires": { + "callsites": "0.2.0" + } + }, + "callsite": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz", + "integrity": "sha1-KAOY5dZkvXQDi28JBRU+borxvCA=", + "dev": true + }, + "callsites": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz", + "integrity": "sha1-r6uWJikQp/M8GaV3WCXGnzTjUMo=", + "dev": true + }, + "camelcase": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", + "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", + "dev": true + }, + "camelcase-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "dev": true, + "requires": { + "camelcase": "2.1.1", + "map-obj": "1.0.1" + } + }, + "caniuse-api": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-1.6.1.tgz", + "integrity": "sha1-tTTnxzTE+B7F++isoq0kNUuWLGw=", + "dev": true, + "requires": { + "browserslist": "1.7.7", + "caniuse-db": "1.0.30000890", + "lodash.memoize": "4.1.2", + "lodash.uniq": "4.5.0" + }, + "dependencies": { + "browserslist": { + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz", + "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", + "dev": true, + "requires": { + "caniuse-db": "1.0.30000890", + "electron-to-chromium": "1.3.67" + } + } + } + }, + "caniuse-db": { + "version": "1.0.30000890", + "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000890.tgz", + "integrity": "sha512-aO5uw1Taw8GkNMMXIWOz/WJz3y6tR1ETUAdH/pvO5EoJ3I1Po9vNJd9aMjY1GKucS/OXWMiQbXRbk3O1sgCbRA==", + "dev": true + }, + "caniuse-lite": { + "version": "1.0.30000885", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000885.tgz", + "integrity": "sha512-cXKbYwpxBLd7qHyej16JazPoUacqoVuDhvR61U7Fr5vSxMUiodzcYa1rQYRYfZ5GexV03vGZHd722vNPLjPJGQ==", + "dev": true + }, + "caseless": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.6.0.tgz", + "integrity": "sha1-gWfBq4OX+1u5X5bSjlqBxQ8kesQ=", + "dev": true + }, + "center-align": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", + "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", + "dev": true, + "requires": { + "align-text": "0.1.4", + "lazy-cache": "1.0.4" + } + }, + "chai": { + "version": "3.5.0", + "resolved": "http://registry.npmjs.org/chai/-/chai-3.5.0.tgz", + "integrity": "sha1-TQJjewZ/6Vi9v906QOxW/vc3Mkc=", + "dev": true, + "requires": { + "assertion-error": "1.1.0", + "deep-eql": "0.1.3", + "type-detect": "1.0.0" + } + }, + "chalk": { + "version": "1.1.3", + "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" + } + }, + "chardet": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", + "integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I=", + "dev": true + }, + "cheerio": { + "version": "1.0.0-rc.2", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz", + "integrity": "sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=", + "dev": true, + "requires": { + "css-select": "1.2.0", + "dom-serializer": "0.1.0", + "entities": "1.1.2", + "htmlparser2": "3.10.0", + "lodash": "4.17.11", + "parse5": "3.0.3" + } + }, + "chokidar": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz", + "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", + "dev": true, + "requires": { + "anymatch": "1.3.2", + "async-each": "1.0.1", + "fsevents": "1.2.4", + "glob-parent": "2.0.0", + "inherits": "2.0.3", + "is-binary-path": "1.0.1", + "is-glob": "2.0.1", + "path-is-absolute": "1.0.1", + "readdirp": "2.2.1" + } + }, + "ci-info": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.5.1.tgz", + "integrity": "sha512-fKFIKXaYiL1exImwJ0AhR/6jxFPSKQBk2ayV5NiNoruUs2+rxC2kNw0EG+1Z9dugZRdCrppskQ8DN2cyaUM1Hw==", + "dev": true + }, + "circular-json": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz", + "integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==", + "dev": true + }, + "clap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/clap/-/clap-1.2.3.tgz", + "integrity": "sha512-4CoL/A3hf90V3VIEjeuhSvlGFEHKzOz+Wfc2IVZc+FaUgU0ZQafJTP49fvnULipOPcAfqhyI2duwQyns6xqjYA==", + "dev": true, + "requires": { + "chalk": "1.1.3" + } + }, + "class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "requires": { + "arr-union": "3.1.0", + "define-property": "0.2.5", + "isobject": "3.0.1", + "static-extend": "0.1.2" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "classnames": { + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz", + "integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==" + }, + "cli-cursor": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", + "dev": true, + "requires": { + "restore-cursor": "2.0.0" + } + }, + "cli-spinners": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-0.1.2.tgz", + "integrity": "sha1-u3ZNiOGF+54eaiofGXcjGPYF4xw=", + "dev": true + }, + "cli-truncate": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.2.1.tgz", + "integrity": "sha1-nxXPuwcFAFNpIWxiasfQWrkN1XQ=", + "dev": true, + "requires": { + "slice-ansi": "0.0.4", + "string-width": "1.0.2" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "slice-ansi": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", + "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=", + "dev": true + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + } + } + }, + "cli-width": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", + "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", + "dev": true + }, + "cliui": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", + "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", + "dev": true, + "requires": { + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wrap-ansi": "2.1.0" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + } + } + }, + "clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", + "dev": true + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", + "dev": true + }, + "coa": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/coa/-/coa-1.0.4.tgz", + "integrity": "sha1-qe8VNmDWqGqL3sAomlxoTSF0Mv0=", + "dev": true, + "requires": { + "q": "1.5.1" + } + }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true + }, + "codecov.io": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/codecov.io/-/codecov.io-0.1.6.tgz", + "integrity": "sha1-Wd/QLaH/McL7K5Uq2K0W/TeBtyg=", + "dev": true, + "requires": { + "request": "2.42.0", + "urlgrey": "0.4.0" + } + }, + "collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "dev": true, + "requires": { + "map-visit": "1.0.0", + "object-visit": "1.0.1" + } + }, + "color": { + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/color/-/color-0.11.4.tgz", + "integrity": "sha1-bXtcdPtl6EHNSHkq0e1eB7kE12Q=", + "dev": true, + "requires": { + "clone": "1.0.4", + "color-convert": "1.9.3", + "color-string": "0.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "color-string": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-0.3.0.tgz", + "integrity": "sha1-J9RvtnAlxcL6JZk7+/V55HhBuZE=", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "colormin": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/colormin/-/colormin-1.1.2.tgz", + "integrity": "sha1-6i90IKcrlogaOKrlnsEkpvcpgTM=", + "dev": true, + "requires": { + "color": "0.11.4", + "css-color-names": "0.0.4", + "has": "1.0.3" + } + }, + "colors": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz", + "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=", + "dev": true + }, + "combine-lists": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/combine-lists/-/combine-lists-1.0.1.tgz", + "integrity": "sha1-RYwH4J4NkA/Ci3Cj/sLazR0st/Y=", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + }, + "combined-stream": { + "version": "0.0.7", + "resolved": "http://registry.npmjs.org/combined-stream/-/combined-stream-0.0.7.tgz", + "integrity": "sha1-ATfmV7qlp1QcV6w3rF/AfXO03B8=", + "dev": true, + "optional": true, + "requires": { + "delayed-stream": "0.0.5" + } + }, + "commander": { + "version": "2.17.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz", + "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==", + "dev": true + }, + "commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, + "component-bind": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/component-bind/-/component-bind-1.0.0.tgz", + "integrity": "sha1-AMYIq33Nk4l8AAllGx06jh5zu9E=", + "dev": true + }, + "component-emitter": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz", + "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=", + "dev": true + }, + "component-inherit": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/component-inherit/-/component-inherit-0.0.3.tgz", + "integrity": "sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM=", + "dev": true + }, + "compressible": { + "version": "2.0.15", + "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.15.tgz", + "integrity": "sha512-4aE67DL33dSW9gw4CI2H/yTxqHLNcxp0yS6jB+4h+wr3e43+1z7vm0HU9qXOH8j+qjKuL8+UtkOxYQSMq60Ylw==", + "dev": true, + "requires": { + "mime-db": "1.36.0" + } + }, + "compression": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.3.tgz", + "integrity": "sha512-HSjyBG5N1Nnz7tF2+O7A9XUhyjru71/fwgNb7oIsEVHR0WShfs2tIS/EySLgiTe98aOK18YDlMXpzjCXY/n9mg==", + "dev": true, + "requires": { + "accepts": "1.3.5", + "bytes": "3.0.0", + "compressible": "2.0.15", + "debug": "2.6.9", + "on-headers": "1.0.1", + "safe-buffer": "5.1.2", + "vary": "1.1.2" + } + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "dev": true, + "requires": { + "buffer-from": "1.1.1", + "inherits": "2.0.3", + "readable-stream": "2.3.6", + "typedarray": "0.0.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "connect": { + "version": "3.6.6", + "resolved": "https://registry.npmjs.org/connect/-/connect-3.6.6.tgz", + "integrity": "sha1-Ce/2xVr3I24TcTWnJXSFi2eG9SQ=", + "dev": true, + "requires": { + "debug": "2.6.9", + "finalhandler": "1.1.0", + "parseurl": "1.3.2", + "utils-merge": "1.0.1" + }, + "dependencies": { + "finalhandler": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.0.tgz", + "integrity": "sha1-zgtoVbRYU+eRsvzGgARtiCU91/U=", + "dev": true, + "requires": { + "debug": "2.6.9", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "on-finished": "2.3.0", + "parseurl": "1.3.2", + "statuses": "1.3.1", + "unpipe": "1.0.0" + } + }, + "statuses": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", + "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=", + "dev": true + } + } + }, + "connect-history-api-fallback": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz", + "integrity": "sha1-sGhzk0vF40T+9hGhlqb6rgruAVo=", + "dev": true + }, + "console-browserify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz", + "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=", + "dev": true, + "requires": { + "date-now": "0.1.4" + } + }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true + }, + "constants-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", + "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", + "dev": true + }, + "contains-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", + "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", + "dev": true + }, + "content-disposition": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz", + "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ=", + "dev": true + }, + "content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "dev": true + }, + "convert-source-map": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz", + "integrity": "sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + }, + "cookie": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", + "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=", + "dev": true + }, + "cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", + "dev": true + }, + "copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", + "dev": true + }, + "core-js": { + "version": "2.5.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz", + "integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw==" + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true + }, + "cosmiconfig": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-4.0.0.tgz", + "integrity": "sha512-6e5vDdrXZD+t5v0L8CrurPeybg4Fmf+FCSYxXKYVAqLUtyCSbuyqE059d0kDthTNRzKVjL7QMgNpEUlsoYH3iQ==", + "dev": true, + "requires": { + "is-directory": "0.3.1", + "js-yaml": "3.12.0", + "parse-json": "4.0.0", + "require-from-string": "2.0.2" + }, + "dependencies": { + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, + "js-yaml": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz", + "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==", + "dev": true, + "requires": { + "argparse": "1.0.10", + "esprima": "4.0.1" + } + }, + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "requires": { + "error-ex": "1.3.2", + "json-parse-better-errors": "1.0.2" + } + } + } + }, + "create-react-context": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/create-react-context/-/create-react-context-0.2.3.tgz", + "integrity": "sha512-CQBmD0+QGgTaxDL3OX1IDXYqjkp2It4RIbcb99jS6AEg27Ga+a9G3JtK6SIu0HBwPLZlmwt9F7UwWA4Bn92Rag==", + "requires": { + "fbjs": "0.8.17", + "gud": "1.0.0" + } + }, + "cross-env": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-5.2.0.tgz", + "integrity": "sha512-jtdNFfFW1hB7sMhr/H6rW1Z45LFqyI431m3qU6bFXcQ3Eh7LtBuG3h74o7ohHZ3crrRkkqHlo4jYHFPcjroANg==", + "dev": true, + "requires": { + "cross-spawn": "6.0.5", + "is-windows": "1.0.2" + } + }, + "cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "dev": true, + "requires": { + "nice-try": "1.0.4", + "path-key": "2.0.1", + "semver": "5.5.1", + "shebang-command": "1.2.0", + "which": "1.3.1" + } + }, + "cryptiles": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-0.2.2.tgz", + "integrity": "sha1-7ZH/HxetE9N0gohZT4pIoNJvMlw=", + "dev": true, + "optional": true, + "requires": { + "boom": "0.4.2" + } + }, + "crypto-browserify": { + "version": "3.3.0", + "resolved": "http://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.3.0.tgz", + "integrity": "sha1-ufx1u0oO1h3PHNXa6W6zDJw+UGw=", + "dev": true, + "requires": { + "browserify-aes": "0.4.0", + "pbkdf2-compat": "2.0.1", + "ripemd160": "0.2.0", + "sha.js": "2.2.6" + } + }, + "css-color-names": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz", + "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=", + "dev": true + }, + "css-loader": { + "version": "0.28.11", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-0.28.11.tgz", + "integrity": "sha512-wovHgjAx8ZIMGSL8pTys7edA1ClmzxHeY6n/d97gg5odgsxEgKjULPR0viqyC+FWMCL9sfqoC/QCUBo62tLvPg==", + "dev": true, + "requires": { + "babel-code-frame": "6.26.0", + "css-selector-tokenizer": "0.7.0", + "cssnano": "3.10.0", + "icss-utils": "2.1.0", + "loader-utils": "1.1.0", + "lodash.camelcase": "4.3.0", + "object-assign": "4.1.1", + "postcss": "5.2.18", + "postcss-modules-extract-imports": "1.2.0", + "postcss-modules-local-by-default": "1.2.0", + "postcss-modules-scope": "1.1.0", + "postcss-modules-values": "1.3.0", + "postcss-value-parser": "3.3.0", + "source-list-map": "2.0.0" + }, + "dependencies": { + "loader-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", + "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", + "dev": true, + "requires": { + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1" + } + } + } + }, + "css-select": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", + "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", + "dev": true, + "requires": { + "boolbase": "1.0.0", + "css-what": "2.1.2", + "domutils": "1.5.1", + "nth-check": "1.0.2" + } + }, + "css-selector-tokenizer": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.7.0.tgz", + "integrity": "sha1-5piEdK6MlTR3v15+/s/OzNnPTIY=", + "dev": true, + "requires": { + "cssesc": "0.1.0", + "fastparse": "1.1.1", + "regexpu-core": "1.0.0" + }, + "dependencies": { + "regexpu-core": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-1.0.0.tgz", + "integrity": "sha1-hqdj9Y7k18L2sQLkdkBQ3n7ZDGs=", + "dev": true, + "requires": { + "regenerate": "1.4.0", + "regjsgen": "0.2.0", + "regjsparser": "0.1.5" + } + } + } + }, + "css-what": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.2.tgz", + "integrity": "sha512-wan8dMWQ0GUeF7DGEPVjhHemVW/vy6xUYmFzRY8RYqgA0JtXC9rJmbScBjqSu6dg9q0lwPQy6ZAmJVr3PPTvqQ==", + "dev": true + }, + "cssesc": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-0.1.0.tgz", + "integrity": "sha1-yBSQPkViM3GgR3tAEJqq++6t27Q=", + "dev": true + }, + "cssnano": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-3.10.0.tgz", + "integrity": "sha1-Tzj2zqK5sX+gFJDyPx3GjqZcHDg=", + "dev": true, + "requires": { + "autoprefixer": "6.7.7", + "decamelize": "1.2.0", + "defined": "1.0.0", + "has": "1.0.3", + "object-assign": "4.1.1", + "postcss": "5.2.18", + "postcss-calc": "5.3.1", + "postcss-colormin": "2.2.2", + "postcss-convert-values": "2.6.1", + "postcss-discard-comments": "2.0.4", + "postcss-discard-duplicates": "2.1.0", + "postcss-discard-empty": "2.1.0", + "postcss-discard-overridden": "0.1.1", + "postcss-discard-unused": "2.2.3", + "postcss-filter-plugins": "2.0.2", + "postcss-merge-idents": "2.1.7", + "postcss-merge-longhand": "2.0.2", + "postcss-merge-rules": "2.1.2", + "postcss-minify-font-values": "1.0.5", + "postcss-minify-gradients": "1.0.5", + "postcss-minify-params": "1.2.2", + "postcss-minify-selectors": "2.1.1", + "postcss-normalize-charset": "1.1.1", + "postcss-normalize-url": "3.0.8", + "postcss-ordered-values": "2.2.3", + "postcss-reduce-idents": "2.4.0", + "postcss-reduce-initial": "1.0.1", + "postcss-reduce-transforms": "1.0.4", + "postcss-svgo": "2.1.6", + "postcss-unique-selectors": "2.0.2", + "postcss-value-parser": "3.3.0", + "postcss-zindex": "2.2.0" + }, + "dependencies": { + "defined": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", + "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=", + "dev": true + } + } + }, + "csso": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/csso/-/csso-2.3.2.tgz", + "integrity": "sha1-3dUsWHAz9J6Utx/FVWnyUuj/X4U=", + "dev": true, + "requires": { + "clap": "1.2.3", + "source-map": "0.5.7" + } + }, + "ctype": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/ctype/-/ctype-0.5.3.tgz", + "integrity": "sha1-gsGMJGH3QRTvFsE1IkrQuRRMoS8=", + "dev": true, + "optional": true + }, + "currently-unhandled": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", + "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", + "dev": true, + "requires": { + "array-find-index": "1.0.2" + } + }, + "custom-event": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/custom-event/-/custom-event-1.0.1.tgz", + "integrity": "sha1-XQKkaFCt8bSjF5RqOSj8y1v9BCU=", + "dev": true + }, + "d": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz", + "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=", + "dev": true, + "requires": { + "es5-ext": "0.10.46" + } + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, + "requires": { + "assert-plus": "1.0.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + } + } + }, + "date-fns": { + "version": "2.0.0-alpha.23", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.0.0-alpha.23.tgz", + "integrity": "sha512-KeTgG5mbk+o9UbMXqxOvW+G46mWOWqJdjQDOP8t82E6Q28oH2ObcBvdRQbNFR55cun4QUg359PeE/KDBWJlk9g==" + }, + "date-now": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", + "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=", + "dev": true + }, + "dateformat": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-1.0.12.tgz", + "integrity": "sha1-nxJLZ1lMk3/3BpMuSmQsyo27/uk=", + "dev": true, + "requires": { + "get-stdin": "4.0.1", + "meow": "3.7.0" + } + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true + }, + "decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "dev": true + }, + "dedent": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", + "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", + "dev": true + }, + "deep-eql": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-0.1.3.tgz", + "integrity": "sha1-71WKyrjeJSBs1xOQbXTlaTDrafI=", + "dev": true, + "requires": { + "type-detect": "0.1.1" + }, + "dependencies": { + "type-detect": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-0.1.1.tgz", + "integrity": "sha1-C6XsKohWQORw6k6FBZcZANrFiCI=", + "dev": true + } + } + }, + "deep-equal": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-0.1.2.tgz", + "integrity": "sha1-skbCuApXCkfBG+HZvRBw7IeLh84=", + "dev": true + }, + "deep-is": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", + "dev": true + }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "requires": { + "object-keys": "1.0.12" + } + }, + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "1.0.2", + "isobject": "3.0.1" + }, + "dependencies": { + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "defined": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/defined/-/defined-0.0.0.tgz", + "integrity": "sha1-817qfXBekzuvE7LwOz+D2SFAOz4=", + "dev": true + }, + "del": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz", + "integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=", + "dev": true, + "requires": { + "globby": "5.0.0", + "is-path-cwd": "1.0.0", + "is-path-in-cwd": "1.0.1", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "rimraf": "2.6.2" + } + }, + "delayed-stream": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz", + "integrity": "sha1-1LH0OpPoKW3+AmlPRoC8N6MTxz8=", + "dev": true, + "optional": true + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "dev": true + }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=", + "dev": true + }, + "detect-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", + "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", + "dev": true, + "requires": { + "repeating": "2.0.1" + } + }, + "di": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/di/-/di-0.0.1.tgz", + "integrity": "sha1-gGZJMmzqp8qjMG112YXqJ0i6kTw=", + "dev": true + }, + "diff": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.3.1.tgz", + "integrity": "sha512-MKPHZDMB0o6yHyDryUOScqZibp914ksXwAMYMTHj6KO8UeKsRYNJD3oNCKjTqZon+V488P7N/HzXF8t7ZR95ww==", + "dev": true + }, + "discontinuous-range": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/discontinuous-range/-/discontinuous-range-1.0.0.tgz", + "integrity": "sha1-44Mx8IRLukm5qctxx3FYWqsbxlo=", + "dev": true + }, + "doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "requires": { + "esutils": "2.0.2" + } + }, + "dom-serialize": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/dom-serialize/-/dom-serialize-2.2.1.tgz", + "integrity": "sha1-ViromZ9Evl6jB29UGdzVnrQ6yVs=", + "dev": true, + "requires": { + "custom-event": "1.0.1", + "ent": "2.2.0", + "extend": "3.0.2", + "void-elements": "2.0.1" + } + }, + "dom-serializer": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz", + "integrity": "sha1-BzxpdUbOB4DOI75KKOKT5AvDDII=", + "dev": true, + "requires": { + "domelementtype": "1.1.3", + "entities": "1.1.2" + }, + "dependencies": { + "domelementtype": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz", + "integrity": "sha1-vSh3PiZCiBrsUVRJJCmcXNgiGFs=", + "dev": true + } + } + }, + "dom-walk": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.1.tgz", + "integrity": "sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg=", + "dev": true + }, + "domain-browser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", + "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", + "dev": true + }, + "domelementtype": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.2.1.tgz", + "integrity": "sha512-SQVCLFS2E7G5CRCMdn6K9bIhRj1bS6QBWZfF0TUPh4V/BbqrQ619IdSS3/izn0FZ+9l+uODzaZjb08fjOfablA==", + "dev": true + }, + "domhandler": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", + "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", + "dev": true, + "requires": { + "domelementtype": "1.2.1" + } + }, + "domutils": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", + "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", + "dev": true, + "requires": { + "dom-serializer": "0.1.0", + "domelementtype": "1.2.1" + } + }, + "duplexer": { + "version": "0.1.1", + "resolved": "http://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", + "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=", + "dev": true + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, + "requires": { + "jsbn": "0.1.1", + "safer-buffer": "2.1.2" + } + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", + "dev": true + }, + "electron-to-chromium": { + "version": "1.3.67", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.67.tgz", + "integrity": "sha512-h3zEBLdHvsKfaXv1SHAtykJyNtwYFEKkrWGSFyW1BzGgPQ4ykAzD5Hd8C5MZGTAEhkCKmtyIwYUrapsI0xfKww==", + "dev": true + }, + "elegant-spinner": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/elegant-spinner/-/elegant-spinner-1.0.1.tgz", + "integrity": "sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4=", + "dev": true + }, + "emojis-list": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz", + "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=", + "dev": true + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", + "dev": true + }, + "encoding": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", + "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", + "requires": { + "iconv-lite": "0.4.24" + } + }, + "engine.io": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-1.8.3.tgz", + "integrity": "sha1-jef5eJXSDTm4X4ju7nd7K9QrE9Q=", + "dev": true, + "requires": { + "accepts": "1.3.3", + "base64id": "1.0.0", + "cookie": "0.3.1", + "debug": "2.3.3", + "engine.io-parser": "1.3.2", + "ws": "1.1.2" + }, + "dependencies": { + "accepts": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.3.tgz", + "integrity": "sha1-w8p0NJOGSMPg2cHjKN1otiLChMo=", + "dev": true, + "requires": { + "mime-types": "2.1.20", + "negotiator": "0.6.1" + } + }, + "debug": { + "version": "2.3.3", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.3.3.tgz", + "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=", + "dev": true, + "requires": { + "ms": "0.7.2" + } + }, + "mime-types": { + "version": "2.1.20", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz", + "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==", + "dev": true, + "requires": { + "mime-db": "1.36.0" + } + }, + "ms": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", + "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "dev": true + } + } + }, + "engine.io-client": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-1.8.3.tgz", + "integrity": "sha1-F5jtk0USRkU9TG9jXXogH+lA1as=", + "dev": true, + "requires": { + "component-emitter": "1.2.1", + "component-inherit": "0.0.3", + "debug": "2.3.3", + "engine.io-parser": "1.3.2", + "has-cors": "1.1.0", + "indexof": "0.0.1", + "parsejson": "0.0.3", + "parseqs": "0.0.5", + "parseuri": "0.0.5", + "ws": "1.1.2", + "xmlhttprequest-ssl": "1.5.3", + "yeast": "0.1.2" + }, + "dependencies": { + "debug": { + "version": "2.3.3", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.3.3.tgz", + "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=", + "dev": true, + "requires": { + "ms": "0.7.2" + } + }, + "ms": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", + "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "dev": true + } + } + }, + "engine.io-parser": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-1.3.2.tgz", + "integrity": "sha1-k3sHnwAH0Ik+xW1GyyILjLQ1Igo=", + "dev": true, + "requires": { + "after": "0.8.2", + "arraybuffer.slice": "0.0.6", + "base64-arraybuffer": "0.1.5", + "blob": "0.0.4", + "has-binary": "0.1.7", + "wtf-8": "1.0.0" + } + }, + "enhanced-resolve": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-0.9.1.tgz", + "integrity": "sha1-TW5omzcl+GCQknzMhs2fFjW4ni4=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "memory-fs": "0.2.0", + "tapable": "0.1.10" + }, + "dependencies": { + "memory-fs": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.2.0.tgz", + "integrity": "sha1-8rslNovBIeORwlIN6Slpyu4KApA=", + "dev": true + } + } + }, + "ent": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", + "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=", + "dev": true + }, + "entities": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==", + "dev": true + }, + "enzyme": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/enzyme/-/enzyme-3.7.0.tgz", + "integrity": "sha512-QLWx+krGK6iDNyR1KlH5YPZqxZCQaVF6ike1eDJAOg0HvSkSCVImPsdWaNw6v+VrnK92Kg8jIOYhuOSS9sBpyg==", + "dev": true, + "requires": { + "array.prototype.flat": "1.2.1", + "cheerio": "1.0.0-rc.2", + "function.prototype.name": "1.1.0", + "has": "1.0.3", + "is-boolean-object": "1.0.0", + "is-callable": "1.1.4", + "is-number-object": "1.0.3", + "is-string": "1.0.4", + "is-subset": "0.1.1", + "lodash.escape": "4.0.1", + "lodash.isequal": "4.5.0", + "object-inspect": "1.6.0", + "object-is": "1.0.1", + "object.assign": "4.1.0", + "object.entries": "1.0.4", + "object.values": "1.0.4", + "raf": "3.4.0", + "rst-selector-parser": "2.2.3", + "string.prototype.trim": "1.1.2" + } + }, + "enzyme-adapter-react-16": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.6.0.tgz", + "integrity": "sha512-ay9eGFpChyUDnjTFMMJHzrb681LF3hPWJLEA7RoLFG9jSWAdAm2V50pGmFV9dYGJgh5HfdiqM+MNvle41Yf/PA==", + "dev": true, + "requires": { + "enzyme-adapter-utils": "1.8.1", + "function.prototype.name": "1.1.0", + "object.assign": "4.1.0", + "object.values": "1.0.4", + "prop-types": "15.6.2", + "react-is": "16.5.2", + "react-test-renderer": "16.5.2" + } + }, + "enzyme-adapter-utils": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/enzyme-adapter-utils/-/enzyme-adapter-utils-1.8.1.tgz", + "integrity": "sha512-s3QB3xQAowaDS2sHhmEqrT13GJC4+n5bG015ZkLv60n9k5vhxxHTQRIneZmQ4hmdCZEBrvUJ89PG6fRI5OEeuQ==", + "dev": true, + "requires": { + "function.prototype.name": "1.1.0", + "object.assign": "4.1.0", + "prop-types": "15.6.2" + } + }, + "errno": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz", + "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==", + "dev": true, + "requires": { + "prr": "1.0.1" + } + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "0.2.1" + } + }, + "es-abstract": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.12.0.tgz", + "integrity": "sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==", + "dev": true, + "requires": { + "es-to-primitive": "1.2.0", + "function-bind": "1.1.1", + "has": "1.0.3", + "is-callable": "1.1.4", + "is-regex": "1.0.4" + } + }, + "es-to-primitive": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz", + "integrity": "sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==", + "dev": true, + "requires": { + "is-callable": "1.1.4", + "is-date-object": "1.0.1", + "is-symbol": "1.0.2" + } + }, + "es5-ext": { + "version": "0.10.46", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.46.tgz", + "integrity": "sha512-24XxRvJXNFwEMpJb3nOkiRJKRoupmjYmOPVlI65Qy2SrtxwOTB+g6ODjBKOtwEHbYrhWRty9xxOWLNdClT2djw==", + "dev": true, + "requires": { + "es6-iterator": "2.0.3", + "es6-symbol": "3.1.1", + "next-tick": "1.0.0" + } + }, + "es6-iterator": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", + "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46", + "es6-symbol": "3.1.1" + } + }, + "es6-map": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz", + "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46", + "es6-iterator": "2.0.3", + "es6-set": "0.1.5", + "es6-symbol": "3.1.1", + "event-emitter": "0.3.5" + } + }, + "es6-set": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz", + "integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46", + "es6-iterator": "2.0.3", + "es6-symbol": "3.1.1", + "event-emitter": "0.3.5" + } + }, + "es6-symbol": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz", + "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46" + } + }, + "es6-weak-map": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.2.tgz", + "integrity": "sha1-XjqzIlH/0VOKH45f+hNXdy+S2W8=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46", + "es6-iterator": "2.0.3", + "es6-symbol": "3.1.1" + } + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "escodegen": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.11.0.tgz", + "integrity": "sha512-IeMV45ReixHS53K/OmfKAIztN/igDHzTJUhZM3k1jMhIZWjk45SMwAtBsEXiJp3vSPmTcu6CXn7mDvFHRN66fw==", + "dev": true, + "requires": { + "esprima": "3.1.3", + "estraverse": "4.2.0", + "esutils": "2.0.2", + "optionator": "0.8.2", + "source-map": "0.6.1" + }, + "dependencies": { + "esprima": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz", + "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "optional": true + } + } + }, + "escope": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/escope/-/escope-3.6.0.tgz", + "integrity": "sha1-4Bl16BJ4GhY6ba392AOY3GTIicM=", + "dev": true, + "requires": { + "es6-map": "0.1.5", + "es6-weak-map": "2.0.2", + "esrecurse": "4.2.1", + "estraverse": "4.2.0" + } + }, + "eslint": { + "version": "4.19.1", + "resolved": "http://registry.npmjs.org/eslint/-/eslint-4.19.1.tgz", + "integrity": "sha512-bT3/1x1EbZB7phzYu7vCr1v3ONuzDtX8WjuM9c0iYxe+cq+pwcKEoQjl7zd3RpC6YOLgnSy3cTN58M2jcoPDIQ==", + "dev": true, + "requires": { + "ajv": "5.5.2", + "babel-code-frame": "6.26.0", + "chalk": "2.4.1", + "concat-stream": "1.6.2", + "cross-spawn": "5.1.0", + "debug": "3.2.5", + "doctrine": "2.1.0", + "eslint-scope": "3.7.1", + "eslint-visitor-keys": "1.0.0", + "espree": "3.5.4", + "esquery": "1.0.1", + "esutils": "2.0.2", + "file-entry-cache": "2.0.0", + "functional-red-black-tree": "1.0.1", + "glob": "7.1.3", + "globals": "11.7.0", + "ignore": "3.3.10", + "imurmurhash": "0.1.4", + "inquirer": "3.3.0", + "is-resolvable": "1.1.0", + "js-yaml": "3.12.0", + "json-stable-stringify-without-jsonify": "1.0.1", + "levn": "0.3.0", + "lodash": "4.17.11", + "minimatch": "3.0.4", + "mkdirp": "0.5.1", + "natural-compare": "1.4.0", + "optionator": "0.8.2", + "path-is-inside": "1.0.2", + "pluralize": "7.0.0", + "progress": "2.0.0", + "regexpp": "1.1.0", + "require-uncached": "1.0.3", + "semver": "5.5.1", + "strip-ansi": "4.0.0", + "strip-json-comments": "2.0.1", + "table": "4.0.2", + "text-table": "0.2.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "cross-spawn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "dev": true, + "requires": { + "lru-cache": "4.1.3", + "shebang-command": "1.2.0", + "which": "1.3.1" + } + }, + "debug": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.5.tgz", + "integrity": "sha512-D61LaDQPQkxJ5AUM2mbSJRbPkNs/TmdmOeLAi1hgDkpDfIfetSrjmWhccwtuResSwMbACjx/xXQofvM9CE/aeg==", + "dev": true, + "requires": { + "ms": "2.1.1" + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, + "globals": { + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.7.0.tgz", + "integrity": "sha512-K8BNSPySfeShBQXsahYB/AbbWruVOTyVpgoIDnl8odPpeSfP2J5QO2oLFFdl2j7GfDCtZj2bMKar2T49itTPCg==", + "dev": true + }, + "js-yaml": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz", + "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==", + "dev": true, + "requires": { + "argparse": "1.0.10", + "esprima": "4.0.1" + } + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "3.0.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "eslint-import-resolver-node": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz", + "integrity": "sha512-sfmTqJfPSizWu4aymbPr4Iidp5yKm8yDkHp+Ir3YiTHiiDfxh69mOUsmiqW6RZ9zRXFaF64GtYmN7e+8GHBv6Q==", + "dev": true, + "requires": { + "debug": "2.6.9", + "resolve": "1.8.1" + } + }, + "eslint-module-utils": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.2.0.tgz", + "integrity": "sha1-snA2LNiLGkitMIl2zn+lTphBF0Y=", + "dev": true, + "requires": { + "debug": "2.6.9", + "pkg-dir": "1.0.0" + } + }, + "eslint-plugin-import": { + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.14.0.tgz", + "integrity": "sha512-FpuRtniD/AY6sXByma2Wr0TXvXJ4nA/2/04VPlfpmUDPOpOY264x+ILiwnrk/k4RINgDAyFZByxqPUbSQ5YE7g==", + "dev": true, + "requires": { + "contains-path": "0.1.0", + "debug": "2.6.9", + "doctrine": "1.5.0", + "eslint-import-resolver-node": "0.3.2", + "eslint-module-utils": "2.2.0", + "has": "1.0.3", + "lodash": "4.17.11", + "minimatch": "3.0.4", + "read-pkg-up": "2.0.0", + "resolve": "1.8.1" + }, + "dependencies": { + "doctrine": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", + "dev": true, + "requires": { + "esutils": "2.0.2", + "isarray": "1.0.0" + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + } + } + }, + "eslint-plugin-node": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-5.2.1.tgz", + "integrity": "sha512-xhPXrh0Vl/b7870uEbaumb2Q+LxaEcOQ3kS1jtIXanBAwpMre1l5q/l2l/hESYJGEFKuI78bp6Uw50hlpr7B+g==", + "dev": true, + "requires": { + "ignore": "3.3.10", + "minimatch": "3.0.4", + "resolve": "1.8.1", + "semver": "5.3.0" + }, + "dependencies": { + "semver": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", + "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=", + "dev": true + } + } + }, + "eslint-plugin-promise": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-3.8.0.tgz", + "integrity": "sha512-JiFL9UFR15NKpHyGii1ZcvmtIqa3UTwiDAGb8atSffe43qJ3+1czVGN6UtkklpcJ2DVnqvTMzEKRaJdBkAL2aQ==", + "dev": true + }, + "eslint-plugin-react": { + "version": "7.11.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.11.1.tgz", + "integrity": "sha512-cVVyMadRyW7qsIUh3FHp3u6QHNhOgVrLQYdQEB1bPWBsgbNCHdFAeNMquBMCcZJu59eNthX053L70l7gRt4SCw==", + "dev": true, + "requires": { + "array-includes": "3.0.3", + "doctrine": "2.1.0", + "has": "1.0.3", + "jsx-ast-utils": "2.0.1", + "prop-types": "15.6.2" + } + }, + "eslint-scope": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.1.tgz", + "integrity": "sha1-PWPD7f2gLgbgGkUq2IyqzHzctug=", + "dev": true, + "requires": { + "esrecurse": "4.2.1", + "estraverse": "4.2.0" + } + }, + "eslint-visitor-keys": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", + "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==", + "dev": true + }, + "espree": { + "version": "3.5.4", + "resolved": "https://registry.npmjs.org/espree/-/espree-3.5.4.tgz", + "integrity": "sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A==", + "dev": true, + "requires": { + "acorn": "5.7.3", + "acorn-jsx": "3.0.1" + } + }, + "esprima": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", + "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=", + "dev": true + }, + "esquery": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", + "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==", + "dev": true, + "requires": { + "estraverse": "4.2.0" + } + }, + "esrecurse": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", + "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", + "dev": true, + "requires": { + "estraverse": "4.2.0" + } + }, + "estraverse": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", + "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", + "dev": true + }, + "estree-walker": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.2.1.tgz", + "integrity": "sha1-va/oCVOD2EFNXcLs9MkXO225QS4=", + "dev": true + }, + "esutils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", + "dev": true + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", + "dev": true + }, + "event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46" + } + }, + "event-stream": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/event-stream/-/event-stream-3.3.6.tgz", + "integrity": "sha512-dGXNg4F/FgVzlApjzItL+7naHutA3fDqbV/zAZqDDlXTjiMnQmZKu+prImWKszeBM5UQeGvAl3u1wBiKeDh61g==", + "dev": true, + "requires": { + "duplexer": "0.1.1", + "flatmap-stream": "0.1.1", + "from": "0.1.7", + "map-stream": "0.0.7", + "pause-stream": "0.0.11", + "split": "1.0.1", + "stream-combiner": "0.2.2", + "through": "2.3.8" + }, + "dependencies": { + "split": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", + "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", + "dev": true, + "requires": { + "through": "2.3.8" + } + }, + "stream-combiner": { + "version": "0.2.2", + "resolved": "http://registry.npmjs.org/stream-combiner/-/stream-combiner-0.2.2.tgz", + "integrity": "sha1-rsjLrBd7Vrb0+kec7YwZEs7lKFg=", + "dev": true, + "requires": { + "duplexer": "0.1.1", + "through": "2.3.8" + } + } + } + }, + "eventemitter3": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.0.tgz", + "integrity": "sha512-ivIvhpq/Y0uSjcHDcOIccjmYjGLcP09MFGE7ysAwkAvkXfpZlC985pH2/ui64DKazbTW/4kN3yqozUxlXzI6cA==", + "dev": true + }, + "events": { + "version": "1.1.1", + "resolved": "http://registry.npmjs.org/events/-/events-1.1.1.tgz", + "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=", + "dev": true + }, + "eventsource": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-0.1.6.tgz", + "integrity": "sha1-Cs7ehJ7X3RzMMsgRuxG5RNTykjI=", + "dev": true, + "requires": { + "original": "1.0.2" + } + }, + "execa": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.8.0.tgz", + "integrity": "sha1-2NdrvBtVIX7RkP1t1J08d07PyNo=", + "dev": true, + "requires": { + "cross-spawn": "5.1.0", + "get-stream": "3.0.0", + "is-stream": "1.1.0", + "npm-run-path": "2.0.2", + "p-finally": "1.0.0", + "signal-exit": "3.0.2", + "strip-eof": "1.0.0" + }, + "dependencies": { + "cross-spawn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "dev": true, + "requires": { + "lru-cache": "4.1.3", + "shebang-command": "1.2.0", + "which": "1.3.1" + } + } + } + }, + "exit-hook": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz", + "integrity": "sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g=", + "dev": true + }, + "expand-braces": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/expand-braces/-/expand-braces-0.1.2.tgz", + "integrity": "sha1-SIsdHSRRyz06axks/AMPRMWFX+o=", + "dev": true, + "requires": { + "array-slice": "0.2.3", + "array-unique": "0.2.1", + "braces": "0.1.5" + }, + "dependencies": { + "braces": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/braces/-/braces-0.1.5.tgz", + "integrity": "sha1-wIVxEIUpHYt1/ddOqw+FlygHEeY=", + "dev": true, + "requires": { + "expand-range": "0.1.1" + } + }, + "expand-range": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-0.1.1.tgz", + "integrity": "sha1-TLjtoJk8pW+k9B/ELzy7TMrf8EQ=", + "dev": true, + "requires": { + "is-number": "0.1.1", + "repeat-string": "0.2.2" + } + }, + "is-number": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-0.1.1.tgz", + "integrity": "sha1-aaevEWlj1HIG7JvZtIoUIW8eOAY=", + "dev": true + }, + "repeat-string": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-0.2.2.tgz", + "integrity": "sha1-x6jTI2BoNiBZp+RlH8aITosftK4=", + "dev": true + } + } + }, + "expand-brackets": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", + "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", + "dev": true, + "requires": { + "is-posix-bracket": "0.1.1" + } + }, + "expand-range": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", + "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", + "dev": true, + "requires": { + "fill-range": "2.2.4" + } + }, + "express": { + "version": "4.16.4", + "resolved": "https://registry.npmjs.org/express/-/express-4.16.4.tgz", + "integrity": "sha512-j12Uuyb4FMrd/qQAm6uCHAkPtO8FDTRJZBDd5D2KOL2eLaz1yUNdUB/NOIyq0iU4q4cFarsUCrnFDPBcnksuOg==", + "dev": true, + "requires": { + "accepts": "1.3.5", + "array-flatten": "1.1.1", + "body-parser": "1.18.3", + "content-disposition": "0.5.2", + "content-type": "1.0.4", + "cookie": "0.3.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "1.1.2", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "etag": "1.8.1", + "finalhandler": "1.1.1", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "1.1.2", + "on-finished": "2.3.0", + "parseurl": "1.3.2", + "path-to-regexp": "0.1.7", + "proxy-addr": "2.0.4", + "qs": "6.5.2", + "range-parser": "1.2.0", + "safe-buffer": "5.1.2", + "send": "0.16.2", + "serve-static": "1.13.2", + "setprototypeof": "1.1.0", + "statuses": "1.4.0", + "type-is": "1.6.16", + "utils-merge": "1.0.1", + "vary": "1.1.2" + }, + "dependencies": { + "body-parser": { + "version": "1.18.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.3.tgz", + "integrity": "sha1-WykhmP/dVTs6DyDe0FkrlWlVyLQ=", + "dev": true, + "requires": { + "bytes": "3.0.0", + "content-type": "1.0.4", + "debug": "2.6.9", + "depd": "1.1.2", + "http-errors": "1.6.3", + "iconv-lite": "0.4.23", + "on-finished": "2.3.0", + "qs": "6.5.2", + "raw-body": "2.3.3", + "type-is": "1.6.16" + } + }, + "iconv-lite": { + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", + "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", + "dev": true, + "requires": { + "safer-buffer": "2.1.2" + } + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true + }, + "raw-body": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.3.tgz", + "integrity": "sha512-9esiElv1BrZoI3rCDuOuKCBRbuApGGaDPQfjSflGxdy4oyzqghxu6klEkkVIvBje+FF0BX9coEv8KqW6X/7njw==", + "dev": true, + "requires": { + "bytes": "3.0.0", + "http-errors": "1.6.3", + "iconv-lite": "0.4.23", + "unpipe": "1.0.0" + } + } + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "dev": true, + "requires": { + "assign-symbols": "1.0.0", + "is-extendable": "1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "2.0.4" + } + } + } + }, + "external-editor": { + "version": "2.2.0", + "resolved": "http://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", + "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", + "dev": true, + "requires": { + "chardet": "0.4.2", + "iconv-lite": "0.4.24", + "tmp": "0.0.33" + } + }, + "extglob": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", + "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", + "dev": true, + "requires": { + "is-extglob": "1.0.0" + } + }, + "extract-text-webpack-plugin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/extract-text-webpack-plugin/-/extract-text-webpack-plugin-1.0.1.tgz", + "integrity": "sha1-yVvzy6rEnclvHcbgclSfu2VMzSw=", + "dev": true, + "requires": { + "async": "1.5.2", + "loader-utils": "0.2.17", + "webpack-sources": "0.1.5" + }, + "dependencies": { + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + } + } + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true + }, + "fast-deep-equal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", + "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=", + "dev": true + }, + "fast-json-stable-stringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "fastparse": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.1.tgz", + "integrity": "sha1-0eJkOzipTXWDtHkGDmxK/8lAcfg=", + "dev": true + }, + "faye-websocket": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz", + "integrity": "sha1-TkkvjQTftviQA1B/btvy1QHnxvQ=", + "dev": true, + "requires": { + "websocket-driver": "0.7.0" + } + }, + "fbjs": { + "version": "0.8.17", + "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.17.tgz", + "integrity": "sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90=", + "requires": { + "core-js": "1.2.7", + "isomorphic-fetch": "2.2.1", + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "promise": "7.3.1", + "setimmediate": "1.0.5", + "ua-parser-js": "0.7.18" + }, + "dependencies": { + "core-js": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", + "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=" + } + } + }, + "figures": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5" + } + }, + "file-entry-cache": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz", + "integrity": "sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E=", + "dev": true, + "requires": { + "flat-cache": "1.3.0", + "object-assign": "4.1.1" + } + }, + "filename-regex": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", + "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=", + "dev": true + }, + "fileset": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fileset/-/fileset-0.2.1.tgz", + "integrity": "sha1-WI74lzxmI7KnbfRlEFaWuWqsgGc=", + "dev": true, + "requires": { + "glob": "5.0.15", + "minimatch": "2.0.10" + }, + "dependencies": { + "glob": { + "version": "5.0.15", + "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", + "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=", + "dev": true, + "requires": { + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "2.0.10", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "minimatch": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-2.0.10.tgz", + "integrity": "sha1-jQh8OcazjAAbl/ynzm0OHoCvusc=", + "dev": true, + "requires": { + "brace-expansion": "1.1.11" + } + } + } + }, + "fill-range": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz", + "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==", + "dev": true, + "requires": { + "is-number": "2.1.0", + "isobject": "2.1.0", + "randomatic": "3.1.0", + "repeat-element": "1.1.3", + "repeat-string": "1.6.1" + } + }, + "finalhandler": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz", + "integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==", + "dev": true, + "requires": { + "debug": "2.6.9", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "on-finished": "2.3.0", + "parseurl": "1.3.2", + "statuses": "1.4.0", + "unpipe": "1.0.0" + } + }, + "find-cache-dir": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-0.1.1.tgz", + "integrity": "sha1-yN765XyKUqinhPnjHFfHQumToLk=", + "dev": true, + "requires": { + "commondir": "1.0.1", + "mkdirp": "0.5.1", + "pkg-dir": "1.0.0" + } + }, + "find-parent-dir": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/find-parent-dir/-/find-parent-dir-0.3.0.tgz", + "integrity": "sha1-M8RLQpqysvBkYpnF+fcY83b/jVQ=", + "dev": true + }, + "find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "dev": true, + "requires": { + "path-exists": "2.1.0", + "pinkie-promise": "2.0.1" + } + }, + "flat-cache": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.0.tgz", + "integrity": "sha1-0wMLMrOBVPTjt+nHCfSQ9++XxIE=", + "dev": true, + "requires": { + "circular-json": "0.3.3", + "del": "2.2.2", + "graceful-fs": "4.1.11", + "write": "0.2.1" + } + }, + "flatmap-stream": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/flatmap-stream/-/flatmap-stream-0.1.1.tgz", + "integrity": "sha512-lAq4tLbm3sidmdCN8G3ExaxH7cUCtP5mgDvrYowsx84dcYkJJ4I28N7gkxA6+YlSXzaGLJYIDEi9WGfXzMiXdw==", + "dev": true + }, + "flatten": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/flatten/-/flatten-1.0.2.tgz", + "integrity": "sha1-2uRqnXj74lKSJYzB54CkHZXAN4I=", + "dev": true + }, + "flow-bin": { + "version": "0.68.0", + "resolved": "http://registry.npmjs.org/flow-bin/-/flow-bin-0.68.0.tgz", + "integrity": "sha1-hsLRSFfTBusuheJ08u6/VDVk9iM=", + "dev": true + }, + "follow-redirects": { + "version": "1.5.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.8.tgz", + "integrity": "sha512-sy1mXPmv7kLAMKW/8XofG7o9T+6gAjzdZK4AJF6ryqQYUa/hnzgiypoeUecZ53x7XiqKNEpNqLtS97MshW2nxg==", + "dev": true, + "requires": { + "debug": "3.1.0" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + }, + "for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true + }, + "for-own": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", + "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", + "dev": true, + "requires": { + "for-in": "1.0.2" + } + }, + "forever-agent": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.5.2.tgz", + "integrity": "sha1-bQ4JxJIflKJ/Y9O0nF/v8epMUTA=", + "dev": true + }, + "form-data": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-0.1.4.tgz", + "integrity": "sha1-kavXiKupcCsaq/qLwBAxoqyeOxI=", + "dev": true, + "optional": true, + "requires": { + "async": "0.9.2", + "combined-stream": "0.0.7", + "mime": "1.2.11" + } + }, + "forwarded": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", + "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=", + "dev": true + }, + "fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "dev": true, + "requires": { + "map-cache": "0.2.2" + } + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", + "dev": true + }, + "from": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/from/-/from-0.1.7.tgz", + "integrity": "sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4=", + "dev": true + }, + "front-matter": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/front-matter/-/front-matter-2.1.2.tgz", + "integrity": "sha1-91mDufL0E75ljJPf172M5AePXNs=", + "dev": true, + "requires": { + "js-yaml": "3.7.0" + } + }, + "fs-extra": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-3.0.1.tgz", + "integrity": "sha1-N5TzeMWLNC6n27sjCVEJxLO2IpE=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "jsonfile": "3.0.1", + "universalify": "0.1.2" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "fsevents": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.4.tgz", + "integrity": "sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==", + "dev": true, + "optional": true, + "requires": { + "nan": "2.11.1", + "node-pre-gyp": "0.10.0" + }, + "dependencies": { + "abbrev": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "ansi-regex": { + "version": "2.1.1", + "bundled": true, + "dev": true + }, + "aproba": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + }, + "are-we-there-yet": { + "version": "1.1.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "delegates": "1.0.0", + "readable-stream": "2.3.6" + } + }, + "balanced-match": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "bundled": true, + "dev": true, + "requires": { + "balanced-match": "1.0.0", + "concat-map": "0.0.1" + } + }, + "chownr": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "code-point-at": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "bundled": true, + "dev": true + }, + "console-control-strings": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "core-util-is": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "debug": { + "version": "2.6.9", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ms": "2.0.0" + } + }, + "deep-extend": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "optional": true + }, + "delegates": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "detect-libc": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "fs-minipass": { + "version": "1.2.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minipass": "2.2.4" + } + }, + "fs.realpath": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "gauge": { + "version": "2.7.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "aproba": "1.2.0", + "console-control-strings": "1.1.0", + "has-unicode": "2.0.1", + "object-assign": "4.1.1", + "signal-exit": "3.0.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wide-align": "1.1.2" + } + }, + "glob": { + "version": "7.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "has-unicode": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "iconv-lite": { + "version": "0.4.21", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safer-buffer": "2.1.2" + } + }, + "ignore-walk": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minimatch": "3.0.4" + } + }, + "inflight": { + "version": "1.0.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "once": "1.4.0", + "wrappy": "1.0.2" + } + }, + "inherits": { + "version": "2.0.3", + "bundled": true, + "dev": true + }, + "ini": { + "version": "1.3.5", + "bundled": true, + "dev": true, + "optional": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "isarray": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "minimatch": { + "version": "3.0.4", + "bundled": true, + "dev": true, + "requires": { + "brace-expansion": "1.1.11" + } + }, + "minimist": { + "version": "0.0.8", + "bundled": true, + "dev": true + }, + "minipass": { + "version": "2.2.4", + "bundled": true, + "dev": true, + "requires": { + "safe-buffer": "5.1.1", + "yallist": "3.0.2" + } + }, + "minizlib": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minipass": "2.2.4" + } + }, + "mkdirp": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "requires": { + "minimist": "0.0.8" + } + }, + "ms": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "needle": { + "version": "2.2.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "debug": "2.6.9", + "iconv-lite": "0.4.21", + "sax": "1.2.4" + } + }, + "node-pre-gyp": { + "version": "0.10.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "detect-libc": "1.0.3", + "mkdirp": "0.5.1", + "needle": "2.2.0", + "nopt": "4.0.1", + "npm-packlist": "1.1.10", + "npmlog": "4.1.2", + "rc": "1.2.7", + "rimraf": "2.6.2", + "semver": "5.5.0", + "tar": "4.4.1" + } + }, + "nopt": { + "version": "4.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "abbrev": "1.1.1", + "osenv": "0.1.5" + } + }, + "npm-bundled": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "npm-packlist": { + "version": "1.1.10", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ignore-walk": "3.0.1", + "npm-bundled": "1.0.3" + } + }, + "npmlog": { + "version": "4.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "are-we-there-yet": "1.1.4", + "console-control-strings": "1.1.0", + "gauge": "2.7.4", + "set-blocking": "2.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "once": { + "version": "1.4.0", + "bundled": true, + "dev": true, + "requires": { + "wrappy": "1.0.2" + } + }, + "os-homedir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "os-tmpdir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "osenv": { + "version": "0.1.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "process-nextick-args": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "rc": { + "version": "1.2.7", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "deep-extend": "0.5.1", + "ini": "1.3.5", + "minimist": "1.2.0", + "strip-json-comments": "2.0.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "readable-stream": { + "version": "2.3.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.1", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "rimraf": { + "version": "2.6.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "glob": "7.1.2" + } + }, + "safe-buffer": { + "version": "5.1.1", + "bundled": true, + "dev": true + }, + "safer-buffer": { + "version": "2.1.2", + "bundled": true, + "dev": true, + "optional": true + }, + "sax": { + "version": "1.2.4", + "bundled": true, + "dev": true, + "optional": true + }, + "semver": { + "version": "5.5.0", + "bundled": true, + "dev": true, + "optional": true + }, + "set-blocking": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "signal-exit": { + "version": "3.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "string-width": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "5.1.1" + } + }, + "strip-ansi": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "requires": { + "ansi-regex": "2.1.1" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "tar": { + "version": "4.4.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "chownr": "1.0.1", + "fs-minipass": "1.2.5", + "minipass": "2.2.4", + "minizlib": "1.1.0", + "mkdirp": "0.5.1", + "safe-buffer": "5.1.1", + "yallist": "3.0.2" + } + }, + "util-deprecate": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "wide-align": { + "version": "1.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "string-width": "1.0.2" + } + }, + "wrappy": { + "version": "1.0.2", + "bundled": true, + "dev": true + }, + "yallist": { + "version": "3.0.2", + "bundled": true, + "dev": true + } + } + }, + "fstream": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz", + "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "inherits": "2.0.3", + "mkdirp": "0.5.1", + "rimraf": "2.6.2" + } + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "function.prototype.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.0.tgz", + "integrity": "sha512-Bs0VRrTz4ghD8pTmbJQD1mZ8A/mN0ur/jGz+A6FBxPDUPkm1tNfF6bhTYPA7i7aF4lZJVr+OXTNNrnnIl58Wfg==", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "function-bind": "1.1.1", + "is-callable": "1.1.4" + } + }, + "functional-red-black-tree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", + "dev": true + }, + "gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "dev": true, + "requires": { + "aproba": "1.2.0", + "console-control-strings": "1.1.0", + "has-unicode": "2.0.1", + "object-assign": "4.1.1", + "signal-exit": "3.0.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wide-align": "1.1.3" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + } + } + }, + "gaze": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz", + "integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==", + "dev": true, + "requires": { + "globule": "1.2.1" + } + }, + "generate-function": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.3.1.tgz", + "integrity": "sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==", + "dev": true, + "requires": { + "is-property": "1.0.2" + } + }, + "generate-object-property": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz", + "integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA=", + "dev": true, + "requires": { + "is-property": "1.0.2" + } + }, + "get-caller-file": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", + "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==", + "dev": true + }, + "get-own-enumerable-property-symbols": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-2.0.1.tgz", + "integrity": "sha512-TtY/sbOemiMKPRUDDanGCSgBYe7Mf0vbRsWnBZ+9yghpZ1MvcpSpuZFjHdEeY/LZjZy0vdLjS77L6HosisFiug==", + "dev": true + }, + "get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", + "dev": true + }, + "get-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", + "dev": true + }, + "get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", + "dev": true + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, + "requires": { + "assert-plus": "1.0.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + } + } + }, + "glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "dev": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "glob-base": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", + "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", + "dev": true, + "requires": { + "glob-parent": "2.0.0", + "is-glob": "2.0.1" + } + }, + "glob-parent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "dev": true, + "requires": { + "is-glob": "2.0.1" + } + }, + "global": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/global/-/global-4.3.2.tgz", + "integrity": "sha1-52mJJopsdMOJCLEwWxD8DjlOnQ8=", + "dev": true, + "requires": { + "min-document": "2.19.0", + "process": "0.5.2" + } + }, + "globals": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", + "dev": true + }, + "globby": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz", + "integrity": "sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0=", + "dev": true, + "requires": { + "array-union": "1.0.2", + "arrify": "1.0.1", + "glob": "7.1.3", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + } + }, + "globule": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/globule/-/globule-1.2.1.tgz", + "integrity": "sha512-g7QtgWF4uYSL5/dn71WxubOrS7JVGCnFPEnoeChJmBnyR9Mw8nGoEwOgJL/RC2Te0WhbsEUCejfH8SZNJ+adYQ==", + "dev": true, + "requires": { + "glob": "7.1.3", + "lodash": "4.17.11", + "minimatch": "3.0.4" + } + }, + "gonzales-pe-sl": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/gonzales-pe-sl/-/gonzales-pe-sl-4.2.3.tgz", + "integrity": "sha1-aoaLw4BkXxQf7rBCxvl/zHG1n+Y=", + "dev": true, + "requires": { + "minimist": "1.1.3" + }, + "dependencies": { + "minimist": { + "version": "1.1.3", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.1.3.tgz", + "integrity": "sha1-O+39kaktOQFvz6ocaB6Pqhoe/ag=", + "dev": true + } + } + }, + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", + "dev": true + }, + "growl": { + "version": "1.10.3", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.3.tgz", + "integrity": "sha512-hKlsbA5Vu3xsh1Cg3J7jSmX/WaW6A5oBeqzM88oNbCRQFz+zUaXm6yxS4RVytp1scBoJzSYl4YAEOQIt6O8V1Q==", + "dev": true + }, + "gud": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/gud/-/gud-1.0.0.tgz", + "integrity": "sha512-zGEOVKFM5sVPPrYs7J5/hYEw2Pof8KCyOwyhG8sAF26mCAeUFAcYPu1mwB7hhpIP29zOIBaDqwuHdLp0jvZXjw==" + }, + "handlebars": { + "version": "4.0.12", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.12.tgz", + "integrity": "sha512-RhmTekP+FZL+XNhwS1Wf+bTTZpdLougwt5pcgA1tuz6Jcx0fpH/7z0qd71RKnZHBCxIRBHfBOnio4gViPemNzA==", + "dev": true, + "requires": { + "async": "2.6.1", + "optimist": "0.6.1", + "source-map": "0.6.1", + "uglify-js": "3.4.9" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true + }, + "har-validator": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.0.tgz", + "integrity": "sha512-+qnmNjI4OfH2ipQ9VQOw23bBd/ibtfbVdK2fYbY4acTDqKTW/YDp9McimZdDbG8iV9fZizUqQMD5xvriB146TA==", + "dev": true, + "requires": { + "ajv": "5.5.2", + "har-schema": "2.0.0" + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "requires": { + "function-bind": "1.1.1" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "requires": { + "ansi-regex": "2.1.1" + } + }, + "has-binary": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/has-binary/-/has-binary-0.1.7.tgz", + "integrity": "sha1-aOYesWIQyVRaClzOBqhzkS/h5ow=", + "dev": true, + "requires": { + "isarray": "0.0.1" + } + }, + "has-color": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/has-color/-/has-color-0.1.7.tgz", + "integrity": "sha1-ZxRKUmDDT8PMpnfQQdr1L+e3iy8=", + "dev": true + }, + "has-cors": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-cors/-/has-cors-1.1.0.tgz", + "integrity": "sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk=", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "has-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz", + "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=", + "dev": true + }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true + }, + "has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "dev": true, + "requires": { + "get-value": "2.0.6", + "has-values": "1.0.0", + "isobject": "3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", + "dev": true, + "requires": { + "is-number": "3.0.0", + "kind-of": "4.0.0" + }, + "dependencies": { + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "hawk": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/hawk/-/hawk-1.1.1.tgz", + "integrity": "sha1-h81JH5tG5OKurKM1QWdmiF0tHtk=", + "dev": true, + "optional": true, + "requires": { + "boom": "0.4.2", + "cryptiles": "0.2.2", + "hoek": "0.9.1", + "sntp": "0.2.4" + } + }, + "he": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", + "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=", + "dev": true + }, + "highlight.js": { + "version": "9.13.1", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.13.1.tgz", + "integrity": "sha512-Sc28JNQNDzaH6PORtRLMvif9RSn1mYuOoX3omVjnb0+HbpPygU2ALBI0R/wsiqCb4/fcp07Gdo8g+fhtFrQl6A==", + "dev": true + }, + "hoek": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz", + "integrity": "sha1-PTIkYrrfB3Fup+uFuviAec3c5QU=", + "dev": true + }, + "home-or-tmp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", + "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", + "dev": true, + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, + "hosted-git-info": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz", + "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==", + "dev": true + }, + "html-comment-regex": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.1.tgz", + "integrity": "sha1-ZouTd26q5V696POtRkswekljYl4=", + "dev": true + }, + "html-entities": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-1.2.1.tgz", + "integrity": "sha1-DfKTUfByEWNRXfueVUPl9u7VFi8=", + "dev": true + }, + "htmlparser2": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.0.tgz", + "integrity": "sha512-J1nEUGv+MkXS0weHNWVKJJ+UrLfePxRWpN3C9bEi9fLxL2+ggW94DQvgYVXsaT30PGwYRIZKNZXuyMhp3Di4bQ==", + "dev": true, + "requires": { + "domelementtype": "1.3.0", + "domhandler": "2.4.2", + "domutils": "1.5.1", + "entities": "1.1.2", + "inherits": "2.0.3", + "readable-stream": "3.0.6" + }, + "dependencies": { + "domelementtype": { + "version": "1.3.0", + "resolved": "http://registry.npmjs.org/domelementtype/-/domelementtype-1.3.0.tgz", + "integrity": "sha1-sXrtguirWeUt2cGbF1bg/BhyBMI=", + "dev": true + }, + "readable-stream": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.0.6.tgz", + "integrity": "sha512-9E1oLoOWfhSXHGv6QlwXJim7uNzd9EVlWK+21tCU9Ju/kR0/p2AZYPz4qSchgO8PlLIH4FpZYfzwS+rEksZjIg==", + "dev": true, + "requires": { + "inherits": "2.0.3", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "http-errors": { + "version": "1.6.3", + "resolved": "http://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", + "dev": true, + "requires": { + "depd": "1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": "1.4.0" + } + }, + "http-parser-js": { + "version": "0.4.13", + "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.4.13.tgz", + "integrity": "sha1-O9bW/ebjFyyTNMOzO2wZPYD+ETc=", + "dev": true + }, + "http-proxy": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.17.0.tgz", + "integrity": "sha512-Taqn+3nNvYRfJ3bGvKfBSRwy1v6eePlm3oc/aWVxZp57DQr5Eq3xhKJi7Z4hZpS8PC3H4qI+Yly5EmFacGuA/g==", + "dev": true, + "requires": { + "eventemitter3": "3.1.0", + "follow-redirects": "1.5.8", + "requires-port": "1.0.0" + } + }, + "http-proxy-middleware": { + "version": "0.17.4", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.17.4.tgz", + "integrity": "sha1-ZC6ISIUdZvCdTxJJEoRtuutBuDM=", + "dev": true, + "requires": { + "http-proxy": "1.17.0", + "is-glob": "3.1.0", + "lodash": "4.17.11", + "micromatch": "2.3.11" + }, + "dependencies": { + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "2.1.1" + } + } + } + }, + "http-signature": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-0.10.1.tgz", + "integrity": "sha1-T72sEyVZqoMjEh5UB3nAoBKyfmY=", + "dev": true, + "optional": true, + "requires": { + "asn1": "0.1.11", + "assert-plus": "0.1.5", + "ctype": "0.5.3" + } + }, + "https-browserify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-0.0.1.tgz", + "integrity": "sha1-P5E2XKvmC3ftDruiS0VOPgnZWoI=", + "dev": true + }, + "husky": { + "version": "0.14.3", + "resolved": "https://registry.npmjs.org/husky/-/husky-0.14.3.tgz", + "integrity": "sha512-e21wivqHpstpoiWA/Yi8eFti8E+sQDSS53cpJsPptPs295QTOQR0ZwnHo2TXy1XOpZFD9rPOd3NpmqTK6uMLJA==", + "dev": true, + "requires": { + "is-ci": "1.2.1", + "normalize-path": "1.0.0", + "strip-indent": "2.0.0" + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "requires": { + "safer-buffer": "2.1.2" + } + }, + "icss-replace-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz", + "integrity": "sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=", + "dev": true + }, + "icss-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-2.1.0.tgz", + "integrity": "sha1-g/Cg7DeL8yRheLbCrZE28TWxyWI=", + "dev": true, + "requires": { + "postcss": "6.0.23" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "source-map": "0.6.1", + "supports-color": "5.5.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "ieee754": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.12.tgz", + "integrity": "sha512-GguP+DRY+pJ3soyIiGPTvdiVXjZ+DbXOxGpXn3eMvNW4x4irjqXm4wHKscC+TfxSJ0yw/S1F24tqdMNsMZTiLA==", + "dev": true + }, + "ignore": { + "version": "3.3.10", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", + "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", + "dev": true + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "dev": true + }, + "in-publish": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.0.tgz", + "integrity": "sha1-4g/146KvwmkDILbcVSaCqcf631E=", + "dev": true + }, + "indent-string": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", + "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "dev": true, + "requires": { + "repeating": "2.0.1" + } + }, + "indexes-of": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", + "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=", + "dev": true + }, + "indexof": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz", + "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "requires": { + "once": "1.4.0", + "wrappy": "1.0.2" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + }, + "inquirer": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz", + "integrity": "sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ==", + "dev": true, + "requires": { + "ansi-escapes": "3.1.0", + "chalk": "2.4.1", + "cli-cursor": "2.1.0", + "cli-width": "2.2.0", + "external-editor": "2.2.0", + "figures": "2.0.0", + "lodash": "4.17.11", + "mute-stream": "0.0.7", + "run-async": "2.3.0", + "rx-lite": "4.0.8", + "rx-lite-aggregates": "4.0.8", + "string-width": "2.1.1", + "strip-ansi": "4.0.0", + "through": "2.3.8" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "3.0.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "interpret": { + "version": "0.6.6", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-0.6.6.tgz", + "integrity": "sha1-/s16GOfOXKar+5U+H4YhOknxYls=", + "dev": true + }, + "invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "dev": true, + "requires": { + "loose-envify": "1.4.0" + } + }, + "invert-kv": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", + "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", + "dev": true + }, + "ipaddr.js": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz", + "integrity": "sha1-6qM9bd16zo9/b+DJygRA5wZzix4=", + "dev": true + }, + "is-absolute-url": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-2.1.0.tgz", + "integrity": "sha1-UFMN+4T8yap9vnhS6Do3uTufKqY=", + "dev": true + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "is-binary-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", + "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", + "dev": true, + "requires": { + "binary-extensions": "1.12.0" + } + }, + "is-boolean-object": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.0.0.tgz", + "integrity": "sha1-mPiygDBoQhmpXzdc+9iM40Bd/5M=", + "dev": true + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "is-builtin-module": { + "version": "1.0.0", + "resolved": "http://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", + "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", + "dev": true, + "requires": { + "builtin-modules": "1.1.1" + } + }, + "is-callable": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", + "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==", + "dev": true + }, + "is-ci": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.2.1.tgz", + "integrity": "sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg==", + "dev": true, + "requires": { + "ci-info": "1.5.1" + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, + "is-date-object": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", + "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", + "dev": true + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "0.1.6", + "is-data-descriptor": "0.1.4", + "kind-of": "5.1.0" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "is-directory": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", + "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", + "dev": true + }, + "is-dotfile": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", + "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=", + "dev": true + }, + "is-equal-shallow": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", + "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", + "dev": true, + "requires": { + "is-primitive": "2.0.0" + } + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + }, + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", + "dev": true + }, + "is-finite": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", + "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "dev": true, + "requires": { + "is-extglob": "1.0.0" + } + }, + "is-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", + "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=", + "dev": true + }, + "is-my-ip-valid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-my-ip-valid/-/is-my-ip-valid-1.0.0.tgz", + "integrity": "sha512-gmh/eWXROncUzRnIa1Ubrt5b8ep/MGSnfAUI3aRp+sqTCs1tv1Isl8d8F6JmkN3dXKc3ehZMrtiPN9eL03NuaQ==", + "dev": true + }, + "is-my-json-valid": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.19.0.tgz", + "integrity": "sha512-mG0f/unGX1HZ5ep4uhRaPOS8EkAY8/j6mDRMJrutq4CqhoJWYp7qAlonIPy3TV7p3ju4TK9fo/PbnoksWmsp5Q==", + "dev": true, + "requires": { + "generate-function": "2.3.1", + "generate-object-property": "1.2.0", + "is-my-ip-valid": "1.0.0", + "jsonpointer": "4.0.1", + "xtend": "4.0.1" + } + }, + "is-number": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", + "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, + "is-number-object": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.3.tgz", + "integrity": "sha1-8mWrian0RQNO9q/xWo8AsA9VF5k=", + "dev": true + }, + "is-obj": { + "version": "1.0.1", + "resolved": "http://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", + "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", + "dev": true + }, + "is-observable": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/is-observable/-/is-observable-0.2.0.tgz", + "integrity": "sha1-s2ExHYPG5dcmyr9eJQsCNxBvWuI=", + "dev": true, + "requires": { + "symbol-observable": "0.2.4" + } + }, + "is-path-cwd": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", + "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=", + "dev": true + }, + "is-path-in-cwd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz", + "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==", + "dev": true, + "requires": { + "is-path-inside": "1.0.1" + } + }, + "is-path-inside": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", + "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", + "dev": true, + "requires": { + "path-is-inside": "1.0.2" + } + }, + "is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", + "dev": true + }, + "is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "requires": { + "isobject": "3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "is-posix-bracket": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", + "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=", + "dev": true + }, + "is-primitive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", + "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=", + "dev": true + }, + "is-promise": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", + "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", + "dev": true + }, + "is-property": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", + "integrity": "sha1-V/4cTkhHTt1lsJkR8msc1Ald2oQ=", + "dev": true + }, + "is-regex": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", + "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", + "dev": true, + "requires": { + "has": "1.0.3" + } + }, + "is-regexp": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", + "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=", + "dev": true + }, + "is-resolvable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz", + "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==", + "dev": true + }, + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" + }, + "is-string": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.4.tgz", + "integrity": "sha1-zDqbaYV9Yh6WNyWiTK7shzuCbmQ=", + "dev": true + }, + "is-subset": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-subset/-/is-subset-0.1.1.tgz", + "integrity": "sha1-ilkRfZMt4d4A8kX83TnOQ/HpOaY=", + "dev": true + }, + "is-svg": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-2.1.0.tgz", + "integrity": "sha1-z2EJDaDZ77yrhyLeum8DIgjbsOk=", + "dev": true, + "requires": { + "html-comment-regex": "1.1.1" + } + }, + "is-symbol": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz", + "integrity": "sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==", + "dev": true, + "requires": { + "has-symbols": "1.0.0" + } + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true + }, + "is-utf8": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", + "dev": true + }, + "is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true + }, + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "isbinaryfile": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-3.0.3.tgz", + "integrity": "sha512-8cJBL5tTd2OS0dM4jz07wQd5g0dCCqIhUxPIGtZfa5L6hWlvV5MHTITy/DBAsF+Oe2LS1X3krBUhNwaGUWpWxw==", + "dev": true, + "requires": { + "buffer-alloc": "1.2.0" + } + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "requires": { + "isarray": "1.0.0" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + } + } + }, + "isomorphic-fetch": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", + "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", + "requires": { + "node-fetch": "1.7.3", + "whatwg-fetch": "3.0.0" + } + }, + "isparta": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/isparta/-/isparta-4.1.0.tgz", + "integrity": "sha512-6AdzFVbr/ZwdVfmgDNpvWPERktHRRTqgzmnb+M6rV4qjkjRfOP1KRtGXBB5UzMtZdpoR2rd7UYu8s9mlG/kQNA==", + "dev": true, + "requires": { + "babel-core": "6.26.3", + "escodegen": "1.11.0", + "esprima": "4.0.1", + "istanbul": "0.4.4", + "mkdirp": "0.5.1", + "nomnomnomnom": "2.0.1", + "object-assign": "4.1.1", + "source-map": "0.5.7", + "which": "1.3.1" + }, + "dependencies": { + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + } + } + }, + "isparta-loader": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isparta-loader/-/isparta-loader-2.0.0.tgz", + "integrity": "sha1-RCX0lsk/dlu8603ZOFdtowdWbtE=", + "dev": true, + "requires": { + "isparta": "4.1.0" + } + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true + }, + "istanbul": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/istanbul/-/istanbul-0.4.4.tgz", + "integrity": "sha1-6M9xjf7bcTyDNKuf+t418QQtKlY=", + "dev": true, + "requires": { + "abbrev": "1.0.9", + "async": "1.5.2", + "escodegen": "1.8.1", + "esprima": "2.7.3", + "fileset": "0.2.1", + "handlebars": "4.0.12", + "js-yaml": "3.7.0", + "mkdirp": "0.5.1", + "nopt": "3.0.6", + "once": "1.4.0", + "resolve": "1.1.7", + "supports-color": "3.2.3", + "which": "1.3.1", + "wordwrap": "1.0.0" + }, + "dependencies": { + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + }, + "escodegen": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.8.1.tgz", + "integrity": "sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg=", + "dev": true, + "requires": { + "esprima": "2.7.3", + "estraverse": "1.9.3", + "esutils": "2.0.2", + "optionator": "0.8.2", + "source-map": "0.2.0" + } + }, + "estraverse": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.9.3.tgz", + "integrity": "sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q=", + "dev": true + }, + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "resolve": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz", + "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=", + "dev": true + }, + "source-map": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.2.0.tgz", + "integrity": "sha1-2rc/vPwrqBm03gO9b26qSBZLP50=", + "dev": true, + "optional": true, + "requires": { + "amdefine": "1.0.1" + } + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "1.0.0" + } + } + } + }, + "jest-get-type": { + "version": "21.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-21.2.0.tgz", + "integrity": "sha512-y2fFw3C+D0yjNSDp7ab1kcd6NUYfy3waPTlD8yWkAtiocJdBRQqNoRqVfMNxgj+IjT0V5cBIHJO0z9vuSSZ43Q==", + "dev": true + }, + "jest-validate": { + "version": "21.2.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-21.2.1.tgz", + "integrity": "sha512-k4HLI1rZQjlU+EC682RlQ6oZvLrE5SCh3brseQc24vbZTxzT/k/3urar5QMCVgjadmSO7lECeGdc6YxnM3yEGg==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "jest-get-type": "21.2.0", + "leven": "2.1.0", + "pretty-format": "21.2.1" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "js-base64": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.4.3.tgz", + "integrity": "sha512-H7ErYLM34CvDMto3GbD6xD0JLUGYXR3QTcH6B/tr4Hi/QpSThnCsIp+Sy5FRTw3B0d6py4HcNkW7nO/wdtGWEw==", + "dev": true + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "js-yaml": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.7.0.tgz", + "integrity": "sha1-XJZ93YN6m/3KXy3oQlOr6KHAO4A=", + "dev": true, + "requires": { + "argparse": "1.0.10", + "esprima": "2.7.3" + } + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true + }, + "jsesc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", + "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", + "dev": true + }, + "json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", + "dev": true + }, + "json-schema-traverse": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=", + "dev": true + }, + "json-stable-stringify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", + "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", + "dev": true, + "requires": { + "jsonify": "0.0.0" + } + }, + "json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", + "dev": true + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true + }, + "json3": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.2.tgz", + "integrity": "sha1-PAQ0dD35Pi9cQq7nsZvLSDV19OE=", + "dev": true + }, + "json5": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", + "dev": true + }, + "jsonfile": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-3.0.1.tgz", + "integrity": "sha1-pezG9l9T9mLEQVx2daAzHQmS7GY=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11" + } + }, + "jsonify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", + "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=", + "dev": true + }, + "jsonpointer": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz", + "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=", + "dev": true + }, + "jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + } + } + }, + "jsx-ast-utils": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.0.1.tgz", + "integrity": "sha1-6AGxs5mF4g//yHtA43SAgOLcrH8=", + "dev": true, + "requires": { + "array-includes": "3.0.3" + } + }, + "just-extend": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-3.0.0.tgz", + "integrity": "sha512-Fu3T6pKBuxjWT/p4DkqGHFRsysc8OauWr4ZRTY9dIx07Y9O0RkoR5jcv28aeD1vuAwhm3nLkDurwLXoALp4DpQ==", + "dev": true + }, + "karma": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/karma/-/karma-1.7.1.tgz", + "integrity": "sha512-k5pBjHDhmkdaUccnC7gE3mBzZjcxyxYsYVaqiL2G5AqlfLyBO5nw2VdNK+O16cveEPd/gIOWULH7gkiYYwVNHg==", + "dev": true, + "requires": { + "bluebird": "3.5.2", + "body-parser": "1.18.2", + "chokidar": "1.7.0", + "colors": "1.1.2", + "combine-lists": "1.0.1", + "connect": "3.6.6", + "core-js": "2.5.7", + "di": "0.0.1", + "dom-serialize": "2.2.1", + "expand-braces": "0.1.2", + "glob": "7.1.3", + "graceful-fs": "4.1.11", + "http-proxy": "1.17.0", + "isbinaryfile": "3.0.3", + "lodash": "3.10.1", + "log4js": "0.6.38", + "mime": "1.6.0", + "minimatch": "3.0.4", + "optimist": "0.6.1", + "qjobs": "1.2.0", + "range-parser": "1.2.0", + "rimraf": "2.6.2", + "safe-buffer": "5.1.2", + "socket.io": "1.7.3", + "source-map": "0.5.7", + "tmp": "0.0.31", + "useragent": "2.3.0" + }, + "dependencies": { + "lodash": { + "version": "3.10.1", + "resolved": "http://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", + "integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=", + "dev": true + }, + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true + }, + "tmp": { + "version": "0.0.31", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.31.tgz", + "integrity": "sha1-jzirlDjhcxXl29izZX6L+yd65Kc=", + "dev": true, + "requires": { + "os-tmpdir": "1.0.2" + } + } + } + }, + "karma-chai": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/karma-chai/-/karma-chai-0.1.0.tgz", + "integrity": "sha1-vuWtQEAFF4Ea40u5RfdikJEIt5o=", + "dev": true + }, + "karma-coverage": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/karma-coverage/-/karma-coverage-1.1.2.tgz", + "integrity": "sha512-eQawj4Cl3z/CjxslYy9ariU4uDh7cCNFZHNWXWRpl0pNeblY/4wHR7M7boTYXWrn9bY0z2pZmr11eKje/S/hIw==", + "dev": true, + "requires": { + "dateformat": "1.0.12", + "istanbul": "0.4.4", + "lodash": "4.17.11", + "minimatch": "3.0.4", + "source-map": "0.5.7" + } + }, + "karma-firefox-launcher": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/karma-firefox-launcher/-/karma-firefox-launcher-1.1.0.tgz", + "integrity": "sha512-LbZ5/XlIXLeQ3cqnCbYLn+rOVhuMIK9aZwlP6eOLGzWdo1UVp7t6CN3DP4SafiRLjexKwHeKHDm0c38Mtd3VxA==", + "dev": true + }, + "karma-mocha": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/karma-mocha/-/karma-mocha-1.3.0.tgz", + "integrity": "sha1-7qrH/8DiAetjxGdEDStpx883eL8=", + "dev": true, + "requires": { + "minimist": "1.2.0" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } + } + }, + "karma-sinon": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/karma-sinon/-/karma-sinon-1.0.5.tgz", + "integrity": "sha1-TjRD8oMP3s/2JNN0cWPxIX2qKpo=", + "dev": true + }, + "karma-sourcemap-loader": { + "version": "0.3.7", + "resolved": "https://registry.npmjs.org/karma-sourcemap-loader/-/karma-sourcemap-loader-0.3.7.tgz", + "integrity": "sha1-kTIsd/jxPUb+0GKwQuEAnUxFBdg=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11" + } + }, + "karma-webpack": { + "version": "2.0.13", + "resolved": "http://registry.npmjs.org/karma-webpack/-/karma-webpack-2.0.13.tgz", + "integrity": "sha512-2cyII34jfrAabbI2+4Rk4j95Nazl98FvZQhgSiqKUDarT317rxfv/EdzZ60CyATN4PQxJdO5ucR5bOOXkEVrXw==", + "dev": true, + "requires": { + "async": "2.6.1", + "babel-runtime": "6.26.0", + "loader-utils": "1.1.0", + "lodash": "4.17.11", + "source-map": "0.5.7", + "webpack-dev-middleware": "1.12.2" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + }, + "loader-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", + "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", + "dev": true, + "requires": { + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1" + } + } + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + }, + "known-css-properties": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.3.0.tgz", + "integrity": "sha512-QMQcnKAiQccfQTqtBh/qwquGZ2XK/DXND1jrcN9M8gMMy99Gwla7GQjndVUsEqIaRyP6bsFRuhwRj5poafBGJQ==", + "dev": true + }, + "lazy-cache": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", + "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", + "dev": true + }, + "lcid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "dev": true, + "requires": { + "invert-kv": "1.0.0" + } + }, + "leven": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz", + "integrity": "sha1-wuep93IJTe6dNCAq6KzORoeHVYA=", + "dev": true + }, + "levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "dev": true, + "requires": { + "prelude-ls": "1.1.2", + "type-check": "0.3.2" + } + }, + "lint-staged": { + "version": "6.1.1", + "resolved": "http://registry.npmjs.org/lint-staged/-/lint-staged-6.1.1.tgz", + "integrity": "sha512-M/7bwLdXbeG7ZNLcasGeLMBDg60/w6obj3KOtINwJyxAxb53XGY0yH5FSZlWklEzuVbTtqtIfAajh6jYIN90AA==", + "dev": true, + "requires": { + "app-root-path": "2.0.1", + "chalk": "2.4.1", + "commander": "2.17.1", + "cosmiconfig": "4.0.0", + "debug": "3.2.5", + "dedent": "0.7.0", + "execa": "0.8.0", + "find-parent-dir": "0.3.0", + "is-glob": "4.0.0", + "jest-validate": "21.2.1", + "listr": "0.13.0", + "lodash": "4.17.11", + "log-symbols": "2.2.0", + "minimatch": "3.0.4", + "npm-which": "3.0.1", + "p-map": "1.2.0", + "path-is-inside": "1.0.2", + "pify": "3.0.0", + "staged-git-files": "1.0.0", + "stringify-object": "3.2.2" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "debug": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.5.tgz", + "integrity": "sha512-D61LaDQPQkxJ5AUM2mbSJRbPkNs/TmdmOeLAi1hgDkpDfIfetSrjmWhccwtuResSwMbACjx/xXQofvM9CE/aeg==", + "dev": true, + "requires": { + "ms": "2.1.1" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-glob": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz", + "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=", + "dev": true, + "requires": { + "is-extglob": "2.1.1" + } + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "listr": { + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/listr/-/listr-0.13.0.tgz", + "integrity": "sha1-ILsLowuuZg7oTMBQPfS+PVYjiH0=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "cli-truncate": "0.2.1", + "figures": "1.7.0", + "indent-string": "2.1.0", + "is-observable": "0.2.0", + "is-promise": "2.1.0", + "is-stream": "1.1.0", + "listr-silent-renderer": "1.1.1", + "listr-update-renderer": "0.4.0", + "listr-verbose-renderer": "0.4.1", + "log-symbols": "1.0.2", + "log-update": "1.0.2", + "ora": "0.2.3", + "p-map": "1.2.0", + "rxjs": "5.5.12", + "stream-to-observable": "0.2.0", + "strip-ansi": "3.0.1" + }, + "dependencies": { + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5", + "object-assign": "4.1.1" + } + }, + "log-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", + "integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=", + "dev": true, + "requires": { + "chalk": "1.1.3" + } + } + } + }, + "listr-silent-renderer": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz", + "integrity": "sha1-kktaN1cVN3C/Go4/v3S4u/P5JC4=", + "dev": true + }, + "listr-update-renderer": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/listr-update-renderer/-/listr-update-renderer-0.4.0.tgz", + "integrity": "sha1-NE2YDaLKLosUW6MFkI8yrj9MyKc=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "cli-truncate": "0.2.1", + "elegant-spinner": "1.0.1", + "figures": "1.7.0", + "indent-string": "3.2.0", + "log-symbols": "1.0.2", + "log-update": "1.0.2", + "strip-ansi": "3.0.1" + }, + "dependencies": { + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5", + "object-assign": "4.1.1" + } + }, + "indent-string": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", + "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=", + "dev": true + }, + "log-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", + "integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=", + "dev": true, + "requires": { + "chalk": "1.1.3" + } + } + } + }, + "listr-verbose-renderer": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz", + "integrity": "sha1-ggb0z21S3cWCfl/RSYng6WWTOjU=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "cli-cursor": "1.0.2", + "date-fns": "1.29.0", + "figures": "1.7.0" + }, + "dependencies": { + "cli-cursor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", + "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", + "dev": true, + "requires": { + "restore-cursor": "1.0.1" + } + }, + "date-fns": { + "version": "1.29.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-1.29.0.tgz", + "integrity": "sha512-lbTXWZ6M20cWH8N9S6afb0SBm6tMk+uUg6z3MqHPKE9atmsY3kJkTm8vKe93izJ2B2+q5MV990sM2CHgtAZaOw==", + "dev": true + }, + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5", + "object-assign": "4.1.1" + } + }, + "onetime": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", + "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", + "dev": true + }, + "restore-cursor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", + "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", + "dev": true, + "requires": { + "exit-hook": "1.1.1", + "onetime": "1.1.0" + } + } + } + }, + "load-json-file": { + "version": "2.0.0", + "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "strip-bom": "3.0.0" + } + }, + "loader-utils": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz", + "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=", + "dev": true, + "requires": { + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1", + "object-assign": "4.1.1" + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "2.0.0", + "path-exists": "3.0.0" + }, + "dependencies": { + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + } + } + }, + "lodash": { + "version": "4.17.11", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", + "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", + "dev": true + }, + "lodash.assign": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", + "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=", + "dev": true + }, + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=", + "dev": true + }, + "lodash.capitalize": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz", + "integrity": "sha1-+CbJtOKoUR2E46yinbBeGk87cqk=", + "dev": true + }, + "lodash.clonedeep": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", + "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", + "dev": true + }, + "lodash.escape": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-4.0.1.tgz", + "integrity": "sha1-yQRGkMIeBClL6qUXcS/e0fqI3pg=", + "dev": true + }, + "lodash.flattendeep": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz", + "integrity": "sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI=", + "dev": true + }, + "lodash.get": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", + "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=", + "dev": true + }, + "lodash.isequal": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", + "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA=", + "dev": true + }, + "lodash.kebabcase": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz", + "integrity": "sha1-hImxyw0p/4gZXM7KRI/21swpXDY=", + "dev": true + }, + "lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", + "dev": true + }, + "lodash.mergewith": { + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.1.tgz", + "integrity": "sha512-eWw5r+PYICtEBgrBE5hhlT6aAa75f411bgDz/ZL2KZqYV03USvucsxcHUIlGTDTECs1eunpI7HOV7U+WLDvNdQ==", + "dev": true + }, + "lodash.uniq": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", + "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=", + "dev": true + }, + "log-symbols": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", + "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", + "dev": true, + "requires": { + "chalk": "2.4.1" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "log-update": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/log-update/-/log-update-1.0.2.tgz", + "integrity": "sha1-GZKfZMQJPS0ucHWh2tivWcKWuNE=", + "dev": true, + "requires": { + "ansi-escapes": "1.4.0", + "cli-cursor": "1.0.2" + }, + "dependencies": { + "ansi-escapes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", + "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=", + "dev": true + }, + "cli-cursor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", + "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", + "dev": true, + "requires": { + "restore-cursor": "1.0.1" + } + }, + "onetime": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", + "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", + "dev": true + }, + "restore-cursor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", + "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", + "dev": true, + "requires": { + "exit-hook": "1.1.1", + "onetime": "1.1.0" + } + } + } + }, + "log4js": { + "version": "0.6.38", + "resolved": "http://registry.npmjs.org/log4js/-/log4js-0.6.38.tgz", + "integrity": "sha1-LElBFmldb7JUgJQ9P8hy5mKlIv0=", + "dev": true, + "requires": { + "readable-stream": "1.0.34", + "semver": "4.3.6" + }, + "dependencies": { + "semver": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/semver/-/semver-4.3.6.tgz", + "integrity": "sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto=", + "dev": true + } + } + }, + "lolex": { + "version": "2.7.5", + "resolved": "https://registry.npmjs.org/lolex/-/lolex-2.7.5.tgz", + "integrity": "sha512-l9x0+1offnKKIzYVjyXU2SiwhXDLekRzKyhnbyldPHvC7BvLPVpdNUNR2KeMAiCN2D/kLNttZgQD5WjSxuBx3Q==", + "dev": true + }, + "longest": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", + "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=", + "dev": true + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "requires": { + "js-tokens": "4.0.0" + } + }, + "loud-rejection": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", + "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", + "dev": true, + "requires": { + "currently-unhandled": "0.4.1", + "signal-exit": "3.0.2" + } + }, + "lru-cache": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz", + "integrity": "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==", + "dev": true, + "requires": { + "pseudomap": "1.0.2", + "yallist": "2.1.2" + } + }, + "macaddress": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/macaddress/-/macaddress-0.2.9.tgz", + "integrity": "sha512-k4F1JUof6cQXxNFzx3thLby4oJzXTXQueAOOts944Vqizn+Rjc2QNFenT9FJSLU1CH3PmrHRSyZs2E+Cqw+P2w==", + "dev": true + }, + "magic-string": { + "version": "0.22.5", + "resolved": "http://registry.npmjs.org/magic-string/-/magic-string-0.22.5.tgz", + "integrity": "sha512-oreip9rJZkzvA8Qzk9HFs8fZGF/u7H/gtrE8EN6RjKJ9kh2HlC+yQ2QezifqTZfGyiuAV0dRv5a+y/8gBb1m9w==", + "dev": true, + "requires": { + "vlq": "0.2.3" + } + }, + "map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", + "dev": true + }, + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true + }, + "map-stream": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.0.7.tgz", + "integrity": "sha1-ih8HiW2CsQkmvTdEokIACfiJdKg=", + "dev": true + }, + "map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", + "dev": true, + "requires": { + "object-visit": "1.0.1" + } + }, + "math-expression-evaluator": { + "version": "1.2.17", + "resolved": "https://registry.npmjs.org/math-expression-evaluator/-/math-expression-evaluator-1.2.17.tgz", + "integrity": "sha1-3oGf282E3M2PrlnGrreWFbnSZqw=", + "dev": true + }, + "math-random": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.1.tgz", + "integrity": "sha1-izqsWIuKZuSXXjzepn97sylgH6w=", + "dev": true + }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", + "dev": true + }, + "memory-fs": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", + "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", + "dev": true, + "requires": { + "errno": "0.1.7", + "readable-stream": "2.3.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "memorystream": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", + "integrity": "sha1-htcJCzDORV1j+64S3aUaR93K+bI=", + "dev": true + }, + "meow": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "dev": true, + "requires": { + "camelcase-keys": "2.1.0", + "decamelize": "1.2.0", + "loud-rejection": "1.6.0", + "map-obj": "1.0.1", + "minimist": "1.2.0", + "normalize-package-data": "2.4.0", + "object-assign": "4.1.1", + "read-pkg-up": "1.0.1", + "redent": "1.0.0", + "trim-newlines": "1.0.0" + }, + "dependencies": { + "load-json-file": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "strip-bom": "2.0.0" + } + }, + "minimist": { + "version": "1.2.0", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + } + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "requires": { + "load-json-file": "1.1.0", + "normalize-package-data": "2.4.0", + "path-type": "1.1.0" + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "dev": true, + "requires": { + "find-up": "1.1.2", + "read-pkg": "1.1.0" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "requires": { + "is-utf8": "0.2.1" + } + } + } + }, + "merge": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/merge/-/merge-1.2.0.tgz", + "integrity": "sha1-dTHjnUlJwoGma4xabgJl6LBYlNo=", + "dev": true + }, + "merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", + "dev": true + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", + "dev": true + }, + "micromatch": { + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", + "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", + "dev": true, + "requires": { + "arr-diff": "2.0.0", + "array-unique": "0.2.1", + "braces": "1.8.5", + "expand-brackets": "0.1.5", + "extglob": "0.3.2", + "filename-regex": "2.0.1", + "is-extglob": "1.0.0", + "is-glob": "2.0.1", + "kind-of": "3.2.2", + "normalize-path": "2.1.1", + "object.omit": "2.0.1", + "parse-glob": "3.0.4", + "regex-cache": "0.4.4" + }, + "dependencies": { + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "requires": { + "remove-trailing-separator": "1.1.0" + } + } + } + }, + "mime": { + "version": "1.2.11", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz", + "integrity": "sha1-WCA+7Ybjpe8XrtK32evUfwpg3RA=", + "dev": true, + "optional": true + }, + "mime-db": { + "version": "1.36.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.36.0.tgz", + "integrity": "sha512-L+xvyD9MkoYMXb1jAmzI/lWYAxAMCPvIBSWur0PZ5nOf5euahRLVqH//FKW9mWp2lkqUgYiXPgkzfMUFi4zVDw==", + "dev": true + }, + "mime-types": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-1.0.2.tgz", + "integrity": "sha1-mVrhOSq4r/y/yyZB3QVOlDwNXc4=", + "dev": true + }, + "mimic-fn": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", + "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "dev": true + }, + "min-document": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", + "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=", + "dev": true, + "requires": { + "dom-walk": "0.1.1" + } + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "requires": { + "brace-expansion": "1.1.11" + } + }, + "minimist": { + "version": "0.0.8", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "dev": true + }, + "mixin-deep": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", + "integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==", + "dev": true, + "requires": { + "for-in": "1.0.2", + "is-extendable": "1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "2.0.4" + } + } + } + }, + "mkdirp": { + "version": "0.5.1", + "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "dev": true, + "requires": { + "minimist": "0.0.8" + } + }, + "mocha": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-4.1.0.tgz", + "integrity": "sha512-0RVnjg1HJsXY2YFDoTNzcc1NKhYuXKRrBAG2gDygmJJA136Cs2QlRliZG1mA0ap7cuaT30mw16luAeln+4RiNA==", + "dev": true, + "requires": { + "browser-stdout": "1.3.0", + "commander": "2.11.0", + "debug": "3.1.0", + "diff": "3.3.1", + "escape-string-regexp": "1.0.5", + "glob": "7.1.2", + "growl": "1.10.3", + "he": "1.1.1", + "mkdirp": "0.5.1", + "supports-color": "4.4.0" + }, + "dependencies": { + "commander": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", + "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==", + "dev": true + }, + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "dev": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "has-flag": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", + "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=", + "dev": true + }, + "supports-color": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.4.0.tgz", + "integrity": "sha512-rKC3+DyXWgK0ZLKwmRsrkyHVZAjNkfzeehuFWdGGcqGDTZFH73+RH6S/RDAAxl9GusSjZSUWYLmT9N5pzXFOXQ==", + "dev": true, + "requires": { + "has-flag": "2.0.0" + } + } + } + }, + "moo": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/moo/-/moo-0.4.3.tgz", + "integrity": "sha512-gFD2xGCl8YFgGHsqJ9NKRVdwlioeW3mI1iqfLNYQOv0+6JRwG58Zk9DIGQgyIaffSYaO1xsKnMaYzzNr1KyIAw==", + "dev": true + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "mute-stream": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", + "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", + "dev": true + }, + "nan": { + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.11.1.tgz", + "integrity": "sha512-iji6k87OSXa0CcrLl9z+ZiYSuR2o+c0bGuNmXdrhTQTakxytAFsC56SArGYoiHlJlFoHSnvmhpceZJaXkVuOtA==", + "dev": true + }, + "nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "dev": true, + "requires": { + "arr-diff": "4.0.0", + "array-unique": "0.3.2", + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "fragment-cache": "0.2.1", + "is-windows": "1.0.2", + "kind-of": "6.0.2", + "object.pick": "1.3.0", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + }, + "dependencies": { + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "dev": true + }, + "nearley": { + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/nearley/-/nearley-2.15.1.tgz", + "integrity": "sha512-8IUY/rUrKz2mIynUGh8k+tul1awMKEjeHHC5G3FHvvyAW6oq4mQfNp2c0BMea+sYZJvYcrrM6GmZVIle/GRXGw==", + "dev": true, + "requires": { + "moo": "0.4.3", + "nomnom": "1.6.2", + "railroad-diagrams": "1.0.0", + "randexp": "0.4.6", + "semver": "5.5.1" + } + }, + "negotiator": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", + "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=", + "dev": true + }, + "next-tick": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", + "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=", + "dev": true + }, + "nice-try": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.4.tgz", + "integrity": "sha512-2NpiFHqC87y/zFke0fC0spBXL3bBsoh/p5H1EFhshxjCR5+0g2d6BiXbUFz9v1sAcxsk2htp2eQnNIci2dIYcA==", + "dev": true + }, + "nise": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/nise/-/nise-1.4.5.tgz", + "integrity": "sha512-OHRVvdxKgwZELf2DTgsJEIA4MOq8XWvpSUzoOXyxJ2mY0mMENWC66+70AShLR2z05B1dzrzWlUQJmJERlOUpZw==", + "dev": true, + "requires": { + "@sinonjs/formatio": "3.0.0", + "just-extend": "3.0.0", + "lolex": "2.7.5", + "path-to-regexp": "1.7.0", + "text-encoding": "0.6.4" + }, + "dependencies": { + "@sinonjs/formatio": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/formatio/-/formatio-3.0.0.tgz", + "integrity": "sha512-vdjoYLDptCgvtJs57ULshak3iJe4NW3sJ3g36xVDGff5AE8P30S6A093EIEPjdi2noGhfuNOEkbxt3J3awFW1w==", + "dev": true, + "requires": { + "@sinonjs/samsam": "2.1.0" + } + }, + "path-to-regexp": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.7.0.tgz", + "integrity": "sha1-Wf3g9DW62suhA6hOnTvGTpa5k30=", + "dev": true, + "requires": { + "isarray": "0.0.1" + } + } + } + }, + "node-dir": { + "version": "0.1.17", + "resolved": "https://registry.npmjs.org/node-dir/-/node-dir-0.1.17.tgz", + "integrity": "sha1-X1Zl2TNRM1yqvvjxxVRRbPXx5OU=", + "dev": true, + "requires": { + "minimatch": "3.0.4" + } + }, + "node-fetch": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "requires": { + "encoding": "0.1.12", + "is-stream": "1.1.0" + } + }, + "node-gyp": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.8.0.tgz", + "integrity": "sha512-3g8lYefrRRzvGeSowdJKAKyks8oUpLEd/DyPV4eMhVlhJ0aNaZqIrNUIPuEWWTAoPqyFkfGrM67MC69baqn6vA==", + "dev": true, + "requires": { + "fstream": "1.0.11", + "glob": "7.1.3", + "graceful-fs": "4.1.11", + "mkdirp": "0.5.1", + "nopt": "3.0.6", + "npmlog": "4.1.2", + "osenv": "0.1.5", + "request": "2.88.0", + "rimraf": "2.6.2", + "semver": "5.3.0", + "tar": "2.2.1", + "which": "1.3.1" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "combined-stream": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz", + "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==", + "dev": true, + "requires": { + "delayed-stream": "1.0.0" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "requires": { + "asynckit": "0.4.0", + "combined-stream": "1.0.7", + "mime-types": "2.1.21" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "jsprim": "1.4.1", + "sshpk": "1.15.1" + } + }, + "mime-db": { + "version": "1.37.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz", + "integrity": "sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg==", + "dev": true + }, + "mime-types": { + "version": "2.1.21", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz", + "integrity": "sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==", + "dev": true, + "requires": { + "mime-db": "1.37.0" + } + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true + }, + "request": { + "version": "2.88.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "dev": true, + "requires": { + "aws-sign2": "0.7.0", + "aws4": "1.8.0", + "caseless": "0.12.0", + "combined-stream": "1.0.7", + "extend": "3.0.2", + "forever-agent": "0.6.1", + "form-data": "2.3.3", + "har-validator": "5.1.0", + "http-signature": "1.2.0", + "is-typedarray": "1.0.0", + "isstream": "0.1.2", + "json-stringify-safe": "5.0.1", + "mime-types": "2.1.21", + "oauth-sign": "0.9.0", + "performance-now": "2.1.0", + "qs": "6.5.2", + "safe-buffer": "5.1.2", + "tough-cookie": "2.4.3", + "tunnel-agent": "0.6.0", + "uuid": "3.3.2" + } + }, + "semver": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", + "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=", + "dev": true + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + }, + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + "dev": true + } + } + }, + "node-libs-browser": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-0.7.0.tgz", + "integrity": "sha1-PicsCBnjCJNeJmdECNevDhSRuDs=", + "dev": true, + "requires": { + "assert": "1.4.1", + "browserify-zlib": "0.1.4", + "buffer": "4.9.1", + "console-browserify": "1.1.0", + "constants-browserify": "1.0.0", + "crypto-browserify": "3.3.0", + "domain-browser": "1.2.0", + "events": "1.1.1", + "https-browserify": "0.0.1", + "os-browserify": "0.2.1", + "path-browserify": "0.0.0", + "process": "0.11.10", + "punycode": "1.4.1", + "querystring-es3": "0.2.1", + "readable-stream": "2.3.6", + "stream-browserify": "2.0.1", + "stream-http": "2.8.3", + "string_decoder": "0.10.31", + "timers-browserify": "2.0.10", + "tty-browserify": "0.0.0", + "url": "0.11.0", + "util": "0.10.4", + "vm-browserify": "0.0.4" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + }, + "dependencies": { + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + } + } + }, + "node-sass": { + "version": "4.9.4", + "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.9.4.tgz", + "integrity": "sha512-MXyurANsUoE4/6KmfMkwGcBzAnJQ5xJBGW7Ei6ea8KnUKuzHr/SguVBIi3uaUAHtZCPUYkvlJ3Ef5T5VAwVpaA==", + "dev": true, + "requires": { + "async-foreach": "0.1.3", + "chalk": "1.1.3", + "cross-spawn": "3.0.1", + "gaze": "1.1.3", + "get-stdin": "4.0.1", + "glob": "7.1.3", + "in-publish": "2.0.0", + "lodash.assign": "4.2.0", + "lodash.clonedeep": "4.5.0", + "lodash.mergewith": "4.6.1", + "meow": "3.7.0", + "mkdirp": "0.5.1", + "nan": "2.11.1", + "node-gyp": "3.8.0", + "npmlog": "4.1.2", + "request": "2.88.0", + "sass-graph": "2.2.4", + "stdout-stream": "1.4.1", + "true-case-path": "1.0.3" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "combined-stream": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz", + "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==", + "dev": true, + "requires": { + "delayed-stream": "1.0.0" + } + }, + "cross-spawn": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-3.0.1.tgz", + "integrity": "sha1-ElYDfsufDF9549bvE14wdwGEuYI=", + "dev": true, + "requires": { + "lru-cache": "4.1.3", + "which": "1.3.1" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "requires": { + "asynckit": "0.4.0", + "combined-stream": "1.0.7", + "mime-types": "2.1.21" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "jsprim": "1.4.1", + "sshpk": "1.15.1" + } + }, + "mime-db": { + "version": "1.37.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz", + "integrity": "sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg==", + "dev": true + }, + "mime-types": { + "version": "2.1.21", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz", + "integrity": "sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==", + "dev": true, + "requires": { + "mime-db": "1.37.0" + } + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true + }, + "request": { + "version": "2.88.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "dev": true, + "requires": { + "aws-sign2": "0.7.0", + "aws4": "1.8.0", + "caseless": "0.12.0", + "combined-stream": "1.0.7", + "extend": "3.0.2", + "forever-agent": "0.6.1", + "form-data": "2.3.3", + "har-validator": "5.1.0", + "http-signature": "1.2.0", + "is-typedarray": "1.0.0", + "isstream": "0.1.2", + "json-stringify-safe": "5.0.1", + "mime-types": "2.1.21", + "oauth-sign": "0.9.0", + "performance-now": "2.1.0", + "qs": "6.5.2", + "safe-buffer": "5.1.2", + "tough-cookie": "2.4.3", + "tunnel-agent": "0.6.0", + "uuid": "3.3.2" + } + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + }, + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + "dev": true + } + } + }, + "node-uuid": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.8.tgz", + "integrity": "sha1-sEDrCSOWivq/jTL7HxfxFn/auQc=", + "dev": true + }, + "nomnom": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/nomnom/-/nomnom-1.6.2.tgz", + "integrity": "sha1-hKZqJgF0QI/Ft3oY+IjszET7aXE=", + "dev": true, + "requires": { + "colors": "0.5.1", + "underscore": "1.4.4" + }, + "dependencies": { + "colors": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/colors/-/colors-0.5.1.tgz", + "integrity": "sha1-fQAj6usVTo7p/Oddy5I9DtFmd3Q=", + "dev": true + } + } + }, + "nomnomnomnom": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/nomnomnomnom/-/nomnomnomnom-2.0.1.tgz", + "integrity": "sha1-siOfAxyNBNpn4yg24eMZnhL3qOI=", + "dev": true, + "requires": { + "chalk": "0.4.0", + "underscore": "1.6.0" + }, + "dependencies": { + "ansi-styles": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.0.0.tgz", + "integrity": "sha1-yxAt8cVvUSPquLZ817mAJ6AnkXg=", + "dev": true + }, + "chalk": { + "version": "0.4.0", + "resolved": "http://registry.npmjs.org/chalk/-/chalk-0.4.0.tgz", + "integrity": "sha1-UZmj3c0MHv4jvAjBsCewYXbgxk8=", + "dev": true, + "requires": { + "ansi-styles": "1.0.0", + "has-color": "0.1.7", + "strip-ansi": "0.1.1" + } + }, + "strip-ansi": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz", + "integrity": "sha1-OeipjQRNFQZgq+SmgIrPcLt7yZE=", + "dev": true + }, + "underscore": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz", + "integrity": "sha1-izixDKze9jM3uLJOT/htRa6lKag=", + "dev": true + } + } + }, + "nopt": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", + "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", + "dev": true, + "requires": { + "abbrev": "1.0.9" + } + }, + "normalize-package-data": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", + "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", + "dev": true, + "requires": { + "hosted-git-info": "2.7.1", + "is-builtin-module": "1.0.0", + "semver": "5.5.1", + "validate-npm-package-license": "3.0.4" + } + }, + "normalize-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-1.0.0.tgz", + "integrity": "sha1-MtDkcvkf80VwHBWoMRAY07CpA3k=", + "dev": true + }, + "normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", + "dev": true + }, + "normalize-url": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-1.9.1.tgz", + "integrity": "sha1-LMDWazHqIwNkWENuNiDYWVTGbDw=", + "dev": true, + "requires": { + "object-assign": "4.1.1", + "prepend-http": "1.0.4", + "query-string": "4.3.4", + "sort-keys": "1.1.2" + } + }, + "npm-path": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/npm-path/-/npm-path-2.0.4.tgz", + "integrity": "sha512-IFsj0R9C7ZdR5cP+ET342q77uSRdtWOlWpih5eC+lu29tIDbNEgDbzgVJ5UFvYHWhxDZ5TFkJafFioO0pPQjCw==", + "dev": true, + "requires": { + "which": "1.3.1" + } + }, + "npm-run-all": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.3.tgz", + "integrity": "sha512-aOG0N3Eo/WW+q6sUIdzcV2COS8VnTZCmdji0VQIAZF3b+a3YWb0AD0vFIyjKec18A7beLGbaQ5jFTNI2bPt9Cg==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "chalk": "2.4.1", + "cross-spawn": "6.0.5", + "memorystream": "0.3.1", + "minimatch": "3.0.4", + "ps-tree": "1.1.0", + "read-pkg": "3.0.0", + "shell-quote": "1.6.1", + "string.prototype.padend": "3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "load-json-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "4.0.0", + "pify": "3.0.0", + "strip-bom": "3.0.0" + } + }, + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "requires": { + "error-ex": "1.3.2", + "json-parse-better-errors": "1.0.2" + } + }, + "path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "requires": { + "pify": "3.0.0" + } + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + }, + "read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", + "dev": true, + "requires": { + "load-json-file": "4.0.0", + "normalize-package-data": "2.4.0", + "path-type": "3.0.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "npm-run-path": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", + "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", + "dev": true, + "requires": { + "path-key": "2.0.1" + } + }, + "npm-which": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/npm-which/-/npm-which-3.0.1.tgz", + "integrity": "sha1-kiXybsOihcIJyuZ8OxGmtKtxQKo=", + "dev": true, + "requires": { + "commander": "2.17.1", + "npm-path": "2.0.4", + "which": "1.3.1" + } + }, + "npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "dev": true, + "requires": { + "are-we-there-yet": "1.1.5", + "console-control-strings": "1.1.0", + "gauge": "2.7.4", + "set-blocking": "2.0.0" + } + }, + "nth-check": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", + "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", + "dev": true, + "requires": { + "boolbase": "1.0.0" + } + }, + "num2fraction": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", + "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=", + "dev": true + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true + }, + "oauth-sign": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.4.0.tgz", + "integrity": "sha1-8ilW8x6nFRqCHl8vsywRPK2Ln2k=", + "dev": true, + "optional": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "object-component": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/object-component/-/object-component-0.0.3.tgz", + "integrity": "sha1-8MaapQ78lbhmwYb0AKM3acsvEpE=", + "dev": true + }, + "object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "dev": true, + "requires": { + "copy-descriptor": "0.1.1", + "define-property": "0.2.5", + "kind-of": "3.2.2" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + } + } + }, + "object-inspect": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.6.0.tgz", + "integrity": "sha512-GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ==", + "dev": true + }, + "object-is": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.0.1.tgz", + "integrity": "sha1-CqYOyZiaCz7Xlc9NBvYs8a1lObY=", + "dev": true + }, + "object-keys": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.12.tgz", + "integrity": "sha512-FTMyFUm2wBcGHnH2eXmz7tC6IwlqQZ6mVZ+6dm6vZ4IQIHjs6FdNsQBuKGPuUUUY6NfJw2PshC08Tn6LzLDOag==", + "dev": true + }, + "object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "dev": true, + "requires": { + "isobject": "3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "object.assign": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", + "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "function-bind": "1.1.1", + "has-symbols": "1.0.0", + "object-keys": "1.0.12" + } + }, + "object.entries": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.0.4.tgz", + "integrity": "sha1-G/mk3SKI9bM/Opk9JXZh8F0WGl8=", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0", + "function-bind": "1.1.1", + "has": "1.0.3" + } + }, + "object.omit": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", + "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", + "dev": true, + "requires": { + "for-own": "0.1.5", + "is-extendable": "0.1.1" + } + }, + "object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", + "dev": true, + "requires": { + "isobject": "3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "object.values": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.0.4.tgz", + "integrity": "sha1-5STaCbT2b/Bd9FdUbscqyZ8TBpo=", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0", + "function-bind": "1.1.1", + "has": "1.0.3" + } + }, + "on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "dev": true, + "requires": { + "ee-first": "1.1.1" + } + }, + "on-headers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.1.tgz", + "integrity": "sha1-ko9dD0cNSTQmUepnlLCFfBAGk/c=", + "dev": true + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "requires": { + "wrappy": "1.0.2" + } + }, + "onetime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", + "dev": true, + "requires": { + "mimic-fn": "1.2.0" + } + }, + "open": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/open/-/open-0.0.5.tgz", + "integrity": "sha1-QsPhjslUZra/DcQvOilFw/DK2Pw=", + "dev": true + }, + "optimist": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", + "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", + "dev": true, + "requires": { + "minimist": "0.0.8", + "wordwrap": "0.0.3" + }, + "dependencies": { + "wordwrap": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", + "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", + "dev": true + } + } + }, + "optionator": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", + "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", + "dev": true, + "requires": { + "deep-is": "0.1.3", + "fast-levenshtein": "2.0.6", + "levn": "0.3.0", + "prelude-ls": "1.1.2", + "type-check": "0.3.2", + "wordwrap": "1.0.0" + } + }, + "options": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/options/-/options-0.0.6.tgz", + "integrity": "sha1-7CLTEoBrtT5zF3Pnza788cZDEo8=", + "dev": true + }, + "ora": { + "version": "0.2.3", + "resolved": "http://registry.npmjs.org/ora/-/ora-0.2.3.tgz", + "integrity": "sha1-N1J9Igrc1Tw5tzVx11QVbV22V6Q=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "cli-cursor": "1.0.2", + "cli-spinners": "0.1.2", + "object-assign": "4.1.1" + }, + "dependencies": { + "cli-cursor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", + "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", + "dev": true, + "requires": { + "restore-cursor": "1.0.1" + } + }, + "onetime": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", + "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", + "dev": true + }, + "restore-cursor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", + "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", + "dev": true, + "requires": { + "exit-hook": "1.1.1", + "onetime": "1.1.0" + } + } + } + }, + "original": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz", + "integrity": "sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg==", + "dev": true, + "requires": { + "url-parse": "1.4.3" + } + }, + "os-browserify": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.2.1.tgz", + "integrity": "sha1-Y/xMzuXS13Y9Jrv4YBB45sLgBE8=", + "dev": true + }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true + }, + "os-locale": { + "version": "1.4.0", + "resolved": "http://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", + "dev": true, + "requires": { + "lcid": "1.0.0" + } + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "dev": true + }, + "osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "dev": true, + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, + "p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "dev": true + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "1.3.0" + } + }, + "p-map": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz", + "integrity": "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==", + "dev": true + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true + }, + "pako": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz", + "integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU=", + "dev": true + }, + "parse-glob": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", + "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", + "dev": true, + "requires": { + "glob-base": "0.3.0", + "is-dotfile": "1.0.3", + "is-extglob": "1.0.0", + "is-glob": "2.0.1" + } + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "1.3.2" + } + }, + "parse5": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz", + "integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==", + "dev": true, + "requires": { + "@types/node": "10.12.0" + } + }, + "parsejson": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/parsejson/-/parsejson-0.0.3.tgz", + "integrity": "sha1-q343WfIJ7OmUN5c/fQ8fZK4OZKs=", + "dev": true, + "requires": { + "better-assert": "1.0.2" + } + }, + "parseqs": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.5.tgz", + "integrity": "sha1-1SCKNzjkZ2bikbouoXNoSSGouJ0=", + "dev": true, + "requires": { + "better-assert": "1.0.2" + } + }, + "parseuri": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.5.tgz", + "integrity": "sha1-gCBKUNTbt3m/3G6+J3jZDkvOMgo=", + "dev": true, + "requires": { + "better-assert": "1.0.2" + } + }, + "parseurl": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz", + "integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M=", + "dev": true + }, + "pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", + "dev": true + }, + "path-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.0.tgz", + "integrity": "sha1-oLhwcpquIUAFt9UDLsLLuw+0RRo=", + "dev": true + }, + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "dev": true, + "requires": { + "pinkie-promise": "2.0.1" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true + }, + "path-is-inside": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", + "dev": true + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true + }, + "path-parse": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "dev": true + }, + "path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", + "dev": true + }, + "path-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", + "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", + "dev": true, + "requires": { + "pify": "2.3.0" + } + }, + "pause-stream": { + "version": "0.0.11", + "resolved": "http://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz", + "integrity": "sha1-/lo0sMvOErWqaitAPuLnO2AvFEU=", + "dev": true, + "requires": { + "through": "2.3.8" + } + }, + "pbkdf2-compat": { + "version": "2.0.1", + "resolved": "http://registry.npmjs.org/pbkdf2-compat/-/pbkdf2-compat-2.0.1.tgz", + "integrity": "sha1-tuDI+plJTZTgURV1gCpZpcFC8og=", + "dev": true + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", + "dev": true + }, + "pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "dev": true, + "requires": { + "pinkie": "2.0.4" + } + }, + "pkg-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-1.0.0.tgz", + "integrity": "sha1-ektQio1bstYp1EcFb/TpyTFM89Q=", + "dev": true, + "requires": { + "find-up": "1.1.2" + } + }, + "pluralize": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz", + "integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==", + "dev": true + }, + "popper.js": { + "version": "1.14.4", + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.14.4.tgz", + "integrity": "sha1-juwdj/AqWjoVLdQ0FKFce3n9abY=" + }, + "posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", + "dev": true + }, + "postcss": { + "version": "5.2.18", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", + "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", + "dev": true, + "requires": { + "chalk": "1.1.3", + "js-base64": "2.4.3", + "source-map": "0.5.7", + "supports-color": "3.2.3" + }, + "dependencies": { + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "1.0.0" + } + } + } + }, + "postcss-calc": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-5.3.1.tgz", + "integrity": "sha1-d7rnypKK2FcW4v2kLyYb98HWW14=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "postcss-message-helpers": "2.0.0", + "reduce-css-calc": "1.3.0" + } + }, + "postcss-colormin": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-2.2.2.tgz", + "integrity": "sha1-ZjFBfV8OkJo9fsJrJMio0eT5bks=", + "dev": true, + "requires": { + "colormin": "1.1.2", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-convert-values": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-2.6.1.tgz", + "integrity": "sha1-u9hZPFwf0uPRwyK7kl3K6Nrk1i0=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-discard-comments": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-2.0.4.tgz", + "integrity": "sha1-vv6J+v1bPazlzM5Rt2uBUUvgDj0=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-discard-duplicates": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-2.1.0.tgz", + "integrity": "sha1-uavye4isGIFYpesSq8riAmO5GTI=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-discard-empty": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-2.1.0.tgz", + "integrity": "sha1-0rS9nVztXr2Nyt52QMfXzX9PkrU=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-discard-overridden": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-0.1.1.tgz", + "integrity": "sha1-ix6vVU9ob7KIzYdMVWZ7CqNmjVg=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-discard-unused": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/postcss-discard-unused/-/postcss-discard-unused-2.2.3.tgz", + "integrity": "sha1-vOMLLMWR/8Y0Mitfs0ZLbZNPRDM=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "uniqs": "2.0.0" + } + }, + "postcss-filter-plugins": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/postcss-filter-plugins/-/postcss-filter-plugins-2.0.2.tgz", + "integrity": "sha1-bYWGJTTXNaxCDkqFgG4fXUKG2Ew=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "uniqid": "4.1.1" + } + }, + "postcss-merge-idents": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-2.1.7.tgz", + "integrity": "sha1-TFUwMTwI4dWzu/PSu8dH4njuonA=", + "dev": true, + "requires": { + "has": "1.0.3", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-merge-longhand": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-2.0.2.tgz", + "integrity": "sha1-I9kM0Sewp3mUkVMyc5A0oaTz1lg=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-merge-rules": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-2.1.2.tgz", + "integrity": "sha1-0d9d+qexrMO+VT8OnhDofGG19yE=", + "dev": true, + "requires": { + "browserslist": "1.7.7", + "caniuse-api": "1.6.1", + "postcss": "5.2.18", + "postcss-selector-parser": "2.2.3", + "vendors": "1.0.2" + }, + "dependencies": { + "browserslist": { + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz", + "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", + "dev": true, + "requires": { + "caniuse-db": "1.0.30000890", + "electron-to-chromium": "1.3.67" + } + } + } + }, + "postcss-message-helpers": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postcss-message-helpers/-/postcss-message-helpers-2.0.0.tgz", + "integrity": "sha1-pPL0+rbk/gAvCu0ABHjN9S+bpg4=", + "dev": true + }, + "postcss-minify-font-values": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-1.0.5.tgz", + "integrity": "sha1-S1jttWZB66fIR0qzUmyv17vey2k=", + "dev": true, + "requires": { + "object-assign": "4.1.1", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-minify-gradients": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-1.0.5.tgz", + "integrity": "sha1-Xb2hE3NwP4PPtKPqOIHY11/15uE=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-minify-params": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-1.2.2.tgz", + "integrity": "sha1-rSzgcTc7lDs9kwo/pZo1jCjW8fM=", + "dev": true, + "requires": { + "alphanum-sort": "1.0.2", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0", + "uniqs": "2.0.0" + } + }, + "postcss-minify-selectors": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-2.1.1.tgz", + "integrity": "sha1-ssapjAByz5G5MtGkllCBFDEXNb8=", + "dev": true, + "requires": { + "alphanum-sort": "1.0.2", + "has": "1.0.3", + "postcss": "5.2.18", + "postcss-selector-parser": "2.2.3" + } + }, + "postcss-modules-extract-imports": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.2.0.tgz", + "integrity": "sha1-ZhQOzs447wa/DT41XWm/WdFB6oU=", + "dev": true, + "requires": { + "postcss": "6.0.23" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "source-map": "0.6.1", + "supports-color": "5.5.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "postcss-modules-local-by-default": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz", + "integrity": "sha1-99gMOYxaOT+nlkRmvRlQCn1hwGk=", + "dev": true, + "requires": { + "css-selector-tokenizer": "0.7.0", + "postcss": "6.0.23" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "source-map": "0.6.1", + "supports-color": "5.5.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "postcss-modules-scope": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-1.1.0.tgz", + "integrity": "sha1-1upkmUx5+XtipytCb75gVqGUu5A=", + "dev": true, + "requires": { + "css-selector-tokenizer": "0.7.0", + "postcss": "6.0.23" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "source-map": "0.6.1", + "supports-color": "5.5.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "postcss-modules-values": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-1.3.0.tgz", + "integrity": "sha1-7P+p1+GSUYOJ9CrQ6D9yrsRW6iA=", + "dev": true, + "requires": { + "icss-replace-symbols": "1.1.0", + "postcss": "6.0.23" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "source-map": "0.6.1", + "supports-color": "5.5.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "postcss-normalize-charset": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-1.1.1.tgz", + "integrity": "sha1-757nEhLX/nWceO0WL2HtYrXLk/E=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-normalize-url": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-3.0.8.tgz", + "integrity": "sha1-EI90s/L82viRov+j6kWSJ5/HgiI=", + "dev": true, + "requires": { + "is-absolute-url": "2.1.0", + "normalize-url": "1.9.1", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-ordered-values": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-2.2.3.tgz", + "integrity": "sha1-7sbCpntsQSqNsgQud/6NpD+VwR0=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-reduce-idents": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/postcss-reduce-idents/-/postcss-reduce-idents-2.4.0.tgz", + "integrity": "sha1-wsbSDMlYKE9qv75j92Cb9AkFmtM=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-reduce-initial": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-1.0.1.tgz", + "integrity": "sha1-aPgGlfBF0IJjqHmtJA343WT2ROo=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-reduce-transforms": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-1.0.4.tgz", + "integrity": "sha1-/3b02CEkN7McKYpC0uFEQCV3GuE=", + "dev": true, + "requires": { + "has": "1.0.3", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-selector-parser": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-2.2.3.tgz", + "integrity": "sha1-+UN3iGBsPJrO4W/+jYsWKX8nu5A=", + "dev": true, + "requires": { + "flatten": "1.0.2", + "indexes-of": "1.0.1", + "uniq": "1.0.1" + } + }, + "postcss-svgo": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-2.1.6.tgz", + "integrity": "sha1-tt8YqmE7Zm4TPwittSGcJoSsEI0=", + "dev": true, + "requires": { + "is-svg": "2.1.0", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0", + "svgo": "0.7.2" + } + }, + "postcss-unique-selectors": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-2.0.2.tgz", + "integrity": "sha1-mB1X0p3csz57Hf4f1DuGSfkzyh0=", + "dev": true, + "requires": { + "alphanum-sort": "1.0.2", + "postcss": "5.2.18", + "uniqs": "2.0.0" + } + }, + "postcss-value-parser": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.0.tgz", + "integrity": "sha1-h/OPnxj3dKSrTIojL1xc6IcqnRU=", + "dev": true + }, + "postcss-zindex": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/postcss-zindex/-/postcss-zindex-2.2.0.tgz", + "integrity": "sha1-0hCd3AVbka9n/EyzsCWUZjnSryI=", + "dev": true, + "requires": { + "has": "1.0.3", + "postcss": "5.2.18", + "uniqs": "2.0.0" + } + }, + "prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", + "dev": true + }, + "prepend-http": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", + "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=", + "dev": true + }, + "preserve": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", + "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", + "dev": true + }, + "prettier": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.14.3.tgz", + "integrity": "sha512-qZDVnCrnpsRJJq5nSsiHCE3BYMED2OtsI+cmzIzF1QIfqm5ALf8tEJcO27zV1gKNKRPdhjO0dNWnrzssDQ1tFg==", + "dev": true + }, + "pretty-format": { + "version": "21.2.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-21.2.1.tgz", + "integrity": "sha512-ZdWPGYAnYfcVP8yKA3zFjCn8s4/17TeYH28MXuC8vTp0o21eXjbFGcOAXZEaDaOFJjc3h2qa7HQNHNshhvoh2A==", + "dev": true, + "requires": { + "ansi-regex": "3.0.0", + "ansi-styles": "3.2.1" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + } + } + }, + "private": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", + "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", + "dev": true + }, + "process": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/process/-/process-0.5.2.tgz", + "integrity": "sha1-FjjYqONML0QKkduVq5rrZ3/Bhc8=", + "dev": true + }, + "process-nextick-args": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", + "dev": true + }, + "progress": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.0.tgz", + "integrity": "sha1-ihvjZr+Pwj2yvSPxDG/pILQ4nR8=", + "dev": true + }, + "promise": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "requires": { + "asap": "2.0.6" + } + }, + "prop-types": { + "version": "15.6.2", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz", + "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==", + "requires": { + "loose-envify": "1.4.0", + "object-assign": "4.1.1" + } + }, + "proxy-addr": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.4.tgz", + "integrity": "sha512-5erio2h9jp5CHGwcybmxmVqHmnCBZeewlfJ0pex+UW7Qny7OOZXTtH56TGNyBizkgiOwhJtMKrVzDTeKcySZwA==", + "dev": true, + "requires": { + "forwarded": "0.1.2", + "ipaddr.js": "1.8.0" + } + }, + "prr": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", + "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=", + "dev": true + }, + "ps-tree": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/ps-tree/-/ps-tree-1.1.0.tgz", + "integrity": "sha1-tCGyQUDWID8e08dplrRCewjowBQ=", + "dev": true, + "requires": { + "event-stream": "3.3.6" + } + }, + "pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", + "dev": true + }, + "psl": { + "version": "1.1.29", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.29.tgz", + "integrity": "sha512-AeUmQ0oLN02flVHXWh9sSJF7mcdFq0ppid/JkErufc3hGIV/AMa8Fo9VgDo/cT2jFdOWoFvHp90qqBH54W+gjQ==", + "dev": true + }, + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true + }, + "q": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", + "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=", + "dev": true + }, + "qjobs": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/qjobs/-/qjobs-1.2.0.tgz", + "integrity": "sha512-8YOJEHtxpySA3fFDyCRxA+UUV+fA+rTWnuWvylOK/NCjhY+b4ocCtmu8TtsWb+mYeU+GCHf/S66KZF/AsteKHg==", + "dev": true + }, + "qs": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-1.2.2.tgz", + "integrity": "sha1-GbV/8k3CqZzh+L32r82ln472H4g=", + "dev": true + }, + "query-string": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/query-string/-/query-string-4.3.4.tgz", + "integrity": "sha1-u7aTucqRXCMlFbIosaArYJBD2+s=", + "dev": true, + "requires": { + "object-assign": "4.1.1", + "strict-uri-encode": "1.1.0" + } + }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "dev": true + }, + "querystring-es3": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", + "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", + "dev": true + }, + "querystringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.0.0.tgz", + "integrity": "sha512-eTPo5t/4bgaMNZxyjWx6N2a6AuE0mq51KWvpc7nU/MAqixcI6v6KrGUKES0HaomdnolQBBXU/++X6/QQ9KL4tw==", + "dev": true + }, + "raf": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.0.tgz", + "integrity": "sha512-pDP/NMRAXoTfrhCfyfSEwJAKLaxBU9eApMeBPB1TkDouZmvPerIClV8lTAd+uF8ZiTaVl69e1FCxQrAd/VTjGw==", + "dev": true, + "requires": { + "performance-now": "2.1.0" + } + }, + "railroad-diagrams": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz", + "integrity": "sha1-635iZ1SN3t+4mcG5Dlc3RVnN234=", + "dev": true + }, + "randexp": { + "version": "0.4.6", + "resolved": "https://registry.npmjs.org/randexp/-/randexp-0.4.6.tgz", + "integrity": "sha512-80WNmd9DA0tmZrw9qQa62GPPWfuXJknrmVmLcxvq4uZBdYqb1wYoKTmnlGUchvVWe0XiLupYkBoXVOxz3C8DYQ==", + "dev": true, + "requires": { + "discontinuous-range": "1.0.0", + "ret": "0.1.15" + } + }, + "randomatic": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.0.tgz", + "integrity": "sha512-KnGPVE0lo2WoXxIZ7cPR8YBpiol4gsSuOwDSg410oHh80ZMp5EiypNqL2K4Z77vJn6lB5rap7IkAmcUlalcnBQ==", + "dev": true, + "requires": { + "is-number": "4.0.0", + "kind-of": "6.0.2", + "math-random": "1.0.1" + }, + "dependencies": { + "is-number": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", + "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "range-parser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", + "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=", + "dev": true + }, + "raw-body": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.2.tgz", + "integrity": "sha1-vNYMd9Prk83gBQKVw/N5OJvIj4k=", + "dev": true, + "requires": { + "bytes": "3.0.0", + "http-errors": "1.6.2", + "iconv-lite": "0.4.19", + "unpipe": "1.0.0" + }, + "dependencies": { + "depd": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.1.tgz", + "integrity": "sha1-V4O04cRZ8G+lyif5kfPQbnoxA1k=", + "dev": true + }, + "http-errors": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.2.tgz", + "integrity": "sha1-CgAsyFcHGSp+eUbO7cERVfYOxzY=", + "dev": true, + "requires": { + "depd": "1.1.1", + "inherits": "2.0.3", + "setprototypeof": "1.0.3", + "statuses": "1.4.0" + } + }, + "iconv-lite": { + "version": "0.4.19", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz", + "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==", + "dev": true + }, + "setprototypeof": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.3.tgz", + "integrity": "sha1-ZlZ+NwQ+608E2RvWWMDL77VbjgQ=", + "dev": true + } + } + }, + "react": { + "version": "16.5.2", + "resolved": "https://registry.npmjs.org/react/-/react-16.5.2.tgz", + "integrity": "sha512-FDCSVd3DjVTmbEAjUNX6FgfAmQ+ypJfHUsqUJOYNCBUp1h8lqmtC+0mXJ+JjsWx4KAVTkk1vKd1hLQPvEviSuw==", + "dev": true, + "requires": { + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "prop-types": "15.6.2", + "schedule": "0.5.0" + } + }, + "react-deep-force-update": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/react-deep-force-update/-/react-deep-force-update-1.1.2.tgz", + "integrity": "sha512-WUSQJ4P/wWcusaH+zZmbECOk7H5N2pOIl0vzheeornkIMhu+qrNdGFm0bDZLCb0hSF0jf/kH1SgkNGfBdTc4wA==", + "dev": true + }, + "react-docgen": { + "version": "2.21.0", + "resolved": "https://registry.npmjs.org/react-docgen/-/react-docgen-2.21.0.tgz", + "integrity": "sha512-8xNPTrmvHLGNfqlsCYPdXmSkagP1njI5unP3t8WrjTJ4/5hHuP5nb3XH69CnF67HPV5zTkPoafcRBDGSQO6S6A==", + "dev": true, + "requires": { + "async": "2.6.1", + "babel-runtime": "6.26.0", + "babylon": "5.8.38", + "commander": "2.17.1", + "doctrine": "2.1.0", + "node-dir": "0.1.17", + "recast": "0.12.9" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + }, + "babylon": { + "version": "5.8.38", + "resolved": "http://registry.npmjs.org/babylon/-/babylon-5.8.38.tgz", + "integrity": "sha1-7JsSCxG/bM1Bc6GL8hfmC3mFn/0=", + "dev": true + } + } + }, + "react-dom": { + "version": "16.5.2", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.5.2.tgz", + "integrity": "sha512-RC8LDw8feuZOHVgzEf7f+cxBr/DnKdqp56VU0lAs1f4UfKc4cU8wU4fTq/mgnvynLQo8OtlPC19NUFh/zjZPuA==", + "dev": true, + "requires": { + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "prop-types": "15.6.2", + "schedule": "0.5.0" + } + }, + "react-is": { + "version": "16.5.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.5.2.tgz", + "integrity": "sha512-hSl7E6l25GTjNEZATqZIuWOgSnpXb3kD0DVCujmg46K5zLxsbiKaaT6VO9slkSBDPZfYs30lwfJwbOFOnoEnKQ==", + "dev": true + }, + "react-onclickoutside": { + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/react-onclickoutside/-/react-onclickoutside-6.7.1.tgz", + "integrity": "sha512-p84kBqGaMoa7VYT0vZ/aOYRfJB+gw34yjpda1Z5KeLflg70HipZOT+MXQenEhdkPAABuE2Astq4zEPdMqUQxcg==" + }, + "react-popper": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-1.0.2.tgz", + "integrity": "sha512-vjZ94ki8sfCAg45MMi4uqnUUWdzbnYkb95sR2+HgiMaAPzQcy4DfDKYtYUOhhE+sdtkufWcUHLv09DmH2Js57w==", + "requires": { + "babel-runtime": "6.26.0", + "create-react-context": "0.2.3", + "popper.js": "1.14.4", + "prop-types": "15.6.2", + "typed-styles": "0.0.5", + "warning": "3.0.0" + } + }, + "react-proxy": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/react-proxy/-/react-proxy-1.1.8.tgz", + "integrity": "sha1-nb/Z2SdSjDqp9ETkVYw3gwq4wmo=", + "dev": true, + "requires": { + "lodash": "4.17.11", + "react-deep-force-update": "1.1.2" + } + }, + "react-test-renderer": { + "version": "16.5.2", + "resolved": "https://registry.npmjs.org/react-test-renderer/-/react-test-renderer-16.5.2.tgz", + "integrity": "sha512-AGbJYbCVx1J6jdUgI4s0hNp+9LxlgzKvXl0ROA3DHTrtjAr00Po1RhDZ/eAq2VC/ww8AHgpDXULh5V2rhEqqJg==", + "dev": true, + "requires": { + "object-assign": "4.1.1", + "prop-types": "15.6.2", + "react-is": "16.5.2", + "schedule": "0.5.0" + } + }, + "react-transform-hmr": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/react-transform-hmr/-/react-transform-hmr-1.0.4.tgz", + "integrity": "sha1-4aQL0Krvxy6N/Xp82gmvhQZjl7s=", + "dev": true, + "requires": { + "global": "4.3.2", + "react-proxy": "1.1.8" + } + }, + "read-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", + "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", + "dev": true, + "requires": { + "load-json-file": "2.0.0", + "normalize-package-data": "2.4.0", + "path-type": "2.0.0" + } + }, + "read-pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", + "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "dev": true, + "requires": { + "find-up": "2.1.0", + "read-pkg": "2.0.0" + }, + "dependencies": { + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "2.0.0" + } + } + } + }, + "readable-stream": { + "version": "1.0.34", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "0.0.1", + "string_decoder": "0.10.31" + } + }, + "readdirp": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "micromatch": "3.1.10", + "readable-stream": "2.3.6" + }, + "dependencies": { + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "1.1.0", + "array-unique": "0.3.2", + "extend-shallow": "2.0.1", + "fill-range": "4.0.0", + "isobject": "3.0.1", + "repeat-element": "1.1.3", + "snapdragon": "0.8.2", + "snapdragon-node": "2.1.1", + "split-string": "3.1.0", + "to-regex": "3.0.2" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "requires": { + "debug": "2.6.9", + "define-property": "0.2.5", + "extend-shallow": "2.0.1", + "posix-character-classes": "0.1.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "0.1.6", + "is-data-descriptor": "0.1.4", + "kind-of": "5.1.0" + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "requires": { + "array-unique": "0.3.2", + "define-property": "1.0.0", + "expand-brackets": "2.1.4", + "extend-shallow": "2.0.1", + "fragment-cache": "0.2.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "1.0.2" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "2.0.1", + "is-number": "3.0.0", + "repeat-string": "1.6.1", + "to-regex-range": "2.1.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "4.0.0", + "array-unique": "0.3.2", + "braces": "2.3.2", + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "extglob": "2.0.4", + "fragment-cache": "0.2.1", + "kind-of": "6.0.2", + "nanomatch": "1.2.13", + "object.pick": "1.3.0", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + } + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "readline2": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/readline2/-/readline2-1.0.1.tgz", + "integrity": "sha1-QQWWCP/BVHV7cV2ZidGZ/783LjU=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "mute-stream": "0.0.5" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "mute-stream": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.5.tgz", + "integrity": "sha1-j7+rsKmKJT0xhDMfno3rc3L6xsA=", + "dev": true + } + } + }, + "recast": { + "version": "0.12.9", + "resolved": "https://registry.npmjs.org/recast/-/recast-0.12.9.tgz", + "integrity": "sha512-y7ANxCWmMW8xLOaiopiRDlyjQ9ajKRENBH+2wjntIbk3A6ZR1+BLQttkmSHMY7Arl+AAZFwJ10grg2T6f1WI8A==", + "dev": true, + "requires": { + "ast-types": "0.10.1", + "core-js": "2.5.7", + "esprima": "4.0.1", + "private": "0.1.8", + "source-map": "0.6.1" + }, + "dependencies": { + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "redent": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", + "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "dev": true, + "requires": { + "indent-string": "2.1.0", + "strip-indent": "1.0.1" + }, + "dependencies": { + "strip-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", + "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "dev": true, + "requires": { + "get-stdin": "4.0.1" + } + } + } + }, + "reduce-css-calc": { + "version": "1.3.0", + "resolved": "http://registry.npmjs.org/reduce-css-calc/-/reduce-css-calc-1.3.0.tgz", + "integrity": "sha1-dHyRTgSWFKTJz7umKYca0dKSdxY=", + "dev": true, + "requires": { + "balanced-match": "0.4.2", + "math-expression-evaluator": "1.2.17", + "reduce-function-call": "1.0.2" + }, + "dependencies": { + "balanced-match": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", + "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=", + "dev": true + } + } + }, + "reduce-function-call": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/reduce-function-call/-/reduce-function-call-1.0.2.tgz", + "integrity": "sha1-WiAL+S4ON3UXUv5FsKszD9S2vpk=", + "dev": true, + "requires": { + "balanced-match": "0.4.2" + }, + "dependencies": { + "balanced-match": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", + "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=", + "dev": true + } + } + }, + "regenerate": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz", + "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==", + "dev": true + }, + "regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" + }, + "regenerator-transform": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz", + "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "private": "0.1.8" + } + }, + "regex-cache": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", + "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", + "dev": true, + "requires": { + "is-equal-shallow": "0.1.3" + } + }, + "regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "dev": true, + "requires": { + "extend-shallow": "3.0.2", + "safe-regex": "1.1.0" + } + }, + "regexpp": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-1.1.0.tgz", + "integrity": "sha512-LOPw8FpgdQF9etWMaAfG/WRthIdXJGYp4mJ2Jgn/2lpkbod9jPn0t9UqN7AxBOKNfzRbYyVfgc7Vk4t/MpnXgw==", + "dev": true + }, + "regexpu-core": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", + "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=", + "dev": true, + "requires": { + "regenerate": "1.4.0", + "regjsgen": "0.2.0", + "regjsparser": "0.1.5" + } + }, + "regjsgen": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", + "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=", + "dev": true + }, + "regjsparser": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", + "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", + "dev": true, + "requires": { + "jsesc": "0.5.0" + }, + "dependencies": { + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "dev": true + } + } + }, + "remove-trailing-separator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", + "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", + "dev": true + }, + "repeat-element": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", + "dev": true + }, + "repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "dev": true + }, + "repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "dev": true, + "requires": { + "is-finite": "1.0.2" + } + }, + "request": { + "version": "2.42.0", + "resolved": "http://registry.npmjs.org/request/-/request-2.42.0.tgz", + "integrity": "sha1-VyvQFIk4VkBArHqxSLlkI6BjMEo=", + "dev": true, + "requires": { + "aws-sign2": "0.5.0", + "bl": "0.9.5", + "caseless": "0.6.0", + "forever-agent": "0.5.2", + "form-data": "0.1.4", + "hawk": "1.1.1", + "http-signature": "0.10.1", + "json-stringify-safe": "5.0.1", + "mime-types": "1.0.2", + "node-uuid": "1.4.8", + "oauth-sign": "0.4.0", + "qs": "1.2.2", + "stringstream": "0.0.6", + "tough-cookie": "2.4.3", + "tunnel-agent": "0.4.3" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true + }, + "require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true + }, + "require-main-filename": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", + "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", + "dev": true + }, + "require-uncached": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz", + "integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=", + "dev": true, + "requires": { + "caller-path": "0.1.0", + "resolve-from": "1.0.1" + } + }, + "requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", + "dev": true + }, + "resolve": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz", + "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==", + "dev": true, + "requires": { + "path-parse": "1.0.6" + } + }, + "resolve-from": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz", + "integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=", + "dev": true + }, + "resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", + "dev": true + }, + "restore-cursor": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", + "dev": true, + "requires": { + "onetime": "2.0.1", + "signal-exit": "3.0.2" + } + }, + "resumer": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz", + "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=", + "dev": true, + "requires": { + "through": "2.3.8" + } + }, + "ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "dev": true + }, + "right-align": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", + "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", + "dev": true, + "requires": { + "align-text": "0.1.4" + } + }, + "rimraf": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", + "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", + "dev": true, + "requires": { + "glob": "7.1.3" + } + }, + "ripemd160": { + "version": "0.2.0", + "resolved": "http://registry.npmjs.org/ripemd160/-/ripemd160-0.2.0.tgz", + "integrity": "sha1-K/GYveFnys+lHAqSjoS2i74XH84=", + "dev": true + }, + "rollup": { + "version": "0.51.8", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-0.51.8.tgz", + "integrity": "sha512-e7FwWxqb4vhdonmwRH06nqC9wR6h1kZojK2D+lN1xjiB8FDtAKgy7o+r8fCXVzQZ1ZCdcVlls3mTq5g6u38Jew==", + "dev": true + }, + "rollup-plugin-babel": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/rollup-plugin-babel/-/rollup-plugin-babel-3.0.7.tgz", + "integrity": "sha512-bVe2y0z/V5Ax1qU8NX/0idmzIwJPdUGu8Xx3vXH73h0yGjxfv2gkFI82MBVg49SlsFlLTBadBHb67zy4TWM3hA==", + "dev": true, + "requires": { + "rollup-pluginutils": "1.5.2" + } + }, + "rollup-plugin-commonjs": { + "version": "8.4.1", + "resolved": "http://registry.npmjs.org/rollup-plugin-commonjs/-/rollup-plugin-commonjs-8.4.1.tgz", + "integrity": "sha512-mg+WuD+jlwoo8bJtW3Mvx7Tz6TsIdMsdhuvCnDMoyjh0oxsVgsjB/N0X984RJCWwc5IIiqNVJhXeeITcc73++A==", + "dev": true, + "requires": { + "acorn": "5.7.3", + "estree-walker": "0.5.2", + "magic-string": "0.22.5", + "resolve": "1.8.1", + "rollup-pluginutils": "2.3.3" + }, + "dependencies": { + "estree-walker": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.5.2.tgz", + "integrity": "sha512-XpCnW/AE10ws/kDAs37cngSkvgIR8aN3G0MS85m7dUpuK2EREo9VJ00uvw6Dg/hXEpfsE1I1TvJOJr+Z+TL+ig==", + "dev": true + }, + "rollup-pluginutils": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.3.3.tgz", + "integrity": "sha512-2XZwja7b6P5q4RZ5FhyX1+f46xi1Z3qBKigLRZ6VTZjwbN0K1IFGMlwm06Uu0Emcre2Z63l77nq/pzn+KxIEoA==", + "dev": true, + "requires": { + "estree-walker": "0.5.2", + "micromatch": "2.3.11" + } + } + } + }, + "rollup-plugin-node-resolve": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-3.4.0.tgz", + "integrity": "sha512-PJcd85dxfSBWih84ozRtBkB731OjXk0KnzN0oGp7WOWcarAFkVa71cV5hTJg2qpVsV2U8EUwrzHP3tvy9vS3qg==", + "dev": true, + "requires": { + "builtin-modules": "2.0.0", + "is-module": "1.0.0", + "resolve": "1.8.1" + }, + "dependencies": { + "builtin-modules": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-2.0.0.tgz", + "integrity": "sha512-3U5kUA5VPsRUA3nofm/BXX7GVHKfxz0hOBAPxXrIvHzlDRkQVqEn6yi8QJegxl4LzOHLdvb7XF5dVawa/VVYBg==", + "dev": true + } + } + }, + "rollup-plugin-uglify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/rollup-plugin-uglify/-/rollup-plugin-uglify-2.0.1.tgz", + "integrity": "sha1-Z7N60e/a+9g69MNrQMGJ7khmyWk=", + "dev": true, + "requires": { + "uglify-js": "3.4.9" + } + }, + "rollup-pluginutils": { + "version": "1.5.2", + "resolved": "http://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-1.5.2.tgz", + "integrity": "sha1-HhVud4+UtyVb+hs9AXi+j1xVJAg=", + "dev": true, + "requires": { + "estree-walker": "0.2.1", + "minimatch": "3.0.4" + } + }, + "rst-selector-parser": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/rst-selector-parser/-/rst-selector-parser-2.2.3.tgz", + "integrity": "sha1-gbIw6i/MYGbInjRy3nlChdmwPZE=", + "dev": true, + "requires": { + "lodash.flattendeep": "4.4.0", + "nearley": "2.15.1" + } + }, + "run-async": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", + "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", + "dev": true, + "requires": { + "is-promise": "2.1.0" + } + }, + "rx-lite": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", + "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=", + "dev": true + }, + "rx-lite-aggregates": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz", + "integrity": "sha1-dTuHqJoRyVRnxKwWJsTvxOBcZ74=", + "dev": true, + "requires": { + "rx-lite": "4.0.8" + } + }, + "rxjs": { + "version": "5.5.12", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.12.tgz", + "integrity": "sha512-xx2itnL5sBbqeeiVgNPVuQQ1nC8Jp2WfNJhXWHmElW9YmrpS9UVnNzhP3EH3HFqexO5Tlp8GhYY+WEcqcVMvGw==", + "dev": true, + "requires": { + "symbol-observable": "1.0.1" + }, + "dependencies": { + "symbol-observable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz", + "integrity": "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=", + "dev": true + } + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "dev": true, + "requires": { + "ret": "0.1.15" + } + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "samsam": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/samsam/-/samsam-1.3.0.tgz", + "integrity": "sha512-1HwIYD/8UlOtFS3QO3w7ey+SdSDFE4HRNLZoZRYVQefrOY3l17epswImeB1ijgJFQJodIaHcwkp3r/myBjFVbg==", + "dev": true + }, + "sass-graph": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz", + "integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=", + "dev": true, + "requires": { + "glob": "7.1.3", + "lodash": "4.17.11", + "scss-tokenizer": "0.2.3", + "yargs": "7.1.0" + } + }, + "sass-lint": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/sass-lint/-/sass-lint-1.12.1.tgz", + "integrity": "sha1-Yw9pwhaqIGuCMvsqqQe98zNrbYM=", + "dev": true, + "requires": { + "commander": "2.17.1", + "eslint": "2.13.1", + "front-matter": "2.1.2", + "fs-extra": "3.0.1", + "glob": "7.1.3", + "globule": "1.2.1", + "gonzales-pe-sl": "4.2.3", + "js-yaml": "3.7.0", + "known-css-properties": "0.3.0", + "lodash.capitalize": "4.2.1", + "lodash.kebabcase": "4.1.1", + "merge": "1.2.0", + "path-is-absolute": "1.0.1", + "util": "0.10.4" + }, + "dependencies": { + "ajv": { + "version": "4.11.8", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz", + "integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=", + "dev": true, + "requires": { + "co": "4.6.0", + "json-stable-stringify": "1.0.1" + } + }, + "ajv-keywords": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-1.5.1.tgz", + "integrity": "sha1-MU3QpLM2j609/NxU7eYXG4htrzw=", + "dev": true + }, + "ansi-escapes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", + "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=", + "dev": true + }, + "cli-cursor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", + "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", + "dev": true, + "requires": { + "restore-cursor": "1.0.1" + } + }, + "doctrine": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", + "dev": true, + "requires": { + "esutils": "2.0.2", + "isarray": "1.0.0" + } + }, + "eslint": { + "version": "2.13.1", + "resolved": "http://registry.npmjs.org/eslint/-/eslint-2.13.1.tgz", + "integrity": "sha1-5MyPoPAJ+4KaquI4VaKTYL4fbBE=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "concat-stream": "1.6.2", + "debug": "2.6.9", + "doctrine": "1.5.0", + "es6-map": "0.1.5", + "escope": "3.6.0", + "espree": "3.5.4", + "estraverse": "4.2.0", + "esutils": "2.0.2", + "file-entry-cache": "1.3.1", + "glob": "7.1.3", + "globals": "9.18.0", + "ignore": "3.3.10", + "imurmurhash": "0.1.4", + "inquirer": "0.12.0", + "is-my-json-valid": "2.19.0", + "is-resolvable": "1.1.0", + "js-yaml": "3.7.0", + "json-stable-stringify": "1.0.1", + "levn": "0.3.0", + "lodash": "4.17.11", + "mkdirp": "0.5.1", + "optionator": "0.8.2", + "path-is-absolute": "1.0.1", + "path-is-inside": "1.0.2", + "pluralize": "1.2.1", + "progress": "1.1.8", + "require-uncached": "1.0.3", + "shelljs": "0.6.1", + "strip-json-comments": "1.0.4", + "table": "3.8.3", + "text-table": "0.2.0", + "user-home": "2.0.0" + } + }, + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5", + "object-assign": "4.1.1" + } + }, + "file-entry-cache": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-1.3.1.tgz", + "integrity": "sha1-RMYepgeuS+nBQC9B9EJwy/4zT/g=", + "dev": true, + "requires": { + "flat-cache": "1.3.0", + "object-assign": "4.1.1" + } + }, + "inquirer": { + "version": "0.12.0", + "resolved": "http://registry.npmjs.org/inquirer/-/inquirer-0.12.0.tgz", + "integrity": "sha1-HvK/1jUE3wvHV4X/+MLEHfEvB34=", + "dev": true, + "requires": { + "ansi-escapes": "1.4.0", + "ansi-regex": "2.1.1", + "chalk": "1.1.3", + "cli-cursor": "1.0.2", + "cli-width": "2.2.0", + "figures": "1.7.0", + "lodash": "4.17.11", + "readline2": "1.0.1", + "run-async": "0.1.0", + "rx-lite": "3.1.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "through": "2.3.8" + } + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "onetime": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", + "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", + "dev": true + }, + "pluralize": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-1.2.1.tgz", + "integrity": "sha1-0aIUg/0iu0HlihL6NCGCMUCJfEU=", + "dev": true + }, + "progress": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/progress/-/progress-1.1.8.tgz", + "integrity": "sha1-4mDHj2Fhzdmw5WzD4Khd4Xx6V74=", + "dev": true + }, + "restore-cursor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", + "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", + "dev": true, + "requires": { + "exit-hook": "1.1.1", + "onetime": "1.1.0" + } + }, + "run-async": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-0.1.0.tgz", + "integrity": "sha1-yK1KXhEGYeQCp9IbUw4AnyX444k=", + "dev": true, + "requires": { + "once": "1.4.0" + } + }, + "rx-lite": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-3.1.2.tgz", + "integrity": "sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI=", + "dev": true + }, + "slice-ansi": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", + "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=", + "dev": true + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "strip-json-comments": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.4.tgz", + "integrity": "sha1-HhX7ysl9Pumb8tc7TGVrCCu6+5E=", + "dev": true + }, + "table": { + "version": "3.8.3", + "resolved": "http://registry.npmjs.org/table/-/table-3.8.3.tgz", + "integrity": "sha1-K7xULw/amGGnVdOUf+/Ys/UThV8=", + "dev": true, + "requires": { + "ajv": "4.11.8", + "ajv-keywords": "1.5.1", + "chalk": "1.1.3", + "lodash": "4.17.11", + "slice-ansi": "0.0.4", + "string-width": "2.1.1" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "3.0.0" + } + } + } + } + } + }, + "sass-loader": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-4.1.1.tgz", + "integrity": "sha1-ee+UaM8L9kbClSnh8sumvW5Rx7w=", + "dev": true, + "requires": { + "async": "2.6.1", + "loader-utils": "0.2.17", + "object-assign": "4.1.1" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + } + } + }, + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "dev": true + }, + "schedule": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/schedule/-/schedule-0.5.0.tgz", + "integrity": "sha512-HUcJicG5Ou8xfR//c2rPT0lPIRR09vVvN81T9fqfVgBmhERUbDEQoYKjpBxbueJnCPpSu2ujXzOnRQt6x9o/jw==", + "dev": true, + "requires": { + "object-assign": "4.1.1" + } + }, + "schema-utils": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.3.0.tgz", + "integrity": "sha1-9YdyIs4+kx7a4DnxfrNxbnE3+M8=", + "dev": true, + "requires": { + "ajv": "5.5.2" + } + }, + "scss-tokenizer": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz", + "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=", + "dev": true, + "requires": { + "js-base64": "2.4.3", + "source-map": "0.4.4" + }, + "dependencies": { + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": "1.0.1" + } + } + } + }, + "semver": { + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz", + "integrity": "sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw==", + "dev": true + }, + "send": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz", + "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==", + "dev": true, + "requires": { + "debug": "2.6.9", + "depd": "1.1.2", + "destroy": "1.0.4", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "etag": "1.8.1", + "fresh": "0.5.2", + "http-errors": "1.6.3", + "mime": "1.4.1", + "ms": "2.0.0", + "on-finished": "2.3.0", + "range-parser": "1.2.0", + "statuses": "1.4.0" + }, + "dependencies": { + "mime": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", + "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==", + "dev": true + } + } + }, + "serve-index": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", + "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=", + "dev": true, + "requires": { + "accepts": "1.3.5", + "batch": "0.6.1", + "debug": "2.6.9", + "escape-html": "1.0.3", + "http-errors": "1.6.3", + "mime-types": "2.1.20", + "parseurl": "1.3.2" + }, + "dependencies": { + "mime-types": { + "version": "2.1.20", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz", + "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==", + "dev": true, + "requires": { + "mime-db": "1.36.0" + } + } + } + }, + "serve-static": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz", + "integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==", + "dev": true, + "requires": { + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "parseurl": "1.3.2", + "send": "0.16.2" + } + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, + "set-value": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", + "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==", + "dev": true, + "requires": { + "extend-shallow": "2.0.1", + "is-extendable": "0.1.1", + "is-plain-object": "2.0.4", + "split-string": "3.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" + }, + "setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + }, + "sha.js": { + "version": "2.2.6", + "resolved": "http://registry.npmjs.org/sha.js/-/sha.js-2.2.6.tgz", + "integrity": "sha1-F93t3F9yL7ZlAWWIlUYZd4ZzFbo=", + "dev": true + }, + "shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "dev": true, + "requires": { + "shebang-regex": "1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "dev": true + }, + "shell-quote": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.6.1.tgz", + "integrity": "sha1-9HgZSczkAmlxJ0MOo7PFR29IF2c=", + "dev": true, + "requires": { + "array-filter": "0.0.1", + "array-map": "0.0.0", + "array-reduce": "0.0.0", + "jsonify": "0.0.0" + } + }, + "shelljs": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.6.1.tgz", + "integrity": "sha1-7GIRvtGSBEIIj+D3Cyg3Iy7SyKg=", + "dev": true + }, + "signal-exit": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "dev": true + }, + "sinon": { + "version": "4.5.0", + "resolved": "http://registry.npmjs.org/sinon/-/sinon-4.5.0.tgz", + "integrity": "sha512-trdx+mB0VBBgoYucy6a9L7/jfQOmvGeaKZT4OOJ+lPAtI8623xyGr8wLiE4eojzBS8G9yXbhx42GHUOVLr4X2w==", + "dev": true, + "requires": { + "@sinonjs/formatio": "2.0.0", + "diff": "3.3.1", + "lodash.get": "4.4.2", + "lolex": "2.7.5", + "nise": "1.4.5", + "supports-color": "5.5.0", + "type-detect": "4.0.8" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true + } + } + }, + "slash": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", + "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", + "dev": true + }, + "slice-ansi": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz", + "integrity": "sha512-POqxBK6Lb3q6s047D/XsDVNPnF9Dl8JSaqe9h9lURl0OdNqy/ujDrOiIHtsqXMGbWWTIomRzAMaTyawAU//Reg==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "2.0.0" + } + }, + "snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dev": true, + "requires": { + "base": "0.11.2", + "debug": "2.6.9", + "define-property": "0.2.5", + "extend-shallow": "2.0.1", + "map-cache": "0.2.2", + "source-map": "0.5.7", + "source-map-resolve": "0.5.2", + "use": "3.1.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dev": true, + "requires": { + "define-property": "1.0.0", + "isobject": "3.0.1", + "snapdragon-util": "3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "1.0.2" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, + "sntp": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/sntp/-/sntp-0.2.4.tgz", + "integrity": "sha1-+4hfGLDzqtGJ+CSGJTa87ux1CQA=", + "dev": true, + "optional": true, + "requires": { + "hoek": "0.9.1" + } + }, + "socket.io": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-1.7.3.tgz", + "integrity": "sha1-uK+cq6AJSeVo42nxMn6pvp6iRhs=", + "dev": true, + "requires": { + "debug": "2.3.3", + "engine.io": "1.8.3", + "has-binary": "0.1.7", + "object-assign": "4.1.0", + "socket.io-adapter": "0.5.0", + "socket.io-client": "1.7.3", + "socket.io-parser": "2.3.1" + }, + "dependencies": { + "debug": { + "version": "2.3.3", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.3.3.tgz", + "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=", + "dev": true, + "requires": { + "ms": "0.7.2" + } + }, + "ms": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", + "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "dev": true + }, + "object-assign": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.0.tgz", + "integrity": "sha1-ejs9DpgGPUP0wD8uiubNUahog6A=", + "dev": true + } + } + }, + "socket.io-adapter": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-0.5.0.tgz", + "integrity": "sha1-y21LuL7IHhB4uZZ3+c7QBGBmu4s=", + "dev": true, + "requires": { + "debug": "2.3.3", + "socket.io-parser": "2.3.1" + }, + "dependencies": { + "debug": { + "version": "2.3.3", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.3.3.tgz", + "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=", + "dev": true, + "requires": { + "ms": "0.7.2" + } + }, + "ms": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", + "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "dev": true + } + } + }, + "socket.io-client": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-1.7.3.tgz", + "integrity": "sha1-sw6GqhDV7zVGYBwJzeR2Xjgdo3c=", + "dev": true, + "requires": { + "backo2": "1.0.2", + "component-bind": "1.0.0", + "component-emitter": "1.2.1", + "debug": "2.3.3", + "engine.io-client": "1.8.3", + "has-binary": "0.1.7", + "indexof": "0.0.1", + "object-component": "0.0.3", + "parseuri": "0.0.5", + "socket.io-parser": "2.3.1", + "to-array": "0.1.4" + }, + "dependencies": { + "debug": { + "version": "2.3.3", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.3.3.tgz", + "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=", + "dev": true, + "requires": { + "ms": "0.7.2" + } + }, + "ms": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", + "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "dev": true + } + } + }, + "socket.io-parser": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-2.3.1.tgz", + "integrity": "sha1-3VMgJRA85Clpcya+/WQAX8/ltKA=", + "dev": true, + "requires": { + "component-emitter": "1.1.2", + "debug": "2.2.0", + "isarray": "0.0.1", + "json3": "3.3.2" + }, + "dependencies": { + "component-emitter": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.1.2.tgz", + "integrity": "sha1-KWWU8nU9qmOZbSrwjRWpURbJrsM=", + "dev": true + }, + "debug": { + "version": "2.2.0", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.2.0.tgz", + "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=", + "dev": true, + "requires": { + "ms": "0.7.1" + } + }, + "ms": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz", + "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=", + "dev": true + } + } + }, + "sockjs": { + "version": "0.3.19", + "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.19.tgz", + "integrity": "sha512-V48klKZl8T6MzatbLlzzRNhMepEys9Y4oGFpypBFFn1gLI/QQ9HtLLyWJNbPlwGLelOVOEijUbTTJeLLI59jLw==", + "dev": true, + "requires": { + "faye-websocket": "0.10.0", + "uuid": "3.3.2" + }, + "dependencies": { + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + "dev": true + } + } + }, + "sockjs-client": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.1.5.tgz", + "integrity": "sha1-G7fA9yIsQPQq3xT0RCy9Eml3GoM=", + "dev": true, + "requires": { + "debug": "2.6.9", + "eventsource": "0.1.6", + "faye-websocket": "0.11.1", + "inherits": "2.0.3", + "json3": "3.3.2", + "url-parse": "1.4.3" + }, + "dependencies": { + "faye-websocket": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.1.tgz", + "integrity": "sha1-8O/hjE9W5PQK/H4Gxxn9XuYYjzg=", + "dev": true, + "requires": { + "websocket-driver": "0.7.0" + } + } + } + }, + "sort-keys": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz", + "integrity": "sha1-RBttTTRnmPG05J6JIK37oOVD+a0=", + "dev": true, + "requires": { + "is-plain-obj": "1.1.0" + } + }, + "source-list-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.0.tgz", + "integrity": "sha512-I2UmuJSRr/T8jisiROLU3A3ltr+swpniSmNPI4Ml3ZCX6tVnDsuZzK7F2hl5jTqbZBWCEKlj5HRQiPExXLgE8A==", + "dev": true + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + }, + "source-map-resolve": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", + "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", + "dev": true, + "requires": { + "atob": "2.1.2", + "decode-uri-component": "0.2.0", + "resolve-url": "0.2.1", + "source-map-url": "0.4.0", + "urix": "0.1.0" + } + }, + "source-map-support": { + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", + "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", + "dev": true, + "requires": { + "source-map": "0.5.7" + } + }, + "source-map-url": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", + "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", + "dev": true + }, + "spdx-correct": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.2.tgz", + "integrity": "sha512-q9hedtzyXHr5S0A1vEPoK/7l8NpfkFYTq6iCY+Pno2ZbdZR6WexZFtqeVGkGxW3TEJMN914Z55EnAGMmenlIQQ==", + "dev": true, + "requires": { + "spdx-expression-parse": "3.0.0", + "spdx-license-ids": "3.0.1" + } + }, + "spdx-exceptions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", + "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", + "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", + "dev": true, + "requires": { + "spdx-exceptions": "2.2.0", + "spdx-license-ids": "3.0.1" + } + }, + "spdx-license-ids": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.1.tgz", + "integrity": "sha512-TfOfPcYGBB5sDuPn3deByxPhmfegAhpDYKSOXZQN81Oyrrif8ZCodOLzK3AesELnCx03kikhyDwh0pfvvQvF8w==", + "dev": true + }, + "split": { + "version": "0.2.10", + "resolved": "http://registry.npmjs.org/split/-/split-0.2.10.tgz", + "integrity": "sha1-Zwl8YB1pfOE2j0GPBs0gHPBSGlc=", + "dev": true, + "requires": { + "through": "2.3.8" + } + }, + "split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dev": true, + "requires": { + "extend-shallow": "3.0.2" + } + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true + }, + "sshpk": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.15.1.tgz", + "integrity": "sha512-mSdgNUaidk+dRU5MhYtN9zebdzF2iG0cNPWy8HG+W8y+fT1JnSkh0fzzpjOa0L7P8i1Rscz38t0h4gPcKz43xA==", + "dev": true, + "requires": { + "asn1": "0.2.4", + "assert-plus": "1.0.0", + "bcrypt-pbkdf": "1.0.2", + "dashdash": "1.14.1", + "ecc-jsbn": "0.1.2", + "getpass": "0.1.7", + "jsbn": "0.1.1", + "safer-buffer": "2.1.2", + "tweetnacl": "0.14.5" + }, + "dependencies": { + "asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "dev": true, + "requires": { + "safer-buffer": "2.1.2" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + } + } + }, + "staged-git-files": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/staged-git-files/-/staged-git-files-1.0.0.tgz", + "integrity": "sha1-zbhHg3wfzFLAioctSIPMCHdmioA=", + "dev": true + }, + "static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", + "dev": true, + "requires": { + "define-property": "0.2.5", + "object-copy": "0.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + } + } + }, + "statuses": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz", + "integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==", + "dev": true + }, + "stdout-stream": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz", + "integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==", + "dev": true, + "requires": { + "readable-stream": "2.3.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "stream-browserify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz", + "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", + "dev": true, + "requires": { + "inherits": "2.0.3", + "readable-stream": "2.3.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "stream-cache": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/stream-cache/-/stream-cache-0.0.2.tgz", + "integrity": "sha1-GsWtaDJCjKVWZ9ve45Xa1ObbEY8=", + "dev": true + }, + "stream-combiner": { + "version": "0.0.4", + "resolved": "http://registry.npmjs.org/stream-combiner/-/stream-combiner-0.0.4.tgz", + "integrity": "sha1-TV5DPBhSYd3mI8o/RMWGvPXErRQ=", + "dev": true, + "requires": { + "duplexer": "0.1.1" + } + }, + "stream-http": { + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", + "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", + "dev": true, + "requires": { + "builtin-status-codes": "3.0.0", + "inherits": "2.0.3", + "readable-stream": "2.3.6", + "to-arraybuffer": "1.0.1", + "xtend": "4.0.1" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "stream-to-observable": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/stream-to-observable/-/stream-to-observable-0.2.0.tgz", + "integrity": "sha1-WdbqOT2HwsDdrBCqDVYbxrpvDhA=", + "dev": true, + "requires": { + "any-observable": "0.2.0" + } + }, + "strict-uri-encode": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", + "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "3.0.0" + } + } + } + }, + "string.prototype.padend": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.0.0.tgz", + "integrity": "sha1-86rvfBcZ8XDF6rHDK/eA2W4h8vA=", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0", + "function-bind": "1.1.1" + } + }, + "string.prototype.trim": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz", + "integrity": "sha1-0E3iyJ4Tf019IG8Ia17S+ua+jOo=", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0", + "function-bind": "1.1.1" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + }, + "stringify-object": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.2.2.tgz", + "integrity": "sha512-O696NF21oLiDy8PhpWu8AEqoZHw++QW6mUv0UvKZe8gWSdSvMXkiLufK7OmnP27Dro4GU5kb9U7JIO0mBuCRQg==", + "dev": true, + "requires": { + "get-own-enumerable-property-symbols": "2.0.1", + "is-obj": "1.0.1", + "is-regexp": "1.0.0" + } + }, + "stringstream": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.6.tgz", + "integrity": "sha512-87GEBAkegbBcweToUrdzf3eLhWNg06FJTebl4BVJz/JgWy8CvEr9dRtX5qWphiynMSQlxxi+QqN0z5T32SLlhA==", + "dev": true, + "optional": true + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "2.1.1" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + }, + "strip-eof": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", + "dev": true + }, + "strip-indent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz", + "integrity": "sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=", + "dev": true + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "dev": true + }, + "style-loader": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.19.1.tgz", + "integrity": "sha512-IRE+ijgojrygQi3rsqT0U4dd+UcPCqcVvauZpCnQrGAlEe+FUIyrK93bUDScamesjP08JlQNsFJU+KmPedP5Og==", + "dev": true, + "requires": { + "loader-utils": "1.1.0", + "schema-utils": "0.3.0" + }, + "dependencies": { + "loader-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", + "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", + "dev": true, + "requires": { + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1" + } + } + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + }, + "svgo": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/svgo/-/svgo-0.7.2.tgz", + "integrity": "sha1-n1dyQTlSE1xv779Ar+ak+qiLS7U=", + "dev": true, + "requires": { + "coa": "1.0.4", + "colors": "1.1.2", + "csso": "2.3.2", + "js-yaml": "3.7.0", + "mkdirp": "0.5.1", + "sax": "1.2.4", + "whet.extend": "0.9.9" + } + }, + "symbol-observable": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-0.2.4.tgz", + "integrity": "sha1-lag9smGG1q9+ehjb2XYKL4bQj0A=", + "dev": true + }, + "table": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/table/-/table-4.0.2.tgz", + "integrity": "sha512-UUkEAPdSGxtRpiV9ozJ5cMTtYiqz7Ni1OGqLXRCynrvzdtR1p+cfOWe2RJLwvUG8hNanaSRjecIqwOjqeatDsA==", + "dev": true, + "requires": { + "ajv": "5.5.2", + "ajv-keywords": "2.1.1", + "chalk": "2.4.1", + "lodash": "4.17.11", + "slice-ansi": "1.0.0", + "string-width": "2.1.1" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "tapable": { + "version": "0.1.10", + "resolved": "http://registry.npmjs.org/tapable/-/tapable-0.1.10.tgz", + "integrity": "sha1-KcNXB8K3DlDQdIK10gLo7URtr9Q=", + "dev": true + }, + "tape": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/tape/-/tape-2.3.0.tgz", + "integrity": "sha1-Df7scJIn+8yRcKvn8EaWKycUMds=", + "dev": true, + "requires": { + "deep-equal": "0.1.2", + "defined": "0.0.0", + "inherits": "2.0.3", + "jsonify": "0.0.0", + "resumer": "0.0.0", + "split": "0.2.10", + "stream-combiner": "0.0.4", + "through": "2.3.8" + } + }, + "tar": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz", + "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=", + "dev": true, + "requires": { + "block-stream": "0.0.9", + "fstream": "1.0.11", + "inherits": "2.0.3" + } + }, + "text-encoding": { + "version": "0.6.4", + "resolved": "http://registry.npmjs.org/text-encoding/-/text-encoding-0.6.4.tgz", + "integrity": "sha1-45mpgiV6J22uQou5KEXLcb3CbRk=", + "dev": true + }, + "text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "dev": true + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true + }, + "time-stamp": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-2.1.0.tgz", + "integrity": "sha512-lJbq6KsFhZJtN3fPUVje1tq/hHsJOKUUcUj/MGCiQR6qWBDcyi5kxL9J7/RnaEChCn0+L/DUN2WvemDrkk4i3Q==", + "dev": true + }, + "timers-browserify": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.10.tgz", + "integrity": "sha512-YvC1SV1XdOUaL6gx5CoGroT3Gu49pK9+TZ38ErPldOWW4j49GI1HKs9DV+KGq/w6y+LZ72W1c8cKz2vzY+qpzg==", + "dev": true, + "requires": { + "setimmediate": "1.0.5" + } + }, + "tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "requires": { + "os-tmpdir": "1.0.2" + } + }, + "to-array": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/to-array/-/to-array-0.1.4.tgz", + "integrity": "sha1-F+bBH3PdTz10zaek/zI46a2b+JA=", + "dev": true + }, + "to-arraybuffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", + "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", + "dev": true + }, + "to-fast-properties": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", + "dev": true + }, + "to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, + "to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dev": true, + "requires": { + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "regex-not": "1.0.2", + "safe-regex": "1.1.0" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "requires": { + "is-number": "3.0.0", + "repeat-string": "1.6.1" + }, + "dependencies": { + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + } + } + }, + "tough-cookie": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", + "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", + "dev": true, + "requires": { + "psl": "1.1.29", + "punycode": "1.4.1" + } + }, + "trim-newlines": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", + "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", + "dev": true + }, + "trim-right": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", + "dev": true + }, + "true-case-path": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz", + "integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==", + "dev": true, + "requires": { + "glob": "7.1.3" + } + }, + "tty-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", + "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=", + "dev": true + }, + "tunnel-agent": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", + "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=", + "dev": true + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true + }, + "type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "dev": true, + "requires": { + "prelude-ls": "1.1.2" + } + }, + "type-detect": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-1.0.0.tgz", + "integrity": "sha1-diIXzAbbJY7EiQihKY6LlRIejqI=", + "dev": true + }, + "type-is": { + "version": "1.6.16", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz", + "integrity": "sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q==", + "dev": true, + "requires": { + "media-typer": "0.3.0", + "mime-types": "2.1.20" + }, + "dependencies": { + "mime-types": { + "version": "2.1.20", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz", + "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==", + "dev": true, + "requires": { + "mime-db": "1.36.0" + } + } + } + }, + "typed-styles": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/typed-styles/-/typed-styles-0.0.5.tgz", + "integrity": "sha512-ht+rEe5UsdEBAa3gr64+QjUOqjOLJfWLvl5HZR5Ev9uo/OnD3p43wPeFSB1hNFc13GXQF/JU1Bn0YHLUqBRIlw==" + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", + "dev": true + }, + "ua-parser-js": { + "version": "0.7.18", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.18.tgz", + "integrity": "sha512-LtzwHlVHwFGTptfNSgezHp7WUlwiqb0gA9AALRbKaERfxwJoiX0A73QbTToxteIAuIaFshhgIZfqK8s7clqgnA==" + }, + "uglify-js": { + "version": "3.4.9", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.9.tgz", + "integrity": "sha512-8CJsbKOtEbnJsTyv6LE6m6ZKniqMiFWmm9sRbopbkGs3gMPPfd3Fh8iIA4Ykv5MgaTbqHr4BaoGLJLZNhsrW1Q==", + "dev": true, + "requires": { + "commander": "2.17.1", + "source-map": "0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "uglify-to-browserify": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", + "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", + "dev": true + }, + "ultron": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.0.2.tgz", + "integrity": "sha1-rOEWq1V80Zc4ak6I9GhTeMiy5Po=", + "dev": true + }, + "underscore": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz", + "integrity": "sha1-YaajIBBiKvoHljvzJSA88SI51gQ=", + "dev": true + }, + "union-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", + "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=", + "dev": true, + "requires": { + "arr-union": "3.1.0", + "get-value": "2.0.6", + "is-extendable": "0.1.1", + "set-value": "0.4.3" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + }, + "set-value": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz", + "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=", + "dev": true, + "requires": { + "extend-shallow": "2.0.1", + "is-extendable": "0.1.1", + "is-plain-object": "2.0.4", + "to-object-path": "0.3.0" + } + } + } + }, + "uniq": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", + "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=", + "dev": true + }, + "uniqid": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/uniqid/-/uniqid-4.1.1.tgz", + "integrity": "sha1-iSIN32t1GuUrX3JISGNShZa7hME=", + "dev": true, + "requires": { + "macaddress": "0.2.9" + } + }, + "uniqs": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz", + "integrity": "sha1-/+3ks2slKQaW5uFl1KWe25mOawI=", + "dev": true + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "dev": true + }, + "unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", + "dev": true, + "requires": { + "has-value": "0.3.1", + "isobject": "3.0.1" + }, + "dependencies": { + "has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", + "dev": true, + "requires": { + "get-value": "2.0.6", + "has-values": "0.1.4", + "isobject": "2.1.0" + }, + "dependencies": { + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "requires": { + "isarray": "1.0.0" + } + } + } + }, + "has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", + "dev": true + }, + "url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "dev": true, + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + }, + "dependencies": { + "punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", + "dev": true + } + } + }, + "url-parse": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.4.3.tgz", + "integrity": "sha512-rh+KuAW36YKo0vClhQzLLveoj8FwPJNu65xLb7Mrt+eZht0IPT0IXgSv8gcMegZ6NvjJUALf6Mf25POlMwD1Fw==", + "dev": true, + "requires": { + "querystringify": "2.0.0", + "requires-port": "1.0.0" + } + }, + "urlgrey": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/urlgrey/-/urlgrey-0.4.0.tgz", + "integrity": "sha1-8GU1cED7NcOzEdTl3DZITZbb6gY=", + "dev": true, + "requires": { + "tape": "2.3.0" + } + }, + "use": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "dev": true + }, + "user-home": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/user-home/-/user-home-2.0.0.tgz", + "integrity": "sha1-nHC/2Babwdy/SGBODwS4tJzenp8=", + "dev": true, + "requires": { + "os-homedir": "1.0.2" + } + }, + "useragent": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/useragent/-/useragent-2.3.0.tgz", + "integrity": "sha512-4AoH4pxuSvHCjqLO04sU6U/uE65BYza8l/KKBS0b0hnUPWi+cQ2BpeTEwejCSx9SPV5/U03nniDTrWx5NrmKdw==", + "dev": true, + "requires": { + "lru-cache": "4.1.3", + "tmp": "0.0.33" + } + }, + "util": { + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", + "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", + "dev": true, + "requires": { + "inherits": "2.0.3" + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true + }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", + "dev": true + }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "requires": { + "spdx-correct": "3.0.2", + "spdx-expression-parse": "3.0.0" + } + }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", + "dev": true + }, + "vendors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.2.tgz", + "integrity": "sha512-w/hry/368nO21AN9QljsaIhb9ZiZtZARoVH5f3CsFbawdLdayCgKRPup7CggujvySMxx0I91NOyxdVENohprLQ==", + "dev": true + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "1.3.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + } + } + }, + "vlq": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/vlq/-/vlq-0.2.3.tgz", + "integrity": "sha512-DRibZL6DsNhIgYQ+wNdWDL2SL3bKPlVrRiBqV5yuMm++op8W4kGFtaQfCs4KEJn0wBZcHVHJ3eoywX8983k1ow==", + "dev": true + }, + "vm-browserify": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-0.0.4.tgz", + "integrity": "sha1-XX6kW7755Kb/ZflUOOCofDV9WnM=", + "dev": true, + "requires": { + "indexof": "0.0.1" + } + }, + "void-elements": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", + "integrity": "sha1-wGavtYK7HLQSjWDqkjkulNXp2+w=", + "dev": true + }, + "warning": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/warning/-/warning-3.0.0.tgz", + "integrity": "sha1-MuU3fLVy3kqwR1O9+IIcAe1gW3w=", + "requires": { + "loose-envify": "1.4.0" + } + }, + "watchpack": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-0.2.9.tgz", + "integrity": "sha1-Yuqkq15bo1/fwBgnVibjwPXj+ws=", + "dev": true, + "requires": { + "async": "0.9.2", + "chokidar": "1.7.0", + "graceful-fs": "4.1.11" + } + }, + "webpack": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-1.15.0.tgz", + "integrity": "sha1-T/MfU9sDM55VFkqdRo7gMklo/pg=", + "dev": true, + "requires": { + "acorn": "3.3.0", + "async": "1.5.2", + "clone": "1.0.4", + "enhanced-resolve": "0.9.1", + "interpret": "0.6.6", + "loader-utils": "0.2.17", + "memory-fs": "0.3.0", + "mkdirp": "0.5.1", + "node-libs-browser": "0.7.0", + "optimist": "0.6.1", + "supports-color": "3.2.3", + "tapable": "0.1.10", + "uglify-js": "2.7.5", + "watchpack": "0.2.9", + "webpack-core": "0.6.9" + }, + "dependencies": { + "acorn": { + "version": "3.3.0", + "resolved": "http://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", + "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=", + "dev": true + }, + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + }, + "camelcase": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", + "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=", + "dev": true + }, + "cliui": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", + "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", + "dev": true, + "requires": { + "center-align": "0.1.3", + "right-align": "0.1.3", + "wordwrap": "0.0.2" + } + }, + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "memory-fs": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.3.0.tgz", + "integrity": "sha1-e8xrYp46Q+hx1+Kaymrop/FcuyA=", + "dev": true, + "requires": { + "errno": "0.1.7", + "readable-stream": "2.3.6" + } + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "1.0.0" + } + }, + "uglify-js": { + "version": "2.7.5", + "resolved": "http://registry.npmjs.org/uglify-js/-/uglify-js-2.7.5.tgz", + "integrity": "sha1-RhLAx7qu4rp8SH3kkErhIgefLKg=", + "dev": true, + "requires": { + "async": "0.2.10", + "source-map": "0.5.7", + "uglify-to-browserify": "1.0.2", + "yargs": "3.10.0" + }, + "dependencies": { + "async": { + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/async/-/async-0.2.10.tgz", + "integrity": "sha1-trvgsGdLnXGXCMo43owjfLUmw9E=", + "dev": true + } + } + }, + "wordwrap": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", + "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=", + "dev": true + }, + "yargs": { + "version": "3.10.0", + "resolved": "http://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", + "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", + "dev": true, + "requires": { + "camelcase": "1.2.1", + "cliui": "2.1.0", + "decamelize": "1.2.0", + "window-size": "0.1.0" + } + } + } + }, + "webpack-core": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/webpack-core/-/webpack-core-0.6.9.tgz", + "integrity": "sha1-/FcViMhVjad76e+23r3Fo7FyvcI=", + "dev": true, + "requires": { + "source-list-map": "0.1.8", + "source-map": "0.4.4" + }, + "dependencies": { + "source-list-map": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-0.1.8.tgz", + "integrity": "sha1-xVCyq1Qn9rPyH1r+rYjE9Vh7IQY=", + "dev": true + }, + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": "1.0.1" + } + } + } + }, + "webpack-dev-middleware": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-1.12.2.tgz", + "integrity": "sha512-FCrqPy1yy/sN6U/SaEZcHKRXGlqU0DUaEBL45jkUYoB8foVb6wCnbIJ1HKIx+qUFTW+3JpVcCJCxZ8VATL4e+A==", + "dev": true, + "requires": { + "memory-fs": "0.4.1", + "mime": "1.6.0", + "path-is-absolute": "1.0.1", + "range-parser": "1.2.0", + "time-stamp": "2.1.0" + }, + "dependencies": { + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true + } + } + }, + "webpack-dev-server": { + "version": "1.16.5", + "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-1.16.5.tgz", + "integrity": "sha1-DL1fLSrI1OWTqs1clwLnu9XlmJI=", + "dev": true, + "requires": { + "compression": "1.7.3", + "connect-history-api-fallback": "1.5.0", + "express": "4.16.4", + "http-proxy-middleware": "0.17.4", + "open": "0.0.5", + "optimist": "0.6.1", + "serve-index": "1.9.1", + "sockjs": "0.3.19", + "sockjs-client": "1.1.5", + "stream-cache": "0.0.2", + "strip-ansi": "3.0.1", + "supports-color": "3.2.3", + "webpack-dev-middleware": "1.12.2" + }, + "dependencies": { + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "1.0.0" + } + } + } + }, + "webpack-hot-middleware": { + "version": "2.24.3", + "resolved": "https://registry.npmjs.org/webpack-hot-middleware/-/webpack-hot-middleware-2.24.3.tgz", + "integrity": "sha512-pPlmcdoR2Fn6UhYjAhp1g/IJy1Yc9hD+T6O9mjRcWV2pFbBjIFoJXhP0CoD0xPOhWJuWXuZXGBga9ybbOdzXpg==", + "dev": true, + "requires": { + "ansi-html": "0.0.7", + "html-entities": "1.2.1", + "querystring": "0.2.0", + "strip-ansi": "3.0.1" + } + }, + "webpack-sources": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.5.tgz", + "integrity": "sha1-qh86vw8NdNtxEcQOUAuE+WZkB1A=", + "dev": true, + "requires": { + "source-list-map": "0.1.8", + "source-map": "0.5.7" + }, + "dependencies": { + "source-list-map": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-0.1.8.tgz", + "integrity": "sha1-xVCyq1Qn9rPyH1r+rYjE9Vh7IQY=", + "dev": true + } + } + }, + "websocket-driver": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.0.tgz", + "integrity": "sha1-DK+dLXVdk67gSdS90NP+LMoqJOs=", + "dev": true, + "requires": { + "http-parser-js": "0.4.13", + "websocket-extensions": "0.1.3" + } + }, + "websocket-extensions": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz", + "integrity": "sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg==", + "dev": true + }, + "whatwg-fetch": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz", + "integrity": "sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q==" + }, + "whet.extend": { + "version": "0.9.9", + "resolved": "https://registry.npmjs.org/whet.extend/-/whet.extend-0.9.9.tgz", + "integrity": "sha1-+HfVv2SMl+WqVC+twW1qJZucEaE=", + "dev": true + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "2.0.0" + } + }, + "which-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", + "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=", + "dev": true + }, + "wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "dev": true, + "requires": { + "string-width": "2.1.1" + } + }, + "window-size": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", + "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=", + "dev": true + }, + "wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", + "dev": true + }, + "wrap-ansi": { + "version": "2.1.0", + "resolved": "http://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", + "dev": true, + "requires": { + "string-width": "1.0.2", + "strip-ansi": "3.0.1" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + } + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "write": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/write/-/write-0.2.1.tgz", + "integrity": "sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c=", + "dev": true, + "requires": { + "mkdirp": "0.5.1" + } + }, + "ws": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-1.1.2.tgz", + "integrity": "sha1-iiRPoFJAHgjJiGz0SoUYnh/UBn8=", + "dev": true, + "requires": { + "options": "0.0.6", + "ultron": "1.0.2" + } + }, + "wtf-8": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wtf-8/-/wtf-8-1.0.0.tgz", + "integrity": "sha1-OS2LotDxw00e4tYw8V0O+2jhBIo=", + "dev": true + }, + "xmlhttprequest-ssl": { + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.3.tgz", + "integrity": "sha1-GFqIjATspGw+QHDZn3tJ3jUomS0=", + "dev": true + }, + "xtend": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", + "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=", + "dev": true + }, + "y18n": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", + "dev": true + }, + "yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", + "dev": true + }, + "yargs": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz", + "integrity": "sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg=", + "dev": true, + "requires": { + "camelcase": "3.0.0", + "cliui": "3.2.0", + "decamelize": "1.2.0", + "get-caller-file": "1.0.3", + "os-locale": "1.4.0", + "read-pkg-up": "1.0.1", + "require-directory": "2.1.1", + "require-main-filename": "1.0.1", + "set-blocking": "2.0.0", + "string-width": "1.0.2", + "which-module": "1.0.0", + "y18n": "3.2.1", + "yargs-parser": "5.0.0" + }, + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "load-json-file": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "strip-bom": "2.0.0" + } + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + } + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "requires": { + "load-json-file": "1.1.0", + "normalize-package-data": "2.4.0", + "path-type": "1.1.0" + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "dev": true, + "requires": { + "find-up": "1.1.2", + "read-pkg": "1.1.0" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "requires": { + "is-utf8": "0.2.1" + } + } + } + }, + "yargs-parser": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz", + "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=", + "dev": true, + "requires": { + "camelcase": "3.0.0" + }, + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true + } + } + }, + "yeast": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/yeast/-/yeast-0.1.2.tgz", + "integrity": "sha1-AI4G2AlDIMNy28L47XagymyKxBk=", + "dev": true + } + } +} diff --git a/package.json b/package.json index 5f456682d..61431498e 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,20 @@ "module": "es", "unpkg": "dist/react-datepicker.min.js", "style": "dist/react-datepicker.min.css", - "files": ["*.md", "dist", "lib", "es", "src/stylesheets"], - "keywords": ["react", "datepicker", "calendar", "date", "react-component"], + "files": [ + "*.md", + "dist", + "lib", + "es", + "src/stylesheets" + ], + "keywords": [ + "react", + "datepicker", + "calendar", + "date", + "react-component" + ], "repository": { "type": "git", "url": "git://github.com/Hacker0x01/react-datepicker.git" @@ -26,27 +38,27 @@ "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-react-transform": "^3.0.0", "babel-plugin-transform-class-properties": "^6.24.1", - "babel-plugin-transform-react-remove-prop-types": "^0.4.10", + "babel-plugin-transform-react-remove-prop-types": "^0.4.19", "babel-polyfill": "^6.26.0", "babel-preset-airbnb": "^2.4.0", - "babel-preset-env": "^1.6.1", + "babel-preset-env": "^1.7.0", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "chai": "^3.5.0", "codecov.io": "^0.1.6", "cross-env": "^5.1.1", "css-loader": "^0.28.7", - "enzyme": "^3.1.1", - "enzyme-adapter-react-16": "^1.0.4", + "enzyme": "^3.7.0", + "enzyme-adapter-react-16": "^1.6.0", "eslint": "^4.10.0", "eslint-plugin-import": "^2.8.0", "eslint-plugin-node": "^5.2.1", "eslint-plugin-promise": "^3.6.0", "eslint-plugin-react": "^7.4.0", - "express": "^4.16.2", + "express": "^4.16.4", "extract-text-webpack-plugin": "^1.0.1", "flow-bin": "^0.68.0", - "highlight.js": "^9.12.0", + "highlight.js": "^9.13.1", "husky": "^0.14.3", "isparta-loader": "^2.0.0", "karma": "^1.7.1", @@ -60,8 +72,7 @@ "lint-staged": "^6.0.0", "lodash": "^4.17.4", "mocha": "^4.0.1", - "moment": "^2.20.1", - "node-sass": "^4.6.0", + "node-sass": "^4.9.4", "npm-run-all": "^4.1.2", "prettier": "^1.9.2", "react": "^16.1.0", @@ -85,12 +96,12 @@ "webpack-hot-middleware": "^2.20.0" }, "peerDependencies": { - "moment": "^2.20.0", "react": "^16.0.0", "react-dom": "^16.0.0" }, "dependencies": { "classnames": "^2.2.5", + "date-fns": "^2.0.0-alpha.23", "prop-types": "^15.6.0", "react-onclickoutside": "^6.7.1", "react-popper": "^1.0.2" @@ -99,39 +110,30 @@ "eslint": "eslint {src,test,docs-site/src}/**/*.{js,jsx} *.js", "flow": "flow", "precommit": "lint-staged", - "sass-lint": - "sass-lint --config .sass-lint.yml 'src/stylesheets/*.scss, docs-site/src/*.scss' -i 'docs-site/src/higlight.scss, docs-site/src/reset.scss'", + "sass-lint": "sass-lint --config .sass-lint.yml 'src/stylesheets/*.scss, docs-site/src/*.scss' -i 'docs-site/src/higlight.scss, docs-site/src/reset.scss'", "lint": "run-p eslint flow sass-lint", "start": "cross-env MODULES=false node server.js", "test": "cross-env NODE_ENV=test karma start karma.conf.js --single-run", "prepublish": "test $(npm -v | tr . '\\n' | head -n 1) -ge '4' || exit 1", "prepare": "npm run build", - "codecov": - "cat coverage/*/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js", + "codecov": "cat coverage/*/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js", "prebuild": "rimraf es lib dist", "build": "cross-env NODE_ENV=production run-p build:** && run-p css:**", - "build-dev": - "cross-env NODE_ENV=development run-p build:** && run-p css:**", - "css:prod": - "node-sass --output-style compressed src/stylesheets/datepicker.scss > dist/react-datepicker.min.css", - "css:modules:prod": - "node-sass --output-style compressed src/stylesheets/datepicker-cssmodules.scss > dist/react-datepicker-cssmodules.min.css", - "css:dev": - "node-sass --output-style expanded src/stylesheets/datepicker.scss > dist/react-datepicker.css", - "css:modules:dev": - "node-sass --output-style expanded src/stylesheets/datepicker-cssmodules.scss > dist/react-datepicker-cssmodules.css", - "build:es": - "cross-env BABEL_ENV=es rollup -c -i src/index.jsx -o es/index.js", - "build:cjs": - "cross-env BABEL_ENV=cjs rollup -c -i src/index.jsx -o lib/index.js", - "build:umd:dev": - "cross-env BABEL_ENV=es rollup -c rollup.umd.config.js -i src/index.jsx -o dist/react-datepicker.js", - "build:umd:prod": - "cross-env BABEL_ENV=es rollup -c rollup.umd.config.js -i src/index.jsx -o dist/react-datepicker.min.js", - "build:docs": - "cross-env MODULES=false webpack --config webpack.docs.config.js" + "build-dev": "cross-env NODE_ENV=development run-p build:** && run-p css:**", + "css:prod": "node-sass --output-style compressed src/stylesheets/datepicker.scss > dist/react-datepicker.min.css", + "css:modules:prod": "node-sass --output-style compressed src/stylesheets/datepicker-cssmodules.scss > dist/react-datepicker-cssmodules.min.css", + "css:dev": "node-sass --output-style expanded src/stylesheets/datepicker.scss > dist/react-datepicker.css", + "css:modules:dev": "node-sass --output-style expanded src/stylesheets/datepicker-cssmodules.scss > dist/react-datepicker-cssmodules.css", + "build:es": "cross-env BABEL_ENV=es rollup -c -i src/index.jsx -o es/index.js", + "build:cjs": "cross-env BABEL_ENV=cjs rollup -c -i src/index.jsx -o lib/index.js", + "build:umd:dev": "cross-env BABEL_ENV=es rollup -c rollup.umd.config.js -i src/index.jsx -o dist/react-datepicker.js", + "build:umd:prod": "cross-env BABEL_ENV=es rollup -c rollup.umd.config.js -i src/index.jsx -o dist/react-datepicker.min.js", + "build:docs": "cross-env MODULES=false webpack --config webpack.docs.config.js" }, "lint-staged": { - "*.{js,jsx,json,css,scss,md}": ["prettier --write", "git add"] + "*.{js,jsx,json,css,scss,md}": [ + "prettier --write", + "git add" + ] } } diff --git a/src/calendar.jsx b/src/calendar.jsx index 863651f3a..22b592fd3 100644 --- a/src/calendar.jsx +++ b/src/calendar.jsx @@ -1,47 +1,44 @@ -import YearDropdown from "./year_dropdown"; -import MonthDropdown from "./month_dropdown"; -import MonthYearDropdown from "./month_year_dropdown"; -import Month from "./month"; -import Time from "./time"; -import React from "react"; -import PropTypes from "prop-types"; -import classnames from "classnames"; -import CalendarContainer from "./calendar_container"; +import YearDropdown from './year_dropdown'; +import MonthDropdown from './month_dropdown'; +import MonthYearDropdown from './month_year_dropdown'; +import Month from './month'; +import Time from './time'; +import React from 'react'; +import PropTypes from 'prop-types'; +import classnames from 'classnames'; +import CalendarContainer from './calendar_container'; import { - now, + newDate, setMonth, getMonth, addMonths, - subtractMonths, + subMonths, getStartOfWeek, - getStartOfDate, + getStartOfToday, addDays, - cloneDate, formatDate, - localizeDate, setYear, getYear, isBefore, isAfter, - getLocaleData, getFormattedWeekdayInLocale, getWeekdayShortInLocale, getWeekdayMinInLocale, isSameDay, - allDaysDisabledBefore, - allDaysDisabledAfter, + monthDisabledBefore, + monthDisabledAfter, getEffectiveMinDate, getEffectiveMaxDate -} from "./date_utils"; +} from './date_utils'; const DROPDOWN_FOCUS_CLASSNAMES = [ - "react-datepicker__year-select", - "react-datepicker__month-select", - "react-datepicker__month-year-select" + 'react-datepicker__year-select', + 'react-datepicker__month-select', + 'react-datepicker__month-year-select' ]; const isDropdownSelect = (element = {}) => { - const classNames = (element.className || "").split(/\s+/); + const classNames = (element.className || '').split(/\s+/); return DROPDOWN_FOCUS_CLASSNAMES.some( testClassname => classNames.indexOf(testClassname) >= 0 ); @@ -57,8 +54,8 @@ export default class Calendar extends React.Component { .isRequired, dayClassName: PropTypes.func, disabledKeyboardNavigation: PropTypes.bool, - dropdownMode: PropTypes.oneOf(["scroll", "select"]), - endDate: PropTypes.object, + dropdownMode: PropTypes.oneOf(['scroll', 'select']), + endDate: PropTypes.instanceOf(Date), excludeDates: PropTypes.array, filterDate: PropTypes.func, fixedHeight: PropTypes.bool, @@ -69,8 +66,8 @@ export default class Calendar extends React.Component { injectTimes: PropTypes.array, inline: PropTypes.bool, locale: PropTypes.string, - maxDate: PropTypes.object, - minDate: PropTypes.object, + maxDate: PropTypes.instanceOf(Date), + minDate: PropTypes.instanceOf(Date), monthsShown: PropTypes.number, onClickOutside: PropTypes.func.isRequired, onMonthChange: PropTypes.func, @@ -84,28 +81,27 @@ export default class Calendar extends React.Component { timeFormat: PropTypes.string, timeIntervals: PropTypes.number, onTimeChange: PropTypes.func, - minTime: PropTypes.object, - maxTime: PropTypes.object, + minTime: PropTypes.instanceOf(Date), + maxTime: PropTypes.instanceOf(Date), excludeTimes: PropTypes.array, timeCaption: PropTypes.string, - openToDate: PropTypes.object, + openToDate: PropTypes.instanceOf(Date), peekNextMonth: PropTypes.bool, scrollableYearDropdown: PropTypes.bool, scrollableMonthYearDropdown: PropTypes.bool, - preSelection: PropTypes.object, - selected: PropTypes.object, + preSelection: PropTypes.instanceOf(Date), + selected: PropTypes.instanceOf(Date), selectsEnd: PropTypes.bool, selectsStart: PropTypes.bool, showMonthDropdown: PropTypes.bool, showMonthYearDropdown: PropTypes.bool, showWeekNumbers: PropTypes.bool, showYearDropdown: PropTypes.bool, - startDate: PropTypes.object, - todayButton: PropTypes.node, + startDate: PropTypes.instanceOf(Date), + todayButton: PropTypes.string, useWeekdaysShort: PropTypes.bool, formatWeekDay: PropTypes.func, withPortal: PropTypes.bool, - utcOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), weekLabel: PropTypes.string, yearDropdownItemNumber: PropTypes.number, setOpen: PropTypes.func, @@ -123,9 +119,9 @@ export default class Calendar extends React.Component { onDropdownFocus: () => {}, monthsShown: 1, forceShowMonthNavigation: false, - timeCaption: "Time", - previousMonthButtonLabel: "Previous Month", - nextMonthButtonLabel: "Next Month" + timeCaption: 'Time', + previousMonthButtonLabel: 'Previous Month', + nextMonthButtonLabel: 'Next Month' }; } @@ -134,14 +130,15 @@ export default class Calendar extends React.Component { onDropdownFocus: () => {}, monthsShown: 1, forceShowMonthNavigation: false, - timeCaption: "Time" + timeCaption: 'Time' }; } constructor(props) { super(props); + this.state = { - date: this.localizeDate(this.getDateInView()), + date: this.getDateInView(), selectingDate: null, monthContainer: null }; @@ -165,14 +162,14 @@ export default class Calendar extends React.Component { !isSameDay(this.props.preSelection, prevProps.preSelection) ) { this.setState({ - date: this.localizeDate(this.props.preSelection) + date: this.props.preSelection }); } else if ( this.props.openToDate && !isSameDay(this.props.openToDate, prevProps.openToDate) ) { this.setState({ - date: this.localizeDate(this.props.openToDate) + date: this.props.openToDate }); } } @@ -188,10 +185,10 @@ export default class Calendar extends React.Component { }; getDateInView = () => { - const { preSelection, selected, openToDate, utcOffset } = this.props; + const { preSelection, selected, openToDate } = this.props; const minDate = getEffectiveMinDate(this.props); const maxDate = getEffectiveMaxDate(this.props); - const current = now(utcOffset); + const current = newDate(); const initialDate = openToDate || selected || preSelection; if (initialDate) { return initialDate; @@ -205,12 +202,10 @@ export default class Calendar extends React.Component { return current; }; - localizeDate = date => localizeDate(date, this.props.locale); - increaseMonth = () => { this.setState( { - date: addMonths(cloneDate(this.state.date), 1) + date: addMonths(this.state.date, 1) }, () => this.handleMonthChange(this.state.date) ); @@ -219,7 +214,7 @@ export default class Calendar extends React.Component { decreaseMonth = () => { this.setState( { - date: subtractMonths(cloneDate(this.state.date), 1) + date: subMonths(this.state.date, 1) }, () => this.handleMonthChange(this.state.date) ); @@ -259,7 +254,7 @@ export default class Calendar extends React.Component { changeYear = year => { this.setState( { - date: setYear(cloneDate(this.state.date), year) + date: setYear(this.state.date, year) }, () => this.handleYearChange(this.state.date) ); @@ -268,7 +263,7 @@ export default class Calendar extends React.Component { changeMonth = month => { this.setState( { - date: setMonth(cloneDate(this.state.date), month) + date: setMonth(this.state.date, month) }, () => this.handleMonthChange(this.state.date) ); @@ -278,7 +273,7 @@ export default class Calendar extends React.Component { this.setState( { date: setYear( - setMonth(cloneDate(this.state.date), getMonth(monthYear)), + setMonth(this.state.date, getMonth(monthYear)), getYear(monthYear) ) }, @@ -287,21 +282,19 @@ export default class Calendar extends React.Component { }; header = (date = this.state.date) => { - const startOfWeek = getStartOfWeek(cloneDate(date)); + const startOfWeek = getStartOfWeek(date, this.props.locale); const dayNames = []; if (this.props.showWeekNumbers) { dayNames.push( - {this.props.weekLabel || "#"} + {this.props.weekLabel || '#'} ); } return dayNames.concat( [0, 1, 2, 3, 4, 5, 6].map(offset => { - const day = addDays(cloneDate(startOfWeek), offset); - const localeData = getLocaleData(day); - const weekDayName = this.formatWeekday(localeData, day); - + const day = addDays(startOfWeek, offset); + const weekDayName = this.formatWeekday(day, this.props.locale); return ( {weekDayName} @@ -311,17 +304,13 @@ export default class Calendar extends React.Component { ); }; - formatWeekday = (localeData, day) => { + formatWeekday = (day, locale) => { if (this.props.formatWeekDay) { - return getFormattedWeekdayInLocale( - localeData, - day, - this.props.formatWeekDay - ); + return getFormattedWeekdayInLocale(day, this.props.formatWeekDay, locale); } return this.props.useWeekdaysShort - ? getWeekdayShortInLocale(localeData, day) - : getWeekdayMinInLocale(localeData, day); + ? getWeekdayShortInLocale(day, locale) + : getWeekdayMinInLocale(day, locale); }; renderPreviousMonthButton = () => { @@ -329,9 +318,8 @@ export default class Calendar extends React.Component { return; } - const allPrevDaysDisabled = allDaysDisabledBefore( + const allPrevDaysDisabled = monthDisabledBefore( this.state.date, - "month", this.props ); @@ -345,21 +333,21 @@ export default class Calendar extends React.Component { } const classes = [ - "react-datepicker__navigation", - "react-datepicker__navigation--previous" + 'react-datepicker__navigation', + 'react-datepicker__navigation--previous' ]; let clickHandler = this.decreaseMonth; if (allPrevDaysDisabled && this.props.showDisabledMonthNavigation) { - classes.push("react-datepicker__navigation--previous--disabled"); + classes.push('react-datepicker__navigation--previous--disabled'); clickHandler = null; } return ( {this.props.previousMonthButtonLabel} @@ -372,11 +360,7 @@ export default class Calendar extends React.Component { return; } - const allNextDaysDisabled = allDaysDisabledAfter( - this.state.date, - "month", - this.props - ); + const allNextDaysDisabled = monthDisabledAfter(this.state.date, this.props); if ( (!this.props.forceShowMonthNavigation && @@ -388,27 +372,27 @@ export default class Calendar extends React.Component { } const classes = [ - "react-datepicker__navigation", - "react-datepicker__navigation--next" + 'react-datepicker__navigation', + 'react-datepicker__navigation--next' ]; if (this.props.showTimeSelect) { - classes.push("react-datepicker__navigation--next--with-time"); + classes.push('react-datepicker__navigation--next--with-time'); } if (this.props.todayButton) { - classes.push("react-datepicker__navigation--next--with-today-button"); + classes.push('react-datepicker__navigation--next--with-today-button'); } let clickHandler = this.increaseMonth; if (allNextDaysDisabled && this.props.showDisabledMonthNavigation) { - classes.push("react-datepicker__navigation--next--disabled"); + classes.push('react-datepicker__navigation--next--disabled'); clickHandler = null; } return ( {this.props.nextMonthButtonLabel} @@ -417,20 +401,20 @@ export default class Calendar extends React.Component { }; renderCurrentMonth = (date = this.state.date) => { - const classes = ["react-datepicker__current-month"]; + const classes = ['react-datepicker__current-month']; if (this.props.showYearDropdown) { - classes.push("react-datepicker__current-month--hasYearDropdown"); + classes.push('react-datepicker__current-month--hasYearDropdown'); } if (this.props.showMonthDropdown) { - classes.push("react-datepicker__current-month--hasMonthDropdown"); + classes.push('react-datepicker__current-month--hasMonthDropdown'); } if (this.props.showMonthYearDropdown) { - classes.push("react-datepicker__current-month--hasMonthYearDropdown"); + classes.push('react-datepicker__current-month--hasMonthYearDropdown'); } return ( - - {formatDate(date, this.props.dateFormat)} + + {formatDate(date, this.props.dateFormat, this.props.locale)} ); }; @@ -464,7 +448,6 @@ export default class Calendar extends React.Component { - this.props.onSelect(getStartOfDate(now(this.props.utcOffset)), e) - } + onClick={e => this.props.onSelect(getStartOfToday(), e)} > {this.props.todayButton} @@ -530,15 +511,13 @@ export default class Calendar extends React.Component { return null; } - const prevMonthButtonDisabled = allDaysDisabledBefore( + const prevMonthButtonDisabled = monthDisabledBefore( this.state.date, - "month", this.props ); - const nextMonthButtonDisabled = allDaysDisabledAfter( + const nextMonthButtonDisabled = monthDisabledAfter( this.state.date, - "month", this.props ); @@ -570,7 +549,7 @@ export default class Calendar extends React.Component { var monthList = []; for (var i = 0; i < this.props.monthsShown; ++i) { - var monthDate = addMonths(cloneDate(this.state.date), i); + var monthDate = addMonths(this.state.date, i); var monthKey = `month-${i}`; monthList.push( {this.renderPreviousMonthButton()} diff --git a/src/date_utils.js b/src/date_utils.js index 080ce0ace..aa2e1dacf 100644 --- a/src/date_utils.js +++ b/src/date_utils.js @@ -1,252 +1,207 @@ -import moment from "moment"; - -const dayOfWeekCodes = { - 1: "mon", - 2: "tue", - 3: "wed", - 4: "thu", - 5: "fri", - 6: "sat", - 7: "sun" -}; - -// These functions are not exported so -// that we avoid magic strings like 'days' -function set(date, unit, to) { - return date.set(unit, to); -} - -function add(date, amount, unit) { - return date.add(amount, unit); -} - -function subtract(date, amount, unit) { - return date.subtract(amount, unit); -} - -function get(date, unit) { - return date.get(unit); -} - -function getStartOf(date, unit) { - return date.startOf(unit); -} - -function getEndOf(date, unit) { - return date.endOf(unit); -} - -function getDiff(date1, date2, unit) { - return date1.diff(date2, unit); -} +import isDate from 'date-fns/isDate'; +import isValidDate from 'date-fns/isValid'; +import format from 'date-fns/format'; +import addMinutes from 'date-fns/addMinutes'; +import addHours from 'date-fns/addHours'; +import addDays from 'date-fns/addDays'; +import addWeeks from 'date-fns/addWeeks'; +import addMonths from 'date-fns/addMonths'; +import addYears from 'date-fns/addYears'; +import subMinutes from 'date-fns/subMinutes'; +import subHours from 'date-fns/subHours'; +import subDays from 'date-fns/subDays'; +import subWeeks from 'date-fns/subWeeks'; +import subMonths from 'date-fns/subMonths'; +import subYears from 'date-fns/subYears'; +import getSeconds from 'date-fns/getSeconds'; +import getMinutes from 'date-fns/getMinutes'; +import getHours from 'date-fns/getHours'; +import getDay from 'date-fns/getDay'; +import getDate from 'date-fns/getDate'; +import getMonth from 'date-fns/getMonth'; +import getYear from 'date-fns/getYear'; +import getTime from 'date-fns/getTime'; +import setSeconds from 'date-fns/setSeconds'; +import setMinutes from 'date-fns/setMinutes'; +import setHours from 'date-fns/setHours'; +import setMonth from 'date-fns/setMonth'; +import setYear from 'date-fns/setYear'; +import min from 'date-fns/min'; +import max from 'date-fns/max'; +import differenceInCalendarDays from 'date-fns/differenceInCalendarDays'; +import differenceInCalendarMonths from 'date-fns/differenceInCalendarMonths'; +import differenceInCalendarWeeks from 'date-fns/differenceInCalendarWeeks'; +import setDayOfYear from 'date-fns/setDayOfYear'; +import startOfDay from 'date-fns/startOfDay'; +import startOfWeek from 'date-fns/startOfWeek'; +import startOfMonth from 'date-fns/startOfMonth'; +import startOfYear from 'date-fns/startOfYear'; +import endOfWeek from 'date-fns/endOfWeek'; +import endOfMonth from 'date-fns/endOfMonth'; +import isEqual from 'date-fns/isEqual'; +import isSameWeek from 'date-fns/isSameWeek'; +import dfIsSameDay from 'date-fns/isSameDay'; +import dfIsSameMonth from 'date-fns/isSameMonth'; +import dfIsSameYear from 'date-fns/isSameYear'; +import isAfter from 'date-fns/isAfter'; +import isBefore from 'date-fns/isBefore'; +import isWithinInterval from 'date-fns/isWithinInterval'; +import toDate from 'date-fns/toDate'; +import parse from 'date-fns/parse'; // ** Date Constructors ** -export function newDate(point) { - return moment(point); -} - -export function newDateWithOffset(utcOffset) { - return moment() - .utc() - .utcOffset(utcOffset); +export function newDate(value) { + const d = value ? toDate(value) : new Date(); + return isValid(d) ? d : null; } -export function now(maybeFixedUtcOffset) { - if (maybeFixedUtcOffset == null) { - return newDate(); +export function parseDate(value, dateFormat, locale) { + let parsedDate = null; + let localeObject = getLocaleObject(locale); + if (Array.isArray(dateFormat)) { + dateFormat.forEach(df => { + let tryParseDate = parse(value, df, new Date(), localeObject); + if (isValid(tryParseDate)) { + parsedDate = tryParseDate; + } + }); + return parsedDate; } - return newDateWithOffset(maybeFixedUtcOffset); -} - -export function cloneDate(date) { - return date.clone(); -} - -export function parseDate(value, { dateFormat, locale }) { - const m = moment(value, dateFormat, locale || moment.locale(), true); - return m.isValid() ? m : null; + parsedDate = parse(value, dateFormat, new Date(), localeObject); + if (!isValid(parsedDate)) { + parsedDate = new Date(value); + } + return isValid(parsedDate) ? parsedDate : null; } // ** Date "Reflection" ** -export function isMoment(date) { - return moment.isMoment(date); -} +export { isDate }; -export function isDate(date) { - return moment.isDate(date); +export function isValid(date) { + return isValidDate(date) && isAfter(date, new Date('1/1/1000')); } // ** Date Formatting ** -export function formatDate(date, format) { - return date.format(format); +export function formatDate(date, formatStr, locale) { + if (locale === 'en') { + return format(date, formatStr, { awareOfUnicodeTokens: true }); + } + let localeObj = getLocaleObject(locale); + if (locale && !localeObj) { + console.warn( + `A locale object was not found for the provided string ["${locale}"].` + ); + } + if ( + !localeObj && + !!getDefaultLocale() && + !!getLocaleObject(getDefaultLocale()) + ) { + localeObj = getLocaleObject(getDefaultLocale()); + } + return format(date, formatStr, { + locale: localeObj ? localeObj : null, + awareOfUnicodeTokens: true + }); } export function safeDateFormat(date, { dateFormat, locale }) { return ( (date && - date - .clone() - .locale(locale || moment.locale()) - .format(Array.isArray(dateFormat) ? dateFormat[0] : dateFormat)) || - "" + formatDate( + date, + Array.isArray(dateFormat) ? dateFormat[0] : dateFormat, + (locale: locale) + )) || + '' ); } // ** Date Setters ** -export function setTime(date, { hour, minute, second }) { - date.set({ hour, minute, second }); - return date; -} - -export function setMonth(date, month) { - return set(date, "month", month); +export function setTime(date, { hour = 0, minute = 0, second = 0 }) { + return setHours(setMinutes(setSeconds(date, second), minute), hour); } -export function setYear(date, year) { - return set(date, "year", year); -} - -export function setUTCOffset(date, offset) { - return date.utcOffset(offset); -} +export { setMonth, setYear }; // ** Date Getters ** -export function getSecond(date) { - return get(date, "second"); -} - -export function getMinute(date) { - return get(date, "minute"); -} - -export function getHour(date) { - return get(date, "hour"); -} - -// Returns day of week -export function getDay(date) { - return get(date, "day"); -} +// getDay Returns day of week, getDate returns day of month +export { + getSeconds, + getMinutes, + getHours, + getMonth, + getYear, + getDay, + getDate, + getTime +}; export function getWeek(date) { - return get(date, "week"); -} - -export function getMonth(date) { - return get(date, "month"); -} - -export function getYear(date) { - return get(date, "year"); -} - -// Returns day of month -export function getDate(date) { - return get(date, "date"); -} - -export function getUTCOffset() { - return moment().utcOffset(); + let firstDayOfYear = setDayOfYear(date, 1); + if (!isSameYear(endOfWeek(date), date)) { + return 1; + } + return differenceInCalendarWeeks(date, startOfYear(date)) + 1; } -export function getDayOfWeekCode(day) { - return dayOfWeekCodes[day.isoWeekday()]; +export function getDayOfWeekCode(day, locale) { + return formatDate(day, 'ddd', (locale: locale)); } // *** Start of *** export function getStartOfDay(date) { - return getStartOf(date, "day"); + return startOfDay(date); } -export function getStartOfWeek(date) { - return getStartOf(date, "week"); +export function getStartOfWeek(date, locale) { + let localeObj = locale + ? getLocaleObject(locale) + : getLocaleObject(getDefaultLocale()); + return startOfWeek(date, { locale: localeObj }); } + export function getStartOfMonth(date) { - return getStartOf(date, "month"); + return startOfMonth(date); } -export function getStartOfDate(date) { - return getStartOf(date, "date"); +export function getStartOfToday() { + return startOfDay(newDate()); } // *** End of *** export function getEndOfWeek(date) { - return getEndOf(date, "week"); + return endOfWeek(date); } export function getEndOfMonth(date) { - return getEndOf(date, "month"); + return endOfMonth(date); } // ** Date Math ** // *** Addition *** -export function addMinutes(date, amount) { - return add(date, amount, "minutes"); -} - -export function addHours(date, amount) { - return add(date, amount, "hours"); -} - -export function addDays(date, amount) { - return add(date, amount, "days"); -} - -export function addWeeks(date, amount) { - return add(date, amount, "weeks"); -} - -export function addMonths(date, amount) { - return add(date, amount, "months"); -} - -export function addYears(date, amount) { - return add(date, amount, "years"); -} +export { addMinutes, addDays, addWeeks, addMonths, addYears }; // *** Subtraction *** -export function subtractDays(date, amount) { - return subtract(date, amount, "days"); -} - -export function subtractWeeks(date, amount) { - return subtract(date, amount, "weeks"); -} - -export function subtractMonths(date, amount) { - return subtract(date, amount, "months"); -} -export function subtractYears(date, amount) { - return subtract(date, amount, "years"); -} +export { subMinutes, subHours, subDays, subWeeks, subMonths, subYears }; // ** Date Comparison ** -export function isBefore(date1, date2) { - return date1.isBefore(date2); -} - -export function isAfter(date1, date2) { - return date1.isAfter(date2); -} - -export function equals(date1, date2) { - return date1.isSame(date2); -} +export { isBefore, isAfter, isEqual }; export function isSameYear(date1, date2) { if (date1 && date2) { - return date1.isSame(date2, "year"); + return dfIsSameYear(date1, date2); } else { return !date1 && !date2; } @@ -254,94 +209,69 @@ export function isSameYear(date1, date2) { export function isSameMonth(date1, date2) { if (date1 && date2) { - return date1.isSame(date2, "month"); + return dfIsSameMonth(date1, date2); } else { return !date1 && !date2; } } -export function isSameDay(moment1, moment2) { - if (moment1 && moment2) { - return moment1.isSame(moment2, "day"); - } else { - return !moment1 && !moment2; - } -} - -export function isSameUtcOffset(moment1, moment2) { - if (moment1 && moment2) { - return moment1.utcOffset() === moment2.utcOffset(); +export function isSameDay(date1, date2) { + if (date1 && date2) { + return dfIsSameDay(date1, date2); } else { - return !moment1 && !moment2; + return !date1 && !date2; } } export function isDayInRange(day, startDate, endDate) { - const before = startDate - .clone() - .startOf("day") - .subtract(1, "seconds"); - const after = endDate - .clone() - .startOf("day") - .add(1, "seconds"); - return day - .clone() - .startOf("day") - .isBetween(before, after); + return isWithinInterval(day, { start: startDate, end: endDate }); } // *** Diffing *** export function getDaysDiff(date1, date2) { - return getDiff(date1, date2, "days"); + return differenceInCalendarDays(date1, date2); } // ** Date Localization ** -export function localizeDate(date, locale) { - return date.clone().locale(locale || moment.locale()); -} - -export function getDefaultLocale() { - return moment.locale(); -} - -export function getDefaultLocaleData() { - return moment.localeData(); +export function registerLocale(localeName, localeData) { + if (!window.__localeData__) { + window.__localeData__ = {}; + } + window.__localeData__[localeName] = localeData; } -export function registerLocale(localeName, localeData) { - moment.defineLocale(localeName, localeData); +export function setDefaultLocale(localeName) { + window.__localeId__ = localeName; } -export function getLocaleData(date) { - return date.localeData(); +export function getDefaultLocale() { + return window.__localeId__; } -export function getLocaleDataForLocale(locale) { - return moment.localeData(locale); +export function getLocaleObject(localeName) { + return window.__localeData__ ? window.__localeData__[localeName] : null; } -export function getFormattedWeekdayInLocale(locale, date, formatFunc) { - return formatFunc(locale.weekdays(date)); +export function getFormattedWeekdayInLocale(date, formatFunc, locale) { + return formatFunc(formatDate(date, 'dddd', locale)); } -export function getWeekdayMinInLocale(locale, date) { - return locale.weekdaysMin(date); +export function getWeekdayMinInLocale(date, locale) { + return formatDate(date, 'EEEEEE', locale); } -export function getWeekdayShortInLocale(locale, date) { - return locale.weekdaysShort(date); +export function getWeekdayShortInLocale(date, locale) { + return formatDate(date, 'EEE', locale); } -// TODO what is this format exactly? -export function getMonthInLocale(locale, date, format) { - return locale.months(date, format); +export function getMonthInLocale(month, locale) { + return formatDate(setMonth(newDate(), month), 'LLLL', locale); } -export function getMonthShortInLocale(locale, date) { - return locale.monthsShort(date); +export function getMonthShortInLocale(month, dateFormat, locale) { + return formatDate(setMonth(newDate(), month), 'LLL', locale); } // ** Utils for some components ** @@ -351,21 +281,20 @@ export function isDayDisabled( { minDate, maxDate, excludeDates, includeDates, filterDate } = {} ) { return ( - (minDate && day.isBefore(minDate, "day")) || - (maxDate && day.isAfter(maxDate, "day")) || + isOutOfBounds(day, { minDate, maxDate }) || (excludeDates && excludeDates.some(excludeDate => isSameDay(day, excludeDate))) || (includeDates && !includeDates.some(includeDate => isSameDay(day, includeDate))) || - (filterDate && !filterDate(day.clone())) || + (filterDate && !filterDate(newDate(day))) || false ); } export function isOutOfBounds(day, { minDate, maxDate } = {}) { return ( - (minDate && day.isBefore(minDate, "day")) || - (maxDate && day.isAfter(maxDate, "day")) + (minDate && differenceInCalendarDays(day, minDate) < 0) || + (maxDate && differenceInCalendarDays(day, maxDate) > 0) ); } @@ -373,8 +302,8 @@ export function isTimeDisabled(time, disabledTimes) { const l = disabledTimes.length; for (let i = 0; i < l; i++) { if ( - disabledTimes[i].get("hours") === time.get("hours") && - disabledTimes[i].get("minutes") === time.get("minutes") + getHours(disabledTimes[i]) === getHours(time) && + getMinutes(disabledTimes[i]) === getMinutes(time) ) { return true; } @@ -385,56 +314,41 @@ export function isTimeDisabled(time, disabledTimes) { export function isTimeInDisabledRange(time, { minTime, maxTime }) { if (!minTime || !maxTime) { - throw new Error("Both minTime and maxTime props required"); + throw new Error('Both minTime and maxTime props required'); } + const base = newDate(); + const baseTime = setHours(setMinutes(base, getMinutes(time)), getHours(time)); + const min = setHours( + setMinutes(base, getMinutes(minTime)), + getHours(minTime) + ); + const max = setHours( + setMinutes(base, getMinutes(maxTime)), + getHours(maxTime) + ); + return !isWithinInterval(baseTime, { start: min, end: max }); +} - const base = moment() - .hours(0) - .minutes(0) - .seconds(0); - const baseTime = base - .clone() - .hours(time.get("hours")) - .minutes(time.get("minutes")); - const min = base - .clone() - .hours(minTime.get("hours")) - .minutes(minTime.get("minutes")); - const max = base - .clone() - .hours(maxTime.get("hours")) - .minutes(maxTime.get("minutes")); - - return !(baseTime.isSameOrAfter(min) && baseTime.isSameOrBefore(max)); -} - -export function allDaysDisabledBefore( - day, - unit, - { minDate, includeDates } = {} -) { - const dateBefore = day.clone().subtract(1, unit); +export function monthDisabledBefore(day, { minDate, includeDates } = {}) { + const previousMonth = subMonths(day, 1); return ( - (minDate && dateBefore.isBefore(minDate, unit)) || + (minDate && differenceInCalendarMonths(minDate, previousMonth) > 0) || (includeDates && - includeDates.every(includeDate => - dateBefore.isBefore(includeDate, unit) + includeDates.every( + includeDate => + differenceInCalendarMonths(includeDate, previousMonth) > 0 )) || false ); } -export function allDaysDisabledAfter( - day, - unit, - { maxDate, includeDates } = {} -) { - const dateAfter = day.clone().add(1, unit); +export function monthDisabledAfter(day, { maxDate, includeDates } = {}) { + const nextMonth = addMonths(day, 1); return ( - (maxDate && dateAfter.isAfter(maxDate, unit)) || + (maxDate && differenceInCalendarMonths(nextMonth, maxDate) > 0) || (includeDates && - includeDates.every(includeDate => - dateAfter.isAfter(includeDate, unit) + includeDates.every( + includeDate => differenceInCalendarMonths(nextMonth, includeDate) > 0 )) || false ); @@ -442,13 +356,12 @@ export function allDaysDisabledAfter( export function getEffectiveMinDate({ minDate, includeDates }) { if (includeDates && minDate) { - return moment.min( - includeDates.filter(includeDate => - minDate.isSameOrBefore(includeDate, "day") - ) + let minDates = includeDates.filter( + includeDate => differenceInCalendarDays(includeDate, minDate) >= 0 ); + return min(minDates); } else if (includeDates) { - return moment.min(includeDates); + return min(includeDates); } else { return minDate; } @@ -456,13 +369,12 @@ export function getEffectiveMinDate({ minDate, includeDates }) { export function getEffectiveMaxDate({ maxDate, includeDates }) { if (includeDates && maxDate) { - return moment.max( - includeDates.filter(includeDate => - maxDate.isSameOrAfter(includeDate, "day") - ) + let maxDates = includeDates.filter( + includeDate => differenceInCalendarDays(includeDate, maxDate) <= 0 ); + return max(maxDates); } else if (includeDates) { - return moment.max(includeDates); + return max(includeDates); } else { return maxDate; } @@ -470,25 +382,25 @@ export function getEffectiveMaxDate({ maxDate, includeDates }) { export function getHightLightDaysMap( highlightDates = [], - defaultClassName = "react-datepicker__day--highlighted" + defaultClassName = 'react-datepicker__day--highlighted' ) { const dateClasses = new Map(); for (let i = 0, len = highlightDates.length; i < len; i++) { const obj = highlightDates[i]; - if (isMoment(obj)) { - const key = obj.format("MM.DD.YYYY"); + if (isDate(obj)) { + const key = formatDate(obj, 'MM.dd.yyyy'); const classNamesArr = dateClasses.get(key) || []; if (!classNamesArr.includes(defaultClassName)) { classNamesArr.push(defaultClassName); dateClasses.set(key, classNamesArr); } - } else if (typeof obj === "object") { + } else if (typeof obj === 'object') { const keys = Object.keys(obj); const className = keys[0]; - const arrOfMoments = obj[keys[0]]; - if (typeof className === "string" && arrOfMoments.constructor === Array) { - for (let k = 0, len = arrOfMoments.length; k < len; k++) { - const key = arrOfMoments[k].format("MM.DD.YYYY"); + const arrOfDates = obj[keys[0]]; + if (typeof className === 'string' && arrOfDates.constructor === Array) { + for (let k = 0, len = arrOfDates.length; k < len; k++) { + const key = formatDate(arrOfDates[k], 'MM.dd.yyyy'); const classNamesArr = dateClasses.get(key) || []; if (!classNamesArr.includes(className)) { classNamesArr.push(className); @@ -513,15 +425,18 @@ export function timesToInjectAfter( const times = []; for (let i = 0; i < l; i++) { const injectedTime = addMinutes( - addHours(cloneDate(startOfDay), getHour(injectedTimes[i])), - getMinute(injectedTimes[i]) + addHours(startOfDay, getHours(injectedTimes[i])), + getMinutes(injectedTimes[i]) ); const nextTime = addMinutes( - cloneDate(startOfDay), + startOfDay, (currentMultiplier + 1) * intervals ); - if (injectedTime.isBetween(currentTime, nextTime)) { + if ( + isAfter(injectedTime, currentTime) && + isBefore(injectedTime, nextTime) + ) { times.push(injectedTimes[i]); } } diff --git a/src/day.jsx b/src/day.jsx index df5c30030..09894f3db 100644 --- a/src/day.jsx +++ b/src/day.jsx @@ -1,35 +1,38 @@ -import React from "react"; -import PropTypes from "prop-types"; -import classnames from "classnames"; +import React from 'react'; +import PropTypes from 'prop-types'; +import classnames from 'classnames'; import { getDay, getMonth, getDate, - now, + newDate, isSameDay, isDayDisabled, isDayInRange, - getDayOfWeekCode -} from "./date_utils"; + isEqual, + isBefore, + isAfter, + getDayOfWeekCode, + formatDate +} from './date_utils'; export default class Day extends React.Component { static propTypes = { disabledKeyboardNavigation: PropTypes.bool, - day: PropTypes.object.isRequired, + day: PropTypes.instanceOf(Date).isRequired, dayClassName: PropTypes.func, - endDate: PropTypes.object, + endDate: PropTypes.instanceOf(Date), highlightDates: PropTypes.instanceOf(Map), inline: PropTypes.bool, month: PropTypes.number, onClick: PropTypes.func, onMouseEnter: PropTypes.func, - preSelection: PropTypes.object, + preSelection: PropTypes.instanceOf(Date), selected: PropTypes.object, - selectingDate: PropTypes.object, + selectingDate: PropTypes.instanceOf(Date), selectsEnd: PropTypes.bool, selectsStart: PropTypes.bool, - startDate: PropTypes.object, - utcOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), + startDate: PropTypes.instanceOf(Date), renderDayContents: PropTypes.func }; @@ -63,7 +66,7 @@ export default class Day extends React.Component { } // Looking for className in the Map of {'day string, 'className'} - const dayStr = day.format("MM.DD.YYYY"); + const dayStr = formatDate(day, 'MM.dd.yyyy'); return highlightDates.get(dayStr); }; @@ -89,11 +92,19 @@ export default class Day extends React.Component { return false; } - if (selectsStart && endDate && selectingDate.isSameOrBefore(endDate)) { + if ( + selectsStart && + endDate && + (isBefore(selectingDate, endDate) || isEqual(selectingDate, endDate)) + ) { return isDayInRange(day, selectingDate, endDate); } - if (selectsEnd && startDate && selectingDate.isSameOrAfter(startDate)) { + if ( + selectsEnd && + startDate && + (isAfter(selectingDate, startDate) || isEqual(selectingDate, startDate)) + ) { return isDayInRange(day, startDate, selectingDate); } @@ -161,26 +172,24 @@ export default class Day extends React.Component { ? this.props.dayClassName(date) : undefined; return classnames( - "react-datepicker__day", + 'react-datepicker__day', dayClassName, - "react-datepicker__day--" + getDayOfWeekCode(this.props.day), + 'react-datepicker__day--' + getDayOfWeekCode(this.props.day), { - "react-datepicker__day--disabled": this.isDisabled(), - "react-datepicker__day--selected": this.isSameDay(this.props.selected), - "react-datepicker__day--keyboard-selected": this.isKeyboardSelected(), - "react-datepicker__day--range-start": this.isRangeStart(), - "react-datepicker__day--range-end": this.isRangeEnd(), - "react-datepicker__day--in-range": this.isInRange(), - "react-datepicker__day--in-selecting-range": this.isInSelectingRange(), - "react-datepicker__day--selecting-range-start": this.isSelectingRangeStart(), - "react-datepicker__day--selecting-range-end": this.isSelectingRangeEnd(), - "react-datepicker__day--today": this.isSameDay( - now(this.props.utcOffset) - ), - "react-datepicker__day--weekend": this.isWeekend(), - "react-datepicker__day--outside-month": this.isOutsideMonth() + 'react-datepicker__day--disabled': this.isDisabled(), + 'react-datepicker__day--selected': this.isSameDay(this.props.selected), + 'react-datepicker__day--keyboard-selected': this.isKeyboardSelected(), + 'react-datepicker__day--range-start': this.isRangeStart(), + 'react-datepicker__day--range-end': this.isRangeEnd(), + 'react-datepicker__day--in-range': this.isInRange(), + 'react-datepicker__day--in-selecting-range': this.isInSelectingRange(), + 'react-datepicker__day--selecting-range-start': this.isSelectingRangeStart(), + 'react-datepicker__day--selecting-range-end': this.isSelectingRangeEnd(), + 'react-datepicker__day--today': this.isSameDay(newDate()), + 'react-datepicker__day--weekend': this.isWeekend(), + 'react-datepicker__day--outside-month': this.isOutsideMonth() }, - this.getHighLightedClass("react-datepicker__day--highlighted") + this.getHighLightedClass('react-datepicker__day--highlighted') ); }; diff --git a/src/index.jsx b/src/index.jsx index 3461f730b..034d06844 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -1,29 +1,26 @@ -import Calendar from "./calendar"; -import React from "react"; -import PropTypes from "prop-types"; -import PopperComponent, { popperPlacementPositions } from "./popper_component"; -import classnames from "classnames"; +import React from 'react'; +import PropTypes from 'prop-types'; +import Calendar from './calendar'; +import PopperComponent, { popperPlacementPositions } from './popper_component'; +import classnames from 'classnames'; import { newDate, - now, - cloneDate, - isMoment, isDate, isBefore, isAfter, - equals, + isEqual, setTime, - getSecond, - getMinute, - getHour, + getSeconds, + getMinutes, + getHours, addDays, addMonths, addWeeks, addYears, - subtractDays, - subtractMonths, - subtractWeeks, - subtractYears, + subDays, + subMonths, + subWeeks, + subYears, isSameDay, isDayDisabled, isOutOfBounds, @@ -34,13 +31,18 @@ import { safeDateFormat, getHightLightDaysMap, getYear, - getMonth -} from "./date_utils"; -import onClickOutside from "react-onclickoutside"; + getMonth, + registerLocale, + setDefaultLocale, + getDefaultLocale +} from './date_utils'; +import onClickOutside from 'react-onclickoutside'; -export { default as CalendarContainer } from "./calendar_container"; +export { default as CalendarContainer } from './calendar_container'; -const outsideClickIgnoreClass = "react-datepicker-ignore-onclickoutside"; +export { registerLocale, setDefaultLocale, getDefaultLocale }; + +const outsideClickIgnoreClass = 'react-datepicker-ignore-onclickoutside'; const WrappedCalendar = onClickOutside(Calendar); // Compares dates year+month combinations @@ -56,7 +58,7 @@ function hasPreSelectionChanged(date1, date2) { function hasSelectionChanged(date1, date2) { if (date1 && date2) { - return !equals(date1, date2); + return !isEqual(date1, date2); } return false; @@ -65,7 +67,7 @@ function hasSelectionChanged(date1, date2) { /** * General datepicker component. */ -const INPUT_ERR_1 = "Date input not valid."; +const INPUT_ERR_1 = 'Date input not valid.'; export default class DatePicker extends React.Component { static propTypes = { @@ -85,8 +87,8 @@ export default class DatePicker extends React.Component { dayClassName: PropTypes.func, disabled: PropTypes.bool, disabledKeyboardNavigation: PropTypes.bool, - dropdownMode: PropTypes.oneOf(["scroll", "select"]).isRequired, - endDate: PropTypes.object, + dropdownMode: PropTypes.oneOf(['scroll', 'select']).isRequired, + endDate: PropTypes.instanceOf(Date), excludeDates: PropTypes.array, filterDate: PropTypes.func, fixedHeight: PropTypes.bool, @@ -99,8 +101,8 @@ export default class DatePicker extends React.Component { inline: PropTypes.bool, isClearable: PropTypes.bool, locale: PropTypes.string, - maxDate: PropTypes.object, - minDate: PropTypes.object, + maxDate: PropTypes.instanceOf(Date), + minDate: PropTypes.instanceOf(Date), monthsShown: PropTypes.number, name: PropTypes.string, onBlur: PropTypes.func, @@ -116,7 +118,7 @@ export default class DatePicker extends React.Component { onYearChange: PropTypes.func, onInputError: PropTypes.func, open: PropTypes.bool, - openToDate: PropTypes.object, + openToDate: PropTypes.instanceOf(Date), peekNextMonth: PropTypes.bool, placeholderText: PropTypes.string, popperContainer: PropTypes.func, @@ -129,7 +131,7 @@ export default class DatePicker extends React.Component { required: PropTypes.bool, scrollableYearDropdown: PropTypes.bool, scrollableMonthYearDropdown: PropTypes.bool, - selected: PropTypes.object, + selected: PropTypes.instanceOf(Date), selectsEnd: PropTypes.bool, selectsStart: PropTypes.bool, showMonthDropdown: PropTypes.bool, @@ -138,7 +140,7 @@ export default class DatePicker extends React.Component { showYearDropdown: PropTypes.bool, forceShowMonthNavigation: PropTypes.bool, showDisabledMonthNavigation: PropTypes.bool, - startDate: PropTypes.object, + startDate: PropTypes.instanceOf(Date), startOpen: PropTypes.bool, tabIndex: PropTypes.number, timeCaption: PropTypes.string, @@ -146,7 +148,6 @@ export default class DatePicker extends React.Component { todayButton: PropTypes.node, useWeekdaysShort: PropTypes.bool, formatWeekDay: PropTypes.func, - utcOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), value: PropTypes.string, weekLabel: PropTypes.string, withPortal: PropTypes.bool, @@ -156,8 +157,8 @@ export default class DatePicker extends React.Component { showTimeSelectOnly: PropTypes.bool, timeFormat: PropTypes.string, timeIntervals: PropTypes.number, - minTime: PropTypes.object, - maxTime: PropTypes.object, + minTime: PropTypes.instanceOf(Date), + maxTime: PropTypes.instanceOf(Date), excludeTimes: PropTypes.array, useShortMonthInDropdown: PropTypes.bool, clearButtonTitle: PropTypes.string, @@ -170,12 +171,12 @@ export default class DatePicker extends React.Component { static get defaultProps() { return { allowSameDay: false, - dateFormat: "L", - dateFormatCalendar: "MMMM YYYY", + dateFormat: 'MM/dd/yyyy', + dateFormatCalendar: 'LLLL yyyy', onChange() {}, disabled: false, disabledKeyboardNavigation: false, - dropdownMode: "scroll", + dropdownMode: 'scroll', onFocus() {}, onBlur() {}, onKeyDown() {}, @@ -192,9 +193,9 @@ export default class DatePicker extends React.Component { shouldCloseOnSelect: true, showTimeSelect: false, timeIntervals: 30, - timeCaption: "Time", - previousMonthButtonLabel: "Previous Month", - nextMonthButtonLabel: "Next month", + timeCaption: 'Time', + previousMonthButtonLabel: 'Previous Month', + nextMonthButtonLabel: 'Next month', renderDayContents(date) { return date; } @@ -232,12 +233,12 @@ export default class DatePicker extends React.Component { getPreSelection = () => this.props.openToDate - ? newDate(this.props.openToDate) + ? this.props.openToDate : this.props.selectsEnd && this.props.startDate - ? newDate(this.props.startDate) + ? this.props.startDate : this.props.selectsStart && this.props.endDate - ? newDate(this.props.endDate) - : now(this.props.utcOffset); + ? this.props.endDate + : newDate(); calcInitialState = () => { const defaultPreSelection = this.getPreSelection(); @@ -253,7 +254,7 @@ export default class DatePicker extends React.Component { open: this.props.startOpen || false, preventFocus: false, preSelection: this.props.selected - ? newDate(this.props.selected) + ? this.props.selected : boundedPreSelection, // transforming highlighted days (perhaps nested array) // to flat Map for faster access in day.jsx @@ -312,8 +313,7 @@ export default class DatePicker extends React.Component { } ); }; - inputOk = () => - isMoment(this.state.preSelection) || isDate(this.state.preSelection); + inputOk = () => isDate(this.state.preSelection); isCalendarOpen = () => this.props.open === undefined @@ -368,7 +368,7 @@ export default class DatePicker extends React.Component { if (this.props.onChangeRaw) { this.props.onChangeRaw.apply(this, allArgs); if ( - typeof event.isDefaultPrevented !== "function" || + typeof event.isDefaultPrevented !== 'function' || event.isDefaultPrevented() ) { return; @@ -378,7 +378,11 @@ export default class DatePicker extends React.Component { inputValue: event.target.value, lastPreSelectChange: PRESELECT_CHANGE_VIA_INPUT }); - const date = parseDate(event.target.value, this.props); + const date = parseDate( + event.target.value, + this.props.dateFormat, + this.props.locale + ); if (date || !event.target.value) { this.setSelected(date, event, true); } @@ -422,10 +426,10 @@ export default class DatePicker extends React.Component { if (this.props.selected) { let selected = this.props.selected; if (keepInput) selected = newDate(changedDate); - changedDate = setTime(newDate(changedDate), { - hour: getHour(selected), - minute: getMinute(selected), - second: getSecond(selected) + changedDate = setTime(changedDate, { + hour: getHours(selected), + minute: getMinutes(selected), + second: getSeconds(selected) }); } if (!this.props.inline) { @@ -446,8 +450,8 @@ export default class DatePicker extends React.Component { setPreSelection = date => { const isDateRangePresent = - typeof this.props.minDate !== "undefined" && - typeof this.props.maxDate !== "undefined"; + typeof this.props.minDate !== 'undefined' && + typeof this.props.maxDate !== 'undefined'; const isValidDateSelection = isDateRangePresent && date ? isDayInRange(date, this.props.minDate, this.props.maxDate) @@ -463,9 +467,9 @@ export default class DatePicker extends React.Component { const selected = this.props.selected ? this.props.selected : this.getPreSelection(); - let changedDate = setTime(cloneDate(selected), { - hour: getHour(time), - minute: getMinute(time) + let changedDate = setTime(selected, { + hour: getHours(time), + minute: getMinutes(time) }); this.setState({ @@ -495,13 +499,13 @@ export default class DatePicker extends React.Component { !this.props.inline && !this.props.preventOpenOnFocus ) { - if (eventKey === "ArrowDown" || eventKey === "ArrowUp") { + if (eventKey === 'ArrowDown' || eventKey === 'ArrowUp') { this.onInputClick(); } return; } const copy = newDate(this.state.preSelection); - if (eventKey === "Enter") { + if (eventKey === 'Enter') { event.preventDefault(); if ( this.inputOk() && @@ -512,40 +516,40 @@ export default class DatePicker extends React.Component { } else { this.setOpen(false); } - } else if (eventKey === "Escape") { + } else if (eventKey === 'Escape') { event.preventDefault(); this.setOpen(false); if (!this.inputOk()) { this.props.onInputError({ code: 1, msg: INPUT_ERR_1 }); } - } else if (eventKey === "Tab") { + } else if (eventKey === 'Tab') { this.setOpen(false, true); } else if (!this.props.disabledKeyboardNavigation) { let newSelection; switch (eventKey) { - case "ArrowLeft": - newSelection = subtractDays(copy, 1); + case 'ArrowLeft': + newSelection = subDays(copy, 1); break; - case "ArrowRight": + case 'ArrowRight': newSelection = addDays(copy, 1); break; - case "ArrowUp": - newSelection = subtractWeeks(copy, 1); + case 'ArrowUp': + newSelection = subWeeks(copy, 1); break; - case "ArrowDown": + case 'ArrowDown': newSelection = addWeeks(copy, 1); break; - case "PageUp": - newSelection = subtractMonths(copy, 1); + case 'PageUp': + newSelection = subMonths(copy, 1); break; - case "PageDown": + case 'PageDown': newSelection = addMonths(copy, 1); break; - case "Home": - newSelection = subtractYears(copy, 1); + case 'Home': + newSelection = subYears(copy, 1); break; - case "End": + case 'End': newSelection = addYears(copy, 1); break; } @@ -628,7 +632,6 @@ export default class DatePicker extends React.Component { scrollableMonthYearDropdown={this.props.scrollableMonthYearDropdown} todayButton={this.props.todayButton} weekLabel={this.props.weekLabel} - utcOffset={this.props.utcOffset} outsideClickIgnoreClass={outsideClickIgnoreClass} fixedHeight={this.props.fixedHeight} monthsShown={this.props.monthsShown} @@ -666,11 +669,11 @@ export default class DatePicker extends React.Component { }); const customInput = this.props.customInput || ; - const customInputRef = this.props.customInputRef || "ref"; + const customInputRef = this.props.customInputRef || 'ref'; const inputValue = - typeof this.props.value === "string" + typeof this.props.value === 'string' ? this.props.value - : typeof this.state.inputValue === "string" + : typeof this.state.inputValue === 'string' ? this.state.inputValue : safeDateFormat(this.props.selected, this.props); @@ -757,5 +760,5 @@ export default class DatePicker extends React.Component { } } -const PRESELECT_CHANGE_VIA_INPUT = "input"; -const PRESELECT_CHANGE_VIA_NAVIGATE = "navigate"; +const PRESELECT_CHANGE_VIA_INPUT = 'input'; +const PRESELECT_CHANGE_VIA_NAVIGATE = 'navigate'; diff --git a/src/month.jsx b/src/month.jsx index c2c599d15..740f09fb9 100644 --- a/src/month.jsx +++ b/src/month.jsx @@ -1,17 +1,17 @@ -import React from "react"; -import PropTypes from "prop-types"; -import classnames from "classnames"; -import Week from "./week"; -import * as utils from "./date_utils"; +import React from 'react'; +import PropTypes from 'prop-types'; +import classnames from 'classnames'; +import Week from './week'; +import * as utils from './date_utils'; const FIXED_HEIGHT_STANDARD_WEEK_COUNT = 6; export default class Month extends React.Component { static propTypes = { disabledKeyboardNavigation: PropTypes.bool, - day: PropTypes.object.isRequired, + day: PropTypes.instanceOf(Date).isRequired, dayClassName: PropTypes.func, - endDate: PropTypes.object, + endDate: PropTypes.instanceOf(Date), excludeDates: PropTypes.array, filterDate: PropTypes.func, fixedHeight: PropTypes.bool, @@ -19,23 +19,23 @@ export default class Month extends React.Component { highlightDates: PropTypes.instanceOf(Map), includeDates: PropTypes.array, inline: PropTypes.bool, - maxDate: PropTypes.object, - minDate: PropTypes.object, + locale: PropTypes.string, + maxDate: PropTypes.instanceOf(Date), + minDate: PropTypes.instanceOf(Date), onDayClick: PropTypes.func, onDayMouseEnter: PropTypes.func, onMouseLeave: PropTypes.func, onWeekSelect: PropTypes.func, peekNextMonth: PropTypes.bool, - preSelection: PropTypes.object, - selected: PropTypes.object, - selectingDate: PropTypes.object, + preSelection: PropTypes.instanceOf(Date), + selected: PropTypes.instanceOf(Date), + selectingDate: PropTypes.instanceOf(Date), selectsEnd: PropTypes.bool, selectsStart: PropTypes.bool, showWeekNumbers: PropTypes.bool, - startDate: PropTypes.object, + startDate: PropTypes.instanceOf(Date), setOpen: PropTypes.func, shouldCloseOnSelect: PropTypes.bool, - utcOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), renderDayContents: PropTypes.func }; @@ -59,7 +59,7 @@ export default class Month extends React.Component { isWeekInMonth = startOfWeek => { const day = this.props.day; - const endOfWeek = utils.addDays(utils.cloneDate(startOfWeek), 6); + const endOfWeek = utils.addDays(startOfWeek, 6); return ( utils.isSameMonth(startOfWeek, day) || utils.isSameMonth(endOfWeek, day) ); @@ -69,7 +69,8 @@ export default class Month extends React.Component { const weeks = []; var isFixedHeight = this.props.fixedHeight; let currentWeekStart = utils.getStartOfWeek( - utils.getStartOfMonth(utils.cloneDate(this.props.day)) + utils.getStartOfMonth(this.props.day), + this.props.locale ); let i = 0; let breakAfterNextPush = false; @@ -84,6 +85,7 @@ export default class Month extends React.Component { onDayMouseEnter={this.handleDayMouseEnter} onWeekSelect={this.props.onWeekSelect} formatWeekNumber={this.props.formatWeekNumber} + locale={this.props.locale} minDate={this.props.minDate} maxDate={this.props.maxDate} excludeDates={this.props.excludeDates} @@ -100,7 +102,6 @@ export default class Month extends React.Component { startDate={this.props.startDate} endDate={this.props.endDate} dayClassName={this.props.dayClassName} - utcOffset={this.props.utcOffset} setOpen={this.props.setOpen} shouldCloseOnSelect={this.props.shouldCloseOnSelect} disabledKeyboardNavigation={this.props.disabledKeyboardNavigation} @@ -111,7 +112,7 @@ export default class Month extends React.Component { if (breakAfterNextPush) break; i++; - currentWeekStart = utils.addWeeks(utils.cloneDate(currentWeekStart), 1); + currentWeekStart = utils.addWeeks(currentWeekStart, 1); // If one of these conditions is true, we will either break on this week // or break on the next week @@ -134,8 +135,8 @@ export default class Month extends React.Component { getClassNames = () => { const { selectingDate, selectsStart, selectsEnd } = this.props; - return classnames("react-datepicker__month", { - "react-datepicker__month--selecting-range": + return classnames('react-datepicker__month', { + 'react-datepicker__month--selecting-range': selectingDate && (selectsStart || selectsEnd) }); }; @@ -146,7 +147,7 @@ export default class Month extends React.Component { className={this.getClassNames()} onMouseLeave={this.handleMouseLeave} role="listbox" - aria-label={"month-" + this.props.day.format("YYYY-MM")} + aria-label={'month-' + utils.formatDate(this.props.day, 'YYYY-MM')} > {this.renderWeeks()} diff --git a/src/month_dropdown.jsx b/src/month_dropdown.jsx index 630dbb1dc..1f78bb1dc 100644 --- a/src/month_dropdown.jsx +++ b/src/month_dropdown.jsx @@ -10,7 +10,6 @@ export default class MonthDropdown extends React.Component { static propTypes = { dropdownMode: PropTypes.oneOf(["scroll", "select"]).isRequired, locale: PropTypes.string, - dateFormat: PropTypes.string.isRequired, month: PropTypes.number.isRequired, onChange: PropTypes.func.isRequired, useShortMonthInDropdown: PropTypes.bool @@ -84,16 +83,10 @@ export default class MonthDropdown extends React.Component { }); render() { - const localeData = utils.getLocaleDataForLocale(this.props.locale); const monthNames = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].map( this.props.useShortMonthInDropdown - ? M => utils.getMonthShortInLocale(localeData, utils.newDate({ M })) - : M => - utils.getMonthInLocale( - localeData, - utils.newDate({ M }), - this.props.dateFormat - ) + ? M => utils.getMonthShortInLocale(M, this.props.locale) + : M => utils.getMonthInLocale(M, this.props.locale) ); let renderedDropdown; diff --git a/src/month_year_dropdown.jsx b/src/month_year_dropdown.jsx index e18151c42..68c200f46 100644 --- a/src/month_year_dropdown.jsx +++ b/src/month_year_dropdown.jsx @@ -9,8 +9,8 @@ import { isAfter, isSameMonth, isSameYear, - localizeDate, - newDate + newDate, + getTime } from "./date_utils"; var WrappedMonthYearDropdownOptions = onClickOutside(MonthYearDropdownOptions); @@ -20,9 +20,9 @@ export default class MonthYearDropdown extends React.Component { dropdownMode: PropTypes.oneOf(["scroll", "select"]).isRequired, dateFormat: PropTypes.string.isRequired, locale: PropTypes.string, - maxDate: PropTypes.object.isRequired, - minDate: PropTypes.object.isRequired, - date: PropTypes.object.isRequired, + maxDate: PropTypes.instanceOf(Date).isRequired, + minDate: PropTypes.instanceOf(Date).isRequired, + date: PropTypes.instanceOf(Date).isRequired, onChange: PropTypes.func.isRequired, scrollableMonthYearDropdown: PropTypes.bool }; @@ -32,24 +32,19 @@ export default class MonthYearDropdown extends React.Component { }; renderSelectOptions = () => { - const currDate = getStartOfMonth( - localizeDate(this.props.minDate, this.props.locale) - ); - const lastDate = getStartOfMonth( - localizeDate(this.props.maxDate, this.props.locale) - ); - + let currDate = getStartOfMonth(this.props.minDate); + const lastDate = getStartOfMonth(this.props.maxDate); const options = []; while (!isAfter(currDate, lastDate)) { - const timepoint = currDate.valueOf(); + const timepoint = getTime(currDate); options.push( - {formatDate(currDate, this.props.dateFormat)} + {formatDate(currDate, this.props.dateFormat, this.props.locale)} ); - addMonths(currDate, 1); + currDate = addMonths(currDate, 1); } return options; @@ -61,7 +56,7 @@ export default class MonthYearDropdown extends React.Component { renderSelectMode = () => ( @@ -71,8 +66,9 @@ export default class MonthYearDropdown extends React.Component { renderReadView = visible => { const yearMonth = formatDate( - localizeDate(newDate(this.props.date), this.props.locale), - this.props.dateFormat + this.props.date, + this.props.dateFormat, + this.props.locale ); return ( @@ -98,8 +94,8 @@ export default class MonthYearDropdown extends React.Component { dateFormat={this.props.dateFormat} onChange={this.onChange} onCancel={this.toggleDropdown} - minDate={localizeDate(this.props.minDate, this.props.locale)} - maxDate={localizeDate(this.props.maxDate, this.props.locale)} + minDate={this.props.minDate} + maxDate={this.props.maxDate} scrollableMonthYearDropdown={this.props.scrollableMonthYearDropdown} /> ); diff --git a/src/month_year_dropdown_options.jsx b/src/month_year_dropdown_options.jsx index e04e08bd1..977398b78 100644 --- a/src/month_year_dropdown_options.jsx +++ b/src/month_year_dropdown_options.jsx @@ -3,37 +3,37 @@ import PropTypes from "prop-types"; import classNames from "classnames"; import { addMonths, - cloneDate, formatDate, getStartOfMonth, + newDate, isAfter, isSameMonth, - isSameYear + isSameYear, + getTime } from "./date_utils"; function generateMonthYears(minDate, maxDate) { const list = []; - const currDate = getStartOfMonth(cloneDate(minDate)); - const lastDate = getStartOfMonth(cloneDate(maxDate)); + let currDate = getStartOfMonth(minDate); + const lastDate = getStartOfMonth(maxDate); while (!isAfter(currDate, lastDate)) { - list.push(cloneDate(currDate)); + list.push(newDate(currDate)); - addMonths(currDate, 1); + currDate = addMonths(currDate, 1); } - return list; } export default class MonthYearDropdownOptions extends React.Component { static propTypes = { - minDate: PropTypes.object.isRequired, - maxDate: PropTypes.object.isRequired, + minDate: PropTypes.instanceOf(Date).isRequired, + maxDate: PropTypes.instanceOf(Date).isRequired, onCancel: PropTypes.func.isRequired, onChange: PropTypes.func.isRequired, scrollableMonthYearDropdown: PropTypes.bool, - date: PropTypes.object.isRequired, + date: PropTypes.instanceOf(Date).isRequired, dateFormat: PropTypes.string.isRequired }; @@ -47,8 +47,7 @@ export default class MonthYearDropdownOptions extends React.Component { renderOptions = () => { return this.state.monthYearsList.map(monthYear => { - const monthYearPoint = monthYear.valueOf(); - + const monthYearPoint = getTime(monthYear); const isSameMonthYear = isSameYear(this.props.date, monthYear) && isSameMonth(this.props.date, monthYear); diff --git a/src/time.jsx b/src/time.jsx index d80a78398..c70dc4ebb 100644 --- a/src/time.jsx +++ b/src/time.jsx @@ -1,12 +1,11 @@ import React from "react"; import PropTypes from "prop-types"; import { - getHour, - getMinute, + getHours, + getMinutes, newDate, getStartOfDay, addMinutes, - cloneDate, formatDate, isTimeInDisabledRange, isTimeDisabled, @@ -18,11 +17,11 @@ export default class Time extends React.Component { format: PropTypes.string, includeTimes: PropTypes.array, intervals: PropTypes.number, - selected: PropTypes.object, + selected: PropTypes.instanceOf(Date), onChange: PropTypes.func, todayButton: PropTypes.node, - minTime: PropTypes.object, - maxTime: PropTypes.object, + minTime: PropTypes.instanceOf(Date), + maxTime: PropTypes.instanceOf(Date), excludeTimes: PropTypes.array, monthRef: PropTypes.object, timeCaption: PropTypes.string, @@ -65,14 +64,13 @@ export default class Time extends React.Component { ) { return; } - this.props.onChange(time); }; liClasses = (time, currH, currM) => { let classes = ["react-datepicker__time-list-item"]; - if (currH === getHour(time) && currM === getMinute(time)) { + if (currH === getHours(time) && currM === getMinutes(time)) { classes.push("react-datepicker__time-list-item--selected"); } if ( @@ -87,7 +85,7 @@ export default class Time extends React.Component { } if ( this.props.injectTimes && - (getHour(time) * 60 + getMinute(time)) % this.props.intervals !== 0 + (getHours(time) * 60 + getMinutes(time)) % this.props.intervals !== 0 ) { classes.push("react-datepicker__time-list-item--injected"); } @@ -97,11 +95,11 @@ export default class Time extends React.Component { renderTimes = () => { let times = []; - const format = this.props.format ? this.props.format : "hh:mm A"; + const format = this.props.format ? this.props.format : "p"; const intervals = this.props.intervals; const activeTime = this.props.selected ? this.props.selected : newDate(); - const currH = getHour(activeTime); - const currM = getMinute(activeTime); + const currH = getHours(activeTime); + const currM = getMinutes(activeTime); let base = getStartOfDay(newDate()); const multiplier = 1440 / intervals; const sortedInjectTimes = @@ -110,7 +108,7 @@ export default class Time extends React.Component { return a - b; }); for (let i = 0; i < multiplier; i++) { - const currentTime = addMinutes(cloneDate(base), i * intervals); + const currentTime = addMinutes(base, i * intervals); times.push(currentTime); if (sortedInjectTimes) { @@ -132,8 +130,8 @@ export default class Time extends React.Component { className={this.liClasses(time, currH, currM)} ref={li => { if ( - (currH === getHour(time) && currM === getMinute(time)) || - (currH === getHour(time) && !this.centerLi) + (currH === getHours(time) && currM === getMinutes(time)) || + (currH === getHours(time) && !this.centerLi) ) { this.centerLi = li; } diff --git a/src/week.jsx b/src/week.jsx index 9818b0631..2f1da3cd1 100644 --- a/src/week.jsx +++ b/src/week.jsx @@ -1,8 +1,8 @@ -import React from "react"; -import PropTypes from "prop-types"; -import Day from "./day"; -import WeekNumber from "./week_number"; -import * as utils from "./date_utils"; +import React from 'react'; +import PropTypes from 'prop-types'; +import Day from './day'; +import WeekNumber from './week_number'; +import * as utils from './date_utils'; export default class Week extends React.Component { static get defaultProps() { @@ -12,31 +12,31 @@ export default class Week extends React.Component { } static propTypes = { disabledKeyboardNavigation: PropTypes.bool, - day: PropTypes.object.isRequired, + day: PropTypes.instanceOf(Date).isRequired, dayClassName: PropTypes.func, - endDate: PropTypes.object, + endDate: PropTypes.instanceOf(Date), excludeDates: PropTypes.array, filterDate: PropTypes.func, formatWeekNumber: PropTypes.func, highlightDates: PropTypes.instanceOf(Map), includeDates: PropTypes.array, inline: PropTypes.bool, - maxDate: PropTypes.object, - minDate: PropTypes.object, + locale: PropTypes.string, + maxDate: PropTypes.instanceOf(Date), + minDate: PropTypes.instanceOf(Date), month: PropTypes.number, onDayClick: PropTypes.func, onDayMouseEnter: PropTypes.func, onWeekSelect: PropTypes.func, - preSelection: PropTypes.object, - selected: PropTypes.object, - selectingDate: PropTypes.object, + preSelection: PropTypes.instanceOf(Date), + selected: PropTypes.instanceOf(Date), + selectingDate: PropTypes.instanceOf(Date), selectsEnd: PropTypes.bool, selectsStart: PropTypes.bool, showWeekNumber: PropTypes.bool, - startDate: PropTypes.object, + startDate: PropTypes.instanceOf(Date), setOpen: PropTypes.func, shouldCloseOnSelect: PropTypes.bool, - utcOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), renderDayContents: PropTypes.func }; @@ -53,7 +53,7 @@ export default class Week extends React.Component { }; handleWeekClick = (day, weekNumber, event) => { - if (typeof this.props.onWeekSelect === "function") { + if (typeof this.props.onWeekSelect === 'function') { this.props.onWeekSelect(day, weekNumber, event); } if (this.props.shouldCloseOnSelect) { @@ -69,7 +69,7 @@ export default class Week extends React.Component { }; renderDays = () => { - const startOfWeek = utils.getStartOfWeek(utils.cloneDate(this.props.day)); + const startOfWeek = utils.getStartOfWeek(this.props.day, this.props.locale); const days = []; const weekNumber = this.formatWeekNumber(startOfWeek); if (this.props.showWeekNumber) { @@ -82,7 +82,7 @@ export default class Week extends React.Component { } return days.concat( [0, 1, 2, 3, 4, 5, 6].map(offset => { - const day = utils.addDays(utils.cloneDate(startOfWeek), offset); + const day = utils.addDays(startOfWeek, offset); return ( diff --git a/src/year_dropdown.jsx b/src/year_dropdown.jsx index 6fa6adbbf..633a098ff 100644 --- a/src/year_dropdown.jsx +++ b/src/year_dropdown.jsx @@ -10,13 +10,13 @@ export default class YearDropdown extends React.Component { static propTypes = { adjustDateOnChange: PropTypes.bool, dropdownMode: PropTypes.oneOf(["scroll", "select"]).isRequired, - maxDate: PropTypes.object, - minDate: PropTypes.object, + maxDate: PropTypes.instanceOf(Date), + minDate: PropTypes.instanceOf(Date), onChange: PropTypes.func.isRequired, scrollableYearDropdown: PropTypes.bool, year: PropTypes.number.isRequired, yearDropdownItemNumber: PropTypes.number, - date: PropTypes.object, + date: PropTypes.instanceOf(Date), onSelect: PropTypes.func, setOpen: PropTypes.func }; diff --git a/src/year_dropdown_options.jsx b/src/year_dropdown_options.jsx index 759dc8984..142e07206 100644 --- a/src/year_dropdown_options.jsx +++ b/src/year_dropdown_options.jsx @@ -1,6 +1,7 @@ import React from "react"; import PropTypes from "prop-types"; import classNames from "classnames"; +import { getYear } from "./date_utils"; function generateYears(year, noOfYear, minDate, maxDate) { var list = []; @@ -9,11 +10,11 @@ function generateYears(year, noOfYear, minDate, maxDate) { let isInRange = true; if (minDate) { - isInRange = minDate.year() <= newYear; + isInRange = getYear(minDate) <= newYear; } if (maxDate && isInRange) { - isInRange = maxDate.year() >= newYear; + isInRange = getYear(maxDate) >= newYear; } if (isInRange) { @@ -26,8 +27,8 @@ function generateYears(year, noOfYear, minDate, maxDate) { export default class YearDropdownOptions extends React.Component { static propTypes = { - minDate: PropTypes.object, - maxDate: PropTypes.object, + minDate: PropTypes.instanceOf(Date), + maxDate: PropTypes.instanceOf(Date), onCancel: PropTypes.func.isRequired, onChange: PropTypes.func.isRequired, scrollableYearDropdown: PropTypes.bool, @@ -73,8 +74,8 @@ export default class YearDropdownOptions extends React.Component { )); - const minYear = this.props.minDate ? this.props.minDate.year() : null; - const maxYear = this.props.maxDate ? this.props.maxDate.year() : null; + const minYear = this.props.minDate ? getYear(this.props.minDate) : null; + const maxYear = this.props.maxDate ? getYear(this.props.maxDate) : null; if (!maxYear || !this.state.yearsList.find(year => year === maxYear)) { options.unshift( diff --git a/test/calendar_test.js b/test/calendar_test.js index 014de7020..ee0c71207 100644 --- a/test/calendar_test.js +++ b/test/calendar_test.js @@ -11,12 +11,14 @@ import DatePicker from "../src/index.jsx"; import { shallow, mount } from "enzyme"; import sinon from "sinon"; import * as utils from "../src/date_utils"; +import fi from "date-fns/locale/fi"; // TODO Possibly rename -const DATE_FORMAT = "MM/DD/YYYY"; +const DATE_FORMAT = "MM/dd/yyyy"; describe("Calendar", function() { - const dateFormat = "MMMM YYYY"; + const dateFormat = "MMMM yyyy"; + utils.registerLocale("fi", fi); function getCalendar(extraProps) { return shallow( @@ -37,21 +39,6 @@ describe("Calendar", function() { assert(utils.isSameDay(calendar.state().date, now)); }); - it("should start with the today date with specified time zone", function() { - let utcOffset = 12; - let calendar = getCalendar({ utcOffset }); - assert( - utils.isSameDay(calendar.state().date, utils.newDateWithOffset(utcOffset)) - ); - - // using string offsets - utcOffset = "+12:00"; - calendar = getCalendar({ utcOffset }); - assert( - utils.isSameDay(calendar.state().date, utils.newDateWithOffset(utcOffset)) - ); - }); - it("should start with the selected date in view if provided", function() { const selected = utils.addYears(utils.newDate(), 1); const calendar = getCalendar({ selected }); @@ -67,8 +54,8 @@ describe("Calendar", function() { it("should start with the current date in view if in date range", function() { const now = utils.newDate(); - const minDate = utils.subtractYears(utils.cloneDate(now), 1); - const maxDate = utils.addYears(utils.cloneDate(now), 1); + const minDate = utils.subYears(now, 1); + const maxDate = utils.addYears(now, 1); const calendar = getCalendar({ minDate, maxDate }); assert(utils.isSameDay(calendar.state().date, now)); }); @@ -86,67 +73,55 @@ describe("Calendar", function() { }); it("should start with the max date in view if before the current date", function() { - const maxDate = utils.subtractYears(utils.newDate(), 1); + const maxDate = utils.subYears(utils.newDate(), 1); const calendar = getCalendar({ maxDate }); assert(utils.isSameDay(calendar.state().date, maxDate)); }); it("should start with the max include date in view if before the current date", function() { - const maxDate = utils.subtractYears(utils.newDate(), 1); + const maxDate = utils.subYears(utils.newDate(), 1); const calendar = getCalendar({ includeDates: [maxDate] }); assert(utils.isSameDay(calendar.state().date, maxDate)); }); it("should start with the open to date in view if given and no selected/min/max dates given", function() { - const openToDate = utils.parseDate("09/28/1993", { - dateFormat: DATE_FORMAT - }); + const openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); const calendar = getCalendar({ openToDate }); assert(utils.isSameDay(calendar.state().date, openToDate)); }); it("should start with the open to date in view if given and after a min date", function() { - const openToDate = utils.parseDate("09/28/1993", { - dateFormat: DATE_FORMAT - }); - const minDate = utils.parseDate("01/01/1993", { dateFormat: DATE_FORMAT }); + const openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); + const minDate = utils.parseDate("01/01/1993", DATE_FORMAT); const calendar = getCalendar({ openToDate, minDate }); assert(utils.isSameDay(calendar.state().date, openToDate)); }); it("should start with the open to date in view if given and before a max date", function() { - const openToDate = utils.parseDate("09/28/1993", { - dateFormat: DATE_FORMAT - }); - const maxDate = utils.parseDate("12/31/1993", { dateFormat: DATE_FORMAT }); + const openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); + const maxDate = utils.parseDate("12/31/1993", DATE_FORMAT); const calendar = getCalendar({ openToDate, maxDate }); assert(utils.isSameDay(calendar.state().date, openToDate)); }); it("should start with the open to date in view if given and in range of the min/max dates", function() { - const openToDate = utils.parseDate("09/28/1993", { - dateFormat: DATE_FORMAT - }); - const minDate = utils.parseDate("01/01/1993", { dateFormat: DATE_FORMAT }); - const maxDate = utils.parseDate("12/31/1993", { dateFormat: DATE_FORMAT }); + const openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); + const minDate = utils.parseDate("01/01/1993", DATE_FORMAT); + const maxDate = utils.parseDate("12/31/1993", DATE_FORMAT); const calendar = getCalendar({ openToDate, minDate, maxDate }); assert(utils.isSameDay(calendar.state().date, openToDate)); }); it("should open on openToDate date rather than selected date when both are specified", function() { - var openToDate = utils.parseDate("09/28/1993", { dateFormat: DATE_FORMAT }); - var selected = utils.parseDate("09/28/1995", { dateFormat: DATE_FORMAT }); + var openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); + var selected = utils.parseDate("09/28/1995", DATE_FORMAT); var calendar = getCalendar({ openToDate, selected }); assert(utils.isSameDay(calendar.state().date, openToDate)); }); it("should trigger date change when openToDate prop is set after calcInitialState()", () => { - const openToDate = utils.parseDate("09/28/1993", { - dateFormat: DATE_FORMAT - }); - const oneMonthFromOpenToDate = utils.parseDate("10/28/1993", { - dateFormat: DATE_FORMAT - }); + const openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); + const oneMonthFromOpenToDate = utils.parseDate("10/28/1993", DATE_FORMAT); const calendar = getCalendar({ openToDate }); assert(utils.isSameDay(calendar.state().date, openToDate)); @@ -228,7 +203,7 @@ describe("Calendar", function() { changeYear(value)} > @@ -241,7 +216,7 @@ describe("Calendar", function() { changeMonth(value)} > {months.map(option => ( @@ -270,7 +245,7 @@ describe("Calendar", function() { const match = { changeMonth: sinon.match.func, changeYear: sinon.match.func, - date: sinon.match.object, + date: sinon.match.instanceOf(Date), decreaseMonth: sinon.match.func, increaseMonth: sinon.match.func, nextMonthButtonDisabled: sinon.match.bool, @@ -320,12 +295,14 @@ describe("Calendar", function() { renderCustomHeader }); - const selected = calendar.state().date.clone(); + const selected = utils.newDate(calendar.state().date); const prevMonth = calendar.find(".prevMonth"); prevMonth.simulate("click"); - expect(selected.month()).to.be.equal(calendar.state().date.month() + 1); + expect(utils.getMonth(selected)).to.be.equal( + utils.getMonth(calendar.state().date) + 1 + ); }); it("should go to next month", function() { @@ -333,12 +310,14 @@ describe("Calendar", function() { renderCustomHeader }); - const selected = calendar.state().date.clone(); + const selected = utils.newDate(calendar.state().date); const nextMonth = calendar.find(".nextMonth"); nextMonth.simulate("click"); - expect(selected.month()).to.be.equal(calendar.state().date.month() - 1); + expect(utils.getMonth(selected)).to.be.equal( + utils.getMonth(calendar.state().date) - 1 + ); }); it("nextMonthButtonDisabled flag should be true", function() { @@ -346,7 +325,7 @@ describe("Calendar", function() { getCalendar({ renderCustomHeader, - minDate: utils.subtractMonths(utils.newDate(), 1), + minDate: utils.subMonths(utils.newDate(), 1), maxDate: utils.newDate() }); @@ -398,9 +377,9 @@ describe("Calendar", function() { monthSelect.simulate("change", { target: { value: 4 } }); - const selected = calendar.state().date.clone(); + const selected = utils.newDate(calendar.state().date); - expect(selected.month()).to.be.equal(4); + expect(utils.getMonth(selected)).to.be.equal(4); }); it("should select 2017 from month select", function() { @@ -412,9 +391,9 @@ describe("Calendar", function() { yearSelect.simulate("change", { target: { value: 2017 } }); - const selected = calendar.state().date.clone(); + const selected = utils.newDate(calendar.state().date); - expect(selected.year()).to.be.equal(2017); + expect(utils.getYear(selected)).to.be.equal(2017); }); }); @@ -431,6 +410,7 @@ describe("Calendar", function() { maxDate: utils.addMonths(utils.newDate(), 3), showDisabledMonthNavigation: true }); + const prevDisabledNavigationButton = calendar.find( ".react-datepicker__navigation--previous--disabled" ); @@ -444,7 +424,7 @@ describe("Calendar", function() { it("should show disabled next month navigation", function() { const calendar = getCalendar({ - minDate: utils.subtractMonths(utils.newDate(), 3), + minDate: utils.subMonths(utils.newDate(), 3), maxDate: utils.newDate(), showDisabledMonthNavigation: true }); @@ -461,7 +441,7 @@ describe("Calendar", function() { it("should not show disabled previous/next month navigation when next/previous month available", function() { const calendar = getCalendar({ - minDate: utils.subtractMonths(utils.newDate(), 3), + minDate: utils.subMonths(utils.newDate(), 3), maxDate: utils.addMonths(utils.newDate(), 3), showDisabledMonthNavigation: true }); @@ -509,7 +489,7 @@ describe("Calendar", function() { it("when clicking non-disabled month navigation, should change month", function() { const calendar = getCalendar({ selected: utils.newDate(), - minDate: utils.subtractMonths(utils.newDate(), 3), + minDate: utils.subMonths(utils.newDate(), 3), maxDate: utils.addMonths(utils.newDate(), 3), showDisabledMonthNavigation: true, onMonthChange: onMonthChangeSpy @@ -559,7 +539,7 @@ describe("Calendar", function() { it("should show the month-year dropdown menu if toggled on", function() { const calendar = getCalendar({ showMonthYearDropdown: true, - minDate: utils.subtractYears(utils.newDate(), 1), + minDate: utils.subYears(utils.newDate(), 1), maxDate: utils.addYears(utils.newDate(), 1) }); const monthYearReadView = calendar.find(MonthYearDropdown); @@ -569,7 +549,7 @@ describe("Calendar", function() { it("should show only one month-year dropdown menu if toggled on and multiple month mode on", function() { const calendar = getCalendar({ showMonthYearDropdown: true, - minDate: utils.subtractYears(utils.newDate(), 1), + minDate: utils.subYears(utils.newDate(), 1), maxDate: utils.addYears(utils.newDate(), 1), monthsShown: 2 }); @@ -594,15 +574,7 @@ describe("Calendar", function() { const calendar = getCalendar({ todayButton: "Vandaag" }); const todayButton = calendar.find(".react-datepicker__today-button"); todayButton.simulate("click"); - expect(calendar.state().date.isSame(utils.newDate(), "day")); - }); - - it("should set custom today date when pressing todayButton", () => { - const todayInAuckland = utils.newDateWithOffset(12); - const calendar = getCalendar({ todayButton: "Vandaag", utcOffset: 12 }); - const todayButton = calendar.find(".react-datepicker__today-button"); - todayButton.simulate("click"); - expect(utils.isSameDay(calendar.state().date, todayInAuckland)); + expect(utils.isSameDay(calendar.state().date, utils.newDate())); }); it("should use a hash for week label if weekLabel is NOT provided", () => { @@ -657,24 +629,31 @@ describe("Calendar", function() { }); it("uses weekdaysShort instead of weekdaysMin provided useWeekdaysShort prop is present", () => { - utils.registerLocale("weekDaysLocale", { - parentLocale: "en", - weekdaysMin: "AA_BB_CC_DD_EE_FF_GG".split("_"), - weekdaysShort: "AAA_BBB_CCC_DDD_EEE_FFF_GGG".split("_") - }); - const calendarShort = mount( - + {}} + onSelect={() => {}} + useWeekdaysShort + /> + ); + const calendarMin = mount( + {}} + onSelect={() => {}} + /> ); - const calendarMin = mount(); const daysNamesShort = calendarShort.find(".react-datepicker__day-name"); - expect(daysNamesShort.at(0).text()).to.equal("AAA"); - expect(daysNamesShort.at(6).text()).to.equal("GGG"); + expect(daysNamesShort.at(0).text()).to.equal("Sun"); + expect(daysNamesShort.at(6).text()).to.equal("Sat"); const daysNamesMin = calendarMin.find(".react-datepicker__day-name"); - expect(daysNamesMin.at(0).text()).to.equal("AA"); - expect(daysNamesMin.at(6).text()).to.equal("GG"); + expect(daysNamesMin.at(0).text()).to.equal("Su"); + expect(daysNamesMin.at(6).text()).to.equal("Sa"); }); it("should set the date to the selected day of the previous month when previous button clicked", () => { @@ -699,7 +678,7 @@ describe("Calendar", function() { "react-datepicker__navigation--previous" ); TestUtils.Simulate.click(previousButton); - expect(utils.formatDate(date, "DD.MM.YYYY")).to.equal(expectedDate); + expect(utils.formatDate(date, "dd.MM.yyyy")).to.equal(expectedDate); }); it("should set the date to the selected day of the next when next button clicked", () => { @@ -724,7 +703,7 @@ describe("Calendar", function() { "react-datepicker__navigation--next" ); TestUtils.Simulate.click(nextButton); - expect(utils.formatDate(date, "DD.MM.YYYY")).to.equal(expectedDate); + expect(utils.formatDate(date, "dd.MM.yyyy")).to.equal(expectedDate); }); it("should set the date to the last possible day of the previous month when previous button clicked", () => { @@ -749,7 +728,7 @@ describe("Calendar", function() { "react-datepicker__navigation--previous" ); TestUtils.Simulate.click(previousButton); - expect(utils.formatDate(date, "DD.MM.YYYY")).to.equal(expectedDate); + expect(utils.formatDate(date, "dd.MM.yyyy")).to.equal(expectedDate); }); describe("onMonthChange", () => { @@ -847,7 +826,7 @@ describe("Calendar", function() { hideCalendar={() => {}} dropdownMode="select" showMonthYearDropdown - minDate={utils.subtractYears(utils.newDate(), 1)} + minDate={utils.subYears(utils.newDate(), 1)} maxDate={utils.addYears(utils.newDate(), 1)} onYearChange={onYearChangeSpy} onMonthChange={onMonthChangeSpy} @@ -897,7 +876,7 @@ describe("Calendar", function() { showYearDropdown showMonthDropdown showMonthYearDropdown - minDate={utils.subtractYears(utils.newDate(), 1)} + minDate={utils.subYears(utils.newDate(), 1)} maxDate={utils.addYears(utils.newDate(), 1)} onDropdownFocus={onDropdownFocusSpy} /> @@ -947,46 +926,50 @@ describe("Calendar", function() { describe("localization", function() { function testLocale(calendar, selected, locale) { - const localized = utils.localizeDate(selected, locale); - const calendarText = calendar.find(".react-datepicker__current-month"); expect(calendarText.text()).to.equal( - utils.formatDate(localized, dateFormat) + utils.formatDate(selected, dateFormat, locale) ); - - const firstDateOfWeek = utils.getStartOfWeek(utils.cloneDate(localized)); + const firstDateOfWeek = utils.getStartOfWeek(selected, locale); const firstWeekDayMin = utils.getWeekdayMinInLocale( - utils.getLocaleData(firstDateOfWeek), - firstDateOfWeek + firstDateOfWeek, + locale ); const firstHeader = calendar.find(".react-datepicker__day-name").at(0); expect(firstHeader.text()).to.equal(firstWeekDayMin); } - it("should use the globally-defined locale by default", function() { + it("should use the 'en' locale by default", function() { const selected = utils.newDate(); const calendar = getCalendar({ selected }); - testLocale(calendar, selected, utils.getDefaultLocale()); + testLocale(calendar, selected); + }); + + it("should use the default locale when set", function() { + const selected = utils.newDate(); + utils.setDefaultLocale("fi"); + + const calendar = getCalendar({ selected }); + testLocale(calendar, selected, "fi"); + utils.setDefaultLocale(""); }); it("should use the locale specified as a prop", function() { - const locale = "fr"; - const selected = utils.localizeDate(utils.newDate(), locale); + utils.registerLocale("fi", fi); + const locale = "fi"; + const selected = utils.newDate(); const calendar = getCalendar({ selected, locale }); testLocale(calendar, selected, locale); }); - it("should override the locale of the date with the globally-defined locale", function() { - const selected = utils.localizeDate(utils.newDate(), "fr"); - const calendar = getCalendar({ selected }); - testLocale(calendar, selected, utils.getDefaultLocale()); - }); - - it("should override the locale of the date with the locale prop", function() { - const locale = "fr"; + it("should override the default locale with the locale prop", function() { + const locale = "en"; const selected = utils.newDate(); + utils.setDefaultLocale("fi"); + const calendar = getCalendar({ selected, locale }); testLocale(calendar, selected, locale); + utils.setDefaultLocale(""); }); it("should render empty custom header", function() { diff --git a/test/date_utils_test.js b/test/date_utils_test.js index 1ec41207f..431e96f56 100644 --- a/test/date_utils_test.js +++ b/test/date_utils_test.js @@ -1,17 +1,14 @@ import { newDate, - setUTCOffset, - cloneDate, addDays, - subtractDays, - equals, + subDays, + isEqual, isSameDay, isSameMonth, isSameYear, - isSameUtcOffset, isDayDisabled, - allDaysDisabledBefore, - allDaysDisabledAfter, + monthDisabledBefore, + monthDisabledAfter, getEffectiveMinDate, getEffectiveMaxDate } from "../src/date_utils"; @@ -80,73 +77,6 @@ describe("date_utils", function() { }); }); - describe("isSameUtcOffset", function() { - it("should return true for null dates", function() { - expect(isSameUtcOffset(null, null)).to.be.true; - }); - - it("should return false for a null and a non-null date", function() { - expect(isSameUtcOffset(newDate(), null)).to.be.false; - expect(isSameUtcOffset(null, newDate())).to.be.false; - }); - - it("should return true for non-equal utc offsets, but same dates", function() { - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-02-10"), -3), - setUTCOffset(newDate("2016-02-10"), 5) - ) - ).to.be.false; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-02-10"), 3), - setUTCOffset(newDate("2016-02-10"), -5) - ) - ).to.be.false; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-02-10"), 180), - setUTCOffset(newDate("2016-02-10"), -210) - ) - ).to.be.false; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-02-10"), "-05:45"), - setUTCOffset(newDate("2016-02-10"), "+01:00") - ) - ).to.be.false; - }); - - it("should return true for equal utc offsets, regardless of dates", function() { - expect(isSameUtcOffset(newDate("2016-02-10"), newDate("2016-02-10"))).to - .be.true; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-02-10"), -3), - setUTCOffset(newDate("2016-05-10"), -3) - ) - ).to.be.true; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-12-10"), 6), - setUTCOffset(newDate("2016-02-15"), 6) - ) - ).to.be.true; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-12-10"), "+04:00"), - setUTCOffset(newDate("2016-02-15"), "+04:00") - ) - ).to.be.true; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-12-10"), "-02:00"), - setUTCOffset(newDate("2016-02-15"), "-0200") - ) - ).to.be.true; - }); - }); - describe("isDayDisabled", function() { it("should be enabled by default", () => { const day = newDate(); @@ -160,7 +90,7 @@ describe("date_utils", function() { it("should be disabled if before the min date", () => { const day = newDate(); - const minDate = addDays(cloneDate(day), 1); + const minDate = addDays(day, 1); expect(isDayDisabled(day, { minDate })).to.be.true; }); @@ -171,7 +101,7 @@ describe("date_utils", function() { it("should be disabled if after the max date", () => { const day = newDate(); - const maxDate = subtractDays(cloneDate(day), 1); + const maxDate = subDays(day, 1); expect(isDayDisabled(day, { maxDate })).to.be.true; }); @@ -187,79 +117,79 @@ describe("date_utils", function() { it("should be disabled if not in included dates", () => { const day = newDate(); - const includeDates = [addDays(cloneDate(day), 1)]; + const includeDates = [addDays(day, 1)]; expect(isDayDisabled(day, { includeDates })).to.be.true; }); it("should be enabled if date filter returns true", () => { const day = newDate(); - const filterDate = d => equals(d, day); + const filterDate = d => isEqual(d, day); expect(isDayDisabled(day, { filterDate })).to.be.false; }); it("should be disabled if date filter returns false", () => { const day = newDate(); - const filterDate = d => !equals(d, day); + const filterDate = d => !isEqual(d, day); expect(isDayDisabled(day, { filterDate })).to.be.true; }); it("should not allow date filter to modify input date", () => { const day = newDate(); - const dayClone = cloneDate(day); + const dayClone = newDate(day); const filterDate = d => { addDays(d, 1); return true; }; isDayDisabled(day, { filterDate }); - expect(equals(day, dayClone)).to.be.true; + expect(isEqual(day, dayClone)).to.be.true; }); }); - describe("allDaysDisabledBefore", () => { + describe("monthDisabledBefore", () => { it("should return false by default", () => { - expect(allDaysDisabledBefore(newDate(), "month")).to.be.false; + expect(monthDisabledBefore(newDate())).to.be.false; }); - it("should return true if min date is in the same unit", () => { + it("should return true if min date is in the same month", () => { const day = newDate("2016-03-19"); const minDate = newDate("2016-03-01"); - expect(allDaysDisabledBefore(day, "month", { minDate })).to.be.true; + expect(monthDisabledBefore(day, { minDate })).to.be.true; }); - it("should return false if min date is in the previous unit", () => { + it("should return false if min date is in the previous month", () => { const day = newDate("2016-03-19"); const minDate = newDate("2016-02-29"); - expect(allDaysDisabledBefore(day, "month", { minDate })).to.be.false; + expect(monthDisabledBefore(day, { minDate })).to.be.false; }); - it("should return true if previous unit is before include dates", () => { + it("should return true if previous month is before include dates", () => { const day = newDate("2016-03-19"); const includeDates = [newDate("2016-03-01")]; - expect(allDaysDisabledBefore(day, "month", { includeDates })).to.be.true; + expect(monthDisabledBefore(day, { includeDates })).to.be.true; }); }); - describe("allDaysDisabledAfter", () => { + describe("monthDisabledAfter", () => { it("should return false by default", () => { - expect(allDaysDisabledAfter(newDate(), "month")).to.be.false; + expect(monthDisabledAfter(newDate())).to.be.false; }); - it("should return true if max date is in the same unit", () => { + it("should return true if max date is in the same month", () => { const day = newDate("2016-03-19"); const maxDate = newDate("2016-03-31"); - expect(allDaysDisabledAfter(day, "month", { maxDate })).to.be.true; + expect(monthDisabledAfter(day, { maxDate })).to.be.true; }); - it("should return false if max date is in the next unit", () => { + it("should return false if max date is in the next month", () => { const day = newDate("2016-03-19"); const maxDate = newDate("2016-04-01"); - expect(allDaysDisabledAfter(day, "month", { maxDate })).to.be.false; + expect(monthDisabledAfter(day, { maxDate })).to.be.false; }); - it("should return true if next unit is after include dates", () => { + it("should return true if next month is after include dates", () => { const day = newDate("2016-03-19"); const includeDates = [newDate("2016-03-01")]; - expect(allDaysDisabledAfter(day, "month", { includeDates })).to.be.true; + expect(monthDisabledAfter(day, { includeDates })).to.be.true; }); }); @@ -270,14 +200,15 @@ describe("date_utils", function() { it("should return the min date", () => { const minDate = newDate("2016-03-30"); - assert(equals(getEffectiveMinDate({ minDate }), minDate)); + const result = getEffectiveMinDate({ minDate }); + assert(isEqual(minDate, result)); }); it("should return the minimum include date", () => { const date1 = newDate("2016-03-30"); const date2 = newDate("2016-04-01"); const includeDates = [date1, date2]; - assert(equals(getEffectiveMinDate({ includeDates }), date1)); + assert(isEqual(getEffectiveMinDate({ includeDates }), date1)); }); it("should return the minimum include date satisfying the min date", () => { @@ -285,7 +216,7 @@ describe("date_utils", function() { const date1 = newDate("2016-03-30"); const date2 = newDate("2016-04-01"); const includeDates = [date1, date2]; - assert(equals(getEffectiveMinDate({ minDate, includeDates }), date2)); + assert(isEqual(getEffectiveMinDate({ minDate, includeDates }), date2)); }); }); @@ -296,14 +227,14 @@ describe("date_utils", function() { it("should return the max date", () => { const maxDate = newDate("2016-03-30"); - assert(equals(getEffectiveMaxDate({ maxDate }), maxDate)); + assert(isEqual(getEffectiveMaxDate({ maxDate }), maxDate)); }); it("should return the maximum include date", () => { const date1 = newDate("2016-03-30"); const date2 = newDate("2016-04-01"); const includeDates = [date1, date2]; - assert(equals(getEffectiveMaxDate({ includeDates }), date2)); + assert(isEqual(getEffectiveMaxDate({ includeDates }), date2)); }); it("should return the maximum include date satisfying the max date", () => { @@ -311,7 +242,7 @@ describe("date_utils", function() { const date1 = newDate("2016-03-30"); const date2 = newDate("2016-04-01"); const includeDates = [date1, date2]; - assert(equals(getEffectiveMaxDate({ maxDate, includeDates }), date1)); + assert(isEqual(getEffectiveMaxDate({ maxDate, includeDates }), date1)); }); }); }); diff --git a/test/datepicker_test.js b/test/datepicker_test.js index b473b49f2..42683b036 100644 --- a/test/datepicker_test.js +++ b/test/datepicker_test.js @@ -7,7 +7,6 @@ import DatePicker from "../src/index.jsx"; import Day from "../src/day"; import TestWrapper from "./test_wrapper.jsx"; import PopperComponent from "../src/popper_component.jsx"; -import TimezoneDatePicker from "./timezone_date_picker.jsx"; import CustomInput from "./helper_components/custom_input.jsx"; import * as utils from "../src/date_utils"; @@ -233,13 +232,15 @@ describe("DatePicker", () => { it("should update the preSelection state when a day is selected with Enter press", () => { var data = getOnInputKeyDownStuff({ shouldCloseOnSelect: false }); var dateInput = data.datePicker.input; + TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); TestUtils.Simulate.keyDown( ReactDOM.findDOMNode(dateInput), getKey("Enter") ); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); - utils.addWeeks(data.copyM, 2); + + data.copyM = utils.addWeeks(data.copyM, 2); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -250,7 +251,7 @@ describe("DatePicker", () => { // ArrowLeft selects the previous month. (On the 1st 2 days of the month.) // On the last week of the month, when the next month includes the current // week, we need monthsShown=1 to prevent today from appearing twice. - const dayOfMonth = utils.getDate(utils.now()); + const dayOfMonth = utils.getDate(utils.newDate()); var data = getOnInputKeyDownStuff({ shouldCloseOnSelect: false, monthsShown: dayOfMonth < 15 ? 2 : 1 @@ -266,7 +267,7 @@ describe("DatePicker", () => { TestUtils.Simulate.click(ReactDOM.findDOMNode(day)); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); - utils.addWeeks(data.copyM, 1); + data.copyM = utils.addWeeks(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -403,9 +404,9 @@ describe("DatePicker", () => { )[0]; TestUtils.Simulate.click(dayButton); - expect(utils.getHour(date)).to.equal(10); - expect(utils.getMinute(date)).to.equal(11); - expect(utils.getSecond(date)).to.equal(12); + expect(utils.getHours(date)).to.equal(10); + expect(utils.getMinutes(date)).to.equal(11); + expect(utils.getSeconds(date)).to.equal(12); }); it("should mount and unmount properly", done => { @@ -477,9 +478,9 @@ describe("DatePicker", () => { function getOnInputKeyDownStuff(opts) { opts = opts || {}; var m = utils.newDate(); - var copyM = utils.cloneDate(m); - var testFormat = "YYYY-MM-DD"; - var exactishFormat = "YYYY-MM-DD HH: ZZ"; + var copyM = utils.newDate(m); + var testFormat = "yyyy-MM-dd"; + var exactishFormat = "yyyy-MM-dd hh: zzzz"; var callback = sandbox.spy(); var onInputErrorCallback = sandbox.spy(); @@ -509,7 +510,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown ArrowLeft", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowLeft")); - utils.subtractDays(data.copyM, 1); + data.copyM = utils.subDays(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -517,7 +518,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown ArrowRight", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowRight")); - utils.addDays(data.copyM, 1); + data.copyM = utils.addDays(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -525,7 +526,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown ArrowUp", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowUp")); - utils.subtractWeeks(data.copyM, 1); + data.copyM = utils.subWeeks(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -533,7 +534,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown ArrowDown", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); - utils.addWeeks(data.copyM, 1); + data.copyM = utils.addWeeks(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -541,7 +542,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown PageUp", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("PageUp")); - utils.subtractMonths(data.copyM, 1); + data.copyM = utils.subMonths(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -549,7 +550,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown PageDown", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("PageDown")); - utils.addMonths(data.copyM, 1); + data.copyM = utils.addMonths(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -557,7 +558,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown End", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("End")); - utils.addYears(data.copyM, 1); + data.copyM = utils.addYears(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -565,14 +566,14 @@ describe("DatePicker", () => { it("should handle onInputKeyDown Home", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("Home")); - utils.subtractYears(data.copyM, 1); + data.copyM = utils.subYears(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); }); it("should not preSelect date if not between minDate and maxDate", () => { var data = getOnInputKeyDownStuff({ - minDate: utils.subtractDays(utils.newDate(), 1), + minDate: utils.subDays(utils.newDate(), 1), maxDate: utils.addDays(utils.newDate(), 1) }); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); @@ -592,7 +593,7 @@ describe("DatePicker", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowLeft")); TestUtils.Simulate.keyDown(data.nodeInput, getKey("Enter")); - utils.subtractDays(data.copyM, 1); + data.copyM = utils.subDays(data.copyM, 1); expect(data.callback.calledOnce).to.be.true; var result = data.callback.args[0][0]; expect(utils.formatDate(result, data.testFormat)).to.equal( @@ -610,7 +611,7 @@ describe("DatePicker", () => { utils.formatDate(data.callback.args[0][0], data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); }); - it("should not update the selected date if the date input manually it has something wrong", () => { + it("should not update the selected date if the manual date input is invalid", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); TestUtils.Simulate.keyDown(data.nodeInput, getKey("Backspace")); @@ -623,7 +624,7 @@ describe("DatePicker", () => { }); it("should not select excludeDates", () => { var data = getOnInputKeyDownStuff({ - excludeDates: [utils.subtractDays(utils.newDate(), 1)] + excludeDates: [utils.subDays(utils.newDate(), 1)] }); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowLeft")); TestUtils.Simulate.keyDown(data.nodeInput, getKey("Enter")); @@ -632,8 +633,7 @@ describe("DatePicker", () => { it("should not select dates excluded from filterDate", () => { var data = getOnInputKeyDownStuff({ filterDate: date => - utils.getDay(date) !== - utils.getDay(utils.subtractDays(utils.newDate(), 1)) + utils.getDay(date) !== utils.getDay(utils.subDays(utils.newDate(), 1)) }); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowLeft")); TestUtils.Simulate.keyDown(data.nodeInput, getKey("Enter")); @@ -674,7 +674,7 @@ describe("DatePicker", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowLeft")); data.datePicker.setOpen(true); - utils.subtractDays(data.copyM, 1); + data.copyM = utils.subDays(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -701,7 +701,6 @@ describe("DatePicker", () => { expect(utils.formatDate(selected, data.exactishFormat)).to.equal( utils.formatDate(data.copyM, data.exactishFormat) ); - expect(selected.isLocal()).to.equal(true); }); it("should autofocus the input given the autoFocus prop", () => { @@ -731,8 +730,8 @@ describe("DatePicker", () => { function getOnInputKeyDownDisabledKeyboardNavigationStuff() { var m = utils.newDate(); - var copyM = utils.cloneDate(m); - var testFormat = "YYYY-MM-DD"; + var copyM = utils.newDate(m); + var testFormat = "yyyy-MM-dd"; var callback = sandbox.spy(); var datePicker = TestUtils.renderIntoDocument( @@ -790,7 +789,6 @@ describe("DatePicker", () => { TestUtils.Simulate.keyDown(data.nodeInput, getKey("End")); expect(data.callback.called).to.be.false; }); - it("should correctly clear date with empty input string", () => { var cleared = false; function handleChange(d) { @@ -811,40 +809,6 @@ describe("DatePicker", () => { TestUtils.Simulate.change(input); expect(cleared).to.be.true; }); - it("should correctly update the date input when utcOffset is all that changes on the selected date", () => { - var date = utils.setUTCOffset(utils.newDate("2016-11-22T00:00:00Z"), -6); - var tmzDatePicker = mount(); - tmzDatePicker.setState({ startDate: date, utcOffset: -6 }); - - expect(tmzDatePicker.find("input").prop("value")).to.equal( - "2016-11-21 18:00" - ); - - tmzDatePicker.setState({ - utcOffset: 6, - startDate: utils.setUTCOffset(utils.cloneDate(date), 6) - }); - - expect(tmzDatePicker.find("input").prop("value")).to.equal( - "2016-11-22 06:00" - ); - - // using string offsets - tmzDatePicker.setState({ startDate: date, utcOffset: "-06:00" }); - - expect(tmzDatePicker.find("input").prop("value")).to.equal( - "2016-11-21 18:00" - ); - - tmzDatePicker.setState({ - utcOffset: "+06:00", - startDate: utils.setUTCOffset(utils.cloneDate(date), 6) - }); - - expect(tmzDatePicker.find("input").prop("value")).to.equal( - "2016-11-22 06:00" - ); - }); it("should correctly update the input when the value prop changes", () => { const datePicker = mount(); expect(datePicker.find("input").prop("value")).to.equal(""); @@ -855,7 +819,7 @@ describe("DatePicker", () => { const onChange = date => datePicker.setProps({ selected: date }); const datePicker = mount( ); @@ -873,7 +837,7 @@ describe("DatePicker", () => { ); }); expect( - utils.formatDate(datePicker.prop("selected"), "YYYY-MM-DD") + utils.formatDate(datePicker.prop("selected"), "yyyy-MM-dd") ).to.equal("1982-12-30"); }); it("should invoke provided onChangeRaw function on manual input change", () => { @@ -958,7 +922,7 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("1988-12-30"); }); it("should default to the start date when selecting an end date", () => { @@ -966,7 +930,7 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("1988-11-30"); }); it("should default to the end date when selecting a start date", () => { @@ -974,7 +938,7 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("1988-12-31"); }); it("should default to a date <= maxDate", () => { @@ -982,7 +946,7 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("1982-01-01"); }); it("should default to a date >= minDate", () => { @@ -990,7 +954,7 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("2063-04-05"); }); it("should default to the openToDate if there is one", () => { @@ -998,14 +962,14 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("2020-01-23"); }); it("should otherwise default to the current date", () => { const datePicker = mount(); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") - ).to.equal(utils.formatDate(utils.newDate(), "YYYY-MM-DD")); + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") + ).to.equal(utils.formatDate(utils.newDate(), "yyyy-MM-dd")); }); it("should support an initial null `selected` value in inline mode", () => { const datePicker = mount(); @@ -1019,24 +983,24 @@ describe("DatePicker", () => { const future = utils.addDays(utils.newDate(), 100); const datePicker = mount(); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") - ).to.equal(utils.formatDate(selected, "YYYY-MM-DD")); + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") + ).to.equal(utils.formatDate(selected, "yyyy-MM-dd")); datePicker.setProps({ selected: future }); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") - ).to.equal(utils.formatDate(future, "YYYY-MM-DD")); + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") + ).to.equal(utils.formatDate(future, "yyyy-MM-dd")); }); it("should switch month in inline mode immediately, when year is updated", () => { const selected = utils.newDate(); const future = utils.addYears(utils.newDate(), 1); const datePicker = mount(); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") - ).to.equal(utils.formatDate(selected, "YYYY-MM-DD")); + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") + ).to.equal(utils.formatDate(selected, "yyyy-MM-dd")); datePicker.setProps({ selected: future }); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") - ).to.equal(utils.formatDate(future, "YYYY-MM-DD")); + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") + ).to.equal(utils.formatDate(future, "yyyy-MM-dd")); }); it("should not switch months in inline mode when a day is clicked", () => { @@ -1045,15 +1009,17 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state.preSelection, "YYYY-MM-DD") - ).to.equal(utils.formatDate(selected, "YYYY-MM-DD")); + utils.formatDate(datePicker.state.preSelection, "yyyy-MM-dd") + ).to.equal(utils.formatDate(selected, "yyyy-MM-dd")); let days = TestUtils.scryRenderedComponentsWithType(datePicker, Day); - let nextMonthDay = days.find(d => d.props.month !== selected.month()); + let nextMonthDay = days.find( + d => d.props.month !== utils.getMonth(selected) + ); TestUtils.Simulate.click(ReactDOM.findDOMNode(nextMonthDay)); expect( - utils.formatDate(datePicker.state.preSelection, "YYYY-MM-DD") - ).to.equal(utils.formatDate(selected, "YYYY-MM-DD")); + utils.formatDate(datePicker.state.preSelection, "yyyy-MM-dd") + ).to.equal(utils.formatDate(selected, "yyyy-MM-dd")); }); it("should not set open state when focusing on the date input and the preventOpenOnFocus prop is set", () => { diff --git a/test/day_test.js b/test/day_test.js index f3ee1799e..1bdf48806 100644 --- a/test/day_test.js +++ b/test/day_test.js @@ -1,95 +1,94 @@ -import React from "react"; -import Day from "../src/day"; -import { shallow } from "enzyme"; +import React from 'react'; +import Day from '../src/day'; +import { shallow } from 'enzyme'; import { getDayOfWeekCode, newDate, getDate, - cloneDate, addDays, - subtractDays, + subDays, getMonth, newDateWithOffset, getHightLightDaysMap -} from "../src/date_utils"; +} from '../src/date_utils'; function renderDay(day, props = {}) { return shallow(); } -describe("Day", () => { - describe("rendering", () => { - it("should render the specified day", () => { +describe('Day', () => { + describe('rendering', () => { + it('should render the specified day', () => { const day = newDate(); const shallowDay = renderDay(day); - expect(shallowDay.hasClass("react-datepicker__day")).to.equal(true); - expect(shallowDay.text()).to.equal(getDate(day) + ""); + expect(shallowDay.hasClass('react-datepicker__day')).to.equal(true); + expect(shallowDay.text()).to.equal(getDate(day) + ''); }); - it("should apply the day of week class", () => { + it('should apply the day of week class', () => { let day = newDate(); for (var i = 0; i < 7; i++) { - const className = "react-datepicker__day--" + getDayOfWeekCode(day); + const className = 'react-datepicker__day--' + getDayOfWeekCode(day); const shallowDay = renderDay(day); expect(shallowDay.hasClass(className)).to.equal(true); - day = addDays(cloneDate(day), 1); + day = addDays(day, 1); } }); - it("should render custom day contents", () => { + it('should render custom day contents', () => { const day = newDate(); function renderDayContents(day) { return {day}; } const shallowDay = renderDay(day, { renderDayContents }); - expect(shallowDay.find("span")); + expect(shallowDay.find('span')); }); }); - describe("selected", () => { - const className = "react-datepicker__day--selected"; + describe('selected', () => { + const className = 'react-datepicker__day--selected'; - it("should apply the selected class if selected", () => { + it('should apply the selected class if selected', () => { const day = newDate(); const shallowDay = renderDay(day, { selected: day }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the selected class if not selected", () => { + it('should not apply the selected class if not selected', () => { const day = newDate(); - const selected = addDays(cloneDate(day), 1); + const selected = addDays(day, 1); const shallowDay = renderDay(day, { selected }); expect(shallowDay.hasClass(className)).to.equal(false); }); }); - describe("keyboard-selected", () => { - const className = "react-datepicker__day--keyboard-selected"; + describe('keyboard-selected', () => { + const className = 'react-datepicker__day--keyboard-selected'; - it("should apply the keyboard-selected class when pre-selected and another day is selected", () => { + it('should apply the keyboard-selected class when pre-selected and another day is selected', () => { const day = newDate(); - const selected = addDays(cloneDate(day), 1); + const selected = addDays(day, 1); const shallowDay = renderDay(day, { selected, preSelection: day }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the keyboard-selected class when selected", () => { + it('should not apply the keyboard-selected class when selected', () => { const day = newDate(); const shallowDay = renderDay(day, { selected: day, preSelection: day }); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should not apply the keyboard-selected class when another day is pre-selected", () => { + it('should not apply the keyboard-selected class when another day is pre-selected', () => { const day = newDate(); - const selected = addDays(cloneDate(day), 1); - const preSelection = addDays(cloneDate(day), 2); + const selected = addDays(day, 1); + const preSelection = addDays(day, 2); const shallowDay = renderDay(day, { selected, preSelection }); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should not apply the keyboard-selected class if in inline mode", () => { + it('should not apply the keyboard-selected class if in inline mode', () => { const day = newDate(); - const selected = addDays(cloneDate(day), 1); + const selected = addDays(day, 1); const shallowDay = renderDay(day, { selected, preSelection: day, @@ -99,91 +98,88 @@ describe("Day", () => { }); }); - describe("highlighted", () => { - const className = "react-datepicker__day--highlighted"; + describe('highlighted', () => { + const className = 'react-datepicker__day--highlighted'; - it("should apply the highlighted class if in highlighted array", () => { + it('should apply the highlighted class if in highlighted array', () => { const day = newDate(); - const highlightDay1 = cloneDate(day); - const highlightDay2 = addDays(cloneDate(day), 1); + const highlightDay1 = newDate(day); + const highlightDay2 = addDays(day, 1); const highlightDates = [highlightDay1, highlightDay2]; const highlightDatesMap = getHightLightDaysMap(highlightDates); const shallowDay = renderDay(day, { highlightDates: highlightDatesMap }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the highlighted class if not in highlighted array", () => { + it('should not apply the highlighted class if not in highlighted array', () => { const day = newDate(); - const highlightDay1 = subtractDays(cloneDate(day), 1); - const highlightDay2 = addDays(cloneDate(day), 1); + const highlightDay1 = subDays(day, 1); + const highlightDay2 = addDays(day, 1); const highlightDates = [highlightDay1, highlightDay2]; const highlightDatesMap = getHightLightDaysMap(highlightDates); const shallowDay = renderDay(day, { highlightDates: highlightDatesMap }); expect(shallowDay.hasClass(className)).to.equal(false); }); - describe("prop is an array of objects with class name as a key and array of moments as a value", () => { - it("should apply the highlighted class if in highlighted", () => { + describe('prop is an array of objects with class name as a key and array of moments as a value', () => { + it('should apply the highlighted class if in highlighted', () => { const day = newDate(); const highlightDay1 = { - testClassName: [addDays(cloneDate(day), 1), cloneDate(day)] + testClassName: [addDays(day, 1), newDate(day)] }; - const highlightDay2 = addDays(cloneDate(day), 2); - const highlightDay3 = addDays(cloneDate(day), 3); + const highlightDay2 = addDays(day, 2); + const highlightDay3 = addDays(day, 3); const highlightDates = [highlightDay1, highlightDay2, highlightDay3]; const highlightDatesMap = getHightLightDaysMap(highlightDates); const shallowDay = renderDay(day, { highlightDates: highlightDatesMap }); - expect(shallowDay.hasClass("testClassName")).to.equal(true); + expect(shallowDay.hasClass('testClassName')).to.equal(true); }); - it("should not apply the highlighted class if not in highlighted array", () => { + it('should not apply the highlighted class if not in highlighted array', () => { const day = newDate(); const highlightDay1 = { - testClassName: [ - addDays(cloneDate(day), 1), - addDays(cloneDate(day), 2) - ] + testClassName: [addDays(day, 1), addDays(day, 2)] }; - const highlightDay2 = addDays(cloneDate(day), 3); - const highlightDay3 = addDays(cloneDate(day), 4); + const highlightDay2 = addDays(day, 3); + const highlightDay3 = addDays(day, 4); const highlightDates = [highlightDay1, highlightDay2, highlightDay3]; const highlightDatesMap = getHightLightDaysMap(highlightDates); const shallowDay = renderDay(day, { highlightDates: highlightDatesMap }); - expect(shallowDay.hasClass("testClassName")).to.equal(false); + expect(shallowDay.hasClass('testClassName')).to.equal(false); }); - it("should apply the highlighted classes even if the same day in highlighted array", () => { + it('should apply the highlighted classes even if the same day in highlighted array', () => { const day = newDate(); - const highlightDay1 = { fooClassName: [cloneDate(day)] }; - const highlightDay2 = { barClassName: [cloneDate(day)] }; - const highlightDay3 = cloneDate(day); + const highlightDay1 = { fooClassName: [newDate(day)] }; + const highlightDay2 = { barClassName: [newDate(day)] }; + const highlightDay3 = newDate(day); const highlightDates = [highlightDay1, highlightDay2, highlightDay3]; const highlightDatesMap = getHightLightDaysMap(highlightDates); const shallowDay = renderDay(day, { highlightDates: highlightDatesMap }); - expect(shallowDay.hasClass("fooClassName")).to.equal(true); - expect(shallowDay.hasClass("barClassName")).to.equal(true); + expect(shallowDay.hasClass('fooClassName')).to.equal(true); + expect(shallowDay.hasClass('barClassName')).to.equal(true); expect(shallowDay.hasClass(className)).to.equal(true); }); }); }); - describe("custom day className", () => { - const className = "customClassName"; + describe('custom day className', () => { + const className = 'customClassName'; - it("should apply className returned from passed dayClassName prop function", () => { + it('should apply className returned from passed dayClassName prop function', () => { const day = newDate(); const dayClassNameFunc = date => className; const shallowDay = renderDay(day, { dayClassName: dayClassNameFunc }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should pass rendered days date to dayClassName func", () => { + it('should pass rendered days date to dayClassName func', () => { const day = newDate(); const dayClassNameFunc = date => { expect(date).to.equal(day); @@ -193,93 +189,93 @@ describe("Day", () => { expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not add any additional className when passed dayClassName prop function returns undefined", () => { + it('should not add any additional className when passed dayClassName prop function returns undefined', () => { const day = newDate(); const dayClassNameFunc = date => undefined; const shallowDay = renderDay(day, { dayClassName: dayClassNameFunc }); expect(shallowDay.hasClass(className)).to.equal(false); - expect(shallowDay.hasClass("undefined")).to.equal(false); + expect(shallowDay.hasClass('undefined')).to.equal(false); }); - it("should not add any additional className when dayClassName prop is not passed", () => { + it('should not add any additional className when dayClassName prop is not passed', () => { const day = newDate(); const shallowDay = renderDay(day); expect(shallowDay.hasClass(className)).to.equal(false); - expect(shallowDay.hasClass("undefined")).to.equal(false); + expect(shallowDay.hasClass('undefined')).to.equal(false); }); }); - describe("in range", () => { - const className = "react-datepicker__day--in-range"; + describe('in range', () => { + const className = 'react-datepicker__day--in-range'; - it("should apply the in-range class if in range", () => { + it('should apply the in-range class if in range', () => { const day = newDate(); - const startDate = subtractDays(cloneDate(day), 1); - const endDate = addDays(cloneDate(day), 1); + const startDate = subDays(day, 1); + const endDate = addDays(day, 1); const shallowDay = renderDay(day, { startDate, endDate }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the in-range class if not in range", () => { + it('should not apply the in-range class if not in range', () => { const day = newDate(); - const startDate = addDays(cloneDate(day), 1); - const endDate = addDays(cloneDate(day), 2); + const startDate = addDays(day, 1); + const endDate = addDays(day, 2); const shallowDay = renderDay(day, { startDate, endDate }); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should apply the in-range class if equal to start date", () => { + it('should apply the in-range class if equal to start date', () => { const day = newDate(); - const startDate = cloneDate(day); - const endDate = addDays(cloneDate(day), 1); + const startDate = newDate(day); + const endDate = addDays(day, 1); const shallowDay = renderDay(day, { startDate, endDate }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should apply the in-range class if equal to end date", () => { + it('should apply the in-range class if equal to end date', () => { const day = newDate(); - const startDate = subtractDays(cloneDate(day), 1); - const endDate = cloneDate(day); + const startDate = subDays(day, 1); + const endDate = newDate(day); const shallowDay = renderDay(day, { startDate, endDate }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the in-range class if start date missing", () => { + it('should not apply the in-range class if start date missing', () => { const day = newDate(); - const startDate = subtractDays(cloneDate(day), 1); + const startDate = subDays(day, 1); const shallowDay = renderDay(day, { startDate }); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should not apply the in-range class if end date missing", () => { + it('should not apply the in-range class if end date missing', () => { const day = newDate(); - const endDate = addDays(cloneDate(day), 1); + const endDate = addDays(day, 1); const shallowDay = renderDay(day, { endDate }); expect(shallowDay.hasClass(className)).to.equal(false); }); }); - describe("in selecting range", () => { - const rangeDayClassName = "react-datepicker__day--in-selecting-range"; + describe('in selecting range', () => { + const rangeDayClassName = 'react-datepicker__day--in-selecting-range'; const rangeDayStartClassName = - "react-datepicker__day--selecting-range-start"; - const rangeDayEndClassName = "react-datepicker__day--selecting-range-end"; + 'react-datepicker__day--selecting-range-start'; + const rangeDayEndClassName = 'react-datepicker__day--selecting-range-end'; function createDateRange(beforeDays, afterDays, day = newDate()) { return { - startDate: subtractDays(cloneDate(day), beforeDays), - endDate: addDays(cloneDate(day), afterDays), + startDate: subDays(day, beforeDays), + endDate: addDays(day, afterDays), day }; } - describe("for a start date picker", () => { - it("should highlight for dates before the end date", () => { + describe('for a start date picker', () => { + it('should highlight for dates before the end date', () => { const { startDate, endDate } = createDateRange(-1, 1); // All these should highlight: today, yesterday (startDate), the day before for (let daysFromEnd = 1; daysFromEnd <= 3; daysFromEnd++) { - const selectingDate = subtractDays(cloneDate(endDate), daysFromEnd); + const selectingDate = subDays(endDate, daysFromEnd); const shallowDay = renderDay(selectingDate, { startDate, endDate, @@ -290,10 +286,10 @@ describe("Day", () => { } }); - it("should have a class if it is a start or end date", () => { + it('should have a class if it is a start or end date', () => { const endDate = newDate(); - const midRangeDate = subtractDays(cloneDate(endDate), 1); - const selectingDate = subtractDays(cloneDate(endDate), 2); + const midRangeDate = subDays(endDate, 1); + const selectingDate = subDays(endDate, 2); const shallowStartDay = renderDay(selectingDate, { endDate, @@ -318,9 +314,9 @@ describe("Day", () => { expect(shallowEndDay.hasClass(rangeDayEndClassName)).to.be.true; }); - it("should not highlight for days after the end date", () => { + it('should not highlight for days after the end date', () => { const { day, startDate, endDate } = createDateRange(-1, 1); - const selectingDate = addDays(cloneDate(endDate), 1); + const selectingDate = addDays(endDate, 1); const shallowDay = renderDay(day, { startDate, endDate, @@ -330,9 +326,9 @@ describe("Day", () => { expect(shallowDay.hasClass(rangeDayClassName)).to.be.false; }); - it("should not highlight if there is no end date selected", () => { + it('should not highlight if there is no end date selected', () => { const startDate = newDate(); - const selectingDate = subtractDays(cloneDate(startDate), 1); + const selectingDate = subDays(startDate, 1); const shallowDay = renderDay(selectingDate, { startDate, selectingDate, @@ -341,9 +337,9 @@ describe("Day", () => { expect(shallowDay.hasClass(rangeDayClassName)).to.be.false; }); - it("should not highlight for disabled dates", () => { + it('should not highlight for disabled dates', () => { const endDate = newDate(); - const selectingDate = subtractDays(cloneDate(endDate), 1); + const selectingDate = subDays(endDate, 1); const shallowDay = renderDay(selectingDate, { selectingDate, endDate, @@ -354,13 +350,13 @@ describe("Day", () => { }); }); - describe("for an end date picker", () => { - it("should highlight for dates after the start date", () => { + describe('for an end date picker', () => { + it('should highlight for dates after the start date', () => { const { startDate, endDate } = createDateRange(-1, 1); // All these should highlight: today, tomorrow (endDate), the day after for (let daysFromStart = 1; daysFromStart <= 3; daysFromStart++) { - const day = addDays(cloneDate(startDate), daysFromStart); + const day = addDays(startDate, daysFromStart); const shallowDay = renderDay(day, { startDate, endDate, @@ -371,10 +367,10 @@ describe("Day", () => { } }); - it("should have a class if it is a start or end date", () => { + it('should have a class if it is a start or end date', () => { const startDate = newDate(); - const midRangeDate = addDays(cloneDate(startDate), 1); - const selectingDate = addDays(cloneDate(startDate), 2); + const midRangeDate = addDays(startDate, 1); + const selectingDate = addDays(startDate, 2); const shallowStartDay = renderDay(startDate, { startDate, @@ -399,9 +395,9 @@ describe("Day", () => { expect(shallowEndDay.hasClass(rangeDayEndClassName)).to.be.true; }); - it("should not highlight for days before the start date", () => { + it('should not highlight for days before the start date', () => { const startDate = newDate(); - const selectingDate = subtractDays(cloneDate(startDate), 1); + const selectingDate = subDays(startDate, 1); const shallowDay = renderDay(selectingDate, { startDate, selectingDate, @@ -410,9 +406,9 @@ describe("Day", () => { expect(shallowDay.hasClass(rangeDayClassName)).to.be.false; }); - it("should not highlight if there is no start date selected", () => { + it('should not highlight if there is no start date selected', () => { const { day, endDate } = createDateRange(-1, 1); - const selectingDate = addDays(cloneDate(endDate), 1); + const selectingDate = addDays(endDate, 1); const shallowDay = renderDay(day, { endDate, selectingDate, @@ -421,9 +417,9 @@ describe("Day", () => { expect(shallowDay.hasClass(rangeDayClassName)).to.be.false; }); - it("should not highlight for disabled dates", () => { + it('should not highlight for disabled dates', () => { const startDate = newDate(); - const selectingDate = addDays(cloneDate(startDate), 1); + const selectingDate = addDays(startDate, 1); const shallowDay = renderDay(selectingDate, { startDate, selectingDate, @@ -435,76 +431,71 @@ describe("Day", () => { }); }); - describe("today", () => { - const className = "react-datepicker__day--today"; + describe('today', () => { + const className = 'react-datepicker__day--today'; - it("should apply the today class if today", () => { + it('should apply the today class if today', () => { const shallowDay = renderDay(newDate()); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the today class if not today", () => { + it('should not apply the today class if not today', () => { const shallowDay = renderDay(addDays(newDate(), 1)); expect(shallowDay.hasClass(className)).to.equal(false); }); - - it("should apply the today class if custom utcOffset is provided", () => { - const shallowDay = renderDay(newDateWithOffset(720)); - expect(shallowDay.hasClass(className)).to.equal(true); - }); }); - describe("weekend", () => { - const className = "react-datepicker__day--weekend"; + describe('weekend', () => { + const className = 'react-datepicker__day--weekend'; - it("should apply the weekend class if Saturday", () => { - const shallowDay = renderDay(newDate("2015-12-19")); + it('should apply the weekend class if Saturday', () => { + const shallowDay = renderDay(newDate('2015-12-19')); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should apply the weekend class if Sunday", () => { - const shallowDay = renderDay(newDate("2015-12-20")); + it('should apply the weekend class if Sunday', () => { + const shallowDay = renderDay(newDate('2015-12-20')); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the today class if not the weekend", () => { - const shallowDay = renderDay(newDate("2015-12-21")); + it('should not apply the today class if not the weekend', () => { + const shallowDay = renderDay(newDate('2015-12-21')); expect(shallowDay.hasClass(className)).to.equal(false); }); }); - describe("outside month", () => { - const className = "react-datepicker__day--outside-month"; + describe('outside month', () => { + const className = 'react-datepicker__day--outside-month'; - it("should not apply the outside-month class if in same month", () => { + it('should not apply the outside-month class if in same month', () => { const day = newDate(); const shallowDay = renderDay(day, { month: getMonth(day) }); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should apply the outside-month class if not in same month", () => { + it('should apply the outside-month class if not in same month', () => { const day = newDate(); const shallowDay = renderDay(day, { month: getMonth(day) + 1 }); expect(shallowDay.hasClass(className)).to.equal(true); }); }); - describe("disabled", () => { - const className = "react-datepicker__day--disabled"; + describe('disabled', () => { + const className = 'react-datepicker__day--disabled'; - it("should be enabled if date is enabled", () => { + it('should be enabled if date is enabled', () => { const shallowDay = renderDay(newDate()); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should be disabled if date is disabled", () => { + it('should be disabled if date is disabled', () => { const day = newDate(); const shallowDay = renderDay(day, { excludeDates: [day] }); expect(shallowDay.hasClass(className)).to.equal(true); }); }); - describe("click", () => { + describe('click', () => { var onClickCalled; function onClick() { @@ -515,24 +506,24 @@ describe("Day", () => { onClickCalled = false; }); - it("should call onClick if day is enabled", () => { + it('should call onClick if day is enabled', () => { const day = newDate(); const dayNode = shallow(); - dayNode.find(".react-datepicker__day").simulate("click"); + dayNode.find('.react-datepicker__day').simulate('click'); expect(onClickCalled).to.be.true; }); - it("should not call onClick if day is disabled", () => { + it('should not call onClick if day is disabled', () => { const day = newDate(); const dayNode = shallow( ); - dayNode.find(".react-datepicker__day").simulate("click"); + dayNode.find('.react-datepicker__day').simulate('click'); expect(onClickCalled).to.be.false; }); }); - describe("mouse enter", () => { + describe('mouse enter', () => { var onMouseEnterCalled; function onMouseEnter() { @@ -543,9 +534,9 @@ describe("Day", () => { onMouseEnterCalled = false; }); - it("should call onMouseEnter if day is hovered", () => { + it('should call onMouseEnter if day is hovered', () => { const shallowDay = renderDay(newDate(), { onMouseEnter }); - shallowDay.find(".react-datepicker__day").simulate("mouseenter"); + shallowDay.find('.react-datepicker__day').simulate('mouseenter'); expect(onMouseEnterCalled).to.be.true; }); }); diff --git a/test/exclude_time_period_test.js b/test/exclude_time_period_test.js index 045321ade..90fecf672 100644 --- a/test/exclude_time_period_test.js +++ b/test/exclude_time_period_test.js @@ -21,8 +21,8 @@ describe("DatePicker", () => { showTimeSelect selected={now} onChange={() => null} - minTime={utils.setTime(utils.cloneDate(now), { hours: 17, minutes: 0 })} - maxTime={utils.setTime(utils.cloneDate(now), { hours: 18, minutes: 0 })} + minTime={utils.setTime(now, { hours: 17, minutes: 0 })} + maxTime={utils.setTime(now, { hours: 18, minutes: 0 })} /> ); var times = datePicker.find("li.react-datepicker__time-list-item"); diff --git a/test/exclude_times_test.js b/test/exclude_times_test.js index ff1a0a387..dcf37477a 100644 --- a/test/exclude_times_test.js +++ b/test/exclude_times_test.js @@ -1,12 +1,8 @@ import React from "react"; import { mount } from "enzyme"; -import { setTime, cloneDate, newDate } from "../src/date_utils"; +import { setTime, newDate } from "../src/date_utils"; import DatePicker from "../src/index.jsx"; -function cloneDateWithTime(date, time) { - return setTime(cloneDate(date), time); -} - describe("DatePicker", () => { let sandbox; @@ -24,10 +20,10 @@ describe("DatePicker", () => { ); diff --git a/test/helper_components/custom_input.jsx b/test/helper_components/custom_input.jsx index 4064b35d0..7e3a6e87e 100644 --- a/test/helper_components/custom_input.jsx +++ b/test/helper_components/custom_input.jsx @@ -1,25 +1,25 @@ -import React from "react"; -import PropTypes from "prop-types"; +import React from 'react'; +import PropTypes from 'prop-types'; class CustomInput extends React.Component { - onChange(e) { - var args = [e, e.target.value]; - if (this.props.onChangeArgs) { - args = this.props.onChangeArgs(e); - } - this.props.onChange.apply(this, args); + onChange(e) { + var args = [e, e.target.value]; + if (this.props.onChangeArgs) { + args = this.props.onChangeArgs(e); } + this.props.onChange.apply(this, args); + } - render() { - let { ...props } = this.props; - delete props.onChangeArgs; - return - } + render() { + let { ...props } = this.props; + delete props.onChangeArgs; + return ; + } } CustomInput.propTypes = { - onChange: PropTypes.func, - onChangeArgs: PropTypes.func + onChange: PropTypes.func, + onChangeArgs: PropTypes.func }; -export default CustomInput; \ No newline at end of file +export default CustomInput; diff --git a/test/include_times_test.js b/test/include_times_test.js index 41f5c6417..79ede1904 100644 --- a/test/include_times_test.js +++ b/test/include_times_test.js @@ -1,13 +1,9 @@ import React from "react"; import { mount } from "enzyme"; import * as utils from "../src/date_utils"; -import { setTime, cloneDate, newDate } from "../src/date_utils"; +import { setTime, newDate } from "../src/date_utils"; import TimeComponent from "../src/time"; -function cloneDateWithTime(date, time) { - return setTime(cloneDate(date), time); -} - describe("TimeComponent", () => { let sandbox; @@ -24,9 +20,9 @@ describe("TimeComponent", () => { const timeComponent = mount( ); diff --git a/test/inject_times_test.js b/test/inject_times_test.js index c40311cb9..993d6d9d1 100644 --- a/test/inject_times_test.js +++ b/test/inject_times_test.js @@ -1,13 +1,9 @@ import React from "react"; import { mount } from "enzyme"; import * as utils from "../src/date_utils"; -import { setTime, cloneDate, newDate } from "../src/date_utils"; +import { setTime, newDate } from "../src/date_utils"; import TimeComponent from "../src/time"; -function cloneDateWithTime(date, time) { - return setTime(cloneDate(date), time); -} - describe("TimeComponent", () => { let sandbox; @@ -24,9 +20,9 @@ describe("TimeComponent", () => { const timeComponent = mount( ); @@ -43,9 +39,9 @@ describe("TimeComponent", () => { ); @@ -62,9 +58,9 @@ describe("TimeComponent", () => { ); @@ -81,9 +77,9 @@ describe("TimeComponent", () => { ); diff --git a/test/month_dropdown_test.js b/test/month_dropdown_test.js index 440749b3f..d76b4b147 100644 --- a/test/month_dropdown_test.js +++ b/test/month_dropdown_test.js @@ -1,15 +1,14 @@ -import React from "react"; -import range from "lodash/range"; -import MonthDropdown from "../src/month_dropdown.jsx"; -import MonthDropdownOptions from "../src/month_dropdown_options.jsx"; -import { mount } from "enzyme"; -import { - newDate, - getMonthInLocale, - getDefaultLocaleData -} from "../src/date_utils"; - -describe("MonthDropdown", () => { +import React from 'react'; +import range from 'lodash/range'; +import MonthDropdown from '../src/month_dropdown.jsx'; +import MonthDropdownOptions from '../src/month_dropdown_options.jsx'; +import { mount } from 'enzyme'; +import { newDate, getMonthInLocale, registerLocale } from '../src/date_utils'; +import zh_cn from 'date-fns/locale/zh-CN'; +import el from 'date-fns/locale/el'; +import ru from 'date-fns/locale/ru'; + +describe('MonthDropdown', () => { let monthDropdown; let handleChangeResult; const mockHandleChange = function(changeInput) { @@ -18,12 +17,10 @@ describe("MonthDropdown", () => { let sandbox; function getMonthDropdown(overrideProps) { - const dateFormatCalendar = "MMMM YYYY"; return mount( @@ -39,38 +36,36 @@ describe("MonthDropdown", () => { sandbox.restore(); }); - describe("scroll mode", () => { + describe('scroll mode', () => { beforeEach(function() { monthDropdown = getMonthDropdown(); }); - it("shows the selected yonth in the initial view", () => { - expect(monthDropdown.text()).to.contain("December"); + it('shows the selected yonth in the initial view', () => { + expect(monthDropdown.text()).to.contain('December'); }); - it("opens a list when read view is clicked", () => { + it('opens a list when read view is clicked', () => { monthDropdown - .find(".react-datepicker__month-read-view") - .simulate("click"); + .find('.react-datepicker__month-read-view') + .simulate('click'); var optionsView = monthDropdown.find(MonthDropdownOptions); expect(optionsView).to.exist; }); - it("closes the dropdown when a month is clicked", () => { + it('closes the dropdown when a month is clicked', () => { monthDropdown - .find(".react-datepicker__month-read-view") - .simulate("click"); + .find('.react-datepicker__month-read-view') + .simulate('click'); monthDropdown - .find(".react-datepicker__month-option") + .find('.react-datepicker__month-option') .at(1) - .simulate("click"); + .simulate('click'); expect(monthDropdown.find(MonthDropdownOptions)).to.have.length(0); }); - it("closes the dropdown if outside is clicked", () => { - const monthNames = range(0, 12).map(M => - getMonthInLocale(getDefaultLocaleData(), newDate({ M })) - ); + it('closes the dropdown if outside is clicked', () => { + const monthNames = range(0, 12).map(M => getMonthInLocale(M)); const onCancelSpy = sandbox.spy(); const monthDropdownOptionsInstance = mount( { expect(onCancelSpy.calledOnce).to.be.true; }); - it("does not call the supplied onChange function when the same month is clicked", () => { + it('does not call the supplied onChange function when the same month is clicked', () => { monthDropdown - .find(".react-datepicker__month-read-view") - .simulate("click"); + .find('.react-datepicker__month-read-view') + .simulate('click'); monthDropdown - .find(".react-datepicker__month-option") + .find('.react-datepicker__month-option') .at(11) - .simulate("click"); + .simulate('click'); expect(handleChangeResult).to.be.null; }); - it("calls the supplied onChange function when a different month is clicked", () => { + it('calls the supplied onChange function when a different month is clicked', () => { monthDropdown - .find(".react-datepicker__month-read-view") - .simulate("click"); + .find('.react-datepicker__month-read-view') + .simulate('click'); monthDropdown - .find(".react-datepicker__month-option") + .find('.react-datepicker__month-option') .at(2) - .simulate("click"); + .simulate('click'); expect(handleChangeResult).to.eq(2); }); - it("should use dateFormat property to determine nominative or genitive display of month names", () => { - let dropdownDateFormat = getMonthDropdown({ dateFormat: "DD/MM/YYYY" }); - expect(dropdownDateFormat.text()).to.contain("December"); + it('should use locale stand-alone formatting to display month names', () => { + registerLocale('el', el); + registerLocale('ru', ru); - dropdownDateFormat = getMonthDropdown({ locale: "el" }); - expect(dropdownDateFormat.text()).to.contain("Δεκέμβριος"); - dropdownDateFormat = getMonthDropdown({ - locale: "el", - showMonthDropwdown: true - }); - expect(dropdownDateFormat.text()).to.contain("Δεκέμβριος"); + let dropdownDateFormat = getMonthDropdown(); + expect(dropdownDateFormat.text()).to.contain('December'); - dropdownDateFormat = getMonthDropdown({ - dateFormat: "DMMMMYYYY", - locale: "el" - }); - expect(dropdownDateFormat.text()).to.contain("Δεκεμβρίου"); - dropdownDateFormat = getMonthDropdown({ - dateFormat: "DMMMMYYYY", - locale: "el", - showMonthDropwdown: true - }); - expect(dropdownDateFormat.text()).to.contain("Δεκεμβρίου"); + dropdownDateFormat = getMonthDropdown({ locale: 'el' }); + expect(dropdownDateFormat.text()).to.contain('Δεκέμβριος'); + + dropdownDateFormat = getMonthDropdown({ locale: 'ru' }); + expect(dropdownDateFormat.text()).to.contain('декабрь'); }); }); - describe("select mode", () => { - it("renders a select", () => { - monthDropdown = getMonthDropdown({ dropdownMode: "select" }); - var select = monthDropdown.find(".react-datepicker__month-select"); + describe('select mode', () => { + it('renders a select', () => { + monthDropdown = getMonthDropdown({ dropdownMode: 'select' }); + var select = monthDropdown.find('.react-datepicker__month-select'); expect(select).to.have.length(1); - expect(select.prop("value")).to.eq(11); - var options = select.find("option"); - expect(options.map(o => o.prop("value"))).to.eql(range(0, 12)); + expect(select.prop('value')).to.eq(11); + var options = select.find('option'); + expect(options.map(o => o.prop('value'))).to.eql(range(0, 12)); }); - it("renders month options with default locale", () => { - monthDropdown = getMonthDropdown({ dropdownMode: "select" }); - var options = monthDropdown.find("option"); + it('renders month options with default locale', () => { + monthDropdown = getMonthDropdown({ dropdownMode: 'select' }); + var options = monthDropdown.find('option'); expect(options.map(o => o.text())).to.eql([ - "January", - "February", - "March", - "April", - "May", - "June", - "July", - "August", - "September", - "October", - "November", - "December" + 'January', + 'February', + 'March', + 'April', + 'May', + 'June', + 'July', + 'August', + 'September', + 'October', + 'November', + 'December' ]); }); // Short Month Names - it("renders month options with short name and default locale", () => { + it('renders month options with short name and default locale', () => { monthDropdown = getMonthDropdown({ - dropdownMode: "select", + dropdownMode: 'select', useShortMonthInDropdown: true }); - var options = monthDropdown.find("option"); + var options = monthDropdown.find('option'); expect(options.map(o => o.text())).to.eql([ - "Jan", - "Feb", - "Mar", - "Apr", - "May", - "Jun", - "Jul", - "Aug", - "Sep", - "Oct", - "Nov", - "Dec" + 'Jan', + 'Feb', + 'Mar', + 'Apr', + 'May', + 'Jun', + 'Jul', + 'Aug', + 'Sep', + 'Oct', + 'Nov', + 'Dec' ]); }); // Failing on Travis CI. - it("renders month options with specified locale", () => { + it('renders month options with specified locale', () => { + registerLocale('zh-cn', zh_cn); monthDropdown = getMonthDropdown({ - dropdownMode: "select", - locale: "zh-cn" + dropdownMode: 'select', + locale: 'zh-cn' }); - var options = monthDropdown.find("option"); + var options = monthDropdown.find('option'); expect(options.map(o => o.text())).to.eql([ - "一月", - "二月", - "三月", - "四月", - "五月", - "六月", - "七月", - "八月", - "九月", - "十月", - "十一月", - "十二月" + '一月', + '二月', + '三月', + '四月', + '五月', + '六月', + '七月', + '八月', + '九月', + '十月', + '十一月', + '十二月' ]); }); - it("does not call the supplied onChange function when the same month is clicked", () => { - monthDropdown = getMonthDropdown({ dropdownMode: "select", month: 11 }); - var select = monthDropdown.find(".react-datepicker__month-select"); - select.simulate("change", { target: { value: 11 } }); + it('does not call the supplied onChange function when the same month is clicked', () => { + monthDropdown = getMonthDropdown({ dropdownMode: 'select', month: 11 }); + var select = monthDropdown.find('.react-datepicker__month-select'); + select.simulate('change', { target: { value: 11 } }); expect(handleChangeResult).to.not.exist; }); - it("calls the supplied onChange function when a different month is clicked", () => { - monthDropdown = getMonthDropdown({ dropdownMode: "select", month: 11 }); - var select = monthDropdown.find(".react-datepicker__month-select"); - select.simulate("change", { target: { value: 9 } }); + it('calls the supplied onChange function when a different month is clicked', () => { + monthDropdown = getMonthDropdown({ dropdownMode: 'select', month: 11 }); + var select = monthDropdown.find('.react-datepicker__month-select'); + select.simulate('change', { target: { value: 9 } }); expect(handleChangeResult).to.equal(9); }); }); diff --git a/test/month_test.js b/test/month_test.js index 109a198fe..daf710715 100644 --- a/test/month_test.js +++ b/test/month_test.js @@ -13,13 +13,13 @@ describe("Month", () => { expect(days).to.have.length(dayCount); range(0, dayCount).forEach(offset => { const day = days.get(offset); - const expectedDay = utils.addDays(utils.cloneDate(start), offset); + const expectedDay = utils.addDays(start, offset); assert( utils.isSameDay(day.props.day, expectedDay), - `Day ${offset % 7 + 1} ` + + `Day ${(offset % 7) + 1} ` + `of week ${Math.floor(offset / 7) + 1} ` + - `should be "${utils.formatDate(expectedDay, "YYYY-MM-DD")}" ` + - `but it is "${utils.formatDate(day.props.day, "YYYY-MM-DD")}"` + `should be "${utils.formatDate(expectedDay, "yyyy-MM-dd")}" ` + + `but it is "${utils.formatDate(day.props.day, "yyyy-MM-dd")}"` ); }); } @@ -45,8 +45,8 @@ describe("Month", () => { assertDateRangeInclusive( mount(), - utils.getStartOfWeek(utils.cloneDate(monthStart)), - utils.getEndOfWeek(utils.getEndOfMonth(utils.cloneDate(monthStart))) + utils.getStartOfWeek(monthStart), + utils.getEndOfWeek(utils.getEndOfMonth(monthStart)) ); }); @@ -55,32 +55,30 @@ describe("Month", () => { assertDateRangeInclusive( mount(), - utils.getStartOfWeek(utils.cloneDate(monthStart)), - utils.getEndOfWeek( - utils.addWeeks(utils.addMonths(utils.cloneDate(monthStart), 1), 1) - ) + utils.getStartOfWeek(monthStart), + utils.getEndOfWeek(utils.addWeeks(utils.addMonths(monthStart, 1), 1)) ); }); it("should render a calendar of fixed height", () => { const monthStart = utils.newDate("2016-11-01"); - const calendarStart = utils.getStartOfWeek(utils.cloneDate(monthStart)); + const calendarStart = utils.getStartOfWeek(monthStart); assertDateRangeInclusive( mount(), calendarStart, - utils.getEndOfWeek(utils.addWeeks(utils.cloneDate(calendarStart), 5)) + utils.getEndOfWeek(utils.addWeeks(calendarStart, 5)) ); }); it("should render a calendar of fixed height with peeking", () => { const monthStart = utils.newDate("2016-11-01"); - const calendarStart = utils.getStartOfWeek(utils.cloneDate(monthStart)); + const calendarStart = utils.getStartOfWeek(monthStart); assertDateRangeInclusive( mount(), calendarStart, - utils.getEndOfWeek(utils.addWeeks(utils.cloneDate(calendarStart), 6)) + utils.getEndOfWeek(utils.addWeeks(calendarStart, 6)) ); }); diff --git a/test/month_year_dropdown_test.js b/test/month_year_dropdown_test.js index 0189ff9e1..ec508c583 100644 --- a/test/month_year_dropdown_test.js +++ b/test/month_year_dropdown_test.js @@ -5,11 +5,12 @@ import { mount } from "enzyme"; import { newDate, addMonths, - subtractMonths, + subMonths, formatDate, - cloneDate, - isAfter + isAfter, + registerLocale } from "../src/date_utils"; +import fi from "date-fns/locale/fi"; describe("MonthYearDropdown", () => { let monthYearDropdown; @@ -20,7 +21,7 @@ describe("MonthYearDropdown", () => { let sandbox; function getMonthYearDropdown(overrideProps) { - const dateFormatCalendar = "MMMM YYYY"; + const dateFormatCalendar = "LLLL yyyy"; const date = newDate("2018-01"); const minDate = newDate("2017-07-01"); const maxDate = newDate("2018-06-30"); @@ -55,7 +56,7 @@ describe("MonthYearDropdown", () => { }); it("shows the selected month year in the initial view", () => { - const selected_month_year_name = formatDate(selectedDate, "MMMM YYYY"); + const selected_month_year_name = formatDate(selectedDate, "LLLL yyyy"); expect(monthYearDropdown.text()).to.contain(selected_month_year_name); }); @@ -82,7 +83,7 @@ describe("MonthYearDropdown", () => { it("closes the dropdown if outside is clicked", () => { const date = newDate(); - const dateFormatCalendar = "MMMM YYYY"; + const dateFormatCalendar = "LLLL yyyy"; const onCancelSpy = sandbox.spy(); const monthYearDropdownOptionsInstance = mount( @@ -91,8 +92,8 @@ describe("MonthYearDropdown", () => { onChange={sandbox.spy()} dateFormat={dateFormatCalendar} date={date} - minDate={subtractMonths(cloneDate(date), 6)} - maxDate={addMonths(cloneDate(date), 6)} + minDate={subMonths(date, 6)} + maxDate={addMonths(date, 6)} /> ).instance(); monthYearDropdownOptionsInstance.handleClickOutside(); @@ -126,8 +127,9 @@ describe("MonthYearDropdown", () => { }); it("should use dateFormat to display date in dropdown", () => { + registerLocale("fi", fi); let dropdownDateFormat = getMonthYearDropdown({ - dateFormat: "MMMM YYYY" + dateFormat: "LLLL yyyy" }); expect(dropdownDateFormat.text()).to.eq("January 2018"); @@ -138,19 +140,19 @@ describe("MonthYearDropdown", () => { dropdownDateFormat = getMonthYearDropdown({ locale: "fi", - showMonthYearDropwdown: true + showMonthYearDropdown: true }); expect(dropdownDateFormat.text()).to.eq("tammikuu 2018"); dropdownDateFormat = getMonthYearDropdown({ - dateFormat: "YYYY MMM", + dateFormat: "yyyy LLL", locale: "fi" }); expect(dropdownDateFormat.text()).to.eq("2018 tammi"); dropdownDateFormat = getMonthYearDropdown({ - dateFormat: "YYYY MMM", + dateFormat: "yyyy LLL", locale: "fi", - showMonthYearDropwdown: true + showMonthYearDropdown: true }); expect(dropdownDateFormat.text()).to.eq("2018 tammi"); }); @@ -159,7 +161,7 @@ describe("MonthYearDropdown", () => { describe("select mode", () => { it("renders a select", () => { const expected_date = newDate("2018-01"); - const currentMonth = newDate("2017-07"); + let currentMonth = newDate("2017-07"); const maxMonth = newDate("2018-06"); const expected_values = []; @@ -167,7 +169,7 @@ describe("MonthYearDropdown", () => { while (!isAfter(currentMonth, maxMonth)) { expected_values.push(currentMonth.valueOf()); - addMonths(currentMonth, 1); + currentMonth = addMonths(currentMonth, 1); } monthYearDropdown = getMonthYearDropdown({ dropdownMode: "select" }); @@ -201,6 +203,7 @@ describe("MonthYearDropdown", () => { }); it("renders month options with specified locale", () => { + registerLocale("fi", fi); monthYearDropdown = getMonthYearDropdown({ dropdownMode: "select", locale: "fi" diff --git a/test/multi_month_test.js b/test/multi_month_test.js index f4f0fb213..f090e9d71 100644 --- a/test/multi_month_test.js +++ b/test/multi_month_test.js @@ -5,7 +5,7 @@ import YearDropdown from "../src/year_dropdown"; import { shallow } from "enzyme"; describe("Multi month calendar", function() { - var dateFormat = "MMMM YYYY"; + var dateFormat = "LLLL yyyy"; function getCalendar(extraProps) { return shallow( diff --git a/test/time_format_test.js b/test/time_format_test.js index 3749a42b2..9cfbf7fb6 100644 --- a/test/time_format_test.js +++ b/test/time_format_test.js @@ -1,7 +1,6 @@ import React from "react"; import { mount } from "enzyme"; import TimeComponent from "../src/time"; -import moment from "moment"; describe("TimeComponent", () => { let sandbox; @@ -10,7 +9,7 @@ describe("TimeComponent", () => { sandbox = sinon.sandbox.create(); // mock global time to June 14, 1990 13:28:12, so test results will be constant sandbox.useFakeTimers({ - now: moment("1990-06-14 13:28").valueOf(), + now: new Date("1990-06-14 13:28").valueOf(), toFake: ["Date"] }); }); @@ -48,14 +47,14 @@ describe("TimeComponent", () => { it("should call calcCenterPosition with centerLi ref, closest to the selected time", () => { mount( - + ); expect(spy.args[0][1].innerHTML).to.eq("08:00"); }); it("should call calcCenterPosition with centerLi ref, which is selected", () => { mount( - + ); expect( spy.args[0][1].classList.contains( diff --git a/test/timepicker_test.js b/test/timepicker_test.js index 63274ed70..c487e9db9 100644 --- a/test/timepicker_test.js +++ b/test/timepicker_test.js @@ -1,52 +1,55 @@ -import React from "react"; -import DatePicker from "../src/index.jsx"; -import moment from "moment"; -import TestUtils from "react-dom/test-utils"; -import ReactDOM from "react-dom"; -import Time from "../src/time"; +import React from 'react'; +import DatePicker from '../src/index.jsx'; +import TestUtils from 'react-dom/test-utils'; +import ReactDOM from 'react-dom'; +import Time from '../src/time'; +import { newDate, formatDate } from '../src/date_utils'; -describe("TimePicker", () => { +describe('TimePicker', () => { let datePicker; let div; let onChangeMoment; beforeEach(() => { - div = document.createElement("div"); + div = document.createElement('div'); }); - it("should update on input time change", () => { - renderDatePicker("February 28, 2018 4:43 PM"); - expect(getInputString()).to.equal("February 28, 2018 4:43 PM"); - setManually("February 28, 2018 4:45 PM"); - expect(onChangeMoment.format("LLL")).to.equal("February 28, 2018 4:45 PM"); + it('should update on input time change', () => { + renderDatePicker('February 28, 2018 4:43 PM'); + expect(getInputString()).to.equal('February 28, 2018 4:43 PM'); + + setManually('February 28, 2018 4:45 PM'); + expect(formatDate(onChangeMoment, 'MMMM d, yyyy p')).to.equal( + 'February 28, 2018 4:45 PM' + ); }); - it("should allow time changes after input change", () => { - renderDatePicker("February 28, 2018 4:43 PM"); - setManually("February 28, 2018 4:45 PM"); + it('should allow time changes after input change', () => { + renderDatePicker('February 28, 2018 4:43 PM'); + setManually('February 28, 2018 4:45 PM'); TestUtils.Simulate.focus(ReactDOM.findDOMNode(datePicker.input)); const time = TestUtils.findRenderedComponentWithType(datePicker, Time); - const lis = TestUtils.scryRenderedDOMComponentsWithTag(time, "li"); - TestUtils.Simulate.click(lis[0]); - expect(getInputString()).to.equal("February 28, 2018 12:00 AM"); + const lis = TestUtils.scryRenderedDOMComponentsWithTag(time, 'li'); + TestUtils.Simulate.click(lis[1]); + expect(getInputString()).to.equal('February 28, 2018 12:30 AM'); }); - it("should allow for injected moment if input does not have focus", () => { - renderDatePicker("February 28, 2018 4:43 PM"); - setManually("February 28, 2018 4:45 PM"); + it('should allow for injected date if input does not have focus', () => { + renderDatePicker('February 28, 2018 4:43 PM'); + setManually('February 28, 2018 4:45 PM'); TestUtils.Simulate.blur(datePicker.input); - renderDatePicker("February 28, 2018 4:43 PM"); - expect(getInputString()).to.equal("February 28, 2018 4:43 PM"); + renderDatePicker('February 28, 2018 4:43 PM'); + expect(getInputString()).to.equal('February 28, 2018 4:43 PM'); }); - it("should not close datepicker after time clicked when shouldCloseOnSelect is false", () => { + it('should not close datepicker after time clicked when shouldCloseOnSelect is false', () => { var datePicker = TestUtils.renderIntoDocument( ); var dateInput = datePicker.input; TestUtils.Simulate.focus(ReactDOM.findDOMNode(dateInput)); const time = TestUtils.findRenderedComponentWithType(datePicker, Time); - const lis = TestUtils.scryRenderedDOMComponentsWithTag(time, "li"); + const lis = TestUtils.scryRenderedDOMComponentsWithTag(time, 'li'); TestUtils.Simulate.click(lis[0]); expect(datePicker.state.open).to.be.true; }); @@ -61,14 +64,14 @@ describe("TimePicker", () => { } function renderDatePicker(string) { - return renderDatePickerFor(moment(string, "LLL", true)); + return renderDatePickerFor(new Date(string)); } function renderDatePickerFor(selected) { datePicker = ReactDOM.render( { } function onChange(m) { - onChangeMoment = m; + onChangeMoment = newDate(m); renderDatePicker(m); } }); diff --git a/test/timezone_date_picker.jsx b/test/timezone_date_picker.jsx deleted file mode 100644 index 46edbf99a..000000000 --- a/test/timezone_date_picker.jsx +++ /dev/null @@ -1,34 +0,0 @@ -import React from "react"; -import DatePicker from "../src/index.jsx"; -import * as utils from "../src/date_utils"; - -class TimezoneDatePicker extends React.Component { - constructor(props) { - super(props); - this.state = { startDate: null, utcOffset: -4 }; - } - - handleChange(date) { - this.setState({ startDate: date }); - } - - render() { - var selected = - this.state.startDate && - utils.setUTCOffset( - utils.cloneDate(this.state.startDate), - this.state.utcOffset - ); - - return ( - - ); - } -} - -export default TimezoneDatePicker; diff --git a/test/week_test.js b/test/week_test.js index 4c49c6d37..353db1989 100644 --- a/test/week_test.js +++ b/test/week_test.js @@ -1,69 +1,69 @@ -import React from "react"; -import Week from "../src/week"; -import WeekNumber from "../src/week_number"; -import Day from "../src/day"; -import { shallow } from "enzyme"; -import sinon from "sinon"; -import * as utils from "../src/date_utils"; - -describe("Week", () => { - it("should have the week CSS class", () => { +import React from 'react'; +import Week from '../src/week'; +import WeekNumber from '../src/week_number'; +import Day from '../src/day'; +import { shallow } from 'enzyme'; +import sinon from 'sinon'; +import * as utils from '../src/date_utils'; + +describe('Week', () => { + it('should have the week CSS class', () => { const week = shallow(); - expect(week.hasClass("react-datepicker__week")).to.equal(true); + expect(week.hasClass('react-datepicker__week')).to.equal(true); }); - it("should render the days of the week", () => { - const weekStart = utils.getStartOfWeek(utils.newDate("2015-12-20")); + it('should render the days of the week', () => { + const weekStart = utils.getStartOfWeek(utils.newDate('2015-12-20')); const week = shallow(); const days = week.find(Day); expect(days.length).to.equal(7); days.forEach((day, offset) => { - const expectedDay = utils.addDays(utils.cloneDate(weekStart), offset); - assert(utils.isSameDay(day.prop("day"), expectedDay)); + const expectedDay = utils.addDays(weekStart, offset); + assert(utils.isSameDay(day.prop('day'), expectedDay)); }); const weekNumber = week.find(WeekNumber); expect(weekNumber.length).to.equal(0); }); - it("should render the week number", () => { - const weekStart = utils.getStartOfWeek(utils.newDate("2015-12-20")); + it('should render the week number', () => { + const weekStart = utils.getStartOfWeek(utils.newDate('2015-12-20')); const week = shallow(); const days = week.find(Day); expect(days.length).to.equal(7); days.forEach((day, offset) => { - const expectedDay = utils.addDays(utils.cloneDate(weekStart), offset); - assert(utils.isSameDay(day.prop("day"), expectedDay)); + const expectedDay = utils.addDays(weekStart, offset); + assert(utils.isSameDay(day.prop('day'), expectedDay)); }); const weekNumber = week.find(WeekNumber); expect(weekNumber.length).to.equal(1); }); - it("should call the provided onDayClick function", () => { + it('should call the provided onDayClick function', () => { let dayClicked = null; function onDayClick(day) { dayClicked = day; } - const weekStart = utils.newDate("2015-12-20"); + const weekStart = utils.newDate('2015-12-20'); const week = shallow(); const day = week.find(Day).at(0); - day.simulate("click"); - assert(utils.isSameDay(day.prop("day"), dayClicked)); + day.simulate('click'); + assert(utils.isSameDay(day.prop('day'), dayClicked)); }); - it("should call the provided onWeekSelect function and pass the first day of the week", () => { + it('should call the provided onWeekSelect function and pass the first day of the week', () => { let firstDayReceived = null; function onWeekClick(newFirstWeekDay) { firstDayReceived = newFirstWeekDay; } - const weekStart = utils.newDate("2015-12-20"); + const weekStart = utils.newDate('2015-12-20'); const setOpenSpy = sinon.spy(); const week = shallow( { /> ); const weekNumberElement = week.find(WeekNumber); - weekNumberElement.simulate("click"); - expect(utils.equals(firstDayReceived, weekStart)).to.be.true; + weekNumberElement.simulate('click'); + expect(utils.isEqual(firstDayReceived, weekStart)).to.be.true; }); - it("should call the provided onWeekSelect function and call the setopen function", () => { - const weekStart = utils.newDate("2015-12-20"); + it('should call the provided onWeekSelect function and call the setopen function', () => { + const weekStart = utils.newDate('2015-12-20'); const setOpenSpy = sinon.spy(); const week = shallow( @@ -93,12 +93,12 @@ describe("Week", () => { ); const weekNumberElement = week.find(WeekNumber); - weekNumberElement.simulate("click"); + weekNumberElement.simulate('click'); sinon.assert.calledOnce(setOpenSpy); }); it("should call the provided onWeekSelect function and not call the setopen function when 'shouldCloseOnSelect' is false", () => { - const weekStart = utils.newDate("2015-12-20"); + const weekStart = utils.newDate('2015-12-20'); const setOpenSpy = sinon.spy(); const week = shallow( @@ -112,18 +112,18 @@ describe("Week", () => { ); const weekNumberElement = week.find(WeekNumber); - weekNumberElement.simulate("click"); + weekNumberElement.simulate('click'); sinon.assert.notCalled(setOpenSpy); }); - it("should call the provided onWeekSelect function and pass the week number", () => { + it('should call the provided onWeekSelect function and pass the week number', () => { let weekNumberReceived = null; function onWeekClick(unused, newWeekNumber) { weekNumberReceived = newWeekNumber; } - const weekStart = utils.newDate("2015-12-20"); + const weekStart = utils.newDate('2015-12-20'); const realWeekNumber = utils.getWeek(weekStart); const week = shallow( { /> ); const weekNumberElement = week.find(WeekNumber); - weekNumberElement.simulate("click"); + weekNumberElement.simulate('click'); expect(weekNumberReceived).to.equal(realWeekNumber); }); - it("should set the week number with the provided formatWeekNumber function", () => { + it('should set the week number with the provided formatWeekNumber function', () => { let firstDayReceived = null; function weekNumberFormatter(newFirstWeekDay) { @@ -146,7 +146,7 @@ describe("Week", () => { return 9; } - const weekStart = utils.newDate("2015-12-20"); + const weekStart = utils.newDate('2015-12-20'); const week = shallow( { ); const weekNumberElement = week.find(WeekNumber); - expect(utils.equals(firstDayReceived, weekStart)).to.be.true; - expect(weekNumberElement.prop("weekNumber")).to.equal(9); + expect(utils.isEqual(firstDayReceived, weekStart)).to.be.true; + expect(weekNumberElement.prop('weekNumber')).to.equal(9); }); - it("should call the provided onDayMouseEnter function", () => { + it('should call the provided onDayMouseEnter function', () => { let dayMouseEntered = null; function onDayMouseEnter(day) { @@ -172,7 +172,7 @@ describe("Week", () => { ); const day = week.find(Day).first(); - day.simulate("mouseenter"); - assert(utils.isSameDay(day.prop("day"), dayMouseEntered)); + day.simulate('mouseenter'); + assert(utils.isSameDay(day.prop('day'), dayMouseEntered)); }); }); diff --git a/test/year_dropdown_options_test.js b/test/year_dropdown_options_test.js index deb0ff4a0..c785cdd20 100644 --- a/test/year_dropdown_options_test.js +++ b/test/year_dropdown_options_test.js @@ -1,7 +1,7 @@ import React from "react"; import YearDropdownOptions from "../src/year_dropdown_options.jsx"; import { mount, shallow } from "enzyme"; -import moment from "moment"; +import * as utils from "../src/date_utils"; describe("YearDropdownOptions", () => { let yearDropdown, handleChangeResult; @@ -155,34 +155,34 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { it("should generate years between minDate and maxDate if prop scrollableYearDropdown is true", () => { const onCancelSpy = sandbox.spy(); const onChangeSpy = sandbox.spy(); - const minDate = moment(); - const maxDate = moment().add(1, "year"); + const minDate = utils.newDate(); + const maxDate = utils.addYears(utils.newDate(), 1); const yearDropdown = shallow( ); expect(yearDropdown.state().yearsList.length).to.equal(2); - expect(yearDropdown.state().yearsList).to.contain(minDate.year()); - expect(yearDropdown.state().yearsList).to.contain(maxDate.year()); + expect(yearDropdown.state().yearsList).to.contain(utils.getYear(minDate)); + expect(yearDropdown.state().yearsList).to.contain(utils.getYear(maxDate)); }); it("should hide arrows to add years, if not between minDate and maxDate", () => { const onCancelSpy = sandbox.spy(); const onChangeSpy = sandbox.spy(); - const minDate = moment(); - const maxDate = moment().add(1, "year"); + const minDate = utils.newDate(); + const maxDate = utils.addYears(utils.newDate(), 1); const yearDropdown = mount( @@ -199,14 +199,14 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { it("should show arrows to add years, if actual years list contains years between minDate and maxDate", () => { const onCancelSpy = sandbox.spy(); const onChangeSpy = sandbox.spy(); - const minDate = moment().subtract(11, "y"); - const maxDate = moment().add(11, "y"); + const minDate = utils.subYears(utils.newDate(), 11); + const maxDate = utils.addYears(utils.newDate(), 11); const yearDropdown = mount( @@ -223,8 +223,10 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === minDate.year())).to.be.undefined; - expect(textContents.find(year => year === maxDate.year())).to.be.undefined; + expect(textContents.find(year => year === utils.getYear(minDate))).to.be + .undefined; + expect(textContents.find(year => year === utils.getYear(maxDate))).to.be + .undefined; yearDropdown .find(".react-datepicker__navigation--years-previous") @@ -233,8 +235,10 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === minDate.year())).to.be.defined; - expect(textContents.find(year => year === maxDate.year())).to.be.undefined; + expect(textContents.find(year => year === utils.getYear(minDate))).to.be + .defined; + expect(textContents.find(year => year === utils.getYear(maxDate))).to.be + .undefined; expect( yearDropdown.find(".react-datepicker__navigation--years-previous").length ).to.equal(0); @@ -245,20 +249,22 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { textContents = yearDropdown .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === minDate.year())).to.be.defined; - expect(textContents.find(year => year === maxDate.year())).to.be.defined; + expect(textContents.find(year => year === utils.getYear(minDate))).to.be + .defined; + expect(textContents.find(year => year === utils.getYear(maxDate))).to.be + .defined; }); it("should show arrows to add previous years, if actual years list does not contain minDate year, if only minDate is provided", () => { const onCancelSpy = sandbox.spy(); const onChangeSpy = sandbox.spy(); - const minDate = moment().subtract(11, "y"); + const minDate = utils.subYears(utils.newDate(), 11); const yearDropdown = mount( ); @@ -274,7 +280,8 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === minDate.year())).to.be.undefined; + expect(textContents.find(year => year === utils.getYear(minDate))).to.be + .undefined; yearDropdown .find(".react-datepicker__navigation--years-previous") @@ -283,7 +290,8 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { textContents = yearDropdown .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === minDate.year())).to.be.defined; + expect(textContents.find(year => year === utils.getYear(minDate))).to.be + .defined; expect( yearDropdown.find(".react-datepicker__navigation--years-upcoming").length ).to.equal(1); @@ -295,13 +303,13 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { it("should show arrows to add upcoming years, if actual years list does not contain maxDate year, if only maxDate is provided", () => { const onCancelSpy = sandbox.spy(); const onChangeSpy = sandbox.spy(); - const maxDate = moment().add(11, "y"); + const maxDate = utils.addYears(utils.newDate(), 11); const yearDropdown = mount( ); @@ -317,7 +325,8 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === maxDate.year())).to.be.undefined; + expect(textContents.find(year => year === utils.getYear(maxDate))).to.be + .undefined; yearDropdown .find(".react-datepicker__navigation--years-upcoming") @@ -327,7 +336,8 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === maxDate.year())).to.be.defined; + expect(textContents.find(year => year === utils.getYear(maxDate))).to.be + .defined; expect( yearDropdown.find(".react-datepicker__navigation--years-upcoming").length ).to.equal(0); diff --git a/webpack.config.js b/webpack.config.js index fe4871292..9b5151d88 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -36,14 +36,6 @@ module.exports = { amd: "react" } }, - { - moment: { - root: "moment", - commonjs2: "moment", - commonjs: "moment", - amd: "moment" - } - }, { "react-onclickoutside": { root: "onClickOutside",
- {` + render() { + return ( + + + + {` `} - - - - - - Don't forget to check the weather! - - + + + + + + Don't forget to check the weather! + + + - + ); } } diff --git a/docs-site/src/examples/clear_input.jsx b/docs-site/src/examples/clear_input.jsx index abab558e9..9331b09fa 100644 --- a/docs-site/src/examples/clear_input.jsx +++ b/docs-site/src/examples/clear_input.jsx @@ -1,25 +1,25 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class ClearInput extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + {` `} - - - + + + + - + ); } } diff --git a/docs-site/src/examples/configurePopper.jsx b/docs-site/src/examples/configurePopper.jsx index 8e278e8d7..cd5ca252c 100644 --- a/docs-site/src/examples/configurePopper.jsx +++ b/docs-site/src/examples/configurePopper.jsx @@ -1,25 +1,26 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class ConfigurePopper extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_calendar_class_name.jsx b/docs-site/src/examples/custom_calendar_class_name.jsx index ad14eb67e..484ac4ab2 100644 --- a/docs-site/src/examples/custom_calendar_class_name.jsx +++ b/docs-site/src/examples/custom_calendar_class_name.jsx @@ -1,38 +1,40 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class CustomCalendarClassName extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + {` `} - - - + + + + - + ); } } diff --git a/docs-site/src/examples/custom_class_name.jsx b/docs-site/src/examples/custom_class_name.jsx index 06c5845e2..84b265576 100644 --- a/docs-site/src/examples/custom_class_name.jsx +++ b/docs-site/src/examples/custom_class_name.jsx @@ -1,39 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class CustomClassName extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_date_format.jsx b/docs-site/src/examples/custom_date_format.jsx index fc65bae30..7baf7bc03 100644 --- a/docs-site/src/examples/custom_date_format.jsx +++ b/docs-site/src/examples/custom_date_format.jsx @@ -1,37 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import DatePicker from "react-datepicker"; export default class CustomDateFormat extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - - {' - {'dateFormat="YYYY/MM/DD"'} - {'selected={this.state.startDate}'} - {'onChange={this.handleChange} />'} - - - - + render() { + return ( + + + + {" + {'dateFormat="yyyy/MM/dd"'} + + {"selected={this.state.startDate}"} + + {"onChange={this.handleChange} />"} + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_day_class_names.jsx b/docs-site/src/examples/custom_day_class_names.jsx index 2b9270daa..d66bfdc47 100644 --- a/docs-site/src/examples/custom_day_class_names.jsx +++ b/docs-site/src/examples/custom_day_class_names.jsx @@ -1,39 +1,45 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import getDate from 'date-fns/getDate'; export default class CustomDayClassNames extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` date.date() < Math.random() * 31 ? 'random' : undefined} /> + dayClassName={date => getDate(date) < Math.random() * 31 ? 'random' : undefined} /> /> `} - - - - date.date() < Math.random() * 31 ? 'random' : undefined} /> + + + + + getDate(date) < Math.random() * 31 ? 'random' : undefined + } + /> + - + ); } } diff --git a/docs-site/src/examples/custom_input.jsx b/docs-site/src/examples/custom_input.jsx index 6e7b6ff9f..58b797b82 100644 --- a/docs-site/src/examples/custom_input.jsx +++ b/docs-site/src/examples/custom_input.jsx @@ -1,44 +1,43 @@ -import React from 'react' -import PropTypes from 'prop-types' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import PropTypes from "prop-types"; +import DatePicker from "react-datepicker"; /* eslint-disable react/no-multi-comp */ class ExampleCustomInput extends React.Component { static propTypes = { onClick: PropTypes.func, value: PropTypes.string - } + }; - render () { + render() { return ( - + {this.props.value} - ) + ); } } export default class CustomInput extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` class ExampleCustomInput extends React.Component { render () { @@ -64,14 +63,16 @@ ExampleCustomInput.propTypes = { selected={this.state.startDate} onChange={this.handleChange} /> `} - - - - } - selected={this.state.startDate} - onChange={this.handleChange} /> + + + + } + selected={this.state.startDate} + onChange={this.handleChange} + /> + - + ); } } diff --git a/docs-site/src/examples/date_range.jsx b/docs-site/src/examples/date_range.jsx index 2151f9992..8b0c7c30d 100644 --- a/docs-site/src/examples/date_range.jsx +++ b/docs-site/src/examples/date_range.jsx @@ -1,35 +1,37 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import isAfter from 'date-fns/isAfter'; export default class DateRange extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment('2014-02-08'), - endDate: moment('2014-02-10') - } + startDate: new Date('2014/02/08'), + endDate: new Date('2014/02/10') + }; } handleChange = ({ startDate, endDate }) => { - startDate = startDate || this.state.startDate - endDate = endDate || this.state.endDate + startDate = startDate || this.state.startDate; + endDate = endDate || this.state.endDate; - if (startDate.isAfter(endDate)) { - endDate = startDate + if (isAfter(startDate, endDate)) { + endDate = startDate; } - this.setState({ startDate, endDate }) - } + this.setState({ startDate, endDate }); + }; - handleChangeStart = (startDate) => this.handleChange({ startDate }) + handleChangeStart = startDate => this.handleChange({ startDate }); - handleChangeEnd = (endDate) => this.handleChange({ endDate }) + handleChangeEnd = endDate => this.handleChange({ endDate }); - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - - + + + + + + - + ); } } diff --git a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx index a1bd3d39c..2fcf0edf3 100644 --- a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx +++ b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addMonths from "date-fns/addMonths"; export default class DateRangeWithShowDisabledNavigation extends React.Component { state = { @@ -17,12 +17,13 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component return ( - {` + + {` @@ -33,9 +34,10 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component + minDate={new Date()} + maxDate={addMonths(new Date(), 5)} + showDisabledMonthNavigation + /> ); diff --git a/docs-site/src/examples/default.jsx b/docs-site/src/examples/default.jsx index 044d6d8c6..62ef0f6f0 100644 --- a/docs-site/src/examples/default.jsx +++ b/docs-site/src/examples/default.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } diff --git a/docs-site/src/examples/disabled_keyboard_navigation.jsx b/docs-site/src/examples/disabled_keyboard_navigation.jsx index 7406323a0..4353faaa1 100644 --- a/docs-site/src/examples/disabled_keyboard_navigation.jsx +++ b/docs-site/src/examples/disabled_keyboard_navigation.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DisabledKeyboardNavigation extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -37,7 +36,8 @@ export default class DisabledKeyboardNavigation extends React.Component { selected={this.state.startDate} onChange={this.handleChange} disabledKeyboardNavigation - placeholderText="This has disabled keyboard navigation"/> + placeholderText="This has disabled keyboard navigation" + /> ); diff --git a/docs-site/src/examples/dont_close_onSelect.jsx b/docs-site/src/examples/dont_close_onSelect.jsx index d3ecd69c3..831bff3c7 100644 --- a/docs-site/src/examples/dont_close_onSelect.jsx +++ b/docs-site/src/examples/dont_close_onSelect.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DontCloseOnSelect extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class DontCloseOnSelect extends React.Component { + shouldCloseOnSelect={false} + /> ); diff --git a/docs-site/src/examples/exclude_dates.jsx b/docs-site/src/examples/exclude_dates.jsx index 3f26cb05e..882915224 100644 --- a/docs-site/src/examples/exclude_dates.jsx +++ b/docs-site/src/examples/exclude_dates.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import subDays from "date-fns/subDays"; export default class ExcludeDates extends React.Component { state = { @@ -25,7 +25,7 @@ export default class ExcludeDates extends React.Component { {" onChange={this.handleChange}"} - {' excludeDates={[moment(), moment().subtract(1, "days")]}'} + {" excludeDates={[new Date(), subDays(new Date(), 1)]}"} { @@ -37,8 +37,9 @@ export default class ExcludeDates extends React.Component { + excludeDates={[new Date(), subDays(new Date(), 1)]} + placeholderText="Select a date other than today or yesterday" + /> ); diff --git a/docs-site/src/examples/exclude_time_period.jsx b/docs-site/src/examples/exclude_time_period.jsx index 635b21998..7317f243b 100644 --- a/docs-site/src/examples/exclude_time_period.jsx +++ b/docs-site/src/examples/exclude_time_period.jsx @@ -1,12 +1,11 @@ -import React from "react"; -import DatePicker from "react-datepicker"; -import moment from "moment"; +import React from 'react'; +import DatePicker from 'react-datepicker'; +import setMinutes from 'date-fns/setMinutes'; +import setHours from 'date-fns/setHours'; export default class ExcludeTimePeriod extends React.Component { state = { - startDate: moment() - .hours(17) - .minutes(30) + startDate: setHours(setMinutes(new Date(), 30), 17) }; handleChange = date => { @@ -20,23 +19,23 @@ export default class ExcludeTimePeriod extends React.Component { - {" - {" selected={this.state.startDate}"} + {' selected={this.state.startDate}'} - {" onChange={this.handleChange}"} + {' onChange={this.handleChange}'} - {" showTimeSelect"} + {' showTimeSelect'} - {" minTime={moment().hours(17).minutes(0)}"} + {' minTime={setHours(setMinutes(new Date(), 0), 17)}'} - {" maxTime={moment().hours(20).minutes(30)}"} + {' maxTime={setHours(setMinutes(new Date(), 30), 20)}'} - {' dateFormat="LLL"'} + {' dateFormat="MMMM d, yyyy"'} - {"/>"} + {'/>'} @@ -44,13 +43,10 @@ export default class ExcludeTimePeriod extends React.Component { selected={this.state.startDate} onChange={this.handleChange} showTimeSelect - minTime={moment() - .hours(17) - .minutes(0)} - maxTime={moment() - .hours(20) - .minutes(30)} - dateFormat="LLL"/> + minTime={setHours(setMinutes(new Date(), 0), 17)} + maxTime={setHours(setMinutes(new Date(), 30), 20)} + dateFormat="MMMM d, yyyy h:mm aa" + /> ); diff --git a/docs-site/src/examples/exclude_times.jsx b/docs-site/src/examples/exclude_times.jsx index 1d4951e45..38a9bf50c 100644 --- a/docs-site/src/examples/exclude_times.jsx +++ b/docs-site/src/examples/exclude_times.jsx @@ -1,12 +1,11 @@ -import React from "react"; -import DatePicker from "react-datepicker"; -import moment from "moment"; +import React from 'react'; +import DatePicker from 'react-datepicker'; +import setMinutes from 'date-fns/setMinutes'; +import setHours from 'date-fns/setHours'; export default class ExcludeTimes extends React.Component { state = { - startDate: moment() - .hours(16) - .minutes(30) + startDate: setHours(setMinutes(new Date(), 30), 16) }; handleChange = date => { @@ -20,23 +19,23 @@ export default class ExcludeTimes extends React.Component { - {" - {" selected={this.state.startDate}"} + {' selected={this.state.startDate}'} - {" onChange={this.handleChange}"} + {' onChange={this.handleChange}'} - {" showTimeSelect"} + {' showTimeSelect'} { - " excludeTimes={[moment().hours(17).minutes(0), moment().hours(18).minutes(30), moment().hours(19).minutes(30)], moment().hours(17).minutes(30)}" + ' excludeTimes={[setHours(setMinutes(new Date(), 0), 17), setHours(setMinutes(new Date(), 30), 18), setHours(setMinutes(new Date(), 30), 19), setHours(setMinutes(new Date(), 30), 17)]}' } - {' dateFormat="LLL"'} + {' dateFormat="MMMM d, yyyy h:mm aa"'} - {"/>"} + {'/>'} @@ -45,20 +44,13 @@ export default class ExcludeTimes extends React.Component { onChange={this.handleChange} showTimeSelect excludeTimes={[ - moment() - .hours(17) - .minutes(0), - moment() - .hours(18) - .minutes(30), - moment() - .hours(19) - .minutes(30), - moment() - .hours(17) - .minutes(30) + setHours(setMinutes(new Date(), 0), 17), + setHours(setMinutes(new Date(), 30), 18), + setHours(setMinutes(new Date(), 30), 19), + setHours(setMinutes(new Date(), 30), 17) ]} - dateFormat="LLL"/> + dateFormat="MMMM d, yyyy h:mm aa" + /> ); diff --git a/docs-site/src/examples/filter_dates.jsx b/docs-site/src/examples/filter_dates.jsx index 3a8c5cf1b..25673a781 100644 --- a/docs-site/src/examples/filter_dates.jsx +++ b/docs-site/src/examples/filter_dates.jsx @@ -1,5 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; +import getDay from "date-fns/getDay"; export default class FilterDates extends React.Component { state = { @@ -13,7 +14,7 @@ export default class FilterDates extends React.Component { }; isWeekday = date => { - const day = date.day(); + const day = getDay(date); return day !== 0 && day !== 6; }; @@ -38,7 +39,8 @@ export default class FilterDates extends React.Component { selected={this.state.date} onChange={this.handleChange} filterDate={this.isWeekday} - placeholderText="Select a weekday"/> + placeholderText="Select a weekday" + />
{` + render() { + return ( + + + + {` `} - - - - - - Don't forget to check the weather! - - + + + + + + Don't forget to check the weather! + + + - + ); } } diff --git a/docs-site/src/examples/clear_input.jsx b/docs-site/src/examples/clear_input.jsx index abab558e9..9331b09fa 100644 --- a/docs-site/src/examples/clear_input.jsx +++ b/docs-site/src/examples/clear_input.jsx @@ -1,25 +1,25 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class ClearInput extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + {` `} - - - + + + + - + ); } } diff --git a/docs-site/src/examples/configurePopper.jsx b/docs-site/src/examples/configurePopper.jsx index 8e278e8d7..cd5ca252c 100644 --- a/docs-site/src/examples/configurePopper.jsx +++ b/docs-site/src/examples/configurePopper.jsx @@ -1,25 +1,26 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class ConfigurePopper extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_calendar_class_name.jsx b/docs-site/src/examples/custom_calendar_class_name.jsx index ad14eb67e..484ac4ab2 100644 --- a/docs-site/src/examples/custom_calendar_class_name.jsx +++ b/docs-site/src/examples/custom_calendar_class_name.jsx @@ -1,38 +1,40 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class CustomCalendarClassName extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + {` `} - - - + + + + - + ); } } diff --git a/docs-site/src/examples/custom_class_name.jsx b/docs-site/src/examples/custom_class_name.jsx index 06c5845e2..84b265576 100644 --- a/docs-site/src/examples/custom_class_name.jsx +++ b/docs-site/src/examples/custom_class_name.jsx @@ -1,39 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class CustomClassName extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_date_format.jsx b/docs-site/src/examples/custom_date_format.jsx index fc65bae30..7baf7bc03 100644 --- a/docs-site/src/examples/custom_date_format.jsx +++ b/docs-site/src/examples/custom_date_format.jsx @@ -1,37 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import DatePicker from "react-datepicker"; export default class CustomDateFormat extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - - {' - {'dateFormat="YYYY/MM/DD"'} - {'selected={this.state.startDate}'} - {'onChange={this.handleChange} />'} - - - - + render() { + return ( + + + + {" + {'dateFormat="yyyy/MM/dd"'} + + {"selected={this.state.startDate}"} + + {"onChange={this.handleChange} />"} + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_day_class_names.jsx b/docs-site/src/examples/custom_day_class_names.jsx index 2b9270daa..d66bfdc47 100644 --- a/docs-site/src/examples/custom_day_class_names.jsx +++ b/docs-site/src/examples/custom_day_class_names.jsx @@ -1,39 +1,45 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import getDate from 'date-fns/getDate'; export default class CustomDayClassNames extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` date.date() < Math.random() * 31 ? 'random' : undefined} /> + dayClassName={date => getDate(date) < Math.random() * 31 ? 'random' : undefined} /> /> `} - - - - date.date() < Math.random() * 31 ? 'random' : undefined} /> + + + + + getDate(date) < Math.random() * 31 ? 'random' : undefined + } + /> + - + ); } } diff --git a/docs-site/src/examples/custom_input.jsx b/docs-site/src/examples/custom_input.jsx index 6e7b6ff9f..58b797b82 100644 --- a/docs-site/src/examples/custom_input.jsx +++ b/docs-site/src/examples/custom_input.jsx @@ -1,44 +1,43 @@ -import React from 'react' -import PropTypes from 'prop-types' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import PropTypes from "prop-types"; +import DatePicker from "react-datepicker"; /* eslint-disable react/no-multi-comp */ class ExampleCustomInput extends React.Component { static propTypes = { onClick: PropTypes.func, value: PropTypes.string - } + }; - render () { + render() { return ( - + {this.props.value} - ) + ); } } export default class CustomInput extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` class ExampleCustomInput extends React.Component { render () { @@ -64,14 +63,16 @@ ExampleCustomInput.propTypes = { selected={this.state.startDate} onChange={this.handleChange} /> `} - - - - } - selected={this.state.startDate} - onChange={this.handleChange} /> + + + + } + selected={this.state.startDate} + onChange={this.handleChange} + /> + - + ); } } diff --git a/docs-site/src/examples/date_range.jsx b/docs-site/src/examples/date_range.jsx index 2151f9992..8b0c7c30d 100644 --- a/docs-site/src/examples/date_range.jsx +++ b/docs-site/src/examples/date_range.jsx @@ -1,35 +1,37 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import isAfter from 'date-fns/isAfter'; export default class DateRange extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment('2014-02-08'), - endDate: moment('2014-02-10') - } + startDate: new Date('2014/02/08'), + endDate: new Date('2014/02/10') + }; } handleChange = ({ startDate, endDate }) => { - startDate = startDate || this.state.startDate - endDate = endDate || this.state.endDate + startDate = startDate || this.state.startDate; + endDate = endDate || this.state.endDate; - if (startDate.isAfter(endDate)) { - endDate = startDate + if (isAfter(startDate, endDate)) { + endDate = startDate; } - this.setState({ startDate, endDate }) - } + this.setState({ startDate, endDate }); + }; - handleChangeStart = (startDate) => this.handleChange({ startDate }) + handleChangeStart = startDate => this.handleChange({ startDate }); - handleChangeEnd = (endDate) => this.handleChange({ endDate }) + handleChangeEnd = endDate => this.handleChange({ endDate }); - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - - + + + + + + - + ); } } diff --git a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx index a1bd3d39c..2fcf0edf3 100644 --- a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx +++ b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addMonths from "date-fns/addMonths"; export default class DateRangeWithShowDisabledNavigation extends React.Component { state = { @@ -17,12 +17,13 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component return ( - {` + + {` @@ -33,9 +34,10 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component + minDate={new Date()} + maxDate={addMonths(new Date(), 5)} + showDisabledMonthNavigation + /> ); diff --git a/docs-site/src/examples/default.jsx b/docs-site/src/examples/default.jsx index 044d6d8c6..62ef0f6f0 100644 --- a/docs-site/src/examples/default.jsx +++ b/docs-site/src/examples/default.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } diff --git a/docs-site/src/examples/disabled_keyboard_navigation.jsx b/docs-site/src/examples/disabled_keyboard_navigation.jsx index 7406323a0..4353faaa1 100644 --- a/docs-site/src/examples/disabled_keyboard_navigation.jsx +++ b/docs-site/src/examples/disabled_keyboard_navigation.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DisabledKeyboardNavigation extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -37,7 +36,8 @@ export default class DisabledKeyboardNavigation extends React.Component { selected={this.state.startDate} onChange={this.handleChange} disabledKeyboardNavigation - placeholderText="This has disabled keyboard navigation"/> + placeholderText="This has disabled keyboard navigation" + /> ); diff --git a/docs-site/src/examples/dont_close_onSelect.jsx b/docs-site/src/examples/dont_close_onSelect.jsx index d3ecd69c3..831bff3c7 100644 --- a/docs-site/src/examples/dont_close_onSelect.jsx +++ b/docs-site/src/examples/dont_close_onSelect.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DontCloseOnSelect extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class DontCloseOnSelect extends React.Component { + shouldCloseOnSelect={false} + /> ); diff --git a/docs-site/src/examples/exclude_dates.jsx b/docs-site/src/examples/exclude_dates.jsx index 3f26cb05e..882915224 100644 --- a/docs-site/src/examples/exclude_dates.jsx +++ b/docs-site/src/examples/exclude_dates.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import subDays from "date-fns/subDays"; export default class ExcludeDates extends React.Component { state = { @@ -25,7 +25,7 @@ export default class ExcludeDates extends React.Component { {" onChange={this.handleChange}"} - {' excludeDates={[moment(), moment().subtract(1, "days")]}'} + {" excludeDates={[new Date(), subDays(new Date(), 1)]}"} { @@ -37,8 +37,9 @@ export default class ExcludeDates extends React.Component { + excludeDates={[new Date(), subDays(new Date(), 1)]} + placeholderText="Select a date other than today or yesterday" + /> ); diff --git a/docs-site/src/examples/exclude_time_period.jsx b/docs-site/src/examples/exclude_time_period.jsx index 635b21998..7317f243b 100644 --- a/docs-site/src/examples/exclude_time_period.jsx +++ b/docs-site/src/examples/exclude_time_period.jsx @@ -1,12 +1,11 @@ -import React from "react"; -import DatePicker from "react-datepicker"; -import moment from "moment"; +import React from 'react'; +import DatePicker from 'react-datepicker'; +import setMinutes from 'date-fns/setMinutes'; +import setHours from 'date-fns/setHours'; export default class ExcludeTimePeriod extends React.Component { state = { - startDate: moment() - .hours(17) - .minutes(30) + startDate: setHours(setMinutes(new Date(), 30), 17) }; handleChange = date => { @@ -20,23 +19,23 @@ export default class ExcludeTimePeriod extends React.Component { - {" - {" selected={this.state.startDate}"} + {' selected={this.state.startDate}'} - {" onChange={this.handleChange}"} + {' onChange={this.handleChange}'} - {" showTimeSelect"} + {' showTimeSelect'} - {" minTime={moment().hours(17).minutes(0)}"} + {' minTime={setHours(setMinutes(new Date(), 0), 17)}'} - {" maxTime={moment().hours(20).minutes(30)}"} + {' maxTime={setHours(setMinutes(new Date(), 30), 20)}'} - {' dateFormat="LLL"'} + {' dateFormat="MMMM d, yyyy"'} - {"/>"} + {'/>'} @@ -44,13 +43,10 @@ export default class ExcludeTimePeriod extends React.Component { selected={this.state.startDate} onChange={this.handleChange} showTimeSelect - minTime={moment() - .hours(17) - .minutes(0)} - maxTime={moment() - .hours(20) - .minutes(30)} - dateFormat="LLL"/> + minTime={setHours(setMinutes(new Date(), 0), 17)} + maxTime={setHours(setMinutes(new Date(), 30), 20)} + dateFormat="MMMM d, yyyy h:mm aa" + /> ); diff --git a/docs-site/src/examples/exclude_times.jsx b/docs-site/src/examples/exclude_times.jsx index 1d4951e45..38a9bf50c 100644 --- a/docs-site/src/examples/exclude_times.jsx +++ b/docs-site/src/examples/exclude_times.jsx @@ -1,12 +1,11 @@ -import React from "react"; -import DatePicker from "react-datepicker"; -import moment from "moment"; +import React from 'react'; +import DatePicker from 'react-datepicker'; +import setMinutes from 'date-fns/setMinutes'; +import setHours from 'date-fns/setHours'; export default class ExcludeTimes extends React.Component { state = { - startDate: moment() - .hours(16) - .minutes(30) + startDate: setHours(setMinutes(new Date(), 30), 16) }; handleChange = date => { @@ -20,23 +19,23 @@ export default class ExcludeTimes extends React.Component { - {" - {" selected={this.state.startDate}"} + {' selected={this.state.startDate}'} - {" onChange={this.handleChange}"} + {' onChange={this.handleChange}'} - {" showTimeSelect"} + {' showTimeSelect'} { - " excludeTimes={[moment().hours(17).minutes(0), moment().hours(18).minutes(30), moment().hours(19).minutes(30)], moment().hours(17).minutes(30)}" + ' excludeTimes={[setHours(setMinutes(new Date(), 0), 17), setHours(setMinutes(new Date(), 30), 18), setHours(setMinutes(new Date(), 30), 19), setHours(setMinutes(new Date(), 30), 17)]}' } - {' dateFormat="LLL"'} + {' dateFormat="MMMM d, yyyy h:mm aa"'} - {"/>"} + {'/>'} @@ -45,20 +44,13 @@ export default class ExcludeTimes extends React.Component { onChange={this.handleChange} showTimeSelect excludeTimes={[ - moment() - .hours(17) - .minutes(0), - moment() - .hours(18) - .minutes(30), - moment() - .hours(19) - .minutes(30), - moment() - .hours(17) - .minutes(30) + setHours(setMinutes(new Date(), 0), 17), + setHours(setMinutes(new Date(), 30), 18), + setHours(setMinutes(new Date(), 30), 19), + setHours(setMinutes(new Date(), 30), 17) ]} - dateFormat="LLL"/> + dateFormat="MMMM d, yyyy h:mm aa" + /> ); diff --git a/docs-site/src/examples/filter_dates.jsx b/docs-site/src/examples/filter_dates.jsx index 3a8c5cf1b..25673a781 100644 --- a/docs-site/src/examples/filter_dates.jsx +++ b/docs-site/src/examples/filter_dates.jsx @@ -1,5 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; +import getDay from "date-fns/getDay"; export default class FilterDates extends React.Component { state = { @@ -13,7 +14,7 @@ export default class FilterDates extends React.Component { }; isWeekday = date => { - const day = date.day(); + const day = getDay(date); return day !== 0 && day !== 6; }; @@ -38,7 +39,8 @@ export default class FilterDates extends React.Component { selected={this.state.date} onChange={this.handleChange} filterDate={this.isWeekday} - placeholderText="Select a weekday"/> + placeholderText="Select a weekday" + />
+ + {` `} - -
+ {` `} -
- {` + render() { + return ( + + + {` `} - - - + + + + - + ); } } diff --git a/docs-site/src/examples/configurePopper.jsx b/docs-site/src/examples/configurePopper.jsx index 8e278e8d7..cd5ca252c 100644 --- a/docs-site/src/examples/configurePopper.jsx +++ b/docs-site/src/examples/configurePopper.jsx @@ -1,25 +1,26 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class ConfigurePopper extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_calendar_class_name.jsx b/docs-site/src/examples/custom_calendar_class_name.jsx index ad14eb67e..484ac4ab2 100644 --- a/docs-site/src/examples/custom_calendar_class_name.jsx +++ b/docs-site/src/examples/custom_calendar_class_name.jsx @@ -1,38 +1,40 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class CustomCalendarClassName extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + {` `} - - - + + + + - + ); } } diff --git a/docs-site/src/examples/custom_class_name.jsx b/docs-site/src/examples/custom_class_name.jsx index 06c5845e2..84b265576 100644 --- a/docs-site/src/examples/custom_class_name.jsx +++ b/docs-site/src/examples/custom_class_name.jsx @@ -1,39 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class CustomClassName extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_date_format.jsx b/docs-site/src/examples/custom_date_format.jsx index fc65bae30..7baf7bc03 100644 --- a/docs-site/src/examples/custom_date_format.jsx +++ b/docs-site/src/examples/custom_date_format.jsx @@ -1,37 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import DatePicker from "react-datepicker"; export default class CustomDateFormat extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - - {' - {'dateFormat="YYYY/MM/DD"'} - {'selected={this.state.startDate}'} - {'onChange={this.handleChange} />'} - - - - + render() { + return ( + + + + {" + {'dateFormat="yyyy/MM/dd"'} + + {"selected={this.state.startDate}"} + + {"onChange={this.handleChange} />"} + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_day_class_names.jsx b/docs-site/src/examples/custom_day_class_names.jsx index 2b9270daa..d66bfdc47 100644 --- a/docs-site/src/examples/custom_day_class_names.jsx +++ b/docs-site/src/examples/custom_day_class_names.jsx @@ -1,39 +1,45 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import getDate from 'date-fns/getDate'; export default class CustomDayClassNames extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` date.date() < Math.random() * 31 ? 'random' : undefined} /> + dayClassName={date => getDate(date) < Math.random() * 31 ? 'random' : undefined} /> /> `} - - - - date.date() < Math.random() * 31 ? 'random' : undefined} /> + + + + + getDate(date) < Math.random() * 31 ? 'random' : undefined + } + /> + - + ); } } diff --git a/docs-site/src/examples/custom_input.jsx b/docs-site/src/examples/custom_input.jsx index 6e7b6ff9f..58b797b82 100644 --- a/docs-site/src/examples/custom_input.jsx +++ b/docs-site/src/examples/custom_input.jsx @@ -1,44 +1,43 @@ -import React from 'react' -import PropTypes from 'prop-types' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import PropTypes from "prop-types"; +import DatePicker from "react-datepicker"; /* eslint-disable react/no-multi-comp */ class ExampleCustomInput extends React.Component { static propTypes = { onClick: PropTypes.func, value: PropTypes.string - } + }; - render () { + render() { return ( - + {this.props.value} - ) + ); } } export default class CustomInput extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` class ExampleCustomInput extends React.Component { render () { @@ -64,14 +63,16 @@ ExampleCustomInput.propTypes = { selected={this.state.startDate} onChange={this.handleChange} /> `} - - - - } - selected={this.state.startDate} - onChange={this.handleChange} /> + + + + } + selected={this.state.startDate} + onChange={this.handleChange} + /> + - + ); } } diff --git a/docs-site/src/examples/date_range.jsx b/docs-site/src/examples/date_range.jsx index 2151f9992..8b0c7c30d 100644 --- a/docs-site/src/examples/date_range.jsx +++ b/docs-site/src/examples/date_range.jsx @@ -1,35 +1,37 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import isAfter from 'date-fns/isAfter'; export default class DateRange extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment('2014-02-08'), - endDate: moment('2014-02-10') - } + startDate: new Date('2014/02/08'), + endDate: new Date('2014/02/10') + }; } handleChange = ({ startDate, endDate }) => { - startDate = startDate || this.state.startDate - endDate = endDate || this.state.endDate + startDate = startDate || this.state.startDate; + endDate = endDate || this.state.endDate; - if (startDate.isAfter(endDate)) { - endDate = startDate + if (isAfter(startDate, endDate)) { + endDate = startDate; } - this.setState({ startDate, endDate }) - } + this.setState({ startDate, endDate }); + }; - handleChangeStart = (startDate) => this.handleChange({ startDate }) + handleChangeStart = startDate => this.handleChange({ startDate }); - handleChangeEnd = (endDate) => this.handleChange({ endDate }) + handleChangeEnd = endDate => this.handleChange({ endDate }); - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - - + + + + + + - + ); } } diff --git a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx index a1bd3d39c..2fcf0edf3 100644 --- a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx +++ b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addMonths from "date-fns/addMonths"; export default class DateRangeWithShowDisabledNavigation extends React.Component { state = { @@ -17,12 +17,13 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component return ( - {` + + {` @@ -33,9 +34,10 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component + minDate={new Date()} + maxDate={addMonths(new Date(), 5)} + showDisabledMonthNavigation + /> ); diff --git a/docs-site/src/examples/default.jsx b/docs-site/src/examples/default.jsx index 044d6d8c6..62ef0f6f0 100644 --- a/docs-site/src/examples/default.jsx +++ b/docs-site/src/examples/default.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } diff --git a/docs-site/src/examples/disabled_keyboard_navigation.jsx b/docs-site/src/examples/disabled_keyboard_navigation.jsx index 7406323a0..4353faaa1 100644 --- a/docs-site/src/examples/disabled_keyboard_navigation.jsx +++ b/docs-site/src/examples/disabled_keyboard_navigation.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DisabledKeyboardNavigation extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -37,7 +36,8 @@ export default class DisabledKeyboardNavigation extends React.Component { selected={this.state.startDate} onChange={this.handleChange} disabledKeyboardNavigation - placeholderText="This has disabled keyboard navigation"/> + placeholderText="This has disabled keyboard navigation" + /> ); diff --git a/docs-site/src/examples/dont_close_onSelect.jsx b/docs-site/src/examples/dont_close_onSelect.jsx index d3ecd69c3..831bff3c7 100644 --- a/docs-site/src/examples/dont_close_onSelect.jsx +++ b/docs-site/src/examples/dont_close_onSelect.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DontCloseOnSelect extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class DontCloseOnSelect extends React.Component { + shouldCloseOnSelect={false} + /> ); diff --git a/docs-site/src/examples/exclude_dates.jsx b/docs-site/src/examples/exclude_dates.jsx index 3f26cb05e..882915224 100644 --- a/docs-site/src/examples/exclude_dates.jsx +++ b/docs-site/src/examples/exclude_dates.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import subDays from "date-fns/subDays"; export default class ExcludeDates extends React.Component { state = { @@ -25,7 +25,7 @@ export default class ExcludeDates extends React.Component { {" onChange={this.handleChange}"} - {' excludeDates={[moment(), moment().subtract(1, "days")]}'} + {" excludeDates={[new Date(), subDays(new Date(), 1)]}"} { @@ -37,8 +37,9 @@ export default class ExcludeDates extends React.Component { + excludeDates={[new Date(), subDays(new Date(), 1)]} + placeholderText="Select a date other than today or yesterday" + />
{` + render() { + return ( + + + {` `} - - - + + + + - + ); } } diff --git a/docs-site/src/examples/configurePopper.jsx b/docs-site/src/examples/configurePopper.jsx index 8e278e8d7..cd5ca252c 100644 --- a/docs-site/src/examples/configurePopper.jsx +++ b/docs-site/src/examples/configurePopper.jsx @@ -1,25 +1,26 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class ConfigurePopper extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_calendar_class_name.jsx b/docs-site/src/examples/custom_calendar_class_name.jsx index ad14eb67e..484ac4ab2 100644 --- a/docs-site/src/examples/custom_calendar_class_name.jsx +++ b/docs-site/src/examples/custom_calendar_class_name.jsx @@ -1,38 +1,40 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class CustomCalendarClassName extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + {` `} - - - + + + + - + ); } } diff --git a/docs-site/src/examples/custom_class_name.jsx b/docs-site/src/examples/custom_class_name.jsx index 06c5845e2..84b265576 100644 --- a/docs-site/src/examples/custom_class_name.jsx +++ b/docs-site/src/examples/custom_class_name.jsx @@ -1,39 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class CustomClassName extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_date_format.jsx b/docs-site/src/examples/custom_date_format.jsx index fc65bae30..7baf7bc03 100644 --- a/docs-site/src/examples/custom_date_format.jsx +++ b/docs-site/src/examples/custom_date_format.jsx @@ -1,37 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import DatePicker from "react-datepicker"; export default class CustomDateFormat extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - - {' - {'dateFormat="YYYY/MM/DD"'} - {'selected={this.state.startDate}'} - {'onChange={this.handleChange} />'} - - - - + render() { + return ( + + + + {" + {'dateFormat="yyyy/MM/dd"'} + + {"selected={this.state.startDate}"} + + {"onChange={this.handleChange} />"} + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_day_class_names.jsx b/docs-site/src/examples/custom_day_class_names.jsx index 2b9270daa..d66bfdc47 100644 --- a/docs-site/src/examples/custom_day_class_names.jsx +++ b/docs-site/src/examples/custom_day_class_names.jsx @@ -1,39 +1,45 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import getDate from 'date-fns/getDate'; export default class CustomDayClassNames extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` date.date() < Math.random() * 31 ? 'random' : undefined} /> + dayClassName={date => getDate(date) < Math.random() * 31 ? 'random' : undefined} /> /> `} - - - - date.date() < Math.random() * 31 ? 'random' : undefined} /> + + + + + getDate(date) < Math.random() * 31 ? 'random' : undefined + } + /> + - + ); } } diff --git a/docs-site/src/examples/custom_input.jsx b/docs-site/src/examples/custom_input.jsx index 6e7b6ff9f..58b797b82 100644 --- a/docs-site/src/examples/custom_input.jsx +++ b/docs-site/src/examples/custom_input.jsx @@ -1,44 +1,43 @@ -import React from 'react' -import PropTypes from 'prop-types' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import PropTypes from "prop-types"; +import DatePicker from "react-datepicker"; /* eslint-disable react/no-multi-comp */ class ExampleCustomInput extends React.Component { static propTypes = { onClick: PropTypes.func, value: PropTypes.string - } + }; - render () { + render() { return ( - + {this.props.value} - ) + ); } } export default class CustomInput extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` class ExampleCustomInput extends React.Component { render () { @@ -64,14 +63,16 @@ ExampleCustomInput.propTypes = { selected={this.state.startDate} onChange={this.handleChange} /> `} - - - - } - selected={this.state.startDate} - onChange={this.handleChange} /> + + + + } + selected={this.state.startDate} + onChange={this.handleChange} + /> + - + ); } } diff --git a/docs-site/src/examples/date_range.jsx b/docs-site/src/examples/date_range.jsx index 2151f9992..8b0c7c30d 100644 --- a/docs-site/src/examples/date_range.jsx +++ b/docs-site/src/examples/date_range.jsx @@ -1,35 +1,37 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import isAfter from 'date-fns/isAfter'; export default class DateRange extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment('2014-02-08'), - endDate: moment('2014-02-10') - } + startDate: new Date('2014/02/08'), + endDate: new Date('2014/02/10') + }; } handleChange = ({ startDate, endDate }) => { - startDate = startDate || this.state.startDate - endDate = endDate || this.state.endDate + startDate = startDate || this.state.startDate; + endDate = endDate || this.state.endDate; - if (startDate.isAfter(endDate)) { - endDate = startDate + if (isAfter(startDate, endDate)) { + endDate = startDate; } - this.setState({ startDate, endDate }) - } + this.setState({ startDate, endDate }); + }; - handleChangeStart = (startDate) => this.handleChange({ startDate }) + handleChangeStart = startDate => this.handleChange({ startDate }); - handleChangeEnd = (endDate) => this.handleChange({ endDate }) + handleChangeEnd = endDate => this.handleChange({ endDate }); - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - - + + + + + + - + ); } } diff --git a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx index a1bd3d39c..2fcf0edf3 100644 --- a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx +++ b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addMonths from "date-fns/addMonths"; export default class DateRangeWithShowDisabledNavigation extends React.Component { state = { @@ -17,12 +17,13 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component return ( - {` + + {` @@ -33,9 +34,10 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component + minDate={new Date()} + maxDate={addMonths(new Date(), 5)} + showDisabledMonthNavigation + /> ); diff --git a/docs-site/src/examples/default.jsx b/docs-site/src/examples/default.jsx index 044d6d8c6..62ef0f6f0 100644 --- a/docs-site/src/examples/default.jsx +++ b/docs-site/src/examples/default.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } diff --git a/docs-site/src/examples/disabled_keyboard_navigation.jsx b/docs-site/src/examples/disabled_keyboard_navigation.jsx index 7406323a0..4353faaa1 100644 --- a/docs-site/src/examples/disabled_keyboard_navigation.jsx +++ b/docs-site/src/examples/disabled_keyboard_navigation.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DisabledKeyboardNavigation extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -37,7 +36,8 @@ export default class DisabledKeyboardNavigation extends React.Component { selected={this.state.startDate} onChange={this.handleChange} disabledKeyboardNavigation - placeholderText="This has disabled keyboard navigation"/> + placeholderText="This has disabled keyboard navigation" + /> ); diff --git a/docs-site/src/examples/dont_close_onSelect.jsx b/docs-site/src/examples/dont_close_onSelect.jsx index d3ecd69c3..831bff3c7 100644 --- a/docs-site/src/examples/dont_close_onSelect.jsx +++ b/docs-site/src/examples/dont_close_onSelect.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DontCloseOnSelect extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class DontCloseOnSelect extends React.Component { + shouldCloseOnSelect={false} + /> ); diff --git a/docs-site/src/examples/exclude_dates.jsx b/docs-site/src/examples/exclude_dates.jsx index 3f26cb05e..882915224 100644 --- a/docs-site/src/examples/exclude_dates.jsx +++ b/docs-site/src/examples/exclude_dates.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import subDays from "date-fns/subDays"; export default class ExcludeDates extends React.Component { state = { @@ -25,7 +25,7 @@ export default class ExcludeDates extends React.Component { {" onChange={this.handleChange}"} - {' excludeDates={[moment(), moment().subtract(1, "days")]}'} + {" excludeDates={[new Date(), subDays(new Date(), 1)]}"} { @@ -37,8 +37,9 @@ export default class ExcludeDates extends React.Component { + excludeDates={[new Date(), subDays(new Date(), 1)]} + placeholderText="Select a date other than today or yesterday" + />
{` `}
- {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_calendar_class_name.jsx b/docs-site/src/examples/custom_calendar_class_name.jsx index ad14eb67e..484ac4ab2 100644 --- a/docs-site/src/examples/custom_calendar_class_name.jsx +++ b/docs-site/src/examples/custom_calendar_class_name.jsx @@ -1,38 +1,40 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class CustomCalendarClassName extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + {` `} - - - + + + + - + ); } } diff --git a/docs-site/src/examples/custom_class_name.jsx b/docs-site/src/examples/custom_class_name.jsx index 06c5845e2..84b265576 100644 --- a/docs-site/src/examples/custom_class_name.jsx +++ b/docs-site/src/examples/custom_class_name.jsx @@ -1,39 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class CustomClassName extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_date_format.jsx b/docs-site/src/examples/custom_date_format.jsx index fc65bae30..7baf7bc03 100644 --- a/docs-site/src/examples/custom_date_format.jsx +++ b/docs-site/src/examples/custom_date_format.jsx @@ -1,37 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import DatePicker from "react-datepicker"; export default class CustomDateFormat extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - - {' - {'dateFormat="YYYY/MM/DD"'} - {'selected={this.state.startDate}'} - {'onChange={this.handleChange} />'} - - - - + render() { + return ( + + + + {" + {'dateFormat="yyyy/MM/dd"'} + + {"selected={this.state.startDate}"} + + {"onChange={this.handleChange} />"} + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_day_class_names.jsx b/docs-site/src/examples/custom_day_class_names.jsx index 2b9270daa..d66bfdc47 100644 --- a/docs-site/src/examples/custom_day_class_names.jsx +++ b/docs-site/src/examples/custom_day_class_names.jsx @@ -1,39 +1,45 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import getDate from 'date-fns/getDate'; export default class CustomDayClassNames extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` date.date() < Math.random() * 31 ? 'random' : undefined} /> + dayClassName={date => getDate(date) < Math.random() * 31 ? 'random' : undefined} /> /> `} - - - - date.date() < Math.random() * 31 ? 'random' : undefined} /> + + + + + getDate(date) < Math.random() * 31 ? 'random' : undefined + } + /> + - + ); } } diff --git a/docs-site/src/examples/custom_input.jsx b/docs-site/src/examples/custom_input.jsx index 6e7b6ff9f..58b797b82 100644 --- a/docs-site/src/examples/custom_input.jsx +++ b/docs-site/src/examples/custom_input.jsx @@ -1,44 +1,43 @@ -import React from 'react' -import PropTypes from 'prop-types' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import PropTypes from "prop-types"; +import DatePicker from "react-datepicker"; /* eslint-disable react/no-multi-comp */ class ExampleCustomInput extends React.Component { static propTypes = { onClick: PropTypes.func, value: PropTypes.string - } + }; - render () { + render() { return ( - + {this.props.value} - ) + ); } } export default class CustomInput extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` class ExampleCustomInput extends React.Component { render () { @@ -64,14 +63,16 @@ ExampleCustomInput.propTypes = { selected={this.state.startDate} onChange={this.handleChange} /> `} - - - - } - selected={this.state.startDate} - onChange={this.handleChange} /> + + + + } + selected={this.state.startDate} + onChange={this.handleChange} + /> + - + ); } } diff --git a/docs-site/src/examples/date_range.jsx b/docs-site/src/examples/date_range.jsx index 2151f9992..8b0c7c30d 100644 --- a/docs-site/src/examples/date_range.jsx +++ b/docs-site/src/examples/date_range.jsx @@ -1,35 +1,37 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import isAfter from 'date-fns/isAfter'; export default class DateRange extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment('2014-02-08'), - endDate: moment('2014-02-10') - } + startDate: new Date('2014/02/08'), + endDate: new Date('2014/02/10') + }; } handleChange = ({ startDate, endDate }) => { - startDate = startDate || this.state.startDate - endDate = endDate || this.state.endDate + startDate = startDate || this.state.startDate; + endDate = endDate || this.state.endDate; - if (startDate.isAfter(endDate)) { - endDate = startDate + if (isAfter(startDate, endDate)) { + endDate = startDate; } - this.setState({ startDate, endDate }) - } + this.setState({ startDate, endDate }); + }; - handleChangeStart = (startDate) => this.handleChange({ startDate }) + handleChangeStart = startDate => this.handleChange({ startDate }); - handleChangeEnd = (endDate) => this.handleChange({ endDate }) + handleChangeEnd = endDate => this.handleChange({ endDate }); - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - - + + + + + + - + ); } } diff --git a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx index a1bd3d39c..2fcf0edf3 100644 --- a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx +++ b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addMonths from "date-fns/addMonths"; export default class DateRangeWithShowDisabledNavigation extends React.Component { state = { @@ -17,12 +17,13 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component return ( - {` + + {` @@ -33,9 +34,10 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component + minDate={new Date()} + maxDate={addMonths(new Date(), 5)} + showDisabledMonthNavigation + /> ); diff --git a/docs-site/src/examples/default.jsx b/docs-site/src/examples/default.jsx index 044d6d8c6..62ef0f6f0 100644 --- a/docs-site/src/examples/default.jsx +++ b/docs-site/src/examples/default.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } diff --git a/docs-site/src/examples/disabled_keyboard_navigation.jsx b/docs-site/src/examples/disabled_keyboard_navigation.jsx index 7406323a0..4353faaa1 100644 --- a/docs-site/src/examples/disabled_keyboard_navigation.jsx +++ b/docs-site/src/examples/disabled_keyboard_navigation.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DisabledKeyboardNavigation extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -37,7 +36,8 @@ export default class DisabledKeyboardNavigation extends React.Component { selected={this.state.startDate} onChange={this.handleChange} disabledKeyboardNavigation - placeholderText="This has disabled keyboard navigation"/> + placeholderText="This has disabled keyboard navigation" + /> ); diff --git a/docs-site/src/examples/dont_close_onSelect.jsx b/docs-site/src/examples/dont_close_onSelect.jsx index d3ecd69c3..831bff3c7 100644 --- a/docs-site/src/examples/dont_close_onSelect.jsx +++ b/docs-site/src/examples/dont_close_onSelect.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DontCloseOnSelect extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class DontCloseOnSelect extends React.Component { + shouldCloseOnSelect={false} + /> ); diff --git a/docs-site/src/examples/exclude_dates.jsx b/docs-site/src/examples/exclude_dates.jsx index 3f26cb05e..882915224 100644 --- a/docs-site/src/examples/exclude_dates.jsx +++ b/docs-site/src/examples/exclude_dates.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import subDays from "date-fns/subDays"; export default class ExcludeDates extends React.Component { state = { @@ -25,7 +25,7 @@ export default class ExcludeDates extends React.Component { {" onChange={this.handleChange}"} - {' excludeDates={[moment(), moment().subtract(1, "days")]}'} + {" excludeDates={[new Date(), subDays(new Date(), 1)]}"} { @@ -37,8 +37,9 @@ export default class ExcludeDates extends React.Component { + excludeDates={[new Date(), subDays(new Date(), 1)]} + placeholderText="Select a date other than today or yesterday" + />
{` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_calendar_class_name.jsx b/docs-site/src/examples/custom_calendar_class_name.jsx index ad14eb67e..484ac4ab2 100644 --- a/docs-site/src/examples/custom_calendar_class_name.jsx +++ b/docs-site/src/examples/custom_calendar_class_name.jsx @@ -1,38 +1,40 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class CustomCalendarClassName extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + {` `} - - - + + + + - + ); } } diff --git a/docs-site/src/examples/custom_class_name.jsx b/docs-site/src/examples/custom_class_name.jsx index 06c5845e2..84b265576 100644 --- a/docs-site/src/examples/custom_class_name.jsx +++ b/docs-site/src/examples/custom_class_name.jsx @@ -1,39 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class CustomClassName extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_date_format.jsx b/docs-site/src/examples/custom_date_format.jsx index fc65bae30..7baf7bc03 100644 --- a/docs-site/src/examples/custom_date_format.jsx +++ b/docs-site/src/examples/custom_date_format.jsx @@ -1,37 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import DatePicker from "react-datepicker"; export default class CustomDateFormat extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - - {' - {'dateFormat="YYYY/MM/DD"'} - {'selected={this.state.startDate}'} - {'onChange={this.handleChange} />'} - - - - + render() { + return ( + + + + {" + {'dateFormat="yyyy/MM/dd"'} + + {"selected={this.state.startDate}"} + + {"onChange={this.handleChange} />"} + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_day_class_names.jsx b/docs-site/src/examples/custom_day_class_names.jsx index 2b9270daa..d66bfdc47 100644 --- a/docs-site/src/examples/custom_day_class_names.jsx +++ b/docs-site/src/examples/custom_day_class_names.jsx @@ -1,39 +1,45 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import getDate from 'date-fns/getDate'; export default class CustomDayClassNames extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` date.date() < Math.random() * 31 ? 'random' : undefined} /> + dayClassName={date => getDate(date) < Math.random() * 31 ? 'random' : undefined} /> /> `} - - - - date.date() < Math.random() * 31 ? 'random' : undefined} /> + + + + + getDate(date) < Math.random() * 31 ? 'random' : undefined + } + /> + - + ); } } diff --git a/docs-site/src/examples/custom_input.jsx b/docs-site/src/examples/custom_input.jsx index 6e7b6ff9f..58b797b82 100644 --- a/docs-site/src/examples/custom_input.jsx +++ b/docs-site/src/examples/custom_input.jsx @@ -1,44 +1,43 @@ -import React from 'react' -import PropTypes from 'prop-types' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import PropTypes from "prop-types"; +import DatePicker from "react-datepicker"; /* eslint-disable react/no-multi-comp */ class ExampleCustomInput extends React.Component { static propTypes = { onClick: PropTypes.func, value: PropTypes.string - } + }; - render () { + render() { return ( - + {this.props.value} - ) + ); } } export default class CustomInput extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` class ExampleCustomInput extends React.Component { render () { @@ -64,14 +63,16 @@ ExampleCustomInput.propTypes = { selected={this.state.startDate} onChange={this.handleChange} /> `} - - - - } - selected={this.state.startDate} - onChange={this.handleChange} /> + + + + } + selected={this.state.startDate} + onChange={this.handleChange} + /> + - + ); } } diff --git a/docs-site/src/examples/date_range.jsx b/docs-site/src/examples/date_range.jsx index 2151f9992..8b0c7c30d 100644 --- a/docs-site/src/examples/date_range.jsx +++ b/docs-site/src/examples/date_range.jsx @@ -1,35 +1,37 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import isAfter from 'date-fns/isAfter'; export default class DateRange extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment('2014-02-08'), - endDate: moment('2014-02-10') - } + startDate: new Date('2014/02/08'), + endDate: new Date('2014/02/10') + }; } handleChange = ({ startDate, endDate }) => { - startDate = startDate || this.state.startDate - endDate = endDate || this.state.endDate + startDate = startDate || this.state.startDate; + endDate = endDate || this.state.endDate; - if (startDate.isAfter(endDate)) { - endDate = startDate + if (isAfter(startDate, endDate)) { + endDate = startDate; } - this.setState({ startDate, endDate }) - } + this.setState({ startDate, endDate }); + }; - handleChangeStart = (startDate) => this.handleChange({ startDate }) + handleChangeStart = startDate => this.handleChange({ startDate }); - handleChangeEnd = (endDate) => this.handleChange({ endDate }) + handleChangeEnd = endDate => this.handleChange({ endDate }); - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - - + + + + + + - + ); } } diff --git a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx index a1bd3d39c..2fcf0edf3 100644 --- a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx +++ b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addMonths from "date-fns/addMonths"; export default class DateRangeWithShowDisabledNavigation extends React.Component { state = { @@ -17,12 +17,13 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component return ( - {` + + {` @@ -33,9 +34,10 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component + minDate={new Date()} + maxDate={addMonths(new Date(), 5)} + showDisabledMonthNavigation + /> ); diff --git a/docs-site/src/examples/default.jsx b/docs-site/src/examples/default.jsx index 044d6d8c6..62ef0f6f0 100644 --- a/docs-site/src/examples/default.jsx +++ b/docs-site/src/examples/default.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } diff --git a/docs-site/src/examples/disabled_keyboard_navigation.jsx b/docs-site/src/examples/disabled_keyboard_navigation.jsx index 7406323a0..4353faaa1 100644 --- a/docs-site/src/examples/disabled_keyboard_navigation.jsx +++ b/docs-site/src/examples/disabled_keyboard_navigation.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DisabledKeyboardNavigation extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -37,7 +36,8 @@ export default class DisabledKeyboardNavigation extends React.Component { selected={this.state.startDate} onChange={this.handleChange} disabledKeyboardNavigation - placeholderText="This has disabled keyboard navigation"/> + placeholderText="This has disabled keyboard navigation" + /> ); diff --git a/docs-site/src/examples/dont_close_onSelect.jsx b/docs-site/src/examples/dont_close_onSelect.jsx index d3ecd69c3..831bff3c7 100644 --- a/docs-site/src/examples/dont_close_onSelect.jsx +++ b/docs-site/src/examples/dont_close_onSelect.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DontCloseOnSelect extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class DontCloseOnSelect extends React.Component { + shouldCloseOnSelect={false} + /> ); diff --git a/docs-site/src/examples/exclude_dates.jsx b/docs-site/src/examples/exclude_dates.jsx index 3f26cb05e..882915224 100644 --- a/docs-site/src/examples/exclude_dates.jsx +++ b/docs-site/src/examples/exclude_dates.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import subDays from "date-fns/subDays"; export default class ExcludeDates extends React.Component { state = { @@ -25,7 +25,7 @@ export default class ExcludeDates extends React.Component { {" onChange={this.handleChange}"} - {' excludeDates={[moment(), moment().subtract(1, "days")]}'} + {" excludeDates={[new Date(), subDays(new Date(), 1)]}"} { @@ -37,8 +37,9 @@ export default class ExcludeDates extends React.Component { + excludeDates={[new Date(), subDays(new Date(), 1)]} + placeholderText="Select a date other than today or yesterday" + />
- {` + render() { + return ( + + + {` `} - - - + + + + - + ); } } diff --git a/docs-site/src/examples/custom_class_name.jsx b/docs-site/src/examples/custom_class_name.jsx index 06c5845e2..84b265576 100644 --- a/docs-site/src/examples/custom_class_name.jsx +++ b/docs-site/src/examples/custom_class_name.jsx @@ -1,39 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class CustomClassName extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_date_format.jsx b/docs-site/src/examples/custom_date_format.jsx index fc65bae30..7baf7bc03 100644 --- a/docs-site/src/examples/custom_date_format.jsx +++ b/docs-site/src/examples/custom_date_format.jsx @@ -1,37 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import DatePicker from "react-datepicker"; export default class CustomDateFormat extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - - {' - {'dateFormat="YYYY/MM/DD"'} - {'selected={this.state.startDate}'} - {'onChange={this.handleChange} />'} - - - - + render() { + return ( + + + + {" + {'dateFormat="yyyy/MM/dd"'} + + {"selected={this.state.startDate}"} + + {"onChange={this.handleChange} />"} + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_day_class_names.jsx b/docs-site/src/examples/custom_day_class_names.jsx index 2b9270daa..d66bfdc47 100644 --- a/docs-site/src/examples/custom_day_class_names.jsx +++ b/docs-site/src/examples/custom_day_class_names.jsx @@ -1,39 +1,45 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import getDate from 'date-fns/getDate'; export default class CustomDayClassNames extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` date.date() < Math.random() * 31 ? 'random' : undefined} /> + dayClassName={date => getDate(date) < Math.random() * 31 ? 'random' : undefined} /> /> `} - - - - date.date() < Math.random() * 31 ? 'random' : undefined} /> + + + + + getDate(date) < Math.random() * 31 ? 'random' : undefined + } + /> + - + ); } } diff --git a/docs-site/src/examples/custom_input.jsx b/docs-site/src/examples/custom_input.jsx index 6e7b6ff9f..58b797b82 100644 --- a/docs-site/src/examples/custom_input.jsx +++ b/docs-site/src/examples/custom_input.jsx @@ -1,44 +1,43 @@ -import React from 'react' -import PropTypes from 'prop-types' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import PropTypes from "prop-types"; +import DatePicker from "react-datepicker"; /* eslint-disable react/no-multi-comp */ class ExampleCustomInput extends React.Component { static propTypes = { onClick: PropTypes.func, value: PropTypes.string - } + }; - render () { + render() { return ( - + {this.props.value} - ) + ); } } export default class CustomInput extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` class ExampleCustomInput extends React.Component { render () { @@ -64,14 +63,16 @@ ExampleCustomInput.propTypes = { selected={this.state.startDate} onChange={this.handleChange} /> `} - - - - } - selected={this.state.startDate} - onChange={this.handleChange} /> + + + + } + selected={this.state.startDate} + onChange={this.handleChange} + /> + - + ); } } diff --git a/docs-site/src/examples/date_range.jsx b/docs-site/src/examples/date_range.jsx index 2151f9992..8b0c7c30d 100644 --- a/docs-site/src/examples/date_range.jsx +++ b/docs-site/src/examples/date_range.jsx @@ -1,35 +1,37 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import isAfter from 'date-fns/isAfter'; export default class DateRange extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment('2014-02-08'), - endDate: moment('2014-02-10') - } + startDate: new Date('2014/02/08'), + endDate: new Date('2014/02/10') + }; } handleChange = ({ startDate, endDate }) => { - startDate = startDate || this.state.startDate - endDate = endDate || this.state.endDate + startDate = startDate || this.state.startDate; + endDate = endDate || this.state.endDate; - if (startDate.isAfter(endDate)) { - endDate = startDate + if (isAfter(startDate, endDate)) { + endDate = startDate; } - this.setState({ startDate, endDate }) - } + this.setState({ startDate, endDate }); + }; - handleChangeStart = (startDate) => this.handleChange({ startDate }) + handleChangeStart = startDate => this.handleChange({ startDate }); - handleChangeEnd = (endDate) => this.handleChange({ endDate }) + handleChangeEnd = endDate => this.handleChange({ endDate }); - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - - + + + + + + - + ); } } diff --git a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx index a1bd3d39c..2fcf0edf3 100644 --- a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx +++ b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addMonths from "date-fns/addMonths"; export default class DateRangeWithShowDisabledNavigation extends React.Component { state = { @@ -17,12 +17,13 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component return ( - {` + + {` @@ -33,9 +34,10 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component + minDate={new Date()} + maxDate={addMonths(new Date(), 5)} + showDisabledMonthNavigation + /> ); diff --git a/docs-site/src/examples/default.jsx b/docs-site/src/examples/default.jsx index 044d6d8c6..62ef0f6f0 100644 --- a/docs-site/src/examples/default.jsx +++ b/docs-site/src/examples/default.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } diff --git a/docs-site/src/examples/disabled_keyboard_navigation.jsx b/docs-site/src/examples/disabled_keyboard_navigation.jsx index 7406323a0..4353faaa1 100644 --- a/docs-site/src/examples/disabled_keyboard_navigation.jsx +++ b/docs-site/src/examples/disabled_keyboard_navigation.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DisabledKeyboardNavigation extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -37,7 +36,8 @@ export default class DisabledKeyboardNavigation extends React.Component { selected={this.state.startDate} onChange={this.handleChange} disabledKeyboardNavigation - placeholderText="This has disabled keyboard navigation"/> + placeholderText="This has disabled keyboard navigation" + /> ); diff --git a/docs-site/src/examples/dont_close_onSelect.jsx b/docs-site/src/examples/dont_close_onSelect.jsx index d3ecd69c3..831bff3c7 100644 --- a/docs-site/src/examples/dont_close_onSelect.jsx +++ b/docs-site/src/examples/dont_close_onSelect.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DontCloseOnSelect extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class DontCloseOnSelect extends React.Component { + shouldCloseOnSelect={false} + />
{` + render() { + return ( + + + {` `} - - - + + + + - + ); } } diff --git a/docs-site/src/examples/custom_class_name.jsx b/docs-site/src/examples/custom_class_name.jsx index 06c5845e2..84b265576 100644 --- a/docs-site/src/examples/custom_class_name.jsx +++ b/docs-site/src/examples/custom_class_name.jsx @@ -1,39 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class CustomClassName extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_date_format.jsx b/docs-site/src/examples/custom_date_format.jsx index fc65bae30..7baf7bc03 100644 --- a/docs-site/src/examples/custom_date_format.jsx +++ b/docs-site/src/examples/custom_date_format.jsx @@ -1,37 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import DatePicker from "react-datepicker"; export default class CustomDateFormat extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - - {' - {'dateFormat="YYYY/MM/DD"'} - {'selected={this.state.startDate}'} - {'onChange={this.handleChange} />'} - - - - + render() { + return ( + + + + {" + {'dateFormat="yyyy/MM/dd"'} + + {"selected={this.state.startDate}"} + + {"onChange={this.handleChange} />"} + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_day_class_names.jsx b/docs-site/src/examples/custom_day_class_names.jsx index 2b9270daa..d66bfdc47 100644 --- a/docs-site/src/examples/custom_day_class_names.jsx +++ b/docs-site/src/examples/custom_day_class_names.jsx @@ -1,39 +1,45 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import getDate from 'date-fns/getDate'; export default class CustomDayClassNames extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` date.date() < Math.random() * 31 ? 'random' : undefined} /> + dayClassName={date => getDate(date) < Math.random() * 31 ? 'random' : undefined} /> /> `} - - - - date.date() < Math.random() * 31 ? 'random' : undefined} /> + + + + + getDate(date) < Math.random() * 31 ? 'random' : undefined + } + /> + - + ); } } diff --git a/docs-site/src/examples/custom_input.jsx b/docs-site/src/examples/custom_input.jsx index 6e7b6ff9f..58b797b82 100644 --- a/docs-site/src/examples/custom_input.jsx +++ b/docs-site/src/examples/custom_input.jsx @@ -1,44 +1,43 @@ -import React from 'react' -import PropTypes from 'prop-types' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import PropTypes from "prop-types"; +import DatePicker from "react-datepicker"; /* eslint-disable react/no-multi-comp */ class ExampleCustomInput extends React.Component { static propTypes = { onClick: PropTypes.func, value: PropTypes.string - } + }; - render () { + render() { return ( - + {this.props.value} - ) + ); } } export default class CustomInput extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` class ExampleCustomInput extends React.Component { render () { @@ -64,14 +63,16 @@ ExampleCustomInput.propTypes = { selected={this.state.startDate} onChange={this.handleChange} /> `} - - - - } - selected={this.state.startDate} - onChange={this.handleChange} /> + + + + } + selected={this.state.startDate} + onChange={this.handleChange} + /> + - + ); } } diff --git a/docs-site/src/examples/date_range.jsx b/docs-site/src/examples/date_range.jsx index 2151f9992..8b0c7c30d 100644 --- a/docs-site/src/examples/date_range.jsx +++ b/docs-site/src/examples/date_range.jsx @@ -1,35 +1,37 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import isAfter from 'date-fns/isAfter'; export default class DateRange extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment('2014-02-08'), - endDate: moment('2014-02-10') - } + startDate: new Date('2014/02/08'), + endDate: new Date('2014/02/10') + }; } handleChange = ({ startDate, endDate }) => { - startDate = startDate || this.state.startDate - endDate = endDate || this.state.endDate + startDate = startDate || this.state.startDate; + endDate = endDate || this.state.endDate; - if (startDate.isAfter(endDate)) { - endDate = startDate + if (isAfter(startDate, endDate)) { + endDate = startDate; } - this.setState({ startDate, endDate }) - } + this.setState({ startDate, endDate }); + }; - handleChangeStart = (startDate) => this.handleChange({ startDate }) + handleChangeStart = startDate => this.handleChange({ startDate }); - handleChangeEnd = (endDate) => this.handleChange({ endDate }) + handleChangeEnd = endDate => this.handleChange({ endDate }); - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - - + + + + + + - + ); } } diff --git a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx index a1bd3d39c..2fcf0edf3 100644 --- a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx +++ b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addMonths from "date-fns/addMonths"; export default class DateRangeWithShowDisabledNavigation extends React.Component { state = { @@ -17,12 +17,13 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component return ( - {` + + {` @@ -33,9 +34,10 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component + minDate={new Date()} + maxDate={addMonths(new Date(), 5)} + showDisabledMonthNavigation + /> ); diff --git a/docs-site/src/examples/default.jsx b/docs-site/src/examples/default.jsx index 044d6d8c6..62ef0f6f0 100644 --- a/docs-site/src/examples/default.jsx +++ b/docs-site/src/examples/default.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } diff --git a/docs-site/src/examples/disabled_keyboard_navigation.jsx b/docs-site/src/examples/disabled_keyboard_navigation.jsx index 7406323a0..4353faaa1 100644 --- a/docs-site/src/examples/disabled_keyboard_navigation.jsx +++ b/docs-site/src/examples/disabled_keyboard_navigation.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DisabledKeyboardNavigation extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -37,7 +36,8 @@ export default class DisabledKeyboardNavigation extends React.Component { selected={this.state.startDate} onChange={this.handleChange} disabledKeyboardNavigation - placeholderText="This has disabled keyboard navigation"/> + placeholderText="This has disabled keyboard navigation" + /> ); diff --git a/docs-site/src/examples/dont_close_onSelect.jsx b/docs-site/src/examples/dont_close_onSelect.jsx index d3ecd69c3..831bff3c7 100644 --- a/docs-site/src/examples/dont_close_onSelect.jsx +++ b/docs-site/src/examples/dont_close_onSelect.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DontCloseOnSelect extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class DontCloseOnSelect extends React.Component { + shouldCloseOnSelect={false} + />
- {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_date_format.jsx b/docs-site/src/examples/custom_date_format.jsx index fc65bae30..7baf7bc03 100644 --- a/docs-site/src/examples/custom_date_format.jsx +++ b/docs-site/src/examples/custom_date_format.jsx @@ -1,37 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import DatePicker from "react-datepicker"; export default class CustomDateFormat extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - - {' - {'dateFormat="YYYY/MM/DD"'} - {'selected={this.state.startDate}'} - {'onChange={this.handleChange} />'} - - - - + render() { + return ( + + + + {" + {'dateFormat="yyyy/MM/dd"'} + + {"selected={this.state.startDate}"} + + {"onChange={this.handleChange} />"} + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_day_class_names.jsx b/docs-site/src/examples/custom_day_class_names.jsx index 2b9270daa..d66bfdc47 100644 --- a/docs-site/src/examples/custom_day_class_names.jsx +++ b/docs-site/src/examples/custom_day_class_names.jsx @@ -1,39 +1,45 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import getDate from 'date-fns/getDate'; export default class CustomDayClassNames extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` date.date() < Math.random() * 31 ? 'random' : undefined} /> + dayClassName={date => getDate(date) < Math.random() * 31 ? 'random' : undefined} /> /> `} - - - - date.date() < Math.random() * 31 ? 'random' : undefined} /> + + + + + getDate(date) < Math.random() * 31 ? 'random' : undefined + } + /> + - + ); } } diff --git a/docs-site/src/examples/custom_input.jsx b/docs-site/src/examples/custom_input.jsx index 6e7b6ff9f..58b797b82 100644 --- a/docs-site/src/examples/custom_input.jsx +++ b/docs-site/src/examples/custom_input.jsx @@ -1,44 +1,43 @@ -import React from 'react' -import PropTypes from 'prop-types' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import PropTypes from "prop-types"; +import DatePicker from "react-datepicker"; /* eslint-disable react/no-multi-comp */ class ExampleCustomInput extends React.Component { static propTypes = { onClick: PropTypes.func, value: PropTypes.string - } + }; - render () { + render() { return ( - + {this.props.value} - ) + ); } } export default class CustomInput extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` class ExampleCustomInput extends React.Component { render () { @@ -64,14 +63,16 @@ ExampleCustomInput.propTypes = { selected={this.state.startDate} onChange={this.handleChange} /> `} - - - - } - selected={this.state.startDate} - onChange={this.handleChange} /> + + + + } + selected={this.state.startDate} + onChange={this.handleChange} + /> + - + ); } } diff --git a/docs-site/src/examples/date_range.jsx b/docs-site/src/examples/date_range.jsx index 2151f9992..8b0c7c30d 100644 --- a/docs-site/src/examples/date_range.jsx +++ b/docs-site/src/examples/date_range.jsx @@ -1,35 +1,37 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import isAfter from 'date-fns/isAfter'; export default class DateRange extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment('2014-02-08'), - endDate: moment('2014-02-10') - } + startDate: new Date('2014/02/08'), + endDate: new Date('2014/02/10') + }; } handleChange = ({ startDate, endDate }) => { - startDate = startDate || this.state.startDate - endDate = endDate || this.state.endDate + startDate = startDate || this.state.startDate; + endDate = endDate || this.state.endDate; - if (startDate.isAfter(endDate)) { - endDate = startDate + if (isAfter(startDate, endDate)) { + endDate = startDate; } - this.setState({ startDate, endDate }) - } + this.setState({ startDate, endDate }); + }; - handleChangeStart = (startDate) => this.handleChange({ startDate }) + handleChangeStart = startDate => this.handleChange({ startDate }); - handleChangeEnd = (endDate) => this.handleChange({ endDate }) + handleChangeEnd = endDate => this.handleChange({ endDate }); - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - - + + + + + + - + ); } } diff --git a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx index a1bd3d39c..2fcf0edf3 100644 --- a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx +++ b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addMonths from "date-fns/addMonths"; export default class DateRangeWithShowDisabledNavigation extends React.Component { state = { @@ -17,12 +17,13 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component return ( - {` + + {` @@ -33,9 +34,10 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component + minDate={new Date()} + maxDate={addMonths(new Date(), 5)} + showDisabledMonthNavigation + /> ); diff --git a/docs-site/src/examples/default.jsx b/docs-site/src/examples/default.jsx index 044d6d8c6..62ef0f6f0 100644 --- a/docs-site/src/examples/default.jsx +++ b/docs-site/src/examples/default.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } diff --git a/docs-site/src/examples/disabled_keyboard_navigation.jsx b/docs-site/src/examples/disabled_keyboard_navigation.jsx index 7406323a0..4353faaa1 100644 --- a/docs-site/src/examples/disabled_keyboard_navigation.jsx +++ b/docs-site/src/examples/disabled_keyboard_navigation.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DisabledKeyboardNavigation extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -37,7 +36,8 @@ export default class DisabledKeyboardNavigation extends React.Component { selected={this.state.startDate} onChange={this.handleChange} disabledKeyboardNavigation - placeholderText="This has disabled keyboard navigation"/> + placeholderText="This has disabled keyboard navigation" + /> ); diff --git a/docs-site/src/examples/dont_close_onSelect.jsx b/docs-site/src/examples/dont_close_onSelect.jsx index d3ecd69c3..831bff3c7 100644 --- a/docs-site/src/examples/dont_close_onSelect.jsx +++ b/docs-site/src/examples/dont_close_onSelect.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DontCloseOnSelect extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class DontCloseOnSelect extends React.Component { + shouldCloseOnSelect={false} + />
{` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_date_format.jsx b/docs-site/src/examples/custom_date_format.jsx index fc65bae30..7baf7bc03 100644 --- a/docs-site/src/examples/custom_date_format.jsx +++ b/docs-site/src/examples/custom_date_format.jsx @@ -1,37 +1,42 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import DatePicker from "react-datepicker"; export default class CustomDateFormat extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - - {' - {'dateFormat="YYYY/MM/DD"'} - {'selected={this.state.startDate}'} - {'onChange={this.handleChange} />'} - - - - + render() { + return ( + + + + {" + {'dateFormat="yyyy/MM/dd"'} + + {"selected={this.state.startDate}"} + + {"onChange={this.handleChange} />"} + + + + + - + ); } } diff --git a/docs-site/src/examples/custom_day_class_names.jsx b/docs-site/src/examples/custom_day_class_names.jsx index 2b9270daa..d66bfdc47 100644 --- a/docs-site/src/examples/custom_day_class_names.jsx +++ b/docs-site/src/examples/custom_day_class_names.jsx @@ -1,39 +1,45 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import getDate from 'date-fns/getDate'; export default class CustomDayClassNames extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` date.date() < Math.random() * 31 ? 'random' : undefined} /> + dayClassName={date => getDate(date) < Math.random() * 31 ? 'random' : undefined} /> /> `} - - - - date.date() < Math.random() * 31 ? 'random' : undefined} /> + + + + + getDate(date) < Math.random() * 31 ? 'random' : undefined + } + /> + - + ); } } diff --git a/docs-site/src/examples/custom_input.jsx b/docs-site/src/examples/custom_input.jsx index 6e7b6ff9f..58b797b82 100644 --- a/docs-site/src/examples/custom_input.jsx +++ b/docs-site/src/examples/custom_input.jsx @@ -1,44 +1,43 @@ -import React from 'react' -import PropTypes from 'prop-types' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import PropTypes from "prop-types"; +import DatePicker from "react-datepicker"; /* eslint-disable react/no-multi-comp */ class ExampleCustomInput extends React.Component { static propTypes = { onClick: PropTypes.func, value: PropTypes.string - } + }; - render () { + render() { return ( - + {this.props.value} - ) + ); } } export default class CustomInput extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` class ExampleCustomInput extends React.Component { render () { @@ -64,14 +63,16 @@ ExampleCustomInput.propTypes = { selected={this.state.startDate} onChange={this.handleChange} /> `} - - - - } - selected={this.state.startDate} - onChange={this.handleChange} /> + + + + } + selected={this.state.startDate} + onChange={this.handleChange} + /> + - + ); } } diff --git a/docs-site/src/examples/date_range.jsx b/docs-site/src/examples/date_range.jsx index 2151f9992..8b0c7c30d 100644 --- a/docs-site/src/examples/date_range.jsx +++ b/docs-site/src/examples/date_range.jsx @@ -1,35 +1,37 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import isAfter from 'date-fns/isAfter'; export default class DateRange extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment('2014-02-08'), - endDate: moment('2014-02-10') - } + startDate: new Date('2014/02/08'), + endDate: new Date('2014/02/10') + }; } handleChange = ({ startDate, endDate }) => { - startDate = startDate || this.state.startDate - endDate = endDate || this.state.endDate + startDate = startDate || this.state.startDate; + endDate = endDate || this.state.endDate; - if (startDate.isAfter(endDate)) { - endDate = startDate + if (isAfter(startDate, endDate)) { + endDate = startDate; } - this.setState({ startDate, endDate }) - } + this.setState({ startDate, endDate }); + }; - handleChangeStart = (startDate) => this.handleChange({ startDate }) + handleChangeStart = startDate => this.handleChange({ startDate }); - handleChangeEnd = (endDate) => this.handleChange({ endDate }) + handleChangeEnd = endDate => this.handleChange({ endDate }); - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - - + + + + + + - + ); } } diff --git a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx index a1bd3d39c..2fcf0edf3 100644 --- a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx +++ b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addMonths from "date-fns/addMonths"; export default class DateRangeWithShowDisabledNavigation extends React.Component { state = { @@ -17,12 +17,13 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component return ( - {` + + {` @@ -33,9 +34,10 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component + minDate={new Date()} + maxDate={addMonths(new Date(), 5)} + showDisabledMonthNavigation + /> ); diff --git a/docs-site/src/examples/default.jsx b/docs-site/src/examples/default.jsx index 044d6d8c6..62ef0f6f0 100644 --- a/docs-site/src/examples/default.jsx +++ b/docs-site/src/examples/default.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } diff --git a/docs-site/src/examples/disabled_keyboard_navigation.jsx b/docs-site/src/examples/disabled_keyboard_navigation.jsx index 7406323a0..4353faaa1 100644 --- a/docs-site/src/examples/disabled_keyboard_navigation.jsx +++ b/docs-site/src/examples/disabled_keyboard_navigation.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DisabledKeyboardNavigation extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -37,7 +36,8 @@ export default class DisabledKeyboardNavigation extends React.Component { selected={this.state.startDate} onChange={this.handleChange} disabledKeyboardNavigation - placeholderText="This has disabled keyboard navigation"/> + placeholderText="This has disabled keyboard navigation" + /> ); diff --git a/docs-site/src/examples/dont_close_onSelect.jsx b/docs-site/src/examples/dont_close_onSelect.jsx index d3ecd69c3..831bff3c7 100644 --- a/docs-site/src/examples/dont_close_onSelect.jsx +++ b/docs-site/src/examples/dont_close_onSelect.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DontCloseOnSelect extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class DontCloseOnSelect extends React.Component { + shouldCloseOnSelect={false} + />
- - {' - {'dateFormat="YYYY/MM/DD"'} - {'selected={this.state.startDate}'} - {'onChange={this.handleChange} />'} - -
- {' - {'dateFormat="YYYY/MM/DD"'} - {'selected={this.state.startDate}'} - {'onChange={this.handleChange} />'} -
+ + {" + {'dateFormat="yyyy/MM/dd"'} + + {"selected={this.state.startDate}"} + + {"onChange={this.handleChange} />"} + +
+ {" + {'dateFormat="yyyy/MM/dd"'} + + {"selected={this.state.startDate}"} + + {"onChange={this.handleChange} />"} +
- {` + render() { + return ( + + + + {` date.date() < Math.random() * 31 ? 'random' : undefined} /> + dayClassName={date => getDate(date) < Math.random() * 31 ? 'random' : undefined} /> /> `} - - - - date.date() < Math.random() * 31 ? 'random' : undefined} /> + + + + + getDate(date) < Math.random() * 31 ? 'random' : undefined + } + /> + - + ); } } diff --git a/docs-site/src/examples/custom_input.jsx b/docs-site/src/examples/custom_input.jsx index 6e7b6ff9f..58b797b82 100644 --- a/docs-site/src/examples/custom_input.jsx +++ b/docs-site/src/examples/custom_input.jsx @@ -1,44 +1,43 @@ -import React from 'react' -import PropTypes from 'prop-types' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import PropTypes from "prop-types"; +import DatePicker from "react-datepicker"; /* eslint-disable react/no-multi-comp */ class ExampleCustomInput extends React.Component { static propTypes = { onClick: PropTypes.func, value: PropTypes.string - } + }; - render () { + render() { return ( - + {this.props.value} - ) + ); } } export default class CustomInput extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` class ExampleCustomInput extends React.Component { render () { @@ -64,14 +63,16 @@ ExampleCustomInput.propTypes = { selected={this.state.startDate} onChange={this.handleChange} /> `} - - - - } - selected={this.state.startDate} - onChange={this.handleChange} /> + + + + } + selected={this.state.startDate} + onChange={this.handleChange} + /> + - + ); } } diff --git a/docs-site/src/examples/date_range.jsx b/docs-site/src/examples/date_range.jsx index 2151f9992..8b0c7c30d 100644 --- a/docs-site/src/examples/date_range.jsx +++ b/docs-site/src/examples/date_range.jsx @@ -1,35 +1,37 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import isAfter from 'date-fns/isAfter'; export default class DateRange extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment('2014-02-08'), - endDate: moment('2014-02-10') - } + startDate: new Date('2014/02/08'), + endDate: new Date('2014/02/10') + }; } handleChange = ({ startDate, endDate }) => { - startDate = startDate || this.state.startDate - endDate = endDate || this.state.endDate + startDate = startDate || this.state.startDate; + endDate = endDate || this.state.endDate; - if (startDate.isAfter(endDate)) { - endDate = startDate + if (isAfter(startDate, endDate)) { + endDate = startDate; } - this.setState({ startDate, endDate }) - } + this.setState({ startDate, endDate }); + }; - handleChangeStart = (startDate) => this.handleChange({ startDate }) + handleChangeStart = startDate => this.handleChange({ startDate }); - handleChangeEnd = (endDate) => this.handleChange({ endDate }) + handleChangeEnd = endDate => this.handleChange({ endDate }); - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - - + + + + + + - + ); } } diff --git a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx index a1bd3d39c..2fcf0edf3 100644 --- a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx +++ b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addMonths from "date-fns/addMonths"; export default class DateRangeWithShowDisabledNavigation extends React.Component { state = { @@ -17,12 +17,13 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component return ( - {` + + {` @@ -33,9 +34,10 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component + minDate={new Date()} + maxDate={addMonths(new Date(), 5)} + showDisabledMonthNavigation + /> ); diff --git a/docs-site/src/examples/default.jsx b/docs-site/src/examples/default.jsx index 044d6d8c6..62ef0f6f0 100644 --- a/docs-site/src/examples/default.jsx +++ b/docs-site/src/examples/default.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } diff --git a/docs-site/src/examples/disabled_keyboard_navigation.jsx b/docs-site/src/examples/disabled_keyboard_navigation.jsx index 7406323a0..4353faaa1 100644 --- a/docs-site/src/examples/disabled_keyboard_navigation.jsx +++ b/docs-site/src/examples/disabled_keyboard_navigation.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DisabledKeyboardNavigation extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -37,7 +36,8 @@ export default class DisabledKeyboardNavigation extends React.Component { selected={this.state.startDate} onChange={this.handleChange} disabledKeyboardNavigation - placeholderText="This has disabled keyboard navigation"/> + placeholderText="This has disabled keyboard navigation" + />
{` + render() { + return ( + + + + {` date.date() < Math.random() * 31 ? 'random' : undefined} /> + dayClassName={date => getDate(date) < Math.random() * 31 ? 'random' : undefined} /> /> `} - - - - date.date() < Math.random() * 31 ? 'random' : undefined} /> + + + + + getDate(date) < Math.random() * 31 ? 'random' : undefined + } + /> + - + ); } } diff --git a/docs-site/src/examples/custom_input.jsx b/docs-site/src/examples/custom_input.jsx index 6e7b6ff9f..58b797b82 100644 --- a/docs-site/src/examples/custom_input.jsx +++ b/docs-site/src/examples/custom_input.jsx @@ -1,44 +1,43 @@ -import React from 'react' -import PropTypes from 'prop-types' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from "react"; +import PropTypes from "prop-types"; +import DatePicker from "react-datepicker"; /* eslint-disable react/no-multi-comp */ class ExampleCustomInput extends React.Component { static propTypes = { onClick: PropTypes.func, value: PropTypes.string - } + }; - render () { + render() { return ( - + {this.props.value} - ) + ); } } export default class CustomInput extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` class ExampleCustomInput extends React.Component { render () { @@ -64,14 +63,16 @@ ExampleCustomInput.propTypes = { selected={this.state.startDate} onChange={this.handleChange} /> `} - - - - } - selected={this.state.startDate} - onChange={this.handleChange} /> + + + + } + selected={this.state.startDate} + onChange={this.handleChange} + /> + - + ); } } diff --git a/docs-site/src/examples/date_range.jsx b/docs-site/src/examples/date_range.jsx index 2151f9992..8b0c7c30d 100644 --- a/docs-site/src/examples/date_range.jsx +++ b/docs-site/src/examples/date_range.jsx @@ -1,35 +1,37 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import isAfter from 'date-fns/isAfter'; export default class DateRange extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment('2014-02-08'), - endDate: moment('2014-02-10') - } + startDate: new Date('2014/02/08'), + endDate: new Date('2014/02/10') + }; } handleChange = ({ startDate, endDate }) => { - startDate = startDate || this.state.startDate - endDate = endDate || this.state.endDate + startDate = startDate || this.state.startDate; + endDate = endDate || this.state.endDate; - if (startDate.isAfter(endDate)) { - endDate = startDate + if (isAfter(startDate, endDate)) { + endDate = startDate; } - this.setState({ startDate, endDate }) - } + this.setState({ startDate, endDate }); + }; - handleChangeStart = (startDate) => this.handleChange({ startDate }) + handleChangeStart = startDate => this.handleChange({ startDate }); - handleChangeEnd = (endDate) => this.handleChange({ endDate }) + handleChangeEnd = endDate => this.handleChange({ endDate }); - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - - + + + + + + - + ); } } diff --git a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx index a1bd3d39c..2fcf0edf3 100644 --- a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx +++ b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addMonths from "date-fns/addMonths"; export default class DateRangeWithShowDisabledNavigation extends React.Component { state = { @@ -17,12 +17,13 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component return ( - {` + + {` @@ -33,9 +34,10 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component + minDate={new Date()} + maxDate={addMonths(new Date(), 5)} + showDisabledMonthNavigation + /> ); diff --git a/docs-site/src/examples/default.jsx b/docs-site/src/examples/default.jsx index 044d6d8c6..62ef0f6f0 100644 --- a/docs-site/src/examples/default.jsx +++ b/docs-site/src/examples/default.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } diff --git a/docs-site/src/examples/disabled_keyboard_navigation.jsx b/docs-site/src/examples/disabled_keyboard_navigation.jsx index 7406323a0..4353faaa1 100644 --- a/docs-site/src/examples/disabled_keyboard_navigation.jsx +++ b/docs-site/src/examples/disabled_keyboard_navigation.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class DisabledKeyboardNavigation extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -37,7 +36,8 @@ export default class DisabledKeyboardNavigation extends React.Component { selected={this.state.startDate} onChange={this.handleChange} disabledKeyboardNavigation - placeholderText="This has disabled keyboard navigation"/> + placeholderText="This has disabled keyboard navigation" + />
+ + {` date.date() < Math.random() * 31 ? 'random' : undefined} /> + dayClassName={date => getDate(date) < Math.random() * 31 ? 'random' : undefined} /> /> `} - -
+ {` date.date() < Math.random() * 31 ? 'random' : undefined} /> + dayClassName={date => getDate(date) < Math.random() * 31 ? 'random' : undefined} /> /> `} -
- {` + render() { + return ( + + + + {` class ExampleCustomInput extends React.Component { render () { @@ -64,14 +63,16 @@ ExampleCustomInput.propTypes = { selected={this.state.startDate} onChange={this.handleChange} /> `} - - - - } - selected={this.state.startDate} - onChange={this.handleChange} /> + + + + } + selected={this.state.startDate} + onChange={this.handleChange} + /> + - + ); } } diff --git a/docs-site/src/examples/date_range.jsx b/docs-site/src/examples/date_range.jsx index 2151f9992..8b0c7c30d 100644 --- a/docs-site/src/examples/date_range.jsx +++ b/docs-site/src/examples/date_range.jsx @@ -1,35 +1,37 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import isAfter from 'date-fns/isAfter'; export default class DateRange extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment('2014-02-08'), - endDate: moment('2014-02-10') - } + startDate: new Date('2014/02/08'), + endDate: new Date('2014/02/10') + }; } handleChange = ({ startDate, endDate }) => { - startDate = startDate || this.state.startDate - endDate = endDate || this.state.endDate + startDate = startDate || this.state.startDate; + endDate = endDate || this.state.endDate; - if (startDate.isAfter(endDate)) { - endDate = startDate + if (isAfter(startDate, endDate)) { + endDate = startDate; } - this.setState({ startDate, endDate }) - } + this.setState({ startDate, endDate }); + }; - handleChangeStart = (startDate) => this.handleChange({ startDate }) + handleChangeStart = startDate => this.handleChange({ startDate }); - handleChangeEnd = (endDate) => this.handleChange({ endDate }) + handleChangeEnd = endDate => this.handleChange({ endDate }); - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - - + + + + + + - + ); } } diff --git a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx index a1bd3d39c..2fcf0edf3 100644 --- a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx +++ b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addMonths from "date-fns/addMonths"; export default class DateRangeWithShowDisabledNavigation extends React.Component { state = { @@ -17,12 +17,13 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component return ( - {` + + {` @@ -33,9 +34,10 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component + minDate={new Date()} + maxDate={addMonths(new Date(), 5)} + showDisabledMonthNavigation + />
{` + render() { + return ( + + + + {` class ExampleCustomInput extends React.Component { render () { @@ -64,14 +63,16 @@ ExampleCustomInput.propTypes = { selected={this.state.startDate} onChange={this.handleChange} /> `} - - - - } - selected={this.state.startDate} - onChange={this.handleChange} /> + + + + } + selected={this.state.startDate} + onChange={this.handleChange} + /> + - + ); } } diff --git a/docs-site/src/examples/date_range.jsx b/docs-site/src/examples/date_range.jsx index 2151f9992..8b0c7c30d 100644 --- a/docs-site/src/examples/date_range.jsx +++ b/docs-site/src/examples/date_range.jsx @@ -1,35 +1,37 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import isAfter from 'date-fns/isAfter'; export default class DateRange extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment('2014-02-08'), - endDate: moment('2014-02-10') - } + startDate: new Date('2014/02/08'), + endDate: new Date('2014/02/10') + }; } handleChange = ({ startDate, endDate }) => { - startDate = startDate || this.state.startDate - endDate = endDate || this.state.endDate + startDate = startDate || this.state.startDate; + endDate = endDate || this.state.endDate; - if (startDate.isAfter(endDate)) { - endDate = startDate + if (isAfter(startDate, endDate)) { + endDate = startDate; } - this.setState({ startDate, endDate }) - } + this.setState({ startDate, endDate }); + }; - handleChangeStart = (startDate) => this.handleChange({ startDate }) + handleChangeStart = startDate => this.handleChange({ startDate }); - handleChangeEnd = (endDate) => this.handleChange({ endDate }) + handleChangeEnd = endDate => this.handleChange({ endDate }); - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - - + + + + + + - + ); } } diff --git a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx index a1bd3d39c..2fcf0edf3 100644 --- a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx +++ b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addMonths from "date-fns/addMonths"; export default class DateRangeWithShowDisabledNavigation extends React.Component { state = { @@ -17,12 +17,13 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component return ( - {` + + {` @@ -33,9 +34,10 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component + minDate={new Date()} + maxDate={addMonths(new Date(), 5)} + showDisabledMonthNavigation + />
+ + {` class ExampleCustomInput extends React.Component { render () { @@ -64,14 +63,16 @@ ExampleCustomInput.propTypes = { selected={this.state.startDate} onChange={this.handleChange} /> `} - -
+ {` class ExampleCustomInput extends React.Component { render () { @@ -64,14 +63,16 @@ ExampleCustomInput.propTypes = { selected={this.state.startDate} onChange={this.handleChange} /> `} -
- {` + render() { + return ( + + + + {` `} - - - - - + + + + + + - + ); } } diff --git a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx index a1bd3d39c..2fcf0edf3 100644 --- a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx +++ b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addMonths from "date-fns/addMonths"; export default class DateRangeWithShowDisabledNavigation extends React.Component { state = { @@ -17,12 +17,13 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component return ( - {` + + {` @@ -33,9 +34,10 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component + minDate={new Date()} + maxDate={addMonths(new Date(), 5)} + showDisabledMonthNavigation + />
{` + render() { + return ( + + + + {` `} - - - - - + + + + + + - + ); } } diff --git a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx index a1bd3d39c..2fcf0edf3 100644 --- a/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx +++ b/docs-site/src/examples/date_range_with_show_disabled_navigation.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addMonths from "date-fns/addMonths"; export default class DateRangeWithShowDisabledNavigation extends React.Component { state = { @@ -17,12 +17,13 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component return ( - {` + + {` @@ -33,9 +34,10 @@ export default class DateRangeWithShowDisabledNavigation extends React.Component + minDate={new Date()} + maxDate={addMonths(new Date(), 5)} + showDisabledMonthNavigation + />
- {` + + {`
{` + + {`
+ {`
- {" - {" selected={this.state.startDate}"} + {' selected={this.state.startDate}'} - {" onChange={this.handleChange}"} + {' onChange={this.handleChange}'} - {" showTimeSelect"} + {' showTimeSelect'} - {" minTime={moment().hours(17).minutes(0)}"} + {' minTime={setHours(setMinutes(new Date(), 0), 17)}'} - {" maxTime={moment().hours(20).minutes(30)}"} + {' maxTime={setHours(setMinutes(new Date(), 30), 20)}'} - {' dateFormat="LLL"'} + {' dateFormat="MMMM d, yyyy"'} - {"/>"} + {'/>'}
- {" - {" selected={this.state.startDate}"} + {' selected={this.state.startDate}'} - {" onChange={this.handleChange}"} + {' onChange={this.handleChange}'} - {" showTimeSelect"} + {' showTimeSelect'} { - " excludeTimes={[moment().hours(17).minutes(0), moment().hours(18).minutes(30), moment().hours(19).minutes(30)], moment().hours(17).minutes(30)}" + ' excludeTimes={[setHours(setMinutes(new Date(), 0), 17), setHours(setMinutes(new Date(), 30), 18), setHours(setMinutes(new Date(), 30), 19), setHours(setMinutes(new Date(), 30), 17)]}' } - {' dateFormat="LLL"'} + {' dateFormat="MMMM d, yyyy h:mm aa"'} - {"/>"} + {'/>'}
- {" - {" selected={this.state.startDate}"} + {' selected={this.state.startDate}'} - {" onChange={this.handleChange}"} + {' onChange={this.handleChange}'} - {" showTimeSelect"} + {' showTimeSelect'} { - " includeTimes={[moment().hours(17).minutes(0), moment().hours(18).minutes(30), moment().hours(19).minutes(30)], moment().hours(17).minutes(30)}" + ' includeTimes={[setHours(setMinutes(new Date(), 0), 17), setHours(setMinutes(new Date(), 30), 18), setHours(setMinutes(new Date(), 30), 19), setHours(setMinutes(new Date(), 30), 17)]}' } - {' dateFormat="LLL"'} + {' dateFormat="MMMM d, yyyy h:mm aa"'} - {"/>"} + {'/>'}
+ {"import enGB from 'date-fns/locale/en-GB';"} + + {"registerLocale('en-GB', enGB);"} + + {" {" selected={this.state.startDate}"} {" onChange={this.handleChange}"} - {' locale="en-gb"'} + {' locale="en-GB"'} {' placeholderText="Weeks start on Monday" />'} @@ -32,8 +40,9 @@ export default class CustomStartDate extends React.Component { + locale="en-GB" + placeholderText="Weeks start on Monday" + />
+ {"import enGB from 'date-fns/locale/en-GB';"} + + {"registerLocale('en-GB', enGB);"} + + {" {" selected={this.state.startDate}"} {" onChange={this.handleChange}"} - {' locale="en-gb"'} + {' locale="en-GB"'} {' placeholderText="Weeks start on Monday" />'}
- {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/month_year_dropdown.jsx b/docs-site/src/examples/month_year_dropdown.jsx index 3cdc05264..6c8c46a2d 100644 --- a/docs-site/src/examples/month_year_dropdown.jsx +++ b/docs-site/src/examples/month_year_dropdown.jsx @@ -1,46 +1,50 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import addMonths from 'date-fns/addMonths'; +import subMonths from 'date-fns/subMonths'; export default class MonthYearDropdown extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/multi_month.jsx b/docs-site/src/examples/multi_month.jsx index 395709e87..05873a70e 100644 --- a/docs-site/src/examples/multi_month.jsx +++ b/docs-site/src/examples/multi_month.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class MultiMonth extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class MultiMonth extends React.Component { + selected={this.state.startDate} + />
{` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/month_year_dropdown.jsx b/docs-site/src/examples/month_year_dropdown.jsx index 3cdc05264..6c8c46a2d 100644 --- a/docs-site/src/examples/month_year_dropdown.jsx +++ b/docs-site/src/examples/month_year_dropdown.jsx @@ -1,46 +1,50 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; +import addMonths from 'date-fns/addMonths'; +import subMonths from 'date-fns/subMonths'; export default class MonthYearDropdown extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return - - {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/multi_month.jsx b/docs-site/src/examples/multi_month.jsx index 395709e87..05873a70e 100644 --- a/docs-site/src/examples/multi_month.jsx +++ b/docs-site/src/examples/multi_month.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class MultiMonth extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class MultiMonth extends React.Component { + selected={this.state.startDate} + />
- {` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/multi_month.jsx b/docs-site/src/examples/multi_month.jsx index 395709e87..05873a70e 100644 --- a/docs-site/src/examples/multi_month.jsx +++ b/docs-site/src/examples/multi_month.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class MultiMonth extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class MultiMonth extends React.Component { + selected={this.state.startDate} + />
{` + render() { + return ( + + + + {` `} - - - - + + + + + - + ); } } diff --git a/docs-site/src/examples/multi_month.jsx b/docs-site/src/examples/multi_month.jsx index 395709e87..05873a70e 100644 --- a/docs-site/src/examples/multi_month.jsx +++ b/docs-site/src/examples/multi_month.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class MultiMonth extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class MultiMonth extends React.Component { + selected={this.state.startDate} + />
{` handleOnBlur: function (date) { - if (date === null) { - console.log("selected date: %s", date); - } - else { - console.log("selected date: %s", date.format("DD/MM/YYYY")); + const date = new Date(event.target.value); + if (isValid(date)) { + console.log("selected date: %s", format(date, "dd/MM/yyyy")); + } else { + console.log("selected date: %s", event.target.value); } };'} `} @@ -57,7 +58,8 @@ handleOnBlur: function (date) { selected={this.state.startDate} onChange={this.handleChange} onBlur={this.handleOnBlur} - placeholderText="View blur callbacks in console"/> + placeholderText="View blur callbacks in console" + /> ); diff --git a/docs-site/src/examples/open_to_date.jsx b/docs-site/src/examples/open_to_date.jsx index 9dda03b4c..4c16e4feb 100644 --- a/docs-site/src/examples/open_to_date.jsx +++ b/docs-site/src/examples/open_to_date.jsx @@ -1,6 +1,5 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class OpenToDate extends React.Component { state = { @@ -20,7 +19,7 @@ export default class OpenToDate extends React.Component { {` @@ -29,9 +28,10 @@ export default class OpenToDate extends React.Component { + onChange={this.handleChange} + /> ); diff --git a/docs-site/src/examples/portal.jsx b/docs-site/src/examples/portal.jsx index 0953db9f5..cf9b06108 100644 --- a/docs-site/src/examples/portal.jsx +++ b/docs-site/src/examples/portal.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class WithPortal extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class WithPortal extends React.Component { + withPortal + /> ); diff --git a/docs-site/src/examples/raw_change.jsx b/docs-site/src/examples/raw_change.jsx index bc7672941..6ecf9ccb5 100644 --- a/docs-site/src/examples/raw_change.jsx +++ b/docs-site/src/examples/raw_change.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addDays from "date-fns/addDays"; export default class RawChanges extends React.Component { state = { @@ -15,7 +15,7 @@ export default class RawChanges extends React.Component { handleChangeRaw = value => { if (value === "tomorrow") { - this.handleChange(moment().add(1, "day")); + this.handleChange(addDays(new Date(), 1)); } }; @@ -27,7 +27,7 @@ export default class RawChanges extends React.Component { {` handleChangeRaw(value) { if(value === "tomorrow") { - const tomorrow = moment().add(1, "day") + const tomorrow = addDays(new Date(), 1) this.handleChange(tomorrow) } } @@ -46,7 +46,8 @@ handleChangeRaw(value) { selected={this.state.startDate} onChange={this.handleChange} placeholderText="Enter "tomorrow"" - onChangeRaw={event => this.handleChangeRaw(event.target.value)}/> + onChangeRaw={event => this.handleChangeRaw(event.target.value)} + /> ); diff --git a/docs-site/src/examples/render_custom_header.jsx b/docs-site/src/examples/render_custom_header.jsx index 2f4977940..3f1733ef6 100644 --- a/docs-site/src/examples/render_custom_header.jsx +++ b/docs-site/src/examples/render_custom_header.jsx @@ -1,16 +1,30 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; import range from "lodash/range"; +import getYear from "date-fns/getYear"; +import getMonth from "date-fns/getMonth"; -const years = range(1990, moment().year() + 1, 1); -const months = moment.months(); +const years = range(1990, getYear(new Date()) + 1, 1); +const months = [ + "January", + "February", + "March", + "April", + "May", + "June", + "July", + "August", + "September", + "October", + "November", + "December" +]; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -67,7 +81,7 @@ export default class Default extends React.Component { {"<"} changeYear(value)} > {years.map(option => ( @@ -78,7 +92,7 @@ export default class Default extends React.Component { changeMonth(value)} > {months.map(option => ( diff --git a/docs-site/src/examples/show_time.jsx b/docs-site/src/examples/show_time.jsx index 7d42a8163..2ad43a216 100644 --- a/docs-site/src/examples/show_time.jsx +++ b/docs-site/src/examples/show_time.jsx @@ -1,12 +1,11 @@ -import React from "react"; -import DatePicker from "react-datepicker"; -import moment from "moment"; +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class ShowTime extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -29,7 +28,7 @@ export default class ShowTime extends React.Component { {` showTimeSelect timeFormat="HH:mm" timeIntervals={15} - dateFormat="LLL" + dateFormat="MMMM d, yyyy h:mm aa" timeCaption="time" /> `} @@ -43,7 +42,8 @@ export default class ShowTime extends React.Component { timeFormat="HH:mm" timeIntervals={15} timeCaption="time" - dateFormat="LLL"/> + dateFormat="MMMM d, yyyy h:mm aa" + /> ); diff --git a/docs-site/src/examples/show_time_only.jsx b/docs-site/src/examples/show_time_only.jsx index 1fce677d1..3078494ba 100644 --- a/docs-site/src/examples/show_time_only.jsx +++ b/docs-site/src/examples/show_time_only.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class ShowTimeOnly extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -29,7 +28,7 @@ export default class ShowTimeOnly extends React.Component { {` showTimeSelect showTimeSelectOnly timeIntervals={15} - dateFormat="LT" + dateFormat="h:mm aa" timeCaption="Time" /> `} @@ -43,7 +42,8 @@ export default class ShowTimeOnly extends React.Component { showTimeSelectOnly timeIntervals={15} timeCaption="Time" - dateFormat="LT"/> + dateFormat="h:mm aa" + /> ); diff --git a/docs-site/src/examples/specific_date_range.jsx b/docs-site/src/examples/specific_date_range.jsx index 2e5620179..f579e7cb3 100644 --- a/docs-site/src/examples/specific_date_range.jsx +++ b/docs-site/src/examples/specific_date_range.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addDays from "date-fns/addDays"; export default class SpecificDateRange extends React.Component { state = { @@ -24,9 +24,9 @@ export default class SpecificDateRange extends React.Component { {" onChange={this.handleChange}"} - {" minDate={moment()}"} + {" minDate={new Date()}"} - {' maxDate={moment().add(5, "days")}'} + {" maxDate={addDays(new Date(), 5)}"} { ' placeholderText="Select a date between today and 5 days in the future"' @@ -39,9 +39,10 @@ export default class SpecificDateRange extends React.Component { + minDate={new Date()} + maxDate={addDays(new Date(), 5)} + placeholderText="Select a date between today and 5 days in the future" + /> ); diff --git a/docs-site/src/examples/tab_index.jsx b/docs-site/src/examples/tab_index.jsx index 0db450f7a..3da55544f 100644 --- a/docs-site/src/examples/tab_index.jsx +++ b/docs-site/src/examples/tab_index.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class TabIndex extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class TabIndex extends React.Component { + tabIndex={1} + /> ); diff --git a/docs-site/src/examples/timezone_date.jsx b/docs-site/src/examples/timezone_date.jsx deleted file mode 100644 index bf1e8cc20..000000000 --- a/docs-site/src/examples/timezone_date.jsx +++ /dev/null @@ -1,91 +0,0 @@ -import React from "react"; - -import DatePicker from "react-datepicker"; - -export default class TimeZoneDate extends React.Component { - state = { - startDate: null, - utcOffset: -4 - }; - - timezoneNames = [ - { name: "GMT+10", value: 10 }, - { name: "GMT+8", value: 8 }, - { name: "GMT+4", value: 4 }, - { name: "GMT+1", value: 1 }, - { name: "GMT", value: 0 }, - { name: "GMT-3", value: -3 }, - { name: "GMT-4", value: -4 }, - { name: "GMT-8", value: -8 }, - { name: "GMT-10", value: -10 } - ]; - - handleChange = date => { - this.setState({ - startDate: date - }); - }; - - handleTmzChange = event => { - this.setState({ - utcOffset: parseInt(event.target.value, 10) - }); - }; - - getOffsetLabel = tmz => { - const obj = this.timezoneNames.find(({ value }) => value === tmz); - return (obj && obj.name) || ""; - }; - - render() { - const selected = - this.state.startDate && - this.state.startDate.clone().utcOffset(this.state.utcOffset); - const utcText = this.getOffsetLabel(this.state.utcOffset); - const todayTxt = `Today in ${utcText}`; - - return ( - - - - {` - -`} - - - - - - - Timezone Offset: - - GMT+10:00 - GMT+08:00 - GMT+04:00 - GMT+01:00 - GMT - GMT-03:00 - GMT-04:00 - GMT-08:00 - GMT-10:00 - - - - - ); - } -} diff --git a/docs-site/src/examples/today.jsx b/docs-site/src/examples/today.jsx index 84aee3fac..72c73c8f3 100644 --- a/docs-site/src/examples/today.jsx +++ b/docs-site/src/examples/today.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Today extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class Today extends React.Component { + onChange={this.handleChange} + /> ); diff --git a/docs-site/src/examples/week_numbers.jsx b/docs-site/src/examples/week_numbers.jsx index 80528057a..a31f0306e 100644 --- a/docs-site/src/examples/week_numbers.jsx +++ b/docs-site/src/examples/week_numbers.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class Default extends React.Component { + showWeekNumbers + /> ); diff --git a/docs-site/src/examples/year_dropdown.jsx b/docs-site/src/examples/year_dropdown.jsx index 26a7a6f78..29782ee74 100644 --- a/docs-site/src/examples/year_dropdown.jsx +++ b/docs-site/src/examples/year_dropdown.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class YearDropdown extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -40,7 +39,8 @@ export default class YearDropdown extends React.Component { showYearDropdown dateFormatCalendar="MMMM" yearDropdownItemNumber={15} - scrollableYearDropdown/> + scrollableYearDropdown + /> ); diff --git a/docs-site/src/examples/year_select_dropdown.jsx b/docs-site/src/examples/year_select_dropdown.jsx index bdb17af35..f6d071a6b 100644 --- a/docs-site/src/examples/year_select_dropdown.jsx +++ b/docs-site/src/examples/year_select_dropdown.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class YearDropdown extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -40,7 +39,8 @@ export default class YearDropdown extends React.Component { peekNextMonth showMonthDropdown showYearDropdown - dropdownMode="select"/> + dropdownMode="select" + /> ); diff --git a/docs-site/src/hero_example.jsx b/docs-site/src/hero_example.jsx index 31b3361be..9422e7884 100644 --- a/docs-site/src/hero_example.jsx +++ b/docs-site/src/hero_example.jsx @@ -1,25 +1,27 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class HeroExample extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return + render() { + return ( + + ); } } diff --git a/docs-site/style.css b/docs-site/style.css index c347072a8..52e8dc58d 100644 --- a/docs-site/style.css +++ b/docs-site/style.css @@ -1,19 +1,19 @@ -.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, -.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow, .react-datepicker__month-read-view--down-arrow, .react-datepicker__month-year-read-view--down-arrow { margin-left: -8px; position: absolute; } -.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, -.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow, .react-datepicker__month-read-view--down-arrow, .react-datepicker__month-year-read-view--down-arrow, -.react-datepicker-popper[data-placement^="bottom"] +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle::before, -.react-datepicker-popper[data-placement^="top"] +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before, .react-datepicker__month-read-view--down-arrow::before, @@ -24,48 +24,48 @@ height: 0; width: 1px; } -.react-datepicker-popper[data-placement^="bottom"] +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle::before, -.react-datepicker-popper[data-placement^="top"] +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before, .react-datepicker__month-read-view--down-arrow::before, .react-datepicker__month-year-read-view--down-arrow::before { - content: ""; + content: ''; z-index: -1; border-width: 8px; left: -8px; border-bottom-color: #aeaeae; } -.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle { +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle { top: 0; margin-top: -8px; } -.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, -.react-datepicker-popper[data-placement^="bottom"] +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle::before { border-top: none; border-bottom-color: #f0f0f0; } -.react-datepicker-popper[data-placement^="bottom"] +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle::before { top: -1px; border-bottom-color: #aeaeae; } -.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow, .react-datepicker__month-read-view--down-arrow, .react-datepicker__month-year-read-view--down-arrow { bottom: 0; margin-bottom: -8px; } -.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow, .react-datepicker__month-read-view--down-arrow, .react-datepicker__month-year-read-view--down-arrow, -.react-datepicker-popper[data-placement^="top"] +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before, .react-datepicker__month-read-view--down-arrow::before, @@ -73,7 +73,7 @@ border-bottom: none; border-top-color: #fff; } -.react-datepicker-popper[data-placement^="top"] +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before, .react-datepicker__month-read-view--down-arrow::before, @@ -87,7 +87,7 @@ } .react-datepicker { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 0.8rem; background-color: #fff; color: #000; @@ -121,23 +121,23 @@ .react-datepicker-popper { z-index: 1; } -.react-datepicker-popper[data-placement^="bottom"] { +.react-datepicker-popper[data-placement^='bottom'] { margin-top: 10px; } -.react-datepicker-popper[data-placement^="top"] { +.react-datepicker-popper[data-placement^='top'] { margin-bottom: 10px; } -.react-datepicker-popper[data-placement^="right"] { +.react-datepicker-popper[data-placement^='right'] { margin-left: 8px; } -.react-datepicker-popper[data-placement^="right"] .react-datepicker__triangle { +.react-datepicker-popper[data-placement^='right'] .react-datepicker__triangle { left: auto; right: 42px; } -.react-datepicker-popper[data-placement^="left"] { +.react-datepicker-popper[data-placement^='left'] { margin-right: 8px; } -.react-datepicker-popper[data-placement^="left"] .react-datepicker__triangle { +.react-datepicker-popper[data-placement^='left'] .react-datepicker__triangle { left: 42px; right: auto; } @@ -571,7 +571,7 @@ bottom: 0; box-sizing: border-box; color: #fff; - content: "\D7"; + content: '\D7'; cursor: pointer; font-size: 12px; height: 16px; @@ -770,7 +770,7 @@ q:before, q:after, blockquote:before, blockquote:after { - content: ""; + content: ''; content: none; } @@ -1068,10 +1068,6 @@ github.com style (c) Vasily Polovnyov color: #fff; } -.example__timezone-selector { - margin-left: 10px; -} - .hero__content, .wrapper { max-width: 1100px; @@ -1083,7 +1079,7 @@ body { height: 100%; width: 100%; background: #f5f5f5; - font-family: "Open Sans", sans-serif; + font-family: 'Open Sans', sans-serif; color: #555; font-size: 14px; line-height: 21px; @@ -1132,7 +1128,7 @@ code { font-size: 85%; background-color: #e8e7e7; border-radius: 3px; - font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; + font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; } strong { diff --git a/docs/datepicker.md b/docs/datepicker.md index 3232af566..e4d30d9b8 100644 --- a/docs/datepicker.md +++ b/docs/datepicker.md @@ -19,7 +19,7 @@ General datepicker component. | `disabled` | `bool` | `false` | | | `disabledKeyboardNavigation` | `bool` | `false` | | | `dropdownMode` (required) | `enum('scroll'\|'select')` | `'scroll'` | | -| `endDate` | `object` | | | +| `endDate` | `instanceOf(Date)` | | | | `excludeDates` | `array` | | | | `excludeTimes` | `array` | | | | `filterDate` | `func` | | | @@ -34,10 +34,10 @@ General datepicker component. | `inline` | `bool` | | | | `isClearable` | `bool` | | | | `locale` | `string` | | | -| `maxDate` | `object` | | | -| `maxTime` | `object` | | | -| `minDate` | `object` | | | -| `minTime` | `object` | | | +| `maxDate` | `instanceOf(Date)` | | | +| `maxTime` | `instanceOf(Date)` | | | +| `minDate` | `instanceOf(Date)` | | | +| `minTime` | `instanceOf(Date)` | | | | `monthsShown` | `number` | `1` | | | `name` | `string` | | | | `onBlur` | `func` | `function() {}` | | @@ -50,7 +50,7 @@ General datepicker component. | `onYearChange` | `func` | `function() {}` | | | `onSelect` | `func` | `function() {}` | | | `onWeekSelect` | `func` | | | -| `openToDate` | `object` | | | +| `openToDate` | `instanceOf(Date)` | | | | `peekNextMonth` | `bool` | | | | `placeholderText` | `string` | | | | `popperClassName` | `string` | | | @@ -60,7 +60,7 @@ General datepicker component. | `readOnly` | `bool` | | | | `required` | `bool` | | | | `scrollableYearDropdown` | `bool` | | | -| `selected` | `object` | | | +| `selected` | `instanceOf(Date)` | | | | `selectsEnd` | `bool` | | | | `selectsStart` | `bool` | | | | `shouldCloseOnSelect` | `bool` | `true` | | @@ -68,7 +68,7 @@ General datepicker component. | `showTimeSelect` | `bool` | `false` | | | `showWeekNumbers` | `bool` | | | | `showYearDropdown` | `bool` | | | -| `startDate` | `object` | | | +| `startDate` | `instanceOf(Date)` | | | | `startOpen` | `bool` | | | | `tabIndex` | `number` | | | | `timeFormat` | `string` | | | diff --git a/docs/index.md b/docs/index.md index 3325cfe72..0c5100986 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,73 +1,98 @@ # `index` (component) -| name | type | default value | description | -| ---------------------------- | ------------------------------ | ------------------ | ----------- | -| `adjustDateOnChange` | `bool` | | | -| `allowSameDay` | `bool` | `false` | | -| `autoComplete` | `string` | | | -| `autoFocus` | `bool` | | | -| `calendarClassName` | `string` | | | -| `calendarContainer` | `func` | | | -| `children` | `node` | | | -| `className` | `string` | | | -| `clearButtonTitle` | `string` | | | -| `customInput` | `element` | | | -| `customInputRef` | `string` | | | -| `dateFormat` | `union(string\|array)` | `"L"` | | -| `dateFormatCalendar` | `string` | `"MMMM YYYY"` | | -| `dayClassName` | `func` | | | -| `disabled` | `bool` | `false` | | -| `disabledKeyboardNavigation` | `bool` | `false` | | -| `dropdownMode` | `enum("scroll"\|"select")` | `"scroll"` | | -| `endDate` | `object` | | | -| `excludeDates` | `array` | | | -| `excludeTimes` | `array` | | | -| `filterDate` | `func` | | | -| `fixedHeight` | `bool` | | | -| `forceShowMonthNavigation` | `bool` | | | -| `formatWeekDay` | `func` | | | -| `formatWeekNumber` | `func` | | | -| `highlightDates` | `array` | | | -| `id` | `string` | | | -| `includeDates` | `array` | | | -| `includeTimes` | `array` | | | -| `injectTimes` | `array` | | | -| `inline` | `bool` | | | -| `isClearable` | `bool` | | | -| `locale` | `string` | | | -| `maxDate` | `object` | | | -| `maxTime` | `object` | | | -| `minDate` | `object` | | | -| `minTime` | `object` | | | -| `monthsShown` | `number` | `1` | | -| `name` | `string` | | | -| `nextMonthButtonLabel` | `string` | `"Next month"` | | -| `onBlur` | `func` | `function() {}` | | -| `onChange` | `func` | `function() {}` | | -| `onChangeRaw` | `func` | | | -| `onClickOutside` | `func` | `function() {}` | | -| `onFocus` | `func` | `function() {}` | | -| `onInputClick` | `func` | `function() {}` | | -| `onInputError` | `func` | `function() {}` | | -| `onKeyDown` | `func` | `function() {}` | | -| `onMonthChange` | `func` | `function() {}` | | -| `onSelect` | `func` | `function() {}` | | -| `onWeekSelect` | `func` | | | -| `onYearChange` | `func` | `function() {}` | | -| `open` | `bool` | | | -| `openToDate` | `object` | | | -| `peekNextMonth` | `bool` | | | -| `placeholderText` | `string` | | | -| `popperClassName` | `string` | | | -| `popperContainer` | `func` | | | -| `popperModifiers` | `object` | | | -| `popperPlacement` | `enumpopperPlacementPositions` | | | -| `popperProps` | `object` | | | -| `preventOpenOnFocus` | `bool` | `false` | | -| `previousMonthButtonLabel` | `string` | `"Previous Month"` | | -| `readOnly` | `bool` | `false` | | -| `renderCustomHeader` | `func` | | | -| `renderDayContents` | `func` | `function(date) { | +General datepicker component. -return date; -}`|| |`required`|`bool`||| |`scrollableMonthYearDropdown`|`bool`||| |`scrollableYearDropdown`|`bool`||| |`selected`|`object`||| |`selectsEnd`|`bool`||| |`selectsStart`|`bool`||| |`shouldCloseOnSelect`|`bool`|`true`|| |`showDisabledMonthNavigation`|`bool`||| |`showMonthDropdown`|`bool`||| |`showMonthYearDropdown`|`bool`||| |`showTimeSelect`|`bool`|`false`|| |`showTimeSelectOnly`|`bool`||| |`showWeekNumbers`|`bool`||| |`showYearDropdown`|`bool`||| |`startDate`|`object`||| |`startOpen`|`bool`||| |`tabIndex`|`number`||| |`timeCaption`|`string`|`"Time"`|| |`timeFormat`|`string`||| |`timeIntervals`|`number`|`30`|| |`title`|`string`||| |`todayButton`|`node`||| |`useShortMonthInDropdown`|`bool`||| |`useWeekdaysShort`|`bool`||| |`utcOffset`|`union(number\|string)`||| |`value`|`string`||| |`weekLabel`|`string`||| |`withPortal`|`bool`|`false`|| |`yearDropdownItemNumber`|`number`||| +| name | type | default value | description | +| ----------------------------- | ------------------------------ | ------------------ | ----------- | +| `adjustDateOnChange` | `bool` | | | +| `allowSameDay` | `bool` | `false` | | +| `autoComplete` | `string` | | | +| `autoFocus` | `bool` | | | +| `calendarClassName` | `string` | | | +| `calendarContainer` | `func` | | | +| `children` | `node` | | | +| `className` | `string` | | | +| `clearButtonTitle` | `string` | | | +| `customInput` | `element` | | | +| `customInputRef` | `string` | | | +| `dateFormat` | `union(string\|array)` | `"L"` | | +| `dateFormatCalendar` | `string` | `"MMMM YYYY"` | | +| `dayClassName` | `func` | | | +| `disabled` | `bool` | `false` | | +| `disabledKeyboardNavigation` | `bool` | `false` | | +| `dropdownMode` | `enum("scroll"\|"select")` | `"scroll"` | | +| `endDate` | `instanceOf(Date)` | | | +| `excludeDates` | `array` | | | +| `excludeTimes` | `array` | | | +| `filterDate` | `func` | | | +| `fixedHeight` | `bool` | | | +| `forceShowMonthNavigation` | `bool` | | | +| `formatWeekDay` | `func` | | | +| `formatWeekNumber` | `func` | | | +| `highlightDates` | `array` | | | +| `id` | `string` | | | +| `includeDates` | `array` | | | +| `includeTimes` | `array` | | | +| `injectTimes` | `array` | | | +| `inline` | `bool` | | | +| `isClearable` | `bool` | | | +| `locale` | `string` | | | +| `maxDate` | `instanceOf(Date)` | | | +| `maxTime` | `instanceOf(Date)` | | | +| `minDate` | `instanceOf(Date)` | | | +| `minTime` | `instanceOf(Date)` | | | +| `monthsShown` | `number` | `1` | | +| `name` | `string` | | | +| `nextMonthButtonLabel` | `string` | `"Next month"` | | +| `onBlur` | `func` | `function() {}` | | +| `onChange` | `func` | `function() {}` | | +| `onChangeRaw` | `func` | | | +| `onClickOutside` | `func` | `function() {}` | | +| `onFocus` | `func` | `function() {}` | | +| `onInputClick` | `func` | `function() {}` | | +| `onKeyDown` | `func` | `function() {}` | | +| `onMonthChange` | `func` | `function() {}` | | +| `onSelect` | `func` | `function() {}` | | +| `onWeekSelect` | `func` | | | +| `onYearChange` | `func` | `function() {}` | | +| `open` | `bool` | | | +| `openToDate` | `instanceOf(Date)` | | | +| `peekNextMonth` | `bool` | | | +| `placeholderText` | `string` | | | +| `popperClassName` | `string` | | | +| `popperContainer` | `func` | | | +| `popperModifiers` | `object` | | | +| `popperPlacement` | `enumpopperPlacementPositions` | | | +| `preventOpenOnFocus` | `bool` | `false` | | +| `previousMonthButtonLabel` | `string` | `"Previous Month"` | | +| `readOnly` | `bool` | `false` | | +| `renderCustomHeader` | `func` | | | +| `required` | `bool` | | | +| `scrollableMonthYearDropdown` | `bool` | | | +| `scrollableYearDropdown` | `bool` | | | +| `selected` | `instanceOf(Date)` | | | +| `selectsEnd` | `bool` | | | +| `selectsStart` | `bool` | | | +| `shouldCloseOnSelect` | `bool` | `true` | | +| `showDisabledMonthNavigation` | `bool` | | | +| `showMonthDropdown` | `bool` | | | +| `showMonthYearDropdown` | `bool` | | | +| `showTimeSelect` | `bool` | `false` | | +| `showTimeSelectOnly` | `bool` | | | +| `showWeekNumbers` | `bool` | | | +| `showYearDropdown` | `bool` | | | +| `startDate` | `instanceOf(Date)` | | | +| `startOpen` | `bool` | | | +| `tabIndex` | `number` | | | +| `timeCaption` | `string` | `"Time"` | | +| `timeFormat` | `string` | | | +| `timeIntervals` | `number` | `30` | | +| `title` | `string` | | | +| `todayButton` | `node` | | | +| `useShortMonthInDropdown` | `bool` | | | +| `useWeekdaysShort` | `bool` | | | +| `utcOffset` | `union(number\|string)` | | | +| `value` | `string` | | | +| `weekLabel` | `string` | | | +| `withPortal` | `bool` | `false` | | +| `yearDropdownItemNumber` | `number` | | | diff --git a/docs/month_year_dropdown.md b/docs/month_year_dropdown.md index ddf33feaf..305bf49fa 100644 --- a/docs/month_year_dropdown.md +++ b/docs/month_year_dropdown.md @@ -2,11 +2,11 @@ | name | type | default value | description | | ----------------------------- | -------------------------- | ------------- | ----------- | -| `date` (required) | `object` | | | +| `date` (required) | `instanceOf(Date)` | | | | `dateFormat` (required) | `string` | | | | `dropdownMode` (required) | `enum("scroll"\|"select")` | | | | `locale` | `string` | | | -| `maxDate` (required) | `object` | | | -| `minDate` (required) | `object` | | | +| `maxDate` (required) | `instanceOf(Date)` | | | +| `minDate` (required) | `instanceOf(Date)` | | | | `onChange` (required) | `func` | | | | `scrollableMonthYearDropdown` | `bool` | | | diff --git a/docs/month_year_dropdown_options.md b/docs/month_year_dropdown_options.md index ba890876d..8b1370d9f 100644 --- a/docs/month_year_dropdown_options.md +++ b/docs/month_year_dropdown_options.md @@ -1,11 +1,11 @@ # `month_year_dropdown_options` (component) -| name | type | default value | description | -| ----------------------------- | -------- | ------------- | ----------- | -| `date` (required) | `object` | | | -| `dateFormat` (required) | `string` | | | -| `maxDate` (required) | `object` | | | -| `minDate` (required) | `object` | | | -| `onCancel` (required) | `func` | | | -| `onChange` (required) | `func` | | | -| `scrollableMonthYearDropdown` | `bool` | | | +| name | type | default value | description | +| ----------------------------- | ------------------ | ------------- | ----------- | +| `date` (required) | `instanceOf(Date)` | | | +| `dateFormat` (required) | `string` | | | +| `maxDate` (required) | `instanceOf(Date)` | | | +| `minDate` (required) | `instanceOf(Date)` | | | +| `onCancel` (required) | `func` | | | +| `onChange` (required) | `func` | | | +| `scrollableMonthYearDropdown` | `bool` | | | diff --git a/docs/time.md b/docs/time.md index e1b7ebda2..2fb850f4b 100644 --- a/docs/time.md +++ b/docs/time.md @@ -1,17 +1,17 @@ # `time` (component) -| name | type | default value | description | -| -------------- | -------- | ------------- | ----------- | -| `excludeTimes` | `array` | | | -| `format` | `string` | | | -| `includeTimes` | `array` | | | -| `injectTimes` | `array` | | | -| `intervals` | `number` | `30` | | -| `maxTime` | `object` | | | -| `minTime` | `object` | | | -| `monthRef` | `object` | | | -| `onChange` | `func` | | | -| `onTimeChange` | | `() => {}` | | -| `selected` | `object` | | | -| `timeCaption` | `string` | `"Time"` | | -| `todayButton` | `node` | `null` | | +| name | type | default value | description | +| -------------- | ------------------ | ------------- | ----------- | +| `excludeTimes` | `array` | | | +| `format` | `string` | | | +| `includeTimes` | `array` | | | +| `injectTimes` | `array` | | | +| `intervals` | `number` | `30` | | +| `maxTime` | `instanceOf(Date)` | | | +| `minTime` | `instanceOf(Date)` | | | +| `monthRef` | `object` | | | +| `onChange` | `func` | | | +| `onTimeChange` | | `() => {}` | | +| `selected` | `instanceOf(Date)` | | | +| `timeCaption` | `string` | `"Time"` | | +| `todayButton` | `node` | `null` | | diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 000000000..b6d14a941 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,13523 @@ +{ + "name": "react-datepicker", + "version": "1.6.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@babel/code-frame": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.44.tgz", + "integrity": "sha512-cuAuTTIQ9RqcFRJ/Y8PvTh+paepNcaGxwQwjIDRWPXmzzyAeCO4KqS9ikMvq0MCbRk6GlYKwfzStrcP3/jSL8g==", + "dev": true, + "requires": { + "@babel/highlight": "7.0.0-beta.44" + } + }, + "@babel/generator": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.44.tgz", + "integrity": "sha512-5xVb7hlhjGcdkKpMXgicAVgx8syK5VJz193k0i/0sLP6DzE6lRrU1K3B/rFefgdo9LPGMAOOOAWW4jycj07ShQ==", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.44", + "jsesc": "2.5.1", + "lodash": "4.17.11", + "source-map": "0.5.7", + "trim-right": "1.0.1" + }, + "dependencies": { + "jsesc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.1.tgz", + "integrity": "sha1-5CGiqOINawgZ3yiQj3glJrlt0f4=", + "dev": true + } + } + }, + "@babel/helper-function-name": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.44.tgz", + "integrity": "sha512-MHRG2qZMKMFaBavX0LWpfZ2e+hLloT++N7rfM3DYOMUOGCD8cVjqZpwiL8a0bOX3IYcQev1ruciT0gdFFRTxzg==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "7.0.0-beta.44", + "@babel/template": "7.0.0-beta.44", + "@babel/types": "7.0.0-beta.44" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.44.tgz", + "integrity": "sha512-w0YjWVwrM2HwP6/H3sEgrSQdkCaxppqFeJtAnB23pRiJB5E/O9Yp7JAAeWBl+gGEgmBFinnTyOv2RN7rcSmMiw==", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.44" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.44.tgz", + "integrity": "sha512-aQ7QowtkgKKzPGf0j6u77kBMdUFVBKNHw2p/3HX/POt5/oz8ec5cs0GwlgM8Hz7ui5EwJnzyfRmkNF1Nx1N7aA==", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.44" + } + }, + "@babel/highlight": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.44.tgz", + "integrity": "sha512-Il19yJvy7vMFm8AVAh6OZzaFoAd0hbkeMZiX3P5HGD+z7dyI7RzndHB0dg6Urh/VAFfHtpOIzDUSxmY6coyZWQ==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "esutils": "2.0.2", + "js-tokens": "3.0.2" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "@babel/template": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.44.tgz", + "integrity": "sha512-w750Sloq0UNifLx1rUqwfbnC6uSUk0mfwwgGRfdLiaUzfAOiH0tHJE6ILQIUi3KYkjiCDTskoIsnfqZvWLBDng==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.44", + "@babel/types": "7.0.0-beta.44", + "babylon": "7.0.0-beta.44", + "lodash": "4.17.11" + }, + "dependencies": { + "babylon": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.44.tgz", + "integrity": "sha512-5Hlm13BJVAioCHpImtFqNOF2H3ieTOHd0fmFGMxOJ9jgeFqeAwsv3u5P5cR7CSeFrkgHsT19DgFJkHV0/Mcd8g==", + "dev": true + } + } + }, + "@babel/traverse": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.44.tgz", + "integrity": "sha512-UHuDz8ukQkJCDASKHf+oDt3FVUzFd+QYfuBIsiNu/4+/ix6pP/C+uQZJ6K1oEfbCMv/IKWbgDEh7fcsnIE5AtA==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.44", + "@babel/generator": "7.0.0-beta.44", + "@babel/helper-function-name": "7.0.0-beta.44", + "@babel/helper-split-export-declaration": "7.0.0-beta.44", + "@babel/types": "7.0.0-beta.44", + "babylon": "7.0.0-beta.44", + "debug": "3.2.5", + "globals": "11.7.0", + "invariant": "2.2.4", + "lodash": "4.17.11" + }, + "dependencies": { + "babylon": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.44.tgz", + "integrity": "sha512-5Hlm13BJVAioCHpImtFqNOF2H3ieTOHd0fmFGMxOJ9jgeFqeAwsv3u5P5cR7CSeFrkgHsT19DgFJkHV0/Mcd8g==", + "dev": true + }, + "debug": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.5.tgz", + "integrity": "sha512-D61LaDQPQkxJ5AUM2mbSJRbPkNs/TmdmOeLAi1hgDkpDfIfetSrjmWhccwtuResSwMbACjx/xXQofvM9CE/aeg==", + "dev": true, + "requires": { + "ms": "2.1.1" + } + }, + "globals": { + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.7.0.tgz", + "integrity": "sha512-K8BNSPySfeShBQXsahYB/AbbWruVOTyVpgoIDnl8odPpeSfP2J5QO2oLFFdl2j7GfDCtZj2bMKar2T49itTPCg==", + "dev": true + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + } + } + }, + "@babel/types": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.44.tgz", + "integrity": "sha512-5eTV4WRmqbaFM3v9gHAIljEQJU4Ssc6fxL61JN+Oe2ga/BwyjzjamwkCVVAQjHGuAX8i0BWo42dshL8eO5KfLQ==", + "dev": true, + "requires": { + "esutils": "2.0.2", + "lodash": "4.17.11", + "to-fast-properties": "2.0.0" + }, + "dependencies": { + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + } + } + }, + "@sinonjs/formatio": { + "version": "2.0.0", + "resolved": "http://registry.npmjs.org/@sinonjs/formatio/-/formatio-2.0.0.tgz", + "integrity": "sha512-ls6CAMA6/5gG+O/IdsBcblvnd8qcO/l1TYoNeAzp3wcISOxlPXQEus0mLcdwazEkWjaBdaJ3TaxmNgCLWwvWzg==", + "dev": true, + "requires": { + "samsam": "1.3.0" + } + }, + "@sinonjs/samsam": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-2.1.0.tgz", + "integrity": "sha512-5x2kFgJYupaF1ns/RmharQ90lQkd2ELS8A9X0ymkAAdemYHGtI2KiUHG8nX2WU0T1qgnOU5YMqnBM2V7NUanNw==", + "dev": true, + "requires": { + "array-from": "2.1.1" + } + }, + "@types/node": { + "version": "10.12.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.0.tgz", + "integrity": "sha512-3TUHC3jsBAB7qVRGxT6lWyYo2v96BMmD2PTcl47H25Lu7UXtFH/2qqmKiVrnel6Ne//0TFYf6uvNX+HW2FRkLQ==", + "dev": true + }, + "abbrev": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz", + "integrity": "sha1-kbR5JYinc4wl813W9jdSovh3YTU=", + "dev": true + }, + "accepts": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz", + "integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=", + "dev": true, + "requires": { + "mime-types": "2.1.20", + "negotiator": "0.6.1" + }, + "dependencies": { + "mime-types": { + "version": "2.1.20", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz", + "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==", + "dev": true, + "requires": { + "mime-db": "1.36.0" + } + } + } + }, + "acorn": { + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz", + "integrity": "sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==", + "dev": true + }, + "acorn-jsx": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz", + "integrity": "sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s=", + "dev": true, + "requires": { + "acorn": "3.3.0" + }, + "dependencies": { + "acorn": { + "version": "3.3.0", + "resolved": "http://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", + "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=", + "dev": true + } + } + }, + "after": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/after/-/after-0.8.2.tgz", + "integrity": "sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8=", + "dev": true + }, + "ajv": { + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", + "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "dev": true, + "requires": { + "co": "4.6.0", + "fast-deep-equal": "1.1.0", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.3.1" + } + }, + "ajv-keywords": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-2.1.1.tgz", + "integrity": "sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I=", + "dev": true + }, + "align-text": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", + "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", + "dev": true, + "requires": { + "kind-of": "3.2.2", + "longest": "1.0.1", + "repeat-string": "1.6.1" + } + }, + "alphanum-sort": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz", + "integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=", + "dev": true + }, + "amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", + "dev": true + }, + "ansi-escapes": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz", + "integrity": "sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw==", + "dev": true + }, + "ansi-html": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz", + "integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=", + "dev": true + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "any-observable": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/any-observable/-/any-observable-0.2.0.tgz", + "integrity": "sha1-xnhwBYADV5AJCD9UrAq6+1wz0kI=", + "dev": true + }, + "anymatch": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz", + "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==", + "dev": true, + "requires": { + "micromatch": "2.3.11", + "normalize-path": "2.1.1" + }, + "dependencies": { + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "requires": { + "remove-trailing-separator": "1.1.0" + } + } + } + }, + "app-root-path": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/app-root-path/-/app-root-path-2.0.1.tgz", + "integrity": "sha1-zWLc+OT9WkF+/GZNLlsQZTxlG0Y=", + "dev": true + }, + "aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true + }, + "are-we-there-yet": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", + "dev": true, + "requires": { + "delegates": "1.0.0", + "readable-stream": "2.3.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "1.0.3" + } + }, + "arr-diff": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", + "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", + "dev": true, + "requires": { + "arr-flatten": "1.1.0" + } + }, + "arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true + }, + "arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", + "dev": true + }, + "array-filter": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-0.0.1.tgz", + "integrity": "sha1-fajPLiZijtcygDWB/SH2fKzS7uw=", + "dev": true + }, + "array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", + "dev": true + }, + "array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", + "dev": true + }, + "array-from": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/array-from/-/array-from-2.1.1.tgz", + "integrity": "sha1-z+nYwmYoudxa7MYqn12PHzUsEZU=", + "dev": true + }, + "array-includes": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz", + "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0" + } + }, + "array-map": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/array-map/-/array-map-0.0.0.tgz", + "integrity": "sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI=", + "dev": true + }, + "array-reduce": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/array-reduce/-/array-reduce-0.0.0.tgz", + "integrity": "sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys=", + "dev": true + }, + "array-slice": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-0.2.3.tgz", + "integrity": "sha1-3Tz7gO15c6dRF82sabC5nshhhvU=", + "dev": true + }, + "array-union": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "dev": true, + "requires": { + "array-uniq": "1.0.3" + } + }, + "array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", + "dev": true + }, + "array-unique": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", + "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", + "dev": true + }, + "array.prototype.flat": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.1.tgz", + "integrity": "sha512-rVqIs330nLJvfC7JqYvEWwqVr5QjYF1ib02i3YJtR/fICO6527Tjpc/e4Mvmxh3GIePPreRXMdaGyC99YphWEw==", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0", + "function-bind": "1.1.1" + } + }, + "arraybuffer.slice": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.6.tgz", + "integrity": "sha1-8zshWfBTKj8xB6JywMz70a0peco=", + "dev": true + }, + "arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "dev": true + }, + "asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" + }, + "asn1": { + "version": "0.1.11", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz", + "integrity": "sha1-VZvhg3bQik7E2+gId9J4GGObLfc=", + "dev": true, + "optional": true + }, + "assert": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/assert/-/assert-1.4.1.tgz", + "integrity": "sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=", + "dev": true, + "requires": { + "util": "0.10.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", + "dev": true + }, + "util": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "dev": true, + "requires": { + "inherits": "2.0.1" + } + } + } + }, + "assert-plus": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.5.tgz", + "integrity": "sha1-7nQAlBMALYTOxyGcasgRgS5yMWA=", + "dev": true, + "optional": true + }, + "assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true + }, + "assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", + "dev": true + }, + "ast-types": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.10.1.tgz", + "integrity": "sha512-UY7+9DPzlJ9VM8eY0b2TUZcZvF+1pO0hzMtAyjBYKhOmnvRlqYNYnWdtsMj0V16CGaMlpL0G1jnLbLo4AyotuQ==", + "dev": true + }, + "async": { + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz", + "integrity": "sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=", + "dev": true + }, + "async-each": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz", + "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=", + "dev": true + }, + "async-foreach": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz", + "integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=", + "dev": true + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true + }, + "autoprefixer": { + "version": "6.7.7", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-6.7.7.tgz", + "integrity": "sha1-Hb0cg1ZY41zj+ZhAmdsAWFx4IBQ=", + "dev": true, + "requires": { + "browserslist": "1.7.7", + "caniuse-db": "1.0.30000890", + "normalize-range": "0.1.2", + "num2fraction": "1.2.2", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + }, + "dependencies": { + "browserslist": { + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz", + "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", + "dev": true, + "requires": { + "caniuse-db": "1.0.30000890", + "electron-to-chromium": "1.3.67" + } + } + } + }, + "aws-sign2": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.5.0.tgz", + "integrity": "sha1-xXED96F/wDfwLXwuZLYC6iI/fWM=", + "dev": true, + "optional": true + }, + "aws4": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", + "dev": true + }, + "babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "esutils": "2.0.2", + "js-tokens": "3.0.2" + }, + "dependencies": { + "js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", + "dev": true + } + } + }, + "babel-core": { + "version": "6.26.3", + "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz", + "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==", + "dev": true, + "requires": { + "babel-code-frame": "6.26.0", + "babel-generator": "6.26.1", + "babel-helpers": "6.24.1", + "babel-messages": "6.23.0", + "babel-register": "6.26.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "convert-source-map": "1.6.0", + "debug": "2.6.9", + "json5": "0.5.1", + "lodash": "4.17.11", + "minimatch": "3.0.4", + "path-is-absolute": "1.0.1", + "private": "0.1.8", + "slash": "1.0.0", + "source-map": "0.5.7" + } + }, + "babel-eslint": { + "version": "8.2.6", + "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-8.2.6.tgz", + "integrity": "sha512-aCdHjhzcILdP8c9lej7hvXKvQieyRt20SF102SIGyY4cUIiw6UaAtK4j2o3dXX74jEmy0TJ0CEhv4fTIM3SzcA==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.44", + "@babel/traverse": "7.0.0-beta.44", + "@babel/types": "7.0.0-beta.44", + "babylon": "7.0.0-beta.44", + "eslint-scope": "3.7.1", + "eslint-visitor-keys": "1.0.0" + }, + "dependencies": { + "babylon": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.44.tgz", + "integrity": "sha512-5Hlm13BJVAioCHpImtFqNOF2H3ieTOHd0fmFGMxOJ9jgeFqeAwsv3u5P5cR7CSeFrkgHsT19DgFJkHV0/Mcd8g==", + "dev": true + } + } + }, + "babel-generator": { + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", + "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", + "dev": true, + "requires": { + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "detect-indent": "4.0.0", + "jsesc": "1.3.0", + "lodash": "4.17.11", + "source-map": "0.5.7", + "trim-right": "1.0.1" + } + }, + "babel-helper-bindify-decorators": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-bindify-decorators/-/babel-helper-bindify-decorators-6.24.1.tgz", + "integrity": "sha1-FMGeXxQte0fxmlJDHlKxzLxAozA=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-builder-binary-assignment-operator-visitor": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz", + "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=", + "dev": true, + "requires": { + "babel-helper-explode-assignable-expression": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-builder-react-jsx": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-helper-builder-react-jsx/-/babel-helper-builder-react-jsx-6.26.0.tgz", + "integrity": "sha1-Of+DE7dci2Xc7/HzHTg+D/KkCKA=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "esutils": "2.0.2" + } + }, + "babel-helper-call-delegate": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz", + "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", + "dev": true, + "requires": { + "babel-helper-hoist-variables": "6.24.1", + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-define-map": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz", + "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=", + "dev": true, + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "lodash": "4.17.11" + } + }, + "babel-helper-explode-assignable-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz", + "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-explode-class": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-explode-class/-/babel-helper-explode-class-6.24.1.tgz", + "integrity": "sha1-fcKjkQ3uAHBW4eMdZAztPVTqqes=", + "dev": true, + "requires": { + "babel-helper-bindify-decorators": "6.24.1", + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", + "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", + "dev": true, + "requires": { + "babel-helper-get-function-arity": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-get-function-arity": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", + "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-hoist-variables": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", + "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-optimise-call-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz", + "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-regex": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz", + "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "lodash": "4.17.11" + } + }, + "babel-helper-remap-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz", + "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=", + "dev": true, + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-replace-supers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz", + "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", + "dev": true, + "requires": { + "babel-helper-optimise-call-expression": "6.24.1", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helpers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", + "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-loader": { + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-6.4.1.tgz", + "integrity": "sha1-CzQRLVsHSKjc2/Uaz2+b1C1QuMo=", + "dev": true, + "requires": { + "find-cache-dir": "0.1.1", + "loader-utils": "0.2.17", + "mkdirp": "0.5.1", + "object-assign": "4.1.1" + } + }, + "babel-messages": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-add-react-displayname": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.4.tgz", + "integrity": "sha1-vCp0vL7m5QUCWzNS/qhe57xMb3w=", + "dev": true + }, + "babel-plugin-check-es2015-constants": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", + "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-external-helpers": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-external-helpers/-/babel-plugin-external-helpers-6.22.0.tgz", + "integrity": "sha1-IoX0iwK9Xe3oUXXK+MYuhq3M76E=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-react-transform": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-3.0.0.tgz", + "integrity": "sha512-4vJGddwPiHAOgshzZdGwYy4zRjjIr5SMY7gkOaCyIASjgpcsyLTlZNuB5rHOFoaTvGlhfo8/g4pobXPyHqm/3w==", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + }, + "babel-plugin-syntax-async-functions": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", + "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=", + "dev": true + }, + "babel-plugin-syntax-async-generators": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz", + "integrity": "sha1-a8lj67FuzLrmuStZbrfzXDQqi5o=", + "dev": true + }, + "babel-plugin-syntax-class-constructor-call": { + "version": "6.18.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-class-constructor-call/-/babel-plugin-syntax-class-constructor-call-6.18.0.tgz", + "integrity": "sha1-nLnTn+Q8hgC+yBRkVt3L1OGnZBY=", + "dev": true + }, + "babel-plugin-syntax-class-properties": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz", + "integrity": "sha1-1+sjt5oxf4VDlixQW4J8fWysJ94=", + "dev": true + }, + "babel-plugin-syntax-decorators": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-decorators/-/babel-plugin-syntax-decorators-6.13.0.tgz", + "integrity": "sha1-MSVjtNvePMgGzuPkFszurd0RrAs=", + "dev": true + }, + "babel-plugin-syntax-do-expressions": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-do-expressions/-/babel-plugin-syntax-do-expressions-6.13.0.tgz", + "integrity": "sha1-V0d1YTmqJtOQ0JQQsDdEugfkeW0=", + "dev": true + }, + "babel-plugin-syntax-dynamic-import": { + "version": "6.18.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz", + "integrity": "sha1-jWomIpyDdFqZgqRBBRVyyqF5sdo=", + "dev": true + }, + "babel-plugin-syntax-exponentiation-operator": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", + "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=", + "dev": true + }, + "babel-plugin-syntax-export-extensions": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-export-extensions/-/babel-plugin-syntax-export-extensions-6.13.0.tgz", + "integrity": "sha1-cKFITw+QiaToStRLrDU8lbmxJyE=", + "dev": true + }, + "babel-plugin-syntax-flow": { + "version": "6.18.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz", + "integrity": "sha1-TDqyCiryaqIM0lmVw5jE63AxDI0=", + "dev": true + }, + "babel-plugin-syntax-function-bind": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-function-bind/-/babel-plugin-syntax-function-bind-6.13.0.tgz", + "integrity": "sha1-SMSV8Xe98xqYHnMvVa3AvdJgH0Y=", + "dev": true + }, + "babel-plugin-syntax-jsx": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz", + "integrity": "sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY=", + "dev": true + }, + "babel-plugin-syntax-object-rest-spread": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz", + "integrity": "sha1-/WU28rzhODb/o6VFjEkDpZe7O/U=", + "dev": true + }, + "babel-plugin-syntax-trailing-function-commas": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz", + "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM=", + "dev": true + }, + "babel-plugin-transform-async-generator-functions": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-generator-functions/-/babel-plugin-transform-async-generator-functions-6.24.1.tgz", + "integrity": "sha1-8FiQAUX9PpkHpt3yjaWfIVJYpds=", + "dev": true, + "requires": { + "babel-helper-remap-async-to-generator": "6.24.1", + "babel-plugin-syntax-async-generators": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz", + "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=", + "dev": true, + "requires": { + "babel-helper-remap-async-to-generator": "6.24.1", + "babel-plugin-syntax-async-functions": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-class-constructor-call": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-constructor-call/-/babel-plugin-transform-class-constructor-call-6.24.1.tgz", + "integrity": "sha1-gNwoVQWsBn3LjWxl4vbxGrd2Xvk=", + "dev": true, + "requires": { + "babel-plugin-syntax-class-constructor-call": "6.18.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-class-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz", + "integrity": "sha1-anl2PqYdM9NvN7YRqp3vgagbRqw=", + "dev": true, + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-plugin-syntax-class-properties": "6.13.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-decorators": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-decorators/-/babel-plugin-transform-decorators-6.24.1.tgz", + "integrity": "sha1-eIAT2PjGtSIr33s0Q5Df13Vp4k0=", + "dev": true, + "requires": { + "babel-helper-explode-class": "6.24.1", + "babel-plugin-syntax-decorators": "6.13.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-do-expressions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-do-expressions/-/babel-plugin-transform-do-expressions-6.22.0.tgz", + "integrity": "sha1-KMyvkoEtlJws0SgfaQyP3EaK6bs=", + "dev": true, + "requires": { + "babel-plugin-syntax-do-expressions": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-arrow-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", + "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-block-scoped-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", + "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-block-scoping": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz", + "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "lodash": "4.17.11" + } + }, + "babel-plugin-transform-es2015-classes": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz", + "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", + "dev": true, + "requires": { + "babel-helper-define-map": "6.26.0", + "babel-helper-function-name": "6.24.1", + "babel-helper-optimise-call-expression": "6.24.1", + "babel-helper-replace-supers": "6.24.1", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-computed-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz", + "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-es2015-destructuring": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", + "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-duplicate-keys": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz", + "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-for-of": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz", + "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz", + "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", + "dev": true, + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", + "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-amd": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz", + "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=", + "dev": true, + "requires": { + "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-commonjs": { + "version": "6.26.2", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz", + "integrity": "sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==", + "dev": true, + "requires": { + "babel-plugin-transform-strict-mode": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-systemjs": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz", + "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", + "dev": true, + "requires": { + "babel-helper-hoist-variables": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-umd": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz", + "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=", + "dev": true, + "requires": { + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-es2015-object-super": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz", + "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", + "dev": true, + "requires": { + "babel-helper-replace-supers": "6.24.1", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-parameters": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz", + "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", + "dev": true, + "requires": { + "babel-helper-call-delegate": "6.24.1", + "babel-helper-get-function-arity": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-shorthand-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz", + "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-spread": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", + "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-sticky-regex": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz", + "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=", + "dev": true, + "requires": { + "babel-helper-regex": "6.26.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-template-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", + "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-typeof-symbol": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz", + "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-unicode-regex": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz", + "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=", + "dev": true, + "requires": { + "babel-helper-regex": "6.26.0", + "babel-runtime": "6.26.0", + "regexpu-core": "2.0.0" + } + }, + "babel-plugin-transform-es3-member-expression-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es3-member-expression-literals/-/babel-plugin-transform-es3-member-expression-literals-6.22.0.tgz", + "integrity": "sha1-cz00RPPsxBvvjtGmpOCWV7iWnrs=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es3-property-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es3-property-literals/-/babel-plugin-transform-es3-property-literals-6.22.0.tgz", + "integrity": "sha1-sgeNWELiKr9A9z6M3pzTcRq9V1g=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es5-property-mutators": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es5-property-mutators/-/babel-plugin-transform-es5-property-mutators-6.24.1.tgz", + "integrity": "sha1-C5ok9OL/GMM2A9JKDUONyXk7ChM=", + "dev": true, + "requires": { + "babel-helper-define-map": "6.26.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-exponentiation-operator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz", + "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=", + "dev": true, + "requires": { + "babel-helper-builder-binary-assignment-operator-visitor": "6.24.1", + "babel-plugin-syntax-exponentiation-operator": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-export-extensions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-export-extensions/-/babel-plugin-transform-export-extensions-6.22.0.tgz", + "integrity": "sha1-U3OLR+deghhYnuqUbLvTkQm75lM=", + "dev": true, + "requires": { + "babel-plugin-syntax-export-extensions": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-flow-strip-types": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz", + "integrity": "sha1-hMtnKTXUNxT9wyvOhFaNh0Qc988=", + "dev": true, + "requires": { + "babel-plugin-syntax-flow": "6.18.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-function-bind": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-function-bind/-/babel-plugin-transform-function-bind-6.22.0.tgz", + "integrity": "sha1-xvuOlqwpajELjPjqQBRiQH3fapc=", + "dev": true, + "requires": { + "babel-plugin-syntax-function-bind": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-jscript": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-jscript/-/babel-plugin-transform-jscript-6.22.0.tgz", + "integrity": "sha1-borxK3q6SeCoCRUmFqwFaQszUtw=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-object-rest-spread": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz", + "integrity": "sha1-DzZpLVD+9rfi1LOsFHgTepY7ewY=", + "dev": true, + "requires": { + "babel-plugin-syntax-object-rest-spread": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-react-display-name": { + "version": "6.25.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-display-name/-/babel-plugin-transform-react-display-name-6.25.0.tgz", + "integrity": "sha1-Z+K/Hx6ck6sI25Z5LgU5K/LMKNE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-react-jsx": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx/-/babel-plugin-transform-react-jsx-6.24.1.tgz", + "integrity": "sha1-hAoCjn30YN/DotKfDA2R9jduZqM=", + "dev": true, + "requires": { + "babel-helper-builder-react-jsx": "6.26.0", + "babel-plugin-syntax-jsx": "6.18.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-react-jsx-self": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx-self/-/babel-plugin-transform-react-jsx-self-6.22.0.tgz", + "integrity": "sha1-322AqdomEqEh5t3XVYvL7PBuY24=", + "dev": true, + "requires": { + "babel-plugin-syntax-jsx": "6.18.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-react-jsx-source": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx-source/-/babel-plugin-transform-react-jsx-source-6.22.0.tgz", + "integrity": "sha1-ZqwSFT9c0tF7PBkmj0vwGX9E7NY=", + "dev": true, + "requires": { + "babel-plugin-syntax-jsx": "6.18.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-react-remove-prop-types": { + "version": "0.4.19", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.19.tgz", + "integrity": "sha512-f49NsaohQ1ByY20nUrpc30QFdbeT4ntV4PAL2vSZe6uCB5nqAcqXS/qzU+aI6ZfYhWASx5eIsTFvFrs1B2ffGg==", + "dev": true + }, + "babel-plugin-transform-regenerator": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz", + "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=", + "dev": true, + "requires": { + "regenerator-transform": "0.10.1" + } + }, + "babel-plugin-transform-strict-mode": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz", + "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-polyfill": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz", + "integrity": "sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "core-js": "2.5.7", + "regenerator-runtime": "0.10.5" + }, + "dependencies": { + "regenerator-runtime": { + "version": "0.10.5", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", + "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=", + "dev": true + } + } + }, + "babel-preset-airbnb": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/babel-preset-airbnb/-/babel-preset-airbnb-2.6.0.tgz", + "integrity": "sha512-0VrYWk6ntS/wzjgVPdEqAX8y0GJ2JLV44QxyiP4J7C2V4BcZAfbMvh292I4C3myKkLmWzjvgAuj+s3kQ6yAUvg==", + "dev": true, + "requires": { + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", + "babel-plugin-transform-es2015-template-literals": "6.22.0", + "babel-plugin-transform-es3-member-expression-literals": "6.22.0", + "babel-plugin-transform-es3-property-literals": "6.22.0", + "babel-plugin-transform-es5-property-mutators": "6.24.1", + "babel-plugin-transform-exponentiation-operator": "6.24.1", + "babel-plugin-transform-jscript": "6.22.0", + "babel-plugin-transform-object-rest-spread": "6.26.0", + "babel-plugin-transform-react-remove-prop-types": "0.4.19", + "babel-plugin-transform-strict-mode": "6.24.1", + "babel-preset-env": "1.7.0", + "babel-preset-react": "6.24.1", + "object.assign": "4.1.0" + }, + "dependencies": { + "babel-preset-env": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.7.0.tgz", + "integrity": "sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==", + "dev": true, + "requires": { + "babel-plugin-check-es2015-constants": "6.22.0", + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-async-to-generator": "6.24.1", + "babel-plugin-transform-es2015-arrow-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoping": "6.26.0", + "babel-plugin-transform-es2015-classes": "6.24.1", + "babel-plugin-transform-es2015-computed-properties": "6.24.1", + "babel-plugin-transform-es2015-destructuring": "6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "6.24.1", + "babel-plugin-transform-es2015-for-of": "6.23.0", + "babel-plugin-transform-es2015-function-name": "6.24.1", + "babel-plugin-transform-es2015-literals": "6.22.0", + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", + "babel-plugin-transform-es2015-modules-systemjs": "6.24.1", + "babel-plugin-transform-es2015-modules-umd": "6.24.1", + "babel-plugin-transform-es2015-object-super": "6.24.1", + "babel-plugin-transform-es2015-parameters": "6.24.1", + "babel-plugin-transform-es2015-shorthand-properties": "6.24.1", + "babel-plugin-transform-es2015-spread": "6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "6.24.1", + "babel-plugin-transform-es2015-template-literals": "6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "6.24.1", + "babel-plugin-transform-exponentiation-operator": "6.24.1", + "babel-plugin-transform-regenerator": "6.26.0", + "browserslist": "3.2.8", + "invariant": "2.2.4", + "semver": "5.5.1" + } + } + } + }, + "babel-preset-env": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.7.0.tgz", + "integrity": "sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==", + "dev": true, + "requires": { + "babel-plugin-check-es2015-constants": "6.22.0", + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-async-to-generator": "6.24.1", + "babel-plugin-transform-es2015-arrow-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoping": "6.26.0", + "babel-plugin-transform-es2015-classes": "6.24.1", + "babel-plugin-transform-es2015-computed-properties": "6.24.1", + "babel-plugin-transform-es2015-destructuring": "6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "6.24.1", + "babel-plugin-transform-es2015-for-of": "6.23.0", + "babel-plugin-transform-es2015-function-name": "6.24.1", + "babel-plugin-transform-es2015-literals": "6.22.0", + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", + "babel-plugin-transform-es2015-modules-systemjs": "6.24.1", + "babel-plugin-transform-es2015-modules-umd": "6.24.1", + "babel-plugin-transform-es2015-object-super": "6.24.1", + "babel-plugin-transform-es2015-parameters": "6.24.1", + "babel-plugin-transform-es2015-shorthand-properties": "6.24.1", + "babel-plugin-transform-es2015-spread": "6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "6.24.1", + "babel-plugin-transform-es2015-template-literals": "6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "6.24.1", + "babel-plugin-transform-exponentiation-operator": "6.24.1", + "babel-plugin-transform-regenerator": "6.26.0", + "browserslist": "3.2.8", + "invariant": "2.2.4", + "semver": "5.5.1" + } + }, + "babel-preset-flow": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-preset-flow/-/babel-preset-flow-6.23.0.tgz", + "integrity": "sha1-5xIYiHCFrpoktb5Baa/7WZgWxJ0=", + "dev": true, + "requires": { + "babel-plugin-transform-flow-strip-types": "6.22.0" + } + }, + "babel-preset-react": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-react/-/babel-preset-react-6.24.1.tgz", + "integrity": "sha1-umnfrqRfw+xjm2pOzqbhdwLJE4A=", + "dev": true, + "requires": { + "babel-plugin-syntax-jsx": "6.18.0", + "babel-plugin-transform-react-display-name": "6.25.0", + "babel-plugin-transform-react-jsx": "6.24.1", + "babel-plugin-transform-react-jsx-self": "6.22.0", + "babel-plugin-transform-react-jsx-source": "6.22.0", + "babel-preset-flow": "6.23.0" + } + }, + "babel-preset-stage-0": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-stage-0/-/babel-preset-stage-0-6.24.1.tgz", + "integrity": "sha1-VkLRUEL5E4TX5a+LyIsduVsDnmo=", + "dev": true, + "requires": { + "babel-plugin-transform-do-expressions": "6.22.0", + "babel-plugin-transform-function-bind": "6.22.0", + "babel-preset-stage-1": "6.24.1" + } + }, + "babel-preset-stage-1": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-stage-1/-/babel-preset-stage-1-6.24.1.tgz", + "integrity": "sha1-dpLNfc1oSZB+auSgqFWJz7niv7A=", + "dev": true, + "requires": { + "babel-plugin-transform-class-constructor-call": "6.24.1", + "babel-plugin-transform-export-extensions": "6.22.0", + "babel-preset-stage-2": "6.24.1" + } + }, + "babel-preset-stage-2": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-stage-2/-/babel-preset-stage-2-6.24.1.tgz", + "integrity": "sha1-2eKWD7PXEYfw5k7sYrwHdnIZvcE=", + "dev": true, + "requires": { + "babel-plugin-syntax-dynamic-import": "6.18.0", + "babel-plugin-transform-class-properties": "6.24.1", + "babel-plugin-transform-decorators": "6.24.1", + "babel-preset-stage-3": "6.24.1" + } + }, + "babel-preset-stage-3": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-stage-3/-/babel-preset-stage-3-6.24.1.tgz", + "integrity": "sha1-g2raCp56f6N8sTj7kyb4eTSkg5U=", + "dev": true, + "requires": { + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-async-generator-functions": "6.24.1", + "babel-plugin-transform-async-to-generator": "6.24.1", + "babel-plugin-transform-exponentiation-operator": "6.24.1", + "babel-plugin-transform-object-rest-spread": "6.26.0" + } + }, + "babel-register": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", + "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", + "dev": true, + "requires": { + "babel-core": "6.26.3", + "babel-runtime": "6.26.0", + "core-js": "2.5.7", + "home-or-tmp": "2.0.0", + "lodash": "4.17.11", + "mkdirp": "0.5.1", + "source-map-support": "0.4.18" + } + }, + "babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "requires": { + "core-js": "2.5.7", + "regenerator-runtime": "0.11.1" + } + }, + "babel-template": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", + "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "lodash": "4.17.11" + } + }, + "babel-traverse": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", + "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "dev": true, + "requires": { + "babel-code-frame": "6.26.0", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "debug": "2.6.9", + "globals": "9.18.0", + "invariant": "2.2.4", + "lodash": "4.17.11" + } + }, + "babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "esutils": "2.0.2", + "lodash": "4.17.11", + "to-fast-properties": "1.0.3" + } + }, + "babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", + "dev": true + }, + "backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=", + "dev": true + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "requires": { + "cache-base": "1.0.1", + "class-utils": "0.3.6", + "component-emitter": "1.2.1", + "define-property": "1.0.0", + "isobject": "3.0.1", + "mixin-deep": "1.3.1", + "pascalcase": "0.1.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "1.0.2" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "base64-arraybuffer": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz", + "integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg=", + "dev": true + }, + "base64-js": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.0.tgz", + "integrity": "sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==", + "dev": true + }, + "base64id": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/base64id/-/base64id-1.0.0.tgz", + "integrity": "sha1-R2iMuZu2gE8OBtPnY7HDLlfY5rY=", + "dev": true + }, + "batch": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", + "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=", + "dev": true + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, + "requires": { + "tweetnacl": "0.14.5" + } + }, + "better-assert": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/better-assert/-/better-assert-1.0.2.tgz", + "integrity": "sha1-QIZrnhueC1W0gYlDEeaPr/rrxSI=", + "dev": true, + "requires": { + "callsite": "1.0.0" + } + }, + "big.js": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz", + "integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==", + "dev": true + }, + "binary-extensions": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.12.0.tgz", + "integrity": "sha512-DYWGk01lDcxeS/K9IHPGWfT8PsJmbXRtRd2Sx72Tnb8pcYZQFF1oSDb8hJtS1vhp212q1Rzi5dUf9+nq0o9UIg==", + "dev": true + }, + "bl": { + "version": "0.9.5", + "resolved": "http://registry.npmjs.org/bl/-/bl-0.9.5.tgz", + "integrity": "sha1-wGt5evCF6gC8Unr8jvzxHeIjIFQ=", + "dev": true, + "requires": { + "readable-stream": "1.0.34" + } + }, + "blob": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/blob/-/blob-0.0.4.tgz", + "integrity": "sha1-vPEwUspURj8w+fx+lbmkdjCpSSE=", + "dev": true + }, + "block-stream": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", + "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", + "dev": true, + "requires": { + "inherits": "2.0.3" + } + }, + "bluebird": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.2.tgz", + "integrity": "sha512-dhHTWMI7kMx5whMQntl7Vr9C6BvV10lFXDAasnqnrMYhXVCzzk6IO9Fo2L75jXHT07WrOngL1WDXOp+yYS91Yg==", + "dev": true + }, + "body-parser": { + "version": "1.18.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.2.tgz", + "integrity": "sha1-h2eKGdhLR9hZuDGZvVm84iKxBFQ=", + "dev": true, + "requires": { + "bytes": "3.0.0", + "content-type": "1.0.4", + "debug": "2.6.9", + "depd": "1.1.2", + "http-errors": "1.6.3", + "iconv-lite": "0.4.19", + "on-finished": "2.3.0", + "qs": "6.5.1", + "raw-body": "2.3.2", + "type-is": "1.6.16" + }, + "dependencies": { + "iconv-lite": { + "version": "0.4.19", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz", + "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==", + "dev": true + }, + "qs": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz", + "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==", + "dev": true + } + } + }, + "boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", + "dev": true + }, + "boom": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/boom/-/boom-0.4.2.tgz", + "integrity": "sha1-emNune1O/O+xnO9JR6PGffrukRs=", + "dev": true, + "requires": { + "hoek": "0.9.1" + } + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "1.8.5", + "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", + "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", + "dev": true, + "requires": { + "expand-range": "1.8.2", + "preserve": "0.2.0", + "repeat-element": "1.1.3" + } + }, + "browser-stdout": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.0.tgz", + "integrity": "sha1-81HTKWnTL6XXpVZxVCY9korjvR8=", + "dev": true + }, + "browserify-aes": { + "version": "0.4.0", + "resolved": "http://registry.npmjs.org/browserify-aes/-/browserify-aes-0.4.0.tgz", + "integrity": "sha1-BnFJtmjfMcS1hTPgLQHoBthgjiw=", + "dev": true, + "requires": { + "inherits": "2.0.3" + } + }, + "browserify-zlib": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.1.4.tgz", + "integrity": "sha1-uzX4pRn2AOD6a4SFJByXnQFB+y0=", + "dev": true, + "requires": { + "pako": "0.2.9" + } + }, + "browserslist": { + "version": "3.2.8", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz", + "integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==", + "dev": true, + "requires": { + "caniuse-lite": "1.0.30000885", + "electron-to-chromium": "1.3.67" + } + }, + "buffer": { + "version": "4.9.1", + "resolved": "http://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", + "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", + "dev": true, + "requires": { + "base64-js": "1.3.0", + "ieee754": "1.1.12", + "isarray": "1.0.0" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + } + } + }, + "buffer-alloc": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz", + "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==", + "dev": true, + "requires": { + "buffer-alloc-unsafe": "1.1.0", + "buffer-fill": "1.0.0" + } + }, + "buffer-alloc-unsafe": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz", + "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==", + "dev": true + }, + "buffer-fill": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz", + "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=", + "dev": true + }, + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "dev": true + }, + "builtin-modules": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", + "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", + "dev": true + }, + "builtin-status-codes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", + "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", + "dev": true + }, + "bytes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", + "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=", + "dev": true + }, + "cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "requires": { + "collection-visit": "1.0.0", + "component-emitter": "1.2.1", + "get-value": "2.0.6", + "has-value": "1.0.0", + "isobject": "3.0.1", + "set-value": "2.0.0", + "to-object-path": "0.3.0", + "union-value": "1.0.0", + "unset-value": "1.0.0" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "caller-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz", + "integrity": "sha1-lAhe9jWB7NPaqSREqP6U6CV3dR8=", + "dev": true, + "requires": { + "callsites": "0.2.0" + } + }, + "callsite": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz", + "integrity": "sha1-KAOY5dZkvXQDi28JBRU+borxvCA=", + "dev": true + }, + "callsites": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz", + "integrity": "sha1-r6uWJikQp/M8GaV3WCXGnzTjUMo=", + "dev": true + }, + "camelcase": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", + "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", + "dev": true + }, + "camelcase-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "dev": true, + "requires": { + "camelcase": "2.1.1", + "map-obj": "1.0.1" + } + }, + "caniuse-api": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-1.6.1.tgz", + "integrity": "sha1-tTTnxzTE+B7F++isoq0kNUuWLGw=", + "dev": true, + "requires": { + "browserslist": "1.7.7", + "caniuse-db": "1.0.30000890", + "lodash.memoize": "4.1.2", + "lodash.uniq": "4.5.0" + }, + "dependencies": { + "browserslist": { + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz", + "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", + "dev": true, + "requires": { + "caniuse-db": "1.0.30000890", + "electron-to-chromium": "1.3.67" + } + } + } + }, + "caniuse-db": { + "version": "1.0.30000890", + "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000890.tgz", + "integrity": "sha512-aO5uw1Taw8GkNMMXIWOz/WJz3y6tR1ETUAdH/pvO5EoJ3I1Po9vNJd9aMjY1GKucS/OXWMiQbXRbk3O1sgCbRA==", + "dev": true + }, + "caniuse-lite": { + "version": "1.0.30000885", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000885.tgz", + "integrity": "sha512-cXKbYwpxBLd7qHyej16JazPoUacqoVuDhvR61U7Fr5vSxMUiodzcYa1rQYRYfZ5GexV03vGZHd722vNPLjPJGQ==", + "dev": true + }, + "caseless": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.6.0.tgz", + "integrity": "sha1-gWfBq4OX+1u5X5bSjlqBxQ8kesQ=", + "dev": true + }, + "center-align": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", + "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", + "dev": true, + "requires": { + "align-text": "0.1.4", + "lazy-cache": "1.0.4" + } + }, + "chai": { + "version": "3.5.0", + "resolved": "http://registry.npmjs.org/chai/-/chai-3.5.0.tgz", + "integrity": "sha1-TQJjewZ/6Vi9v906QOxW/vc3Mkc=", + "dev": true, + "requires": { + "assertion-error": "1.1.0", + "deep-eql": "0.1.3", + "type-detect": "1.0.0" + } + }, + "chalk": { + "version": "1.1.3", + "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" + } + }, + "chardet": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", + "integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I=", + "dev": true + }, + "cheerio": { + "version": "1.0.0-rc.2", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz", + "integrity": "sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=", + "dev": true, + "requires": { + "css-select": "1.2.0", + "dom-serializer": "0.1.0", + "entities": "1.1.2", + "htmlparser2": "3.10.0", + "lodash": "4.17.11", + "parse5": "3.0.3" + } + }, + "chokidar": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz", + "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", + "dev": true, + "requires": { + "anymatch": "1.3.2", + "async-each": "1.0.1", + "fsevents": "1.2.4", + "glob-parent": "2.0.0", + "inherits": "2.0.3", + "is-binary-path": "1.0.1", + "is-glob": "2.0.1", + "path-is-absolute": "1.0.1", + "readdirp": "2.2.1" + } + }, + "ci-info": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.5.1.tgz", + "integrity": "sha512-fKFIKXaYiL1exImwJ0AhR/6jxFPSKQBk2ayV5NiNoruUs2+rxC2kNw0EG+1Z9dugZRdCrppskQ8DN2cyaUM1Hw==", + "dev": true + }, + "circular-json": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz", + "integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==", + "dev": true + }, + "clap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/clap/-/clap-1.2.3.tgz", + "integrity": "sha512-4CoL/A3hf90V3VIEjeuhSvlGFEHKzOz+Wfc2IVZc+FaUgU0ZQafJTP49fvnULipOPcAfqhyI2duwQyns6xqjYA==", + "dev": true, + "requires": { + "chalk": "1.1.3" + } + }, + "class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "requires": { + "arr-union": "3.1.0", + "define-property": "0.2.5", + "isobject": "3.0.1", + "static-extend": "0.1.2" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "classnames": { + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz", + "integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==" + }, + "cli-cursor": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", + "dev": true, + "requires": { + "restore-cursor": "2.0.0" + } + }, + "cli-spinners": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-0.1.2.tgz", + "integrity": "sha1-u3ZNiOGF+54eaiofGXcjGPYF4xw=", + "dev": true + }, + "cli-truncate": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.2.1.tgz", + "integrity": "sha1-nxXPuwcFAFNpIWxiasfQWrkN1XQ=", + "dev": true, + "requires": { + "slice-ansi": "0.0.4", + "string-width": "1.0.2" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "slice-ansi": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", + "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=", + "dev": true + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + } + } + }, + "cli-width": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", + "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", + "dev": true + }, + "cliui": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", + "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", + "dev": true, + "requires": { + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wrap-ansi": "2.1.0" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + } + } + }, + "clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", + "dev": true + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", + "dev": true + }, + "coa": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/coa/-/coa-1.0.4.tgz", + "integrity": "sha1-qe8VNmDWqGqL3sAomlxoTSF0Mv0=", + "dev": true, + "requires": { + "q": "1.5.1" + } + }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true + }, + "codecov.io": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/codecov.io/-/codecov.io-0.1.6.tgz", + "integrity": "sha1-Wd/QLaH/McL7K5Uq2K0W/TeBtyg=", + "dev": true, + "requires": { + "request": "2.42.0", + "urlgrey": "0.4.0" + } + }, + "collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "dev": true, + "requires": { + "map-visit": "1.0.0", + "object-visit": "1.0.1" + } + }, + "color": { + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/color/-/color-0.11.4.tgz", + "integrity": "sha1-bXtcdPtl6EHNSHkq0e1eB7kE12Q=", + "dev": true, + "requires": { + "clone": "1.0.4", + "color-convert": "1.9.3", + "color-string": "0.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "color-string": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-0.3.0.tgz", + "integrity": "sha1-J9RvtnAlxcL6JZk7+/V55HhBuZE=", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "colormin": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/colormin/-/colormin-1.1.2.tgz", + "integrity": "sha1-6i90IKcrlogaOKrlnsEkpvcpgTM=", + "dev": true, + "requires": { + "color": "0.11.4", + "css-color-names": "0.0.4", + "has": "1.0.3" + } + }, + "colors": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz", + "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=", + "dev": true + }, + "combine-lists": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/combine-lists/-/combine-lists-1.0.1.tgz", + "integrity": "sha1-RYwH4J4NkA/Ci3Cj/sLazR0st/Y=", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + }, + "combined-stream": { + "version": "0.0.7", + "resolved": "http://registry.npmjs.org/combined-stream/-/combined-stream-0.0.7.tgz", + "integrity": "sha1-ATfmV7qlp1QcV6w3rF/AfXO03B8=", + "dev": true, + "optional": true, + "requires": { + "delayed-stream": "0.0.5" + } + }, + "commander": { + "version": "2.17.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz", + "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==", + "dev": true + }, + "commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, + "component-bind": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/component-bind/-/component-bind-1.0.0.tgz", + "integrity": "sha1-AMYIq33Nk4l8AAllGx06jh5zu9E=", + "dev": true + }, + "component-emitter": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz", + "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=", + "dev": true + }, + "component-inherit": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/component-inherit/-/component-inherit-0.0.3.tgz", + "integrity": "sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM=", + "dev": true + }, + "compressible": { + "version": "2.0.15", + "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.15.tgz", + "integrity": "sha512-4aE67DL33dSW9gw4CI2H/yTxqHLNcxp0yS6jB+4h+wr3e43+1z7vm0HU9qXOH8j+qjKuL8+UtkOxYQSMq60Ylw==", + "dev": true, + "requires": { + "mime-db": "1.36.0" + } + }, + "compression": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.3.tgz", + "integrity": "sha512-HSjyBG5N1Nnz7tF2+O7A9XUhyjru71/fwgNb7oIsEVHR0WShfs2tIS/EySLgiTe98aOK18YDlMXpzjCXY/n9mg==", + "dev": true, + "requires": { + "accepts": "1.3.5", + "bytes": "3.0.0", + "compressible": "2.0.15", + "debug": "2.6.9", + "on-headers": "1.0.1", + "safe-buffer": "5.1.2", + "vary": "1.1.2" + } + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "dev": true, + "requires": { + "buffer-from": "1.1.1", + "inherits": "2.0.3", + "readable-stream": "2.3.6", + "typedarray": "0.0.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "connect": { + "version": "3.6.6", + "resolved": "https://registry.npmjs.org/connect/-/connect-3.6.6.tgz", + "integrity": "sha1-Ce/2xVr3I24TcTWnJXSFi2eG9SQ=", + "dev": true, + "requires": { + "debug": "2.6.9", + "finalhandler": "1.1.0", + "parseurl": "1.3.2", + "utils-merge": "1.0.1" + }, + "dependencies": { + "finalhandler": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.0.tgz", + "integrity": "sha1-zgtoVbRYU+eRsvzGgARtiCU91/U=", + "dev": true, + "requires": { + "debug": "2.6.9", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "on-finished": "2.3.0", + "parseurl": "1.3.2", + "statuses": "1.3.1", + "unpipe": "1.0.0" + } + }, + "statuses": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", + "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=", + "dev": true + } + } + }, + "connect-history-api-fallback": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz", + "integrity": "sha1-sGhzk0vF40T+9hGhlqb6rgruAVo=", + "dev": true + }, + "console-browserify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz", + "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=", + "dev": true, + "requires": { + "date-now": "0.1.4" + } + }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true + }, + "constants-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", + "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", + "dev": true + }, + "contains-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", + "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", + "dev": true + }, + "content-disposition": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz", + "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ=", + "dev": true + }, + "content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "dev": true + }, + "convert-source-map": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz", + "integrity": "sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + }, + "cookie": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", + "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=", + "dev": true + }, + "cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", + "dev": true + }, + "copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", + "dev": true + }, + "core-js": { + "version": "2.5.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz", + "integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw==" + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true + }, + "cosmiconfig": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-4.0.0.tgz", + "integrity": "sha512-6e5vDdrXZD+t5v0L8CrurPeybg4Fmf+FCSYxXKYVAqLUtyCSbuyqE059d0kDthTNRzKVjL7QMgNpEUlsoYH3iQ==", + "dev": true, + "requires": { + "is-directory": "0.3.1", + "js-yaml": "3.12.0", + "parse-json": "4.0.0", + "require-from-string": "2.0.2" + }, + "dependencies": { + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, + "js-yaml": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz", + "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==", + "dev": true, + "requires": { + "argparse": "1.0.10", + "esprima": "4.0.1" + } + }, + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "requires": { + "error-ex": "1.3.2", + "json-parse-better-errors": "1.0.2" + } + } + } + }, + "create-react-context": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/create-react-context/-/create-react-context-0.2.3.tgz", + "integrity": "sha512-CQBmD0+QGgTaxDL3OX1IDXYqjkp2It4RIbcb99jS6AEg27Ga+a9G3JtK6SIu0HBwPLZlmwt9F7UwWA4Bn92Rag==", + "requires": { + "fbjs": "0.8.17", + "gud": "1.0.0" + } + }, + "cross-env": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-5.2.0.tgz", + "integrity": "sha512-jtdNFfFW1hB7sMhr/H6rW1Z45LFqyI431m3qU6bFXcQ3Eh7LtBuG3h74o7ohHZ3crrRkkqHlo4jYHFPcjroANg==", + "dev": true, + "requires": { + "cross-spawn": "6.0.5", + "is-windows": "1.0.2" + } + }, + "cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "dev": true, + "requires": { + "nice-try": "1.0.4", + "path-key": "2.0.1", + "semver": "5.5.1", + "shebang-command": "1.2.0", + "which": "1.3.1" + } + }, + "cryptiles": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-0.2.2.tgz", + "integrity": "sha1-7ZH/HxetE9N0gohZT4pIoNJvMlw=", + "dev": true, + "optional": true, + "requires": { + "boom": "0.4.2" + } + }, + "crypto-browserify": { + "version": "3.3.0", + "resolved": "http://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.3.0.tgz", + "integrity": "sha1-ufx1u0oO1h3PHNXa6W6zDJw+UGw=", + "dev": true, + "requires": { + "browserify-aes": "0.4.0", + "pbkdf2-compat": "2.0.1", + "ripemd160": "0.2.0", + "sha.js": "2.2.6" + } + }, + "css-color-names": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz", + "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=", + "dev": true + }, + "css-loader": { + "version": "0.28.11", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-0.28.11.tgz", + "integrity": "sha512-wovHgjAx8ZIMGSL8pTys7edA1ClmzxHeY6n/d97gg5odgsxEgKjULPR0viqyC+FWMCL9sfqoC/QCUBo62tLvPg==", + "dev": true, + "requires": { + "babel-code-frame": "6.26.0", + "css-selector-tokenizer": "0.7.0", + "cssnano": "3.10.0", + "icss-utils": "2.1.0", + "loader-utils": "1.1.0", + "lodash.camelcase": "4.3.0", + "object-assign": "4.1.1", + "postcss": "5.2.18", + "postcss-modules-extract-imports": "1.2.0", + "postcss-modules-local-by-default": "1.2.0", + "postcss-modules-scope": "1.1.0", + "postcss-modules-values": "1.3.0", + "postcss-value-parser": "3.3.0", + "source-list-map": "2.0.0" + }, + "dependencies": { + "loader-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", + "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", + "dev": true, + "requires": { + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1" + } + } + } + }, + "css-select": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", + "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", + "dev": true, + "requires": { + "boolbase": "1.0.0", + "css-what": "2.1.2", + "domutils": "1.5.1", + "nth-check": "1.0.2" + } + }, + "css-selector-tokenizer": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.7.0.tgz", + "integrity": "sha1-5piEdK6MlTR3v15+/s/OzNnPTIY=", + "dev": true, + "requires": { + "cssesc": "0.1.0", + "fastparse": "1.1.1", + "regexpu-core": "1.0.0" + }, + "dependencies": { + "regexpu-core": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-1.0.0.tgz", + "integrity": "sha1-hqdj9Y7k18L2sQLkdkBQ3n7ZDGs=", + "dev": true, + "requires": { + "regenerate": "1.4.0", + "regjsgen": "0.2.0", + "regjsparser": "0.1.5" + } + } + } + }, + "css-what": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.2.tgz", + "integrity": "sha512-wan8dMWQ0GUeF7DGEPVjhHemVW/vy6xUYmFzRY8RYqgA0JtXC9rJmbScBjqSu6dg9q0lwPQy6ZAmJVr3PPTvqQ==", + "dev": true + }, + "cssesc": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-0.1.0.tgz", + "integrity": "sha1-yBSQPkViM3GgR3tAEJqq++6t27Q=", + "dev": true + }, + "cssnano": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-3.10.0.tgz", + "integrity": "sha1-Tzj2zqK5sX+gFJDyPx3GjqZcHDg=", + "dev": true, + "requires": { + "autoprefixer": "6.7.7", + "decamelize": "1.2.0", + "defined": "1.0.0", + "has": "1.0.3", + "object-assign": "4.1.1", + "postcss": "5.2.18", + "postcss-calc": "5.3.1", + "postcss-colormin": "2.2.2", + "postcss-convert-values": "2.6.1", + "postcss-discard-comments": "2.0.4", + "postcss-discard-duplicates": "2.1.0", + "postcss-discard-empty": "2.1.0", + "postcss-discard-overridden": "0.1.1", + "postcss-discard-unused": "2.2.3", + "postcss-filter-plugins": "2.0.2", + "postcss-merge-idents": "2.1.7", + "postcss-merge-longhand": "2.0.2", + "postcss-merge-rules": "2.1.2", + "postcss-minify-font-values": "1.0.5", + "postcss-minify-gradients": "1.0.5", + "postcss-minify-params": "1.2.2", + "postcss-minify-selectors": "2.1.1", + "postcss-normalize-charset": "1.1.1", + "postcss-normalize-url": "3.0.8", + "postcss-ordered-values": "2.2.3", + "postcss-reduce-idents": "2.4.0", + "postcss-reduce-initial": "1.0.1", + "postcss-reduce-transforms": "1.0.4", + "postcss-svgo": "2.1.6", + "postcss-unique-selectors": "2.0.2", + "postcss-value-parser": "3.3.0", + "postcss-zindex": "2.2.0" + }, + "dependencies": { + "defined": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", + "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=", + "dev": true + } + } + }, + "csso": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/csso/-/csso-2.3.2.tgz", + "integrity": "sha1-3dUsWHAz9J6Utx/FVWnyUuj/X4U=", + "dev": true, + "requires": { + "clap": "1.2.3", + "source-map": "0.5.7" + } + }, + "ctype": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/ctype/-/ctype-0.5.3.tgz", + "integrity": "sha1-gsGMJGH3QRTvFsE1IkrQuRRMoS8=", + "dev": true, + "optional": true + }, + "currently-unhandled": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", + "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", + "dev": true, + "requires": { + "array-find-index": "1.0.2" + } + }, + "custom-event": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/custom-event/-/custom-event-1.0.1.tgz", + "integrity": "sha1-XQKkaFCt8bSjF5RqOSj8y1v9BCU=", + "dev": true + }, + "d": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz", + "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=", + "dev": true, + "requires": { + "es5-ext": "0.10.46" + } + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, + "requires": { + "assert-plus": "1.0.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + } + } + }, + "date-fns": { + "version": "2.0.0-alpha.23", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.0.0-alpha.23.tgz", + "integrity": "sha512-KeTgG5mbk+o9UbMXqxOvW+G46mWOWqJdjQDOP8t82E6Q28oH2ObcBvdRQbNFR55cun4QUg359PeE/KDBWJlk9g==" + }, + "date-now": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", + "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=", + "dev": true + }, + "dateformat": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-1.0.12.tgz", + "integrity": "sha1-nxJLZ1lMk3/3BpMuSmQsyo27/uk=", + "dev": true, + "requires": { + "get-stdin": "4.0.1", + "meow": "3.7.0" + } + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true + }, + "decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "dev": true + }, + "dedent": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", + "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", + "dev": true + }, + "deep-eql": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-0.1.3.tgz", + "integrity": "sha1-71WKyrjeJSBs1xOQbXTlaTDrafI=", + "dev": true, + "requires": { + "type-detect": "0.1.1" + }, + "dependencies": { + "type-detect": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-0.1.1.tgz", + "integrity": "sha1-C6XsKohWQORw6k6FBZcZANrFiCI=", + "dev": true + } + } + }, + "deep-equal": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-0.1.2.tgz", + "integrity": "sha1-skbCuApXCkfBG+HZvRBw7IeLh84=", + "dev": true + }, + "deep-is": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", + "dev": true + }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "requires": { + "object-keys": "1.0.12" + } + }, + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "1.0.2", + "isobject": "3.0.1" + }, + "dependencies": { + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "defined": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/defined/-/defined-0.0.0.tgz", + "integrity": "sha1-817qfXBekzuvE7LwOz+D2SFAOz4=", + "dev": true + }, + "del": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz", + "integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=", + "dev": true, + "requires": { + "globby": "5.0.0", + "is-path-cwd": "1.0.0", + "is-path-in-cwd": "1.0.1", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "rimraf": "2.6.2" + } + }, + "delayed-stream": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz", + "integrity": "sha1-1LH0OpPoKW3+AmlPRoC8N6MTxz8=", + "dev": true, + "optional": true + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "dev": true + }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=", + "dev": true + }, + "detect-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", + "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", + "dev": true, + "requires": { + "repeating": "2.0.1" + } + }, + "di": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/di/-/di-0.0.1.tgz", + "integrity": "sha1-gGZJMmzqp8qjMG112YXqJ0i6kTw=", + "dev": true + }, + "diff": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.3.1.tgz", + "integrity": "sha512-MKPHZDMB0o6yHyDryUOScqZibp914ksXwAMYMTHj6KO8UeKsRYNJD3oNCKjTqZon+V488P7N/HzXF8t7ZR95ww==", + "dev": true + }, + "discontinuous-range": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/discontinuous-range/-/discontinuous-range-1.0.0.tgz", + "integrity": "sha1-44Mx8IRLukm5qctxx3FYWqsbxlo=", + "dev": true + }, + "doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "requires": { + "esutils": "2.0.2" + } + }, + "dom-serialize": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/dom-serialize/-/dom-serialize-2.2.1.tgz", + "integrity": "sha1-ViromZ9Evl6jB29UGdzVnrQ6yVs=", + "dev": true, + "requires": { + "custom-event": "1.0.1", + "ent": "2.2.0", + "extend": "3.0.2", + "void-elements": "2.0.1" + } + }, + "dom-serializer": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz", + "integrity": "sha1-BzxpdUbOB4DOI75KKOKT5AvDDII=", + "dev": true, + "requires": { + "domelementtype": "1.1.3", + "entities": "1.1.2" + }, + "dependencies": { + "domelementtype": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz", + "integrity": "sha1-vSh3PiZCiBrsUVRJJCmcXNgiGFs=", + "dev": true + } + } + }, + "dom-walk": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.1.tgz", + "integrity": "sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg=", + "dev": true + }, + "domain-browser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", + "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", + "dev": true + }, + "domelementtype": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.2.1.tgz", + "integrity": "sha512-SQVCLFS2E7G5CRCMdn6K9bIhRj1bS6QBWZfF0TUPh4V/BbqrQ619IdSS3/izn0FZ+9l+uODzaZjb08fjOfablA==", + "dev": true + }, + "domhandler": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", + "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", + "dev": true, + "requires": { + "domelementtype": "1.2.1" + } + }, + "domutils": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", + "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", + "dev": true, + "requires": { + "dom-serializer": "0.1.0", + "domelementtype": "1.2.1" + } + }, + "duplexer": { + "version": "0.1.1", + "resolved": "http://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", + "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=", + "dev": true + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, + "requires": { + "jsbn": "0.1.1", + "safer-buffer": "2.1.2" + } + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", + "dev": true + }, + "electron-to-chromium": { + "version": "1.3.67", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.67.tgz", + "integrity": "sha512-h3zEBLdHvsKfaXv1SHAtykJyNtwYFEKkrWGSFyW1BzGgPQ4ykAzD5Hd8C5MZGTAEhkCKmtyIwYUrapsI0xfKww==", + "dev": true + }, + "elegant-spinner": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/elegant-spinner/-/elegant-spinner-1.0.1.tgz", + "integrity": "sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4=", + "dev": true + }, + "emojis-list": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz", + "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=", + "dev": true + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", + "dev": true + }, + "encoding": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", + "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", + "requires": { + "iconv-lite": "0.4.24" + } + }, + "engine.io": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-1.8.3.tgz", + "integrity": "sha1-jef5eJXSDTm4X4ju7nd7K9QrE9Q=", + "dev": true, + "requires": { + "accepts": "1.3.3", + "base64id": "1.0.0", + "cookie": "0.3.1", + "debug": "2.3.3", + "engine.io-parser": "1.3.2", + "ws": "1.1.2" + }, + "dependencies": { + "accepts": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.3.tgz", + "integrity": "sha1-w8p0NJOGSMPg2cHjKN1otiLChMo=", + "dev": true, + "requires": { + "mime-types": "2.1.20", + "negotiator": "0.6.1" + } + }, + "debug": { + "version": "2.3.3", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.3.3.tgz", + "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=", + "dev": true, + "requires": { + "ms": "0.7.2" + } + }, + "mime-types": { + "version": "2.1.20", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz", + "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==", + "dev": true, + "requires": { + "mime-db": "1.36.0" + } + }, + "ms": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", + "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "dev": true + } + } + }, + "engine.io-client": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-1.8.3.tgz", + "integrity": "sha1-F5jtk0USRkU9TG9jXXogH+lA1as=", + "dev": true, + "requires": { + "component-emitter": "1.2.1", + "component-inherit": "0.0.3", + "debug": "2.3.3", + "engine.io-parser": "1.3.2", + "has-cors": "1.1.0", + "indexof": "0.0.1", + "parsejson": "0.0.3", + "parseqs": "0.0.5", + "parseuri": "0.0.5", + "ws": "1.1.2", + "xmlhttprequest-ssl": "1.5.3", + "yeast": "0.1.2" + }, + "dependencies": { + "debug": { + "version": "2.3.3", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.3.3.tgz", + "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=", + "dev": true, + "requires": { + "ms": "0.7.2" + } + }, + "ms": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", + "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "dev": true + } + } + }, + "engine.io-parser": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-1.3.2.tgz", + "integrity": "sha1-k3sHnwAH0Ik+xW1GyyILjLQ1Igo=", + "dev": true, + "requires": { + "after": "0.8.2", + "arraybuffer.slice": "0.0.6", + "base64-arraybuffer": "0.1.5", + "blob": "0.0.4", + "has-binary": "0.1.7", + "wtf-8": "1.0.0" + } + }, + "enhanced-resolve": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-0.9.1.tgz", + "integrity": "sha1-TW5omzcl+GCQknzMhs2fFjW4ni4=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "memory-fs": "0.2.0", + "tapable": "0.1.10" + }, + "dependencies": { + "memory-fs": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.2.0.tgz", + "integrity": "sha1-8rslNovBIeORwlIN6Slpyu4KApA=", + "dev": true + } + } + }, + "ent": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", + "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=", + "dev": true + }, + "entities": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==", + "dev": true + }, + "enzyme": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/enzyme/-/enzyme-3.7.0.tgz", + "integrity": "sha512-QLWx+krGK6iDNyR1KlH5YPZqxZCQaVF6ike1eDJAOg0HvSkSCVImPsdWaNw6v+VrnK92Kg8jIOYhuOSS9sBpyg==", + "dev": true, + "requires": { + "array.prototype.flat": "1.2.1", + "cheerio": "1.0.0-rc.2", + "function.prototype.name": "1.1.0", + "has": "1.0.3", + "is-boolean-object": "1.0.0", + "is-callable": "1.1.4", + "is-number-object": "1.0.3", + "is-string": "1.0.4", + "is-subset": "0.1.1", + "lodash.escape": "4.0.1", + "lodash.isequal": "4.5.0", + "object-inspect": "1.6.0", + "object-is": "1.0.1", + "object.assign": "4.1.0", + "object.entries": "1.0.4", + "object.values": "1.0.4", + "raf": "3.4.0", + "rst-selector-parser": "2.2.3", + "string.prototype.trim": "1.1.2" + } + }, + "enzyme-adapter-react-16": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.6.0.tgz", + "integrity": "sha512-ay9eGFpChyUDnjTFMMJHzrb681LF3hPWJLEA7RoLFG9jSWAdAm2V50pGmFV9dYGJgh5HfdiqM+MNvle41Yf/PA==", + "dev": true, + "requires": { + "enzyme-adapter-utils": "1.8.1", + "function.prototype.name": "1.1.0", + "object.assign": "4.1.0", + "object.values": "1.0.4", + "prop-types": "15.6.2", + "react-is": "16.5.2", + "react-test-renderer": "16.5.2" + } + }, + "enzyme-adapter-utils": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/enzyme-adapter-utils/-/enzyme-adapter-utils-1.8.1.tgz", + "integrity": "sha512-s3QB3xQAowaDS2sHhmEqrT13GJC4+n5bG015ZkLv60n9k5vhxxHTQRIneZmQ4hmdCZEBrvUJ89PG6fRI5OEeuQ==", + "dev": true, + "requires": { + "function.prototype.name": "1.1.0", + "object.assign": "4.1.0", + "prop-types": "15.6.2" + } + }, + "errno": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz", + "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==", + "dev": true, + "requires": { + "prr": "1.0.1" + } + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "0.2.1" + } + }, + "es-abstract": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.12.0.tgz", + "integrity": "sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==", + "dev": true, + "requires": { + "es-to-primitive": "1.2.0", + "function-bind": "1.1.1", + "has": "1.0.3", + "is-callable": "1.1.4", + "is-regex": "1.0.4" + } + }, + "es-to-primitive": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz", + "integrity": "sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==", + "dev": true, + "requires": { + "is-callable": "1.1.4", + "is-date-object": "1.0.1", + "is-symbol": "1.0.2" + } + }, + "es5-ext": { + "version": "0.10.46", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.46.tgz", + "integrity": "sha512-24XxRvJXNFwEMpJb3nOkiRJKRoupmjYmOPVlI65Qy2SrtxwOTB+g6ODjBKOtwEHbYrhWRty9xxOWLNdClT2djw==", + "dev": true, + "requires": { + "es6-iterator": "2.0.3", + "es6-symbol": "3.1.1", + "next-tick": "1.0.0" + } + }, + "es6-iterator": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", + "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46", + "es6-symbol": "3.1.1" + } + }, + "es6-map": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz", + "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46", + "es6-iterator": "2.0.3", + "es6-set": "0.1.5", + "es6-symbol": "3.1.1", + "event-emitter": "0.3.5" + } + }, + "es6-set": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz", + "integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46", + "es6-iterator": "2.0.3", + "es6-symbol": "3.1.1", + "event-emitter": "0.3.5" + } + }, + "es6-symbol": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz", + "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46" + } + }, + "es6-weak-map": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.2.tgz", + "integrity": "sha1-XjqzIlH/0VOKH45f+hNXdy+S2W8=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46", + "es6-iterator": "2.0.3", + "es6-symbol": "3.1.1" + } + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "escodegen": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.11.0.tgz", + "integrity": "sha512-IeMV45ReixHS53K/OmfKAIztN/igDHzTJUhZM3k1jMhIZWjk45SMwAtBsEXiJp3vSPmTcu6CXn7mDvFHRN66fw==", + "dev": true, + "requires": { + "esprima": "3.1.3", + "estraverse": "4.2.0", + "esutils": "2.0.2", + "optionator": "0.8.2", + "source-map": "0.6.1" + }, + "dependencies": { + "esprima": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz", + "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "optional": true + } + } + }, + "escope": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/escope/-/escope-3.6.0.tgz", + "integrity": "sha1-4Bl16BJ4GhY6ba392AOY3GTIicM=", + "dev": true, + "requires": { + "es6-map": "0.1.5", + "es6-weak-map": "2.0.2", + "esrecurse": "4.2.1", + "estraverse": "4.2.0" + } + }, + "eslint": { + "version": "4.19.1", + "resolved": "http://registry.npmjs.org/eslint/-/eslint-4.19.1.tgz", + "integrity": "sha512-bT3/1x1EbZB7phzYu7vCr1v3ONuzDtX8WjuM9c0iYxe+cq+pwcKEoQjl7zd3RpC6YOLgnSy3cTN58M2jcoPDIQ==", + "dev": true, + "requires": { + "ajv": "5.5.2", + "babel-code-frame": "6.26.0", + "chalk": "2.4.1", + "concat-stream": "1.6.2", + "cross-spawn": "5.1.0", + "debug": "3.2.5", + "doctrine": "2.1.0", + "eslint-scope": "3.7.1", + "eslint-visitor-keys": "1.0.0", + "espree": "3.5.4", + "esquery": "1.0.1", + "esutils": "2.0.2", + "file-entry-cache": "2.0.0", + "functional-red-black-tree": "1.0.1", + "glob": "7.1.3", + "globals": "11.7.0", + "ignore": "3.3.10", + "imurmurhash": "0.1.4", + "inquirer": "3.3.0", + "is-resolvable": "1.1.0", + "js-yaml": "3.12.0", + "json-stable-stringify-without-jsonify": "1.0.1", + "levn": "0.3.0", + "lodash": "4.17.11", + "minimatch": "3.0.4", + "mkdirp": "0.5.1", + "natural-compare": "1.4.0", + "optionator": "0.8.2", + "path-is-inside": "1.0.2", + "pluralize": "7.0.0", + "progress": "2.0.0", + "regexpp": "1.1.0", + "require-uncached": "1.0.3", + "semver": "5.5.1", + "strip-ansi": "4.0.0", + "strip-json-comments": "2.0.1", + "table": "4.0.2", + "text-table": "0.2.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "cross-spawn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "dev": true, + "requires": { + "lru-cache": "4.1.3", + "shebang-command": "1.2.0", + "which": "1.3.1" + } + }, + "debug": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.5.tgz", + "integrity": "sha512-D61LaDQPQkxJ5AUM2mbSJRbPkNs/TmdmOeLAi1hgDkpDfIfetSrjmWhccwtuResSwMbACjx/xXQofvM9CE/aeg==", + "dev": true, + "requires": { + "ms": "2.1.1" + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, + "globals": { + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.7.0.tgz", + "integrity": "sha512-K8BNSPySfeShBQXsahYB/AbbWruVOTyVpgoIDnl8odPpeSfP2J5QO2oLFFdl2j7GfDCtZj2bMKar2T49itTPCg==", + "dev": true + }, + "js-yaml": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz", + "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==", + "dev": true, + "requires": { + "argparse": "1.0.10", + "esprima": "4.0.1" + } + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "3.0.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "eslint-import-resolver-node": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz", + "integrity": "sha512-sfmTqJfPSizWu4aymbPr4Iidp5yKm8yDkHp+Ir3YiTHiiDfxh69mOUsmiqW6RZ9zRXFaF64GtYmN7e+8GHBv6Q==", + "dev": true, + "requires": { + "debug": "2.6.9", + "resolve": "1.8.1" + } + }, + "eslint-module-utils": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.2.0.tgz", + "integrity": "sha1-snA2LNiLGkitMIl2zn+lTphBF0Y=", + "dev": true, + "requires": { + "debug": "2.6.9", + "pkg-dir": "1.0.0" + } + }, + "eslint-plugin-import": { + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.14.0.tgz", + "integrity": "sha512-FpuRtniD/AY6sXByma2Wr0TXvXJ4nA/2/04VPlfpmUDPOpOY264x+ILiwnrk/k4RINgDAyFZByxqPUbSQ5YE7g==", + "dev": true, + "requires": { + "contains-path": "0.1.0", + "debug": "2.6.9", + "doctrine": "1.5.0", + "eslint-import-resolver-node": "0.3.2", + "eslint-module-utils": "2.2.0", + "has": "1.0.3", + "lodash": "4.17.11", + "minimatch": "3.0.4", + "read-pkg-up": "2.0.0", + "resolve": "1.8.1" + }, + "dependencies": { + "doctrine": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", + "dev": true, + "requires": { + "esutils": "2.0.2", + "isarray": "1.0.0" + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + } + } + }, + "eslint-plugin-node": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-5.2.1.tgz", + "integrity": "sha512-xhPXrh0Vl/b7870uEbaumb2Q+LxaEcOQ3kS1jtIXanBAwpMre1l5q/l2l/hESYJGEFKuI78bp6Uw50hlpr7B+g==", + "dev": true, + "requires": { + "ignore": "3.3.10", + "minimatch": "3.0.4", + "resolve": "1.8.1", + "semver": "5.3.0" + }, + "dependencies": { + "semver": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", + "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=", + "dev": true + } + } + }, + "eslint-plugin-promise": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-3.8.0.tgz", + "integrity": "sha512-JiFL9UFR15NKpHyGii1ZcvmtIqa3UTwiDAGb8atSffe43qJ3+1czVGN6UtkklpcJ2DVnqvTMzEKRaJdBkAL2aQ==", + "dev": true + }, + "eslint-plugin-react": { + "version": "7.11.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.11.1.tgz", + "integrity": "sha512-cVVyMadRyW7qsIUh3FHp3u6QHNhOgVrLQYdQEB1bPWBsgbNCHdFAeNMquBMCcZJu59eNthX053L70l7gRt4SCw==", + "dev": true, + "requires": { + "array-includes": "3.0.3", + "doctrine": "2.1.0", + "has": "1.0.3", + "jsx-ast-utils": "2.0.1", + "prop-types": "15.6.2" + } + }, + "eslint-scope": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.1.tgz", + "integrity": "sha1-PWPD7f2gLgbgGkUq2IyqzHzctug=", + "dev": true, + "requires": { + "esrecurse": "4.2.1", + "estraverse": "4.2.0" + } + }, + "eslint-visitor-keys": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", + "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==", + "dev": true + }, + "espree": { + "version": "3.5.4", + "resolved": "https://registry.npmjs.org/espree/-/espree-3.5.4.tgz", + "integrity": "sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A==", + "dev": true, + "requires": { + "acorn": "5.7.3", + "acorn-jsx": "3.0.1" + } + }, + "esprima": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", + "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=", + "dev": true + }, + "esquery": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", + "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==", + "dev": true, + "requires": { + "estraverse": "4.2.0" + } + }, + "esrecurse": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", + "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", + "dev": true, + "requires": { + "estraverse": "4.2.0" + } + }, + "estraverse": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", + "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", + "dev": true + }, + "estree-walker": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.2.1.tgz", + "integrity": "sha1-va/oCVOD2EFNXcLs9MkXO225QS4=", + "dev": true + }, + "esutils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", + "dev": true + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", + "dev": true + }, + "event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46" + } + }, + "event-stream": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/event-stream/-/event-stream-3.3.6.tgz", + "integrity": "sha512-dGXNg4F/FgVzlApjzItL+7naHutA3fDqbV/zAZqDDlXTjiMnQmZKu+prImWKszeBM5UQeGvAl3u1wBiKeDh61g==", + "dev": true, + "requires": { + "duplexer": "0.1.1", + "flatmap-stream": "0.1.1", + "from": "0.1.7", + "map-stream": "0.0.7", + "pause-stream": "0.0.11", + "split": "1.0.1", + "stream-combiner": "0.2.2", + "through": "2.3.8" + }, + "dependencies": { + "split": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", + "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", + "dev": true, + "requires": { + "through": "2.3.8" + } + }, + "stream-combiner": { + "version": "0.2.2", + "resolved": "http://registry.npmjs.org/stream-combiner/-/stream-combiner-0.2.2.tgz", + "integrity": "sha1-rsjLrBd7Vrb0+kec7YwZEs7lKFg=", + "dev": true, + "requires": { + "duplexer": "0.1.1", + "through": "2.3.8" + } + } + } + }, + "eventemitter3": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.0.tgz", + "integrity": "sha512-ivIvhpq/Y0uSjcHDcOIccjmYjGLcP09MFGE7ysAwkAvkXfpZlC985pH2/ui64DKazbTW/4kN3yqozUxlXzI6cA==", + "dev": true + }, + "events": { + "version": "1.1.1", + "resolved": "http://registry.npmjs.org/events/-/events-1.1.1.tgz", + "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=", + "dev": true + }, + "eventsource": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-0.1.6.tgz", + "integrity": "sha1-Cs7ehJ7X3RzMMsgRuxG5RNTykjI=", + "dev": true, + "requires": { + "original": "1.0.2" + } + }, + "execa": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.8.0.tgz", + "integrity": "sha1-2NdrvBtVIX7RkP1t1J08d07PyNo=", + "dev": true, + "requires": { + "cross-spawn": "5.1.0", + "get-stream": "3.0.0", + "is-stream": "1.1.0", + "npm-run-path": "2.0.2", + "p-finally": "1.0.0", + "signal-exit": "3.0.2", + "strip-eof": "1.0.0" + }, + "dependencies": { + "cross-spawn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "dev": true, + "requires": { + "lru-cache": "4.1.3", + "shebang-command": "1.2.0", + "which": "1.3.1" + } + } + } + }, + "exit-hook": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz", + "integrity": "sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g=", + "dev": true + }, + "expand-braces": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/expand-braces/-/expand-braces-0.1.2.tgz", + "integrity": "sha1-SIsdHSRRyz06axks/AMPRMWFX+o=", + "dev": true, + "requires": { + "array-slice": "0.2.3", + "array-unique": "0.2.1", + "braces": "0.1.5" + }, + "dependencies": { + "braces": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/braces/-/braces-0.1.5.tgz", + "integrity": "sha1-wIVxEIUpHYt1/ddOqw+FlygHEeY=", + "dev": true, + "requires": { + "expand-range": "0.1.1" + } + }, + "expand-range": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-0.1.1.tgz", + "integrity": "sha1-TLjtoJk8pW+k9B/ELzy7TMrf8EQ=", + "dev": true, + "requires": { + "is-number": "0.1.1", + "repeat-string": "0.2.2" + } + }, + "is-number": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-0.1.1.tgz", + "integrity": "sha1-aaevEWlj1HIG7JvZtIoUIW8eOAY=", + "dev": true + }, + "repeat-string": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-0.2.2.tgz", + "integrity": "sha1-x6jTI2BoNiBZp+RlH8aITosftK4=", + "dev": true + } + } + }, + "expand-brackets": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", + "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", + "dev": true, + "requires": { + "is-posix-bracket": "0.1.1" + } + }, + "expand-range": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", + "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", + "dev": true, + "requires": { + "fill-range": "2.2.4" + } + }, + "express": { + "version": "4.16.4", + "resolved": "https://registry.npmjs.org/express/-/express-4.16.4.tgz", + "integrity": "sha512-j12Uuyb4FMrd/qQAm6uCHAkPtO8FDTRJZBDd5D2KOL2eLaz1yUNdUB/NOIyq0iU4q4cFarsUCrnFDPBcnksuOg==", + "dev": true, + "requires": { + "accepts": "1.3.5", + "array-flatten": "1.1.1", + "body-parser": "1.18.3", + "content-disposition": "0.5.2", + "content-type": "1.0.4", + "cookie": "0.3.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "1.1.2", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "etag": "1.8.1", + "finalhandler": "1.1.1", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "1.1.2", + "on-finished": "2.3.0", + "parseurl": "1.3.2", + "path-to-regexp": "0.1.7", + "proxy-addr": "2.0.4", + "qs": "6.5.2", + "range-parser": "1.2.0", + "safe-buffer": "5.1.2", + "send": "0.16.2", + "serve-static": "1.13.2", + "setprototypeof": "1.1.0", + "statuses": "1.4.0", + "type-is": "1.6.16", + "utils-merge": "1.0.1", + "vary": "1.1.2" + }, + "dependencies": { + "body-parser": { + "version": "1.18.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.3.tgz", + "integrity": "sha1-WykhmP/dVTs6DyDe0FkrlWlVyLQ=", + "dev": true, + "requires": { + "bytes": "3.0.0", + "content-type": "1.0.4", + "debug": "2.6.9", + "depd": "1.1.2", + "http-errors": "1.6.3", + "iconv-lite": "0.4.23", + "on-finished": "2.3.0", + "qs": "6.5.2", + "raw-body": "2.3.3", + "type-is": "1.6.16" + } + }, + "iconv-lite": { + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", + "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", + "dev": true, + "requires": { + "safer-buffer": "2.1.2" + } + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true + }, + "raw-body": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.3.tgz", + "integrity": "sha512-9esiElv1BrZoI3rCDuOuKCBRbuApGGaDPQfjSflGxdy4oyzqghxu6klEkkVIvBje+FF0BX9coEv8KqW6X/7njw==", + "dev": true, + "requires": { + "bytes": "3.0.0", + "http-errors": "1.6.3", + "iconv-lite": "0.4.23", + "unpipe": "1.0.0" + } + } + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "dev": true, + "requires": { + "assign-symbols": "1.0.0", + "is-extendable": "1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "2.0.4" + } + } + } + }, + "external-editor": { + "version": "2.2.0", + "resolved": "http://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", + "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", + "dev": true, + "requires": { + "chardet": "0.4.2", + "iconv-lite": "0.4.24", + "tmp": "0.0.33" + } + }, + "extglob": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", + "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", + "dev": true, + "requires": { + "is-extglob": "1.0.0" + } + }, + "extract-text-webpack-plugin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/extract-text-webpack-plugin/-/extract-text-webpack-plugin-1.0.1.tgz", + "integrity": "sha1-yVvzy6rEnclvHcbgclSfu2VMzSw=", + "dev": true, + "requires": { + "async": "1.5.2", + "loader-utils": "0.2.17", + "webpack-sources": "0.1.5" + }, + "dependencies": { + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + } + } + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true + }, + "fast-deep-equal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", + "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=", + "dev": true + }, + "fast-json-stable-stringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "fastparse": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.1.tgz", + "integrity": "sha1-0eJkOzipTXWDtHkGDmxK/8lAcfg=", + "dev": true + }, + "faye-websocket": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz", + "integrity": "sha1-TkkvjQTftviQA1B/btvy1QHnxvQ=", + "dev": true, + "requires": { + "websocket-driver": "0.7.0" + } + }, + "fbjs": { + "version": "0.8.17", + "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.17.tgz", + "integrity": "sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90=", + "requires": { + "core-js": "1.2.7", + "isomorphic-fetch": "2.2.1", + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "promise": "7.3.1", + "setimmediate": "1.0.5", + "ua-parser-js": "0.7.18" + }, + "dependencies": { + "core-js": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", + "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=" + } + } + }, + "figures": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5" + } + }, + "file-entry-cache": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz", + "integrity": "sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E=", + "dev": true, + "requires": { + "flat-cache": "1.3.0", + "object-assign": "4.1.1" + } + }, + "filename-regex": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", + "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=", + "dev": true + }, + "fileset": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fileset/-/fileset-0.2.1.tgz", + "integrity": "sha1-WI74lzxmI7KnbfRlEFaWuWqsgGc=", + "dev": true, + "requires": { + "glob": "5.0.15", + "minimatch": "2.0.10" + }, + "dependencies": { + "glob": { + "version": "5.0.15", + "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", + "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=", + "dev": true, + "requires": { + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "2.0.10", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "minimatch": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-2.0.10.tgz", + "integrity": "sha1-jQh8OcazjAAbl/ynzm0OHoCvusc=", + "dev": true, + "requires": { + "brace-expansion": "1.1.11" + } + } + } + }, + "fill-range": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz", + "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==", + "dev": true, + "requires": { + "is-number": "2.1.0", + "isobject": "2.1.0", + "randomatic": "3.1.0", + "repeat-element": "1.1.3", + "repeat-string": "1.6.1" + } + }, + "finalhandler": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz", + "integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==", + "dev": true, + "requires": { + "debug": "2.6.9", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "on-finished": "2.3.0", + "parseurl": "1.3.2", + "statuses": "1.4.0", + "unpipe": "1.0.0" + } + }, + "find-cache-dir": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-0.1.1.tgz", + "integrity": "sha1-yN765XyKUqinhPnjHFfHQumToLk=", + "dev": true, + "requires": { + "commondir": "1.0.1", + "mkdirp": "0.5.1", + "pkg-dir": "1.0.0" + } + }, + "find-parent-dir": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/find-parent-dir/-/find-parent-dir-0.3.0.tgz", + "integrity": "sha1-M8RLQpqysvBkYpnF+fcY83b/jVQ=", + "dev": true + }, + "find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "dev": true, + "requires": { + "path-exists": "2.1.0", + "pinkie-promise": "2.0.1" + } + }, + "flat-cache": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.0.tgz", + "integrity": "sha1-0wMLMrOBVPTjt+nHCfSQ9++XxIE=", + "dev": true, + "requires": { + "circular-json": "0.3.3", + "del": "2.2.2", + "graceful-fs": "4.1.11", + "write": "0.2.1" + } + }, + "flatmap-stream": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/flatmap-stream/-/flatmap-stream-0.1.1.tgz", + "integrity": "sha512-lAq4tLbm3sidmdCN8G3ExaxH7cUCtP5mgDvrYowsx84dcYkJJ4I28N7gkxA6+YlSXzaGLJYIDEi9WGfXzMiXdw==", + "dev": true + }, + "flatten": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/flatten/-/flatten-1.0.2.tgz", + "integrity": "sha1-2uRqnXj74lKSJYzB54CkHZXAN4I=", + "dev": true + }, + "flow-bin": { + "version": "0.68.0", + "resolved": "http://registry.npmjs.org/flow-bin/-/flow-bin-0.68.0.tgz", + "integrity": "sha1-hsLRSFfTBusuheJ08u6/VDVk9iM=", + "dev": true + }, + "follow-redirects": { + "version": "1.5.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.8.tgz", + "integrity": "sha512-sy1mXPmv7kLAMKW/8XofG7o9T+6gAjzdZK4AJF6ryqQYUa/hnzgiypoeUecZ53x7XiqKNEpNqLtS97MshW2nxg==", + "dev": true, + "requires": { + "debug": "3.1.0" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + }, + "for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true + }, + "for-own": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", + "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", + "dev": true, + "requires": { + "for-in": "1.0.2" + } + }, + "forever-agent": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.5.2.tgz", + "integrity": "sha1-bQ4JxJIflKJ/Y9O0nF/v8epMUTA=", + "dev": true + }, + "form-data": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-0.1.4.tgz", + "integrity": "sha1-kavXiKupcCsaq/qLwBAxoqyeOxI=", + "dev": true, + "optional": true, + "requires": { + "async": "0.9.2", + "combined-stream": "0.0.7", + "mime": "1.2.11" + } + }, + "forwarded": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", + "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=", + "dev": true + }, + "fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "dev": true, + "requires": { + "map-cache": "0.2.2" + } + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", + "dev": true + }, + "from": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/from/-/from-0.1.7.tgz", + "integrity": "sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4=", + "dev": true + }, + "front-matter": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/front-matter/-/front-matter-2.1.2.tgz", + "integrity": "sha1-91mDufL0E75ljJPf172M5AePXNs=", + "dev": true, + "requires": { + "js-yaml": "3.7.0" + } + }, + "fs-extra": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-3.0.1.tgz", + "integrity": "sha1-N5TzeMWLNC6n27sjCVEJxLO2IpE=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "jsonfile": "3.0.1", + "universalify": "0.1.2" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "fsevents": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.4.tgz", + "integrity": "sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==", + "dev": true, + "optional": true, + "requires": { + "nan": "2.11.1", + "node-pre-gyp": "0.10.0" + }, + "dependencies": { + "abbrev": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "ansi-regex": { + "version": "2.1.1", + "bundled": true, + "dev": true + }, + "aproba": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + }, + "are-we-there-yet": { + "version": "1.1.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "delegates": "1.0.0", + "readable-stream": "2.3.6" + } + }, + "balanced-match": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "bundled": true, + "dev": true, + "requires": { + "balanced-match": "1.0.0", + "concat-map": "0.0.1" + } + }, + "chownr": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "code-point-at": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "bundled": true, + "dev": true + }, + "console-control-strings": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "core-util-is": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "debug": { + "version": "2.6.9", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ms": "2.0.0" + } + }, + "deep-extend": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "optional": true + }, + "delegates": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "detect-libc": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "fs-minipass": { + "version": "1.2.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minipass": "2.2.4" + } + }, + "fs.realpath": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "gauge": { + "version": "2.7.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "aproba": "1.2.0", + "console-control-strings": "1.1.0", + "has-unicode": "2.0.1", + "object-assign": "4.1.1", + "signal-exit": "3.0.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wide-align": "1.1.2" + } + }, + "glob": { + "version": "7.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "has-unicode": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "iconv-lite": { + "version": "0.4.21", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safer-buffer": "2.1.2" + } + }, + "ignore-walk": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minimatch": "3.0.4" + } + }, + "inflight": { + "version": "1.0.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "once": "1.4.0", + "wrappy": "1.0.2" + } + }, + "inherits": { + "version": "2.0.3", + "bundled": true, + "dev": true + }, + "ini": { + "version": "1.3.5", + "bundled": true, + "dev": true, + "optional": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "isarray": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "minimatch": { + "version": "3.0.4", + "bundled": true, + "dev": true, + "requires": { + "brace-expansion": "1.1.11" + } + }, + "minimist": { + "version": "0.0.8", + "bundled": true, + "dev": true + }, + "minipass": { + "version": "2.2.4", + "bundled": true, + "dev": true, + "requires": { + "safe-buffer": "5.1.1", + "yallist": "3.0.2" + } + }, + "minizlib": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minipass": "2.2.4" + } + }, + "mkdirp": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "requires": { + "minimist": "0.0.8" + } + }, + "ms": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "needle": { + "version": "2.2.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "debug": "2.6.9", + "iconv-lite": "0.4.21", + "sax": "1.2.4" + } + }, + "node-pre-gyp": { + "version": "0.10.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "detect-libc": "1.0.3", + "mkdirp": "0.5.1", + "needle": "2.2.0", + "nopt": "4.0.1", + "npm-packlist": "1.1.10", + "npmlog": "4.1.2", + "rc": "1.2.7", + "rimraf": "2.6.2", + "semver": "5.5.0", + "tar": "4.4.1" + } + }, + "nopt": { + "version": "4.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "abbrev": "1.1.1", + "osenv": "0.1.5" + } + }, + "npm-bundled": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "npm-packlist": { + "version": "1.1.10", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ignore-walk": "3.0.1", + "npm-bundled": "1.0.3" + } + }, + "npmlog": { + "version": "4.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "are-we-there-yet": "1.1.4", + "console-control-strings": "1.1.0", + "gauge": "2.7.4", + "set-blocking": "2.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "once": { + "version": "1.4.0", + "bundled": true, + "dev": true, + "requires": { + "wrappy": "1.0.2" + } + }, + "os-homedir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "os-tmpdir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "osenv": { + "version": "0.1.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "process-nextick-args": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "rc": { + "version": "1.2.7", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "deep-extend": "0.5.1", + "ini": "1.3.5", + "minimist": "1.2.0", + "strip-json-comments": "2.0.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "readable-stream": { + "version": "2.3.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.1", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "rimraf": { + "version": "2.6.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "glob": "7.1.2" + } + }, + "safe-buffer": { + "version": "5.1.1", + "bundled": true, + "dev": true + }, + "safer-buffer": { + "version": "2.1.2", + "bundled": true, + "dev": true, + "optional": true + }, + "sax": { + "version": "1.2.4", + "bundled": true, + "dev": true, + "optional": true + }, + "semver": { + "version": "5.5.0", + "bundled": true, + "dev": true, + "optional": true + }, + "set-blocking": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "signal-exit": { + "version": "3.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "string-width": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "5.1.1" + } + }, + "strip-ansi": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "requires": { + "ansi-regex": "2.1.1" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "tar": { + "version": "4.4.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "chownr": "1.0.1", + "fs-minipass": "1.2.5", + "minipass": "2.2.4", + "minizlib": "1.1.0", + "mkdirp": "0.5.1", + "safe-buffer": "5.1.1", + "yallist": "3.0.2" + } + }, + "util-deprecate": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "wide-align": { + "version": "1.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "string-width": "1.0.2" + } + }, + "wrappy": { + "version": "1.0.2", + "bundled": true, + "dev": true + }, + "yallist": { + "version": "3.0.2", + "bundled": true, + "dev": true + } + } + }, + "fstream": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz", + "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "inherits": "2.0.3", + "mkdirp": "0.5.1", + "rimraf": "2.6.2" + } + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "function.prototype.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.0.tgz", + "integrity": "sha512-Bs0VRrTz4ghD8pTmbJQD1mZ8A/mN0ur/jGz+A6FBxPDUPkm1tNfF6bhTYPA7i7aF4lZJVr+OXTNNrnnIl58Wfg==", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "function-bind": "1.1.1", + "is-callable": "1.1.4" + } + }, + "functional-red-black-tree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", + "dev": true + }, + "gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "dev": true, + "requires": { + "aproba": "1.2.0", + "console-control-strings": "1.1.0", + "has-unicode": "2.0.1", + "object-assign": "4.1.1", + "signal-exit": "3.0.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wide-align": "1.1.3" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + } + } + }, + "gaze": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz", + "integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==", + "dev": true, + "requires": { + "globule": "1.2.1" + } + }, + "generate-function": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.3.1.tgz", + "integrity": "sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==", + "dev": true, + "requires": { + "is-property": "1.0.2" + } + }, + "generate-object-property": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz", + "integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA=", + "dev": true, + "requires": { + "is-property": "1.0.2" + } + }, + "get-caller-file": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", + "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==", + "dev": true + }, + "get-own-enumerable-property-symbols": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-2.0.1.tgz", + "integrity": "sha512-TtY/sbOemiMKPRUDDanGCSgBYe7Mf0vbRsWnBZ+9yghpZ1MvcpSpuZFjHdEeY/LZjZy0vdLjS77L6HosisFiug==", + "dev": true + }, + "get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", + "dev": true + }, + "get-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", + "dev": true + }, + "get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", + "dev": true + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, + "requires": { + "assert-plus": "1.0.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + } + } + }, + "glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "dev": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "glob-base": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", + "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", + "dev": true, + "requires": { + "glob-parent": "2.0.0", + "is-glob": "2.0.1" + } + }, + "glob-parent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "dev": true, + "requires": { + "is-glob": "2.0.1" + } + }, + "global": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/global/-/global-4.3.2.tgz", + "integrity": "sha1-52mJJopsdMOJCLEwWxD8DjlOnQ8=", + "dev": true, + "requires": { + "min-document": "2.19.0", + "process": "0.5.2" + } + }, + "globals": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", + "dev": true + }, + "globby": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz", + "integrity": "sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0=", + "dev": true, + "requires": { + "array-union": "1.0.2", + "arrify": "1.0.1", + "glob": "7.1.3", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + } + }, + "globule": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/globule/-/globule-1.2.1.tgz", + "integrity": "sha512-g7QtgWF4uYSL5/dn71WxubOrS7JVGCnFPEnoeChJmBnyR9Mw8nGoEwOgJL/RC2Te0WhbsEUCejfH8SZNJ+adYQ==", + "dev": true, + "requires": { + "glob": "7.1.3", + "lodash": "4.17.11", + "minimatch": "3.0.4" + } + }, + "gonzales-pe-sl": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/gonzales-pe-sl/-/gonzales-pe-sl-4.2.3.tgz", + "integrity": "sha1-aoaLw4BkXxQf7rBCxvl/zHG1n+Y=", + "dev": true, + "requires": { + "minimist": "1.1.3" + }, + "dependencies": { + "minimist": { + "version": "1.1.3", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.1.3.tgz", + "integrity": "sha1-O+39kaktOQFvz6ocaB6Pqhoe/ag=", + "dev": true + } + } + }, + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", + "dev": true + }, + "growl": { + "version": "1.10.3", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.3.tgz", + "integrity": "sha512-hKlsbA5Vu3xsh1Cg3J7jSmX/WaW6A5oBeqzM88oNbCRQFz+zUaXm6yxS4RVytp1scBoJzSYl4YAEOQIt6O8V1Q==", + "dev": true + }, + "gud": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/gud/-/gud-1.0.0.tgz", + "integrity": "sha512-zGEOVKFM5sVPPrYs7J5/hYEw2Pof8KCyOwyhG8sAF26mCAeUFAcYPu1mwB7hhpIP29zOIBaDqwuHdLp0jvZXjw==" + }, + "handlebars": { + "version": "4.0.12", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.12.tgz", + "integrity": "sha512-RhmTekP+FZL+XNhwS1Wf+bTTZpdLougwt5pcgA1tuz6Jcx0fpH/7z0qd71RKnZHBCxIRBHfBOnio4gViPemNzA==", + "dev": true, + "requires": { + "async": "2.6.1", + "optimist": "0.6.1", + "source-map": "0.6.1", + "uglify-js": "3.4.9" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true + }, + "har-validator": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.0.tgz", + "integrity": "sha512-+qnmNjI4OfH2ipQ9VQOw23bBd/ibtfbVdK2fYbY4acTDqKTW/YDp9McimZdDbG8iV9fZizUqQMD5xvriB146TA==", + "dev": true, + "requires": { + "ajv": "5.5.2", + "har-schema": "2.0.0" + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "requires": { + "function-bind": "1.1.1" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "requires": { + "ansi-regex": "2.1.1" + } + }, + "has-binary": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/has-binary/-/has-binary-0.1.7.tgz", + "integrity": "sha1-aOYesWIQyVRaClzOBqhzkS/h5ow=", + "dev": true, + "requires": { + "isarray": "0.0.1" + } + }, + "has-color": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/has-color/-/has-color-0.1.7.tgz", + "integrity": "sha1-ZxRKUmDDT8PMpnfQQdr1L+e3iy8=", + "dev": true + }, + "has-cors": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-cors/-/has-cors-1.1.0.tgz", + "integrity": "sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk=", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "has-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz", + "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=", + "dev": true + }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true + }, + "has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "dev": true, + "requires": { + "get-value": "2.0.6", + "has-values": "1.0.0", + "isobject": "3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", + "dev": true, + "requires": { + "is-number": "3.0.0", + "kind-of": "4.0.0" + }, + "dependencies": { + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "hawk": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/hawk/-/hawk-1.1.1.tgz", + "integrity": "sha1-h81JH5tG5OKurKM1QWdmiF0tHtk=", + "dev": true, + "optional": true, + "requires": { + "boom": "0.4.2", + "cryptiles": "0.2.2", + "hoek": "0.9.1", + "sntp": "0.2.4" + } + }, + "he": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", + "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=", + "dev": true + }, + "highlight.js": { + "version": "9.13.1", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.13.1.tgz", + "integrity": "sha512-Sc28JNQNDzaH6PORtRLMvif9RSn1mYuOoX3omVjnb0+HbpPygU2ALBI0R/wsiqCb4/fcp07Gdo8g+fhtFrQl6A==", + "dev": true + }, + "hoek": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz", + "integrity": "sha1-PTIkYrrfB3Fup+uFuviAec3c5QU=", + "dev": true + }, + "home-or-tmp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", + "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", + "dev": true, + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, + "hosted-git-info": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz", + "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==", + "dev": true + }, + "html-comment-regex": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.1.tgz", + "integrity": "sha1-ZouTd26q5V696POtRkswekljYl4=", + "dev": true + }, + "html-entities": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-1.2.1.tgz", + "integrity": "sha1-DfKTUfByEWNRXfueVUPl9u7VFi8=", + "dev": true + }, + "htmlparser2": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.0.tgz", + "integrity": "sha512-J1nEUGv+MkXS0weHNWVKJJ+UrLfePxRWpN3C9bEi9fLxL2+ggW94DQvgYVXsaT30PGwYRIZKNZXuyMhp3Di4bQ==", + "dev": true, + "requires": { + "domelementtype": "1.3.0", + "domhandler": "2.4.2", + "domutils": "1.5.1", + "entities": "1.1.2", + "inherits": "2.0.3", + "readable-stream": "3.0.6" + }, + "dependencies": { + "domelementtype": { + "version": "1.3.0", + "resolved": "http://registry.npmjs.org/domelementtype/-/domelementtype-1.3.0.tgz", + "integrity": "sha1-sXrtguirWeUt2cGbF1bg/BhyBMI=", + "dev": true + }, + "readable-stream": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.0.6.tgz", + "integrity": "sha512-9E1oLoOWfhSXHGv6QlwXJim7uNzd9EVlWK+21tCU9Ju/kR0/p2AZYPz4qSchgO8PlLIH4FpZYfzwS+rEksZjIg==", + "dev": true, + "requires": { + "inherits": "2.0.3", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "http-errors": { + "version": "1.6.3", + "resolved": "http://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", + "dev": true, + "requires": { + "depd": "1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": "1.4.0" + } + }, + "http-parser-js": { + "version": "0.4.13", + "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.4.13.tgz", + "integrity": "sha1-O9bW/ebjFyyTNMOzO2wZPYD+ETc=", + "dev": true + }, + "http-proxy": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.17.0.tgz", + "integrity": "sha512-Taqn+3nNvYRfJ3bGvKfBSRwy1v6eePlm3oc/aWVxZp57DQr5Eq3xhKJi7Z4hZpS8PC3H4qI+Yly5EmFacGuA/g==", + "dev": true, + "requires": { + "eventemitter3": "3.1.0", + "follow-redirects": "1.5.8", + "requires-port": "1.0.0" + } + }, + "http-proxy-middleware": { + "version": "0.17.4", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.17.4.tgz", + "integrity": "sha1-ZC6ISIUdZvCdTxJJEoRtuutBuDM=", + "dev": true, + "requires": { + "http-proxy": "1.17.0", + "is-glob": "3.1.0", + "lodash": "4.17.11", + "micromatch": "2.3.11" + }, + "dependencies": { + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "2.1.1" + } + } + } + }, + "http-signature": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-0.10.1.tgz", + "integrity": "sha1-T72sEyVZqoMjEh5UB3nAoBKyfmY=", + "dev": true, + "optional": true, + "requires": { + "asn1": "0.1.11", + "assert-plus": "0.1.5", + "ctype": "0.5.3" + } + }, + "https-browserify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-0.0.1.tgz", + "integrity": "sha1-P5E2XKvmC3ftDruiS0VOPgnZWoI=", + "dev": true + }, + "husky": { + "version": "0.14.3", + "resolved": "https://registry.npmjs.org/husky/-/husky-0.14.3.tgz", + "integrity": "sha512-e21wivqHpstpoiWA/Yi8eFti8E+sQDSS53cpJsPptPs295QTOQR0ZwnHo2TXy1XOpZFD9rPOd3NpmqTK6uMLJA==", + "dev": true, + "requires": { + "is-ci": "1.2.1", + "normalize-path": "1.0.0", + "strip-indent": "2.0.0" + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "requires": { + "safer-buffer": "2.1.2" + } + }, + "icss-replace-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz", + "integrity": "sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=", + "dev": true + }, + "icss-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-2.1.0.tgz", + "integrity": "sha1-g/Cg7DeL8yRheLbCrZE28TWxyWI=", + "dev": true, + "requires": { + "postcss": "6.0.23" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "source-map": "0.6.1", + "supports-color": "5.5.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "ieee754": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.12.tgz", + "integrity": "sha512-GguP+DRY+pJ3soyIiGPTvdiVXjZ+DbXOxGpXn3eMvNW4x4irjqXm4wHKscC+TfxSJ0yw/S1F24tqdMNsMZTiLA==", + "dev": true + }, + "ignore": { + "version": "3.3.10", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", + "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", + "dev": true + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "dev": true + }, + "in-publish": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.0.tgz", + "integrity": "sha1-4g/146KvwmkDILbcVSaCqcf631E=", + "dev": true + }, + "indent-string": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", + "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "dev": true, + "requires": { + "repeating": "2.0.1" + } + }, + "indexes-of": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", + "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=", + "dev": true + }, + "indexof": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz", + "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "requires": { + "once": "1.4.0", + "wrappy": "1.0.2" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + }, + "inquirer": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz", + "integrity": "sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ==", + "dev": true, + "requires": { + "ansi-escapes": "3.1.0", + "chalk": "2.4.1", + "cli-cursor": "2.1.0", + "cli-width": "2.2.0", + "external-editor": "2.2.0", + "figures": "2.0.0", + "lodash": "4.17.11", + "mute-stream": "0.0.7", + "run-async": "2.3.0", + "rx-lite": "4.0.8", + "rx-lite-aggregates": "4.0.8", + "string-width": "2.1.1", + "strip-ansi": "4.0.0", + "through": "2.3.8" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "3.0.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "interpret": { + "version": "0.6.6", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-0.6.6.tgz", + "integrity": "sha1-/s16GOfOXKar+5U+H4YhOknxYls=", + "dev": true + }, + "invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "dev": true, + "requires": { + "loose-envify": "1.4.0" + } + }, + "invert-kv": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", + "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", + "dev": true + }, + "ipaddr.js": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz", + "integrity": "sha1-6qM9bd16zo9/b+DJygRA5wZzix4=", + "dev": true + }, + "is-absolute-url": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-2.1.0.tgz", + "integrity": "sha1-UFMN+4T8yap9vnhS6Do3uTufKqY=", + "dev": true + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "is-binary-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", + "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", + "dev": true, + "requires": { + "binary-extensions": "1.12.0" + } + }, + "is-boolean-object": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.0.0.tgz", + "integrity": "sha1-mPiygDBoQhmpXzdc+9iM40Bd/5M=", + "dev": true + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "is-builtin-module": { + "version": "1.0.0", + "resolved": "http://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", + "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", + "dev": true, + "requires": { + "builtin-modules": "1.1.1" + } + }, + "is-callable": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", + "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==", + "dev": true + }, + "is-ci": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.2.1.tgz", + "integrity": "sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg==", + "dev": true, + "requires": { + "ci-info": "1.5.1" + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, + "is-date-object": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", + "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", + "dev": true + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "0.1.6", + "is-data-descriptor": "0.1.4", + "kind-of": "5.1.0" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "is-directory": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", + "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", + "dev": true + }, + "is-dotfile": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", + "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=", + "dev": true + }, + "is-equal-shallow": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", + "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", + "dev": true, + "requires": { + "is-primitive": "2.0.0" + } + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + }, + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", + "dev": true + }, + "is-finite": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", + "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "dev": true, + "requires": { + "is-extglob": "1.0.0" + } + }, + "is-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", + "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=", + "dev": true + }, + "is-my-ip-valid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-my-ip-valid/-/is-my-ip-valid-1.0.0.tgz", + "integrity": "sha512-gmh/eWXROncUzRnIa1Ubrt5b8ep/MGSnfAUI3aRp+sqTCs1tv1Isl8d8F6JmkN3dXKc3ehZMrtiPN9eL03NuaQ==", + "dev": true + }, + "is-my-json-valid": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.19.0.tgz", + "integrity": "sha512-mG0f/unGX1HZ5ep4uhRaPOS8EkAY8/j6mDRMJrutq4CqhoJWYp7qAlonIPy3TV7p3ju4TK9fo/PbnoksWmsp5Q==", + "dev": true, + "requires": { + "generate-function": "2.3.1", + "generate-object-property": "1.2.0", + "is-my-ip-valid": "1.0.0", + "jsonpointer": "4.0.1", + "xtend": "4.0.1" + } + }, + "is-number": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", + "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, + "is-number-object": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.3.tgz", + "integrity": "sha1-8mWrian0RQNO9q/xWo8AsA9VF5k=", + "dev": true + }, + "is-obj": { + "version": "1.0.1", + "resolved": "http://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", + "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", + "dev": true + }, + "is-observable": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/is-observable/-/is-observable-0.2.0.tgz", + "integrity": "sha1-s2ExHYPG5dcmyr9eJQsCNxBvWuI=", + "dev": true, + "requires": { + "symbol-observable": "0.2.4" + } + }, + "is-path-cwd": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", + "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=", + "dev": true + }, + "is-path-in-cwd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz", + "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==", + "dev": true, + "requires": { + "is-path-inside": "1.0.1" + } + }, + "is-path-inside": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", + "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", + "dev": true, + "requires": { + "path-is-inside": "1.0.2" + } + }, + "is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", + "dev": true + }, + "is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "requires": { + "isobject": "3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "is-posix-bracket": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", + "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=", + "dev": true + }, + "is-primitive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", + "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=", + "dev": true + }, + "is-promise": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", + "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", + "dev": true + }, + "is-property": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", + "integrity": "sha1-V/4cTkhHTt1lsJkR8msc1Ald2oQ=", + "dev": true + }, + "is-regex": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", + "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", + "dev": true, + "requires": { + "has": "1.0.3" + } + }, + "is-regexp": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", + "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=", + "dev": true + }, + "is-resolvable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz", + "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==", + "dev": true + }, + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" + }, + "is-string": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.4.tgz", + "integrity": "sha1-zDqbaYV9Yh6WNyWiTK7shzuCbmQ=", + "dev": true + }, + "is-subset": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-subset/-/is-subset-0.1.1.tgz", + "integrity": "sha1-ilkRfZMt4d4A8kX83TnOQ/HpOaY=", + "dev": true + }, + "is-svg": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-2.1.0.tgz", + "integrity": "sha1-z2EJDaDZ77yrhyLeum8DIgjbsOk=", + "dev": true, + "requires": { + "html-comment-regex": "1.1.1" + } + }, + "is-symbol": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz", + "integrity": "sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==", + "dev": true, + "requires": { + "has-symbols": "1.0.0" + } + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true + }, + "is-utf8": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", + "dev": true + }, + "is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true + }, + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "isbinaryfile": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-3.0.3.tgz", + "integrity": "sha512-8cJBL5tTd2OS0dM4jz07wQd5g0dCCqIhUxPIGtZfa5L6hWlvV5MHTITy/DBAsF+Oe2LS1X3krBUhNwaGUWpWxw==", + "dev": true, + "requires": { + "buffer-alloc": "1.2.0" + } + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "requires": { + "isarray": "1.0.0" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + } + } + }, + "isomorphic-fetch": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", + "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", + "requires": { + "node-fetch": "1.7.3", + "whatwg-fetch": "3.0.0" + } + }, + "isparta": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/isparta/-/isparta-4.1.0.tgz", + "integrity": "sha512-6AdzFVbr/ZwdVfmgDNpvWPERktHRRTqgzmnb+M6rV4qjkjRfOP1KRtGXBB5UzMtZdpoR2rd7UYu8s9mlG/kQNA==", + "dev": true, + "requires": { + "babel-core": "6.26.3", + "escodegen": "1.11.0", + "esprima": "4.0.1", + "istanbul": "0.4.4", + "mkdirp": "0.5.1", + "nomnomnomnom": "2.0.1", + "object-assign": "4.1.1", + "source-map": "0.5.7", + "which": "1.3.1" + }, + "dependencies": { + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + } + } + }, + "isparta-loader": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isparta-loader/-/isparta-loader-2.0.0.tgz", + "integrity": "sha1-RCX0lsk/dlu8603ZOFdtowdWbtE=", + "dev": true, + "requires": { + "isparta": "4.1.0" + } + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true + }, + "istanbul": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/istanbul/-/istanbul-0.4.4.tgz", + "integrity": "sha1-6M9xjf7bcTyDNKuf+t418QQtKlY=", + "dev": true, + "requires": { + "abbrev": "1.0.9", + "async": "1.5.2", + "escodegen": "1.8.1", + "esprima": "2.7.3", + "fileset": "0.2.1", + "handlebars": "4.0.12", + "js-yaml": "3.7.0", + "mkdirp": "0.5.1", + "nopt": "3.0.6", + "once": "1.4.0", + "resolve": "1.1.7", + "supports-color": "3.2.3", + "which": "1.3.1", + "wordwrap": "1.0.0" + }, + "dependencies": { + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + }, + "escodegen": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.8.1.tgz", + "integrity": "sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg=", + "dev": true, + "requires": { + "esprima": "2.7.3", + "estraverse": "1.9.3", + "esutils": "2.0.2", + "optionator": "0.8.2", + "source-map": "0.2.0" + } + }, + "estraverse": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.9.3.tgz", + "integrity": "sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q=", + "dev": true + }, + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "resolve": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz", + "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=", + "dev": true + }, + "source-map": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.2.0.tgz", + "integrity": "sha1-2rc/vPwrqBm03gO9b26qSBZLP50=", + "dev": true, + "optional": true, + "requires": { + "amdefine": "1.0.1" + } + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "1.0.0" + } + } + } + }, + "jest-get-type": { + "version": "21.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-21.2.0.tgz", + "integrity": "sha512-y2fFw3C+D0yjNSDp7ab1kcd6NUYfy3waPTlD8yWkAtiocJdBRQqNoRqVfMNxgj+IjT0V5cBIHJO0z9vuSSZ43Q==", + "dev": true + }, + "jest-validate": { + "version": "21.2.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-21.2.1.tgz", + "integrity": "sha512-k4HLI1rZQjlU+EC682RlQ6oZvLrE5SCh3brseQc24vbZTxzT/k/3urar5QMCVgjadmSO7lECeGdc6YxnM3yEGg==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "jest-get-type": "21.2.0", + "leven": "2.1.0", + "pretty-format": "21.2.1" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "js-base64": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.4.3.tgz", + "integrity": "sha512-H7ErYLM34CvDMto3GbD6xD0JLUGYXR3QTcH6B/tr4Hi/QpSThnCsIp+Sy5FRTw3B0d6py4HcNkW7nO/wdtGWEw==", + "dev": true + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "js-yaml": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.7.0.tgz", + "integrity": "sha1-XJZ93YN6m/3KXy3oQlOr6KHAO4A=", + "dev": true, + "requires": { + "argparse": "1.0.10", + "esprima": "2.7.3" + } + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true + }, + "jsesc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", + "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", + "dev": true + }, + "json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", + "dev": true + }, + "json-schema-traverse": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=", + "dev": true + }, + "json-stable-stringify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", + "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", + "dev": true, + "requires": { + "jsonify": "0.0.0" + } + }, + "json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", + "dev": true + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true + }, + "json3": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.2.tgz", + "integrity": "sha1-PAQ0dD35Pi9cQq7nsZvLSDV19OE=", + "dev": true + }, + "json5": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", + "dev": true + }, + "jsonfile": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-3.0.1.tgz", + "integrity": "sha1-pezG9l9T9mLEQVx2daAzHQmS7GY=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11" + } + }, + "jsonify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", + "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=", + "dev": true + }, + "jsonpointer": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz", + "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=", + "dev": true + }, + "jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + } + } + }, + "jsx-ast-utils": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.0.1.tgz", + "integrity": "sha1-6AGxs5mF4g//yHtA43SAgOLcrH8=", + "dev": true, + "requires": { + "array-includes": "3.0.3" + } + }, + "just-extend": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-3.0.0.tgz", + "integrity": "sha512-Fu3T6pKBuxjWT/p4DkqGHFRsysc8OauWr4ZRTY9dIx07Y9O0RkoR5jcv28aeD1vuAwhm3nLkDurwLXoALp4DpQ==", + "dev": true + }, + "karma": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/karma/-/karma-1.7.1.tgz", + "integrity": "sha512-k5pBjHDhmkdaUccnC7gE3mBzZjcxyxYsYVaqiL2G5AqlfLyBO5nw2VdNK+O16cveEPd/gIOWULH7gkiYYwVNHg==", + "dev": true, + "requires": { + "bluebird": "3.5.2", + "body-parser": "1.18.2", + "chokidar": "1.7.0", + "colors": "1.1.2", + "combine-lists": "1.0.1", + "connect": "3.6.6", + "core-js": "2.5.7", + "di": "0.0.1", + "dom-serialize": "2.2.1", + "expand-braces": "0.1.2", + "glob": "7.1.3", + "graceful-fs": "4.1.11", + "http-proxy": "1.17.0", + "isbinaryfile": "3.0.3", + "lodash": "3.10.1", + "log4js": "0.6.38", + "mime": "1.6.0", + "minimatch": "3.0.4", + "optimist": "0.6.1", + "qjobs": "1.2.0", + "range-parser": "1.2.0", + "rimraf": "2.6.2", + "safe-buffer": "5.1.2", + "socket.io": "1.7.3", + "source-map": "0.5.7", + "tmp": "0.0.31", + "useragent": "2.3.0" + }, + "dependencies": { + "lodash": { + "version": "3.10.1", + "resolved": "http://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", + "integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=", + "dev": true + }, + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true + }, + "tmp": { + "version": "0.0.31", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.31.tgz", + "integrity": "sha1-jzirlDjhcxXl29izZX6L+yd65Kc=", + "dev": true, + "requires": { + "os-tmpdir": "1.0.2" + } + } + } + }, + "karma-chai": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/karma-chai/-/karma-chai-0.1.0.tgz", + "integrity": "sha1-vuWtQEAFF4Ea40u5RfdikJEIt5o=", + "dev": true + }, + "karma-coverage": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/karma-coverage/-/karma-coverage-1.1.2.tgz", + "integrity": "sha512-eQawj4Cl3z/CjxslYy9ariU4uDh7cCNFZHNWXWRpl0pNeblY/4wHR7M7boTYXWrn9bY0z2pZmr11eKje/S/hIw==", + "dev": true, + "requires": { + "dateformat": "1.0.12", + "istanbul": "0.4.4", + "lodash": "4.17.11", + "minimatch": "3.0.4", + "source-map": "0.5.7" + } + }, + "karma-firefox-launcher": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/karma-firefox-launcher/-/karma-firefox-launcher-1.1.0.tgz", + "integrity": "sha512-LbZ5/XlIXLeQ3cqnCbYLn+rOVhuMIK9aZwlP6eOLGzWdo1UVp7t6CN3DP4SafiRLjexKwHeKHDm0c38Mtd3VxA==", + "dev": true + }, + "karma-mocha": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/karma-mocha/-/karma-mocha-1.3.0.tgz", + "integrity": "sha1-7qrH/8DiAetjxGdEDStpx883eL8=", + "dev": true, + "requires": { + "minimist": "1.2.0" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } + } + }, + "karma-sinon": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/karma-sinon/-/karma-sinon-1.0.5.tgz", + "integrity": "sha1-TjRD8oMP3s/2JNN0cWPxIX2qKpo=", + "dev": true + }, + "karma-sourcemap-loader": { + "version": "0.3.7", + "resolved": "https://registry.npmjs.org/karma-sourcemap-loader/-/karma-sourcemap-loader-0.3.7.tgz", + "integrity": "sha1-kTIsd/jxPUb+0GKwQuEAnUxFBdg=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11" + } + }, + "karma-webpack": { + "version": "2.0.13", + "resolved": "http://registry.npmjs.org/karma-webpack/-/karma-webpack-2.0.13.tgz", + "integrity": "sha512-2cyII34jfrAabbI2+4Rk4j95Nazl98FvZQhgSiqKUDarT317rxfv/EdzZ60CyATN4PQxJdO5ucR5bOOXkEVrXw==", + "dev": true, + "requires": { + "async": "2.6.1", + "babel-runtime": "6.26.0", + "loader-utils": "1.1.0", + "lodash": "4.17.11", + "source-map": "0.5.7", + "webpack-dev-middleware": "1.12.2" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + }, + "loader-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", + "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", + "dev": true, + "requires": { + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1" + } + } + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + }, + "known-css-properties": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.3.0.tgz", + "integrity": "sha512-QMQcnKAiQccfQTqtBh/qwquGZ2XK/DXND1jrcN9M8gMMy99Gwla7GQjndVUsEqIaRyP6bsFRuhwRj5poafBGJQ==", + "dev": true + }, + "lazy-cache": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", + "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", + "dev": true + }, + "lcid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "dev": true, + "requires": { + "invert-kv": "1.0.0" + } + }, + "leven": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz", + "integrity": "sha1-wuep93IJTe6dNCAq6KzORoeHVYA=", + "dev": true + }, + "levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "dev": true, + "requires": { + "prelude-ls": "1.1.2", + "type-check": "0.3.2" + } + }, + "lint-staged": { + "version": "6.1.1", + "resolved": "http://registry.npmjs.org/lint-staged/-/lint-staged-6.1.1.tgz", + "integrity": "sha512-M/7bwLdXbeG7ZNLcasGeLMBDg60/w6obj3KOtINwJyxAxb53XGY0yH5FSZlWklEzuVbTtqtIfAajh6jYIN90AA==", + "dev": true, + "requires": { + "app-root-path": "2.0.1", + "chalk": "2.4.1", + "commander": "2.17.1", + "cosmiconfig": "4.0.0", + "debug": "3.2.5", + "dedent": "0.7.0", + "execa": "0.8.0", + "find-parent-dir": "0.3.0", + "is-glob": "4.0.0", + "jest-validate": "21.2.1", + "listr": "0.13.0", + "lodash": "4.17.11", + "log-symbols": "2.2.0", + "minimatch": "3.0.4", + "npm-which": "3.0.1", + "p-map": "1.2.0", + "path-is-inside": "1.0.2", + "pify": "3.0.0", + "staged-git-files": "1.0.0", + "stringify-object": "3.2.2" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "debug": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.5.tgz", + "integrity": "sha512-D61LaDQPQkxJ5AUM2mbSJRbPkNs/TmdmOeLAi1hgDkpDfIfetSrjmWhccwtuResSwMbACjx/xXQofvM9CE/aeg==", + "dev": true, + "requires": { + "ms": "2.1.1" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-glob": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz", + "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=", + "dev": true, + "requires": { + "is-extglob": "2.1.1" + } + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "listr": { + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/listr/-/listr-0.13.0.tgz", + "integrity": "sha1-ILsLowuuZg7oTMBQPfS+PVYjiH0=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "cli-truncate": "0.2.1", + "figures": "1.7.0", + "indent-string": "2.1.0", + "is-observable": "0.2.0", + "is-promise": "2.1.0", + "is-stream": "1.1.0", + "listr-silent-renderer": "1.1.1", + "listr-update-renderer": "0.4.0", + "listr-verbose-renderer": "0.4.1", + "log-symbols": "1.0.2", + "log-update": "1.0.2", + "ora": "0.2.3", + "p-map": "1.2.0", + "rxjs": "5.5.12", + "stream-to-observable": "0.2.0", + "strip-ansi": "3.0.1" + }, + "dependencies": { + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5", + "object-assign": "4.1.1" + } + }, + "log-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", + "integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=", + "dev": true, + "requires": { + "chalk": "1.1.3" + } + } + } + }, + "listr-silent-renderer": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz", + "integrity": "sha1-kktaN1cVN3C/Go4/v3S4u/P5JC4=", + "dev": true + }, + "listr-update-renderer": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/listr-update-renderer/-/listr-update-renderer-0.4.0.tgz", + "integrity": "sha1-NE2YDaLKLosUW6MFkI8yrj9MyKc=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "cli-truncate": "0.2.1", + "elegant-spinner": "1.0.1", + "figures": "1.7.0", + "indent-string": "3.2.0", + "log-symbols": "1.0.2", + "log-update": "1.0.2", + "strip-ansi": "3.0.1" + }, + "dependencies": { + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5", + "object-assign": "4.1.1" + } + }, + "indent-string": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", + "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=", + "dev": true + }, + "log-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", + "integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=", + "dev": true, + "requires": { + "chalk": "1.1.3" + } + } + } + }, + "listr-verbose-renderer": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz", + "integrity": "sha1-ggb0z21S3cWCfl/RSYng6WWTOjU=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "cli-cursor": "1.0.2", + "date-fns": "1.29.0", + "figures": "1.7.0" + }, + "dependencies": { + "cli-cursor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", + "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", + "dev": true, + "requires": { + "restore-cursor": "1.0.1" + } + }, + "date-fns": { + "version": "1.29.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-1.29.0.tgz", + "integrity": "sha512-lbTXWZ6M20cWH8N9S6afb0SBm6tMk+uUg6z3MqHPKE9atmsY3kJkTm8vKe93izJ2B2+q5MV990sM2CHgtAZaOw==", + "dev": true + }, + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5", + "object-assign": "4.1.1" + } + }, + "onetime": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", + "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", + "dev": true + }, + "restore-cursor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", + "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", + "dev": true, + "requires": { + "exit-hook": "1.1.1", + "onetime": "1.1.0" + } + } + } + }, + "load-json-file": { + "version": "2.0.0", + "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "strip-bom": "3.0.0" + } + }, + "loader-utils": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz", + "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=", + "dev": true, + "requires": { + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1", + "object-assign": "4.1.1" + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "2.0.0", + "path-exists": "3.0.0" + }, + "dependencies": { + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + } + } + }, + "lodash": { + "version": "4.17.11", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", + "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", + "dev": true + }, + "lodash.assign": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", + "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=", + "dev": true + }, + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=", + "dev": true + }, + "lodash.capitalize": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz", + "integrity": "sha1-+CbJtOKoUR2E46yinbBeGk87cqk=", + "dev": true + }, + "lodash.clonedeep": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", + "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", + "dev": true + }, + "lodash.escape": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-4.0.1.tgz", + "integrity": "sha1-yQRGkMIeBClL6qUXcS/e0fqI3pg=", + "dev": true + }, + "lodash.flattendeep": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz", + "integrity": "sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI=", + "dev": true + }, + "lodash.get": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", + "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=", + "dev": true + }, + "lodash.isequal": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", + "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA=", + "dev": true + }, + "lodash.kebabcase": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz", + "integrity": "sha1-hImxyw0p/4gZXM7KRI/21swpXDY=", + "dev": true + }, + "lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", + "dev": true + }, + "lodash.mergewith": { + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.1.tgz", + "integrity": "sha512-eWw5r+PYICtEBgrBE5hhlT6aAa75f411bgDz/ZL2KZqYV03USvucsxcHUIlGTDTECs1eunpI7HOV7U+WLDvNdQ==", + "dev": true + }, + "lodash.uniq": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", + "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=", + "dev": true + }, + "log-symbols": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", + "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", + "dev": true, + "requires": { + "chalk": "2.4.1" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "log-update": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/log-update/-/log-update-1.0.2.tgz", + "integrity": "sha1-GZKfZMQJPS0ucHWh2tivWcKWuNE=", + "dev": true, + "requires": { + "ansi-escapes": "1.4.0", + "cli-cursor": "1.0.2" + }, + "dependencies": { + "ansi-escapes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", + "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=", + "dev": true + }, + "cli-cursor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", + "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", + "dev": true, + "requires": { + "restore-cursor": "1.0.1" + } + }, + "onetime": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", + "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", + "dev": true + }, + "restore-cursor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", + "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", + "dev": true, + "requires": { + "exit-hook": "1.1.1", + "onetime": "1.1.0" + } + } + } + }, + "log4js": { + "version": "0.6.38", + "resolved": "http://registry.npmjs.org/log4js/-/log4js-0.6.38.tgz", + "integrity": "sha1-LElBFmldb7JUgJQ9P8hy5mKlIv0=", + "dev": true, + "requires": { + "readable-stream": "1.0.34", + "semver": "4.3.6" + }, + "dependencies": { + "semver": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/semver/-/semver-4.3.6.tgz", + "integrity": "sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto=", + "dev": true + } + } + }, + "lolex": { + "version": "2.7.5", + "resolved": "https://registry.npmjs.org/lolex/-/lolex-2.7.5.tgz", + "integrity": "sha512-l9x0+1offnKKIzYVjyXU2SiwhXDLekRzKyhnbyldPHvC7BvLPVpdNUNR2KeMAiCN2D/kLNttZgQD5WjSxuBx3Q==", + "dev": true + }, + "longest": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", + "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=", + "dev": true + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "requires": { + "js-tokens": "4.0.0" + } + }, + "loud-rejection": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", + "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", + "dev": true, + "requires": { + "currently-unhandled": "0.4.1", + "signal-exit": "3.0.2" + } + }, + "lru-cache": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz", + "integrity": "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==", + "dev": true, + "requires": { + "pseudomap": "1.0.2", + "yallist": "2.1.2" + } + }, + "macaddress": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/macaddress/-/macaddress-0.2.9.tgz", + "integrity": "sha512-k4F1JUof6cQXxNFzx3thLby4oJzXTXQueAOOts944Vqizn+Rjc2QNFenT9FJSLU1CH3PmrHRSyZs2E+Cqw+P2w==", + "dev": true + }, + "magic-string": { + "version": "0.22.5", + "resolved": "http://registry.npmjs.org/magic-string/-/magic-string-0.22.5.tgz", + "integrity": "sha512-oreip9rJZkzvA8Qzk9HFs8fZGF/u7H/gtrE8EN6RjKJ9kh2HlC+yQ2QezifqTZfGyiuAV0dRv5a+y/8gBb1m9w==", + "dev": true, + "requires": { + "vlq": "0.2.3" + } + }, + "map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", + "dev": true + }, + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true + }, + "map-stream": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.0.7.tgz", + "integrity": "sha1-ih8HiW2CsQkmvTdEokIACfiJdKg=", + "dev": true + }, + "map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", + "dev": true, + "requires": { + "object-visit": "1.0.1" + } + }, + "math-expression-evaluator": { + "version": "1.2.17", + "resolved": "https://registry.npmjs.org/math-expression-evaluator/-/math-expression-evaluator-1.2.17.tgz", + "integrity": "sha1-3oGf282E3M2PrlnGrreWFbnSZqw=", + "dev": true + }, + "math-random": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.1.tgz", + "integrity": "sha1-izqsWIuKZuSXXjzepn97sylgH6w=", + "dev": true + }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", + "dev": true + }, + "memory-fs": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", + "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", + "dev": true, + "requires": { + "errno": "0.1.7", + "readable-stream": "2.3.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "memorystream": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", + "integrity": "sha1-htcJCzDORV1j+64S3aUaR93K+bI=", + "dev": true + }, + "meow": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "dev": true, + "requires": { + "camelcase-keys": "2.1.0", + "decamelize": "1.2.0", + "loud-rejection": "1.6.0", + "map-obj": "1.0.1", + "minimist": "1.2.0", + "normalize-package-data": "2.4.0", + "object-assign": "4.1.1", + "read-pkg-up": "1.0.1", + "redent": "1.0.0", + "trim-newlines": "1.0.0" + }, + "dependencies": { + "load-json-file": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "strip-bom": "2.0.0" + } + }, + "minimist": { + "version": "1.2.0", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + } + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "requires": { + "load-json-file": "1.1.0", + "normalize-package-data": "2.4.0", + "path-type": "1.1.0" + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "dev": true, + "requires": { + "find-up": "1.1.2", + "read-pkg": "1.1.0" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "requires": { + "is-utf8": "0.2.1" + } + } + } + }, + "merge": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/merge/-/merge-1.2.0.tgz", + "integrity": "sha1-dTHjnUlJwoGma4xabgJl6LBYlNo=", + "dev": true + }, + "merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", + "dev": true + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", + "dev": true + }, + "micromatch": { + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", + "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", + "dev": true, + "requires": { + "arr-diff": "2.0.0", + "array-unique": "0.2.1", + "braces": "1.8.5", + "expand-brackets": "0.1.5", + "extglob": "0.3.2", + "filename-regex": "2.0.1", + "is-extglob": "1.0.0", + "is-glob": "2.0.1", + "kind-of": "3.2.2", + "normalize-path": "2.1.1", + "object.omit": "2.0.1", + "parse-glob": "3.0.4", + "regex-cache": "0.4.4" + }, + "dependencies": { + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "requires": { + "remove-trailing-separator": "1.1.0" + } + } + } + }, + "mime": { + "version": "1.2.11", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz", + "integrity": "sha1-WCA+7Ybjpe8XrtK32evUfwpg3RA=", + "dev": true, + "optional": true + }, + "mime-db": { + "version": "1.36.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.36.0.tgz", + "integrity": "sha512-L+xvyD9MkoYMXb1jAmzI/lWYAxAMCPvIBSWur0PZ5nOf5euahRLVqH//FKW9mWp2lkqUgYiXPgkzfMUFi4zVDw==", + "dev": true + }, + "mime-types": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-1.0.2.tgz", + "integrity": "sha1-mVrhOSq4r/y/yyZB3QVOlDwNXc4=", + "dev": true + }, + "mimic-fn": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", + "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "dev": true + }, + "min-document": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", + "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=", + "dev": true, + "requires": { + "dom-walk": "0.1.1" + } + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "requires": { + "brace-expansion": "1.1.11" + } + }, + "minimist": { + "version": "0.0.8", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "dev": true + }, + "mixin-deep": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", + "integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==", + "dev": true, + "requires": { + "for-in": "1.0.2", + "is-extendable": "1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "2.0.4" + } + } + } + }, + "mkdirp": { + "version": "0.5.1", + "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "dev": true, + "requires": { + "minimist": "0.0.8" + } + }, + "mocha": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-4.1.0.tgz", + "integrity": "sha512-0RVnjg1HJsXY2YFDoTNzcc1NKhYuXKRrBAG2gDygmJJA136Cs2QlRliZG1mA0ap7cuaT30mw16luAeln+4RiNA==", + "dev": true, + "requires": { + "browser-stdout": "1.3.0", + "commander": "2.11.0", + "debug": "3.1.0", + "diff": "3.3.1", + "escape-string-regexp": "1.0.5", + "glob": "7.1.2", + "growl": "1.10.3", + "he": "1.1.1", + "mkdirp": "0.5.1", + "supports-color": "4.4.0" + }, + "dependencies": { + "commander": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", + "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==", + "dev": true + }, + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "dev": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "has-flag": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", + "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=", + "dev": true + }, + "supports-color": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.4.0.tgz", + "integrity": "sha512-rKC3+DyXWgK0ZLKwmRsrkyHVZAjNkfzeehuFWdGGcqGDTZFH73+RH6S/RDAAxl9GusSjZSUWYLmT9N5pzXFOXQ==", + "dev": true, + "requires": { + "has-flag": "2.0.0" + } + } + } + }, + "moo": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/moo/-/moo-0.4.3.tgz", + "integrity": "sha512-gFD2xGCl8YFgGHsqJ9NKRVdwlioeW3mI1iqfLNYQOv0+6JRwG58Zk9DIGQgyIaffSYaO1xsKnMaYzzNr1KyIAw==", + "dev": true + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "mute-stream": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", + "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", + "dev": true + }, + "nan": { + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.11.1.tgz", + "integrity": "sha512-iji6k87OSXa0CcrLl9z+ZiYSuR2o+c0bGuNmXdrhTQTakxytAFsC56SArGYoiHlJlFoHSnvmhpceZJaXkVuOtA==", + "dev": true + }, + "nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "dev": true, + "requires": { + "arr-diff": "4.0.0", + "array-unique": "0.3.2", + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "fragment-cache": "0.2.1", + "is-windows": "1.0.2", + "kind-of": "6.0.2", + "object.pick": "1.3.0", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + }, + "dependencies": { + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "dev": true + }, + "nearley": { + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/nearley/-/nearley-2.15.1.tgz", + "integrity": "sha512-8IUY/rUrKz2mIynUGh8k+tul1awMKEjeHHC5G3FHvvyAW6oq4mQfNp2c0BMea+sYZJvYcrrM6GmZVIle/GRXGw==", + "dev": true, + "requires": { + "moo": "0.4.3", + "nomnom": "1.6.2", + "railroad-diagrams": "1.0.0", + "randexp": "0.4.6", + "semver": "5.5.1" + } + }, + "negotiator": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", + "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=", + "dev": true + }, + "next-tick": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", + "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=", + "dev": true + }, + "nice-try": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.4.tgz", + "integrity": "sha512-2NpiFHqC87y/zFke0fC0spBXL3bBsoh/p5H1EFhshxjCR5+0g2d6BiXbUFz9v1sAcxsk2htp2eQnNIci2dIYcA==", + "dev": true + }, + "nise": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/nise/-/nise-1.4.5.tgz", + "integrity": "sha512-OHRVvdxKgwZELf2DTgsJEIA4MOq8XWvpSUzoOXyxJ2mY0mMENWC66+70AShLR2z05B1dzrzWlUQJmJERlOUpZw==", + "dev": true, + "requires": { + "@sinonjs/formatio": "3.0.0", + "just-extend": "3.0.0", + "lolex": "2.7.5", + "path-to-regexp": "1.7.0", + "text-encoding": "0.6.4" + }, + "dependencies": { + "@sinonjs/formatio": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/formatio/-/formatio-3.0.0.tgz", + "integrity": "sha512-vdjoYLDptCgvtJs57ULshak3iJe4NW3sJ3g36xVDGff5AE8P30S6A093EIEPjdi2noGhfuNOEkbxt3J3awFW1w==", + "dev": true, + "requires": { + "@sinonjs/samsam": "2.1.0" + } + }, + "path-to-regexp": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.7.0.tgz", + "integrity": "sha1-Wf3g9DW62suhA6hOnTvGTpa5k30=", + "dev": true, + "requires": { + "isarray": "0.0.1" + } + } + } + }, + "node-dir": { + "version": "0.1.17", + "resolved": "https://registry.npmjs.org/node-dir/-/node-dir-0.1.17.tgz", + "integrity": "sha1-X1Zl2TNRM1yqvvjxxVRRbPXx5OU=", + "dev": true, + "requires": { + "minimatch": "3.0.4" + } + }, + "node-fetch": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "requires": { + "encoding": "0.1.12", + "is-stream": "1.1.0" + } + }, + "node-gyp": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.8.0.tgz", + "integrity": "sha512-3g8lYefrRRzvGeSowdJKAKyks8oUpLEd/DyPV4eMhVlhJ0aNaZqIrNUIPuEWWTAoPqyFkfGrM67MC69baqn6vA==", + "dev": true, + "requires": { + "fstream": "1.0.11", + "glob": "7.1.3", + "graceful-fs": "4.1.11", + "mkdirp": "0.5.1", + "nopt": "3.0.6", + "npmlog": "4.1.2", + "osenv": "0.1.5", + "request": "2.88.0", + "rimraf": "2.6.2", + "semver": "5.3.0", + "tar": "2.2.1", + "which": "1.3.1" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "combined-stream": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz", + "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==", + "dev": true, + "requires": { + "delayed-stream": "1.0.0" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "requires": { + "asynckit": "0.4.0", + "combined-stream": "1.0.7", + "mime-types": "2.1.21" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "jsprim": "1.4.1", + "sshpk": "1.15.1" + } + }, + "mime-db": { + "version": "1.37.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz", + "integrity": "sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg==", + "dev": true + }, + "mime-types": { + "version": "2.1.21", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz", + "integrity": "sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==", + "dev": true, + "requires": { + "mime-db": "1.37.0" + } + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true + }, + "request": { + "version": "2.88.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "dev": true, + "requires": { + "aws-sign2": "0.7.0", + "aws4": "1.8.0", + "caseless": "0.12.0", + "combined-stream": "1.0.7", + "extend": "3.0.2", + "forever-agent": "0.6.1", + "form-data": "2.3.3", + "har-validator": "5.1.0", + "http-signature": "1.2.0", + "is-typedarray": "1.0.0", + "isstream": "0.1.2", + "json-stringify-safe": "5.0.1", + "mime-types": "2.1.21", + "oauth-sign": "0.9.0", + "performance-now": "2.1.0", + "qs": "6.5.2", + "safe-buffer": "5.1.2", + "tough-cookie": "2.4.3", + "tunnel-agent": "0.6.0", + "uuid": "3.3.2" + } + }, + "semver": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", + "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=", + "dev": true + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + }, + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + "dev": true + } + } + }, + "node-libs-browser": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-0.7.0.tgz", + "integrity": "sha1-PicsCBnjCJNeJmdECNevDhSRuDs=", + "dev": true, + "requires": { + "assert": "1.4.1", + "browserify-zlib": "0.1.4", + "buffer": "4.9.1", + "console-browserify": "1.1.0", + "constants-browserify": "1.0.0", + "crypto-browserify": "3.3.0", + "domain-browser": "1.2.0", + "events": "1.1.1", + "https-browserify": "0.0.1", + "os-browserify": "0.2.1", + "path-browserify": "0.0.0", + "process": "0.11.10", + "punycode": "1.4.1", + "querystring-es3": "0.2.1", + "readable-stream": "2.3.6", + "stream-browserify": "2.0.1", + "stream-http": "2.8.3", + "string_decoder": "0.10.31", + "timers-browserify": "2.0.10", + "tty-browserify": "0.0.0", + "url": "0.11.0", + "util": "0.10.4", + "vm-browserify": "0.0.4" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + }, + "dependencies": { + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + } + } + }, + "node-sass": { + "version": "4.9.4", + "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.9.4.tgz", + "integrity": "sha512-MXyurANsUoE4/6KmfMkwGcBzAnJQ5xJBGW7Ei6ea8KnUKuzHr/SguVBIi3uaUAHtZCPUYkvlJ3Ef5T5VAwVpaA==", + "dev": true, + "requires": { + "async-foreach": "0.1.3", + "chalk": "1.1.3", + "cross-spawn": "3.0.1", + "gaze": "1.1.3", + "get-stdin": "4.0.1", + "glob": "7.1.3", + "in-publish": "2.0.0", + "lodash.assign": "4.2.0", + "lodash.clonedeep": "4.5.0", + "lodash.mergewith": "4.6.1", + "meow": "3.7.0", + "mkdirp": "0.5.1", + "nan": "2.11.1", + "node-gyp": "3.8.0", + "npmlog": "4.1.2", + "request": "2.88.0", + "sass-graph": "2.2.4", + "stdout-stream": "1.4.1", + "true-case-path": "1.0.3" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "combined-stream": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz", + "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==", + "dev": true, + "requires": { + "delayed-stream": "1.0.0" + } + }, + "cross-spawn": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-3.0.1.tgz", + "integrity": "sha1-ElYDfsufDF9549bvE14wdwGEuYI=", + "dev": true, + "requires": { + "lru-cache": "4.1.3", + "which": "1.3.1" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "requires": { + "asynckit": "0.4.0", + "combined-stream": "1.0.7", + "mime-types": "2.1.21" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "jsprim": "1.4.1", + "sshpk": "1.15.1" + } + }, + "mime-db": { + "version": "1.37.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz", + "integrity": "sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg==", + "dev": true + }, + "mime-types": { + "version": "2.1.21", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz", + "integrity": "sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==", + "dev": true, + "requires": { + "mime-db": "1.37.0" + } + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true + }, + "request": { + "version": "2.88.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "dev": true, + "requires": { + "aws-sign2": "0.7.0", + "aws4": "1.8.0", + "caseless": "0.12.0", + "combined-stream": "1.0.7", + "extend": "3.0.2", + "forever-agent": "0.6.1", + "form-data": "2.3.3", + "har-validator": "5.1.0", + "http-signature": "1.2.0", + "is-typedarray": "1.0.0", + "isstream": "0.1.2", + "json-stringify-safe": "5.0.1", + "mime-types": "2.1.21", + "oauth-sign": "0.9.0", + "performance-now": "2.1.0", + "qs": "6.5.2", + "safe-buffer": "5.1.2", + "tough-cookie": "2.4.3", + "tunnel-agent": "0.6.0", + "uuid": "3.3.2" + } + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + }, + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + "dev": true + } + } + }, + "node-uuid": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.8.tgz", + "integrity": "sha1-sEDrCSOWivq/jTL7HxfxFn/auQc=", + "dev": true + }, + "nomnom": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/nomnom/-/nomnom-1.6.2.tgz", + "integrity": "sha1-hKZqJgF0QI/Ft3oY+IjszET7aXE=", + "dev": true, + "requires": { + "colors": "0.5.1", + "underscore": "1.4.4" + }, + "dependencies": { + "colors": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/colors/-/colors-0.5.1.tgz", + "integrity": "sha1-fQAj6usVTo7p/Oddy5I9DtFmd3Q=", + "dev": true + } + } + }, + "nomnomnomnom": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/nomnomnomnom/-/nomnomnomnom-2.0.1.tgz", + "integrity": "sha1-siOfAxyNBNpn4yg24eMZnhL3qOI=", + "dev": true, + "requires": { + "chalk": "0.4.0", + "underscore": "1.6.0" + }, + "dependencies": { + "ansi-styles": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.0.0.tgz", + "integrity": "sha1-yxAt8cVvUSPquLZ817mAJ6AnkXg=", + "dev": true + }, + "chalk": { + "version": "0.4.0", + "resolved": "http://registry.npmjs.org/chalk/-/chalk-0.4.0.tgz", + "integrity": "sha1-UZmj3c0MHv4jvAjBsCewYXbgxk8=", + "dev": true, + "requires": { + "ansi-styles": "1.0.0", + "has-color": "0.1.7", + "strip-ansi": "0.1.1" + } + }, + "strip-ansi": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz", + "integrity": "sha1-OeipjQRNFQZgq+SmgIrPcLt7yZE=", + "dev": true + }, + "underscore": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz", + "integrity": "sha1-izixDKze9jM3uLJOT/htRa6lKag=", + "dev": true + } + } + }, + "nopt": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", + "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", + "dev": true, + "requires": { + "abbrev": "1.0.9" + } + }, + "normalize-package-data": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", + "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", + "dev": true, + "requires": { + "hosted-git-info": "2.7.1", + "is-builtin-module": "1.0.0", + "semver": "5.5.1", + "validate-npm-package-license": "3.0.4" + } + }, + "normalize-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-1.0.0.tgz", + "integrity": "sha1-MtDkcvkf80VwHBWoMRAY07CpA3k=", + "dev": true + }, + "normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", + "dev": true + }, + "normalize-url": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-1.9.1.tgz", + "integrity": "sha1-LMDWazHqIwNkWENuNiDYWVTGbDw=", + "dev": true, + "requires": { + "object-assign": "4.1.1", + "prepend-http": "1.0.4", + "query-string": "4.3.4", + "sort-keys": "1.1.2" + } + }, + "npm-path": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/npm-path/-/npm-path-2.0.4.tgz", + "integrity": "sha512-IFsj0R9C7ZdR5cP+ET342q77uSRdtWOlWpih5eC+lu29tIDbNEgDbzgVJ5UFvYHWhxDZ5TFkJafFioO0pPQjCw==", + "dev": true, + "requires": { + "which": "1.3.1" + } + }, + "npm-run-all": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.3.tgz", + "integrity": "sha512-aOG0N3Eo/WW+q6sUIdzcV2COS8VnTZCmdji0VQIAZF3b+a3YWb0AD0vFIyjKec18A7beLGbaQ5jFTNI2bPt9Cg==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "chalk": "2.4.1", + "cross-spawn": "6.0.5", + "memorystream": "0.3.1", + "minimatch": "3.0.4", + "ps-tree": "1.1.0", + "read-pkg": "3.0.0", + "shell-quote": "1.6.1", + "string.prototype.padend": "3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "load-json-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "4.0.0", + "pify": "3.0.0", + "strip-bom": "3.0.0" + } + }, + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "requires": { + "error-ex": "1.3.2", + "json-parse-better-errors": "1.0.2" + } + }, + "path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "requires": { + "pify": "3.0.0" + } + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + }, + "read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", + "dev": true, + "requires": { + "load-json-file": "4.0.0", + "normalize-package-data": "2.4.0", + "path-type": "3.0.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "npm-run-path": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", + "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", + "dev": true, + "requires": { + "path-key": "2.0.1" + } + }, + "npm-which": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/npm-which/-/npm-which-3.0.1.tgz", + "integrity": "sha1-kiXybsOihcIJyuZ8OxGmtKtxQKo=", + "dev": true, + "requires": { + "commander": "2.17.1", + "npm-path": "2.0.4", + "which": "1.3.1" + } + }, + "npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "dev": true, + "requires": { + "are-we-there-yet": "1.1.5", + "console-control-strings": "1.1.0", + "gauge": "2.7.4", + "set-blocking": "2.0.0" + } + }, + "nth-check": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", + "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", + "dev": true, + "requires": { + "boolbase": "1.0.0" + } + }, + "num2fraction": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", + "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=", + "dev": true + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true + }, + "oauth-sign": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.4.0.tgz", + "integrity": "sha1-8ilW8x6nFRqCHl8vsywRPK2Ln2k=", + "dev": true, + "optional": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "object-component": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/object-component/-/object-component-0.0.3.tgz", + "integrity": "sha1-8MaapQ78lbhmwYb0AKM3acsvEpE=", + "dev": true + }, + "object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "dev": true, + "requires": { + "copy-descriptor": "0.1.1", + "define-property": "0.2.5", + "kind-of": "3.2.2" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + } + } + }, + "object-inspect": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.6.0.tgz", + "integrity": "sha512-GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ==", + "dev": true + }, + "object-is": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.0.1.tgz", + "integrity": "sha1-CqYOyZiaCz7Xlc9NBvYs8a1lObY=", + "dev": true + }, + "object-keys": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.12.tgz", + "integrity": "sha512-FTMyFUm2wBcGHnH2eXmz7tC6IwlqQZ6mVZ+6dm6vZ4IQIHjs6FdNsQBuKGPuUUUY6NfJw2PshC08Tn6LzLDOag==", + "dev": true + }, + "object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "dev": true, + "requires": { + "isobject": "3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "object.assign": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", + "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "function-bind": "1.1.1", + "has-symbols": "1.0.0", + "object-keys": "1.0.12" + } + }, + "object.entries": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.0.4.tgz", + "integrity": "sha1-G/mk3SKI9bM/Opk9JXZh8F0WGl8=", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0", + "function-bind": "1.1.1", + "has": "1.0.3" + } + }, + "object.omit": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", + "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", + "dev": true, + "requires": { + "for-own": "0.1.5", + "is-extendable": "0.1.1" + } + }, + "object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", + "dev": true, + "requires": { + "isobject": "3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "object.values": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.0.4.tgz", + "integrity": "sha1-5STaCbT2b/Bd9FdUbscqyZ8TBpo=", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0", + "function-bind": "1.1.1", + "has": "1.0.3" + } + }, + "on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "dev": true, + "requires": { + "ee-first": "1.1.1" + } + }, + "on-headers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.1.tgz", + "integrity": "sha1-ko9dD0cNSTQmUepnlLCFfBAGk/c=", + "dev": true + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "requires": { + "wrappy": "1.0.2" + } + }, + "onetime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", + "dev": true, + "requires": { + "mimic-fn": "1.2.0" + } + }, + "open": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/open/-/open-0.0.5.tgz", + "integrity": "sha1-QsPhjslUZra/DcQvOilFw/DK2Pw=", + "dev": true + }, + "optimist": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", + "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", + "dev": true, + "requires": { + "minimist": "0.0.8", + "wordwrap": "0.0.3" + }, + "dependencies": { + "wordwrap": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", + "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", + "dev": true + } + } + }, + "optionator": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", + "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", + "dev": true, + "requires": { + "deep-is": "0.1.3", + "fast-levenshtein": "2.0.6", + "levn": "0.3.0", + "prelude-ls": "1.1.2", + "type-check": "0.3.2", + "wordwrap": "1.0.0" + } + }, + "options": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/options/-/options-0.0.6.tgz", + "integrity": "sha1-7CLTEoBrtT5zF3Pnza788cZDEo8=", + "dev": true + }, + "ora": { + "version": "0.2.3", + "resolved": "http://registry.npmjs.org/ora/-/ora-0.2.3.tgz", + "integrity": "sha1-N1J9Igrc1Tw5tzVx11QVbV22V6Q=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "cli-cursor": "1.0.2", + "cli-spinners": "0.1.2", + "object-assign": "4.1.1" + }, + "dependencies": { + "cli-cursor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", + "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", + "dev": true, + "requires": { + "restore-cursor": "1.0.1" + } + }, + "onetime": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", + "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", + "dev": true + }, + "restore-cursor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", + "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", + "dev": true, + "requires": { + "exit-hook": "1.1.1", + "onetime": "1.1.0" + } + } + } + }, + "original": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz", + "integrity": "sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg==", + "dev": true, + "requires": { + "url-parse": "1.4.3" + } + }, + "os-browserify": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.2.1.tgz", + "integrity": "sha1-Y/xMzuXS13Y9Jrv4YBB45sLgBE8=", + "dev": true + }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true + }, + "os-locale": { + "version": "1.4.0", + "resolved": "http://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", + "dev": true, + "requires": { + "lcid": "1.0.0" + } + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "dev": true + }, + "osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "dev": true, + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, + "p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "dev": true + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "1.3.0" + } + }, + "p-map": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz", + "integrity": "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==", + "dev": true + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true + }, + "pako": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz", + "integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU=", + "dev": true + }, + "parse-glob": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", + "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", + "dev": true, + "requires": { + "glob-base": "0.3.0", + "is-dotfile": "1.0.3", + "is-extglob": "1.0.0", + "is-glob": "2.0.1" + } + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "1.3.2" + } + }, + "parse5": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz", + "integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==", + "dev": true, + "requires": { + "@types/node": "10.12.0" + } + }, + "parsejson": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/parsejson/-/parsejson-0.0.3.tgz", + "integrity": "sha1-q343WfIJ7OmUN5c/fQ8fZK4OZKs=", + "dev": true, + "requires": { + "better-assert": "1.0.2" + } + }, + "parseqs": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.5.tgz", + "integrity": "sha1-1SCKNzjkZ2bikbouoXNoSSGouJ0=", + "dev": true, + "requires": { + "better-assert": "1.0.2" + } + }, + "parseuri": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.5.tgz", + "integrity": "sha1-gCBKUNTbt3m/3G6+J3jZDkvOMgo=", + "dev": true, + "requires": { + "better-assert": "1.0.2" + } + }, + "parseurl": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz", + "integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M=", + "dev": true + }, + "pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", + "dev": true + }, + "path-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.0.tgz", + "integrity": "sha1-oLhwcpquIUAFt9UDLsLLuw+0RRo=", + "dev": true + }, + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "dev": true, + "requires": { + "pinkie-promise": "2.0.1" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true + }, + "path-is-inside": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", + "dev": true + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true + }, + "path-parse": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "dev": true + }, + "path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", + "dev": true + }, + "path-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", + "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", + "dev": true, + "requires": { + "pify": "2.3.0" + } + }, + "pause-stream": { + "version": "0.0.11", + "resolved": "http://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz", + "integrity": "sha1-/lo0sMvOErWqaitAPuLnO2AvFEU=", + "dev": true, + "requires": { + "through": "2.3.8" + } + }, + "pbkdf2-compat": { + "version": "2.0.1", + "resolved": "http://registry.npmjs.org/pbkdf2-compat/-/pbkdf2-compat-2.0.1.tgz", + "integrity": "sha1-tuDI+plJTZTgURV1gCpZpcFC8og=", + "dev": true + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", + "dev": true + }, + "pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "dev": true, + "requires": { + "pinkie": "2.0.4" + } + }, + "pkg-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-1.0.0.tgz", + "integrity": "sha1-ektQio1bstYp1EcFb/TpyTFM89Q=", + "dev": true, + "requires": { + "find-up": "1.1.2" + } + }, + "pluralize": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz", + "integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==", + "dev": true + }, + "popper.js": { + "version": "1.14.4", + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.14.4.tgz", + "integrity": "sha1-juwdj/AqWjoVLdQ0FKFce3n9abY=" + }, + "posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", + "dev": true + }, + "postcss": { + "version": "5.2.18", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", + "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", + "dev": true, + "requires": { + "chalk": "1.1.3", + "js-base64": "2.4.3", + "source-map": "0.5.7", + "supports-color": "3.2.3" + }, + "dependencies": { + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "1.0.0" + } + } + } + }, + "postcss-calc": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-5.3.1.tgz", + "integrity": "sha1-d7rnypKK2FcW4v2kLyYb98HWW14=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "postcss-message-helpers": "2.0.0", + "reduce-css-calc": "1.3.0" + } + }, + "postcss-colormin": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-2.2.2.tgz", + "integrity": "sha1-ZjFBfV8OkJo9fsJrJMio0eT5bks=", + "dev": true, + "requires": { + "colormin": "1.1.2", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-convert-values": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-2.6.1.tgz", + "integrity": "sha1-u9hZPFwf0uPRwyK7kl3K6Nrk1i0=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-discard-comments": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-2.0.4.tgz", + "integrity": "sha1-vv6J+v1bPazlzM5Rt2uBUUvgDj0=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-discard-duplicates": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-2.1.0.tgz", + "integrity": "sha1-uavye4isGIFYpesSq8riAmO5GTI=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-discard-empty": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-2.1.0.tgz", + "integrity": "sha1-0rS9nVztXr2Nyt52QMfXzX9PkrU=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-discard-overridden": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-0.1.1.tgz", + "integrity": "sha1-ix6vVU9ob7KIzYdMVWZ7CqNmjVg=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-discard-unused": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/postcss-discard-unused/-/postcss-discard-unused-2.2.3.tgz", + "integrity": "sha1-vOMLLMWR/8Y0Mitfs0ZLbZNPRDM=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "uniqs": "2.0.0" + } + }, + "postcss-filter-plugins": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/postcss-filter-plugins/-/postcss-filter-plugins-2.0.2.tgz", + "integrity": "sha1-bYWGJTTXNaxCDkqFgG4fXUKG2Ew=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "uniqid": "4.1.1" + } + }, + "postcss-merge-idents": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-2.1.7.tgz", + "integrity": "sha1-TFUwMTwI4dWzu/PSu8dH4njuonA=", + "dev": true, + "requires": { + "has": "1.0.3", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-merge-longhand": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-2.0.2.tgz", + "integrity": "sha1-I9kM0Sewp3mUkVMyc5A0oaTz1lg=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-merge-rules": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-2.1.2.tgz", + "integrity": "sha1-0d9d+qexrMO+VT8OnhDofGG19yE=", + "dev": true, + "requires": { + "browserslist": "1.7.7", + "caniuse-api": "1.6.1", + "postcss": "5.2.18", + "postcss-selector-parser": "2.2.3", + "vendors": "1.0.2" + }, + "dependencies": { + "browserslist": { + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz", + "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", + "dev": true, + "requires": { + "caniuse-db": "1.0.30000890", + "electron-to-chromium": "1.3.67" + } + } + } + }, + "postcss-message-helpers": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postcss-message-helpers/-/postcss-message-helpers-2.0.0.tgz", + "integrity": "sha1-pPL0+rbk/gAvCu0ABHjN9S+bpg4=", + "dev": true + }, + "postcss-minify-font-values": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-1.0.5.tgz", + "integrity": "sha1-S1jttWZB66fIR0qzUmyv17vey2k=", + "dev": true, + "requires": { + "object-assign": "4.1.1", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-minify-gradients": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-1.0.5.tgz", + "integrity": "sha1-Xb2hE3NwP4PPtKPqOIHY11/15uE=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-minify-params": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-1.2.2.tgz", + "integrity": "sha1-rSzgcTc7lDs9kwo/pZo1jCjW8fM=", + "dev": true, + "requires": { + "alphanum-sort": "1.0.2", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0", + "uniqs": "2.0.0" + } + }, + "postcss-minify-selectors": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-2.1.1.tgz", + "integrity": "sha1-ssapjAByz5G5MtGkllCBFDEXNb8=", + "dev": true, + "requires": { + "alphanum-sort": "1.0.2", + "has": "1.0.3", + "postcss": "5.2.18", + "postcss-selector-parser": "2.2.3" + } + }, + "postcss-modules-extract-imports": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.2.0.tgz", + "integrity": "sha1-ZhQOzs447wa/DT41XWm/WdFB6oU=", + "dev": true, + "requires": { + "postcss": "6.0.23" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "source-map": "0.6.1", + "supports-color": "5.5.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "postcss-modules-local-by-default": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz", + "integrity": "sha1-99gMOYxaOT+nlkRmvRlQCn1hwGk=", + "dev": true, + "requires": { + "css-selector-tokenizer": "0.7.0", + "postcss": "6.0.23" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "source-map": "0.6.1", + "supports-color": "5.5.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "postcss-modules-scope": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-1.1.0.tgz", + "integrity": "sha1-1upkmUx5+XtipytCb75gVqGUu5A=", + "dev": true, + "requires": { + "css-selector-tokenizer": "0.7.0", + "postcss": "6.0.23" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "source-map": "0.6.1", + "supports-color": "5.5.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "postcss-modules-values": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-1.3.0.tgz", + "integrity": "sha1-7P+p1+GSUYOJ9CrQ6D9yrsRW6iA=", + "dev": true, + "requires": { + "icss-replace-symbols": "1.1.0", + "postcss": "6.0.23" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "source-map": "0.6.1", + "supports-color": "5.5.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "postcss-normalize-charset": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-1.1.1.tgz", + "integrity": "sha1-757nEhLX/nWceO0WL2HtYrXLk/E=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-normalize-url": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-3.0.8.tgz", + "integrity": "sha1-EI90s/L82viRov+j6kWSJ5/HgiI=", + "dev": true, + "requires": { + "is-absolute-url": "2.1.0", + "normalize-url": "1.9.1", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-ordered-values": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-2.2.3.tgz", + "integrity": "sha1-7sbCpntsQSqNsgQud/6NpD+VwR0=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-reduce-idents": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/postcss-reduce-idents/-/postcss-reduce-idents-2.4.0.tgz", + "integrity": "sha1-wsbSDMlYKE9qv75j92Cb9AkFmtM=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-reduce-initial": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-1.0.1.tgz", + "integrity": "sha1-aPgGlfBF0IJjqHmtJA343WT2ROo=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-reduce-transforms": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-1.0.4.tgz", + "integrity": "sha1-/3b02CEkN7McKYpC0uFEQCV3GuE=", + "dev": true, + "requires": { + "has": "1.0.3", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-selector-parser": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-2.2.3.tgz", + "integrity": "sha1-+UN3iGBsPJrO4W/+jYsWKX8nu5A=", + "dev": true, + "requires": { + "flatten": "1.0.2", + "indexes-of": "1.0.1", + "uniq": "1.0.1" + } + }, + "postcss-svgo": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-2.1.6.tgz", + "integrity": "sha1-tt8YqmE7Zm4TPwittSGcJoSsEI0=", + "dev": true, + "requires": { + "is-svg": "2.1.0", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0", + "svgo": "0.7.2" + } + }, + "postcss-unique-selectors": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-2.0.2.tgz", + "integrity": "sha1-mB1X0p3csz57Hf4f1DuGSfkzyh0=", + "dev": true, + "requires": { + "alphanum-sort": "1.0.2", + "postcss": "5.2.18", + "uniqs": "2.0.0" + } + }, + "postcss-value-parser": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.0.tgz", + "integrity": "sha1-h/OPnxj3dKSrTIojL1xc6IcqnRU=", + "dev": true + }, + "postcss-zindex": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/postcss-zindex/-/postcss-zindex-2.2.0.tgz", + "integrity": "sha1-0hCd3AVbka9n/EyzsCWUZjnSryI=", + "dev": true, + "requires": { + "has": "1.0.3", + "postcss": "5.2.18", + "uniqs": "2.0.0" + } + }, + "prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", + "dev": true + }, + "prepend-http": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", + "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=", + "dev": true + }, + "preserve": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", + "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", + "dev": true + }, + "prettier": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.14.3.tgz", + "integrity": "sha512-qZDVnCrnpsRJJq5nSsiHCE3BYMED2OtsI+cmzIzF1QIfqm5ALf8tEJcO27zV1gKNKRPdhjO0dNWnrzssDQ1tFg==", + "dev": true + }, + "pretty-format": { + "version": "21.2.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-21.2.1.tgz", + "integrity": "sha512-ZdWPGYAnYfcVP8yKA3zFjCn8s4/17TeYH28MXuC8vTp0o21eXjbFGcOAXZEaDaOFJjc3h2qa7HQNHNshhvoh2A==", + "dev": true, + "requires": { + "ansi-regex": "3.0.0", + "ansi-styles": "3.2.1" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + } + } + }, + "private": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", + "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", + "dev": true + }, + "process": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/process/-/process-0.5.2.tgz", + "integrity": "sha1-FjjYqONML0QKkduVq5rrZ3/Bhc8=", + "dev": true + }, + "process-nextick-args": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", + "dev": true + }, + "progress": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.0.tgz", + "integrity": "sha1-ihvjZr+Pwj2yvSPxDG/pILQ4nR8=", + "dev": true + }, + "promise": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "requires": { + "asap": "2.0.6" + } + }, + "prop-types": { + "version": "15.6.2", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz", + "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==", + "requires": { + "loose-envify": "1.4.0", + "object-assign": "4.1.1" + } + }, + "proxy-addr": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.4.tgz", + "integrity": "sha512-5erio2h9jp5CHGwcybmxmVqHmnCBZeewlfJ0pex+UW7Qny7OOZXTtH56TGNyBizkgiOwhJtMKrVzDTeKcySZwA==", + "dev": true, + "requires": { + "forwarded": "0.1.2", + "ipaddr.js": "1.8.0" + } + }, + "prr": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", + "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=", + "dev": true + }, + "ps-tree": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/ps-tree/-/ps-tree-1.1.0.tgz", + "integrity": "sha1-tCGyQUDWID8e08dplrRCewjowBQ=", + "dev": true, + "requires": { + "event-stream": "3.3.6" + } + }, + "pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", + "dev": true + }, + "psl": { + "version": "1.1.29", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.29.tgz", + "integrity": "sha512-AeUmQ0oLN02flVHXWh9sSJF7mcdFq0ppid/JkErufc3hGIV/AMa8Fo9VgDo/cT2jFdOWoFvHp90qqBH54W+gjQ==", + "dev": true + }, + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true + }, + "q": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", + "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=", + "dev": true + }, + "qjobs": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/qjobs/-/qjobs-1.2.0.tgz", + "integrity": "sha512-8YOJEHtxpySA3fFDyCRxA+UUV+fA+rTWnuWvylOK/NCjhY+b4ocCtmu8TtsWb+mYeU+GCHf/S66KZF/AsteKHg==", + "dev": true + }, + "qs": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-1.2.2.tgz", + "integrity": "sha1-GbV/8k3CqZzh+L32r82ln472H4g=", + "dev": true + }, + "query-string": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/query-string/-/query-string-4.3.4.tgz", + "integrity": "sha1-u7aTucqRXCMlFbIosaArYJBD2+s=", + "dev": true, + "requires": { + "object-assign": "4.1.1", + "strict-uri-encode": "1.1.0" + } + }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "dev": true + }, + "querystring-es3": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", + "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", + "dev": true + }, + "querystringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.0.0.tgz", + "integrity": "sha512-eTPo5t/4bgaMNZxyjWx6N2a6AuE0mq51KWvpc7nU/MAqixcI6v6KrGUKES0HaomdnolQBBXU/++X6/QQ9KL4tw==", + "dev": true + }, + "raf": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.0.tgz", + "integrity": "sha512-pDP/NMRAXoTfrhCfyfSEwJAKLaxBU9eApMeBPB1TkDouZmvPerIClV8lTAd+uF8ZiTaVl69e1FCxQrAd/VTjGw==", + "dev": true, + "requires": { + "performance-now": "2.1.0" + } + }, + "railroad-diagrams": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz", + "integrity": "sha1-635iZ1SN3t+4mcG5Dlc3RVnN234=", + "dev": true + }, + "randexp": { + "version": "0.4.6", + "resolved": "https://registry.npmjs.org/randexp/-/randexp-0.4.6.tgz", + "integrity": "sha512-80WNmd9DA0tmZrw9qQa62GPPWfuXJknrmVmLcxvq4uZBdYqb1wYoKTmnlGUchvVWe0XiLupYkBoXVOxz3C8DYQ==", + "dev": true, + "requires": { + "discontinuous-range": "1.0.0", + "ret": "0.1.15" + } + }, + "randomatic": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.0.tgz", + "integrity": "sha512-KnGPVE0lo2WoXxIZ7cPR8YBpiol4gsSuOwDSg410oHh80ZMp5EiypNqL2K4Z77vJn6lB5rap7IkAmcUlalcnBQ==", + "dev": true, + "requires": { + "is-number": "4.0.0", + "kind-of": "6.0.2", + "math-random": "1.0.1" + }, + "dependencies": { + "is-number": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", + "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "range-parser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", + "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=", + "dev": true + }, + "raw-body": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.2.tgz", + "integrity": "sha1-vNYMd9Prk83gBQKVw/N5OJvIj4k=", + "dev": true, + "requires": { + "bytes": "3.0.0", + "http-errors": "1.6.2", + "iconv-lite": "0.4.19", + "unpipe": "1.0.0" + }, + "dependencies": { + "depd": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.1.tgz", + "integrity": "sha1-V4O04cRZ8G+lyif5kfPQbnoxA1k=", + "dev": true + }, + "http-errors": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.2.tgz", + "integrity": "sha1-CgAsyFcHGSp+eUbO7cERVfYOxzY=", + "dev": true, + "requires": { + "depd": "1.1.1", + "inherits": "2.0.3", + "setprototypeof": "1.0.3", + "statuses": "1.4.0" + } + }, + "iconv-lite": { + "version": "0.4.19", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz", + "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==", + "dev": true + }, + "setprototypeof": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.3.tgz", + "integrity": "sha1-ZlZ+NwQ+608E2RvWWMDL77VbjgQ=", + "dev": true + } + } + }, + "react": { + "version": "16.5.2", + "resolved": "https://registry.npmjs.org/react/-/react-16.5.2.tgz", + "integrity": "sha512-FDCSVd3DjVTmbEAjUNX6FgfAmQ+ypJfHUsqUJOYNCBUp1h8lqmtC+0mXJ+JjsWx4KAVTkk1vKd1hLQPvEviSuw==", + "dev": true, + "requires": { + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "prop-types": "15.6.2", + "schedule": "0.5.0" + } + }, + "react-deep-force-update": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/react-deep-force-update/-/react-deep-force-update-1.1.2.tgz", + "integrity": "sha512-WUSQJ4P/wWcusaH+zZmbECOk7H5N2pOIl0vzheeornkIMhu+qrNdGFm0bDZLCb0hSF0jf/kH1SgkNGfBdTc4wA==", + "dev": true + }, + "react-docgen": { + "version": "2.21.0", + "resolved": "https://registry.npmjs.org/react-docgen/-/react-docgen-2.21.0.tgz", + "integrity": "sha512-8xNPTrmvHLGNfqlsCYPdXmSkagP1njI5unP3t8WrjTJ4/5hHuP5nb3XH69CnF67HPV5zTkPoafcRBDGSQO6S6A==", + "dev": true, + "requires": { + "async": "2.6.1", + "babel-runtime": "6.26.0", + "babylon": "5.8.38", + "commander": "2.17.1", + "doctrine": "2.1.0", + "node-dir": "0.1.17", + "recast": "0.12.9" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + }, + "babylon": { + "version": "5.8.38", + "resolved": "http://registry.npmjs.org/babylon/-/babylon-5.8.38.tgz", + "integrity": "sha1-7JsSCxG/bM1Bc6GL8hfmC3mFn/0=", + "dev": true + } + } + }, + "react-dom": { + "version": "16.5.2", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.5.2.tgz", + "integrity": "sha512-RC8LDw8feuZOHVgzEf7f+cxBr/DnKdqp56VU0lAs1f4UfKc4cU8wU4fTq/mgnvynLQo8OtlPC19NUFh/zjZPuA==", + "dev": true, + "requires": { + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "prop-types": "15.6.2", + "schedule": "0.5.0" + } + }, + "react-is": { + "version": "16.5.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.5.2.tgz", + "integrity": "sha512-hSl7E6l25GTjNEZATqZIuWOgSnpXb3kD0DVCujmg46K5zLxsbiKaaT6VO9slkSBDPZfYs30lwfJwbOFOnoEnKQ==", + "dev": true + }, + "react-onclickoutside": { + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/react-onclickoutside/-/react-onclickoutside-6.7.1.tgz", + "integrity": "sha512-p84kBqGaMoa7VYT0vZ/aOYRfJB+gw34yjpda1Z5KeLflg70HipZOT+MXQenEhdkPAABuE2Astq4zEPdMqUQxcg==" + }, + "react-popper": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-1.0.2.tgz", + "integrity": "sha512-vjZ94ki8sfCAg45MMi4uqnUUWdzbnYkb95sR2+HgiMaAPzQcy4DfDKYtYUOhhE+sdtkufWcUHLv09DmH2Js57w==", + "requires": { + "babel-runtime": "6.26.0", + "create-react-context": "0.2.3", + "popper.js": "1.14.4", + "prop-types": "15.6.2", + "typed-styles": "0.0.5", + "warning": "3.0.0" + } + }, + "react-proxy": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/react-proxy/-/react-proxy-1.1.8.tgz", + "integrity": "sha1-nb/Z2SdSjDqp9ETkVYw3gwq4wmo=", + "dev": true, + "requires": { + "lodash": "4.17.11", + "react-deep-force-update": "1.1.2" + } + }, + "react-test-renderer": { + "version": "16.5.2", + "resolved": "https://registry.npmjs.org/react-test-renderer/-/react-test-renderer-16.5.2.tgz", + "integrity": "sha512-AGbJYbCVx1J6jdUgI4s0hNp+9LxlgzKvXl0ROA3DHTrtjAr00Po1RhDZ/eAq2VC/ww8AHgpDXULh5V2rhEqqJg==", + "dev": true, + "requires": { + "object-assign": "4.1.1", + "prop-types": "15.6.2", + "react-is": "16.5.2", + "schedule": "0.5.0" + } + }, + "react-transform-hmr": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/react-transform-hmr/-/react-transform-hmr-1.0.4.tgz", + "integrity": "sha1-4aQL0Krvxy6N/Xp82gmvhQZjl7s=", + "dev": true, + "requires": { + "global": "4.3.2", + "react-proxy": "1.1.8" + } + }, + "read-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", + "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", + "dev": true, + "requires": { + "load-json-file": "2.0.0", + "normalize-package-data": "2.4.0", + "path-type": "2.0.0" + } + }, + "read-pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", + "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "dev": true, + "requires": { + "find-up": "2.1.0", + "read-pkg": "2.0.0" + }, + "dependencies": { + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "2.0.0" + } + } + } + }, + "readable-stream": { + "version": "1.0.34", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "0.0.1", + "string_decoder": "0.10.31" + } + }, + "readdirp": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "micromatch": "3.1.10", + "readable-stream": "2.3.6" + }, + "dependencies": { + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "1.1.0", + "array-unique": "0.3.2", + "extend-shallow": "2.0.1", + "fill-range": "4.0.0", + "isobject": "3.0.1", + "repeat-element": "1.1.3", + "snapdragon": "0.8.2", + "snapdragon-node": "2.1.1", + "split-string": "3.1.0", + "to-regex": "3.0.2" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "requires": { + "debug": "2.6.9", + "define-property": "0.2.5", + "extend-shallow": "2.0.1", + "posix-character-classes": "0.1.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "0.1.6", + "is-data-descriptor": "0.1.4", + "kind-of": "5.1.0" + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "requires": { + "array-unique": "0.3.2", + "define-property": "1.0.0", + "expand-brackets": "2.1.4", + "extend-shallow": "2.0.1", + "fragment-cache": "0.2.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "1.0.2" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "2.0.1", + "is-number": "3.0.0", + "repeat-string": "1.6.1", + "to-regex-range": "2.1.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "4.0.0", + "array-unique": "0.3.2", + "braces": "2.3.2", + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "extglob": "2.0.4", + "fragment-cache": "0.2.1", + "kind-of": "6.0.2", + "nanomatch": "1.2.13", + "object.pick": "1.3.0", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + } + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "readline2": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/readline2/-/readline2-1.0.1.tgz", + "integrity": "sha1-QQWWCP/BVHV7cV2ZidGZ/783LjU=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "mute-stream": "0.0.5" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "mute-stream": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.5.tgz", + "integrity": "sha1-j7+rsKmKJT0xhDMfno3rc3L6xsA=", + "dev": true + } + } + }, + "recast": { + "version": "0.12.9", + "resolved": "https://registry.npmjs.org/recast/-/recast-0.12.9.tgz", + "integrity": "sha512-y7ANxCWmMW8xLOaiopiRDlyjQ9ajKRENBH+2wjntIbk3A6ZR1+BLQttkmSHMY7Arl+AAZFwJ10grg2T6f1WI8A==", + "dev": true, + "requires": { + "ast-types": "0.10.1", + "core-js": "2.5.7", + "esprima": "4.0.1", + "private": "0.1.8", + "source-map": "0.6.1" + }, + "dependencies": { + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "redent": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", + "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "dev": true, + "requires": { + "indent-string": "2.1.0", + "strip-indent": "1.0.1" + }, + "dependencies": { + "strip-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", + "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "dev": true, + "requires": { + "get-stdin": "4.0.1" + } + } + } + }, + "reduce-css-calc": { + "version": "1.3.0", + "resolved": "http://registry.npmjs.org/reduce-css-calc/-/reduce-css-calc-1.3.0.tgz", + "integrity": "sha1-dHyRTgSWFKTJz7umKYca0dKSdxY=", + "dev": true, + "requires": { + "balanced-match": "0.4.2", + "math-expression-evaluator": "1.2.17", + "reduce-function-call": "1.0.2" + }, + "dependencies": { + "balanced-match": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", + "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=", + "dev": true + } + } + }, + "reduce-function-call": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/reduce-function-call/-/reduce-function-call-1.0.2.tgz", + "integrity": "sha1-WiAL+S4ON3UXUv5FsKszD9S2vpk=", + "dev": true, + "requires": { + "balanced-match": "0.4.2" + }, + "dependencies": { + "balanced-match": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", + "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=", + "dev": true + } + } + }, + "regenerate": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz", + "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==", + "dev": true + }, + "regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" + }, + "regenerator-transform": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz", + "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "private": "0.1.8" + } + }, + "regex-cache": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", + "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", + "dev": true, + "requires": { + "is-equal-shallow": "0.1.3" + } + }, + "regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "dev": true, + "requires": { + "extend-shallow": "3.0.2", + "safe-regex": "1.1.0" + } + }, + "regexpp": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-1.1.0.tgz", + "integrity": "sha512-LOPw8FpgdQF9etWMaAfG/WRthIdXJGYp4mJ2Jgn/2lpkbod9jPn0t9UqN7AxBOKNfzRbYyVfgc7Vk4t/MpnXgw==", + "dev": true + }, + "regexpu-core": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", + "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=", + "dev": true, + "requires": { + "regenerate": "1.4.0", + "regjsgen": "0.2.0", + "regjsparser": "0.1.5" + } + }, + "regjsgen": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", + "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=", + "dev": true + }, + "regjsparser": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", + "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", + "dev": true, + "requires": { + "jsesc": "0.5.0" + }, + "dependencies": { + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "dev": true + } + } + }, + "remove-trailing-separator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", + "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", + "dev": true + }, + "repeat-element": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", + "dev": true + }, + "repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "dev": true + }, + "repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "dev": true, + "requires": { + "is-finite": "1.0.2" + } + }, + "request": { + "version": "2.42.0", + "resolved": "http://registry.npmjs.org/request/-/request-2.42.0.tgz", + "integrity": "sha1-VyvQFIk4VkBArHqxSLlkI6BjMEo=", + "dev": true, + "requires": { + "aws-sign2": "0.5.0", + "bl": "0.9.5", + "caseless": "0.6.0", + "forever-agent": "0.5.2", + "form-data": "0.1.4", + "hawk": "1.1.1", + "http-signature": "0.10.1", + "json-stringify-safe": "5.0.1", + "mime-types": "1.0.2", + "node-uuid": "1.4.8", + "oauth-sign": "0.4.0", + "qs": "1.2.2", + "stringstream": "0.0.6", + "tough-cookie": "2.4.3", + "tunnel-agent": "0.4.3" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true + }, + "require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true + }, + "require-main-filename": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", + "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", + "dev": true + }, + "require-uncached": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz", + "integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=", + "dev": true, + "requires": { + "caller-path": "0.1.0", + "resolve-from": "1.0.1" + } + }, + "requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", + "dev": true + }, + "resolve": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz", + "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==", + "dev": true, + "requires": { + "path-parse": "1.0.6" + } + }, + "resolve-from": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz", + "integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=", + "dev": true + }, + "resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", + "dev": true + }, + "restore-cursor": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", + "dev": true, + "requires": { + "onetime": "2.0.1", + "signal-exit": "3.0.2" + } + }, + "resumer": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz", + "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=", + "dev": true, + "requires": { + "through": "2.3.8" + } + }, + "ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "dev": true + }, + "right-align": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", + "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", + "dev": true, + "requires": { + "align-text": "0.1.4" + } + }, + "rimraf": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", + "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", + "dev": true, + "requires": { + "glob": "7.1.3" + } + }, + "ripemd160": { + "version": "0.2.0", + "resolved": "http://registry.npmjs.org/ripemd160/-/ripemd160-0.2.0.tgz", + "integrity": "sha1-K/GYveFnys+lHAqSjoS2i74XH84=", + "dev": true + }, + "rollup": { + "version": "0.51.8", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-0.51.8.tgz", + "integrity": "sha512-e7FwWxqb4vhdonmwRH06nqC9wR6h1kZojK2D+lN1xjiB8FDtAKgy7o+r8fCXVzQZ1ZCdcVlls3mTq5g6u38Jew==", + "dev": true + }, + "rollup-plugin-babel": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/rollup-plugin-babel/-/rollup-plugin-babel-3.0.7.tgz", + "integrity": "sha512-bVe2y0z/V5Ax1qU8NX/0idmzIwJPdUGu8Xx3vXH73h0yGjxfv2gkFI82MBVg49SlsFlLTBadBHb67zy4TWM3hA==", + "dev": true, + "requires": { + "rollup-pluginutils": "1.5.2" + } + }, + "rollup-plugin-commonjs": { + "version": "8.4.1", + "resolved": "http://registry.npmjs.org/rollup-plugin-commonjs/-/rollup-plugin-commonjs-8.4.1.tgz", + "integrity": "sha512-mg+WuD+jlwoo8bJtW3Mvx7Tz6TsIdMsdhuvCnDMoyjh0oxsVgsjB/N0X984RJCWwc5IIiqNVJhXeeITcc73++A==", + "dev": true, + "requires": { + "acorn": "5.7.3", + "estree-walker": "0.5.2", + "magic-string": "0.22.5", + "resolve": "1.8.1", + "rollup-pluginutils": "2.3.3" + }, + "dependencies": { + "estree-walker": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.5.2.tgz", + "integrity": "sha512-XpCnW/AE10ws/kDAs37cngSkvgIR8aN3G0MS85m7dUpuK2EREo9VJ00uvw6Dg/hXEpfsE1I1TvJOJr+Z+TL+ig==", + "dev": true + }, + "rollup-pluginutils": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.3.3.tgz", + "integrity": "sha512-2XZwja7b6P5q4RZ5FhyX1+f46xi1Z3qBKigLRZ6VTZjwbN0K1IFGMlwm06Uu0Emcre2Z63l77nq/pzn+KxIEoA==", + "dev": true, + "requires": { + "estree-walker": "0.5.2", + "micromatch": "2.3.11" + } + } + } + }, + "rollup-plugin-node-resolve": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-3.4.0.tgz", + "integrity": "sha512-PJcd85dxfSBWih84ozRtBkB731OjXk0KnzN0oGp7WOWcarAFkVa71cV5hTJg2qpVsV2U8EUwrzHP3tvy9vS3qg==", + "dev": true, + "requires": { + "builtin-modules": "2.0.0", + "is-module": "1.0.0", + "resolve": "1.8.1" + }, + "dependencies": { + "builtin-modules": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-2.0.0.tgz", + "integrity": "sha512-3U5kUA5VPsRUA3nofm/BXX7GVHKfxz0hOBAPxXrIvHzlDRkQVqEn6yi8QJegxl4LzOHLdvb7XF5dVawa/VVYBg==", + "dev": true + } + } + }, + "rollup-plugin-uglify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/rollup-plugin-uglify/-/rollup-plugin-uglify-2.0.1.tgz", + "integrity": "sha1-Z7N60e/a+9g69MNrQMGJ7khmyWk=", + "dev": true, + "requires": { + "uglify-js": "3.4.9" + } + }, + "rollup-pluginutils": { + "version": "1.5.2", + "resolved": "http://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-1.5.2.tgz", + "integrity": "sha1-HhVud4+UtyVb+hs9AXi+j1xVJAg=", + "dev": true, + "requires": { + "estree-walker": "0.2.1", + "minimatch": "3.0.4" + } + }, + "rst-selector-parser": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/rst-selector-parser/-/rst-selector-parser-2.2.3.tgz", + "integrity": "sha1-gbIw6i/MYGbInjRy3nlChdmwPZE=", + "dev": true, + "requires": { + "lodash.flattendeep": "4.4.0", + "nearley": "2.15.1" + } + }, + "run-async": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", + "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", + "dev": true, + "requires": { + "is-promise": "2.1.0" + } + }, + "rx-lite": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", + "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=", + "dev": true + }, + "rx-lite-aggregates": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz", + "integrity": "sha1-dTuHqJoRyVRnxKwWJsTvxOBcZ74=", + "dev": true, + "requires": { + "rx-lite": "4.0.8" + } + }, + "rxjs": { + "version": "5.5.12", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.12.tgz", + "integrity": "sha512-xx2itnL5sBbqeeiVgNPVuQQ1nC8Jp2WfNJhXWHmElW9YmrpS9UVnNzhP3EH3HFqexO5Tlp8GhYY+WEcqcVMvGw==", + "dev": true, + "requires": { + "symbol-observable": "1.0.1" + }, + "dependencies": { + "symbol-observable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz", + "integrity": "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=", + "dev": true + } + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "dev": true, + "requires": { + "ret": "0.1.15" + } + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "samsam": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/samsam/-/samsam-1.3.0.tgz", + "integrity": "sha512-1HwIYD/8UlOtFS3QO3w7ey+SdSDFE4HRNLZoZRYVQefrOY3l17epswImeB1ijgJFQJodIaHcwkp3r/myBjFVbg==", + "dev": true + }, + "sass-graph": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz", + "integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=", + "dev": true, + "requires": { + "glob": "7.1.3", + "lodash": "4.17.11", + "scss-tokenizer": "0.2.3", + "yargs": "7.1.0" + } + }, + "sass-lint": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/sass-lint/-/sass-lint-1.12.1.tgz", + "integrity": "sha1-Yw9pwhaqIGuCMvsqqQe98zNrbYM=", + "dev": true, + "requires": { + "commander": "2.17.1", + "eslint": "2.13.1", + "front-matter": "2.1.2", + "fs-extra": "3.0.1", + "glob": "7.1.3", + "globule": "1.2.1", + "gonzales-pe-sl": "4.2.3", + "js-yaml": "3.7.0", + "known-css-properties": "0.3.0", + "lodash.capitalize": "4.2.1", + "lodash.kebabcase": "4.1.1", + "merge": "1.2.0", + "path-is-absolute": "1.0.1", + "util": "0.10.4" + }, + "dependencies": { + "ajv": { + "version": "4.11.8", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz", + "integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=", + "dev": true, + "requires": { + "co": "4.6.0", + "json-stable-stringify": "1.0.1" + } + }, + "ajv-keywords": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-1.5.1.tgz", + "integrity": "sha1-MU3QpLM2j609/NxU7eYXG4htrzw=", + "dev": true + }, + "ansi-escapes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", + "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=", + "dev": true + }, + "cli-cursor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", + "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", + "dev": true, + "requires": { + "restore-cursor": "1.0.1" + } + }, + "doctrine": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", + "dev": true, + "requires": { + "esutils": "2.0.2", + "isarray": "1.0.0" + } + }, + "eslint": { + "version": "2.13.1", + "resolved": "http://registry.npmjs.org/eslint/-/eslint-2.13.1.tgz", + "integrity": "sha1-5MyPoPAJ+4KaquI4VaKTYL4fbBE=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "concat-stream": "1.6.2", + "debug": "2.6.9", + "doctrine": "1.5.0", + "es6-map": "0.1.5", + "escope": "3.6.0", + "espree": "3.5.4", + "estraverse": "4.2.0", + "esutils": "2.0.2", + "file-entry-cache": "1.3.1", + "glob": "7.1.3", + "globals": "9.18.0", + "ignore": "3.3.10", + "imurmurhash": "0.1.4", + "inquirer": "0.12.0", + "is-my-json-valid": "2.19.0", + "is-resolvable": "1.1.0", + "js-yaml": "3.7.0", + "json-stable-stringify": "1.0.1", + "levn": "0.3.0", + "lodash": "4.17.11", + "mkdirp": "0.5.1", + "optionator": "0.8.2", + "path-is-absolute": "1.0.1", + "path-is-inside": "1.0.2", + "pluralize": "1.2.1", + "progress": "1.1.8", + "require-uncached": "1.0.3", + "shelljs": "0.6.1", + "strip-json-comments": "1.0.4", + "table": "3.8.3", + "text-table": "0.2.0", + "user-home": "2.0.0" + } + }, + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5", + "object-assign": "4.1.1" + } + }, + "file-entry-cache": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-1.3.1.tgz", + "integrity": "sha1-RMYepgeuS+nBQC9B9EJwy/4zT/g=", + "dev": true, + "requires": { + "flat-cache": "1.3.0", + "object-assign": "4.1.1" + } + }, + "inquirer": { + "version": "0.12.0", + "resolved": "http://registry.npmjs.org/inquirer/-/inquirer-0.12.0.tgz", + "integrity": "sha1-HvK/1jUE3wvHV4X/+MLEHfEvB34=", + "dev": true, + "requires": { + "ansi-escapes": "1.4.0", + "ansi-regex": "2.1.1", + "chalk": "1.1.3", + "cli-cursor": "1.0.2", + "cli-width": "2.2.0", + "figures": "1.7.0", + "lodash": "4.17.11", + "readline2": "1.0.1", + "run-async": "0.1.0", + "rx-lite": "3.1.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "through": "2.3.8" + } + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "onetime": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", + "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", + "dev": true + }, + "pluralize": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-1.2.1.tgz", + "integrity": "sha1-0aIUg/0iu0HlihL6NCGCMUCJfEU=", + "dev": true + }, + "progress": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/progress/-/progress-1.1.8.tgz", + "integrity": "sha1-4mDHj2Fhzdmw5WzD4Khd4Xx6V74=", + "dev": true + }, + "restore-cursor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", + "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", + "dev": true, + "requires": { + "exit-hook": "1.1.1", + "onetime": "1.1.0" + } + }, + "run-async": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-0.1.0.tgz", + "integrity": "sha1-yK1KXhEGYeQCp9IbUw4AnyX444k=", + "dev": true, + "requires": { + "once": "1.4.0" + } + }, + "rx-lite": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-3.1.2.tgz", + "integrity": "sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI=", + "dev": true + }, + "slice-ansi": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", + "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=", + "dev": true + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "strip-json-comments": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.4.tgz", + "integrity": "sha1-HhX7ysl9Pumb8tc7TGVrCCu6+5E=", + "dev": true + }, + "table": { + "version": "3.8.3", + "resolved": "http://registry.npmjs.org/table/-/table-3.8.3.tgz", + "integrity": "sha1-K7xULw/amGGnVdOUf+/Ys/UThV8=", + "dev": true, + "requires": { + "ajv": "4.11.8", + "ajv-keywords": "1.5.1", + "chalk": "1.1.3", + "lodash": "4.17.11", + "slice-ansi": "0.0.4", + "string-width": "2.1.1" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "3.0.0" + } + } + } + } + } + }, + "sass-loader": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-4.1.1.tgz", + "integrity": "sha1-ee+UaM8L9kbClSnh8sumvW5Rx7w=", + "dev": true, + "requires": { + "async": "2.6.1", + "loader-utils": "0.2.17", + "object-assign": "4.1.1" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + } + } + }, + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "dev": true + }, + "schedule": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/schedule/-/schedule-0.5.0.tgz", + "integrity": "sha512-HUcJicG5Ou8xfR//c2rPT0lPIRR09vVvN81T9fqfVgBmhERUbDEQoYKjpBxbueJnCPpSu2ujXzOnRQt6x9o/jw==", + "dev": true, + "requires": { + "object-assign": "4.1.1" + } + }, + "schema-utils": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.3.0.tgz", + "integrity": "sha1-9YdyIs4+kx7a4DnxfrNxbnE3+M8=", + "dev": true, + "requires": { + "ajv": "5.5.2" + } + }, + "scss-tokenizer": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz", + "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=", + "dev": true, + "requires": { + "js-base64": "2.4.3", + "source-map": "0.4.4" + }, + "dependencies": { + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": "1.0.1" + } + } + } + }, + "semver": { + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz", + "integrity": "sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw==", + "dev": true + }, + "send": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz", + "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==", + "dev": true, + "requires": { + "debug": "2.6.9", + "depd": "1.1.2", + "destroy": "1.0.4", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "etag": "1.8.1", + "fresh": "0.5.2", + "http-errors": "1.6.3", + "mime": "1.4.1", + "ms": "2.0.0", + "on-finished": "2.3.0", + "range-parser": "1.2.0", + "statuses": "1.4.0" + }, + "dependencies": { + "mime": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", + "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==", + "dev": true + } + } + }, + "serve-index": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", + "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=", + "dev": true, + "requires": { + "accepts": "1.3.5", + "batch": "0.6.1", + "debug": "2.6.9", + "escape-html": "1.0.3", + "http-errors": "1.6.3", + "mime-types": "2.1.20", + "parseurl": "1.3.2" + }, + "dependencies": { + "mime-types": { + "version": "2.1.20", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz", + "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==", + "dev": true, + "requires": { + "mime-db": "1.36.0" + } + } + } + }, + "serve-static": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz", + "integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==", + "dev": true, + "requires": { + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "parseurl": "1.3.2", + "send": "0.16.2" + } + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, + "set-value": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", + "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==", + "dev": true, + "requires": { + "extend-shallow": "2.0.1", + "is-extendable": "0.1.1", + "is-plain-object": "2.0.4", + "split-string": "3.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" + }, + "setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + }, + "sha.js": { + "version": "2.2.6", + "resolved": "http://registry.npmjs.org/sha.js/-/sha.js-2.2.6.tgz", + "integrity": "sha1-F93t3F9yL7ZlAWWIlUYZd4ZzFbo=", + "dev": true + }, + "shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "dev": true, + "requires": { + "shebang-regex": "1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "dev": true + }, + "shell-quote": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.6.1.tgz", + "integrity": "sha1-9HgZSczkAmlxJ0MOo7PFR29IF2c=", + "dev": true, + "requires": { + "array-filter": "0.0.1", + "array-map": "0.0.0", + "array-reduce": "0.0.0", + "jsonify": "0.0.0" + } + }, + "shelljs": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.6.1.tgz", + "integrity": "sha1-7GIRvtGSBEIIj+D3Cyg3Iy7SyKg=", + "dev": true + }, + "signal-exit": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "dev": true + }, + "sinon": { + "version": "4.5.0", + "resolved": "http://registry.npmjs.org/sinon/-/sinon-4.5.0.tgz", + "integrity": "sha512-trdx+mB0VBBgoYucy6a9L7/jfQOmvGeaKZT4OOJ+lPAtI8623xyGr8wLiE4eojzBS8G9yXbhx42GHUOVLr4X2w==", + "dev": true, + "requires": { + "@sinonjs/formatio": "2.0.0", + "diff": "3.3.1", + "lodash.get": "4.4.2", + "lolex": "2.7.5", + "nise": "1.4.5", + "supports-color": "5.5.0", + "type-detect": "4.0.8" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true + } + } + }, + "slash": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", + "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", + "dev": true + }, + "slice-ansi": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz", + "integrity": "sha512-POqxBK6Lb3q6s047D/XsDVNPnF9Dl8JSaqe9h9lURl0OdNqy/ujDrOiIHtsqXMGbWWTIomRzAMaTyawAU//Reg==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "2.0.0" + } + }, + "snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dev": true, + "requires": { + "base": "0.11.2", + "debug": "2.6.9", + "define-property": "0.2.5", + "extend-shallow": "2.0.1", + "map-cache": "0.2.2", + "source-map": "0.5.7", + "source-map-resolve": "0.5.2", + "use": "3.1.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dev": true, + "requires": { + "define-property": "1.0.0", + "isobject": "3.0.1", + "snapdragon-util": "3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "1.0.2" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, + "sntp": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/sntp/-/sntp-0.2.4.tgz", + "integrity": "sha1-+4hfGLDzqtGJ+CSGJTa87ux1CQA=", + "dev": true, + "optional": true, + "requires": { + "hoek": "0.9.1" + } + }, + "socket.io": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-1.7.3.tgz", + "integrity": "sha1-uK+cq6AJSeVo42nxMn6pvp6iRhs=", + "dev": true, + "requires": { + "debug": "2.3.3", + "engine.io": "1.8.3", + "has-binary": "0.1.7", + "object-assign": "4.1.0", + "socket.io-adapter": "0.5.0", + "socket.io-client": "1.7.3", + "socket.io-parser": "2.3.1" + }, + "dependencies": { + "debug": { + "version": "2.3.3", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.3.3.tgz", + "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=", + "dev": true, + "requires": { + "ms": "0.7.2" + } + }, + "ms": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", + "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "dev": true + }, + "object-assign": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.0.tgz", + "integrity": "sha1-ejs9DpgGPUP0wD8uiubNUahog6A=", + "dev": true + } + } + }, + "socket.io-adapter": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-0.5.0.tgz", + "integrity": "sha1-y21LuL7IHhB4uZZ3+c7QBGBmu4s=", + "dev": true, + "requires": { + "debug": "2.3.3", + "socket.io-parser": "2.3.1" + }, + "dependencies": { + "debug": { + "version": "2.3.3", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.3.3.tgz", + "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=", + "dev": true, + "requires": { + "ms": "0.7.2" + } + }, + "ms": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", + "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "dev": true + } + } + }, + "socket.io-client": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-1.7.3.tgz", + "integrity": "sha1-sw6GqhDV7zVGYBwJzeR2Xjgdo3c=", + "dev": true, + "requires": { + "backo2": "1.0.2", + "component-bind": "1.0.0", + "component-emitter": "1.2.1", + "debug": "2.3.3", + "engine.io-client": "1.8.3", + "has-binary": "0.1.7", + "indexof": "0.0.1", + "object-component": "0.0.3", + "parseuri": "0.0.5", + "socket.io-parser": "2.3.1", + "to-array": "0.1.4" + }, + "dependencies": { + "debug": { + "version": "2.3.3", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.3.3.tgz", + "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=", + "dev": true, + "requires": { + "ms": "0.7.2" + } + }, + "ms": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", + "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "dev": true + } + } + }, + "socket.io-parser": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-2.3.1.tgz", + "integrity": "sha1-3VMgJRA85Clpcya+/WQAX8/ltKA=", + "dev": true, + "requires": { + "component-emitter": "1.1.2", + "debug": "2.2.0", + "isarray": "0.0.1", + "json3": "3.3.2" + }, + "dependencies": { + "component-emitter": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.1.2.tgz", + "integrity": "sha1-KWWU8nU9qmOZbSrwjRWpURbJrsM=", + "dev": true + }, + "debug": { + "version": "2.2.0", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.2.0.tgz", + "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=", + "dev": true, + "requires": { + "ms": "0.7.1" + } + }, + "ms": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz", + "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=", + "dev": true + } + } + }, + "sockjs": { + "version": "0.3.19", + "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.19.tgz", + "integrity": "sha512-V48klKZl8T6MzatbLlzzRNhMepEys9Y4oGFpypBFFn1gLI/QQ9HtLLyWJNbPlwGLelOVOEijUbTTJeLLI59jLw==", + "dev": true, + "requires": { + "faye-websocket": "0.10.0", + "uuid": "3.3.2" + }, + "dependencies": { + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + "dev": true + } + } + }, + "sockjs-client": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.1.5.tgz", + "integrity": "sha1-G7fA9yIsQPQq3xT0RCy9Eml3GoM=", + "dev": true, + "requires": { + "debug": "2.6.9", + "eventsource": "0.1.6", + "faye-websocket": "0.11.1", + "inherits": "2.0.3", + "json3": "3.3.2", + "url-parse": "1.4.3" + }, + "dependencies": { + "faye-websocket": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.1.tgz", + "integrity": "sha1-8O/hjE9W5PQK/H4Gxxn9XuYYjzg=", + "dev": true, + "requires": { + "websocket-driver": "0.7.0" + } + } + } + }, + "sort-keys": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz", + "integrity": "sha1-RBttTTRnmPG05J6JIK37oOVD+a0=", + "dev": true, + "requires": { + "is-plain-obj": "1.1.0" + } + }, + "source-list-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.0.tgz", + "integrity": "sha512-I2UmuJSRr/T8jisiROLU3A3ltr+swpniSmNPI4Ml3ZCX6tVnDsuZzK7F2hl5jTqbZBWCEKlj5HRQiPExXLgE8A==", + "dev": true + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + }, + "source-map-resolve": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", + "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", + "dev": true, + "requires": { + "atob": "2.1.2", + "decode-uri-component": "0.2.0", + "resolve-url": "0.2.1", + "source-map-url": "0.4.0", + "urix": "0.1.0" + } + }, + "source-map-support": { + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", + "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", + "dev": true, + "requires": { + "source-map": "0.5.7" + } + }, + "source-map-url": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", + "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", + "dev": true + }, + "spdx-correct": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.2.tgz", + "integrity": "sha512-q9hedtzyXHr5S0A1vEPoK/7l8NpfkFYTq6iCY+Pno2ZbdZR6WexZFtqeVGkGxW3TEJMN914Z55EnAGMmenlIQQ==", + "dev": true, + "requires": { + "spdx-expression-parse": "3.0.0", + "spdx-license-ids": "3.0.1" + } + }, + "spdx-exceptions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", + "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", + "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", + "dev": true, + "requires": { + "spdx-exceptions": "2.2.0", + "spdx-license-ids": "3.0.1" + } + }, + "spdx-license-ids": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.1.tgz", + "integrity": "sha512-TfOfPcYGBB5sDuPn3deByxPhmfegAhpDYKSOXZQN81Oyrrif8ZCodOLzK3AesELnCx03kikhyDwh0pfvvQvF8w==", + "dev": true + }, + "split": { + "version": "0.2.10", + "resolved": "http://registry.npmjs.org/split/-/split-0.2.10.tgz", + "integrity": "sha1-Zwl8YB1pfOE2j0GPBs0gHPBSGlc=", + "dev": true, + "requires": { + "through": "2.3.8" + } + }, + "split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dev": true, + "requires": { + "extend-shallow": "3.0.2" + } + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true + }, + "sshpk": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.15.1.tgz", + "integrity": "sha512-mSdgNUaidk+dRU5MhYtN9zebdzF2iG0cNPWy8HG+W8y+fT1JnSkh0fzzpjOa0L7P8i1Rscz38t0h4gPcKz43xA==", + "dev": true, + "requires": { + "asn1": "0.2.4", + "assert-plus": "1.0.0", + "bcrypt-pbkdf": "1.0.2", + "dashdash": "1.14.1", + "ecc-jsbn": "0.1.2", + "getpass": "0.1.7", + "jsbn": "0.1.1", + "safer-buffer": "2.1.2", + "tweetnacl": "0.14.5" + }, + "dependencies": { + "asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "dev": true, + "requires": { + "safer-buffer": "2.1.2" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + } + } + }, + "staged-git-files": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/staged-git-files/-/staged-git-files-1.0.0.tgz", + "integrity": "sha1-zbhHg3wfzFLAioctSIPMCHdmioA=", + "dev": true + }, + "static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", + "dev": true, + "requires": { + "define-property": "0.2.5", + "object-copy": "0.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + } + } + }, + "statuses": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz", + "integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==", + "dev": true + }, + "stdout-stream": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz", + "integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==", + "dev": true, + "requires": { + "readable-stream": "2.3.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "stream-browserify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz", + "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", + "dev": true, + "requires": { + "inherits": "2.0.3", + "readable-stream": "2.3.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "stream-cache": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/stream-cache/-/stream-cache-0.0.2.tgz", + "integrity": "sha1-GsWtaDJCjKVWZ9ve45Xa1ObbEY8=", + "dev": true + }, + "stream-combiner": { + "version": "0.0.4", + "resolved": "http://registry.npmjs.org/stream-combiner/-/stream-combiner-0.0.4.tgz", + "integrity": "sha1-TV5DPBhSYd3mI8o/RMWGvPXErRQ=", + "dev": true, + "requires": { + "duplexer": "0.1.1" + } + }, + "stream-http": { + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", + "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", + "dev": true, + "requires": { + "builtin-status-codes": "3.0.0", + "inherits": "2.0.3", + "readable-stream": "2.3.6", + "to-arraybuffer": "1.0.1", + "xtend": "4.0.1" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "stream-to-observable": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/stream-to-observable/-/stream-to-observable-0.2.0.tgz", + "integrity": "sha1-WdbqOT2HwsDdrBCqDVYbxrpvDhA=", + "dev": true, + "requires": { + "any-observable": "0.2.0" + } + }, + "strict-uri-encode": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", + "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "3.0.0" + } + } + } + }, + "string.prototype.padend": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.0.0.tgz", + "integrity": "sha1-86rvfBcZ8XDF6rHDK/eA2W4h8vA=", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0", + "function-bind": "1.1.1" + } + }, + "string.prototype.trim": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz", + "integrity": "sha1-0E3iyJ4Tf019IG8Ia17S+ua+jOo=", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0", + "function-bind": "1.1.1" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + }, + "stringify-object": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.2.2.tgz", + "integrity": "sha512-O696NF21oLiDy8PhpWu8AEqoZHw++QW6mUv0UvKZe8gWSdSvMXkiLufK7OmnP27Dro4GU5kb9U7JIO0mBuCRQg==", + "dev": true, + "requires": { + "get-own-enumerable-property-symbols": "2.0.1", + "is-obj": "1.0.1", + "is-regexp": "1.0.0" + } + }, + "stringstream": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.6.tgz", + "integrity": "sha512-87GEBAkegbBcweToUrdzf3eLhWNg06FJTebl4BVJz/JgWy8CvEr9dRtX5qWphiynMSQlxxi+QqN0z5T32SLlhA==", + "dev": true, + "optional": true + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "2.1.1" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + }, + "strip-eof": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", + "dev": true + }, + "strip-indent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz", + "integrity": "sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=", + "dev": true + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "dev": true + }, + "style-loader": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.19.1.tgz", + "integrity": "sha512-IRE+ijgojrygQi3rsqT0U4dd+UcPCqcVvauZpCnQrGAlEe+FUIyrK93bUDScamesjP08JlQNsFJU+KmPedP5Og==", + "dev": true, + "requires": { + "loader-utils": "1.1.0", + "schema-utils": "0.3.0" + }, + "dependencies": { + "loader-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", + "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", + "dev": true, + "requires": { + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1" + } + } + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + }, + "svgo": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/svgo/-/svgo-0.7.2.tgz", + "integrity": "sha1-n1dyQTlSE1xv779Ar+ak+qiLS7U=", + "dev": true, + "requires": { + "coa": "1.0.4", + "colors": "1.1.2", + "csso": "2.3.2", + "js-yaml": "3.7.0", + "mkdirp": "0.5.1", + "sax": "1.2.4", + "whet.extend": "0.9.9" + } + }, + "symbol-observable": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-0.2.4.tgz", + "integrity": "sha1-lag9smGG1q9+ehjb2XYKL4bQj0A=", + "dev": true + }, + "table": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/table/-/table-4.0.2.tgz", + "integrity": "sha512-UUkEAPdSGxtRpiV9ozJ5cMTtYiqz7Ni1OGqLXRCynrvzdtR1p+cfOWe2RJLwvUG8hNanaSRjecIqwOjqeatDsA==", + "dev": true, + "requires": { + "ajv": "5.5.2", + "ajv-keywords": "2.1.1", + "chalk": "2.4.1", + "lodash": "4.17.11", + "slice-ansi": "1.0.0", + "string-width": "2.1.1" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "tapable": { + "version": "0.1.10", + "resolved": "http://registry.npmjs.org/tapable/-/tapable-0.1.10.tgz", + "integrity": "sha1-KcNXB8K3DlDQdIK10gLo7URtr9Q=", + "dev": true + }, + "tape": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/tape/-/tape-2.3.0.tgz", + "integrity": "sha1-Df7scJIn+8yRcKvn8EaWKycUMds=", + "dev": true, + "requires": { + "deep-equal": "0.1.2", + "defined": "0.0.0", + "inherits": "2.0.3", + "jsonify": "0.0.0", + "resumer": "0.0.0", + "split": "0.2.10", + "stream-combiner": "0.0.4", + "through": "2.3.8" + } + }, + "tar": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz", + "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=", + "dev": true, + "requires": { + "block-stream": "0.0.9", + "fstream": "1.0.11", + "inherits": "2.0.3" + } + }, + "text-encoding": { + "version": "0.6.4", + "resolved": "http://registry.npmjs.org/text-encoding/-/text-encoding-0.6.4.tgz", + "integrity": "sha1-45mpgiV6J22uQou5KEXLcb3CbRk=", + "dev": true + }, + "text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "dev": true + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true + }, + "time-stamp": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-2.1.0.tgz", + "integrity": "sha512-lJbq6KsFhZJtN3fPUVje1tq/hHsJOKUUcUj/MGCiQR6qWBDcyi5kxL9J7/RnaEChCn0+L/DUN2WvemDrkk4i3Q==", + "dev": true + }, + "timers-browserify": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.10.tgz", + "integrity": "sha512-YvC1SV1XdOUaL6gx5CoGroT3Gu49pK9+TZ38ErPldOWW4j49GI1HKs9DV+KGq/w6y+LZ72W1c8cKz2vzY+qpzg==", + "dev": true, + "requires": { + "setimmediate": "1.0.5" + } + }, + "tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "requires": { + "os-tmpdir": "1.0.2" + } + }, + "to-array": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/to-array/-/to-array-0.1.4.tgz", + "integrity": "sha1-F+bBH3PdTz10zaek/zI46a2b+JA=", + "dev": true + }, + "to-arraybuffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", + "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", + "dev": true + }, + "to-fast-properties": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", + "dev": true + }, + "to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, + "to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dev": true, + "requires": { + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "regex-not": "1.0.2", + "safe-regex": "1.1.0" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "requires": { + "is-number": "3.0.0", + "repeat-string": "1.6.1" + }, + "dependencies": { + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + } + } + }, + "tough-cookie": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", + "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", + "dev": true, + "requires": { + "psl": "1.1.29", + "punycode": "1.4.1" + } + }, + "trim-newlines": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", + "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", + "dev": true + }, + "trim-right": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", + "dev": true + }, + "true-case-path": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz", + "integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==", + "dev": true, + "requires": { + "glob": "7.1.3" + } + }, + "tty-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", + "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=", + "dev": true + }, + "tunnel-agent": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", + "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=", + "dev": true + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true + }, + "type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "dev": true, + "requires": { + "prelude-ls": "1.1.2" + } + }, + "type-detect": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-1.0.0.tgz", + "integrity": "sha1-diIXzAbbJY7EiQihKY6LlRIejqI=", + "dev": true + }, + "type-is": { + "version": "1.6.16", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz", + "integrity": "sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q==", + "dev": true, + "requires": { + "media-typer": "0.3.0", + "mime-types": "2.1.20" + }, + "dependencies": { + "mime-types": { + "version": "2.1.20", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz", + "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==", + "dev": true, + "requires": { + "mime-db": "1.36.0" + } + } + } + }, + "typed-styles": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/typed-styles/-/typed-styles-0.0.5.tgz", + "integrity": "sha512-ht+rEe5UsdEBAa3gr64+QjUOqjOLJfWLvl5HZR5Ev9uo/OnD3p43wPeFSB1hNFc13GXQF/JU1Bn0YHLUqBRIlw==" + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", + "dev": true + }, + "ua-parser-js": { + "version": "0.7.18", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.18.tgz", + "integrity": "sha512-LtzwHlVHwFGTptfNSgezHp7WUlwiqb0gA9AALRbKaERfxwJoiX0A73QbTToxteIAuIaFshhgIZfqK8s7clqgnA==" + }, + "uglify-js": { + "version": "3.4.9", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.9.tgz", + "integrity": "sha512-8CJsbKOtEbnJsTyv6LE6m6ZKniqMiFWmm9sRbopbkGs3gMPPfd3Fh8iIA4Ykv5MgaTbqHr4BaoGLJLZNhsrW1Q==", + "dev": true, + "requires": { + "commander": "2.17.1", + "source-map": "0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "uglify-to-browserify": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", + "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", + "dev": true + }, + "ultron": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.0.2.tgz", + "integrity": "sha1-rOEWq1V80Zc4ak6I9GhTeMiy5Po=", + "dev": true + }, + "underscore": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz", + "integrity": "sha1-YaajIBBiKvoHljvzJSA88SI51gQ=", + "dev": true + }, + "union-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", + "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=", + "dev": true, + "requires": { + "arr-union": "3.1.0", + "get-value": "2.0.6", + "is-extendable": "0.1.1", + "set-value": "0.4.3" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + }, + "set-value": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz", + "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=", + "dev": true, + "requires": { + "extend-shallow": "2.0.1", + "is-extendable": "0.1.1", + "is-plain-object": "2.0.4", + "to-object-path": "0.3.0" + } + } + } + }, + "uniq": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", + "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=", + "dev": true + }, + "uniqid": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/uniqid/-/uniqid-4.1.1.tgz", + "integrity": "sha1-iSIN32t1GuUrX3JISGNShZa7hME=", + "dev": true, + "requires": { + "macaddress": "0.2.9" + } + }, + "uniqs": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz", + "integrity": "sha1-/+3ks2slKQaW5uFl1KWe25mOawI=", + "dev": true + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "dev": true + }, + "unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", + "dev": true, + "requires": { + "has-value": "0.3.1", + "isobject": "3.0.1" + }, + "dependencies": { + "has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", + "dev": true, + "requires": { + "get-value": "2.0.6", + "has-values": "0.1.4", + "isobject": "2.1.0" + }, + "dependencies": { + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "requires": { + "isarray": "1.0.0" + } + } + } + }, + "has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", + "dev": true + }, + "url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "dev": true, + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + }, + "dependencies": { + "punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", + "dev": true + } + } + }, + "url-parse": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.4.3.tgz", + "integrity": "sha512-rh+KuAW36YKo0vClhQzLLveoj8FwPJNu65xLb7Mrt+eZht0IPT0IXgSv8gcMegZ6NvjJUALf6Mf25POlMwD1Fw==", + "dev": true, + "requires": { + "querystringify": "2.0.0", + "requires-port": "1.0.0" + } + }, + "urlgrey": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/urlgrey/-/urlgrey-0.4.0.tgz", + "integrity": "sha1-8GU1cED7NcOzEdTl3DZITZbb6gY=", + "dev": true, + "requires": { + "tape": "2.3.0" + } + }, + "use": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "dev": true + }, + "user-home": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/user-home/-/user-home-2.0.0.tgz", + "integrity": "sha1-nHC/2Babwdy/SGBODwS4tJzenp8=", + "dev": true, + "requires": { + "os-homedir": "1.0.2" + } + }, + "useragent": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/useragent/-/useragent-2.3.0.tgz", + "integrity": "sha512-4AoH4pxuSvHCjqLO04sU6U/uE65BYza8l/KKBS0b0hnUPWi+cQ2BpeTEwejCSx9SPV5/U03nniDTrWx5NrmKdw==", + "dev": true, + "requires": { + "lru-cache": "4.1.3", + "tmp": "0.0.33" + } + }, + "util": { + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", + "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", + "dev": true, + "requires": { + "inherits": "2.0.3" + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true + }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", + "dev": true + }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "requires": { + "spdx-correct": "3.0.2", + "spdx-expression-parse": "3.0.0" + } + }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", + "dev": true + }, + "vendors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.2.tgz", + "integrity": "sha512-w/hry/368nO21AN9QljsaIhb9ZiZtZARoVH5f3CsFbawdLdayCgKRPup7CggujvySMxx0I91NOyxdVENohprLQ==", + "dev": true + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "1.3.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + } + } + }, + "vlq": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/vlq/-/vlq-0.2.3.tgz", + "integrity": "sha512-DRibZL6DsNhIgYQ+wNdWDL2SL3bKPlVrRiBqV5yuMm++op8W4kGFtaQfCs4KEJn0wBZcHVHJ3eoywX8983k1ow==", + "dev": true + }, + "vm-browserify": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-0.0.4.tgz", + "integrity": "sha1-XX6kW7755Kb/ZflUOOCofDV9WnM=", + "dev": true, + "requires": { + "indexof": "0.0.1" + } + }, + "void-elements": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", + "integrity": "sha1-wGavtYK7HLQSjWDqkjkulNXp2+w=", + "dev": true + }, + "warning": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/warning/-/warning-3.0.0.tgz", + "integrity": "sha1-MuU3fLVy3kqwR1O9+IIcAe1gW3w=", + "requires": { + "loose-envify": "1.4.0" + } + }, + "watchpack": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-0.2.9.tgz", + "integrity": "sha1-Yuqkq15bo1/fwBgnVibjwPXj+ws=", + "dev": true, + "requires": { + "async": "0.9.2", + "chokidar": "1.7.0", + "graceful-fs": "4.1.11" + } + }, + "webpack": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-1.15.0.tgz", + "integrity": "sha1-T/MfU9sDM55VFkqdRo7gMklo/pg=", + "dev": true, + "requires": { + "acorn": "3.3.0", + "async": "1.5.2", + "clone": "1.0.4", + "enhanced-resolve": "0.9.1", + "interpret": "0.6.6", + "loader-utils": "0.2.17", + "memory-fs": "0.3.0", + "mkdirp": "0.5.1", + "node-libs-browser": "0.7.0", + "optimist": "0.6.1", + "supports-color": "3.2.3", + "tapable": "0.1.10", + "uglify-js": "2.7.5", + "watchpack": "0.2.9", + "webpack-core": "0.6.9" + }, + "dependencies": { + "acorn": { + "version": "3.3.0", + "resolved": "http://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", + "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=", + "dev": true + }, + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + }, + "camelcase": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", + "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=", + "dev": true + }, + "cliui": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", + "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", + "dev": true, + "requires": { + "center-align": "0.1.3", + "right-align": "0.1.3", + "wordwrap": "0.0.2" + } + }, + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "memory-fs": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.3.0.tgz", + "integrity": "sha1-e8xrYp46Q+hx1+Kaymrop/FcuyA=", + "dev": true, + "requires": { + "errno": "0.1.7", + "readable-stream": "2.3.6" + } + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "1.0.0" + } + }, + "uglify-js": { + "version": "2.7.5", + "resolved": "http://registry.npmjs.org/uglify-js/-/uglify-js-2.7.5.tgz", + "integrity": "sha1-RhLAx7qu4rp8SH3kkErhIgefLKg=", + "dev": true, + "requires": { + "async": "0.2.10", + "source-map": "0.5.7", + "uglify-to-browserify": "1.0.2", + "yargs": "3.10.0" + }, + "dependencies": { + "async": { + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/async/-/async-0.2.10.tgz", + "integrity": "sha1-trvgsGdLnXGXCMo43owjfLUmw9E=", + "dev": true + } + } + }, + "wordwrap": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", + "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=", + "dev": true + }, + "yargs": { + "version": "3.10.0", + "resolved": "http://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", + "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", + "dev": true, + "requires": { + "camelcase": "1.2.1", + "cliui": "2.1.0", + "decamelize": "1.2.0", + "window-size": "0.1.0" + } + } + } + }, + "webpack-core": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/webpack-core/-/webpack-core-0.6.9.tgz", + "integrity": "sha1-/FcViMhVjad76e+23r3Fo7FyvcI=", + "dev": true, + "requires": { + "source-list-map": "0.1.8", + "source-map": "0.4.4" + }, + "dependencies": { + "source-list-map": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-0.1.8.tgz", + "integrity": "sha1-xVCyq1Qn9rPyH1r+rYjE9Vh7IQY=", + "dev": true + }, + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": "1.0.1" + } + } + } + }, + "webpack-dev-middleware": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-1.12.2.tgz", + "integrity": "sha512-FCrqPy1yy/sN6U/SaEZcHKRXGlqU0DUaEBL45jkUYoB8foVb6wCnbIJ1HKIx+qUFTW+3JpVcCJCxZ8VATL4e+A==", + "dev": true, + "requires": { + "memory-fs": "0.4.1", + "mime": "1.6.0", + "path-is-absolute": "1.0.1", + "range-parser": "1.2.0", + "time-stamp": "2.1.0" + }, + "dependencies": { + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true + } + } + }, + "webpack-dev-server": { + "version": "1.16.5", + "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-1.16.5.tgz", + "integrity": "sha1-DL1fLSrI1OWTqs1clwLnu9XlmJI=", + "dev": true, + "requires": { + "compression": "1.7.3", + "connect-history-api-fallback": "1.5.0", + "express": "4.16.4", + "http-proxy-middleware": "0.17.4", + "open": "0.0.5", + "optimist": "0.6.1", + "serve-index": "1.9.1", + "sockjs": "0.3.19", + "sockjs-client": "1.1.5", + "stream-cache": "0.0.2", + "strip-ansi": "3.0.1", + "supports-color": "3.2.3", + "webpack-dev-middleware": "1.12.2" + }, + "dependencies": { + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "1.0.0" + } + } + } + }, + "webpack-hot-middleware": { + "version": "2.24.3", + "resolved": "https://registry.npmjs.org/webpack-hot-middleware/-/webpack-hot-middleware-2.24.3.tgz", + "integrity": "sha512-pPlmcdoR2Fn6UhYjAhp1g/IJy1Yc9hD+T6O9mjRcWV2pFbBjIFoJXhP0CoD0xPOhWJuWXuZXGBga9ybbOdzXpg==", + "dev": true, + "requires": { + "ansi-html": "0.0.7", + "html-entities": "1.2.1", + "querystring": "0.2.0", + "strip-ansi": "3.0.1" + } + }, + "webpack-sources": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.5.tgz", + "integrity": "sha1-qh86vw8NdNtxEcQOUAuE+WZkB1A=", + "dev": true, + "requires": { + "source-list-map": "0.1.8", + "source-map": "0.5.7" + }, + "dependencies": { + "source-list-map": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-0.1.8.tgz", + "integrity": "sha1-xVCyq1Qn9rPyH1r+rYjE9Vh7IQY=", + "dev": true + } + } + }, + "websocket-driver": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.0.tgz", + "integrity": "sha1-DK+dLXVdk67gSdS90NP+LMoqJOs=", + "dev": true, + "requires": { + "http-parser-js": "0.4.13", + "websocket-extensions": "0.1.3" + } + }, + "websocket-extensions": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz", + "integrity": "sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg==", + "dev": true + }, + "whatwg-fetch": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz", + "integrity": "sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q==" + }, + "whet.extend": { + "version": "0.9.9", + "resolved": "https://registry.npmjs.org/whet.extend/-/whet.extend-0.9.9.tgz", + "integrity": "sha1-+HfVv2SMl+WqVC+twW1qJZucEaE=", + "dev": true + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "2.0.0" + } + }, + "which-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", + "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=", + "dev": true + }, + "wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "dev": true, + "requires": { + "string-width": "2.1.1" + } + }, + "window-size": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", + "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=", + "dev": true + }, + "wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", + "dev": true + }, + "wrap-ansi": { + "version": "2.1.0", + "resolved": "http://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", + "dev": true, + "requires": { + "string-width": "1.0.2", + "strip-ansi": "3.0.1" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + } + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "write": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/write/-/write-0.2.1.tgz", + "integrity": "sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c=", + "dev": true, + "requires": { + "mkdirp": "0.5.1" + } + }, + "ws": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-1.1.2.tgz", + "integrity": "sha1-iiRPoFJAHgjJiGz0SoUYnh/UBn8=", + "dev": true, + "requires": { + "options": "0.0.6", + "ultron": "1.0.2" + } + }, + "wtf-8": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wtf-8/-/wtf-8-1.0.0.tgz", + "integrity": "sha1-OS2LotDxw00e4tYw8V0O+2jhBIo=", + "dev": true + }, + "xmlhttprequest-ssl": { + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.3.tgz", + "integrity": "sha1-GFqIjATspGw+QHDZn3tJ3jUomS0=", + "dev": true + }, + "xtend": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", + "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=", + "dev": true + }, + "y18n": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", + "dev": true + }, + "yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", + "dev": true + }, + "yargs": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz", + "integrity": "sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg=", + "dev": true, + "requires": { + "camelcase": "3.0.0", + "cliui": "3.2.0", + "decamelize": "1.2.0", + "get-caller-file": "1.0.3", + "os-locale": "1.4.0", + "read-pkg-up": "1.0.1", + "require-directory": "2.1.1", + "require-main-filename": "1.0.1", + "set-blocking": "2.0.0", + "string-width": "1.0.2", + "which-module": "1.0.0", + "y18n": "3.2.1", + "yargs-parser": "5.0.0" + }, + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "load-json-file": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "strip-bom": "2.0.0" + } + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + } + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "requires": { + "load-json-file": "1.1.0", + "normalize-package-data": "2.4.0", + "path-type": "1.1.0" + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "dev": true, + "requires": { + "find-up": "1.1.2", + "read-pkg": "1.1.0" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "requires": { + "is-utf8": "0.2.1" + } + } + } + }, + "yargs-parser": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz", + "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=", + "dev": true, + "requires": { + "camelcase": "3.0.0" + }, + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true + } + } + }, + "yeast": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/yeast/-/yeast-0.1.2.tgz", + "integrity": "sha1-AI4G2AlDIMNy28L47XagymyKxBk=", + "dev": true + } + } +} diff --git a/package.json b/package.json index 5f456682d..61431498e 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,20 @@ "module": "es", "unpkg": "dist/react-datepicker.min.js", "style": "dist/react-datepicker.min.css", - "files": ["*.md", "dist", "lib", "es", "src/stylesheets"], - "keywords": ["react", "datepicker", "calendar", "date", "react-component"], + "files": [ + "*.md", + "dist", + "lib", + "es", + "src/stylesheets" + ], + "keywords": [ + "react", + "datepicker", + "calendar", + "date", + "react-component" + ], "repository": { "type": "git", "url": "git://github.com/Hacker0x01/react-datepicker.git" @@ -26,27 +38,27 @@ "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-react-transform": "^3.0.0", "babel-plugin-transform-class-properties": "^6.24.1", - "babel-plugin-transform-react-remove-prop-types": "^0.4.10", + "babel-plugin-transform-react-remove-prop-types": "^0.4.19", "babel-polyfill": "^6.26.0", "babel-preset-airbnb": "^2.4.0", - "babel-preset-env": "^1.6.1", + "babel-preset-env": "^1.7.0", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "chai": "^3.5.0", "codecov.io": "^0.1.6", "cross-env": "^5.1.1", "css-loader": "^0.28.7", - "enzyme": "^3.1.1", - "enzyme-adapter-react-16": "^1.0.4", + "enzyme": "^3.7.0", + "enzyme-adapter-react-16": "^1.6.0", "eslint": "^4.10.0", "eslint-plugin-import": "^2.8.0", "eslint-plugin-node": "^5.2.1", "eslint-plugin-promise": "^3.6.0", "eslint-plugin-react": "^7.4.0", - "express": "^4.16.2", + "express": "^4.16.4", "extract-text-webpack-plugin": "^1.0.1", "flow-bin": "^0.68.0", - "highlight.js": "^9.12.0", + "highlight.js": "^9.13.1", "husky": "^0.14.3", "isparta-loader": "^2.0.0", "karma": "^1.7.1", @@ -60,8 +72,7 @@ "lint-staged": "^6.0.0", "lodash": "^4.17.4", "mocha": "^4.0.1", - "moment": "^2.20.1", - "node-sass": "^4.6.0", + "node-sass": "^4.9.4", "npm-run-all": "^4.1.2", "prettier": "^1.9.2", "react": "^16.1.0", @@ -85,12 +96,12 @@ "webpack-hot-middleware": "^2.20.0" }, "peerDependencies": { - "moment": "^2.20.0", "react": "^16.0.0", "react-dom": "^16.0.0" }, "dependencies": { "classnames": "^2.2.5", + "date-fns": "^2.0.0-alpha.23", "prop-types": "^15.6.0", "react-onclickoutside": "^6.7.1", "react-popper": "^1.0.2" @@ -99,39 +110,30 @@ "eslint": "eslint {src,test,docs-site/src}/**/*.{js,jsx} *.js", "flow": "flow", "precommit": "lint-staged", - "sass-lint": - "sass-lint --config .sass-lint.yml 'src/stylesheets/*.scss, docs-site/src/*.scss' -i 'docs-site/src/higlight.scss, docs-site/src/reset.scss'", + "sass-lint": "sass-lint --config .sass-lint.yml 'src/stylesheets/*.scss, docs-site/src/*.scss' -i 'docs-site/src/higlight.scss, docs-site/src/reset.scss'", "lint": "run-p eslint flow sass-lint", "start": "cross-env MODULES=false node server.js", "test": "cross-env NODE_ENV=test karma start karma.conf.js --single-run", "prepublish": "test $(npm -v | tr . '\\n' | head -n 1) -ge '4' || exit 1", "prepare": "npm run build", - "codecov": - "cat coverage/*/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js", + "codecov": "cat coverage/*/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js", "prebuild": "rimraf es lib dist", "build": "cross-env NODE_ENV=production run-p build:** && run-p css:**", - "build-dev": - "cross-env NODE_ENV=development run-p build:** && run-p css:**", - "css:prod": - "node-sass --output-style compressed src/stylesheets/datepicker.scss > dist/react-datepicker.min.css", - "css:modules:prod": - "node-sass --output-style compressed src/stylesheets/datepicker-cssmodules.scss > dist/react-datepicker-cssmodules.min.css", - "css:dev": - "node-sass --output-style expanded src/stylesheets/datepicker.scss > dist/react-datepicker.css", - "css:modules:dev": - "node-sass --output-style expanded src/stylesheets/datepicker-cssmodules.scss > dist/react-datepicker-cssmodules.css", - "build:es": - "cross-env BABEL_ENV=es rollup -c -i src/index.jsx -o es/index.js", - "build:cjs": - "cross-env BABEL_ENV=cjs rollup -c -i src/index.jsx -o lib/index.js", - "build:umd:dev": - "cross-env BABEL_ENV=es rollup -c rollup.umd.config.js -i src/index.jsx -o dist/react-datepicker.js", - "build:umd:prod": - "cross-env BABEL_ENV=es rollup -c rollup.umd.config.js -i src/index.jsx -o dist/react-datepicker.min.js", - "build:docs": - "cross-env MODULES=false webpack --config webpack.docs.config.js" + "build-dev": "cross-env NODE_ENV=development run-p build:** && run-p css:**", + "css:prod": "node-sass --output-style compressed src/stylesheets/datepicker.scss > dist/react-datepicker.min.css", + "css:modules:prod": "node-sass --output-style compressed src/stylesheets/datepicker-cssmodules.scss > dist/react-datepicker-cssmodules.min.css", + "css:dev": "node-sass --output-style expanded src/stylesheets/datepicker.scss > dist/react-datepicker.css", + "css:modules:dev": "node-sass --output-style expanded src/stylesheets/datepicker-cssmodules.scss > dist/react-datepicker-cssmodules.css", + "build:es": "cross-env BABEL_ENV=es rollup -c -i src/index.jsx -o es/index.js", + "build:cjs": "cross-env BABEL_ENV=cjs rollup -c -i src/index.jsx -o lib/index.js", + "build:umd:dev": "cross-env BABEL_ENV=es rollup -c rollup.umd.config.js -i src/index.jsx -o dist/react-datepicker.js", + "build:umd:prod": "cross-env BABEL_ENV=es rollup -c rollup.umd.config.js -i src/index.jsx -o dist/react-datepicker.min.js", + "build:docs": "cross-env MODULES=false webpack --config webpack.docs.config.js" }, "lint-staged": { - "*.{js,jsx,json,css,scss,md}": ["prettier --write", "git add"] + "*.{js,jsx,json,css,scss,md}": [ + "prettier --write", + "git add" + ] } } diff --git a/src/calendar.jsx b/src/calendar.jsx index 863651f3a..22b592fd3 100644 --- a/src/calendar.jsx +++ b/src/calendar.jsx @@ -1,47 +1,44 @@ -import YearDropdown from "./year_dropdown"; -import MonthDropdown from "./month_dropdown"; -import MonthYearDropdown from "./month_year_dropdown"; -import Month from "./month"; -import Time from "./time"; -import React from "react"; -import PropTypes from "prop-types"; -import classnames from "classnames"; -import CalendarContainer from "./calendar_container"; +import YearDropdown from './year_dropdown'; +import MonthDropdown from './month_dropdown'; +import MonthYearDropdown from './month_year_dropdown'; +import Month from './month'; +import Time from './time'; +import React from 'react'; +import PropTypes from 'prop-types'; +import classnames from 'classnames'; +import CalendarContainer from './calendar_container'; import { - now, + newDate, setMonth, getMonth, addMonths, - subtractMonths, + subMonths, getStartOfWeek, - getStartOfDate, + getStartOfToday, addDays, - cloneDate, formatDate, - localizeDate, setYear, getYear, isBefore, isAfter, - getLocaleData, getFormattedWeekdayInLocale, getWeekdayShortInLocale, getWeekdayMinInLocale, isSameDay, - allDaysDisabledBefore, - allDaysDisabledAfter, + monthDisabledBefore, + monthDisabledAfter, getEffectiveMinDate, getEffectiveMaxDate -} from "./date_utils"; +} from './date_utils'; const DROPDOWN_FOCUS_CLASSNAMES = [ - "react-datepicker__year-select", - "react-datepicker__month-select", - "react-datepicker__month-year-select" + 'react-datepicker__year-select', + 'react-datepicker__month-select', + 'react-datepicker__month-year-select' ]; const isDropdownSelect = (element = {}) => { - const classNames = (element.className || "").split(/\s+/); + const classNames = (element.className || '').split(/\s+/); return DROPDOWN_FOCUS_CLASSNAMES.some( testClassname => classNames.indexOf(testClassname) >= 0 ); @@ -57,8 +54,8 @@ export default class Calendar extends React.Component { .isRequired, dayClassName: PropTypes.func, disabledKeyboardNavigation: PropTypes.bool, - dropdownMode: PropTypes.oneOf(["scroll", "select"]), - endDate: PropTypes.object, + dropdownMode: PropTypes.oneOf(['scroll', 'select']), + endDate: PropTypes.instanceOf(Date), excludeDates: PropTypes.array, filterDate: PropTypes.func, fixedHeight: PropTypes.bool, @@ -69,8 +66,8 @@ export default class Calendar extends React.Component { injectTimes: PropTypes.array, inline: PropTypes.bool, locale: PropTypes.string, - maxDate: PropTypes.object, - minDate: PropTypes.object, + maxDate: PropTypes.instanceOf(Date), + minDate: PropTypes.instanceOf(Date), monthsShown: PropTypes.number, onClickOutside: PropTypes.func.isRequired, onMonthChange: PropTypes.func, @@ -84,28 +81,27 @@ export default class Calendar extends React.Component { timeFormat: PropTypes.string, timeIntervals: PropTypes.number, onTimeChange: PropTypes.func, - minTime: PropTypes.object, - maxTime: PropTypes.object, + minTime: PropTypes.instanceOf(Date), + maxTime: PropTypes.instanceOf(Date), excludeTimes: PropTypes.array, timeCaption: PropTypes.string, - openToDate: PropTypes.object, + openToDate: PropTypes.instanceOf(Date), peekNextMonth: PropTypes.bool, scrollableYearDropdown: PropTypes.bool, scrollableMonthYearDropdown: PropTypes.bool, - preSelection: PropTypes.object, - selected: PropTypes.object, + preSelection: PropTypes.instanceOf(Date), + selected: PropTypes.instanceOf(Date), selectsEnd: PropTypes.bool, selectsStart: PropTypes.bool, showMonthDropdown: PropTypes.bool, showMonthYearDropdown: PropTypes.bool, showWeekNumbers: PropTypes.bool, showYearDropdown: PropTypes.bool, - startDate: PropTypes.object, - todayButton: PropTypes.node, + startDate: PropTypes.instanceOf(Date), + todayButton: PropTypes.string, useWeekdaysShort: PropTypes.bool, formatWeekDay: PropTypes.func, withPortal: PropTypes.bool, - utcOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), weekLabel: PropTypes.string, yearDropdownItemNumber: PropTypes.number, setOpen: PropTypes.func, @@ -123,9 +119,9 @@ export default class Calendar extends React.Component { onDropdownFocus: () => {}, monthsShown: 1, forceShowMonthNavigation: false, - timeCaption: "Time", - previousMonthButtonLabel: "Previous Month", - nextMonthButtonLabel: "Next Month" + timeCaption: 'Time', + previousMonthButtonLabel: 'Previous Month', + nextMonthButtonLabel: 'Next Month' }; } @@ -134,14 +130,15 @@ export default class Calendar extends React.Component { onDropdownFocus: () => {}, monthsShown: 1, forceShowMonthNavigation: false, - timeCaption: "Time" + timeCaption: 'Time' }; } constructor(props) { super(props); + this.state = { - date: this.localizeDate(this.getDateInView()), + date: this.getDateInView(), selectingDate: null, monthContainer: null }; @@ -165,14 +162,14 @@ export default class Calendar extends React.Component { !isSameDay(this.props.preSelection, prevProps.preSelection) ) { this.setState({ - date: this.localizeDate(this.props.preSelection) + date: this.props.preSelection }); } else if ( this.props.openToDate && !isSameDay(this.props.openToDate, prevProps.openToDate) ) { this.setState({ - date: this.localizeDate(this.props.openToDate) + date: this.props.openToDate }); } } @@ -188,10 +185,10 @@ export default class Calendar extends React.Component { }; getDateInView = () => { - const { preSelection, selected, openToDate, utcOffset } = this.props; + const { preSelection, selected, openToDate } = this.props; const minDate = getEffectiveMinDate(this.props); const maxDate = getEffectiveMaxDate(this.props); - const current = now(utcOffset); + const current = newDate(); const initialDate = openToDate || selected || preSelection; if (initialDate) { return initialDate; @@ -205,12 +202,10 @@ export default class Calendar extends React.Component { return current; }; - localizeDate = date => localizeDate(date, this.props.locale); - increaseMonth = () => { this.setState( { - date: addMonths(cloneDate(this.state.date), 1) + date: addMonths(this.state.date, 1) }, () => this.handleMonthChange(this.state.date) ); @@ -219,7 +214,7 @@ export default class Calendar extends React.Component { decreaseMonth = () => { this.setState( { - date: subtractMonths(cloneDate(this.state.date), 1) + date: subMonths(this.state.date, 1) }, () => this.handleMonthChange(this.state.date) ); @@ -259,7 +254,7 @@ export default class Calendar extends React.Component { changeYear = year => { this.setState( { - date: setYear(cloneDate(this.state.date), year) + date: setYear(this.state.date, year) }, () => this.handleYearChange(this.state.date) ); @@ -268,7 +263,7 @@ export default class Calendar extends React.Component { changeMonth = month => { this.setState( { - date: setMonth(cloneDate(this.state.date), month) + date: setMonth(this.state.date, month) }, () => this.handleMonthChange(this.state.date) ); @@ -278,7 +273,7 @@ export default class Calendar extends React.Component { this.setState( { date: setYear( - setMonth(cloneDate(this.state.date), getMonth(monthYear)), + setMonth(this.state.date, getMonth(monthYear)), getYear(monthYear) ) }, @@ -287,21 +282,19 @@ export default class Calendar extends React.Component { }; header = (date = this.state.date) => { - const startOfWeek = getStartOfWeek(cloneDate(date)); + const startOfWeek = getStartOfWeek(date, this.props.locale); const dayNames = []; if (this.props.showWeekNumbers) { dayNames.push( - {this.props.weekLabel || "#"} + {this.props.weekLabel || '#'} ); } return dayNames.concat( [0, 1, 2, 3, 4, 5, 6].map(offset => { - const day = addDays(cloneDate(startOfWeek), offset); - const localeData = getLocaleData(day); - const weekDayName = this.formatWeekday(localeData, day); - + const day = addDays(startOfWeek, offset); + const weekDayName = this.formatWeekday(day, this.props.locale); return ( {weekDayName} @@ -311,17 +304,13 @@ export default class Calendar extends React.Component { ); }; - formatWeekday = (localeData, day) => { + formatWeekday = (day, locale) => { if (this.props.formatWeekDay) { - return getFormattedWeekdayInLocale( - localeData, - day, - this.props.formatWeekDay - ); + return getFormattedWeekdayInLocale(day, this.props.formatWeekDay, locale); } return this.props.useWeekdaysShort - ? getWeekdayShortInLocale(localeData, day) - : getWeekdayMinInLocale(localeData, day); + ? getWeekdayShortInLocale(day, locale) + : getWeekdayMinInLocale(day, locale); }; renderPreviousMonthButton = () => { @@ -329,9 +318,8 @@ export default class Calendar extends React.Component { return; } - const allPrevDaysDisabled = allDaysDisabledBefore( + const allPrevDaysDisabled = monthDisabledBefore( this.state.date, - "month", this.props ); @@ -345,21 +333,21 @@ export default class Calendar extends React.Component { } const classes = [ - "react-datepicker__navigation", - "react-datepicker__navigation--previous" + 'react-datepicker__navigation', + 'react-datepicker__navigation--previous' ]; let clickHandler = this.decreaseMonth; if (allPrevDaysDisabled && this.props.showDisabledMonthNavigation) { - classes.push("react-datepicker__navigation--previous--disabled"); + classes.push('react-datepicker__navigation--previous--disabled'); clickHandler = null; } return ( {this.props.previousMonthButtonLabel} @@ -372,11 +360,7 @@ export default class Calendar extends React.Component { return; } - const allNextDaysDisabled = allDaysDisabledAfter( - this.state.date, - "month", - this.props - ); + const allNextDaysDisabled = monthDisabledAfter(this.state.date, this.props); if ( (!this.props.forceShowMonthNavigation && @@ -388,27 +372,27 @@ export default class Calendar extends React.Component { } const classes = [ - "react-datepicker__navigation", - "react-datepicker__navigation--next" + 'react-datepicker__navigation', + 'react-datepicker__navigation--next' ]; if (this.props.showTimeSelect) { - classes.push("react-datepicker__navigation--next--with-time"); + classes.push('react-datepicker__navigation--next--with-time'); } if (this.props.todayButton) { - classes.push("react-datepicker__navigation--next--with-today-button"); + classes.push('react-datepicker__navigation--next--with-today-button'); } let clickHandler = this.increaseMonth; if (allNextDaysDisabled && this.props.showDisabledMonthNavigation) { - classes.push("react-datepicker__navigation--next--disabled"); + classes.push('react-datepicker__navigation--next--disabled'); clickHandler = null; } return ( {this.props.nextMonthButtonLabel} @@ -417,20 +401,20 @@ export default class Calendar extends React.Component { }; renderCurrentMonth = (date = this.state.date) => { - const classes = ["react-datepicker__current-month"]; + const classes = ['react-datepicker__current-month']; if (this.props.showYearDropdown) { - classes.push("react-datepicker__current-month--hasYearDropdown"); + classes.push('react-datepicker__current-month--hasYearDropdown'); } if (this.props.showMonthDropdown) { - classes.push("react-datepicker__current-month--hasMonthDropdown"); + classes.push('react-datepicker__current-month--hasMonthDropdown'); } if (this.props.showMonthYearDropdown) { - classes.push("react-datepicker__current-month--hasMonthYearDropdown"); + classes.push('react-datepicker__current-month--hasMonthYearDropdown'); } return ( - - {formatDate(date, this.props.dateFormat)} + + {formatDate(date, this.props.dateFormat, this.props.locale)} ); }; @@ -464,7 +448,6 @@ export default class Calendar extends React.Component { - this.props.onSelect(getStartOfDate(now(this.props.utcOffset)), e) - } + onClick={e => this.props.onSelect(getStartOfToday(), e)} > {this.props.todayButton} @@ -530,15 +511,13 @@ export default class Calendar extends React.Component { return null; } - const prevMonthButtonDisabled = allDaysDisabledBefore( + const prevMonthButtonDisabled = monthDisabledBefore( this.state.date, - "month", this.props ); - const nextMonthButtonDisabled = allDaysDisabledAfter( + const nextMonthButtonDisabled = monthDisabledAfter( this.state.date, - "month", this.props ); @@ -570,7 +549,7 @@ export default class Calendar extends React.Component { var monthList = []; for (var i = 0; i < this.props.monthsShown; ++i) { - var monthDate = addMonths(cloneDate(this.state.date), i); + var monthDate = addMonths(this.state.date, i); var monthKey = `month-${i}`; monthList.push( {this.renderPreviousMonthButton()} diff --git a/src/date_utils.js b/src/date_utils.js index 080ce0ace..aa2e1dacf 100644 --- a/src/date_utils.js +++ b/src/date_utils.js @@ -1,252 +1,207 @@ -import moment from "moment"; - -const dayOfWeekCodes = { - 1: "mon", - 2: "tue", - 3: "wed", - 4: "thu", - 5: "fri", - 6: "sat", - 7: "sun" -}; - -// These functions are not exported so -// that we avoid magic strings like 'days' -function set(date, unit, to) { - return date.set(unit, to); -} - -function add(date, amount, unit) { - return date.add(amount, unit); -} - -function subtract(date, amount, unit) { - return date.subtract(amount, unit); -} - -function get(date, unit) { - return date.get(unit); -} - -function getStartOf(date, unit) { - return date.startOf(unit); -} - -function getEndOf(date, unit) { - return date.endOf(unit); -} - -function getDiff(date1, date2, unit) { - return date1.diff(date2, unit); -} +import isDate from 'date-fns/isDate'; +import isValidDate from 'date-fns/isValid'; +import format from 'date-fns/format'; +import addMinutes from 'date-fns/addMinutes'; +import addHours from 'date-fns/addHours'; +import addDays from 'date-fns/addDays'; +import addWeeks from 'date-fns/addWeeks'; +import addMonths from 'date-fns/addMonths'; +import addYears from 'date-fns/addYears'; +import subMinutes from 'date-fns/subMinutes'; +import subHours from 'date-fns/subHours'; +import subDays from 'date-fns/subDays'; +import subWeeks from 'date-fns/subWeeks'; +import subMonths from 'date-fns/subMonths'; +import subYears from 'date-fns/subYears'; +import getSeconds from 'date-fns/getSeconds'; +import getMinutes from 'date-fns/getMinutes'; +import getHours from 'date-fns/getHours'; +import getDay from 'date-fns/getDay'; +import getDate from 'date-fns/getDate'; +import getMonth from 'date-fns/getMonth'; +import getYear from 'date-fns/getYear'; +import getTime from 'date-fns/getTime'; +import setSeconds from 'date-fns/setSeconds'; +import setMinutes from 'date-fns/setMinutes'; +import setHours from 'date-fns/setHours'; +import setMonth from 'date-fns/setMonth'; +import setYear from 'date-fns/setYear'; +import min from 'date-fns/min'; +import max from 'date-fns/max'; +import differenceInCalendarDays from 'date-fns/differenceInCalendarDays'; +import differenceInCalendarMonths from 'date-fns/differenceInCalendarMonths'; +import differenceInCalendarWeeks from 'date-fns/differenceInCalendarWeeks'; +import setDayOfYear from 'date-fns/setDayOfYear'; +import startOfDay from 'date-fns/startOfDay'; +import startOfWeek from 'date-fns/startOfWeek'; +import startOfMonth from 'date-fns/startOfMonth'; +import startOfYear from 'date-fns/startOfYear'; +import endOfWeek from 'date-fns/endOfWeek'; +import endOfMonth from 'date-fns/endOfMonth'; +import isEqual from 'date-fns/isEqual'; +import isSameWeek from 'date-fns/isSameWeek'; +import dfIsSameDay from 'date-fns/isSameDay'; +import dfIsSameMonth from 'date-fns/isSameMonth'; +import dfIsSameYear from 'date-fns/isSameYear'; +import isAfter from 'date-fns/isAfter'; +import isBefore from 'date-fns/isBefore'; +import isWithinInterval from 'date-fns/isWithinInterval'; +import toDate from 'date-fns/toDate'; +import parse from 'date-fns/parse'; // ** Date Constructors ** -export function newDate(point) { - return moment(point); -} - -export function newDateWithOffset(utcOffset) { - return moment() - .utc() - .utcOffset(utcOffset); +export function newDate(value) { + const d = value ? toDate(value) : new Date(); + return isValid(d) ? d : null; } -export function now(maybeFixedUtcOffset) { - if (maybeFixedUtcOffset == null) { - return newDate(); +export function parseDate(value, dateFormat, locale) { + let parsedDate = null; + let localeObject = getLocaleObject(locale); + if (Array.isArray(dateFormat)) { + dateFormat.forEach(df => { + let tryParseDate = parse(value, df, new Date(), localeObject); + if (isValid(tryParseDate)) { + parsedDate = tryParseDate; + } + }); + return parsedDate; } - return newDateWithOffset(maybeFixedUtcOffset); -} - -export function cloneDate(date) { - return date.clone(); -} - -export function parseDate(value, { dateFormat, locale }) { - const m = moment(value, dateFormat, locale || moment.locale(), true); - return m.isValid() ? m : null; + parsedDate = parse(value, dateFormat, new Date(), localeObject); + if (!isValid(parsedDate)) { + parsedDate = new Date(value); + } + return isValid(parsedDate) ? parsedDate : null; } // ** Date "Reflection" ** -export function isMoment(date) { - return moment.isMoment(date); -} +export { isDate }; -export function isDate(date) { - return moment.isDate(date); +export function isValid(date) { + return isValidDate(date) && isAfter(date, new Date('1/1/1000')); } // ** Date Formatting ** -export function formatDate(date, format) { - return date.format(format); +export function formatDate(date, formatStr, locale) { + if (locale === 'en') { + return format(date, formatStr, { awareOfUnicodeTokens: true }); + } + let localeObj = getLocaleObject(locale); + if (locale && !localeObj) { + console.warn( + `A locale object was not found for the provided string ["${locale}"].` + ); + } + if ( + !localeObj && + !!getDefaultLocale() && + !!getLocaleObject(getDefaultLocale()) + ) { + localeObj = getLocaleObject(getDefaultLocale()); + } + return format(date, formatStr, { + locale: localeObj ? localeObj : null, + awareOfUnicodeTokens: true + }); } export function safeDateFormat(date, { dateFormat, locale }) { return ( (date && - date - .clone() - .locale(locale || moment.locale()) - .format(Array.isArray(dateFormat) ? dateFormat[0] : dateFormat)) || - "" + formatDate( + date, + Array.isArray(dateFormat) ? dateFormat[0] : dateFormat, + (locale: locale) + )) || + '' ); } // ** Date Setters ** -export function setTime(date, { hour, minute, second }) { - date.set({ hour, minute, second }); - return date; -} - -export function setMonth(date, month) { - return set(date, "month", month); +export function setTime(date, { hour = 0, minute = 0, second = 0 }) { + return setHours(setMinutes(setSeconds(date, second), minute), hour); } -export function setYear(date, year) { - return set(date, "year", year); -} - -export function setUTCOffset(date, offset) { - return date.utcOffset(offset); -} +export { setMonth, setYear }; // ** Date Getters ** -export function getSecond(date) { - return get(date, "second"); -} - -export function getMinute(date) { - return get(date, "minute"); -} - -export function getHour(date) { - return get(date, "hour"); -} - -// Returns day of week -export function getDay(date) { - return get(date, "day"); -} +// getDay Returns day of week, getDate returns day of month +export { + getSeconds, + getMinutes, + getHours, + getMonth, + getYear, + getDay, + getDate, + getTime +}; export function getWeek(date) { - return get(date, "week"); -} - -export function getMonth(date) { - return get(date, "month"); -} - -export function getYear(date) { - return get(date, "year"); -} - -// Returns day of month -export function getDate(date) { - return get(date, "date"); -} - -export function getUTCOffset() { - return moment().utcOffset(); + let firstDayOfYear = setDayOfYear(date, 1); + if (!isSameYear(endOfWeek(date), date)) { + return 1; + } + return differenceInCalendarWeeks(date, startOfYear(date)) + 1; } -export function getDayOfWeekCode(day) { - return dayOfWeekCodes[day.isoWeekday()]; +export function getDayOfWeekCode(day, locale) { + return formatDate(day, 'ddd', (locale: locale)); } // *** Start of *** export function getStartOfDay(date) { - return getStartOf(date, "day"); + return startOfDay(date); } -export function getStartOfWeek(date) { - return getStartOf(date, "week"); +export function getStartOfWeek(date, locale) { + let localeObj = locale + ? getLocaleObject(locale) + : getLocaleObject(getDefaultLocale()); + return startOfWeek(date, { locale: localeObj }); } + export function getStartOfMonth(date) { - return getStartOf(date, "month"); + return startOfMonth(date); } -export function getStartOfDate(date) { - return getStartOf(date, "date"); +export function getStartOfToday() { + return startOfDay(newDate()); } // *** End of *** export function getEndOfWeek(date) { - return getEndOf(date, "week"); + return endOfWeek(date); } export function getEndOfMonth(date) { - return getEndOf(date, "month"); + return endOfMonth(date); } // ** Date Math ** // *** Addition *** -export function addMinutes(date, amount) { - return add(date, amount, "minutes"); -} - -export function addHours(date, amount) { - return add(date, amount, "hours"); -} - -export function addDays(date, amount) { - return add(date, amount, "days"); -} - -export function addWeeks(date, amount) { - return add(date, amount, "weeks"); -} - -export function addMonths(date, amount) { - return add(date, amount, "months"); -} - -export function addYears(date, amount) { - return add(date, amount, "years"); -} +export { addMinutes, addDays, addWeeks, addMonths, addYears }; // *** Subtraction *** -export function subtractDays(date, amount) { - return subtract(date, amount, "days"); -} - -export function subtractWeeks(date, amount) { - return subtract(date, amount, "weeks"); -} - -export function subtractMonths(date, amount) { - return subtract(date, amount, "months"); -} -export function subtractYears(date, amount) { - return subtract(date, amount, "years"); -} +export { subMinutes, subHours, subDays, subWeeks, subMonths, subYears }; // ** Date Comparison ** -export function isBefore(date1, date2) { - return date1.isBefore(date2); -} - -export function isAfter(date1, date2) { - return date1.isAfter(date2); -} - -export function equals(date1, date2) { - return date1.isSame(date2); -} +export { isBefore, isAfter, isEqual }; export function isSameYear(date1, date2) { if (date1 && date2) { - return date1.isSame(date2, "year"); + return dfIsSameYear(date1, date2); } else { return !date1 && !date2; } @@ -254,94 +209,69 @@ export function isSameYear(date1, date2) { export function isSameMonth(date1, date2) { if (date1 && date2) { - return date1.isSame(date2, "month"); + return dfIsSameMonth(date1, date2); } else { return !date1 && !date2; } } -export function isSameDay(moment1, moment2) { - if (moment1 && moment2) { - return moment1.isSame(moment2, "day"); - } else { - return !moment1 && !moment2; - } -} - -export function isSameUtcOffset(moment1, moment2) { - if (moment1 && moment2) { - return moment1.utcOffset() === moment2.utcOffset(); +export function isSameDay(date1, date2) { + if (date1 && date2) { + return dfIsSameDay(date1, date2); } else { - return !moment1 && !moment2; + return !date1 && !date2; } } export function isDayInRange(day, startDate, endDate) { - const before = startDate - .clone() - .startOf("day") - .subtract(1, "seconds"); - const after = endDate - .clone() - .startOf("day") - .add(1, "seconds"); - return day - .clone() - .startOf("day") - .isBetween(before, after); + return isWithinInterval(day, { start: startDate, end: endDate }); } // *** Diffing *** export function getDaysDiff(date1, date2) { - return getDiff(date1, date2, "days"); + return differenceInCalendarDays(date1, date2); } // ** Date Localization ** -export function localizeDate(date, locale) { - return date.clone().locale(locale || moment.locale()); -} - -export function getDefaultLocale() { - return moment.locale(); -} - -export function getDefaultLocaleData() { - return moment.localeData(); +export function registerLocale(localeName, localeData) { + if (!window.__localeData__) { + window.__localeData__ = {}; + } + window.__localeData__[localeName] = localeData; } -export function registerLocale(localeName, localeData) { - moment.defineLocale(localeName, localeData); +export function setDefaultLocale(localeName) { + window.__localeId__ = localeName; } -export function getLocaleData(date) { - return date.localeData(); +export function getDefaultLocale() { + return window.__localeId__; } -export function getLocaleDataForLocale(locale) { - return moment.localeData(locale); +export function getLocaleObject(localeName) { + return window.__localeData__ ? window.__localeData__[localeName] : null; } -export function getFormattedWeekdayInLocale(locale, date, formatFunc) { - return formatFunc(locale.weekdays(date)); +export function getFormattedWeekdayInLocale(date, formatFunc, locale) { + return formatFunc(formatDate(date, 'dddd', locale)); } -export function getWeekdayMinInLocale(locale, date) { - return locale.weekdaysMin(date); +export function getWeekdayMinInLocale(date, locale) { + return formatDate(date, 'EEEEEE', locale); } -export function getWeekdayShortInLocale(locale, date) { - return locale.weekdaysShort(date); +export function getWeekdayShortInLocale(date, locale) { + return formatDate(date, 'EEE', locale); } -// TODO what is this format exactly? -export function getMonthInLocale(locale, date, format) { - return locale.months(date, format); +export function getMonthInLocale(month, locale) { + return formatDate(setMonth(newDate(), month), 'LLLL', locale); } -export function getMonthShortInLocale(locale, date) { - return locale.monthsShort(date); +export function getMonthShortInLocale(month, dateFormat, locale) { + return formatDate(setMonth(newDate(), month), 'LLL', locale); } // ** Utils for some components ** @@ -351,21 +281,20 @@ export function isDayDisabled( { minDate, maxDate, excludeDates, includeDates, filterDate } = {} ) { return ( - (minDate && day.isBefore(minDate, "day")) || - (maxDate && day.isAfter(maxDate, "day")) || + isOutOfBounds(day, { minDate, maxDate }) || (excludeDates && excludeDates.some(excludeDate => isSameDay(day, excludeDate))) || (includeDates && !includeDates.some(includeDate => isSameDay(day, includeDate))) || - (filterDate && !filterDate(day.clone())) || + (filterDate && !filterDate(newDate(day))) || false ); } export function isOutOfBounds(day, { minDate, maxDate } = {}) { return ( - (minDate && day.isBefore(minDate, "day")) || - (maxDate && day.isAfter(maxDate, "day")) + (minDate && differenceInCalendarDays(day, minDate) < 0) || + (maxDate && differenceInCalendarDays(day, maxDate) > 0) ); } @@ -373,8 +302,8 @@ export function isTimeDisabled(time, disabledTimes) { const l = disabledTimes.length; for (let i = 0; i < l; i++) { if ( - disabledTimes[i].get("hours") === time.get("hours") && - disabledTimes[i].get("minutes") === time.get("minutes") + getHours(disabledTimes[i]) === getHours(time) && + getMinutes(disabledTimes[i]) === getMinutes(time) ) { return true; } @@ -385,56 +314,41 @@ export function isTimeDisabled(time, disabledTimes) { export function isTimeInDisabledRange(time, { minTime, maxTime }) { if (!minTime || !maxTime) { - throw new Error("Both minTime and maxTime props required"); + throw new Error('Both minTime and maxTime props required'); } + const base = newDate(); + const baseTime = setHours(setMinutes(base, getMinutes(time)), getHours(time)); + const min = setHours( + setMinutes(base, getMinutes(minTime)), + getHours(minTime) + ); + const max = setHours( + setMinutes(base, getMinutes(maxTime)), + getHours(maxTime) + ); + return !isWithinInterval(baseTime, { start: min, end: max }); +} - const base = moment() - .hours(0) - .minutes(0) - .seconds(0); - const baseTime = base - .clone() - .hours(time.get("hours")) - .minutes(time.get("minutes")); - const min = base - .clone() - .hours(minTime.get("hours")) - .minutes(minTime.get("minutes")); - const max = base - .clone() - .hours(maxTime.get("hours")) - .minutes(maxTime.get("minutes")); - - return !(baseTime.isSameOrAfter(min) && baseTime.isSameOrBefore(max)); -} - -export function allDaysDisabledBefore( - day, - unit, - { minDate, includeDates } = {} -) { - const dateBefore = day.clone().subtract(1, unit); +export function monthDisabledBefore(day, { minDate, includeDates } = {}) { + const previousMonth = subMonths(day, 1); return ( - (minDate && dateBefore.isBefore(minDate, unit)) || + (minDate && differenceInCalendarMonths(minDate, previousMonth) > 0) || (includeDates && - includeDates.every(includeDate => - dateBefore.isBefore(includeDate, unit) + includeDates.every( + includeDate => + differenceInCalendarMonths(includeDate, previousMonth) > 0 )) || false ); } -export function allDaysDisabledAfter( - day, - unit, - { maxDate, includeDates } = {} -) { - const dateAfter = day.clone().add(1, unit); +export function monthDisabledAfter(day, { maxDate, includeDates } = {}) { + const nextMonth = addMonths(day, 1); return ( - (maxDate && dateAfter.isAfter(maxDate, unit)) || + (maxDate && differenceInCalendarMonths(nextMonth, maxDate) > 0) || (includeDates && - includeDates.every(includeDate => - dateAfter.isAfter(includeDate, unit) + includeDates.every( + includeDate => differenceInCalendarMonths(nextMonth, includeDate) > 0 )) || false ); @@ -442,13 +356,12 @@ export function allDaysDisabledAfter( export function getEffectiveMinDate({ minDate, includeDates }) { if (includeDates && minDate) { - return moment.min( - includeDates.filter(includeDate => - minDate.isSameOrBefore(includeDate, "day") - ) + let minDates = includeDates.filter( + includeDate => differenceInCalendarDays(includeDate, minDate) >= 0 ); + return min(minDates); } else if (includeDates) { - return moment.min(includeDates); + return min(includeDates); } else { return minDate; } @@ -456,13 +369,12 @@ export function getEffectiveMinDate({ minDate, includeDates }) { export function getEffectiveMaxDate({ maxDate, includeDates }) { if (includeDates && maxDate) { - return moment.max( - includeDates.filter(includeDate => - maxDate.isSameOrAfter(includeDate, "day") - ) + let maxDates = includeDates.filter( + includeDate => differenceInCalendarDays(includeDate, maxDate) <= 0 ); + return max(maxDates); } else if (includeDates) { - return moment.max(includeDates); + return max(includeDates); } else { return maxDate; } @@ -470,25 +382,25 @@ export function getEffectiveMaxDate({ maxDate, includeDates }) { export function getHightLightDaysMap( highlightDates = [], - defaultClassName = "react-datepicker__day--highlighted" + defaultClassName = 'react-datepicker__day--highlighted' ) { const dateClasses = new Map(); for (let i = 0, len = highlightDates.length; i < len; i++) { const obj = highlightDates[i]; - if (isMoment(obj)) { - const key = obj.format("MM.DD.YYYY"); + if (isDate(obj)) { + const key = formatDate(obj, 'MM.dd.yyyy'); const classNamesArr = dateClasses.get(key) || []; if (!classNamesArr.includes(defaultClassName)) { classNamesArr.push(defaultClassName); dateClasses.set(key, classNamesArr); } - } else if (typeof obj === "object") { + } else if (typeof obj === 'object') { const keys = Object.keys(obj); const className = keys[0]; - const arrOfMoments = obj[keys[0]]; - if (typeof className === "string" && arrOfMoments.constructor === Array) { - for (let k = 0, len = arrOfMoments.length; k < len; k++) { - const key = arrOfMoments[k].format("MM.DD.YYYY"); + const arrOfDates = obj[keys[0]]; + if (typeof className === 'string' && arrOfDates.constructor === Array) { + for (let k = 0, len = arrOfDates.length; k < len; k++) { + const key = formatDate(arrOfDates[k], 'MM.dd.yyyy'); const classNamesArr = dateClasses.get(key) || []; if (!classNamesArr.includes(className)) { classNamesArr.push(className); @@ -513,15 +425,18 @@ export function timesToInjectAfter( const times = []; for (let i = 0; i < l; i++) { const injectedTime = addMinutes( - addHours(cloneDate(startOfDay), getHour(injectedTimes[i])), - getMinute(injectedTimes[i]) + addHours(startOfDay, getHours(injectedTimes[i])), + getMinutes(injectedTimes[i]) ); const nextTime = addMinutes( - cloneDate(startOfDay), + startOfDay, (currentMultiplier + 1) * intervals ); - if (injectedTime.isBetween(currentTime, nextTime)) { + if ( + isAfter(injectedTime, currentTime) && + isBefore(injectedTime, nextTime) + ) { times.push(injectedTimes[i]); } } diff --git a/src/day.jsx b/src/day.jsx index df5c30030..09894f3db 100644 --- a/src/day.jsx +++ b/src/day.jsx @@ -1,35 +1,38 @@ -import React from "react"; -import PropTypes from "prop-types"; -import classnames from "classnames"; +import React from 'react'; +import PropTypes from 'prop-types'; +import classnames from 'classnames'; import { getDay, getMonth, getDate, - now, + newDate, isSameDay, isDayDisabled, isDayInRange, - getDayOfWeekCode -} from "./date_utils"; + isEqual, + isBefore, + isAfter, + getDayOfWeekCode, + formatDate +} from './date_utils'; export default class Day extends React.Component { static propTypes = { disabledKeyboardNavigation: PropTypes.bool, - day: PropTypes.object.isRequired, + day: PropTypes.instanceOf(Date).isRequired, dayClassName: PropTypes.func, - endDate: PropTypes.object, + endDate: PropTypes.instanceOf(Date), highlightDates: PropTypes.instanceOf(Map), inline: PropTypes.bool, month: PropTypes.number, onClick: PropTypes.func, onMouseEnter: PropTypes.func, - preSelection: PropTypes.object, + preSelection: PropTypes.instanceOf(Date), selected: PropTypes.object, - selectingDate: PropTypes.object, + selectingDate: PropTypes.instanceOf(Date), selectsEnd: PropTypes.bool, selectsStart: PropTypes.bool, - startDate: PropTypes.object, - utcOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), + startDate: PropTypes.instanceOf(Date), renderDayContents: PropTypes.func }; @@ -63,7 +66,7 @@ export default class Day extends React.Component { } // Looking for className in the Map of {'day string, 'className'} - const dayStr = day.format("MM.DD.YYYY"); + const dayStr = formatDate(day, 'MM.dd.yyyy'); return highlightDates.get(dayStr); }; @@ -89,11 +92,19 @@ export default class Day extends React.Component { return false; } - if (selectsStart && endDate && selectingDate.isSameOrBefore(endDate)) { + if ( + selectsStart && + endDate && + (isBefore(selectingDate, endDate) || isEqual(selectingDate, endDate)) + ) { return isDayInRange(day, selectingDate, endDate); } - if (selectsEnd && startDate && selectingDate.isSameOrAfter(startDate)) { + if ( + selectsEnd && + startDate && + (isAfter(selectingDate, startDate) || isEqual(selectingDate, startDate)) + ) { return isDayInRange(day, startDate, selectingDate); } @@ -161,26 +172,24 @@ export default class Day extends React.Component { ? this.props.dayClassName(date) : undefined; return classnames( - "react-datepicker__day", + 'react-datepicker__day', dayClassName, - "react-datepicker__day--" + getDayOfWeekCode(this.props.day), + 'react-datepicker__day--' + getDayOfWeekCode(this.props.day), { - "react-datepicker__day--disabled": this.isDisabled(), - "react-datepicker__day--selected": this.isSameDay(this.props.selected), - "react-datepicker__day--keyboard-selected": this.isKeyboardSelected(), - "react-datepicker__day--range-start": this.isRangeStart(), - "react-datepicker__day--range-end": this.isRangeEnd(), - "react-datepicker__day--in-range": this.isInRange(), - "react-datepicker__day--in-selecting-range": this.isInSelectingRange(), - "react-datepicker__day--selecting-range-start": this.isSelectingRangeStart(), - "react-datepicker__day--selecting-range-end": this.isSelectingRangeEnd(), - "react-datepicker__day--today": this.isSameDay( - now(this.props.utcOffset) - ), - "react-datepicker__day--weekend": this.isWeekend(), - "react-datepicker__day--outside-month": this.isOutsideMonth() + 'react-datepicker__day--disabled': this.isDisabled(), + 'react-datepicker__day--selected': this.isSameDay(this.props.selected), + 'react-datepicker__day--keyboard-selected': this.isKeyboardSelected(), + 'react-datepicker__day--range-start': this.isRangeStart(), + 'react-datepicker__day--range-end': this.isRangeEnd(), + 'react-datepicker__day--in-range': this.isInRange(), + 'react-datepicker__day--in-selecting-range': this.isInSelectingRange(), + 'react-datepicker__day--selecting-range-start': this.isSelectingRangeStart(), + 'react-datepicker__day--selecting-range-end': this.isSelectingRangeEnd(), + 'react-datepicker__day--today': this.isSameDay(newDate()), + 'react-datepicker__day--weekend': this.isWeekend(), + 'react-datepicker__day--outside-month': this.isOutsideMonth() }, - this.getHighLightedClass("react-datepicker__day--highlighted") + this.getHighLightedClass('react-datepicker__day--highlighted') ); }; diff --git a/src/index.jsx b/src/index.jsx index 3461f730b..034d06844 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -1,29 +1,26 @@ -import Calendar from "./calendar"; -import React from "react"; -import PropTypes from "prop-types"; -import PopperComponent, { popperPlacementPositions } from "./popper_component"; -import classnames from "classnames"; +import React from 'react'; +import PropTypes from 'prop-types'; +import Calendar from './calendar'; +import PopperComponent, { popperPlacementPositions } from './popper_component'; +import classnames from 'classnames'; import { newDate, - now, - cloneDate, - isMoment, isDate, isBefore, isAfter, - equals, + isEqual, setTime, - getSecond, - getMinute, - getHour, + getSeconds, + getMinutes, + getHours, addDays, addMonths, addWeeks, addYears, - subtractDays, - subtractMonths, - subtractWeeks, - subtractYears, + subDays, + subMonths, + subWeeks, + subYears, isSameDay, isDayDisabled, isOutOfBounds, @@ -34,13 +31,18 @@ import { safeDateFormat, getHightLightDaysMap, getYear, - getMonth -} from "./date_utils"; -import onClickOutside from "react-onclickoutside"; + getMonth, + registerLocale, + setDefaultLocale, + getDefaultLocale +} from './date_utils'; +import onClickOutside from 'react-onclickoutside'; -export { default as CalendarContainer } from "./calendar_container"; +export { default as CalendarContainer } from './calendar_container'; -const outsideClickIgnoreClass = "react-datepicker-ignore-onclickoutside"; +export { registerLocale, setDefaultLocale, getDefaultLocale }; + +const outsideClickIgnoreClass = 'react-datepicker-ignore-onclickoutside'; const WrappedCalendar = onClickOutside(Calendar); // Compares dates year+month combinations @@ -56,7 +58,7 @@ function hasPreSelectionChanged(date1, date2) { function hasSelectionChanged(date1, date2) { if (date1 && date2) { - return !equals(date1, date2); + return !isEqual(date1, date2); } return false; @@ -65,7 +67,7 @@ function hasSelectionChanged(date1, date2) { /** * General datepicker component. */ -const INPUT_ERR_1 = "Date input not valid."; +const INPUT_ERR_1 = 'Date input not valid.'; export default class DatePicker extends React.Component { static propTypes = { @@ -85,8 +87,8 @@ export default class DatePicker extends React.Component { dayClassName: PropTypes.func, disabled: PropTypes.bool, disabledKeyboardNavigation: PropTypes.bool, - dropdownMode: PropTypes.oneOf(["scroll", "select"]).isRequired, - endDate: PropTypes.object, + dropdownMode: PropTypes.oneOf(['scroll', 'select']).isRequired, + endDate: PropTypes.instanceOf(Date), excludeDates: PropTypes.array, filterDate: PropTypes.func, fixedHeight: PropTypes.bool, @@ -99,8 +101,8 @@ export default class DatePicker extends React.Component { inline: PropTypes.bool, isClearable: PropTypes.bool, locale: PropTypes.string, - maxDate: PropTypes.object, - minDate: PropTypes.object, + maxDate: PropTypes.instanceOf(Date), + minDate: PropTypes.instanceOf(Date), monthsShown: PropTypes.number, name: PropTypes.string, onBlur: PropTypes.func, @@ -116,7 +118,7 @@ export default class DatePicker extends React.Component { onYearChange: PropTypes.func, onInputError: PropTypes.func, open: PropTypes.bool, - openToDate: PropTypes.object, + openToDate: PropTypes.instanceOf(Date), peekNextMonth: PropTypes.bool, placeholderText: PropTypes.string, popperContainer: PropTypes.func, @@ -129,7 +131,7 @@ export default class DatePicker extends React.Component { required: PropTypes.bool, scrollableYearDropdown: PropTypes.bool, scrollableMonthYearDropdown: PropTypes.bool, - selected: PropTypes.object, + selected: PropTypes.instanceOf(Date), selectsEnd: PropTypes.bool, selectsStart: PropTypes.bool, showMonthDropdown: PropTypes.bool, @@ -138,7 +140,7 @@ export default class DatePicker extends React.Component { showYearDropdown: PropTypes.bool, forceShowMonthNavigation: PropTypes.bool, showDisabledMonthNavigation: PropTypes.bool, - startDate: PropTypes.object, + startDate: PropTypes.instanceOf(Date), startOpen: PropTypes.bool, tabIndex: PropTypes.number, timeCaption: PropTypes.string, @@ -146,7 +148,6 @@ export default class DatePicker extends React.Component { todayButton: PropTypes.node, useWeekdaysShort: PropTypes.bool, formatWeekDay: PropTypes.func, - utcOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), value: PropTypes.string, weekLabel: PropTypes.string, withPortal: PropTypes.bool, @@ -156,8 +157,8 @@ export default class DatePicker extends React.Component { showTimeSelectOnly: PropTypes.bool, timeFormat: PropTypes.string, timeIntervals: PropTypes.number, - minTime: PropTypes.object, - maxTime: PropTypes.object, + minTime: PropTypes.instanceOf(Date), + maxTime: PropTypes.instanceOf(Date), excludeTimes: PropTypes.array, useShortMonthInDropdown: PropTypes.bool, clearButtonTitle: PropTypes.string, @@ -170,12 +171,12 @@ export default class DatePicker extends React.Component { static get defaultProps() { return { allowSameDay: false, - dateFormat: "L", - dateFormatCalendar: "MMMM YYYY", + dateFormat: 'MM/dd/yyyy', + dateFormatCalendar: 'LLLL yyyy', onChange() {}, disabled: false, disabledKeyboardNavigation: false, - dropdownMode: "scroll", + dropdownMode: 'scroll', onFocus() {}, onBlur() {}, onKeyDown() {}, @@ -192,9 +193,9 @@ export default class DatePicker extends React.Component { shouldCloseOnSelect: true, showTimeSelect: false, timeIntervals: 30, - timeCaption: "Time", - previousMonthButtonLabel: "Previous Month", - nextMonthButtonLabel: "Next month", + timeCaption: 'Time', + previousMonthButtonLabel: 'Previous Month', + nextMonthButtonLabel: 'Next month', renderDayContents(date) { return date; } @@ -232,12 +233,12 @@ export default class DatePicker extends React.Component { getPreSelection = () => this.props.openToDate - ? newDate(this.props.openToDate) + ? this.props.openToDate : this.props.selectsEnd && this.props.startDate - ? newDate(this.props.startDate) + ? this.props.startDate : this.props.selectsStart && this.props.endDate - ? newDate(this.props.endDate) - : now(this.props.utcOffset); + ? this.props.endDate + : newDate(); calcInitialState = () => { const defaultPreSelection = this.getPreSelection(); @@ -253,7 +254,7 @@ export default class DatePicker extends React.Component { open: this.props.startOpen || false, preventFocus: false, preSelection: this.props.selected - ? newDate(this.props.selected) + ? this.props.selected : boundedPreSelection, // transforming highlighted days (perhaps nested array) // to flat Map for faster access in day.jsx @@ -312,8 +313,7 @@ export default class DatePicker extends React.Component { } ); }; - inputOk = () => - isMoment(this.state.preSelection) || isDate(this.state.preSelection); + inputOk = () => isDate(this.state.preSelection); isCalendarOpen = () => this.props.open === undefined @@ -368,7 +368,7 @@ export default class DatePicker extends React.Component { if (this.props.onChangeRaw) { this.props.onChangeRaw.apply(this, allArgs); if ( - typeof event.isDefaultPrevented !== "function" || + typeof event.isDefaultPrevented !== 'function' || event.isDefaultPrevented() ) { return; @@ -378,7 +378,11 @@ export default class DatePicker extends React.Component { inputValue: event.target.value, lastPreSelectChange: PRESELECT_CHANGE_VIA_INPUT }); - const date = parseDate(event.target.value, this.props); + const date = parseDate( + event.target.value, + this.props.dateFormat, + this.props.locale + ); if (date || !event.target.value) { this.setSelected(date, event, true); } @@ -422,10 +426,10 @@ export default class DatePicker extends React.Component { if (this.props.selected) { let selected = this.props.selected; if (keepInput) selected = newDate(changedDate); - changedDate = setTime(newDate(changedDate), { - hour: getHour(selected), - minute: getMinute(selected), - second: getSecond(selected) + changedDate = setTime(changedDate, { + hour: getHours(selected), + minute: getMinutes(selected), + second: getSeconds(selected) }); } if (!this.props.inline) { @@ -446,8 +450,8 @@ export default class DatePicker extends React.Component { setPreSelection = date => { const isDateRangePresent = - typeof this.props.minDate !== "undefined" && - typeof this.props.maxDate !== "undefined"; + typeof this.props.minDate !== 'undefined' && + typeof this.props.maxDate !== 'undefined'; const isValidDateSelection = isDateRangePresent && date ? isDayInRange(date, this.props.minDate, this.props.maxDate) @@ -463,9 +467,9 @@ export default class DatePicker extends React.Component { const selected = this.props.selected ? this.props.selected : this.getPreSelection(); - let changedDate = setTime(cloneDate(selected), { - hour: getHour(time), - minute: getMinute(time) + let changedDate = setTime(selected, { + hour: getHours(time), + minute: getMinutes(time) }); this.setState({ @@ -495,13 +499,13 @@ export default class DatePicker extends React.Component { !this.props.inline && !this.props.preventOpenOnFocus ) { - if (eventKey === "ArrowDown" || eventKey === "ArrowUp") { + if (eventKey === 'ArrowDown' || eventKey === 'ArrowUp') { this.onInputClick(); } return; } const copy = newDate(this.state.preSelection); - if (eventKey === "Enter") { + if (eventKey === 'Enter') { event.preventDefault(); if ( this.inputOk() && @@ -512,40 +516,40 @@ export default class DatePicker extends React.Component { } else { this.setOpen(false); } - } else if (eventKey === "Escape") { + } else if (eventKey === 'Escape') { event.preventDefault(); this.setOpen(false); if (!this.inputOk()) { this.props.onInputError({ code: 1, msg: INPUT_ERR_1 }); } - } else if (eventKey === "Tab") { + } else if (eventKey === 'Tab') { this.setOpen(false, true); } else if (!this.props.disabledKeyboardNavigation) { let newSelection; switch (eventKey) { - case "ArrowLeft": - newSelection = subtractDays(copy, 1); + case 'ArrowLeft': + newSelection = subDays(copy, 1); break; - case "ArrowRight": + case 'ArrowRight': newSelection = addDays(copy, 1); break; - case "ArrowUp": - newSelection = subtractWeeks(copy, 1); + case 'ArrowUp': + newSelection = subWeeks(copy, 1); break; - case "ArrowDown": + case 'ArrowDown': newSelection = addWeeks(copy, 1); break; - case "PageUp": - newSelection = subtractMonths(copy, 1); + case 'PageUp': + newSelection = subMonths(copy, 1); break; - case "PageDown": + case 'PageDown': newSelection = addMonths(copy, 1); break; - case "Home": - newSelection = subtractYears(copy, 1); + case 'Home': + newSelection = subYears(copy, 1); break; - case "End": + case 'End': newSelection = addYears(copy, 1); break; } @@ -628,7 +632,6 @@ export default class DatePicker extends React.Component { scrollableMonthYearDropdown={this.props.scrollableMonthYearDropdown} todayButton={this.props.todayButton} weekLabel={this.props.weekLabel} - utcOffset={this.props.utcOffset} outsideClickIgnoreClass={outsideClickIgnoreClass} fixedHeight={this.props.fixedHeight} monthsShown={this.props.monthsShown} @@ -666,11 +669,11 @@ export default class DatePicker extends React.Component { }); const customInput = this.props.customInput || ; - const customInputRef = this.props.customInputRef || "ref"; + const customInputRef = this.props.customInputRef || 'ref'; const inputValue = - typeof this.props.value === "string" + typeof this.props.value === 'string' ? this.props.value - : typeof this.state.inputValue === "string" + : typeof this.state.inputValue === 'string' ? this.state.inputValue : safeDateFormat(this.props.selected, this.props); @@ -757,5 +760,5 @@ export default class DatePicker extends React.Component { } } -const PRESELECT_CHANGE_VIA_INPUT = "input"; -const PRESELECT_CHANGE_VIA_NAVIGATE = "navigate"; +const PRESELECT_CHANGE_VIA_INPUT = 'input'; +const PRESELECT_CHANGE_VIA_NAVIGATE = 'navigate'; diff --git a/src/month.jsx b/src/month.jsx index c2c599d15..740f09fb9 100644 --- a/src/month.jsx +++ b/src/month.jsx @@ -1,17 +1,17 @@ -import React from "react"; -import PropTypes from "prop-types"; -import classnames from "classnames"; -import Week from "./week"; -import * as utils from "./date_utils"; +import React from 'react'; +import PropTypes from 'prop-types'; +import classnames from 'classnames'; +import Week from './week'; +import * as utils from './date_utils'; const FIXED_HEIGHT_STANDARD_WEEK_COUNT = 6; export default class Month extends React.Component { static propTypes = { disabledKeyboardNavigation: PropTypes.bool, - day: PropTypes.object.isRequired, + day: PropTypes.instanceOf(Date).isRequired, dayClassName: PropTypes.func, - endDate: PropTypes.object, + endDate: PropTypes.instanceOf(Date), excludeDates: PropTypes.array, filterDate: PropTypes.func, fixedHeight: PropTypes.bool, @@ -19,23 +19,23 @@ export default class Month extends React.Component { highlightDates: PropTypes.instanceOf(Map), includeDates: PropTypes.array, inline: PropTypes.bool, - maxDate: PropTypes.object, - minDate: PropTypes.object, + locale: PropTypes.string, + maxDate: PropTypes.instanceOf(Date), + minDate: PropTypes.instanceOf(Date), onDayClick: PropTypes.func, onDayMouseEnter: PropTypes.func, onMouseLeave: PropTypes.func, onWeekSelect: PropTypes.func, peekNextMonth: PropTypes.bool, - preSelection: PropTypes.object, - selected: PropTypes.object, - selectingDate: PropTypes.object, + preSelection: PropTypes.instanceOf(Date), + selected: PropTypes.instanceOf(Date), + selectingDate: PropTypes.instanceOf(Date), selectsEnd: PropTypes.bool, selectsStart: PropTypes.bool, showWeekNumbers: PropTypes.bool, - startDate: PropTypes.object, + startDate: PropTypes.instanceOf(Date), setOpen: PropTypes.func, shouldCloseOnSelect: PropTypes.bool, - utcOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), renderDayContents: PropTypes.func }; @@ -59,7 +59,7 @@ export default class Month extends React.Component { isWeekInMonth = startOfWeek => { const day = this.props.day; - const endOfWeek = utils.addDays(utils.cloneDate(startOfWeek), 6); + const endOfWeek = utils.addDays(startOfWeek, 6); return ( utils.isSameMonth(startOfWeek, day) || utils.isSameMonth(endOfWeek, day) ); @@ -69,7 +69,8 @@ export default class Month extends React.Component { const weeks = []; var isFixedHeight = this.props.fixedHeight; let currentWeekStart = utils.getStartOfWeek( - utils.getStartOfMonth(utils.cloneDate(this.props.day)) + utils.getStartOfMonth(this.props.day), + this.props.locale ); let i = 0; let breakAfterNextPush = false; @@ -84,6 +85,7 @@ export default class Month extends React.Component { onDayMouseEnter={this.handleDayMouseEnter} onWeekSelect={this.props.onWeekSelect} formatWeekNumber={this.props.formatWeekNumber} + locale={this.props.locale} minDate={this.props.minDate} maxDate={this.props.maxDate} excludeDates={this.props.excludeDates} @@ -100,7 +102,6 @@ export default class Month extends React.Component { startDate={this.props.startDate} endDate={this.props.endDate} dayClassName={this.props.dayClassName} - utcOffset={this.props.utcOffset} setOpen={this.props.setOpen} shouldCloseOnSelect={this.props.shouldCloseOnSelect} disabledKeyboardNavigation={this.props.disabledKeyboardNavigation} @@ -111,7 +112,7 @@ export default class Month extends React.Component { if (breakAfterNextPush) break; i++; - currentWeekStart = utils.addWeeks(utils.cloneDate(currentWeekStart), 1); + currentWeekStart = utils.addWeeks(currentWeekStart, 1); // If one of these conditions is true, we will either break on this week // or break on the next week @@ -134,8 +135,8 @@ export default class Month extends React.Component { getClassNames = () => { const { selectingDate, selectsStart, selectsEnd } = this.props; - return classnames("react-datepicker__month", { - "react-datepicker__month--selecting-range": + return classnames('react-datepicker__month', { + 'react-datepicker__month--selecting-range': selectingDate && (selectsStart || selectsEnd) }); }; @@ -146,7 +147,7 @@ export default class Month extends React.Component { className={this.getClassNames()} onMouseLeave={this.handleMouseLeave} role="listbox" - aria-label={"month-" + this.props.day.format("YYYY-MM")} + aria-label={'month-' + utils.formatDate(this.props.day, 'YYYY-MM')} > {this.renderWeeks()} diff --git a/src/month_dropdown.jsx b/src/month_dropdown.jsx index 630dbb1dc..1f78bb1dc 100644 --- a/src/month_dropdown.jsx +++ b/src/month_dropdown.jsx @@ -10,7 +10,6 @@ export default class MonthDropdown extends React.Component { static propTypes = { dropdownMode: PropTypes.oneOf(["scroll", "select"]).isRequired, locale: PropTypes.string, - dateFormat: PropTypes.string.isRequired, month: PropTypes.number.isRequired, onChange: PropTypes.func.isRequired, useShortMonthInDropdown: PropTypes.bool @@ -84,16 +83,10 @@ export default class MonthDropdown extends React.Component { }); render() { - const localeData = utils.getLocaleDataForLocale(this.props.locale); const monthNames = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].map( this.props.useShortMonthInDropdown - ? M => utils.getMonthShortInLocale(localeData, utils.newDate({ M })) - : M => - utils.getMonthInLocale( - localeData, - utils.newDate({ M }), - this.props.dateFormat - ) + ? M => utils.getMonthShortInLocale(M, this.props.locale) + : M => utils.getMonthInLocale(M, this.props.locale) ); let renderedDropdown; diff --git a/src/month_year_dropdown.jsx b/src/month_year_dropdown.jsx index e18151c42..68c200f46 100644 --- a/src/month_year_dropdown.jsx +++ b/src/month_year_dropdown.jsx @@ -9,8 +9,8 @@ import { isAfter, isSameMonth, isSameYear, - localizeDate, - newDate + newDate, + getTime } from "./date_utils"; var WrappedMonthYearDropdownOptions = onClickOutside(MonthYearDropdownOptions); @@ -20,9 +20,9 @@ export default class MonthYearDropdown extends React.Component { dropdownMode: PropTypes.oneOf(["scroll", "select"]).isRequired, dateFormat: PropTypes.string.isRequired, locale: PropTypes.string, - maxDate: PropTypes.object.isRequired, - minDate: PropTypes.object.isRequired, - date: PropTypes.object.isRequired, + maxDate: PropTypes.instanceOf(Date).isRequired, + minDate: PropTypes.instanceOf(Date).isRequired, + date: PropTypes.instanceOf(Date).isRequired, onChange: PropTypes.func.isRequired, scrollableMonthYearDropdown: PropTypes.bool }; @@ -32,24 +32,19 @@ export default class MonthYearDropdown extends React.Component { }; renderSelectOptions = () => { - const currDate = getStartOfMonth( - localizeDate(this.props.minDate, this.props.locale) - ); - const lastDate = getStartOfMonth( - localizeDate(this.props.maxDate, this.props.locale) - ); - + let currDate = getStartOfMonth(this.props.minDate); + const lastDate = getStartOfMonth(this.props.maxDate); const options = []; while (!isAfter(currDate, lastDate)) { - const timepoint = currDate.valueOf(); + const timepoint = getTime(currDate); options.push( - {formatDate(currDate, this.props.dateFormat)} + {formatDate(currDate, this.props.dateFormat, this.props.locale)} ); - addMonths(currDate, 1); + currDate = addMonths(currDate, 1); } return options; @@ -61,7 +56,7 @@ export default class MonthYearDropdown extends React.Component { renderSelectMode = () => ( @@ -71,8 +66,9 @@ export default class MonthYearDropdown extends React.Component { renderReadView = visible => { const yearMonth = formatDate( - localizeDate(newDate(this.props.date), this.props.locale), - this.props.dateFormat + this.props.date, + this.props.dateFormat, + this.props.locale ); return ( @@ -98,8 +94,8 @@ export default class MonthYearDropdown extends React.Component { dateFormat={this.props.dateFormat} onChange={this.onChange} onCancel={this.toggleDropdown} - minDate={localizeDate(this.props.minDate, this.props.locale)} - maxDate={localizeDate(this.props.maxDate, this.props.locale)} + minDate={this.props.minDate} + maxDate={this.props.maxDate} scrollableMonthYearDropdown={this.props.scrollableMonthYearDropdown} /> ); diff --git a/src/month_year_dropdown_options.jsx b/src/month_year_dropdown_options.jsx index e04e08bd1..977398b78 100644 --- a/src/month_year_dropdown_options.jsx +++ b/src/month_year_dropdown_options.jsx @@ -3,37 +3,37 @@ import PropTypes from "prop-types"; import classNames from "classnames"; import { addMonths, - cloneDate, formatDate, getStartOfMonth, + newDate, isAfter, isSameMonth, - isSameYear + isSameYear, + getTime } from "./date_utils"; function generateMonthYears(minDate, maxDate) { const list = []; - const currDate = getStartOfMonth(cloneDate(minDate)); - const lastDate = getStartOfMonth(cloneDate(maxDate)); + let currDate = getStartOfMonth(minDate); + const lastDate = getStartOfMonth(maxDate); while (!isAfter(currDate, lastDate)) { - list.push(cloneDate(currDate)); + list.push(newDate(currDate)); - addMonths(currDate, 1); + currDate = addMonths(currDate, 1); } - return list; } export default class MonthYearDropdownOptions extends React.Component { static propTypes = { - minDate: PropTypes.object.isRequired, - maxDate: PropTypes.object.isRequired, + minDate: PropTypes.instanceOf(Date).isRequired, + maxDate: PropTypes.instanceOf(Date).isRequired, onCancel: PropTypes.func.isRequired, onChange: PropTypes.func.isRequired, scrollableMonthYearDropdown: PropTypes.bool, - date: PropTypes.object.isRequired, + date: PropTypes.instanceOf(Date).isRequired, dateFormat: PropTypes.string.isRequired }; @@ -47,8 +47,7 @@ export default class MonthYearDropdownOptions extends React.Component { renderOptions = () => { return this.state.monthYearsList.map(monthYear => { - const monthYearPoint = monthYear.valueOf(); - + const monthYearPoint = getTime(monthYear); const isSameMonthYear = isSameYear(this.props.date, monthYear) && isSameMonth(this.props.date, monthYear); diff --git a/src/time.jsx b/src/time.jsx index d80a78398..c70dc4ebb 100644 --- a/src/time.jsx +++ b/src/time.jsx @@ -1,12 +1,11 @@ import React from "react"; import PropTypes from "prop-types"; import { - getHour, - getMinute, + getHours, + getMinutes, newDate, getStartOfDay, addMinutes, - cloneDate, formatDate, isTimeInDisabledRange, isTimeDisabled, @@ -18,11 +17,11 @@ export default class Time extends React.Component { format: PropTypes.string, includeTimes: PropTypes.array, intervals: PropTypes.number, - selected: PropTypes.object, + selected: PropTypes.instanceOf(Date), onChange: PropTypes.func, todayButton: PropTypes.node, - minTime: PropTypes.object, - maxTime: PropTypes.object, + minTime: PropTypes.instanceOf(Date), + maxTime: PropTypes.instanceOf(Date), excludeTimes: PropTypes.array, monthRef: PropTypes.object, timeCaption: PropTypes.string, @@ -65,14 +64,13 @@ export default class Time extends React.Component { ) { return; } - this.props.onChange(time); }; liClasses = (time, currH, currM) => { let classes = ["react-datepicker__time-list-item"]; - if (currH === getHour(time) && currM === getMinute(time)) { + if (currH === getHours(time) && currM === getMinutes(time)) { classes.push("react-datepicker__time-list-item--selected"); } if ( @@ -87,7 +85,7 @@ export default class Time extends React.Component { } if ( this.props.injectTimes && - (getHour(time) * 60 + getMinute(time)) % this.props.intervals !== 0 + (getHours(time) * 60 + getMinutes(time)) % this.props.intervals !== 0 ) { classes.push("react-datepicker__time-list-item--injected"); } @@ -97,11 +95,11 @@ export default class Time extends React.Component { renderTimes = () => { let times = []; - const format = this.props.format ? this.props.format : "hh:mm A"; + const format = this.props.format ? this.props.format : "p"; const intervals = this.props.intervals; const activeTime = this.props.selected ? this.props.selected : newDate(); - const currH = getHour(activeTime); - const currM = getMinute(activeTime); + const currH = getHours(activeTime); + const currM = getMinutes(activeTime); let base = getStartOfDay(newDate()); const multiplier = 1440 / intervals; const sortedInjectTimes = @@ -110,7 +108,7 @@ export default class Time extends React.Component { return a - b; }); for (let i = 0; i < multiplier; i++) { - const currentTime = addMinutes(cloneDate(base), i * intervals); + const currentTime = addMinutes(base, i * intervals); times.push(currentTime); if (sortedInjectTimes) { @@ -132,8 +130,8 @@ export default class Time extends React.Component { className={this.liClasses(time, currH, currM)} ref={li => { if ( - (currH === getHour(time) && currM === getMinute(time)) || - (currH === getHour(time) && !this.centerLi) + (currH === getHours(time) && currM === getMinutes(time)) || + (currH === getHours(time) && !this.centerLi) ) { this.centerLi = li; } diff --git a/src/week.jsx b/src/week.jsx index 9818b0631..2f1da3cd1 100644 --- a/src/week.jsx +++ b/src/week.jsx @@ -1,8 +1,8 @@ -import React from "react"; -import PropTypes from "prop-types"; -import Day from "./day"; -import WeekNumber from "./week_number"; -import * as utils from "./date_utils"; +import React from 'react'; +import PropTypes from 'prop-types'; +import Day from './day'; +import WeekNumber from './week_number'; +import * as utils from './date_utils'; export default class Week extends React.Component { static get defaultProps() { @@ -12,31 +12,31 @@ export default class Week extends React.Component { } static propTypes = { disabledKeyboardNavigation: PropTypes.bool, - day: PropTypes.object.isRequired, + day: PropTypes.instanceOf(Date).isRequired, dayClassName: PropTypes.func, - endDate: PropTypes.object, + endDate: PropTypes.instanceOf(Date), excludeDates: PropTypes.array, filterDate: PropTypes.func, formatWeekNumber: PropTypes.func, highlightDates: PropTypes.instanceOf(Map), includeDates: PropTypes.array, inline: PropTypes.bool, - maxDate: PropTypes.object, - minDate: PropTypes.object, + locale: PropTypes.string, + maxDate: PropTypes.instanceOf(Date), + minDate: PropTypes.instanceOf(Date), month: PropTypes.number, onDayClick: PropTypes.func, onDayMouseEnter: PropTypes.func, onWeekSelect: PropTypes.func, - preSelection: PropTypes.object, - selected: PropTypes.object, - selectingDate: PropTypes.object, + preSelection: PropTypes.instanceOf(Date), + selected: PropTypes.instanceOf(Date), + selectingDate: PropTypes.instanceOf(Date), selectsEnd: PropTypes.bool, selectsStart: PropTypes.bool, showWeekNumber: PropTypes.bool, - startDate: PropTypes.object, + startDate: PropTypes.instanceOf(Date), setOpen: PropTypes.func, shouldCloseOnSelect: PropTypes.bool, - utcOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), renderDayContents: PropTypes.func }; @@ -53,7 +53,7 @@ export default class Week extends React.Component { }; handleWeekClick = (day, weekNumber, event) => { - if (typeof this.props.onWeekSelect === "function") { + if (typeof this.props.onWeekSelect === 'function') { this.props.onWeekSelect(day, weekNumber, event); } if (this.props.shouldCloseOnSelect) { @@ -69,7 +69,7 @@ export default class Week extends React.Component { }; renderDays = () => { - const startOfWeek = utils.getStartOfWeek(utils.cloneDate(this.props.day)); + const startOfWeek = utils.getStartOfWeek(this.props.day, this.props.locale); const days = []; const weekNumber = this.formatWeekNumber(startOfWeek); if (this.props.showWeekNumber) { @@ -82,7 +82,7 @@ export default class Week extends React.Component { } return days.concat( [0, 1, 2, 3, 4, 5, 6].map(offset => { - const day = utils.addDays(utils.cloneDate(startOfWeek), offset); + const day = utils.addDays(startOfWeek, offset); return ( diff --git a/src/year_dropdown.jsx b/src/year_dropdown.jsx index 6fa6adbbf..633a098ff 100644 --- a/src/year_dropdown.jsx +++ b/src/year_dropdown.jsx @@ -10,13 +10,13 @@ export default class YearDropdown extends React.Component { static propTypes = { adjustDateOnChange: PropTypes.bool, dropdownMode: PropTypes.oneOf(["scroll", "select"]).isRequired, - maxDate: PropTypes.object, - minDate: PropTypes.object, + maxDate: PropTypes.instanceOf(Date), + minDate: PropTypes.instanceOf(Date), onChange: PropTypes.func.isRequired, scrollableYearDropdown: PropTypes.bool, year: PropTypes.number.isRequired, yearDropdownItemNumber: PropTypes.number, - date: PropTypes.object, + date: PropTypes.instanceOf(Date), onSelect: PropTypes.func, setOpen: PropTypes.func }; diff --git a/src/year_dropdown_options.jsx b/src/year_dropdown_options.jsx index 759dc8984..142e07206 100644 --- a/src/year_dropdown_options.jsx +++ b/src/year_dropdown_options.jsx @@ -1,6 +1,7 @@ import React from "react"; import PropTypes from "prop-types"; import classNames from "classnames"; +import { getYear } from "./date_utils"; function generateYears(year, noOfYear, minDate, maxDate) { var list = []; @@ -9,11 +10,11 @@ function generateYears(year, noOfYear, minDate, maxDate) { let isInRange = true; if (minDate) { - isInRange = minDate.year() <= newYear; + isInRange = getYear(minDate) <= newYear; } if (maxDate && isInRange) { - isInRange = maxDate.year() >= newYear; + isInRange = getYear(maxDate) >= newYear; } if (isInRange) { @@ -26,8 +27,8 @@ function generateYears(year, noOfYear, minDate, maxDate) { export default class YearDropdownOptions extends React.Component { static propTypes = { - minDate: PropTypes.object, - maxDate: PropTypes.object, + minDate: PropTypes.instanceOf(Date), + maxDate: PropTypes.instanceOf(Date), onCancel: PropTypes.func.isRequired, onChange: PropTypes.func.isRequired, scrollableYearDropdown: PropTypes.bool, @@ -73,8 +74,8 @@ export default class YearDropdownOptions extends React.Component { )); - const minYear = this.props.minDate ? this.props.minDate.year() : null; - const maxYear = this.props.maxDate ? this.props.maxDate.year() : null; + const minYear = this.props.minDate ? getYear(this.props.minDate) : null; + const maxYear = this.props.maxDate ? getYear(this.props.maxDate) : null; if (!maxYear || !this.state.yearsList.find(year => year === maxYear)) { options.unshift( diff --git a/test/calendar_test.js b/test/calendar_test.js index 014de7020..ee0c71207 100644 --- a/test/calendar_test.js +++ b/test/calendar_test.js @@ -11,12 +11,14 @@ import DatePicker from "../src/index.jsx"; import { shallow, mount } from "enzyme"; import sinon from "sinon"; import * as utils from "../src/date_utils"; +import fi from "date-fns/locale/fi"; // TODO Possibly rename -const DATE_FORMAT = "MM/DD/YYYY"; +const DATE_FORMAT = "MM/dd/yyyy"; describe("Calendar", function() { - const dateFormat = "MMMM YYYY"; + const dateFormat = "MMMM yyyy"; + utils.registerLocale("fi", fi); function getCalendar(extraProps) { return shallow( @@ -37,21 +39,6 @@ describe("Calendar", function() { assert(utils.isSameDay(calendar.state().date, now)); }); - it("should start with the today date with specified time zone", function() { - let utcOffset = 12; - let calendar = getCalendar({ utcOffset }); - assert( - utils.isSameDay(calendar.state().date, utils.newDateWithOffset(utcOffset)) - ); - - // using string offsets - utcOffset = "+12:00"; - calendar = getCalendar({ utcOffset }); - assert( - utils.isSameDay(calendar.state().date, utils.newDateWithOffset(utcOffset)) - ); - }); - it("should start with the selected date in view if provided", function() { const selected = utils.addYears(utils.newDate(), 1); const calendar = getCalendar({ selected }); @@ -67,8 +54,8 @@ describe("Calendar", function() { it("should start with the current date in view if in date range", function() { const now = utils.newDate(); - const minDate = utils.subtractYears(utils.cloneDate(now), 1); - const maxDate = utils.addYears(utils.cloneDate(now), 1); + const minDate = utils.subYears(now, 1); + const maxDate = utils.addYears(now, 1); const calendar = getCalendar({ minDate, maxDate }); assert(utils.isSameDay(calendar.state().date, now)); }); @@ -86,67 +73,55 @@ describe("Calendar", function() { }); it("should start with the max date in view if before the current date", function() { - const maxDate = utils.subtractYears(utils.newDate(), 1); + const maxDate = utils.subYears(utils.newDate(), 1); const calendar = getCalendar({ maxDate }); assert(utils.isSameDay(calendar.state().date, maxDate)); }); it("should start with the max include date in view if before the current date", function() { - const maxDate = utils.subtractYears(utils.newDate(), 1); + const maxDate = utils.subYears(utils.newDate(), 1); const calendar = getCalendar({ includeDates: [maxDate] }); assert(utils.isSameDay(calendar.state().date, maxDate)); }); it("should start with the open to date in view if given and no selected/min/max dates given", function() { - const openToDate = utils.parseDate("09/28/1993", { - dateFormat: DATE_FORMAT - }); + const openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); const calendar = getCalendar({ openToDate }); assert(utils.isSameDay(calendar.state().date, openToDate)); }); it("should start with the open to date in view if given and after a min date", function() { - const openToDate = utils.parseDate("09/28/1993", { - dateFormat: DATE_FORMAT - }); - const minDate = utils.parseDate("01/01/1993", { dateFormat: DATE_FORMAT }); + const openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); + const minDate = utils.parseDate("01/01/1993", DATE_FORMAT); const calendar = getCalendar({ openToDate, minDate }); assert(utils.isSameDay(calendar.state().date, openToDate)); }); it("should start with the open to date in view if given and before a max date", function() { - const openToDate = utils.parseDate("09/28/1993", { - dateFormat: DATE_FORMAT - }); - const maxDate = utils.parseDate("12/31/1993", { dateFormat: DATE_FORMAT }); + const openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); + const maxDate = utils.parseDate("12/31/1993", DATE_FORMAT); const calendar = getCalendar({ openToDate, maxDate }); assert(utils.isSameDay(calendar.state().date, openToDate)); }); it("should start with the open to date in view if given and in range of the min/max dates", function() { - const openToDate = utils.parseDate("09/28/1993", { - dateFormat: DATE_FORMAT - }); - const minDate = utils.parseDate("01/01/1993", { dateFormat: DATE_FORMAT }); - const maxDate = utils.parseDate("12/31/1993", { dateFormat: DATE_FORMAT }); + const openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); + const minDate = utils.parseDate("01/01/1993", DATE_FORMAT); + const maxDate = utils.parseDate("12/31/1993", DATE_FORMAT); const calendar = getCalendar({ openToDate, minDate, maxDate }); assert(utils.isSameDay(calendar.state().date, openToDate)); }); it("should open on openToDate date rather than selected date when both are specified", function() { - var openToDate = utils.parseDate("09/28/1993", { dateFormat: DATE_FORMAT }); - var selected = utils.parseDate("09/28/1995", { dateFormat: DATE_FORMAT }); + var openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); + var selected = utils.parseDate("09/28/1995", DATE_FORMAT); var calendar = getCalendar({ openToDate, selected }); assert(utils.isSameDay(calendar.state().date, openToDate)); }); it("should trigger date change when openToDate prop is set after calcInitialState()", () => { - const openToDate = utils.parseDate("09/28/1993", { - dateFormat: DATE_FORMAT - }); - const oneMonthFromOpenToDate = utils.parseDate("10/28/1993", { - dateFormat: DATE_FORMAT - }); + const openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); + const oneMonthFromOpenToDate = utils.parseDate("10/28/1993", DATE_FORMAT); const calendar = getCalendar({ openToDate }); assert(utils.isSameDay(calendar.state().date, openToDate)); @@ -228,7 +203,7 @@ describe("Calendar", function() { changeYear(value)} > @@ -241,7 +216,7 @@ describe("Calendar", function() { changeMonth(value)} > {months.map(option => ( @@ -270,7 +245,7 @@ describe("Calendar", function() { const match = { changeMonth: sinon.match.func, changeYear: sinon.match.func, - date: sinon.match.object, + date: sinon.match.instanceOf(Date), decreaseMonth: sinon.match.func, increaseMonth: sinon.match.func, nextMonthButtonDisabled: sinon.match.bool, @@ -320,12 +295,14 @@ describe("Calendar", function() { renderCustomHeader }); - const selected = calendar.state().date.clone(); + const selected = utils.newDate(calendar.state().date); const prevMonth = calendar.find(".prevMonth"); prevMonth.simulate("click"); - expect(selected.month()).to.be.equal(calendar.state().date.month() + 1); + expect(utils.getMonth(selected)).to.be.equal( + utils.getMonth(calendar.state().date) + 1 + ); }); it("should go to next month", function() { @@ -333,12 +310,14 @@ describe("Calendar", function() { renderCustomHeader }); - const selected = calendar.state().date.clone(); + const selected = utils.newDate(calendar.state().date); const nextMonth = calendar.find(".nextMonth"); nextMonth.simulate("click"); - expect(selected.month()).to.be.equal(calendar.state().date.month() - 1); + expect(utils.getMonth(selected)).to.be.equal( + utils.getMonth(calendar.state().date) - 1 + ); }); it("nextMonthButtonDisabled flag should be true", function() { @@ -346,7 +325,7 @@ describe("Calendar", function() { getCalendar({ renderCustomHeader, - minDate: utils.subtractMonths(utils.newDate(), 1), + minDate: utils.subMonths(utils.newDate(), 1), maxDate: utils.newDate() }); @@ -398,9 +377,9 @@ describe("Calendar", function() { monthSelect.simulate("change", { target: { value: 4 } }); - const selected = calendar.state().date.clone(); + const selected = utils.newDate(calendar.state().date); - expect(selected.month()).to.be.equal(4); + expect(utils.getMonth(selected)).to.be.equal(4); }); it("should select 2017 from month select", function() { @@ -412,9 +391,9 @@ describe("Calendar", function() { yearSelect.simulate("change", { target: { value: 2017 } }); - const selected = calendar.state().date.clone(); + const selected = utils.newDate(calendar.state().date); - expect(selected.year()).to.be.equal(2017); + expect(utils.getYear(selected)).to.be.equal(2017); }); }); @@ -431,6 +410,7 @@ describe("Calendar", function() { maxDate: utils.addMonths(utils.newDate(), 3), showDisabledMonthNavigation: true }); + const prevDisabledNavigationButton = calendar.find( ".react-datepicker__navigation--previous--disabled" ); @@ -444,7 +424,7 @@ describe("Calendar", function() { it("should show disabled next month navigation", function() { const calendar = getCalendar({ - minDate: utils.subtractMonths(utils.newDate(), 3), + minDate: utils.subMonths(utils.newDate(), 3), maxDate: utils.newDate(), showDisabledMonthNavigation: true }); @@ -461,7 +441,7 @@ describe("Calendar", function() { it("should not show disabled previous/next month navigation when next/previous month available", function() { const calendar = getCalendar({ - minDate: utils.subtractMonths(utils.newDate(), 3), + minDate: utils.subMonths(utils.newDate(), 3), maxDate: utils.addMonths(utils.newDate(), 3), showDisabledMonthNavigation: true }); @@ -509,7 +489,7 @@ describe("Calendar", function() { it("when clicking non-disabled month navigation, should change month", function() { const calendar = getCalendar({ selected: utils.newDate(), - minDate: utils.subtractMonths(utils.newDate(), 3), + minDate: utils.subMonths(utils.newDate(), 3), maxDate: utils.addMonths(utils.newDate(), 3), showDisabledMonthNavigation: true, onMonthChange: onMonthChangeSpy @@ -559,7 +539,7 @@ describe("Calendar", function() { it("should show the month-year dropdown menu if toggled on", function() { const calendar = getCalendar({ showMonthYearDropdown: true, - minDate: utils.subtractYears(utils.newDate(), 1), + minDate: utils.subYears(utils.newDate(), 1), maxDate: utils.addYears(utils.newDate(), 1) }); const monthYearReadView = calendar.find(MonthYearDropdown); @@ -569,7 +549,7 @@ describe("Calendar", function() { it("should show only one month-year dropdown menu if toggled on and multiple month mode on", function() { const calendar = getCalendar({ showMonthYearDropdown: true, - minDate: utils.subtractYears(utils.newDate(), 1), + minDate: utils.subYears(utils.newDate(), 1), maxDate: utils.addYears(utils.newDate(), 1), monthsShown: 2 }); @@ -594,15 +574,7 @@ describe("Calendar", function() { const calendar = getCalendar({ todayButton: "Vandaag" }); const todayButton = calendar.find(".react-datepicker__today-button"); todayButton.simulate("click"); - expect(calendar.state().date.isSame(utils.newDate(), "day")); - }); - - it("should set custom today date when pressing todayButton", () => { - const todayInAuckland = utils.newDateWithOffset(12); - const calendar = getCalendar({ todayButton: "Vandaag", utcOffset: 12 }); - const todayButton = calendar.find(".react-datepicker__today-button"); - todayButton.simulate("click"); - expect(utils.isSameDay(calendar.state().date, todayInAuckland)); + expect(utils.isSameDay(calendar.state().date, utils.newDate())); }); it("should use a hash for week label if weekLabel is NOT provided", () => { @@ -657,24 +629,31 @@ describe("Calendar", function() { }); it("uses weekdaysShort instead of weekdaysMin provided useWeekdaysShort prop is present", () => { - utils.registerLocale("weekDaysLocale", { - parentLocale: "en", - weekdaysMin: "AA_BB_CC_DD_EE_FF_GG".split("_"), - weekdaysShort: "AAA_BBB_CCC_DDD_EEE_FFF_GGG".split("_") - }); - const calendarShort = mount( - + {}} + onSelect={() => {}} + useWeekdaysShort + /> + ); + const calendarMin = mount( + {}} + onSelect={() => {}} + /> ); - const calendarMin = mount(); const daysNamesShort = calendarShort.find(".react-datepicker__day-name"); - expect(daysNamesShort.at(0).text()).to.equal("AAA"); - expect(daysNamesShort.at(6).text()).to.equal("GGG"); + expect(daysNamesShort.at(0).text()).to.equal("Sun"); + expect(daysNamesShort.at(6).text()).to.equal("Sat"); const daysNamesMin = calendarMin.find(".react-datepicker__day-name"); - expect(daysNamesMin.at(0).text()).to.equal("AA"); - expect(daysNamesMin.at(6).text()).to.equal("GG"); + expect(daysNamesMin.at(0).text()).to.equal("Su"); + expect(daysNamesMin.at(6).text()).to.equal("Sa"); }); it("should set the date to the selected day of the previous month when previous button clicked", () => { @@ -699,7 +678,7 @@ describe("Calendar", function() { "react-datepicker__navigation--previous" ); TestUtils.Simulate.click(previousButton); - expect(utils.formatDate(date, "DD.MM.YYYY")).to.equal(expectedDate); + expect(utils.formatDate(date, "dd.MM.yyyy")).to.equal(expectedDate); }); it("should set the date to the selected day of the next when next button clicked", () => { @@ -724,7 +703,7 @@ describe("Calendar", function() { "react-datepicker__navigation--next" ); TestUtils.Simulate.click(nextButton); - expect(utils.formatDate(date, "DD.MM.YYYY")).to.equal(expectedDate); + expect(utils.formatDate(date, "dd.MM.yyyy")).to.equal(expectedDate); }); it("should set the date to the last possible day of the previous month when previous button clicked", () => { @@ -749,7 +728,7 @@ describe("Calendar", function() { "react-datepicker__navigation--previous" ); TestUtils.Simulate.click(previousButton); - expect(utils.formatDate(date, "DD.MM.YYYY")).to.equal(expectedDate); + expect(utils.formatDate(date, "dd.MM.yyyy")).to.equal(expectedDate); }); describe("onMonthChange", () => { @@ -847,7 +826,7 @@ describe("Calendar", function() { hideCalendar={() => {}} dropdownMode="select" showMonthYearDropdown - minDate={utils.subtractYears(utils.newDate(), 1)} + minDate={utils.subYears(utils.newDate(), 1)} maxDate={utils.addYears(utils.newDate(), 1)} onYearChange={onYearChangeSpy} onMonthChange={onMonthChangeSpy} @@ -897,7 +876,7 @@ describe("Calendar", function() { showYearDropdown showMonthDropdown showMonthYearDropdown - minDate={utils.subtractYears(utils.newDate(), 1)} + minDate={utils.subYears(utils.newDate(), 1)} maxDate={utils.addYears(utils.newDate(), 1)} onDropdownFocus={onDropdownFocusSpy} /> @@ -947,46 +926,50 @@ describe("Calendar", function() { describe("localization", function() { function testLocale(calendar, selected, locale) { - const localized = utils.localizeDate(selected, locale); - const calendarText = calendar.find(".react-datepicker__current-month"); expect(calendarText.text()).to.equal( - utils.formatDate(localized, dateFormat) + utils.formatDate(selected, dateFormat, locale) ); - - const firstDateOfWeek = utils.getStartOfWeek(utils.cloneDate(localized)); + const firstDateOfWeek = utils.getStartOfWeek(selected, locale); const firstWeekDayMin = utils.getWeekdayMinInLocale( - utils.getLocaleData(firstDateOfWeek), - firstDateOfWeek + firstDateOfWeek, + locale ); const firstHeader = calendar.find(".react-datepicker__day-name").at(0); expect(firstHeader.text()).to.equal(firstWeekDayMin); } - it("should use the globally-defined locale by default", function() { + it("should use the 'en' locale by default", function() { const selected = utils.newDate(); const calendar = getCalendar({ selected }); - testLocale(calendar, selected, utils.getDefaultLocale()); + testLocale(calendar, selected); + }); + + it("should use the default locale when set", function() { + const selected = utils.newDate(); + utils.setDefaultLocale("fi"); + + const calendar = getCalendar({ selected }); + testLocale(calendar, selected, "fi"); + utils.setDefaultLocale(""); }); it("should use the locale specified as a prop", function() { - const locale = "fr"; - const selected = utils.localizeDate(utils.newDate(), locale); + utils.registerLocale("fi", fi); + const locale = "fi"; + const selected = utils.newDate(); const calendar = getCalendar({ selected, locale }); testLocale(calendar, selected, locale); }); - it("should override the locale of the date with the globally-defined locale", function() { - const selected = utils.localizeDate(utils.newDate(), "fr"); - const calendar = getCalendar({ selected }); - testLocale(calendar, selected, utils.getDefaultLocale()); - }); - - it("should override the locale of the date with the locale prop", function() { - const locale = "fr"; + it("should override the default locale with the locale prop", function() { + const locale = "en"; const selected = utils.newDate(); + utils.setDefaultLocale("fi"); + const calendar = getCalendar({ selected, locale }); testLocale(calendar, selected, locale); + utils.setDefaultLocale(""); }); it("should render empty custom header", function() { diff --git a/test/date_utils_test.js b/test/date_utils_test.js index 1ec41207f..431e96f56 100644 --- a/test/date_utils_test.js +++ b/test/date_utils_test.js @@ -1,17 +1,14 @@ import { newDate, - setUTCOffset, - cloneDate, addDays, - subtractDays, - equals, + subDays, + isEqual, isSameDay, isSameMonth, isSameYear, - isSameUtcOffset, isDayDisabled, - allDaysDisabledBefore, - allDaysDisabledAfter, + monthDisabledBefore, + monthDisabledAfter, getEffectiveMinDate, getEffectiveMaxDate } from "../src/date_utils"; @@ -80,73 +77,6 @@ describe("date_utils", function() { }); }); - describe("isSameUtcOffset", function() { - it("should return true for null dates", function() { - expect(isSameUtcOffset(null, null)).to.be.true; - }); - - it("should return false for a null and a non-null date", function() { - expect(isSameUtcOffset(newDate(), null)).to.be.false; - expect(isSameUtcOffset(null, newDate())).to.be.false; - }); - - it("should return true for non-equal utc offsets, but same dates", function() { - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-02-10"), -3), - setUTCOffset(newDate("2016-02-10"), 5) - ) - ).to.be.false; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-02-10"), 3), - setUTCOffset(newDate("2016-02-10"), -5) - ) - ).to.be.false; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-02-10"), 180), - setUTCOffset(newDate("2016-02-10"), -210) - ) - ).to.be.false; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-02-10"), "-05:45"), - setUTCOffset(newDate("2016-02-10"), "+01:00") - ) - ).to.be.false; - }); - - it("should return true for equal utc offsets, regardless of dates", function() { - expect(isSameUtcOffset(newDate("2016-02-10"), newDate("2016-02-10"))).to - .be.true; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-02-10"), -3), - setUTCOffset(newDate("2016-05-10"), -3) - ) - ).to.be.true; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-12-10"), 6), - setUTCOffset(newDate("2016-02-15"), 6) - ) - ).to.be.true; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-12-10"), "+04:00"), - setUTCOffset(newDate("2016-02-15"), "+04:00") - ) - ).to.be.true; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-12-10"), "-02:00"), - setUTCOffset(newDate("2016-02-15"), "-0200") - ) - ).to.be.true; - }); - }); - describe("isDayDisabled", function() { it("should be enabled by default", () => { const day = newDate(); @@ -160,7 +90,7 @@ describe("date_utils", function() { it("should be disabled if before the min date", () => { const day = newDate(); - const minDate = addDays(cloneDate(day), 1); + const minDate = addDays(day, 1); expect(isDayDisabled(day, { minDate })).to.be.true; }); @@ -171,7 +101,7 @@ describe("date_utils", function() { it("should be disabled if after the max date", () => { const day = newDate(); - const maxDate = subtractDays(cloneDate(day), 1); + const maxDate = subDays(day, 1); expect(isDayDisabled(day, { maxDate })).to.be.true; }); @@ -187,79 +117,79 @@ describe("date_utils", function() { it("should be disabled if not in included dates", () => { const day = newDate(); - const includeDates = [addDays(cloneDate(day), 1)]; + const includeDates = [addDays(day, 1)]; expect(isDayDisabled(day, { includeDates })).to.be.true; }); it("should be enabled if date filter returns true", () => { const day = newDate(); - const filterDate = d => equals(d, day); + const filterDate = d => isEqual(d, day); expect(isDayDisabled(day, { filterDate })).to.be.false; }); it("should be disabled if date filter returns false", () => { const day = newDate(); - const filterDate = d => !equals(d, day); + const filterDate = d => !isEqual(d, day); expect(isDayDisabled(day, { filterDate })).to.be.true; }); it("should not allow date filter to modify input date", () => { const day = newDate(); - const dayClone = cloneDate(day); + const dayClone = newDate(day); const filterDate = d => { addDays(d, 1); return true; }; isDayDisabled(day, { filterDate }); - expect(equals(day, dayClone)).to.be.true; + expect(isEqual(day, dayClone)).to.be.true; }); }); - describe("allDaysDisabledBefore", () => { + describe("monthDisabledBefore", () => { it("should return false by default", () => { - expect(allDaysDisabledBefore(newDate(), "month")).to.be.false; + expect(monthDisabledBefore(newDate())).to.be.false; }); - it("should return true if min date is in the same unit", () => { + it("should return true if min date is in the same month", () => { const day = newDate("2016-03-19"); const minDate = newDate("2016-03-01"); - expect(allDaysDisabledBefore(day, "month", { minDate })).to.be.true; + expect(monthDisabledBefore(day, { minDate })).to.be.true; }); - it("should return false if min date is in the previous unit", () => { + it("should return false if min date is in the previous month", () => { const day = newDate("2016-03-19"); const minDate = newDate("2016-02-29"); - expect(allDaysDisabledBefore(day, "month", { minDate })).to.be.false; + expect(monthDisabledBefore(day, { minDate })).to.be.false; }); - it("should return true if previous unit is before include dates", () => { + it("should return true if previous month is before include dates", () => { const day = newDate("2016-03-19"); const includeDates = [newDate("2016-03-01")]; - expect(allDaysDisabledBefore(day, "month", { includeDates })).to.be.true; + expect(monthDisabledBefore(day, { includeDates })).to.be.true; }); }); - describe("allDaysDisabledAfter", () => { + describe("monthDisabledAfter", () => { it("should return false by default", () => { - expect(allDaysDisabledAfter(newDate(), "month")).to.be.false; + expect(monthDisabledAfter(newDate())).to.be.false; }); - it("should return true if max date is in the same unit", () => { + it("should return true if max date is in the same month", () => { const day = newDate("2016-03-19"); const maxDate = newDate("2016-03-31"); - expect(allDaysDisabledAfter(day, "month", { maxDate })).to.be.true; + expect(monthDisabledAfter(day, { maxDate })).to.be.true; }); - it("should return false if max date is in the next unit", () => { + it("should return false if max date is in the next month", () => { const day = newDate("2016-03-19"); const maxDate = newDate("2016-04-01"); - expect(allDaysDisabledAfter(day, "month", { maxDate })).to.be.false; + expect(monthDisabledAfter(day, { maxDate })).to.be.false; }); - it("should return true if next unit is after include dates", () => { + it("should return true if next month is after include dates", () => { const day = newDate("2016-03-19"); const includeDates = [newDate("2016-03-01")]; - expect(allDaysDisabledAfter(day, "month", { includeDates })).to.be.true; + expect(monthDisabledAfter(day, { includeDates })).to.be.true; }); }); @@ -270,14 +200,15 @@ describe("date_utils", function() { it("should return the min date", () => { const minDate = newDate("2016-03-30"); - assert(equals(getEffectiveMinDate({ minDate }), minDate)); + const result = getEffectiveMinDate({ minDate }); + assert(isEqual(minDate, result)); }); it("should return the minimum include date", () => { const date1 = newDate("2016-03-30"); const date2 = newDate("2016-04-01"); const includeDates = [date1, date2]; - assert(equals(getEffectiveMinDate({ includeDates }), date1)); + assert(isEqual(getEffectiveMinDate({ includeDates }), date1)); }); it("should return the minimum include date satisfying the min date", () => { @@ -285,7 +216,7 @@ describe("date_utils", function() { const date1 = newDate("2016-03-30"); const date2 = newDate("2016-04-01"); const includeDates = [date1, date2]; - assert(equals(getEffectiveMinDate({ minDate, includeDates }), date2)); + assert(isEqual(getEffectiveMinDate({ minDate, includeDates }), date2)); }); }); @@ -296,14 +227,14 @@ describe("date_utils", function() { it("should return the max date", () => { const maxDate = newDate("2016-03-30"); - assert(equals(getEffectiveMaxDate({ maxDate }), maxDate)); + assert(isEqual(getEffectiveMaxDate({ maxDate }), maxDate)); }); it("should return the maximum include date", () => { const date1 = newDate("2016-03-30"); const date2 = newDate("2016-04-01"); const includeDates = [date1, date2]; - assert(equals(getEffectiveMaxDate({ includeDates }), date2)); + assert(isEqual(getEffectiveMaxDate({ includeDates }), date2)); }); it("should return the maximum include date satisfying the max date", () => { @@ -311,7 +242,7 @@ describe("date_utils", function() { const date1 = newDate("2016-03-30"); const date2 = newDate("2016-04-01"); const includeDates = [date1, date2]; - assert(equals(getEffectiveMaxDate({ maxDate, includeDates }), date1)); + assert(isEqual(getEffectiveMaxDate({ maxDate, includeDates }), date1)); }); }); }); diff --git a/test/datepicker_test.js b/test/datepicker_test.js index b473b49f2..42683b036 100644 --- a/test/datepicker_test.js +++ b/test/datepicker_test.js @@ -7,7 +7,6 @@ import DatePicker from "../src/index.jsx"; import Day from "../src/day"; import TestWrapper from "./test_wrapper.jsx"; import PopperComponent from "../src/popper_component.jsx"; -import TimezoneDatePicker from "./timezone_date_picker.jsx"; import CustomInput from "./helper_components/custom_input.jsx"; import * as utils from "../src/date_utils"; @@ -233,13 +232,15 @@ describe("DatePicker", () => { it("should update the preSelection state when a day is selected with Enter press", () => { var data = getOnInputKeyDownStuff({ shouldCloseOnSelect: false }); var dateInput = data.datePicker.input; + TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); TestUtils.Simulate.keyDown( ReactDOM.findDOMNode(dateInput), getKey("Enter") ); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); - utils.addWeeks(data.copyM, 2); + + data.copyM = utils.addWeeks(data.copyM, 2); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -250,7 +251,7 @@ describe("DatePicker", () => { // ArrowLeft selects the previous month. (On the 1st 2 days of the month.) // On the last week of the month, when the next month includes the current // week, we need monthsShown=1 to prevent today from appearing twice. - const dayOfMonth = utils.getDate(utils.now()); + const dayOfMonth = utils.getDate(utils.newDate()); var data = getOnInputKeyDownStuff({ shouldCloseOnSelect: false, monthsShown: dayOfMonth < 15 ? 2 : 1 @@ -266,7 +267,7 @@ describe("DatePicker", () => { TestUtils.Simulate.click(ReactDOM.findDOMNode(day)); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); - utils.addWeeks(data.copyM, 1); + data.copyM = utils.addWeeks(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -403,9 +404,9 @@ describe("DatePicker", () => { )[0]; TestUtils.Simulate.click(dayButton); - expect(utils.getHour(date)).to.equal(10); - expect(utils.getMinute(date)).to.equal(11); - expect(utils.getSecond(date)).to.equal(12); + expect(utils.getHours(date)).to.equal(10); + expect(utils.getMinutes(date)).to.equal(11); + expect(utils.getSeconds(date)).to.equal(12); }); it("should mount and unmount properly", done => { @@ -477,9 +478,9 @@ describe("DatePicker", () => { function getOnInputKeyDownStuff(opts) { opts = opts || {}; var m = utils.newDate(); - var copyM = utils.cloneDate(m); - var testFormat = "YYYY-MM-DD"; - var exactishFormat = "YYYY-MM-DD HH: ZZ"; + var copyM = utils.newDate(m); + var testFormat = "yyyy-MM-dd"; + var exactishFormat = "yyyy-MM-dd hh: zzzz"; var callback = sandbox.spy(); var onInputErrorCallback = sandbox.spy(); @@ -509,7 +510,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown ArrowLeft", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowLeft")); - utils.subtractDays(data.copyM, 1); + data.copyM = utils.subDays(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -517,7 +518,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown ArrowRight", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowRight")); - utils.addDays(data.copyM, 1); + data.copyM = utils.addDays(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -525,7 +526,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown ArrowUp", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowUp")); - utils.subtractWeeks(data.copyM, 1); + data.copyM = utils.subWeeks(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -533,7 +534,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown ArrowDown", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); - utils.addWeeks(data.copyM, 1); + data.copyM = utils.addWeeks(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -541,7 +542,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown PageUp", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("PageUp")); - utils.subtractMonths(data.copyM, 1); + data.copyM = utils.subMonths(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -549,7 +550,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown PageDown", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("PageDown")); - utils.addMonths(data.copyM, 1); + data.copyM = utils.addMonths(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -557,7 +558,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown End", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("End")); - utils.addYears(data.copyM, 1); + data.copyM = utils.addYears(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -565,14 +566,14 @@ describe("DatePicker", () => { it("should handle onInputKeyDown Home", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("Home")); - utils.subtractYears(data.copyM, 1); + data.copyM = utils.subYears(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); }); it("should not preSelect date if not between minDate and maxDate", () => { var data = getOnInputKeyDownStuff({ - minDate: utils.subtractDays(utils.newDate(), 1), + minDate: utils.subDays(utils.newDate(), 1), maxDate: utils.addDays(utils.newDate(), 1) }); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); @@ -592,7 +593,7 @@ describe("DatePicker", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowLeft")); TestUtils.Simulate.keyDown(data.nodeInput, getKey("Enter")); - utils.subtractDays(data.copyM, 1); + data.copyM = utils.subDays(data.copyM, 1); expect(data.callback.calledOnce).to.be.true; var result = data.callback.args[0][0]; expect(utils.formatDate(result, data.testFormat)).to.equal( @@ -610,7 +611,7 @@ describe("DatePicker", () => { utils.formatDate(data.callback.args[0][0], data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); }); - it("should not update the selected date if the date input manually it has something wrong", () => { + it("should not update the selected date if the manual date input is invalid", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); TestUtils.Simulate.keyDown(data.nodeInput, getKey("Backspace")); @@ -623,7 +624,7 @@ describe("DatePicker", () => { }); it("should not select excludeDates", () => { var data = getOnInputKeyDownStuff({ - excludeDates: [utils.subtractDays(utils.newDate(), 1)] + excludeDates: [utils.subDays(utils.newDate(), 1)] }); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowLeft")); TestUtils.Simulate.keyDown(data.nodeInput, getKey("Enter")); @@ -632,8 +633,7 @@ describe("DatePicker", () => { it("should not select dates excluded from filterDate", () => { var data = getOnInputKeyDownStuff({ filterDate: date => - utils.getDay(date) !== - utils.getDay(utils.subtractDays(utils.newDate(), 1)) + utils.getDay(date) !== utils.getDay(utils.subDays(utils.newDate(), 1)) }); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowLeft")); TestUtils.Simulate.keyDown(data.nodeInput, getKey("Enter")); @@ -674,7 +674,7 @@ describe("DatePicker", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowLeft")); data.datePicker.setOpen(true); - utils.subtractDays(data.copyM, 1); + data.copyM = utils.subDays(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -701,7 +701,6 @@ describe("DatePicker", () => { expect(utils.formatDate(selected, data.exactishFormat)).to.equal( utils.formatDate(data.copyM, data.exactishFormat) ); - expect(selected.isLocal()).to.equal(true); }); it("should autofocus the input given the autoFocus prop", () => { @@ -731,8 +730,8 @@ describe("DatePicker", () => { function getOnInputKeyDownDisabledKeyboardNavigationStuff() { var m = utils.newDate(); - var copyM = utils.cloneDate(m); - var testFormat = "YYYY-MM-DD"; + var copyM = utils.newDate(m); + var testFormat = "yyyy-MM-dd"; var callback = sandbox.spy(); var datePicker = TestUtils.renderIntoDocument( @@ -790,7 +789,6 @@ describe("DatePicker", () => { TestUtils.Simulate.keyDown(data.nodeInput, getKey("End")); expect(data.callback.called).to.be.false; }); - it("should correctly clear date with empty input string", () => { var cleared = false; function handleChange(d) { @@ -811,40 +809,6 @@ describe("DatePicker", () => { TestUtils.Simulate.change(input); expect(cleared).to.be.true; }); - it("should correctly update the date input when utcOffset is all that changes on the selected date", () => { - var date = utils.setUTCOffset(utils.newDate("2016-11-22T00:00:00Z"), -6); - var tmzDatePicker = mount(); - tmzDatePicker.setState({ startDate: date, utcOffset: -6 }); - - expect(tmzDatePicker.find("input").prop("value")).to.equal( - "2016-11-21 18:00" - ); - - tmzDatePicker.setState({ - utcOffset: 6, - startDate: utils.setUTCOffset(utils.cloneDate(date), 6) - }); - - expect(tmzDatePicker.find("input").prop("value")).to.equal( - "2016-11-22 06:00" - ); - - // using string offsets - tmzDatePicker.setState({ startDate: date, utcOffset: "-06:00" }); - - expect(tmzDatePicker.find("input").prop("value")).to.equal( - "2016-11-21 18:00" - ); - - tmzDatePicker.setState({ - utcOffset: "+06:00", - startDate: utils.setUTCOffset(utils.cloneDate(date), 6) - }); - - expect(tmzDatePicker.find("input").prop("value")).to.equal( - "2016-11-22 06:00" - ); - }); it("should correctly update the input when the value prop changes", () => { const datePicker = mount(); expect(datePicker.find("input").prop("value")).to.equal(""); @@ -855,7 +819,7 @@ describe("DatePicker", () => { const onChange = date => datePicker.setProps({ selected: date }); const datePicker = mount( ); @@ -873,7 +837,7 @@ describe("DatePicker", () => { ); }); expect( - utils.formatDate(datePicker.prop("selected"), "YYYY-MM-DD") + utils.formatDate(datePicker.prop("selected"), "yyyy-MM-dd") ).to.equal("1982-12-30"); }); it("should invoke provided onChangeRaw function on manual input change", () => { @@ -958,7 +922,7 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("1988-12-30"); }); it("should default to the start date when selecting an end date", () => { @@ -966,7 +930,7 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("1988-11-30"); }); it("should default to the end date when selecting a start date", () => { @@ -974,7 +938,7 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("1988-12-31"); }); it("should default to a date <= maxDate", () => { @@ -982,7 +946,7 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("1982-01-01"); }); it("should default to a date >= minDate", () => { @@ -990,7 +954,7 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("2063-04-05"); }); it("should default to the openToDate if there is one", () => { @@ -998,14 +962,14 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("2020-01-23"); }); it("should otherwise default to the current date", () => { const datePicker = mount(); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") - ).to.equal(utils.formatDate(utils.newDate(), "YYYY-MM-DD")); + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") + ).to.equal(utils.formatDate(utils.newDate(), "yyyy-MM-dd")); }); it("should support an initial null `selected` value in inline mode", () => { const datePicker = mount(); @@ -1019,24 +983,24 @@ describe("DatePicker", () => { const future = utils.addDays(utils.newDate(), 100); const datePicker = mount(); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") - ).to.equal(utils.formatDate(selected, "YYYY-MM-DD")); + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") + ).to.equal(utils.formatDate(selected, "yyyy-MM-dd")); datePicker.setProps({ selected: future }); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") - ).to.equal(utils.formatDate(future, "YYYY-MM-DD")); + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") + ).to.equal(utils.formatDate(future, "yyyy-MM-dd")); }); it("should switch month in inline mode immediately, when year is updated", () => { const selected = utils.newDate(); const future = utils.addYears(utils.newDate(), 1); const datePicker = mount(); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") - ).to.equal(utils.formatDate(selected, "YYYY-MM-DD")); + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") + ).to.equal(utils.formatDate(selected, "yyyy-MM-dd")); datePicker.setProps({ selected: future }); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") - ).to.equal(utils.formatDate(future, "YYYY-MM-DD")); + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") + ).to.equal(utils.formatDate(future, "yyyy-MM-dd")); }); it("should not switch months in inline mode when a day is clicked", () => { @@ -1045,15 +1009,17 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state.preSelection, "YYYY-MM-DD") - ).to.equal(utils.formatDate(selected, "YYYY-MM-DD")); + utils.formatDate(datePicker.state.preSelection, "yyyy-MM-dd") + ).to.equal(utils.formatDate(selected, "yyyy-MM-dd")); let days = TestUtils.scryRenderedComponentsWithType(datePicker, Day); - let nextMonthDay = days.find(d => d.props.month !== selected.month()); + let nextMonthDay = days.find( + d => d.props.month !== utils.getMonth(selected) + ); TestUtils.Simulate.click(ReactDOM.findDOMNode(nextMonthDay)); expect( - utils.formatDate(datePicker.state.preSelection, "YYYY-MM-DD") - ).to.equal(utils.formatDate(selected, "YYYY-MM-DD")); + utils.formatDate(datePicker.state.preSelection, "yyyy-MM-dd") + ).to.equal(utils.formatDate(selected, "yyyy-MM-dd")); }); it("should not set open state when focusing on the date input and the preventOpenOnFocus prop is set", () => { diff --git a/test/day_test.js b/test/day_test.js index f3ee1799e..1bdf48806 100644 --- a/test/day_test.js +++ b/test/day_test.js @@ -1,95 +1,94 @@ -import React from "react"; -import Day from "../src/day"; -import { shallow } from "enzyme"; +import React from 'react'; +import Day from '../src/day'; +import { shallow } from 'enzyme'; import { getDayOfWeekCode, newDate, getDate, - cloneDate, addDays, - subtractDays, + subDays, getMonth, newDateWithOffset, getHightLightDaysMap -} from "../src/date_utils"; +} from '../src/date_utils'; function renderDay(day, props = {}) { return shallow(); } -describe("Day", () => { - describe("rendering", () => { - it("should render the specified day", () => { +describe('Day', () => { + describe('rendering', () => { + it('should render the specified day', () => { const day = newDate(); const shallowDay = renderDay(day); - expect(shallowDay.hasClass("react-datepicker__day")).to.equal(true); - expect(shallowDay.text()).to.equal(getDate(day) + ""); + expect(shallowDay.hasClass('react-datepicker__day')).to.equal(true); + expect(shallowDay.text()).to.equal(getDate(day) + ''); }); - it("should apply the day of week class", () => { + it('should apply the day of week class', () => { let day = newDate(); for (var i = 0; i < 7; i++) { - const className = "react-datepicker__day--" + getDayOfWeekCode(day); + const className = 'react-datepicker__day--' + getDayOfWeekCode(day); const shallowDay = renderDay(day); expect(shallowDay.hasClass(className)).to.equal(true); - day = addDays(cloneDate(day), 1); + day = addDays(day, 1); } }); - it("should render custom day contents", () => { + it('should render custom day contents', () => { const day = newDate(); function renderDayContents(day) { return {day}; } const shallowDay = renderDay(day, { renderDayContents }); - expect(shallowDay.find("span")); + expect(shallowDay.find('span')); }); }); - describe("selected", () => { - const className = "react-datepicker__day--selected"; + describe('selected', () => { + const className = 'react-datepicker__day--selected'; - it("should apply the selected class if selected", () => { + it('should apply the selected class if selected', () => { const day = newDate(); const shallowDay = renderDay(day, { selected: day }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the selected class if not selected", () => { + it('should not apply the selected class if not selected', () => { const day = newDate(); - const selected = addDays(cloneDate(day), 1); + const selected = addDays(day, 1); const shallowDay = renderDay(day, { selected }); expect(shallowDay.hasClass(className)).to.equal(false); }); }); - describe("keyboard-selected", () => { - const className = "react-datepicker__day--keyboard-selected"; + describe('keyboard-selected', () => { + const className = 'react-datepicker__day--keyboard-selected'; - it("should apply the keyboard-selected class when pre-selected and another day is selected", () => { + it('should apply the keyboard-selected class when pre-selected and another day is selected', () => { const day = newDate(); - const selected = addDays(cloneDate(day), 1); + const selected = addDays(day, 1); const shallowDay = renderDay(day, { selected, preSelection: day }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the keyboard-selected class when selected", () => { + it('should not apply the keyboard-selected class when selected', () => { const day = newDate(); const shallowDay = renderDay(day, { selected: day, preSelection: day }); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should not apply the keyboard-selected class when another day is pre-selected", () => { + it('should not apply the keyboard-selected class when another day is pre-selected', () => { const day = newDate(); - const selected = addDays(cloneDate(day), 1); - const preSelection = addDays(cloneDate(day), 2); + const selected = addDays(day, 1); + const preSelection = addDays(day, 2); const shallowDay = renderDay(day, { selected, preSelection }); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should not apply the keyboard-selected class if in inline mode", () => { + it('should not apply the keyboard-selected class if in inline mode', () => { const day = newDate(); - const selected = addDays(cloneDate(day), 1); + const selected = addDays(day, 1); const shallowDay = renderDay(day, { selected, preSelection: day, @@ -99,91 +98,88 @@ describe("Day", () => { }); }); - describe("highlighted", () => { - const className = "react-datepicker__day--highlighted"; + describe('highlighted', () => { + const className = 'react-datepicker__day--highlighted'; - it("should apply the highlighted class if in highlighted array", () => { + it('should apply the highlighted class if in highlighted array', () => { const day = newDate(); - const highlightDay1 = cloneDate(day); - const highlightDay2 = addDays(cloneDate(day), 1); + const highlightDay1 = newDate(day); + const highlightDay2 = addDays(day, 1); const highlightDates = [highlightDay1, highlightDay2]; const highlightDatesMap = getHightLightDaysMap(highlightDates); const shallowDay = renderDay(day, { highlightDates: highlightDatesMap }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the highlighted class if not in highlighted array", () => { + it('should not apply the highlighted class if not in highlighted array', () => { const day = newDate(); - const highlightDay1 = subtractDays(cloneDate(day), 1); - const highlightDay2 = addDays(cloneDate(day), 1); + const highlightDay1 = subDays(day, 1); + const highlightDay2 = addDays(day, 1); const highlightDates = [highlightDay1, highlightDay2]; const highlightDatesMap = getHightLightDaysMap(highlightDates); const shallowDay = renderDay(day, { highlightDates: highlightDatesMap }); expect(shallowDay.hasClass(className)).to.equal(false); }); - describe("prop is an array of objects with class name as a key and array of moments as a value", () => { - it("should apply the highlighted class if in highlighted", () => { + describe('prop is an array of objects with class name as a key and array of moments as a value', () => { + it('should apply the highlighted class if in highlighted', () => { const day = newDate(); const highlightDay1 = { - testClassName: [addDays(cloneDate(day), 1), cloneDate(day)] + testClassName: [addDays(day, 1), newDate(day)] }; - const highlightDay2 = addDays(cloneDate(day), 2); - const highlightDay3 = addDays(cloneDate(day), 3); + const highlightDay2 = addDays(day, 2); + const highlightDay3 = addDays(day, 3); const highlightDates = [highlightDay1, highlightDay2, highlightDay3]; const highlightDatesMap = getHightLightDaysMap(highlightDates); const shallowDay = renderDay(day, { highlightDates: highlightDatesMap }); - expect(shallowDay.hasClass("testClassName")).to.equal(true); + expect(shallowDay.hasClass('testClassName')).to.equal(true); }); - it("should not apply the highlighted class if not in highlighted array", () => { + it('should not apply the highlighted class if not in highlighted array', () => { const day = newDate(); const highlightDay1 = { - testClassName: [ - addDays(cloneDate(day), 1), - addDays(cloneDate(day), 2) - ] + testClassName: [addDays(day, 1), addDays(day, 2)] }; - const highlightDay2 = addDays(cloneDate(day), 3); - const highlightDay3 = addDays(cloneDate(day), 4); + const highlightDay2 = addDays(day, 3); + const highlightDay3 = addDays(day, 4); const highlightDates = [highlightDay1, highlightDay2, highlightDay3]; const highlightDatesMap = getHightLightDaysMap(highlightDates); const shallowDay = renderDay(day, { highlightDates: highlightDatesMap }); - expect(shallowDay.hasClass("testClassName")).to.equal(false); + expect(shallowDay.hasClass('testClassName')).to.equal(false); }); - it("should apply the highlighted classes even if the same day in highlighted array", () => { + it('should apply the highlighted classes even if the same day in highlighted array', () => { const day = newDate(); - const highlightDay1 = { fooClassName: [cloneDate(day)] }; - const highlightDay2 = { barClassName: [cloneDate(day)] }; - const highlightDay3 = cloneDate(day); + const highlightDay1 = { fooClassName: [newDate(day)] }; + const highlightDay2 = { barClassName: [newDate(day)] }; + const highlightDay3 = newDate(day); const highlightDates = [highlightDay1, highlightDay2, highlightDay3]; const highlightDatesMap = getHightLightDaysMap(highlightDates); const shallowDay = renderDay(day, { highlightDates: highlightDatesMap }); - expect(shallowDay.hasClass("fooClassName")).to.equal(true); - expect(shallowDay.hasClass("barClassName")).to.equal(true); + expect(shallowDay.hasClass('fooClassName')).to.equal(true); + expect(shallowDay.hasClass('barClassName')).to.equal(true); expect(shallowDay.hasClass(className)).to.equal(true); }); }); }); - describe("custom day className", () => { - const className = "customClassName"; + describe('custom day className', () => { + const className = 'customClassName'; - it("should apply className returned from passed dayClassName prop function", () => { + it('should apply className returned from passed dayClassName prop function', () => { const day = newDate(); const dayClassNameFunc = date => className; const shallowDay = renderDay(day, { dayClassName: dayClassNameFunc }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should pass rendered days date to dayClassName func", () => { + it('should pass rendered days date to dayClassName func', () => { const day = newDate(); const dayClassNameFunc = date => { expect(date).to.equal(day); @@ -193,93 +189,93 @@ describe("Day", () => { expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not add any additional className when passed dayClassName prop function returns undefined", () => { + it('should not add any additional className when passed dayClassName prop function returns undefined', () => { const day = newDate(); const dayClassNameFunc = date => undefined; const shallowDay = renderDay(day, { dayClassName: dayClassNameFunc }); expect(shallowDay.hasClass(className)).to.equal(false); - expect(shallowDay.hasClass("undefined")).to.equal(false); + expect(shallowDay.hasClass('undefined')).to.equal(false); }); - it("should not add any additional className when dayClassName prop is not passed", () => { + it('should not add any additional className when dayClassName prop is not passed', () => { const day = newDate(); const shallowDay = renderDay(day); expect(shallowDay.hasClass(className)).to.equal(false); - expect(shallowDay.hasClass("undefined")).to.equal(false); + expect(shallowDay.hasClass('undefined')).to.equal(false); }); }); - describe("in range", () => { - const className = "react-datepicker__day--in-range"; + describe('in range', () => { + const className = 'react-datepicker__day--in-range'; - it("should apply the in-range class if in range", () => { + it('should apply the in-range class if in range', () => { const day = newDate(); - const startDate = subtractDays(cloneDate(day), 1); - const endDate = addDays(cloneDate(day), 1); + const startDate = subDays(day, 1); + const endDate = addDays(day, 1); const shallowDay = renderDay(day, { startDate, endDate }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the in-range class if not in range", () => { + it('should not apply the in-range class if not in range', () => { const day = newDate(); - const startDate = addDays(cloneDate(day), 1); - const endDate = addDays(cloneDate(day), 2); + const startDate = addDays(day, 1); + const endDate = addDays(day, 2); const shallowDay = renderDay(day, { startDate, endDate }); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should apply the in-range class if equal to start date", () => { + it('should apply the in-range class if equal to start date', () => { const day = newDate(); - const startDate = cloneDate(day); - const endDate = addDays(cloneDate(day), 1); + const startDate = newDate(day); + const endDate = addDays(day, 1); const shallowDay = renderDay(day, { startDate, endDate }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should apply the in-range class if equal to end date", () => { + it('should apply the in-range class if equal to end date', () => { const day = newDate(); - const startDate = subtractDays(cloneDate(day), 1); - const endDate = cloneDate(day); + const startDate = subDays(day, 1); + const endDate = newDate(day); const shallowDay = renderDay(day, { startDate, endDate }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the in-range class if start date missing", () => { + it('should not apply the in-range class if start date missing', () => { const day = newDate(); - const startDate = subtractDays(cloneDate(day), 1); + const startDate = subDays(day, 1); const shallowDay = renderDay(day, { startDate }); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should not apply the in-range class if end date missing", () => { + it('should not apply the in-range class if end date missing', () => { const day = newDate(); - const endDate = addDays(cloneDate(day), 1); + const endDate = addDays(day, 1); const shallowDay = renderDay(day, { endDate }); expect(shallowDay.hasClass(className)).to.equal(false); }); }); - describe("in selecting range", () => { - const rangeDayClassName = "react-datepicker__day--in-selecting-range"; + describe('in selecting range', () => { + const rangeDayClassName = 'react-datepicker__day--in-selecting-range'; const rangeDayStartClassName = - "react-datepicker__day--selecting-range-start"; - const rangeDayEndClassName = "react-datepicker__day--selecting-range-end"; + 'react-datepicker__day--selecting-range-start'; + const rangeDayEndClassName = 'react-datepicker__day--selecting-range-end'; function createDateRange(beforeDays, afterDays, day = newDate()) { return { - startDate: subtractDays(cloneDate(day), beforeDays), - endDate: addDays(cloneDate(day), afterDays), + startDate: subDays(day, beforeDays), + endDate: addDays(day, afterDays), day }; } - describe("for a start date picker", () => { - it("should highlight for dates before the end date", () => { + describe('for a start date picker', () => { + it('should highlight for dates before the end date', () => { const { startDate, endDate } = createDateRange(-1, 1); // All these should highlight: today, yesterday (startDate), the day before for (let daysFromEnd = 1; daysFromEnd <= 3; daysFromEnd++) { - const selectingDate = subtractDays(cloneDate(endDate), daysFromEnd); + const selectingDate = subDays(endDate, daysFromEnd); const shallowDay = renderDay(selectingDate, { startDate, endDate, @@ -290,10 +286,10 @@ describe("Day", () => { } }); - it("should have a class if it is a start or end date", () => { + it('should have a class if it is a start or end date', () => { const endDate = newDate(); - const midRangeDate = subtractDays(cloneDate(endDate), 1); - const selectingDate = subtractDays(cloneDate(endDate), 2); + const midRangeDate = subDays(endDate, 1); + const selectingDate = subDays(endDate, 2); const shallowStartDay = renderDay(selectingDate, { endDate, @@ -318,9 +314,9 @@ describe("Day", () => { expect(shallowEndDay.hasClass(rangeDayEndClassName)).to.be.true; }); - it("should not highlight for days after the end date", () => { + it('should not highlight for days after the end date', () => { const { day, startDate, endDate } = createDateRange(-1, 1); - const selectingDate = addDays(cloneDate(endDate), 1); + const selectingDate = addDays(endDate, 1); const shallowDay = renderDay(day, { startDate, endDate, @@ -330,9 +326,9 @@ describe("Day", () => { expect(shallowDay.hasClass(rangeDayClassName)).to.be.false; }); - it("should not highlight if there is no end date selected", () => { + it('should not highlight if there is no end date selected', () => { const startDate = newDate(); - const selectingDate = subtractDays(cloneDate(startDate), 1); + const selectingDate = subDays(startDate, 1); const shallowDay = renderDay(selectingDate, { startDate, selectingDate, @@ -341,9 +337,9 @@ describe("Day", () => { expect(shallowDay.hasClass(rangeDayClassName)).to.be.false; }); - it("should not highlight for disabled dates", () => { + it('should not highlight for disabled dates', () => { const endDate = newDate(); - const selectingDate = subtractDays(cloneDate(endDate), 1); + const selectingDate = subDays(endDate, 1); const shallowDay = renderDay(selectingDate, { selectingDate, endDate, @@ -354,13 +350,13 @@ describe("Day", () => { }); }); - describe("for an end date picker", () => { - it("should highlight for dates after the start date", () => { + describe('for an end date picker', () => { + it('should highlight for dates after the start date', () => { const { startDate, endDate } = createDateRange(-1, 1); // All these should highlight: today, tomorrow (endDate), the day after for (let daysFromStart = 1; daysFromStart <= 3; daysFromStart++) { - const day = addDays(cloneDate(startDate), daysFromStart); + const day = addDays(startDate, daysFromStart); const shallowDay = renderDay(day, { startDate, endDate, @@ -371,10 +367,10 @@ describe("Day", () => { } }); - it("should have a class if it is a start or end date", () => { + it('should have a class if it is a start or end date', () => { const startDate = newDate(); - const midRangeDate = addDays(cloneDate(startDate), 1); - const selectingDate = addDays(cloneDate(startDate), 2); + const midRangeDate = addDays(startDate, 1); + const selectingDate = addDays(startDate, 2); const shallowStartDay = renderDay(startDate, { startDate, @@ -399,9 +395,9 @@ describe("Day", () => { expect(shallowEndDay.hasClass(rangeDayEndClassName)).to.be.true; }); - it("should not highlight for days before the start date", () => { + it('should not highlight for days before the start date', () => { const startDate = newDate(); - const selectingDate = subtractDays(cloneDate(startDate), 1); + const selectingDate = subDays(startDate, 1); const shallowDay = renderDay(selectingDate, { startDate, selectingDate, @@ -410,9 +406,9 @@ describe("Day", () => { expect(shallowDay.hasClass(rangeDayClassName)).to.be.false; }); - it("should not highlight if there is no start date selected", () => { + it('should not highlight if there is no start date selected', () => { const { day, endDate } = createDateRange(-1, 1); - const selectingDate = addDays(cloneDate(endDate), 1); + const selectingDate = addDays(endDate, 1); const shallowDay = renderDay(day, { endDate, selectingDate, @@ -421,9 +417,9 @@ describe("Day", () => { expect(shallowDay.hasClass(rangeDayClassName)).to.be.false; }); - it("should not highlight for disabled dates", () => { + it('should not highlight for disabled dates', () => { const startDate = newDate(); - const selectingDate = addDays(cloneDate(startDate), 1); + const selectingDate = addDays(startDate, 1); const shallowDay = renderDay(selectingDate, { startDate, selectingDate, @@ -435,76 +431,71 @@ describe("Day", () => { }); }); - describe("today", () => { - const className = "react-datepicker__day--today"; + describe('today', () => { + const className = 'react-datepicker__day--today'; - it("should apply the today class if today", () => { + it('should apply the today class if today', () => { const shallowDay = renderDay(newDate()); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the today class if not today", () => { + it('should not apply the today class if not today', () => { const shallowDay = renderDay(addDays(newDate(), 1)); expect(shallowDay.hasClass(className)).to.equal(false); }); - - it("should apply the today class if custom utcOffset is provided", () => { - const shallowDay = renderDay(newDateWithOffset(720)); - expect(shallowDay.hasClass(className)).to.equal(true); - }); }); - describe("weekend", () => { - const className = "react-datepicker__day--weekend"; + describe('weekend', () => { + const className = 'react-datepicker__day--weekend'; - it("should apply the weekend class if Saturday", () => { - const shallowDay = renderDay(newDate("2015-12-19")); + it('should apply the weekend class if Saturday', () => { + const shallowDay = renderDay(newDate('2015-12-19')); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should apply the weekend class if Sunday", () => { - const shallowDay = renderDay(newDate("2015-12-20")); + it('should apply the weekend class if Sunday', () => { + const shallowDay = renderDay(newDate('2015-12-20')); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the today class if not the weekend", () => { - const shallowDay = renderDay(newDate("2015-12-21")); + it('should not apply the today class if not the weekend', () => { + const shallowDay = renderDay(newDate('2015-12-21')); expect(shallowDay.hasClass(className)).to.equal(false); }); }); - describe("outside month", () => { - const className = "react-datepicker__day--outside-month"; + describe('outside month', () => { + const className = 'react-datepicker__day--outside-month'; - it("should not apply the outside-month class if in same month", () => { + it('should not apply the outside-month class if in same month', () => { const day = newDate(); const shallowDay = renderDay(day, { month: getMonth(day) }); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should apply the outside-month class if not in same month", () => { + it('should apply the outside-month class if not in same month', () => { const day = newDate(); const shallowDay = renderDay(day, { month: getMonth(day) + 1 }); expect(shallowDay.hasClass(className)).to.equal(true); }); }); - describe("disabled", () => { - const className = "react-datepicker__day--disabled"; + describe('disabled', () => { + const className = 'react-datepicker__day--disabled'; - it("should be enabled if date is enabled", () => { + it('should be enabled if date is enabled', () => { const shallowDay = renderDay(newDate()); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should be disabled if date is disabled", () => { + it('should be disabled if date is disabled', () => { const day = newDate(); const shallowDay = renderDay(day, { excludeDates: [day] }); expect(shallowDay.hasClass(className)).to.equal(true); }); }); - describe("click", () => { + describe('click', () => { var onClickCalled; function onClick() { @@ -515,24 +506,24 @@ describe("Day", () => { onClickCalled = false; }); - it("should call onClick if day is enabled", () => { + it('should call onClick if day is enabled', () => { const day = newDate(); const dayNode = shallow(); - dayNode.find(".react-datepicker__day").simulate("click"); + dayNode.find('.react-datepicker__day').simulate('click'); expect(onClickCalled).to.be.true; }); - it("should not call onClick if day is disabled", () => { + it('should not call onClick if day is disabled', () => { const day = newDate(); const dayNode = shallow( ); - dayNode.find(".react-datepicker__day").simulate("click"); + dayNode.find('.react-datepicker__day').simulate('click'); expect(onClickCalled).to.be.false; }); }); - describe("mouse enter", () => { + describe('mouse enter', () => { var onMouseEnterCalled; function onMouseEnter() { @@ -543,9 +534,9 @@ describe("Day", () => { onMouseEnterCalled = false; }); - it("should call onMouseEnter if day is hovered", () => { + it('should call onMouseEnter if day is hovered', () => { const shallowDay = renderDay(newDate(), { onMouseEnter }); - shallowDay.find(".react-datepicker__day").simulate("mouseenter"); + shallowDay.find('.react-datepicker__day').simulate('mouseenter'); expect(onMouseEnterCalled).to.be.true; }); }); diff --git a/test/exclude_time_period_test.js b/test/exclude_time_period_test.js index 045321ade..90fecf672 100644 --- a/test/exclude_time_period_test.js +++ b/test/exclude_time_period_test.js @@ -21,8 +21,8 @@ describe("DatePicker", () => { showTimeSelect selected={now} onChange={() => null} - minTime={utils.setTime(utils.cloneDate(now), { hours: 17, minutes: 0 })} - maxTime={utils.setTime(utils.cloneDate(now), { hours: 18, minutes: 0 })} + minTime={utils.setTime(now, { hours: 17, minutes: 0 })} + maxTime={utils.setTime(now, { hours: 18, minutes: 0 })} /> ); var times = datePicker.find("li.react-datepicker__time-list-item"); diff --git a/test/exclude_times_test.js b/test/exclude_times_test.js index ff1a0a387..dcf37477a 100644 --- a/test/exclude_times_test.js +++ b/test/exclude_times_test.js @@ -1,12 +1,8 @@ import React from "react"; import { mount } from "enzyme"; -import { setTime, cloneDate, newDate } from "../src/date_utils"; +import { setTime, newDate } from "../src/date_utils"; import DatePicker from "../src/index.jsx"; -function cloneDateWithTime(date, time) { - return setTime(cloneDate(date), time); -} - describe("DatePicker", () => { let sandbox; @@ -24,10 +20,10 @@ describe("DatePicker", () => { ); diff --git a/test/helper_components/custom_input.jsx b/test/helper_components/custom_input.jsx index 4064b35d0..7e3a6e87e 100644 --- a/test/helper_components/custom_input.jsx +++ b/test/helper_components/custom_input.jsx @@ -1,25 +1,25 @@ -import React from "react"; -import PropTypes from "prop-types"; +import React from 'react'; +import PropTypes from 'prop-types'; class CustomInput extends React.Component { - onChange(e) { - var args = [e, e.target.value]; - if (this.props.onChangeArgs) { - args = this.props.onChangeArgs(e); - } - this.props.onChange.apply(this, args); + onChange(e) { + var args = [e, e.target.value]; + if (this.props.onChangeArgs) { + args = this.props.onChangeArgs(e); } + this.props.onChange.apply(this, args); + } - render() { - let { ...props } = this.props; - delete props.onChangeArgs; - return - } + render() { + let { ...props } = this.props; + delete props.onChangeArgs; + return ; + } } CustomInput.propTypes = { - onChange: PropTypes.func, - onChangeArgs: PropTypes.func + onChange: PropTypes.func, + onChangeArgs: PropTypes.func }; -export default CustomInput; \ No newline at end of file +export default CustomInput; diff --git a/test/include_times_test.js b/test/include_times_test.js index 41f5c6417..79ede1904 100644 --- a/test/include_times_test.js +++ b/test/include_times_test.js @@ -1,13 +1,9 @@ import React from "react"; import { mount } from "enzyme"; import * as utils from "../src/date_utils"; -import { setTime, cloneDate, newDate } from "../src/date_utils"; +import { setTime, newDate } from "../src/date_utils"; import TimeComponent from "../src/time"; -function cloneDateWithTime(date, time) { - return setTime(cloneDate(date), time); -} - describe("TimeComponent", () => { let sandbox; @@ -24,9 +20,9 @@ describe("TimeComponent", () => { const timeComponent = mount( ); diff --git a/test/inject_times_test.js b/test/inject_times_test.js index c40311cb9..993d6d9d1 100644 --- a/test/inject_times_test.js +++ b/test/inject_times_test.js @@ -1,13 +1,9 @@ import React from "react"; import { mount } from "enzyme"; import * as utils from "../src/date_utils"; -import { setTime, cloneDate, newDate } from "../src/date_utils"; +import { setTime, newDate } from "../src/date_utils"; import TimeComponent from "../src/time"; -function cloneDateWithTime(date, time) { - return setTime(cloneDate(date), time); -} - describe("TimeComponent", () => { let sandbox; @@ -24,9 +20,9 @@ describe("TimeComponent", () => { const timeComponent = mount( ); @@ -43,9 +39,9 @@ describe("TimeComponent", () => { ); @@ -62,9 +58,9 @@ describe("TimeComponent", () => { ); @@ -81,9 +77,9 @@ describe("TimeComponent", () => { ); diff --git a/test/month_dropdown_test.js b/test/month_dropdown_test.js index 440749b3f..d76b4b147 100644 --- a/test/month_dropdown_test.js +++ b/test/month_dropdown_test.js @@ -1,15 +1,14 @@ -import React from "react"; -import range from "lodash/range"; -import MonthDropdown from "../src/month_dropdown.jsx"; -import MonthDropdownOptions from "../src/month_dropdown_options.jsx"; -import { mount } from "enzyme"; -import { - newDate, - getMonthInLocale, - getDefaultLocaleData -} from "../src/date_utils"; - -describe("MonthDropdown", () => { +import React from 'react'; +import range from 'lodash/range'; +import MonthDropdown from '../src/month_dropdown.jsx'; +import MonthDropdownOptions from '../src/month_dropdown_options.jsx'; +import { mount } from 'enzyme'; +import { newDate, getMonthInLocale, registerLocale } from '../src/date_utils'; +import zh_cn from 'date-fns/locale/zh-CN'; +import el from 'date-fns/locale/el'; +import ru from 'date-fns/locale/ru'; + +describe('MonthDropdown', () => { let monthDropdown; let handleChangeResult; const mockHandleChange = function(changeInput) { @@ -18,12 +17,10 @@ describe("MonthDropdown", () => { let sandbox; function getMonthDropdown(overrideProps) { - const dateFormatCalendar = "MMMM YYYY"; return mount( @@ -39,38 +36,36 @@ describe("MonthDropdown", () => { sandbox.restore(); }); - describe("scroll mode", () => { + describe('scroll mode', () => { beforeEach(function() { monthDropdown = getMonthDropdown(); }); - it("shows the selected yonth in the initial view", () => { - expect(monthDropdown.text()).to.contain("December"); + it('shows the selected yonth in the initial view', () => { + expect(monthDropdown.text()).to.contain('December'); }); - it("opens a list when read view is clicked", () => { + it('opens a list when read view is clicked', () => { monthDropdown - .find(".react-datepicker__month-read-view") - .simulate("click"); + .find('.react-datepicker__month-read-view') + .simulate('click'); var optionsView = monthDropdown.find(MonthDropdownOptions); expect(optionsView).to.exist; }); - it("closes the dropdown when a month is clicked", () => { + it('closes the dropdown when a month is clicked', () => { monthDropdown - .find(".react-datepicker__month-read-view") - .simulate("click"); + .find('.react-datepicker__month-read-view') + .simulate('click'); monthDropdown - .find(".react-datepicker__month-option") + .find('.react-datepicker__month-option') .at(1) - .simulate("click"); + .simulate('click'); expect(monthDropdown.find(MonthDropdownOptions)).to.have.length(0); }); - it("closes the dropdown if outside is clicked", () => { - const monthNames = range(0, 12).map(M => - getMonthInLocale(getDefaultLocaleData(), newDate({ M })) - ); + it('closes the dropdown if outside is clicked', () => { + const monthNames = range(0, 12).map(M => getMonthInLocale(M)); const onCancelSpy = sandbox.spy(); const monthDropdownOptionsInstance = mount( { expect(onCancelSpy.calledOnce).to.be.true; }); - it("does not call the supplied onChange function when the same month is clicked", () => { + it('does not call the supplied onChange function when the same month is clicked', () => { monthDropdown - .find(".react-datepicker__month-read-view") - .simulate("click"); + .find('.react-datepicker__month-read-view') + .simulate('click'); monthDropdown - .find(".react-datepicker__month-option") + .find('.react-datepicker__month-option') .at(11) - .simulate("click"); + .simulate('click'); expect(handleChangeResult).to.be.null; }); - it("calls the supplied onChange function when a different month is clicked", () => { + it('calls the supplied onChange function when a different month is clicked', () => { monthDropdown - .find(".react-datepicker__month-read-view") - .simulate("click"); + .find('.react-datepicker__month-read-view') + .simulate('click'); monthDropdown - .find(".react-datepicker__month-option") + .find('.react-datepicker__month-option') .at(2) - .simulate("click"); + .simulate('click'); expect(handleChangeResult).to.eq(2); }); - it("should use dateFormat property to determine nominative or genitive display of month names", () => { - let dropdownDateFormat = getMonthDropdown({ dateFormat: "DD/MM/YYYY" }); - expect(dropdownDateFormat.text()).to.contain("December"); + it('should use locale stand-alone formatting to display month names', () => { + registerLocale('el', el); + registerLocale('ru', ru); - dropdownDateFormat = getMonthDropdown({ locale: "el" }); - expect(dropdownDateFormat.text()).to.contain("Δεκέμβριος"); - dropdownDateFormat = getMonthDropdown({ - locale: "el", - showMonthDropwdown: true - }); - expect(dropdownDateFormat.text()).to.contain("Δεκέμβριος"); + let dropdownDateFormat = getMonthDropdown(); + expect(dropdownDateFormat.text()).to.contain('December'); - dropdownDateFormat = getMonthDropdown({ - dateFormat: "DMMMMYYYY", - locale: "el" - }); - expect(dropdownDateFormat.text()).to.contain("Δεκεμβρίου"); - dropdownDateFormat = getMonthDropdown({ - dateFormat: "DMMMMYYYY", - locale: "el", - showMonthDropwdown: true - }); - expect(dropdownDateFormat.text()).to.contain("Δεκεμβρίου"); + dropdownDateFormat = getMonthDropdown({ locale: 'el' }); + expect(dropdownDateFormat.text()).to.contain('Δεκέμβριος'); + + dropdownDateFormat = getMonthDropdown({ locale: 'ru' }); + expect(dropdownDateFormat.text()).to.contain('декабрь'); }); }); - describe("select mode", () => { - it("renders a select", () => { - monthDropdown = getMonthDropdown({ dropdownMode: "select" }); - var select = monthDropdown.find(".react-datepicker__month-select"); + describe('select mode', () => { + it('renders a select', () => { + monthDropdown = getMonthDropdown({ dropdownMode: 'select' }); + var select = monthDropdown.find('.react-datepicker__month-select'); expect(select).to.have.length(1); - expect(select.prop("value")).to.eq(11); - var options = select.find("option"); - expect(options.map(o => o.prop("value"))).to.eql(range(0, 12)); + expect(select.prop('value')).to.eq(11); + var options = select.find('option'); + expect(options.map(o => o.prop('value'))).to.eql(range(0, 12)); }); - it("renders month options with default locale", () => { - monthDropdown = getMonthDropdown({ dropdownMode: "select" }); - var options = monthDropdown.find("option"); + it('renders month options with default locale', () => { + monthDropdown = getMonthDropdown({ dropdownMode: 'select' }); + var options = monthDropdown.find('option'); expect(options.map(o => o.text())).to.eql([ - "January", - "February", - "March", - "April", - "May", - "June", - "July", - "August", - "September", - "October", - "November", - "December" + 'January', + 'February', + 'March', + 'April', + 'May', + 'June', + 'July', + 'August', + 'September', + 'October', + 'November', + 'December' ]); }); // Short Month Names - it("renders month options with short name and default locale", () => { + it('renders month options with short name and default locale', () => { monthDropdown = getMonthDropdown({ - dropdownMode: "select", + dropdownMode: 'select', useShortMonthInDropdown: true }); - var options = monthDropdown.find("option"); + var options = monthDropdown.find('option'); expect(options.map(o => o.text())).to.eql([ - "Jan", - "Feb", - "Mar", - "Apr", - "May", - "Jun", - "Jul", - "Aug", - "Sep", - "Oct", - "Nov", - "Dec" + 'Jan', + 'Feb', + 'Mar', + 'Apr', + 'May', + 'Jun', + 'Jul', + 'Aug', + 'Sep', + 'Oct', + 'Nov', + 'Dec' ]); }); // Failing on Travis CI. - it("renders month options with specified locale", () => { + it('renders month options with specified locale', () => { + registerLocale('zh-cn', zh_cn); monthDropdown = getMonthDropdown({ - dropdownMode: "select", - locale: "zh-cn" + dropdownMode: 'select', + locale: 'zh-cn' }); - var options = monthDropdown.find("option"); + var options = monthDropdown.find('option'); expect(options.map(o => o.text())).to.eql([ - "一月", - "二月", - "三月", - "四月", - "五月", - "六月", - "七月", - "八月", - "九月", - "十月", - "十一月", - "十二月" + '一月', + '二月', + '三月', + '四月', + '五月', + '六月', + '七月', + '八月', + '九月', + '十月', + '十一月', + '十二月' ]); }); - it("does not call the supplied onChange function when the same month is clicked", () => { - monthDropdown = getMonthDropdown({ dropdownMode: "select", month: 11 }); - var select = monthDropdown.find(".react-datepicker__month-select"); - select.simulate("change", { target: { value: 11 } }); + it('does not call the supplied onChange function when the same month is clicked', () => { + monthDropdown = getMonthDropdown({ dropdownMode: 'select', month: 11 }); + var select = monthDropdown.find('.react-datepicker__month-select'); + select.simulate('change', { target: { value: 11 } }); expect(handleChangeResult).to.not.exist; }); - it("calls the supplied onChange function when a different month is clicked", () => { - monthDropdown = getMonthDropdown({ dropdownMode: "select", month: 11 }); - var select = monthDropdown.find(".react-datepicker__month-select"); - select.simulate("change", { target: { value: 9 } }); + it('calls the supplied onChange function when a different month is clicked', () => { + monthDropdown = getMonthDropdown({ dropdownMode: 'select', month: 11 }); + var select = monthDropdown.find('.react-datepicker__month-select'); + select.simulate('change', { target: { value: 9 } }); expect(handleChangeResult).to.equal(9); }); }); diff --git a/test/month_test.js b/test/month_test.js index 109a198fe..daf710715 100644 --- a/test/month_test.js +++ b/test/month_test.js @@ -13,13 +13,13 @@ describe("Month", () => { expect(days).to.have.length(dayCount); range(0, dayCount).forEach(offset => { const day = days.get(offset); - const expectedDay = utils.addDays(utils.cloneDate(start), offset); + const expectedDay = utils.addDays(start, offset); assert( utils.isSameDay(day.props.day, expectedDay), - `Day ${offset % 7 + 1} ` + + `Day ${(offset % 7) + 1} ` + `of week ${Math.floor(offset / 7) + 1} ` + - `should be "${utils.formatDate(expectedDay, "YYYY-MM-DD")}" ` + - `but it is "${utils.formatDate(day.props.day, "YYYY-MM-DD")}"` + `should be "${utils.formatDate(expectedDay, "yyyy-MM-dd")}" ` + + `but it is "${utils.formatDate(day.props.day, "yyyy-MM-dd")}"` ); }); } @@ -45,8 +45,8 @@ describe("Month", () => { assertDateRangeInclusive( mount(), - utils.getStartOfWeek(utils.cloneDate(monthStart)), - utils.getEndOfWeek(utils.getEndOfMonth(utils.cloneDate(monthStart))) + utils.getStartOfWeek(monthStart), + utils.getEndOfWeek(utils.getEndOfMonth(monthStart)) ); }); @@ -55,32 +55,30 @@ describe("Month", () => { assertDateRangeInclusive( mount(), - utils.getStartOfWeek(utils.cloneDate(monthStart)), - utils.getEndOfWeek( - utils.addWeeks(utils.addMonths(utils.cloneDate(monthStart), 1), 1) - ) + utils.getStartOfWeek(monthStart), + utils.getEndOfWeek(utils.addWeeks(utils.addMonths(monthStart, 1), 1)) ); }); it("should render a calendar of fixed height", () => { const monthStart = utils.newDate("2016-11-01"); - const calendarStart = utils.getStartOfWeek(utils.cloneDate(monthStart)); + const calendarStart = utils.getStartOfWeek(monthStart); assertDateRangeInclusive( mount(), calendarStart, - utils.getEndOfWeek(utils.addWeeks(utils.cloneDate(calendarStart), 5)) + utils.getEndOfWeek(utils.addWeeks(calendarStart, 5)) ); }); it("should render a calendar of fixed height with peeking", () => { const monthStart = utils.newDate("2016-11-01"); - const calendarStart = utils.getStartOfWeek(utils.cloneDate(monthStart)); + const calendarStart = utils.getStartOfWeek(monthStart); assertDateRangeInclusive( mount(), calendarStart, - utils.getEndOfWeek(utils.addWeeks(utils.cloneDate(calendarStart), 6)) + utils.getEndOfWeek(utils.addWeeks(calendarStart, 6)) ); }); diff --git a/test/month_year_dropdown_test.js b/test/month_year_dropdown_test.js index 0189ff9e1..ec508c583 100644 --- a/test/month_year_dropdown_test.js +++ b/test/month_year_dropdown_test.js @@ -5,11 +5,12 @@ import { mount } from "enzyme"; import { newDate, addMonths, - subtractMonths, + subMonths, formatDate, - cloneDate, - isAfter + isAfter, + registerLocale } from "../src/date_utils"; +import fi from "date-fns/locale/fi"; describe("MonthYearDropdown", () => { let monthYearDropdown; @@ -20,7 +21,7 @@ describe("MonthYearDropdown", () => { let sandbox; function getMonthYearDropdown(overrideProps) { - const dateFormatCalendar = "MMMM YYYY"; + const dateFormatCalendar = "LLLL yyyy"; const date = newDate("2018-01"); const minDate = newDate("2017-07-01"); const maxDate = newDate("2018-06-30"); @@ -55,7 +56,7 @@ describe("MonthYearDropdown", () => { }); it("shows the selected month year in the initial view", () => { - const selected_month_year_name = formatDate(selectedDate, "MMMM YYYY"); + const selected_month_year_name = formatDate(selectedDate, "LLLL yyyy"); expect(monthYearDropdown.text()).to.contain(selected_month_year_name); }); @@ -82,7 +83,7 @@ describe("MonthYearDropdown", () => { it("closes the dropdown if outside is clicked", () => { const date = newDate(); - const dateFormatCalendar = "MMMM YYYY"; + const dateFormatCalendar = "LLLL yyyy"; const onCancelSpy = sandbox.spy(); const monthYearDropdownOptionsInstance = mount( @@ -91,8 +92,8 @@ describe("MonthYearDropdown", () => { onChange={sandbox.spy()} dateFormat={dateFormatCalendar} date={date} - minDate={subtractMonths(cloneDate(date), 6)} - maxDate={addMonths(cloneDate(date), 6)} + minDate={subMonths(date, 6)} + maxDate={addMonths(date, 6)} /> ).instance(); monthYearDropdownOptionsInstance.handleClickOutside(); @@ -126,8 +127,9 @@ describe("MonthYearDropdown", () => { }); it("should use dateFormat to display date in dropdown", () => { + registerLocale("fi", fi); let dropdownDateFormat = getMonthYearDropdown({ - dateFormat: "MMMM YYYY" + dateFormat: "LLLL yyyy" }); expect(dropdownDateFormat.text()).to.eq("January 2018"); @@ -138,19 +140,19 @@ describe("MonthYearDropdown", () => { dropdownDateFormat = getMonthYearDropdown({ locale: "fi", - showMonthYearDropwdown: true + showMonthYearDropdown: true }); expect(dropdownDateFormat.text()).to.eq("tammikuu 2018"); dropdownDateFormat = getMonthYearDropdown({ - dateFormat: "YYYY MMM", + dateFormat: "yyyy LLL", locale: "fi" }); expect(dropdownDateFormat.text()).to.eq("2018 tammi"); dropdownDateFormat = getMonthYearDropdown({ - dateFormat: "YYYY MMM", + dateFormat: "yyyy LLL", locale: "fi", - showMonthYearDropwdown: true + showMonthYearDropdown: true }); expect(dropdownDateFormat.text()).to.eq("2018 tammi"); }); @@ -159,7 +161,7 @@ describe("MonthYearDropdown", () => { describe("select mode", () => { it("renders a select", () => { const expected_date = newDate("2018-01"); - const currentMonth = newDate("2017-07"); + let currentMonth = newDate("2017-07"); const maxMonth = newDate("2018-06"); const expected_values = []; @@ -167,7 +169,7 @@ describe("MonthYearDropdown", () => { while (!isAfter(currentMonth, maxMonth)) { expected_values.push(currentMonth.valueOf()); - addMonths(currentMonth, 1); + currentMonth = addMonths(currentMonth, 1); } monthYearDropdown = getMonthYearDropdown({ dropdownMode: "select" }); @@ -201,6 +203,7 @@ describe("MonthYearDropdown", () => { }); it("renders month options with specified locale", () => { + registerLocale("fi", fi); monthYearDropdown = getMonthYearDropdown({ dropdownMode: "select", locale: "fi" diff --git a/test/multi_month_test.js b/test/multi_month_test.js index f4f0fb213..f090e9d71 100644 --- a/test/multi_month_test.js +++ b/test/multi_month_test.js @@ -5,7 +5,7 @@ import YearDropdown from "../src/year_dropdown"; import { shallow } from "enzyme"; describe("Multi month calendar", function() { - var dateFormat = "MMMM YYYY"; + var dateFormat = "LLLL yyyy"; function getCalendar(extraProps) { return shallow( diff --git a/test/time_format_test.js b/test/time_format_test.js index 3749a42b2..9cfbf7fb6 100644 --- a/test/time_format_test.js +++ b/test/time_format_test.js @@ -1,7 +1,6 @@ import React from "react"; import { mount } from "enzyme"; import TimeComponent from "../src/time"; -import moment from "moment"; describe("TimeComponent", () => { let sandbox; @@ -10,7 +9,7 @@ describe("TimeComponent", () => { sandbox = sinon.sandbox.create(); // mock global time to June 14, 1990 13:28:12, so test results will be constant sandbox.useFakeTimers({ - now: moment("1990-06-14 13:28").valueOf(), + now: new Date("1990-06-14 13:28").valueOf(), toFake: ["Date"] }); }); @@ -48,14 +47,14 @@ describe("TimeComponent", () => { it("should call calcCenterPosition with centerLi ref, closest to the selected time", () => { mount( - + ); expect(spy.args[0][1].innerHTML).to.eq("08:00"); }); it("should call calcCenterPosition with centerLi ref, which is selected", () => { mount( - + ); expect( spy.args[0][1].classList.contains( diff --git a/test/timepicker_test.js b/test/timepicker_test.js index 63274ed70..c487e9db9 100644 --- a/test/timepicker_test.js +++ b/test/timepicker_test.js @@ -1,52 +1,55 @@ -import React from "react"; -import DatePicker from "../src/index.jsx"; -import moment from "moment"; -import TestUtils from "react-dom/test-utils"; -import ReactDOM from "react-dom"; -import Time from "../src/time"; +import React from 'react'; +import DatePicker from '../src/index.jsx'; +import TestUtils from 'react-dom/test-utils'; +import ReactDOM from 'react-dom'; +import Time from '../src/time'; +import { newDate, formatDate } from '../src/date_utils'; -describe("TimePicker", () => { +describe('TimePicker', () => { let datePicker; let div; let onChangeMoment; beforeEach(() => { - div = document.createElement("div"); + div = document.createElement('div'); }); - it("should update on input time change", () => { - renderDatePicker("February 28, 2018 4:43 PM"); - expect(getInputString()).to.equal("February 28, 2018 4:43 PM"); - setManually("February 28, 2018 4:45 PM"); - expect(onChangeMoment.format("LLL")).to.equal("February 28, 2018 4:45 PM"); + it('should update on input time change', () => { + renderDatePicker('February 28, 2018 4:43 PM'); + expect(getInputString()).to.equal('February 28, 2018 4:43 PM'); + + setManually('February 28, 2018 4:45 PM'); + expect(formatDate(onChangeMoment, 'MMMM d, yyyy p')).to.equal( + 'February 28, 2018 4:45 PM' + ); }); - it("should allow time changes after input change", () => { - renderDatePicker("February 28, 2018 4:43 PM"); - setManually("February 28, 2018 4:45 PM"); + it('should allow time changes after input change', () => { + renderDatePicker('February 28, 2018 4:43 PM'); + setManually('February 28, 2018 4:45 PM'); TestUtils.Simulate.focus(ReactDOM.findDOMNode(datePicker.input)); const time = TestUtils.findRenderedComponentWithType(datePicker, Time); - const lis = TestUtils.scryRenderedDOMComponentsWithTag(time, "li"); - TestUtils.Simulate.click(lis[0]); - expect(getInputString()).to.equal("February 28, 2018 12:00 AM"); + const lis = TestUtils.scryRenderedDOMComponentsWithTag(time, 'li'); + TestUtils.Simulate.click(lis[1]); + expect(getInputString()).to.equal('February 28, 2018 12:30 AM'); }); - it("should allow for injected moment if input does not have focus", () => { - renderDatePicker("February 28, 2018 4:43 PM"); - setManually("February 28, 2018 4:45 PM"); + it('should allow for injected date if input does not have focus', () => { + renderDatePicker('February 28, 2018 4:43 PM'); + setManually('February 28, 2018 4:45 PM'); TestUtils.Simulate.blur(datePicker.input); - renderDatePicker("February 28, 2018 4:43 PM"); - expect(getInputString()).to.equal("February 28, 2018 4:43 PM"); + renderDatePicker('February 28, 2018 4:43 PM'); + expect(getInputString()).to.equal('February 28, 2018 4:43 PM'); }); - it("should not close datepicker after time clicked when shouldCloseOnSelect is false", () => { + it('should not close datepicker after time clicked when shouldCloseOnSelect is false', () => { var datePicker = TestUtils.renderIntoDocument( ); var dateInput = datePicker.input; TestUtils.Simulate.focus(ReactDOM.findDOMNode(dateInput)); const time = TestUtils.findRenderedComponentWithType(datePicker, Time); - const lis = TestUtils.scryRenderedDOMComponentsWithTag(time, "li"); + const lis = TestUtils.scryRenderedDOMComponentsWithTag(time, 'li'); TestUtils.Simulate.click(lis[0]); expect(datePicker.state.open).to.be.true; }); @@ -61,14 +64,14 @@ describe("TimePicker", () => { } function renderDatePicker(string) { - return renderDatePickerFor(moment(string, "LLL", true)); + return renderDatePickerFor(new Date(string)); } function renderDatePickerFor(selected) { datePicker = ReactDOM.render( { } function onChange(m) { - onChangeMoment = m; + onChangeMoment = newDate(m); renderDatePicker(m); } }); diff --git a/test/timezone_date_picker.jsx b/test/timezone_date_picker.jsx deleted file mode 100644 index 46edbf99a..000000000 --- a/test/timezone_date_picker.jsx +++ /dev/null @@ -1,34 +0,0 @@ -import React from "react"; -import DatePicker from "../src/index.jsx"; -import * as utils from "../src/date_utils"; - -class TimezoneDatePicker extends React.Component { - constructor(props) { - super(props); - this.state = { startDate: null, utcOffset: -4 }; - } - - handleChange(date) { - this.setState({ startDate: date }); - } - - render() { - var selected = - this.state.startDate && - utils.setUTCOffset( - utils.cloneDate(this.state.startDate), - this.state.utcOffset - ); - - return ( - - ); - } -} - -export default TimezoneDatePicker; diff --git a/test/week_test.js b/test/week_test.js index 4c49c6d37..353db1989 100644 --- a/test/week_test.js +++ b/test/week_test.js @@ -1,69 +1,69 @@ -import React from "react"; -import Week from "../src/week"; -import WeekNumber from "../src/week_number"; -import Day from "../src/day"; -import { shallow } from "enzyme"; -import sinon from "sinon"; -import * as utils from "../src/date_utils"; - -describe("Week", () => { - it("should have the week CSS class", () => { +import React from 'react'; +import Week from '../src/week'; +import WeekNumber from '../src/week_number'; +import Day from '../src/day'; +import { shallow } from 'enzyme'; +import sinon from 'sinon'; +import * as utils from '../src/date_utils'; + +describe('Week', () => { + it('should have the week CSS class', () => { const week = shallow(); - expect(week.hasClass("react-datepicker__week")).to.equal(true); + expect(week.hasClass('react-datepicker__week')).to.equal(true); }); - it("should render the days of the week", () => { - const weekStart = utils.getStartOfWeek(utils.newDate("2015-12-20")); + it('should render the days of the week', () => { + const weekStart = utils.getStartOfWeek(utils.newDate('2015-12-20')); const week = shallow(); const days = week.find(Day); expect(days.length).to.equal(7); days.forEach((day, offset) => { - const expectedDay = utils.addDays(utils.cloneDate(weekStart), offset); - assert(utils.isSameDay(day.prop("day"), expectedDay)); + const expectedDay = utils.addDays(weekStart, offset); + assert(utils.isSameDay(day.prop('day'), expectedDay)); }); const weekNumber = week.find(WeekNumber); expect(weekNumber.length).to.equal(0); }); - it("should render the week number", () => { - const weekStart = utils.getStartOfWeek(utils.newDate("2015-12-20")); + it('should render the week number', () => { + const weekStart = utils.getStartOfWeek(utils.newDate('2015-12-20')); const week = shallow(); const days = week.find(Day); expect(days.length).to.equal(7); days.forEach((day, offset) => { - const expectedDay = utils.addDays(utils.cloneDate(weekStart), offset); - assert(utils.isSameDay(day.prop("day"), expectedDay)); + const expectedDay = utils.addDays(weekStart, offset); + assert(utils.isSameDay(day.prop('day'), expectedDay)); }); const weekNumber = week.find(WeekNumber); expect(weekNumber.length).to.equal(1); }); - it("should call the provided onDayClick function", () => { + it('should call the provided onDayClick function', () => { let dayClicked = null; function onDayClick(day) { dayClicked = day; } - const weekStart = utils.newDate("2015-12-20"); + const weekStart = utils.newDate('2015-12-20'); const week = shallow(); const day = week.find(Day).at(0); - day.simulate("click"); - assert(utils.isSameDay(day.prop("day"), dayClicked)); + day.simulate('click'); + assert(utils.isSameDay(day.prop('day'), dayClicked)); }); - it("should call the provided onWeekSelect function and pass the first day of the week", () => { + it('should call the provided onWeekSelect function and pass the first day of the week', () => { let firstDayReceived = null; function onWeekClick(newFirstWeekDay) { firstDayReceived = newFirstWeekDay; } - const weekStart = utils.newDate("2015-12-20"); + const weekStart = utils.newDate('2015-12-20'); const setOpenSpy = sinon.spy(); const week = shallow( { /> ); const weekNumberElement = week.find(WeekNumber); - weekNumberElement.simulate("click"); - expect(utils.equals(firstDayReceived, weekStart)).to.be.true; + weekNumberElement.simulate('click'); + expect(utils.isEqual(firstDayReceived, weekStart)).to.be.true; }); - it("should call the provided onWeekSelect function and call the setopen function", () => { - const weekStart = utils.newDate("2015-12-20"); + it('should call the provided onWeekSelect function and call the setopen function', () => { + const weekStart = utils.newDate('2015-12-20'); const setOpenSpy = sinon.spy(); const week = shallow( @@ -93,12 +93,12 @@ describe("Week", () => { ); const weekNumberElement = week.find(WeekNumber); - weekNumberElement.simulate("click"); + weekNumberElement.simulate('click'); sinon.assert.calledOnce(setOpenSpy); }); it("should call the provided onWeekSelect function and not call the setopen function when 'shouldCloseOnSelect' is false", () => { - const weekStart = utils.newDate("2015-12-20"); + const weekStart = utils.newDate('2015-12-20'); const setOpenSpy = sinon.spy(); const week = shallow( @@ -112,18 +112,18 @@ describe("Week", () => { ); const weekNumberElement = week.find(WeekNumber); - weekNumberElement.simulate("click"); + weekNumberElement.simulate('click'); sinon.assert.notCalled(setOpenSpy); }); - it("should call the provided onWeekSelect function and pass the week number", () => { + it('should call the provided onWeekSelect function and pass the week number', () => { let weekNumberReceived = null; function onWeekClick(unused, newWeekNumber) { weekNumberReceived = newWeekNumber; } - const weekStart = utils.newDate("2015-12-20"); + const weekStart = utils.newDate('2015-12-20'); const realWeekNumber = utils.getWeek(weekStart); const week = shallow( { /> ); const weekNumberElement = week.find(WeekNumber); - weekNumberElement.simulate("click"); + weekNumberElement.simulate('click'); expect(weekNumberReceived).to.equal(realWeekNumber); }); - it("should set the week number with the provided formatWeekNumber function", () => { + it('should set the week number with the provided formatWeekNumber function', () => { let firstDayReceived = null; function weekNumberFormatter(newFirstWeekDay) { @@ -146,7 +146,7 @@ describe("Week", () => { return 9; } - const weekStart = utils.newDate("2015-12-20"); + const weekStart = utils.newDate('2015-12-20'); const week = shallow( { ); const weekNumberElement = week.find(WeekNumber); - expect(utils.equals(firstDayReceived, weekStart)).to.be.true; - expect(weekNumberElement.prop("weekNumber")).to.equal(9); + expect(utils.isEqual(firstDayReceived, weekStart)).to.be.true; + expect(weekNumberElement.prop('weekNumber')).to.equal(9); }); - it("should call the provided onDayMouseEnter function", () => { + it('should call the provided onDayMouseEnter function', () => { let dayMouseEntered = null; function onDayMouseEnter(day) { @@ -172,7 +172,7 @@ describe("Week", () => { ); const day = week.find(Day).first(); - day.simulate("mouseenter"); - assert(utils.isSameDay(day.prop("day"), dayMouseEntered)); + day.simulate('mouseenter'); + assert(utils.isSameDay(day.prop('day'), dayMouseEntered)); }); }); diff --git a/test/year_dropdown_options_test.js b/test/year_dropdown_options_test.js index deb0ff4a0..c785cdd20 100644 --- a/test/year_dropdown_options_test.js +++ b/test/year_dropdown_options_test.js @@ -1,7 +1,7 @@ import React from "react"; import YearDropdownOptions from "../src/year_dropdown_options.jsx"; import { mount, shallow } from "enzyme"; -import moment from "moment"; +import * as utils from "../src/date_utils"; describe("YearDropdownOptions", () => { let yearDropdown, handleChangeResult; @@ -155,34 +155,34 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { it("should generate years between minDate and maxDate if prop scrollableYearDropdown is true", () => { const onCancelSpy = sandbox.spy(); const onChangeSpy = sandbox.spy(); - const minDate = moment(); - const maxDate = moment().add(1, "year"); + const minDate = utils.newDate(); + const maxDate = utils.addYears(utils.newDate(), 1); const yearDropdown = shallow( ); expect(yearDropdown.state().yearsList.length).to.equal(2); - expect(yearDropdown.state().yearsList).to.contain(minDate.year()); - expect(yearDropdown.state().yearsList).to.contain(maxDate.year()); + expect(yearDropdown.state().yearsList).to.contain(utils.getYear(minDate)); + expect(yearDropdown.state().yearsList).to.contain(utils.getYear(maxDate)); }); it("should hide arrows to add years, if not between minDate and maxDate", () => { const onCancelSpy = sandbox.spy(); const onChangeSpy = sandbox.spy(); - const minDate = moment(); - const maxDate = moment().add(1, "year"); + const minDate = utils.newDate(); + const maxDate = utils.addYears(utils.newDate(), 1); const yearDropdown = mount( @@ -199,14 +199,14 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { it("should show arrows to add years, if actual years list contains years between minDate and maxDate", () => { const onCancelSpy = sandbox.spy(); const onChangeSpy = sandbox.spy(); - const minDate = moment().subtract(11, "y"); - const maxDate = moment().add(11, "y"); + const minDate = utils.subYears(utils.newDate(), 11); + const maxDate = utils.addYears(utils.newDate(), 11); const yearDropdown = mount( @@ -223,8 +223,10 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === minDate.year())).to.be.undefined; - expect(textContents.find(year => year === maxDate.year())).to.be.undefined; + expect(textContents.find(year => year === utils.getYear(minDate))).to.be + .undefined; + expect(textContents.find(year => year === utils.getYear(maxDate))).to.be + .undefined; yearDropdown .find(".react-datepicker__navigation--years-previous") @@ -233,8 +235,10 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === minDate.year())).to.be.defined; - expect(textContents.find(year => year === maxDate.year())).to.be.undefined; + expect(textContents.find(year => year === utils.getYear(minDate))).to.be + .defined; + expect(textContents.find(year => year === utils.getYear(maxDate))).to.be + .undefined; expect( yearDropdown.find(".react-datepicker__navigation--years-previous").length ).to.equal(0); @@ -245,20 +249,22 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { textContents = yearDropdown .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === minDate.year())).to.be.defined; - expect(textContents.find(year => year === maxDate.year())).to.be.defined; + expect(textContents.find(year => year === utils.getYear(minDate))).to.be + .defined; + expect(textContents.find(year => year === utils.getYear(maxDate))).to.be + .defined; }); it("should show arrows to add previous years, if actual years list does not contain minDate year, if only minDate is provided", () => { const onCancelSpy = sandbox.spy(); const onChangeSpy = sandbox.spy(); - const minDate = moment().subtract(11, "y"); + const minDate = utils.subYears(utils.newDate(), 11); const yearDropdown = mount( ); @@ -274,7 +280,8 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === minDate.year())).to.be.undefined; + expect(textContents.find(year => year === utils.getYear(minDate))).to.be + .undefined; yearDropdown .find(".react-datepicker__navigation--years-previous") @@ -283,7 +290,8 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { textContents = yearDropdown .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === minDate.year())).to.be.defined; + expect(textContents.find(year => year === utils.getYear(minDate))).to.be + .defined; expect( yearDropdown.find(".react-datepicker__navigation--years-upcoming").length ).to.equal(1); @@ -295,13 +303,13 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { it("should show arrows to add upcoming years, if actual years list does not contain maxDate year, if only maxDate is provided", () => { const onCancelSpy = sandbox.spy(); const onChangeSpy = sandbox.spy(); - const maxDate = moment().add(11, "y"); + const maxDate = utils.addYears(utils.newDate(), 11); const yearDropdown = mount( ); @@ -317,7 +325,8 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === maxDate.year())).to.be.undefined; + expect(textContents.find(year => year === utils.getYear(maxDate))).to.be + .undefined; yearDropdown .find(".react-datepicker__navigation--years-upcoming") @@ -327,7 +336,8 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === maxDate.year())).to.be.defined; + expect(textContents.find(year => year === utils.getYear(maxDate))).to.be + .defined; expect( yearDropdown.find(".react-datepicker__navigation--years-upcoming").length ).to.equal(0); diff --git a/webpack.config.js b/webpack.config.js index fe4871292..9b5151d88 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -36,14 +36,6 @@ module.exports = { amd: "react" } }, - { - moment: { - root: "moment", - commonjs2: "moment", - commonjs: "moment", - amd: "moment" - } - }, { "react-onclickoutside": { root: "onClickOutside",
{` @@ -29,9 +28,10 @@ export default class OpenToDate extends React.Component { + onChange={this.handleChange} + /> ); diff --git a/docs-site/src/examples/portal.jsx b/docs-site/src/examples/portal.jsx index 0953db9f5..cf9b06108 100644 --- a/docs-site/src/examples/portal.jsx +++ b/docs-site/src/examples/portal.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class WithPortal extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class WithPortal extends React.Component { + withPortal + /> ); diff --git a/docs-site/src/examples/raw_change.jsx b/docs-site/src/examples/raw_change.jsx index bc7672941..6ecf9ccb5 100644 --- a/docs-site/src/examples/raw_change.jsx +++ b/docs-site/src/examples/raw_change.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addDays from "date-fns/addDays"; export default class RawChanges extends React.Component { state = { @@ -15,7 +15,7 @@ export default class RawChanges extends React.Component { handleChangeRaw = value => { if (value === "tomorrow") { - this.handleChange(moment().add(1, "day")); + this.handleChange(addDays(new Date(), 1)); } }; @@ -27,7 +27,7 @@ export default class RawChanges extends React.Component { {` handleChangeRaw(value) { if(value === "tomorrow") { - const tomorrow = moment().add(1, "day") + const tomorrow = addDays(new Date(), 1) this.handleChange(tomorrow) } } @@ -46,7 +46,8 @@ handleChangeRaw(value) { selected={this.state.startDate} onChange={this.handleChange} placeholderText="Enter "tomorrow"" - onChangeRaw={event => this.handleChangeRaw(event.target.value)}/> + onChangeRaw={event => this.handleChangeRaw(event.target.value)} + /> ); diff --git a/docs-site/src/examples/render_custom_header.jsx b/docs-site/src/examples/render_custom_header.jsx index 2f4977940..3f1733ef6 100644 --- a/docs-site/src/examples/render_custom_header.jsx +++ b/docs-site/src/examples/render_custom_header.jsx @@ -1,16 +1,30 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; import range from "lodash/range"; +import getYear from "date-fns/getYear"; +import getMonth from "date-fns/getMonth"; -const years = range(1990, moment().year() + 1, 1); -const months = moment.months(); +const years = range(1990, getYear(new Date()) + 1, 1); +const months = [ + "January", + "February", + "March", + "April", + "May", + "June", + "July", + "August", + "September", + "October", + "November", + "December" +]; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -67,7 +81,7 @@ export default class Default extends React.Component { {"<"} changeYear(value)} > {years.map(option => ( @@ -78,7 +92,7 @@ export default class Default extends React.Component { changeMonth(value)} > {months.map(option => ( diff --git a/docs-site/src/examples/show_time.jsx b/docs-site/src/examples/show_time.jsx index 7d42a8163..2ad43a216 100644 --- a/docs-site/src/examples/show_time.jsx +++ b/docs-site/src/examples/show_time.jsx @@ -1,12 +1,11 @@ -import React from "react"; -import DatePicker from "react-datepicker"; -import moment from "moment"; +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class ShowTime extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -29,7 +28,7 @@ export default class ShowTime extends React.Component { {` showTimeSelect timeFormat="HH:mm" timeIntervals={15} - dateFormat="LLL" + dateFormat="MMMM d, yyyy h:mm aa" timeCaption="time" /> `} @@ -43,7 +42,8 @@ export default class ShowTime extends React.Component { timeFormat="HH:mm" timeIntervals={15} timeCaption="time" - dateFormat="LLL"/> + dateFormat="MMMM d, yyyy h:mm aa" + /> ); diff --git a/docs-site/src/examples/show_time_only.jsx b/docs-site/src/examples/show_time_only.jsx index 1fce677d1..3078494ba 100644 --- a/docs-site/src/examples/show_time_only.jsx +++ b/docs-site/src/examples/show_time_only.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class ShowTimeOnly extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -29,7 +28,7 @@ export default class ShowTimeOnly extends React.Component { {` showTimeSelect showTimeSelectOnly timeIntervals={15} - dateFormat="LT" + dateFormat="h:mm aa" timeCaption="Time" /> `} @@ -43,7 +42,8 @@ export default class ShowTimeOnly extends React.Component { showTimeSelectOnly timeIntervals={15} timeCaption="Time" - dateFormat="LT"/> + dateFormat="h:mm aa" + /> ); diff --git a/docs-site/src/examples/specific_date_range.jsx b/docs-site/src/examples/specific_date_range.jsx index 2e5620179..f579e7cb3 100644 --- a/docs-site/src/examples/specific_date_range.jsx +++ b/docs-site/src/examples/specific_date_range.jsx @@ -1,6 +1,6 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; +import addDays from "date-fns/addDays"; export default class SpecificDateRange extends React.Component { state = { @@ -24,9 +24,9 @@ export default class SpecificDateRange extends React.Component { {" onChange={this.handleChange}"} - {" minDate={moment()}"} + {" minDate={new Date()}"} - {' maxDate={moment().add(5, "days")}'} + {" maxDate={addDays(new Date(), 5)}"} { ' placeholderText="Select a date between today and 5 days in the future"' @@ -39,9 +39,10 @@ export default class SpecificDateRange extends React.Component { + minDate={new Date()} + maxDate={addDays(new Date(), 5)} + placeholderText="Select a date between today and 5 days in the future" + /> ); diff --git a/docs-site/src/examples/tab_index.jsx b/docs-site/src/examples/tab_index.jsx index 0db450f7a..3da55544f 100644 --- a/docs-site/src/examples/tab_index.jsx +++ b/docs-site/src/examples/tab_index.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class TabIndex extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class TabIndex extends React.Component { + tabIndex={1} + /> ); diff --git a/docs-site/src/examples/timezone_date.jsx b/docs-site/src/examples/timezone_date.jsx deleted file mode 100644 index bf1e8cc20..000000000 --- a/docs-site/src/examples/timezone_date.jsx +++ /dev/null @@ -1,91 +0,0 @@ -import React from "react"; - -import DatePicker from "react-datepicker"; - -export default class TimeZoneDate extends React.Component { - state = { - startDate: null, - utcOffset: -4 - }; - - timezoneNames = [ - { name: "GMT+10", value: 10 }, - { name: "GMT+8", value: 8 }, - { name: "GMT+4", value: 4 }, - { name: "GMT+1", value: 1 }, - { name: "GMT", value: 0 }, - { name: "GMT-3", value: -3 }, - { name: "GMT-4", value: -4 }, - { name: "GMT-8", value: -8 }, - { name: "GMT-10", value: -10 } - ]; - - handleChange = date => { - this.setState({ - startDate: date - }); - }; - - handleTmzChange = event => { - this.setState({ - utcOffset: parseInt(event.target.value, 10) - }); - }; - - getOffsetLabel = tmz => { - const obj = this.timezoneNames.find(({ value }) => value === tmz); - return (obj && obj.name) || ""; - }; - - render() { - const selected = - this.state.startDate && - this.state.startDate.clone().utcOffset(this.state.utcOffset); - const utcText = this.getOffsetLabel(this.state.utcOffset); - const todayTxt = `Today in ${utcText}`; - - return ( - - - - {` - -`} - - - - - - - Timezone Offset: - - GMT+10:00 - GMT+08:00 - GMT+04:00 - GMT+01:00 - GMT - GMT-03:00 - GMT-04:00 - GMT-08:00 - GMT-10:00 - - - - - ); - } -} diff --git a/docs-site/src/examples/today.jsx b/docs-site/src/examples/today.jsx index 84aee3fac..72c73c8f3 100644 --- a/docs-site/src/examples/today.jsx +++ b/docs-site/src/examples/today.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Today extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class Today extends React.Component { + onChange={this.handleChange} + /> ); diff --git a/docs-site/src/examples/week_numbers.jsx b/docs-site/src/examples/week_numbers.jsx index 80528057a..a31f0306e 100644 --- a/docs-site/src/examples/week_numbers.jsx +++ b/docs-site/src/examples/week_numbers.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class Default extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -34,7 +33,8 @@ export default class Default extends React.Component { + showWeekNumbers + /> ); diff --git a/docs-site/src/examples/year_dropdown.jsx b/docs-site/src/examples/year_dropdown.jsx index 26a7a6f78..29782ee74 100644 --- a/docs-site/src/examples/year_dropdown.jsx +++ b/docs-site/src/examples/year_dropdown.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class YearDropdown extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -40,7 +39,8 @@ export default class YearDropdown extends React.Component { showYearDropdown dateFormatCalendar="MMMM" yearDropdownItemNumber={15} - scrollableYearDropdown/> + scrollableYearDropdown + /> ); diff --git a/docs-site/src/examples/year_select_dropdown.jsx b/docs-site/src/examples/year_select_dropdown.jsx index bdb17af35..f6d071a6b 100644 --- a/docs-site/src/examples/year_select_dropdown.jsx +++ b/docs-site/src/examples/year_select_dropdown.jsx @@ -1,12 +1,11 @@ import React from "react"; import DatePicker from "react-datepicker"; -import moment from "moment"; export default class YearDropdown extends React.Component { constructor(props) { super(props); this.state = { - startDate: moment() + startDate: new Date() }; } @@ -40,7 +39,8 @@ export default class YearDropdown extends React.Component { peekNextMonth showMonthDropdown showYearDropdown - dropdownMode="select"/> + dropdownMode="select" + /> ); diff --git a/docs-site/src/hero_example.jsx b/docs-site/src/hero_example.jsx index 31b3361be..9422e7884 100644 --- a/docs-site/src/hero_example.jsx +++ b/docs-site/src/hero_example.jsx @@ -1,25 +1,27 @@ -import React from 'react' -import DatePicker from 'react-datepicker' -import moment from 'moment' +import React from 'react'; +import DatePicker from 'react-datepicker'; export default class HeroExample extends React.Component { - constructor (props) { - super(props) + constructor(props) { + super(props); this.state = { - startDate: moment() - } + startDate: new Date() + }; } - handleChange = (date) => { + handleChange = date => { this.setState({ startDate: date - }) - } + }); + }; - render () { - return + render() { + return ( + + ); } } diff --git a/docs-site/style.css b/docs-site/style.css index c347072a8..52e8dc58d 100644 --- a/docs-site/style.css +++ b/docs-site/style.css @@ -1,19 +1,19 @@ -.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, -.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow, .react-datepicker__month-read-view--down-arrow, .react-datepicker__month-year-read-view--down-arrow { margin-left: -8px; position: absolute; } -.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, -.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow, .react-datepicker__month-read-view--down-arrow, .react-datepicker__month-year-read-view--down-arrow, -.react-datepicker-popper[data-placement^="bottom"] +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle::before, -.react-datepicker-popper[data-placement^="top"] +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before, .react-datepicker__month-read-view--down-arrow::before, @@ -24,48 +24,48 @@ height: 0; width: 1px; } -.react-datepicker-popper[data-placement^="bottom"] +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle::before, -.react-datepicker-popper[data-placement^="top"] +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before, .react-datepicker__month-read-view--down-arrow::before, .react-datepicker__month-year-read-view--down-arrow::before { - content: ""; + content: ''; z-index: -1; border-width: 8px; left: -8px; border-bottom-color: #aeaeae; } -.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle { +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle { top: 0; margin-top: -8px; } -.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, -.react-datepicker-popper[data-placement^="bottom"] +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle::before { border-top: none; border-bottom-color: #f0f0f0; } -.react-datepicker-popper[data-placement^="bottom"] +.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle::before { top: -1px; border-bottom-color: #aeaeae; } -.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow, .react-datepicker__month-read-view--down-arrow, .react-datepicker__month-year-read-view--down-arrow { bottom: 0; margin-bottom: -8px; } -.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow, .react-datepicker__month-read-view--down-arrow, .react-datepicker__month-year-read-view--down-arrow, -.react-datepicker-popper[data-placement^="top"] +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before, .react-datepicker__month-read-view--down-arrow::before, @@ -73,7 +73,7 @@ border-bottom: none; border-top-color: #fff; } -.react-datepicker-popper[data-placement^="top"] +.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before, .react-datepicker__month-read-view--down-arrow::before, @@ -87,7 +87,7 @@ } .react-datepicker { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 0.8rem; background-color: #fff; color: #000; @@ -121,23 +121,23 @@ .react-datepicker-popper { z-index: 1; } -.react-datepicker-popper[data-placement^="bottom"] { +.react-datepicker-popper[data-placement^='bottom'] { margin-top: 10px; } -.react-datepicker-popper[data-placement^="top"] { +.react-datepicker-popper[data-placement^='top'] { margin-bottom: 10px; } -.react-datepicker-popper[data-placement^="right"] { +.react-datepicker-popper[data-placement^='right'] { margin-left: 8px; } -.react-datepicker-popper[data-placement^="right"] .react-datepicker__triangle { +.react-datepicker-popper[data-placement^='right'] .react-datepicker__triangle { left: auto; right: 42px; } -.react-datepicker-popper[data-placement^="left"] { +.react-datepicker-popper[data-placement^='left'] { margin-right: 8px; } -.react-datepicker-popper[data-placement^="left"] .react-datepicker__triangle { +.react-datepicker-popper[data-placement^='left'] .react-datepicker__triangle { left: 42px; right: auto; } @@ -571,7 +571,7 @@ bottom: 0; box-sizing: border-box; color: #fff; - content: "\D7"; + content: '\D7'; cursor: pointer; font-size: 12px; height: 16px; @@ -770,7 +770,7 @@ q:before, q:after, blockquote:before, blockquote:after { - content: ""; + content: ''; content: none; } @@ -1068,10 +1068,6 @@ github.com style (c) Vasily Polovnyov color: #fff; } -.example__timezone-selector { - margin-left: 10px; -} - .hero__content, .wrapper { max-width: 1100px; @@ -1083,7 +1079,7 @@ body { height: 100%; width: 100%; background: #f5f5f5; - font-family: "Open Sans", sans-serif; + font-family: 'Open Sans', sans-serif; color: #555; font-size: 14px; line-height: 21px; @@ -1132,7 +1128,7 @@ code { font-size: 85%; background-color: #e8e7e7; border-radius: 3px; - font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; + font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; } strong { diff --git a/docs/datepicker.md b/docs/datepicker.md index 3232af566..e4d30d9b8 100644 --- a/docs/datepicker.md +++ b/docs/datepicker.md @@ -19,7 +19,7 @@ General datepicker component. | `disabled` | `bool` | `false` | | | `disabledKeyboardNavigation` | `bool` | `false` | | | `dropdownMode` (required) | `enum('scroll'\|'select')` | `'scroll'` | | -| `endDate` | `object` | | | +| `endDate` | `instanceOf(Date)` | | | | `excludeDates` | `array` | | | | `excludeTimes` | `array` | | | | `filterDate` | `func` | | | @@ -34,10 +34,10 @@ General datepicker component. | `inline` | `bool` | | | | `isClearable` | `bool` | | | | `locale` | `string` | | | -| `maxDate` | `object` | | | -| `maxTime` | `object` | | | -| `minDate` | `object` | | | -| `minTime` | `object` | | | +| `maxDate` | `instanceOf(Date)` | | | +| `maxTime` | `instanceOf(Date)` | | | +| `minDate` | `instanceOf(Date)` | | | +| `minTime` | `instanceOf(Date)` | | | | `monthsShown` | `number` | `1` | | | `name` | `string` | | | | `onBlur` | `func` | `function() {}` | | @@ -50,7 +50,7 @@ General datepicker component. | `onYearChange` | `func` | `function() {}` | | | `onSelect` | `func` | `function() {}` | | | `onWeekSelect` | `func` | | | -| `openToDate` | `object` | | | +| `openToDate` | `instanceOf(Date)` | | | | `peekNextMonth` | `bool` | | | | `placeholderText` | `string` | | | | `popperClassName` | `string` | | | @@ -60,7 +60,7 @@ General datepicker component. | `readOnly` | `bool` | | | | `required` | `bool` | | | | `scrollableYearDropdown` | `bool` | | | -| `selected` | `object` | | | +| `selected` | `instanceOf(Date)` | | | | `selectsEnd` | `bool` | | | | `selectsStart` | `bool` | | | | `shouldCloseOnSelect` | `bool` | `true` | | @@ -68,7 +68,7 @@ General datepicker component. | `showTimeSelect` | `bool` | `false` | | | `showWeekNumbers` | `bool` | | | | `showYearDropdown` | `bool` | | | -| `startDate` | `object` | | | +| `startDate` | `instanceOf(Date)` | | | | `startOpen` | `bool` | | | | `tabIndex` | `number` | | | | `timeFormat` | `string` | | | diff --git a/docs/index.md b/docs/index.md index 3325cfe72..0c5100986 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,73 +1,98 @@ # `index` (component) -| name | type | default value | description | -| ---------------------------- | ------------------------------ | ------------------ | ----------- | -| `adjustDateOnChange` | `bool` | | | -| `allowSameDay` | `bool` | `false` | | -| `autoComplete` | `string` | | | -| `autoFocus` | `bool` | | | -| `calendarClassName` | `string` | | | -| `calendarContainer` | `func` | | | -| `children` | `node` | | | -| `className` | `string` | | | -| `clearButtonTitle` | `string` | | | -| `customInput` | `element` | | | -| `customInputRef` | `string` | | | -| `dateFormat` | `union(string\|array)` | `"L"` | | -| `dateFormatCalendar` | `string` | `"MMMM YYYY"` | | -| `dayClassName` | `func` | | | -| `disabled` | `bool` | `false` | | -| `disabledKeyboardNavigation` | `bool` | `false` | | -| `dropdownMode` | `enum("scroll"\|"select")` | `"scroll"` | | -| `endDate` | `object` | | | -| `excludeDates` | `array` | | | -| `excludeTimes` | `array` | | | -| `filterDate` | `func` | | | -| `fixedHeight` | `bool` | | | -| `forceShowMonthNavigation` | `bool` | | | -| `formatWeekDay` | `func` | | | -| `formatWeekNumber` | `func` | | | -| `highlightDates` | `array` | | | -| `id` | `string` | | | -| `includeDates` | `array` | | | -| `includeTimes` | `array` | | | -| `injectTimes` | `array` | | | -| `inline` | `bool` | | | -| `isClearable` | `bool` | | | -| `locale` | `string` | | | -| `maxDate` | `object` | | | -| `maxTime` | `object` | | | -| `minDate` | `object` | | | -| `minTime` | `object` | | | -| `monthsShown` | `number` | `1` | | -| `name` | `string` | | | -| `nextMonthButtonLabel` | `string` | `"Next month"` | | -| `onBlur` | `func` | `function() {}` | | -| `onChange` | `func` | `function() {}` | | -| `onChangeRaw` | `func` | | | -| `onClickOutside` | `func` | `function() {}` | | -| `onFocus` | `func` | `function() {}` | | -| `onInputClick` | `func` | `function() {}` | | -| `onInputError` | `func` | `function() {}` | | -| `onKeyDown` | `func` | `function() {}` | | -| `onMonthChange` | `func` | `function() {}` | | -| `onSelect` | `func` | `function() {}` | | -| `onWeekSelect` | `func` | | | -| `onYearChange` | `func` | `function() {}` | | -| `open` | `bool` | | | -| `openToDate` | `object` | | | -| `peekNextMonth` | `bool` | | | -| `placeholderText` | `string` | | | -| `popperClassName` | `string` | | | -| `popperContainer` | `func` | | | -| `popperModifiers` | `object` | | | -| `popperPlacement` | `enumpopperPlacementPositions` | | | -| `popperProps` | `object` | | | -| `preventOpenOnFocus` | `bool` | `false` | | -| `previousMonthButtonLabel` | `string` | `"Previous Month"` | | -| `readOnly` | `bool` | `false` | | -| `renderCustomHeader` | `func` | | | -| `renderDayContents` | `func` | `function(date) { | +General datepicker component. -return date; -}`|| |`required`|`bool`||| |`scrollableMonthYearDropdown`|`bool`||| |`scrollableYearDropdown`|`bool`||| |`selected`|`object`||| |`selectsEnd`|`bool`||| |`selectsStart`|`bool`||| |`shouldCloseOnSelect`|`bool`|`true`|| |`showDisabledMonthNavigation`|`bool`||| |`showMonthDropdown`|`bool`||| |`showMonthYearDropdown`|`bool`||| |`showTimeSelect`|`bool`|`false`|| |`showTimeSelectOnly`|`bool`||| |`showWeekNumbers`|`bool`||| |`showYearDropdown`|`bool`||| |`startDate`|`object`||| |`startOpen`|`bool`||| |`tabIndex`|`number`||| |`timeCaption`|`string`|`"Time"`|| |`timeFormat`|`string`||| |`timeIntervals`|`number`|`30`|| |`title`|`string`||| |`todayButton`|`node`||| |`useShortMonthInDropdown`|`bool`||| |`useWeekdaysShort`|`bool`||| |`utcOffset`|`union(number\|string)`||| |`value`|`string`||| |`weekLabel`|`string`||| |`withPortal`|`bool`|`false`|| |`yearDropdownItemNumber`|`number`||| +| name | type | default value | description | +| ----------------------------- | ------------------------------ | ------------------ | ----------- | +| `adjustDateOnChange` | `bool` | | | +| `allowSameDay` | `bool` | `false` | | +| `autoComplete` | `string` | | | +| `autoFocus` | `bool` | | | +| `calendarClassName` | `string` | | | +| `calendarContainer` | `func` | | | +| `children` | `node` | | | +| `className` | `string` | | | +| `clearButtonTitle` | `string` | | | +| `customInput` | `element` | | | +| `customInputRef` | `string` | | | +| `dateFormat` | `union(string\|array)` | `"L"` | | +| `dateFormatCalendar` | `string` | `"MMMM YYYY"` | | +| `dayClassName` | `func` | | | +| `disabled` | `bool` | `false` | | +| `disabledKeyboardNavigation` | `bool` | `false` | | +| `dropdownMode` | `enum("scroll"\|"select")` | `"scroll"` | | +| `endDate` | `instanceOf(Date)` | | | +| `excludeDates` | `array` | | | +| `excludeTimes` | `array` | | | +| `filterDate` | `func` | | | +| `fixedHeight` | `bool` | | | +| `forceShowMonthNavigation` | `bool` | | | +| `formatWeekDay` | `func` | | | +| `formatWeekNumber` | `func` | | | +| `highlightDates` | `array` | | | +| `id` | `string` | | | +| `includeDates` | `array` | | | +| `includeTimes` | `array` | | | +| `injectTimes` | `array` | | | +| `inline` | `bool` | | | +| `isClearable` | `bool` | | | +| `locale` | `string` | | | +| `maxDate` | `instanceOf(Date)` | | | +| `maxTime` | `instanceOf(Date)` | | | +| `minDate` | `instanceOf(Date)` | | | +| `minTime` | `instanceOf(Date)` | | | +| `monthsShown` | `number` | `1` | | +| `name` | `string` | | | +| `nextMonthButtonLabel` | `string` | `"Next month"` | | +| `onBlur` | `func` | `function() {}` | | +| `onChange` | `func` | `function() {}` | | +| `onChangeRaw` | `func` | | | +| `onClickOutside` | `func` | `function() {}` | | +| `onFocus` | `func` | `function() {}` | | +| `onInputClick` | `func` | `function() {}` | | +| `onKeyDown` | `func` | `function() {}` | | +| `onMonthChange` | `func` | `function() {}` | | +| `onSelect` | `func` | `function() {}` | | +| `onWeekSelect` | `func` | | | +| `onYearChange` | `func` | `function() {}` | | +| `open` | `bool` | | | +| `openToDate` | `instanceOf(Date)` | | | +| `peekNextMonth` | `bool` | | | +| `placeholderText` | `string` | | | +| `popperClassName` | `string` | | | +| `popperContainer` | `func` | | | +| `popperModifiers` | `object` | | | +| `popperPlacement` | `enumpopperPlacementPositions` | | | +| `preventOpenOnFocus` | `bool` | `false` | | +| `previousMonthButtonLabel` | `string` | `"Previous Month"` | | +| `readOnly` | `bool` | `false` | | +| `renderCustomHeader` | `func` | | | +| `required` | `bool` | | | +| `scrollableMonthYearDropdown` | `bool` | | | +| `scrollableYearDropdown` | `bool` | | | +| `selected` | `instanceOf(Date)` | | | +| `selectsEnd` | `bool` | | | +| `selectsStart` | `bool` | | | +| `shouldCloseOnSelect` | `bool` | `true` | | +| `showDisabledMonthNavigation` | `bool` | | | +| `showMonthDropdown` | `bool` | | | +| `showMonthYearDropdown` | `bool` | | | +| `showTimeSelect` | `bool` | `false` | | +| `showTimeSelectOnly` | `bool` | | | +| `showWeekNumbers` | `bool` | | | +| `showYearDropdown` | `bool` | | | +| `startDate` | `instanceOf(Date)` | | | +| `startOpen` | `bool` | | | +| `tabIndex` | `number` | | | +| `timeCaption` | `string` | `"Time"` | | +| `timeFormat` | `string` | | | +| `timeIntervals` | `number` | `30` | | +| `title` | `string` | | | +| `todayButton` | `node` | | | +| `useShortMonthInDropdown` | `bool` | | | +| `useWeekdaysShort` | `bool` | | | +| `utcOffset` | `union(number\|string)` | | | +| `value` | `string` | | | +| `weekLabel` | `string` | | | +| `withPortal` | `bool` | `false` | | +| `yearDropdownItemNumber` | `number` | | | diff --git a/docs/month_year_dropdown.md b/docs/month_year_dropdown.md index ddf33feaf..305bf49fa 100644 --- a/docs/month_year_dropdown.md +++ b/docs/month_year_dropdown.md @@ -2,11 +2,11 @@ | name | type | default value | description | | ----------------------------- | -------------------------- | ------------- | ----------- | -| `date` (required) | `object` | | | +| `date` (required) | `instanceOf(Date)` | | | | `dateFormat` (required) | `string` | | | | `dropdownMode` (required) | `enum("scroll"\|"select")` | | | | `locale` | `string` | | | -| `maxDate` (required) | `object` | | | -| `minDate` (required) | `object` | | | +| `maxDate` (required) | `instanceOf(Date)` | | | +| `minDate` (required) | `instanceOf(Date)` | | | | `onChange` (required) | `func` | | | | `scrollableMonthYearDropdown` | `bool` | | | diff --git a/docs/month_year_dropdown_options.md b/docs/month_year_dropdown_options.md index ba890876d..8b1370d9f 100644 --- a/docs/month_year_dropdown_options.md +++ b/docs/month_year_dropdown_options.md @@ -1,11 +1,11 @@ # `month_year_dropdown_options` (component) -| name | type | default value | description | -| ----------------------------- | -------- | ------------- | ----------- | -| `date` (required) | `object` | | | -| `dateFormat` (required) | `string` | | | -| `maxDate` (required) | `object` | | | -| `minDate` (required) | `object` | | | -| `onCancel` (required) | `func` | | | -| `onChange` (required) | `func` | | | -| `scrollableMonthYearDropdown` | `bool` | | | +| name | type | default value | description | +| ----------------------------- | ------------------ | ------------- | ----------- | +| `date` (required) | `instanceOf(Date)` | | | +| `dateFormat` (required) | `string` | | | +| `maxDate` (required) | `instanceOf(Date)` | | | +| `minDate` (required) | `instanceOf(Date)` | | | +| `onCancel` (required) | `func` | | | +| `onChange` (required) | `func` | | | +| `scrollableMonthYearDropdown` | `bool` | | | diff --git a/docs/time.md b/docs/time.md index e1b7ebda2..2fb850f4b 100644 --- a/docs/time.md +++ b/docs/time.md @@ -1,17 +1,17 @@ # `time` (component) -| name | type | default value | description | -| -------------- | -------- | ------------- | ----------- | -| `excludeTimes` | `array` | | | -| `format` | `string` | | | -| `includeTimes` | `array` | | | -| `injectTimes` | `array` | | | -| `intervals` | `number` | `30` | | -| `maxTime` | `object` | | | -| `minTime` | `object` | | | -| `monthRef` | `object` | | | -| `onChange` | `func` | | | -| `onTimeChange` | | `() => {}` | | -| `selected` | `object` | | | -| `timeCaption` | `string` | `"Time"` | | -| `todayButton` | `node` | `null` | | +| name | type | default value | description | +| -------------- | ------------------ | ------------- | ----------- | +| `excludeTimes` | `array` | | | +| `format` | `string` | | | +| `includeTimes` | `array` | | | +| `injectTimes` | `array` | | | +| `intervals` | `number` | `30` | | +| `maxTime` | `instanceOf(Date)` | | | +| `minTime` | `instanceOf(Date)` | | | +| `monthRef` | `object` | | | +| `onChange` | `func` | | | +| `onTimeChange` | | `() => {}` | | +| `selected` | `instanceOf(Date)` | | | +| `timeCaption` | `string` | `"Time"` | | +| `todayButton` | `node` | `null` | | diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 000000000..b6d14a941 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,13523 @@ +{ + "name": "react-datepicker", + "version": "1.6.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@babel/code-frame": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.44.tgz", + "integrity": "sha512-cuAuTTIQ9RqcFRJ/Y8PvTh+paepNcaGxwQwjIDRWPXmzzyAeCO4KqS9ikMvq0MCbRk6GlYKwfzStrcP3/jSL8g==", + "dev": true, + "requires": { + "@babel/highlight": "7.0.0-beta.44" + } + }, + "@babel/generator": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.44.tgz", + "integrity": "sha512-5xVb7hlhjGcdkKpMXgicAVgx8syK5VJz193k0i/0sLP6DzE6lRrU1K3B/rFefgdo9LPGMAOOOAWW4jycj07ShQ==", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.44", + "jsesc": "2.5.1", + "lodash": "4.17.11", + "source-map": "0.5.7", + "trim-right": "1.0.1" + }, + "dependencies": { + "jsesc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.1.tgz", + "integrity": "sha1-5CGiqOINawgZ3yiQj3glJrlt0f4=", + "dev": true + } + } + }, + "@babel/helper-function-name": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.44.tgz", + "integrity": "sha512-MHRG2qZMKMFaBavX0LWpfZ2e+hLloT++N7rfM3DYOMUOGCD8cVjqZpwiL8a0bOX3IYcQev1ruciT0gdFFRTxzg==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "7.0.0-beta.44", + "@babel/template": "7.0.0-beta.44", + "@babel/types": "7.0.0-beta.44" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.44.tgz", + "integrity": "sha512-w0YjWVwrM2HwP6/H3sEgrSQdkCaxppqFeJtAnB23pRiJB5E/O9Yp7JAAeWBl+gGEgmBFinnTyOv2RN7rcSmMiw==", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.44" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.44.tgz", + "integrity": "sha512-aQ7QowtkgKKzPGf0j6u77kBMdUFVBKNHw2p/3HX/POt5/oz8ec5cs0GwlgM8Hz7ui5EwJnzyfRmkNF1Nx1N7aA==", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.44" + } + }, + "@babel/highlight": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.44.tgz", + "integrity": "sha512-Il19yJvy7vMFm8AVAh6OZzaFoAd0hbkeMZiX3P5HGD+z7dyI7RzndHB0dg6Urh/VAFfHtpOIzDUSxmY6coyZWQ==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "esutils": "2.0.2", + "js-tokens": "3.0.2" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "@babel/template": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.44.tgz", + "integrity": "sha512-w750Sloq0UNifLx1rUqwfbnC6uSUk0mfwwgGRfdLiaUzfAOiH0tHJE6ILQIUi3KYkjiCDTskoIsnfqZvWLBDng==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.44", + "@babel/types": "7.0.0-beta.44", + "babylon": "7.0.0-beta.44", + "lodash": "4.17.11" + }, + "dependencies": { + "babylon": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.44.tgz", + "integrity": "sha512-5Hlm13BJVAioCHpImtFqNOF2H3ieTOHd0fmFGMxOJ9jgeFqeAwsv3u5P5cR7CSeFrkgHsT19DgFJkHV0/Mcd8g==", + "dev": true + } + } + }, + "@babel/traverse": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.44.tgz", + "integrity": "sha512-UHuDz8ukQkJCDASKHf+oDt3FVUzFd+QYfuBIsiNu/4+/ix6pP/C+uQZJ6K1oEfbCMv/IKWbgDEh7fcsnIE5AtA==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.44", + "@babel/generator": "7.0.0-beta.44", + "@babel/helper-function-name": "7.0.0-beta.44", + "@babel/helper-split-export-declaration": "7.0.0-beta.44", + "@babel/types": "7.0.0-beta.44", + "babylon": "7.0.0-beta.44", + "debug": "3.2.5", + "globals": "11.7.0", + "invariant": "2.2.4", + "lodash": "4.17.11" + }, + "dependencies": { + "babylon": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.44.tgz", + "integrity": "sha512-5Hlm13BJVAioCHpImtFqNOF2H3ieTOHd0fmFGMxOJ9jgeFqeAwsv3u5P5cR7CSeFrkgHsT19DgFJkHV0/Mcd8g==", + "dev": true + }, + "debug": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.5.tgz", + "integrity": "sha512-D61LaDQPQkxJ5AUM2mbSJRbPkNs/TmdmOeLAi1hgDkpDfIfetSrjmWhccwtuResSwMbACjx/xXQofvM9CE/aeg==", + "dev": true, + "requires": { + "ms": "2.1.1" + } + }, + "globals": { + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.7.0.tgz", + "integrity": "sha512-K8BNSPySfeShBQXsahYB/AbbWruVOTyVpgoIDnl8odPpeSfP2J5QO2oLFFdl2j7GfDCtZj2bMKar2T49itTPCg==", + "dev": true + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + } + } + }, + "@babel/types": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.44.tgz", + "integrity": "sha512-5eTV4WRmqbaFM3v9gHAIljEQJU4Ssc6fxL61JN+Oe2ga/BwyjzjamwkCVVAQjHGuAX8i0BWo42dshL8eO5KfLQ==", + "dev": true, + "requires": { + "esutils": "2.0.2", + "lodash": "4.17.11", + "to-fast-properties": "2.0.0" + }, + "dependencies": { + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + } + } + }, + "@sinonjs/formatio": { + "version": "2.0.0", + "resolved": "http://registry.npmjs.org/@sinonjs/formatio/-/formatio-2.0.0.tgz", + "integrity": "sha512-ls6CAMA6/5gG+O/IdsBcblvnd8qcO/l1TYoNeAzp3wcISOxlPXQEus0mLcdwazEkWjaBdaJ3TaxmNgCLWwvWzg==", + "dev": true, + "requires": { + "samsam": "1.3.0" + } + }, + "@sinonjs/samsam": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-2.1.0.tgz", + "integrity": "sha512-5x2kFgJYupaF1ns/RmharQ90lQkd2ELS8A9X0ymkAAdemYHGtI2KiUHG8nX2WU0T1qgnOU5YMqnBM2V7NUanNw==", + "dev": true, + "requires": { + "array-from": "2.1.1" + } + }, + "@types/node": { + "version": "10.12.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.0.tgz", + "integrity": "sha512-3TUHC3jsBAB7qVRGxT6lWyYo2v96BMmD2PTcl47H25Lu7UXtFH/2qqmKiVrnel6Ne//0TFYf6uvNX+HW2FRkLQ==", + "dev": true + }, + "abbrev": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz", + "integrity": "sha1-kbR5JYinc4wl813W9jdSovh3YTU=", + "dev": true + }, + "accepts": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz", + "integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=", + "dev": true, + "requires": { + "mime-types": "2.1.20", + "negotiator": "0.6.1" + }, + "dependencies": { + "mime-types": { + "version": "2.1.20", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz", + "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==", + "dev": true, + "requires": { + "mime-db": "1.36.0" + } + } + } + }, + "acorn": { + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz", + "integrity": "sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==", + "dev": true + }, + "acorn-jsx": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz", + "integrity": "sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s=", + "dev": true, + "requires": { + "acorn": "3.3.0" + }, + "dependencies": { + "acorn": { + "version": "3.3.0", + "resolved": "http://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", + "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=", + "dev": true + } + } + }, + "after": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/after/-/after-0.8.2.tgz", + "integrity": "sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8=", + "dev": true + }, + "ajv": { + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", + "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "dev": true, + "requires": { + "co": "4.6.0", + "fast-deep-equal": "1.1.0", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.3.1" + } + }, + "ajv-keywords": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-2.1.1.tgz", + "integrity": "sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I=", + "dev": true + }, + "align-text": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", + "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", + "dev": true, + "requires": { + "kind-of": "3.2.2", + "longest": "1.0.1", + "repeat-string": "1.6.1" + } + }, + "alphanum-sort": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz", + "integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=", + "dev": true + }, + "amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", + "dev": true + }, + "ansi-escapes": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz", + "integrity": "sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw==", + "dev": true + }, + "ansi-html": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz", + "integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=", + "dev": true + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "any-observable": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/any-observable/-/any-observable-0.2.0.tgz", + "integrity": "sha1-xnhwBYADV5AJCD9UrAq6+1wz0kI=", + "dev": true + }, + "anymatch": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz", + "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==", + "dev": true, + "requires": { + "micromatch": "2.3.11", + "normalize-path": "2.1.1" + }, + "dependencies": { + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "requires": { + "remove-trailing-separator": "1.1.0" + } + } + } + }, + "app-root-path": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/app-root-path/-/app-root-path-2.0.1.tgz", + "integrity": "sha1-zWLc+OT9WkF+/GZNLlsQZTxlG0Y=", + "dev": true + }, + "aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true + }, + "are-we-there-yet": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", + "dev": true, + "requires": { + "delegates": "1.0.0", + "readable-stream": "2.3.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "1.0.3" + } + }, + "arr-diff": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", + "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", + "dev": true, + "requires": { + "arr-flatten": "1.1.0" + } + }, + "arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true + }, + "arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", + "dev": true + }, + "array-filter": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-0.0.1.tgz", + "integrity": "sha1-fajPLiZijtcygDWB/SH2fKzS7uw=", + "dev": true + }, + "array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", + "dev": true + }, + "array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", + "dev": true + }, + "array-from": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/array-from/-/array-from-2.1.1.tgz", + "integrity": "sha1-z+nYwmYoudxa7MYqn12PHzUsEZU=", + "dev": true + }, + "array-includes": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz", + "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0" + } + }, + "array-map": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/array-map/-/array-map-0.0.0.tgz", + "integrity": "sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI=", + "dev": true + }, + "array-reduce": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/array-reduce/-/array-reduce-0.0.0.tgz", + "integrity": "sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys=", + "dev": true + }, + "array-slice": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-0.2.3.tgz", + "integrity": "sha1-3Tz7gO15c6dRF82sabC5nshhhvU=", + "dev": true + }, + "array-union": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "dev": true, + "requires": { + "array-uniq": "1.0.3" + } + }, + "array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", + "dev": true + }, + "array-unique": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", + "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", + "dev": true + }, + "array.prototype.flat": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.1.tgz", + "integrity": "sha512-rVqIs330nLJvfC7JqYvEWwqVr5QjYF1ib02i3YJtR/fICO6527Tjpc/e4Mvmxh3GIePPreRXMdaGyC99YphWEw==", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0", + "function-bind": "1.1.1" + } + }, + "arraybuffer.slice": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.6.tgz", + "integrity": "sha1-8zshWfBTKj8xB6JywMz70a0peco=", + "dev": true + }, + "arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "dev": true + }, + "asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" + }, + "asn1": { + "version": "0.1.11", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz", + "integrity": "sha1-VZvhg3bQik7E2+gId9J4GGObLfc=", + "dev": true, + "optional": true + }, + "assert": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/assert/-/assert-1.4.1.tgz", + "integrity": "sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=", + "dev": true, + "requires": { + "util": "0.10.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", + "dev": true + }, + "util": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "dev": true, + "requires": { + "inherits": "2.0.1" + } + } + } + }, + "assert-plus": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.5.tgz", + "integrity": "sha1-7nQAlBMALYTOxyGcasgRgS5yMWA=", + "dev": true, + "optional": true + }, + "assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true + }, + "assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", + "dev": true + }, + "ast-types": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.10.1.tgz", + "integrity": "sha512-UY7+9DPzlJ9VM8eY0b2TUZcZvF+1pO0hzMtAyjBYKhOmnvRlqYNYnWdtsMj0V16CGaMlpL0G1jnLbLo4AyotuQ==", + "dev": true + }, + "async": { + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz", + "integrity": "sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=", + "dev": true + }, + "async-each": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz", + "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=", + "dev": true + }, + "async-foreach": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz", + "integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=", + "dev": true + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true + }, + "autoprefixer": { + "version": "6.7.7", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-6.7.7.tgz", + "integrity": "sha1-Hb0cg1ZY41zj+ZhAmdsAWFx4IBQ=", + "dev": true, + "requires": { + "browserslist": "1.7.7", + "caniuse-db": "1.0.30000890", + "normalize-range": "0.1.2", + "num2fraction": "1.2.2", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + }, + "dependencies": { + "browserslist": { + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz", + "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", + "dev": true, + "requires": { + "caniuse-db": "1.0.30000890", + "electron-to-chromium": "1.3.67" + } + } + } + }, + "aws-sign2": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.5.0.tgz", + "integrity": "sha1-xXED96F/wDfwLXwuZLYC6iI/fWM=", + "dev": true, + "optional": true + }, + "aws4": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", + "dev": true + }, + "babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "esutils": "2.0.2", + "js-tokens": "3.0.2" + }, + "dependencies": { + "js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", + "dev": true + } + } + }, + "babel-core": { + "version": "6.26.3", + "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz", + "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==", + "dev": true, + "requires": { + "babel-code-frame": "6.26.0", + "babel-generator": "6.26.1", + "babel-helpers": "6.24.1", + "babel-messages": "6.23.0", + "babel-register": "6.26.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "convert-source-map": "1.6.0", + "debug": "2.6.9", + "json5": "0.5.1", + "lodash": "4.17.11", + "minimatch": "3.0.4", + "path-is-absolute": "1.0.1", + "private": "0.1.8", + "slash": "1.0.0", + "source-map": "0.5.7" + } + }, + "babel-eslint": { + "version": "8.2.6", + "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-8.2.6.tgz", + "integrity": "sha512-aCdHjhzcILdP8c9lej7hvXKvQieyRt20SF102SIGyY4cUIiw6UaAtK4j2o3dXX74jEmy0TJ0CEhv4fTIM3SzcA==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.44", + "@babel/traverse": "7.0.0-beta.44", + "@babel/types": "7.0.0-beta.44", + "babylon": "7.0.0-beta.44", + "eslint-scope": "3.7.1", + "eslint-visitor-keys": "1.0.0" + }, + "dependencies": { + "babylon": { + "version": "7.0.0-beta.44", + "resolved": "http://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.44.tgz", + "integrity": "sha512-5Hlm13BJVAioCHpImtFqNOF2H3ieTOHd0fmFGMxOJ9jgeFqeAwsv3u5P5cR7CSeFrkgHsT19DgFJkHV0/Mcd8g==", + "dev": true + } + } + }, + "babel-generator": { + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", + "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", + "dev": true, + "requires": { + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "detect-indent": "4.0.0", + "jsesc": "1.3.0", + "lodash": "4.17.11", + "source-map": "0.5.7", + "trim-right": "1.0.1" + } + }, + "babel-helper-bindify-decorators": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-bindify-decorators/-/babel-helper-bindify-decorators-6.24.1.tgz", + "integrity": "sha1-FMGeXxQte0fxmlJDHlKxzLxAozA=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-builder-binary-assignment-operator-visitor": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz", + "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=", + "dev": true, + "requires": { + "babel-helper-explode-assignable-expression": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-builder-react-jsx": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-helper-builder-react-jsx/-/babel-helper-builder-react-jsx-6.26.0.tgz", + "integrity": "sha1-Of+DE7dci2Xc7/HzHTg+D/KkCKA=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "esutils": "2.0.2" + } + }, + "babel-helper-call-delegate": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz", + "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", + "dev": true, + "requires": { + "babel-helper-hoist-variables": "6.24.1", + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-define-map": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz", + "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=", + "dev": true, + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "lodash": "4.17.11" + } + }, + "babel-helper-explode-assignable-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz", + "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-explode-class": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-explode-class/-/babel-helper-explode-class-6.24.1.tgz", + "integrity": "sha1-fcKjkQ3uAHBW4eMdZAztPVTqqes=", + "dev": true, + "requires": { + "babel-helper-bindify-decorators": "6.24.1", + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", + "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", + "dev": true, + "requires": { + "babel-helper-get-function-arity": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-get-function-arity": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", + "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-hoist-variables": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", + "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-optimise-call-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz", + "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-regex": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz", + "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "lodash": "4.17.11" + } + }, + "babel-helper-remap-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz", + "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=", + "dev": true, + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helper-replace-supers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz", + "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", + "dev": true, + "requires": { + "babel-helper-optimise-call-expression": "6.24.1", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-helpers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", + "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-loader": { + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-6.4.1.tgz", + "integrity": "sha1-CzQRLVsHSKjc2/Uaz2+b1C1QuMo=", + "dev": true, + "requires": { + "find-cache-dir": "0.1.1", + "loader-utils": "0.2.17", + "mkdirp": "0.5.1", + "object-assign": "4.1.1" + } + }, + "babel-messages": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-add-react-displayname": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.4.tgz", + "integrity": "sha1-vCp0vL7m5QUCWzNS/qhe57xMb3w=", + "dev": true + }, + "babel-plugin-check-es2015-constants": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", + "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-external-helpers": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-external-helpers/-/babel-plugin-external-helpers-6.22.0.tgz", + "integrity": "sha1-IoX0iwK9Xe3oUXXK+MYuhq3M76E=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-react-transform": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-3.0.0.tgz", + "integrity": "sha512-4vJGddwPiHAOgshzZdGwYy4zRjjIr5SMY7gkOaCyIASjgpcsyLTlZNuB5rHOFoaTvGlhfo8/g4pobXPyHqm/3w==", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + }, + "babel-plugin-syntax-async-functions": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", + "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=", + "dev": true + }, + "babel-plugin-syntax-async-generators": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz", + "integrity": "sha1-a8lj67FuzLrmuStZbrfzXDQqi5o=", + "dev": true + }, + "babel-plugin-syntax-class-constructor-call": { + "version": "6.18.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-class-constructor-call/-/babel-plugin-syntax-class-constructor-call-6.18.0.tgz", + "integrity": "sha1-nLnTn+Q8hgC+yBRkVt3L1OGnZBY=", + "dev": true + }, + "babel-plugin-syntax-class-properties": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz", + "integrity": "sha1-1+sjt5oxf4VDlixQW4J8fWysJ94=", + "dev": true + }, + "babel-plugin-syntax-decorators": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-decorators/-/babel-plugin-syntax-decorators-6.13.0.tgz", + "integrity": "sha1-MSVjtNvePMgGzuPkFszurd0RrAs=", + "dev": true + }, + "babel-plugin-syntax-do-expressions": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-do-expressions/-/babel-plugin-syntax-do-expressions-6.13.0.tgz", + "integrity": "sha1-V0d1YTmqJtOQ0JQQsDdEugfkeW0=", + "dev": true + }, + "babel-plugin-syntax-dynamic-import": { + "version": "6.18.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz", + "integrity": "sha1-jWomIpyDdFqZgqRBBRVyyqF5sdo=", + "dev": true + }, + "babel-plugin-syntax-exponentiation-operator": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", + "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=", + "dev": true + }, + "babel-plugin-syntax-export-extensions": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-export-extensions/-/babel-plugin-syntax-export-extensions-6.13.0.tgz", + "integrity": "sha1-cKFITw+QiaToStRLrDU8lbmxJyE=", + "dev": true + }, + "babel-plugin-syntax-flow": { + "version": "6.18.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz", + "integrity": "sha1-TDqyCiryaqIM0lmVw5jE63AxDI0=", + "dev": true + }, + "babel-plugin-syntax-function-bind": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-function-bind/-/babel-plugin-syntax-function-bind-6.13.0.tgz", + "integrity": "sha1-SMSV8Xe98xqYHnMvVa3AvdJgH0Y=", + "dev": true + }, + "babel-plugin-syntax-jsx": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz", + "integrity": "sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY=", + "dev": true + }, + "babel-plugin-syntax-object-rest-spread": { + "version": "6.13.0", + "resolved": "http://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz", + "integrity": "sha1-/WU28rzhODb/o6VFjEkDpZe7O/U=", + "dev": true + }, + "babel-plugin-syntax-trailing-function-commas": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz", + "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM=", + "dev": true + }, + "babel-plugin-transform-async-generator-functions": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-generator-functions/-/babel-plugin-transform-async-generator-functions-6.24.1.tgz", + "integrity": "sha1-8FiQAUX9PpkHpt3yjaWfIVJYpds=", + "dev": true, + "requires": { + "babel-helper-remap-async-to-generator": "6.24.1", + "babel-plugin-syntax-async-generators": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz", + "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=", + "dev": true, + "requires": { + "babel-helper-remap-async-to-generator": "6.24.1", + "babel-plugin-syntax-async-functions": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-class-constructor-call": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-constructor-call/-/babel-plugin-transform-class-constructor-call-6.24.1.tgz", + "integrity": "sha1-gNwoVQWsBn3LjWxl4vbxGrd2Xvk=", + "dev": true, + "requires": { + "babel-plugin-syntax-class-constructor-call": "6.18.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-class-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz", + "integrity": "sha1-anl2PqYdM9NvN7YRqp3vgagbRqw=", + "dev": true, + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-plugin-syntax-class-properties": "6.13.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-decorators": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-decorators/-/babel-plugin-transform-decorators-6.24.1.tgz", + "integrity": "sha1-eIAT2PjGtSIr33s0Q5Df13Vp4k0=", + "dev": true, + "requires": { + "babel-helper-explode-class": "6.24.1", + "babel-plugin-syntax-decorators": "6.13.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-do-expressions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-do-expressions/-/babel-plugin-transform-do-expressions-6.22.0.tgz", + "integrity": "sha1-KMyvkoEtlJws0SgfaQyP3EaK6bs=", + "dev": true, + "requires": { + "babel-plugin-syntax-do-expressions": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-arrow-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", + "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-block-scoped-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", + "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-block-scoping": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz", + "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "lodash": "4.17.11" + } + }, + "babel-plugin-transform-es2015-classes": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz", + "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", + "dev": true, + "requires": { + "babel-helper-define-map": "6.26.0", + "babel-helper-function-name": "6.24.1", + "babel-helper-optimise-call-expression": "6.24.1", + "babel-helper-replace-supers": "6.24.1", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-computed-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz", + "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-es2015-destructuring": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", + "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-duplicate-keys": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz", + "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-for-of": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz", + "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz", + "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", + "dev": true, + "requires": { + "babel-helper-function-name": "6.24.1", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", + "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-amd": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz", + "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=", + "dev": true, + "requires": { + "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-commonjs": { + "version": "6.26.2", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz", + "integrity": "sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==", + "dev": true, + "requires": { + "babel-plugin-transform-strict-mode": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-systemjs": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz", + "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", + "dev": true, + "requires": { + "babel-helper-hoist-variables": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-umd": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz", + "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=", + "dev": true, + "requires": { + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0" + } + }, + "babel-plugin-transform-es2015-object-super": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz", + "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", + "dev": true, + "requires": { + "babel-helper-replace-supers": "6.24.1", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-parameters": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz", + "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", + "dev": true, + "requires": { + "babel-helper-call-delegate": "6.24.1", + "babel-helper-get-function-arity": "6.24.1", + "babel-runtime": "6.26.0", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-shorthand-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz", + "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-spread": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", + "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-sticky-regex": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz", + "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=", + "dev": true, + "requires": { + "babel-helper-regex": "6.26.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-plugin-transform-es2015-template-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", + "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-typeof-symbol": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz", + "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es2015-unicode-regex": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz", + "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=", + "dev": true, + "requires": { + "babel-helper-regex": "6.26.0", + "babel-runtime": "6.26.0", + "regexpu-core": "2.0.0" + } + }, + "babel-plugin-transform-es3-member-expression-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es3-member-expression-literals/-/babel-plugin-transform-es3-member-expression-literals-6.22.0.tgz", + "integrity": "sha1-cz00RPPsxBvvjtGmpOCWV7iWnrs=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es3-property-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es3-property-literals/-/babel-plugin-transform-es3-property-literals-6.22.0.tgz", + "integrity": "sha1-sgeNWELiKr9A9z6M3pzTcRq9V1g=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-es5-property-mutators": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es5-property-mutators/-/babel-plugin-transform-es5-property-mutators-6.24.1.tgz", + "integrity": "sha1-C5ok9OL/GMM2A9JKDUONyXk7ChM=", + "dev": true, + "requires": { + "babel-helper-define-map": "6.26.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-exponentiation-operator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz", + "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=", + "dev": true, + "requires": { + "babel-helper-builder-binary-assignment-operator-visitor": "6.24.1", + "babel-plugin-syntax-exponentiation-operator": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-export-extensions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-export-extensions/-/babel-plugin-transform-export-extensions-6.22.0.tgz", + "integrity": "sha1-U3OLR+deghhYnuqUbLvTkQm75lM=", + "dev": true, + "requires": { + "babel-plugin-syntax-export-extensions": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-flow-strip-types": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz", + "integrity": "sha1-hMtnKTXUNxT9wyvOhFaNh0Qc988=", + "dev": true, + "requires": { + "babel-plugin-syntax-flow": "6.18.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-function-bind": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-function-bind/-/babel-plugin-transform-function-bind-6.22.0.tgz", + "integrity": "sha1-xvuOlqwpajELjPjqQBRiQH3fapc=", + "dev": true, + "requires": { + "babel-plugin-syntax-function-bind": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-jscript": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-jscript/-/babel-plugin-transform-jscript-6.22.0.tgz", + "integrity": "sha1-borxK3q6SeCoCRUmFqwFaQszUtw=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-object-rest-spread": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz", + "integrity": "sha1-DzZpLVD+9rfi1LOsFHgTepY7ewY=", + "dev": true, + "requires": { + "babel-plugin-syntax-object-rest-spread": "6.13.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-react-display-name": { + "version": "6.25.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-display-name/-/babel-plugin-transform-react-display-name-6.25.0.tgz", + "integrity": "sha1-Z+K/Hx6ck6sI25Z5LgU5K/LMKNE=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-react-jsx": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx/-/babel-plugin-transform-react-jsx-6.24.1.tgz", + "integrity": "sha1-hAoCjn30YN/DotKfDA2R9jduZqM=", + "dev": true, + "requires": { + "babel-helper-builder-react-jsx": "6.26.0", + "babel-plugin-syntax-jsx": "6.18.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-react-jsx-self": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx-self/-/babel-plugin-transform-react-jsx-self-6.22.0.tgz", + "integrity": "sha1-322AqdomEqEh5t3XVYvL7PBuY24=", + "dev": true, + "requires": { + "babel-plugin-syntax-jsx": "6.18.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-react-jsx-source": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx-source/-/babel-plugin-transform-react-jsx-source-6.22.0.tgz", + "integrity": "sha1-ZqwSFT9c0tF7PBkmj0vwGX9E7NY=", + "dev": true, + "requires": { + "babel-plugin-syntax-jsx": "6.18.0", + "babel-runtime": "6.26.0" + } + }, + "babel-plugin-transform-react-remove-prop-types": { + "version": "0.4.19", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.19.tgz", + "integrity": "sha512-f49NsaohQ1ByY20nUrpc30QFdbeT4ntV4PAL2vSZe6uCB5nqAcqXS/qzU+aI6ZfYhWASx5eIsTFvFrs1B2ffGg==", + "dev": true + }, + "babel-plugin-transform-regenerator": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz", + "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=", + "dev": true, + "requires": { + "regenerator-transform": "0.10.1" + } + }, + "babel-plugin-transform-strict-mode": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz", + "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0" + } + }, + "babel-polyfill": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz", + "integrity": "sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "core-js": "2.5.7", + "regenerator-runtime": "0.10.5" + }, + "dependencies": { + "regenerator-runtime": { + "version": "0.10.5", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", + "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=", + "dev": true + } + } + }, + "babel-preset-airbnb": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/babel-preset-airbnb/-/babel-preset-airbnb-2.6.0.tgz", + "integrity": "sha512-0VrYWk6ntS/wzjgVPdEqAX8y0GJ2JLV44QxyiP4J7C2V4BcZAfbMvh292I4C3myKkLmWzjvgAuj+s3kQ6yAUvg==", + "dev": true, + "requires": { + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", + "babel-plugin-transform-es2015-template-literals": "6.22.0", + "babel-plugin-transform-es3-member-expression-literals": "6.22.0", + "babel-plugin-transform-es3-property-literals": "6.22.0", + "babel-plugin-transform-es5-property-mutators": "6.24.1", + "babel-plugin-transform-exponentiation-operator": "6.24.1", + "babel-plugin-transform-jscript": "6.22.0", + "babel-plugin-transform-object-rest-spread": "6.26.0", + "babel-plugin-transform-react-remove-prop-types": "0.4.19", + "babel-plugin-transform-strict-mode": "6.24.1", + "babel-preset-env": "1.7.0", + "babel-preset-react": "6.24.1", + "object.assign": "4.1.0" + }, + "dependencies": { + "babel-preset-env": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.7.0.tgz", + "integrity": "sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==", + "dev": true, + "requires": { + "babel-plugin-check-es2015-constants": "6.22.0", + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-async-to-generator": "6.24.1", + "babel-plugin-transform-es2015-arrow-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoping": "6.26.0", + "babel-plugin-transform-es2015-classes": "6.24.1", + "babel-plugin-transform-es2015-computed-properties": "6.24.1", + "babel-plugin-transform-es2015-destructuring": "6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "6.24.1", + "babel-plugin-transform-es2015-for-of": "6.23.0", + "babel-plugin-transform-es2015-function-name": "6.24.1", + "babel-plugin-transform-es2015-literals": "6.22.0", + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", + "babel-plugin-transform-es2015-modules-systemjs": "6.24.1", + "babel-plugin-transform-es2015-modules-umd": "6.24.1", + "babel-plugin-transform-es2015-object-super": "6.24.1", + "babel-plugin-transform-es2015-parameters": "6.24.1", + "babel-plugin-transform-es2015-shorthand-properties": "6.24.1", + "babel-plugin-transform-es2015-spread": "6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "6.24.1", + "babel-plugin-transform-es2015-template-literals": "6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "6.24.1", + "babel-plugin-transform-exponentiation-operator": "6.24.1", + "babel-plugin-transform-regenerator": "6.26.0", + "browserslist": "3.2.8", + "invariant": "2.2.4", + "semver": "5.5.1" + } + } + } + }, + "babel-preset-env": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.7.0.tgz", + "integrity": "sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==", + "dev": true, + "requires": { + "babel-plugin-check-es2015-constants": "6.22.0", + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-async-to-generator": "6.24.1", + "babel-plugin-transform-es2015-arrow-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoping": "6.26.0", + "babel-plugin-transform-es2015-classes": "6.24.1", + "babel-plugin-transform-es2015-computed-properties": "6.24.1", + "babel-plugin-transform-es2015-destructuring": "6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "6.24.1", + "babel-plugin-transform-es2015-for-of": "6.23.0", + "babel-plugin-transform-es2015-function-name": "6.24.1", + "babel-plugin-transform-es2015-literals": "6.22.0", + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", + "babel-plugin-transform-es2015-modules-systemjs": "6.24.1", + "babel-plugin-transform-es2015-modules-umd": "6.24.1", + "babel-plugin-transform-es2015-object-super": "6.24.1", + "babel-plugin-transform-es2015-parameters": "6.24.1", + "babel-plugin-transform-es2015-shorthand-properties": "6.24.1", + "babel-plugin-transform-es2015-spread": "6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "6.24.1", + "babel-plugin-transform-es2015-template-literals": "6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "6.24.1", + "babel-plugin-transform-exponentiation-operator": "6.24.1", + "babel-plugin-transform-regenerator": "6.26.0", + "browserslist": "3.2.8", + "invariant": "2.2.4", + "semver": "5.5.1" + } + }, + "babel-preset-flow": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-preset-flow/-/babel-preset-flow-6.23.0.tgz", + "integrity": "sha1-5xIYiHCFrpoktb5Baa/7WZgWxJ0=", + "dev": true, + "requires": { + "babel-plugin-transform-flow-strip-types": "6.22.0" + } + }, + "babel-preset-react": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-react/-/babel-preset-react-6.24.1.tgz", + "integrity": "sha1-umnfrqRfw+xjm2pOzqbhdwLJE4A=", + "dev": true, + "requires": { + "babel-plugin-syntax-jsx": "6.18.0", + "babel-plugin-transform-react-display-name": "6.25.0", + "babel-plugin-transform-react-jsx": "6.24.1", + "babel-plugin-transform-react-jsx-self": "6.22.0", + "babel-plugin-transform-react-jsx-source": "6.22.0", + "babel-preset-flow": "6.23.0" + } + }, + "babel-preset-stage-0": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-stage-0/-/babel-preset-stage-0-6.24.1.tgz", + "integrity": "sha1-VkLRUEL5E4TX5a+LyIsduVsDnmo=", + "dev": true, + "requires": { + "babel-plugin-transform-do-expressions": "6.22.0", + "babel-plugin-transform-function-bind": "6.22.0", + "babel-preset-stage-1": "6.24.1" + } + }, + "babel-preset-stage-1": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-stage-1/-/babel-preset-stage-1-6.24.1.tgz", + "integrity": "sha1-dpLNfc1oSZB+auSgqFWJz7niv7A=", + "dev": true, + "requires": { + "babel-plugin-transform-class-constructor-call": "6.24.1", + "babel-plugin-transform-export-extensions": "6.22.0", + "babel-preset-stage-2": "6.24.1" + } + }, + "babel-preset-stage-2": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-stage-2/-/babel-preset-stage-2-6.24.1.tgz", + "integrity": "sha1-2eKWD7PXEYfw5k7sYrwHdnIZvcE=", + "dev": true, + "requires": { + "babel-plugin-syntax-dynamic-import": "6.18.0", + "babel-plugin-transform-class-properties": "6.24.1", + "babel-plugin-transform-decorators": "6.24.1", + "babel-preset-stage-3": "6.24.1" + } + }, + "babel-preset-stage-3": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-preset-stage-3/-/babel-preset-stage-3-6.24.1.tgz", + "integrity": "sha1-g2raCp56f6N8sTj7kyb4eTSkg5U=", + "dev": true, + "requires": { + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-async-generator-functions": "6.24.1", + "babel-plugin-transform-async-to-generator": "6.24.1", + "babel-plugin-transform-exponentiation-operator": "6.24.1", + "babel-plugin-transform-object-rest-spread": "6.26.0" + } + }, + "babel-register": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", + "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", + "dev": true, + "requires": { + "babel-core": "6.26.3", + "babel-runtime": "6.26.0", + "core-js": "2.5.7", + "home-or-tmp": "2.0.0", + "lodash": "4.17.11", + "mkdirp": "0.5.1", + "source-map-support": "0.4.18" + } + }, + "babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "requires": { + "core-js": "2.5.7", + "regenerator-runtime": "0.11.1" + } + }, + "babel-template": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", + "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "lodash": "4.17.11" + } + }, + "babel-traverse": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", + "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "dev": true, + "requires": { + "babel-code-frame": "6.26.0", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "debug": "2.6.9", + "globals": "9.18.0", + "invariant": "2.2.4", + "lodash": "4.17.11" + } + }, + "babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "esutils": "2.0.2", + "lodash": "4.17.11", + "to-fast-properties": "1.0.3" + } + }, + "babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", + "dev": true + }, + "backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=", + "dev": true + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "requires": { + "cache-base": "1.0.1", + "class-utils": "0.3.6", + "component-emitter": "1.2.1", + "define-property": "1.0.0", + "isobject": "3.0.1", + "mixin-deep": "1.3.1", + "pascalcase": "0.1.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "1.0.2" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "base64-arraybuffer": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz", + "integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg=", + "dev": true + }, + "base64-js": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.0.tgz", + "integrity": "sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==", + "dev": true + }, + "base64id": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/base64id/-/base64id-1.0.0.tgz", + "integrity": "sha1-R2iMuZu2gE8OBtPnY7HDLlfY5rY=", + "dev": true + }, + "batch": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", + "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=", + "dev": true + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, + "requires": { + "tweetnacl": "0.14.5" + } + }, + "better-assert": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/better-assert/-/better-assert-1.0.2.tgz", + "integrity": "sha1-QIZrnhueC1W0gYlDEeaPr/rrxSI=", + "dev": true, + "requires": { + "callsite": "1.0.0" + } + }, + "big.js": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz", + "integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==", + "dev": true + }, + "binary-extensions": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.12.0.tgz", + "integrity": "sha512-DYWGk01lDcxeS/K9IHPGWfT8PsJmbXRtRd2Sx72Tnb8pcYZQFF1oSDb8hJtS1vhp212q1Rzi5dUf9+nq0o9UIg==", + "dev": true + }, + "bl": { + "version": "0.9.5", + "resolved": "http://registry.npmjs.org/bl/-/bl-0.9.5.tgz", + "integrity": "sha1-wGt5evCF6gC8Unr8jvzxHeIjIFQ=", + "dev": true, + "requires": { + "readable-stream": "1.0.34" + } + }, + "blob": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/blob/-/blob-0.0.4.tgz", + "integrity": "sha1-vPEwUspURj8w+fx+lbmkdjCpSSE=", + "dev": true + }, + "block-stream": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", + "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", + "dev": true, + "requires": { + "inherits": "2.0.3" + } + }, + "bluebird": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.2.tgz", + "integrity": "sha512-dhHTWMI7kMx5whMQntl7Vr9C6BvV10lFXDAasnqnrMYhXVCzzk6IO9Fo2L75jXHT07WrOngL1WDXOp+yYS91Yg==", + "dev": true + }, + "body-parser": { + "version": "1.18.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.2.tgz", + "integrity": "sha1-h2eKGdhLR9hZuDGZvVm84iKxBFQ=", + "dev": true, + "requires": { + "bytes": "3.0.0", + "content-type": "1.0.4", + "debug": "2.6.9", + "depd": "1.1.2", + "http-errors": "1.6.3", + "iconv-lite": "0.4.19", + "on-finished": "2.3.0", + "qs": "6.5.1", + "raw-body": "2.3.2", + "type-is": "1.6.16" + }, + "dependencies": { + "iconv-lite": { + "version": "0.4.19", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz", + "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==", + "dev": true + }, + "qs": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz", + "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==", + "dev": true + } + } + }, + "boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", + "dev": true + }, + "boom": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/boom/-/boom-0.4.2.tgz", + "integrity": "sha1-emNune1O/O+xnO9JR6PGffrukRs=", + "dev": true, + "requires": { + "hoek": "0.9.1" + } + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "1.8.5", + "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", + "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", + "dev": true, + "requires": { + "expand-range": "1.8.2", + "preserve": "0.2.0", + "repeat-element": "1.1.3" + } + }, + "browser-stdout": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.0.tgz", + "integrity": "sha1-81HTKWnTL6XXpVZxVCY9korjvR8=", + "dev": true + }, + "browserify-aes": { + "version": "0.4.0", + "resolved": "http://registry.npmjs.org/browserify-aes/-/browserify-aes-0.4.0.tgz", + "integrity": "sha1-BnFJtmjfMcS1hTPgLQHoBthgjiw=", + "dev": true, + "requires": { + "inherits": "2.0.3" + } + }, + "browserify-zlib": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.1.4.tgz", + "integrity": "sha1-uzX4pRn2AOD6a4SFJByXnQFB+y0=", + "dev": true, + "requires": { + "pako": "0.2.9" + } + }, + "browserslist": { + "version": "3.2.8", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz", + "integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==", + "dev": true, + "requires": { + "caniuse-lite": "1.0.30000885", + "electron-to-chromium": "1.3.67" + } + }, + "buffer": { + "version": "4.9.1", + "resolved": "http://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", + "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", + "dev": true, + "requires": { + "base64-js": "1.3.0", + "ieee754": "1.1.12", + "isarray": "1.0.0" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + } + } + }, + "buffer-alloc": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz", + "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==", + "dev": true, + "requires": { + "buffer-alloc-unsafe": "1.1.0", + "buffer-fill": "1.0.0" + } + }, + "buffer-alloc-unsafe": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz", + "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==", + "dev": true + }, + "buffer-fill": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz", + "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=", + "dev": true + }, + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "dev": true + }, + "builtin-modules": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", + "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", + "dev": true + }, + "builtin-status-codes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", + "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", + "dev": true + }, + "bytes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", + "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=", + "dev": true + }, + "cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "requires": { + "collection-visit": "1.0.0", + "component-emitter": "1.2.1", + "get-value": "2.0.6", + "has-value": "1.0.0", + "isobject": "3.0.1", + "set-value": "2.0.0", + "to-object-path": "0.3.0", + "union-value": "1.0.0", + "unset-value": "1.0.0" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "caller-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz", + "integrity": "sha1-lAhe9jWB7NPaqSREqP6U6CV3dR8=", + "dev": true, + "requires": { + "callsites": "0.2.0" + } + }, + "callsite": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz", + "integrity": "sha1-KAOY5dZkvXQDi28JBRU+borxvCA=", + "dev": true + }, + "callsites": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz", + "integrity": "sha1-r6uWJikQp/M8GaV3WCXGnzTjUMo=", + "dev": true + }, + "camelcase": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", + "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", + "dev": true + }, + "camelcase-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "dev": true, + "requires": { + "camelcase": "2.1.1", + "map-obj": "1.0.1" + } + }, + "caniuse-api": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-1.6.1.tgz", + "integrity": "sha1-tTTnxzTE+B7F++isoq0kNUuWLGw=", + "dev": true, + "requires": { + "browserslist": "1.7.7", + "caniuse-db": "1.0.30000890", + "lodash.memoize": "4.1.2", + "lodash.uniq": "4.5.0" + }, + "dependencies": { + "browserslist": { + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz", + "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", + "dev": true, + "requires": { + "caniuse-db": "1.0.30000890", + "electron-to-chromium": "1.3.67" + } + } + } + }, + "caniuse-db": { + "version": "1.0.30000890", + "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000890.tgz", + "integrity": "sha512-aO5uw1Taw8GkNMMXIWOz/WJz3y6tR1ETUAdH/pvO5EoJ3I1Po9vNJd9aMjY1GKucS/OXWMiQbXRbk3O1sgCbRA==", + "dev": true + }, + "caniuse-lite": { + "version": "1.0.30000885", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000885.tgz", + "integrity": "sha512-cXKbYwpxBLd7qHyej16JazPoUacqoVuDhvR61U7Fr5vSxMUiodzcYa1rQYRYfZ5GexV03vGZHd722vNPLjPJGQ==", + "dev": true + }, + "caseless": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.6.0.tgz", + "integrity": "sha1-gWfBq4OX+1u5X5bSjlqBxQ8kesQ=", + "dev": true + }, + "center-align": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", + "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", + "dev": true, + "requires": { + "align-text": "0.1.4", + "lazy-cache": "1.0.4" + } + }, + "chai": { + "version": "3.5.0", + "resolved": "http://registry.npmjs.org/chai/-/chai-3.5.0.tgz", + "integrity": "sha1-TQJjewZ/6Vi9v906QOxW/vc3Mkc=", + "dev": true, + "requires": { + "assertion-error": "1.1.0", + "deep-eql": "0.1.3", + "type-detect": "1.0.0" + } + }, + "chalk": { + "version": "1.1.3", + "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" + } + }, + "chardet": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", + "integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I=", + "dev": true + }, + "cheerio": { + "version": "1.0.0-rc.2", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz", + "integrity": "sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=", + "dev": true, + "requires": { + "css-select": "1.2.0", + "dom-serializer": "0.1.0", + "entities": "1.1.2", + "htmlparser2": "3.10.0", + "lodash": "4.17.11", + "parse5": "3.0.3" + } + }, + "chokidar": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz", + "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", + "dev": true, + "requires": { + "anymatch": "1.3.2", + "async-each": "1.0.1", + "fsevents": "1.2.4", + "glob-parent": "2.0.0", + "inherits": "2.0.3", + "is-binary-path": "1.0.1", + "is-glob": "2.0.1", + "path-is-absolute": "1.0.1", + "readdirp": "2.2.1" + } + }, + "ci-info": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.5.1.tgz", + "integrity": "sha512-fKFIKXaYiL1exImwJ0AhR/6jxFPSKQBk2ayV5NiNoruUs2+rxC2kNw0EG+1Z9dugZRdCrppskQ8DN2cyaUM1Hw==", + "dev": true + }, + "circular-json": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz", + "integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==", + "dev": true + }, + "clap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/clap/-/clap-1.2.3.tgz", + "integrity": "sha512-4CoL/A3hf90V3VIEjeuhSvlGFEHKzOz+Wfc2IVZc+FaUgU0ZQafJTP49fvnULipOPcAfqhyI2duwQyns6xqjYA==", + "dev": true, + "requires": { + "chalk": "1.1.3" + } + }, + "class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "requires": { + "arr-union": "3.1.0", + "define-property": "0.2.5", + "isobject": "3.0.1", + "static-extend": "0.1.2" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "classnames": { + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz", + "integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==" + }, + "cli-cursor": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", + "dev": true, + "requires": { + "restore-cursor": "2.0.0" + } + }, + "cli-spinners": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-0.1.2.tgz", + "integrity": "sha1-u3ZNiOGF+54eaiofGXcjGPYF4xw=", + "dev": true + }, + "cli-truncate": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.2.1.tgz", + "integrity": "sha1-nxXPuwcFAFNpIWxiasfQWrkN1XQ=", + "dev": true, + "requires": { + "slice-ansi": "0.0.4", + "string-width": "1.0.2" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "slice-ansi": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", + "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=", + "dev": true + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + } + } + }, + "cli-width": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", + "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", + "dev": true + }, + "cliui": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", + "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", + "dev": true, + "requires": { + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wrap-ansi": "2.1.0" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + } + } + }, + "clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", + "dev": true + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", + "dev": true + }, + "coa": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/coa/-/coa-1.0.4.tgz", + "integrity": "sha1-qe8VNmDWqGqL3sAomlxoTSF0Mv0=", + "dev": true, + "requires": { + "q": "1.5.1" + } + }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true + }, + "codecov.io": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/codecov.io/-/codecov.io-0.1.6.tgz", + "integrity": "sha1-Wd/QLaH/McL7K5Uq2K0W/TeBtyg=", + "dev": true, + "requires": { + "request": "2.42.0", + "urlgrey": "0.4.0" + } + }, + "collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "dev": true, + "requires": { + "map-visit": "1.0.0", + "object-visit": "1.0.1" + } + }, + "color": { + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/color/-/color-0.11.4.tgz", + "integrity": "sha1-bXtcdPtl6EHNSHkq0e1eB7kE12Q=", + "dev": true, + "requires": { + "clone": "1.0.4", + "color-convert": "1.9.3", + "color-string": "0.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "color-string": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-0.3.0.tgz", + "integrity": "sha1-J9RvtnAlxcL6JZk7+/V55HhBuZE=", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "colormin": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/colormin/-/colormin-1.1.2.tgz", + "integrity": "sha1-6i90IKcrlogaOKrlnsEkpvcpgTM=", + "dev": true, + "requires": { + "color": "0.11.4", + "css-color-names": "0.0.4", + "has": "1.0.3" + } + }, + "colors": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz", + "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=", + "dev": true + }, + "combine-lists": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/combine-lists/-/combine-lists-1.0.1.tgz", + "integrity": "sha1-RYwH4J4NkA/Ci3Cj/sLazR0st/Y=", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + }, + "combined-stream": { + "version": "0.0.7", + "resolved": "http://registry.npmjs.org/combined-stream/-/combined-stream-0.0.7.tgz", + "integrity": "sha1-ATfmV7qlp1QcV6w3rF/AfXO03B8=", + "dev": true, + "optional": true, + "requires": { + "delayed-stream": "0.0.5" + } + }, + "commander": { + "version": "2.17.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz", + "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==", + "dev": true + }, + "commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, + "component-bind": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/component-bind/-/component-bind-1.0.0.tgz", + "integrity": "sha1-AMYIq33Nk4l8AAllGx06jh5zu9E=", + "dev": true + }, + "component-emitter": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz", + "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=", + "dev": true + }, + "component-inherit": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/component-inherit/-/component-inherit-0.0.3.tgz", + "integrity": "sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM=", + "dev": true + }, + "compressible": { + "version": "2.0.15", + "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.15.tgz", + "integrity": "sha512-4aE67DL33dSW9gw4CI2H/yTxqHLNcxp0yS6jB+4h+wr3e43+1z7vm0HU9qXOH8j+qjKuL8+UtkOxYQSMq60Ylw==", + "dev": true, + "requires": { + "mime-db": "1.36.0" + } + }, + "compression": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.3.tgz", + "integrity": "sha512-HSjyBG5N1Nnz7tF2+O7A9XUhyjru71/fwgNb7oIsEVHR0WShfs2tIS/EySLgiTe98aOK18YDlMXpzjCXY/n9mg==", + "dev": true, + "requires": { + "accepts": "1.3.5", + "bytes": "3.0.0", + "compressible": "2.0.15", + "debug": "2.6.9", + "on-headers": "1.0.1", + "safe-buffer": "5.1.2", + "vary": "1.1.2" + } + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "dev": true, + "requires": { + "buffer-from": "1.1.1", + "inherits": "2.0.3", + "readable-stream": "2.3.6", + "typedarray": "0.0.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "connect": { + "version": "3.6.6", + "resolved": "https://registry.npmjs.org/connect/-/connect-3.6.6.tgz", + "integrity": "sha1-Ce/2xVr3I24TcTWnJXSFi2eG9SQ=", + "dev": true, + "requires": { + "debug": "2.6.9", + "finalhandler": "1.1.0", + "parseurl": "1.3.2", + "utils-merge": "1.0.1" + }, + "dependencies": { + "finalhandler": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.0.tgz", + "integrity": "sha1-zgtoVbRYU+eRsvzGgARtiCU91/U=", + "dev": true, + "requires": { + "debug": "2.6.9", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "on-finished": "2.3.0", + "parseurl": "1.3.2", + "statuses": "1.3.1", + "unpipe": "1.0.0" + } + }, + "statuses": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", + "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=", + "dev": true + } + } + }, + "connect-history-api-fallback": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz", + "integrity": "sha1-sGhzk0vF40T+9hGhlqb6rgruAVo=", + "dev": true + }, + "console-browserify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz", + "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=", + "dev": true, + "requires": { + "date-now": "0.1.4" + } + }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true + }, + "constants-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", + "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", + "dev": true + }, + "contains-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", + "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", + "dev": true + }, + "content-disposition": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz", + "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ=", + "dev": true + }, + "content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "dev": true + }, + "convert-source-map": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz", + "integrity": "sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + }, + "cookie": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", + "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=", + "dev": true + }, + "cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", + "dev": true + }, + "copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", + "dev": true + }, + "core-js": { + "version": "2.5.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz", + "integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw==" + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true + }, + "cosmiconfig": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-4.0.0.tgz", + "integrity": "sha512-6e5vDdrXZD+t5v0L8CrurPeybg4Fmf+FCSYxXKYVAqLUtyCSbuyqE059d0kDthTNRzKVjL7QMgNpEUlsoYH3iQ==", + "dev": true, + "requires": { + "is-directory": "0.3.1", + "js-yaml": "3.12.0", + "parse-json": "4.0.0", + "require-from-string": "2.0.2" + }, + "dependencies": { + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, + "js-yaml": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz", + "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==", + "dev": true, + "requires": { + "argparse": "1.0.10", + "esprima": "4.0.1" + } + }, + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "requires": { + "error-ex": "1.3.2", + "json-parse-better-errors": "1.0.2" + } + } + } + }, + "create-react-context": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/create-react-context/-/create-react-context-0.2.3.tgz", + "integrity": "sha512-CQBmD0+QGgTaxDL3OX1IDXYqjkp2It4RIbcb99jS6AEg27Ga+a9G3JtK6SIu0HBwPLZlmwt9F7UwWA4Bn92Rag==", + "requires": { + "fbjs": "0.8.17", + "gud": "1.0.0" + } + }, + "cross-env": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-5.2.0.tgz", + "integrity": "sha512-jtdNFfFW1hB7sMhr/H6rW1Z45LFqyI431m3qU6bFXcQ3Eh7LtBuG3h74o7ohHZ3crrRkkqHlo4jYHFPcjroANg==", + "dev": true, + "requires": { + "cross-spawn": "6.0.5", + "is-windows": "1.0.2" + } + }, + "cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "dev": true, + "requires": { + "nice-try": "1.0.4", + "path-key": "2.0.1", + "semver": "5.5.1", + "shebang-command": "1.2.0", + "which": "1.3.1" + } + }, + "cryptiles": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-0.2.2.tgz", + "integrity": "sha1-7ZH/HxetE9N0gohZT4pIoNJvMlw=", + "dev": true, + "optional": true, + "requires": { + "boom": "0.4.2" + } + }, + "crypto-browserify": { + "version": "3.3.0", + "resolved": "http://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.3.0.tgz", + "integrity": "sha1-ufx1u0oO1h3PHNXa6W6zDJw+UGw=", + "dev": true, + "requires": { + "browserify-aes": "0.4.0", + "pbkdf2-compat": "2.0.1", + "ripemd160": "0.2.0", + "sha.js": "2.2.6" + } + }, + "css-color-names": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz", + "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=", + "dev": true + }, + "css-loader": { + "version": "0.28.11", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-0.28.11.tgz", + "integrity": "sha512-wovHgjAx8ZIMGSL8pTys7edA1ClmzxHeY6n/d97gg5odgsxEgKjULPR0viqyC+FWMCL9sfqoC/QCUBo62tLvPg==", + "dev": true, + "requires": { + "babel-code-frame": "6.26.0", + "css-selector-tokenizer": "0.7.0", + "cssnano": "3.10.0", + "icss-utils": "2.1.0", + "loader-utils": "1.1.0", + "lodash.camelcase": "4.3.0", + "object-assign": "4.1.1", + "postcss": "5.2.18", + "postcss-modules-extract-imports": "1.2.0", + "postcss-modules-local-by-default": "1.2.0", + "postcss-modules-scope": "1.1.0", + "postcss-modules-values": "1.3.0", + "postcss-value-parser": "3.3.0", + "source-list-map": "2.0.0" + }, + "dependencies": { + "loader-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", + "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", + "dev": true, + "requires": { + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1" + } + } + } + }, + "css-select": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", + "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", + "dev": true, + "requires": { + "boolbase": "1.0.0", + "css-what": "2.1.2", + "domutils": "1.5.1", + "nth-check": "1.0.2" + } + }, + "css-selector-tokenizer": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.7.0.tgz", + "integrity": "sha1-5piEdK6MlTR3v15+/s/OzNnPTIY=", + "dev": true, + "requires": { + "cssesc": "0.1.0", + "fastparse": "1.1.1", + "regexpu-core": "1.0.0" + }, + "dependencies": { + "regexpu-core": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-1.0.0.tgz", + "integrity": "sha1-hqdj9Y7k18L2sQLkdkBQ3n7ZDGs=", + "dev": true, + "requires": { + "regenerate": "1.4.0", + "regjsgen": "0.2.0", + "regjsparser": "0.1.5" + } + } + } + }, + "css-what": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.2.tgz", + "integrity": "sha512-wan8dMWQ0GUeF7DGEPVjhHemVW/vy6xUYmFzRY8RYqgA0JtXC9rJmbScBjqSu6dg9q0lwPQy6ZAmJVr3PPTvqQ==", + "dev": true + }, + "cssesc": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-0.1.0.tgz", + "integrity": "sha1-yBSQPkViM3GgR3tAEJqq++6t27Q=", + "dev": true + }, + "cssnano": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-3.10.0.tgz", + "integrity": "sha1-Tzj2zqK5sX+gFJDyPx3GjqZcHDg=", + "dev": true, + "requires": { + "autoprefixer": "6.7.7", + "decamelize": "1.2.0", + "defined": "1.0.0", + "has": "1.0.3", + "object-assign": "4.1.1", + "postcss": "5.2.18", + "postcss-calc": "5.3.1", + "postcss-colormin": "2.2.2", + "postcss-convert-values": "2.6.1", + "postcss-discard-comments": "2.0.4", + "postcss-discard-duplicates": "2.1.0", + "postcss-discard-empty": "2.1.0", + "postcss-discard-overridden": "0.1.1", + "postcss-discard-unused": "2.2.3", + "postcss-filter-plugins": "2.0.2", + "postcss-merge-idents": "2.1.7", + "postcss-merge-longhand": "2.0.2", + "postcss-merge-rules": "2.1.2", + "postcss-minify-font-values": "1.0.5", + "postcss-minify-gradients": "1.0.5", + "postcss-minify-params": "1.2.2", + "postcss-minify-selectors": "2.1.1", + "postcss-normalize-charset": "1.1.1", + "postcss-normalize-url": "3.0.8", + "postcss-ordered-values": "2.2.3", + "postcss-reduce-idents": "2.4.0", + "postcss-reduce-initial": "1.0.1", + "postcss-reduce-transforms": "1.0.4", + "postcss-svgo": "2.1.6", + "postcss-unique-selectors": "2.0.2", + "postcss-value-parser": "3.3.0", + "postcss-zindex": "2.2.0" + }, + "dependencies": { + "defined": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", + "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=", + "dev": true + } + } + }, + "csso": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/csso/-/csso-2.3.2.tgz", + "integrity": "sha1-3dUsWHAz9J6Utx/FVWnyUuj/X4U=", + "dev": true, + "requires": { + "clap": "1.2.3", + "source-map": "0.5.7" + } + }, + "ctype": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/ctype/-/ctype-0.5.3.tgz", + "integrity": "sha1-gsGMJGH3QRTvFsE1IkrQuRRMoS8=", + "dev": true, + "optional": true + }, + "currently-unhandled": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", + "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", + "dev": true, + "requires": { + "array-find-index": "1.0.2" + } + }, + "custom-event": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/custom-event/-/custom-event-1.0.1.tgz", + "integrity": "sha1-XQKkaFCt8bSjF5RqOSj8y1v9BCU=", + "dev": true + }, + "d": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz", + "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=", + "dev": true, + "requires": { + "es5-ext": "0.10.46" + } + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, + "requires": { + "assert-plus": "1.0.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + } + } + }, + "date-fns": { + "version": "2.0.0-alpha.23", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.0.0-alpha.23.tgz", + "integrity": "sha512-KeTgG5mbk+o9UbMXqxOvW+G46mWOWqJdjQDOP8t82E6Q28oH2ObcBvdRQbNFR55cun4QUg359PeE/KDBWJlk9g==" + }, + "date-now": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", + "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=", + "dev": true + }, + "dateformat": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-1.0.12.tgz", + "integrity": "sha1-nxJLZ1lMk3/3BpMuSmQsyo27/uk=", + "dev": true, + "requires": { + "get-stdin": "4.0.1", + "meow": "3.7.0" + } + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true + }, + "decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "dev": true + }, + "dedent": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", + "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", + "dev": true + }, + "deep-eql": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-0.1.3.tgz", + "integrity": "sha1-71WKyrjeJSBs1xOQbXTlaTDrafI=", + "dev": true, + "requires": { + "type-detect": "0.1.1" + }, + "dependencies": { + "type-detect": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-0.1.1.tgz", + "integrity": "sha1-C6XsKohWQORw6k6FBZcZANrFiCI=", + "dev": true + } + } + }, + "deep-equal": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-0.1.2.tgz", + "integrity": "sha1-skbCuApXCkfBG+HZvRBw7IeLh84=", + "dev": true + }, + "deep-is": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", + "dev": true + }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "requires": { + "object-keys": "1.0.12" + } + }, + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "1.0.2", + "isobject": "3.0.1" + }, + "dependencies": { + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "defined": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/defined/-/defined-0.0.0.tgz", + "integrity": "sha1-817qfXBekzuvE7LwOz+D2SFAOz4=", + "dev": true + }, + "del": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz", + "integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=", + "dev": true, + "requires": { + "globby": "5.0.0", + "is-path-cwd": "1.0.0", + "is-path-in-cwd": "1.0.1", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "rimraf": "2.6.2" + } + }, + "delayed-stream": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz", + "integrity": "sha1-1LH0OpPoKW3+AmlPRoC8N6MTxz8=", + "dev": true, + "optional": true + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "dev": true + }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=", + "dev": true + }, + "detect-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", + "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", + "dev": true, + "requires": { + "repeating": "2.0.1" + } + }, + "di": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/di/-/di-0.0.1.tgz", + "integrity": "sha1-gGZJMmzqp8qjMG112YXqJ0i6kTw=", + "dev": true + }, + "diff": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.3.1.tgz", + "integrity": "sha512-MKPHZDMB0o6yHyDryUOScqZibp914ksXwAMYMTHj6KO8UeKsRYNJD3oNCKjTqZon+V488P7N/HzXF8t7ZR95ww==", + "dev": true + }, + "discontinuous-range": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/discontinuous-range/-/discontinuous-range-1.0.0.tgz", + "integrity": "sha1-44Mx8IRLukm5qctxx3FYWqsbxlo=", + "dev": true + }, + "doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "requires": { + "esutils": "2.0.2" + } + }, + "dom-serialize": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/dom-serialize/-/dom-serialize-2.2.1.tgz", + "integrity": "sha1-ViromZ9Evl6jB29UGdzVnrQ6yVs=", + "dev": true, + "requires": { + "custom-event": "1.0.1", + "ent": "2.2.0", + "extend": "3.0.2", + "void-elements": "2.0.1" + } + }, + "dom-serializer": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz", + "integrity": "sha1-BzxpdUbOB4DOI75KKOKT5AvDDII=", + "dev": true, + "requires": { + "domelementtype": "1.1.3", + "entities": "1.1.2" + }, + "dependencies": { + "domelementtype": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz", + "integrity": "sha1-vSh3PiZCiBrsUVRJJCmcXNgiGFs=", + "dev": true + } + } + }, + "dom-walk": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.1.tgz", + "integrity": "sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg=", + "dev": true + }, + "domain-browser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", + "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", + "dev": true + }, + "domelementtype": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.2.1.tgz", + "integrity": "sha512-SQVCLFS2E7G5CRCMdn6K9bIhRj1bS6QBWZfF0TUPh4V/BbqrQ619IdSS3/izn0FZ+9l+uODzaZjb08fjOfablA==", + "dev": true + }, + "domhandler": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", + "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", + "dev": true, + "requires": { + "domelementtype": "1.2.1" + } + }, + "domutils": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", + "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", + "dev": true, + "requires": { + "dom-serializer": "0.1.0", + "domelementtype": "1.2.1" + } + }, + "duplexer": { + "version": "0.1.1", + "resolved": "http://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", + "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=", + "dev": true + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, + "requires": { + "jsbn": "0.1.1", + "safer-buffer": "2.1.2" + } + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", + "dev": true + }, + "electron-to-chromium": { + "version": "1.3.67", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.67.tgz", + "integrity": "sha512-h3zEBLdHvsKfaXv1SHAtykJyNtwYFEKkrWGSFyW1BzGgPQ4ykAzD5Hd8C5MZGTAEhkCKmtyIwYUrapsI0xfKww==", + "dev": true + }, + "elegant-spinner": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/elegant-spinner/-/elegant-spinner-1.0.1.tgz", + "integrity": "sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4=", + "dev": true + }, + "emojis-list": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz", + "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=", + "dev": true + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", + "dev": true + }, + "encoding": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", + "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", + "requires": { + "iconv-lite": "0.4.24" + } + }, + "engine.io": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-1.8.3.tgz", + "integrity": "sha1-jef5eJXSDTm4X4ju7nd7K9QrE9Q=", + "dev": true, + "requires": { + "accepts": "1.3.3", + "base64id": "1.0.0", + "cookie": "0.3.1", + "debug": "2.3.3", + "engine.io-parser": "1.3.2", + "ws": "1.1.2" + }, + "dependencies": { + "accepts": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.3.tgz", + "integrity": "sha1-w8p0NJOGSMPg2cHjKN1otiLChMo=", + "dev": true, + "requires": { + "mime-types": "2.1.20", + "negotiator": "0.6.1" + } + }, + "debug": { + "version": "2.3.3", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.3.3.tgz", + "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=", + "dev": true, + "requires": { + "ms": "0.7.2" + } + }, + "mime-types": { + "version": "2.1.20", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz", + "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==", + "dev": true, + "requires": { + "mime-db": "1.36.0" + } + }, + "ms": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", + "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "dev": true + } + } + }, + "engine.io-client": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-1.8.3.tgz", + "integrity": "sha1-F5jtk0USRkU9TG9jXXogH+lA1as=", + "dev": true, + "requires": { + "component-emitter": "1.2.1", + "component-inherit": "0.0.3", + "debug": "2.3.3", + "engine.io-parser": "1.3.2", + "has-cors": "1.1.0", + "indexof": "0.0.1", + "parsejson": "0.0.3", + "parseqs": "0.0.5", + "parseuri": "0.0.5", + "ws": "1.1.2", + "xmlhttprequest-ssl": "1.5.3", + "yeast": "0.1.2" + }, + "dependencies": { + "debug": { + "version": "2.3.3", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.3.3.tgz", + "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=", + "dev": true, + "requires": { + "ms": "0.7.2" + } + }, + "ms": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", + "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "dev": true + } + } + }, + "engine.io-parser": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-1.3.2.tgz", + "integrity": "sha1-k3sHnwAH0Ik+xW1GyyILjLQ1Igo=", + "dev": true, + "requires": { + "after": "0.8.2", + "arraybuffer.slice": "0.0.6", + "base64-arraybuffer": "0.1.5", + "blob": "0.0.4", + "has-binary": "0.1.7", + "wtf-8": "1.0.0" + } + }, + "enhanced-resolve": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-0.9.1.tgz", + "integrity": "sha1-TW5omzcl+GCQknzMhs2fFjW4ni4=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "memory-fs": "0.2.0", + "tapable": "0.1.10" + }, + "dependencies": { + "memory-fs": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.2.0.tgz", + "integrity": "sha1-8rslNovBIeORwlIN6Slpyu4KApA=", + "dev": true + } + } + }, + "ent": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", + "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=", + "dev": true + }, + "entities": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==", + "dev": true + }, + "enzyme": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/enzyme/-/enzyme-3.7.0.tgz", + "integrity": "sha512-QLWx+krGK6iDNyR1KlH5YPZqxZCQaVF6ike1eDJAOg0HvSkSCVImPsdWaNw6v+VrnK92Kg8jIOYhuOSS9sBpyg==", + "dev": true, + "requires": { + "array.prototype.flat": "1.2.1", + "cheerio": "1.0.0-rc.2", + "function.prototype.name": "1.1.0", + "has": "1.0.3", + "is-boolean-object": "1.0.0", + "is-callable": "1.1.4", + "is-number-object": "1.0.3", + "is-string": "1.0.4", + "is-subset": "0.1.1", + "lodash.escape": "4.0.1", + "lodash.isequal": "4.5.0", + "object-inspect": "1.6.0", + "object-is": "1.0.1", + "object.assign": "4.1.0", + "object.entries": "1.0.4", + "object.values": "1.0.4", + "raf": "3.4.0", + "rst-selector-parser": "2.2.3", + "string.prototype.trim": "1.1.2" + } + }, + "enzyme-adapter-react-16": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.6.0.tgz", + "integrity": "sha512-ay9eGFpChyUDnjTFMMJHzrb681LF3hPWJLEA7RoLFG9jSWAdAm2V50pGmFV9dYGJgh5HfdiqM+MNvle41Yf/PA==", + "dev": true, + "requires": { + "enzyme-adapter-utils": "1.8.1", + "function.prototype.name": "1.1.0", + "object.assign": "4.1.0", + "object.values": "1.0.4", + "prop-types": "15.6.2", + "react-is": "16.5.2", + "react-test-renderer": "16.5.2" + } + }, + "enzyme-adapter-utils": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/enzyme-adapter-utils/-/enzyme-adapter-utils-1.8.1.tgz", + "integrity": "sha512-s3QB3xQAowaDS2sHhmEqrT13GJC4+n5bG015ZkLv60n9k5vhxxHTQRIneZmQ4hmdCZEBrvUJ89PG6fRI5OEeuQ==", + "dev": true, + "requires": { + "function.prototype.name": "1.1.0", + "object.assign": "4.1.0", + "prop-types": "15.6.2" + } + }, + "errno": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz", + "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==", + "dev": true, + "requires": { + "prr": "1.0.1" + } + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "0.2.1" + } + }, + "es-abstract": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.12.0.tgz", + "integrity": "sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==", + "dev": true, + "requires": { + "es-to-primitive": "1.2.0", + "function-bind": "1.1.1", + "has": "1.0.3", + "is-callable": "1.1.4", + "is-regex": "1.0.4" + } + }, + "es-to-primitive": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz", + "integrity": "sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==", + "dev": true, + "requires": { + "is-callable": "1.1.4", + "is-date-object": "1.0.1", + "is-symbol": "1.0.2" + } + }, + "es5-ext": { + "version": "0.10.46", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.46.tgz", + "integrity": "sha512-24XxRvJXNFwEMpJb3nOkiRJKRoupmjYmOPVlI65Qy2SrtxwOTB+g6ODjBKOtwEHbYrhWRty9xxOWLNdClT2djw==", + "dev": true, + "requires": { + "es6-iterator": "2.0.3", + "es6-symbol": "3.1.1", + "next-tick": "1.0.0" + } + }, + "es6-iterator": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", + "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46", + "es6-symbol": "3.1.1" + } + }, + "es6-map": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz", + "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46", + "es6-iterator": "2.0.3", + "es6-set": "0.1.5", + "es6-symbol": "3.1.1", + "event-emitter": "0.3.5" + } + }, + "es6-set": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz", + "integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46", + "es6-iterator": "2.0.3", + "es6-symbol": "3.1.1", + "event-emitter": "0.3.5" + } + }, + "es6-symbol": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz", + "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46" + } + }, + "es6-weak-map": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.2.tgz", + "integrity": "sha1-XjqzIlH/0VOKH45f+hNXdy+S2W8=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46", + "es6-iterator": "2.0.3", + "es6-symbol": "3.1.1" + } + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "escodegen": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.11.0.tgz", + "integrity": "sha512-IeMV45ReixHS53K/OmfKAIztN/igDHzTJUhZM3k1jMhIZWjk45SMwAtBsEXiJp3vSPmTcu6CXn7mDvFHRN66fw==", + "dev": true, + "requires": { + "esprima": "3.1.3", + "estraverse": "4.2.0", + "esutils": "2.0.2", + "optionator": "0.8.2", + "source-map": "0.6.1" + }, + "dependencies": { + "esprima": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz", + "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "optional": true + } + } + }, + "escope": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/escope/-/escope-3.6.0.tgz", + "integrity": "sha1-4Bl16BJ4GhY6ba392AOY3GTIicM=", + "dev": true, + "requires": { + "es6-map": "0.1.5", + "es6-weak-map": "2.0.2", + "esrecurse": "4.2.1", + "estraverse": "4.2.0" + } + }, + "eslint": { + "version": "4.19.1", + "resolved": "http://registry.npmjs.org/eslint/-/eslint-4.19.1.tgz", + "integrity": "sha512-bT3/1x1EbZB7phzYu7vCr1v3ONuzDtX8WjuM9c0iYxe+cq+pwcKEoQjl7zd3RpC6YOLgnSy3cTN58M2jcoPDIQ==", + "dev": true, + "requires": { + "ajv": "5.5.2", + "babel-code-frame": "6.26.0", + "chalk": "2.4.1", + "concat-stream": "1.6.2", + "cross-spawn": "5.1.0", + "debug": "3.2.5", + "doctrine": "2.1.0", + "eslint-scope": "3.7.1", + "eslint-visitor-keys": "1.0.0", + "espree": "3.5.4", + "esquery": "1.0.1", + "esutils": "2.0.2", + "file-entry-cache": "2.0.0", + "functional-red-black-tree": "1.0.1", + "glob": "7.1.3", + "globals": "11.7.0", + "ignore": "3.3.10", + "imurmurhash": "0.1.4", + "inquirer": "3.3.0", + "is-resolvable": "1.1.0", + "js-yaml": "3.12.0", + "json-stable-stringify-without-jsonify": "1.0.1", + "levn": "0.3.0", + "lodash": "4.17.11", + "minimatch": "3.0.4", + "mkdirp": "0.5.1", + "natural-compare": "1.4.0", + "optionator": "0.8.2", + "path-is-inside": "1.0.2", + "pluralize": "7.0.0", + "progress": "2.0.0", + "regexpp": "1.1.0", + "require-uncached": "1.0.3", + "semver": "5.5.1", + "strip-ansi": "4.0.0", + "strip-json-comments": "2.0.1", + "table": "4.0.2", + "text-table": "0.2.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "cross-spawn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "dev": true, + "requires": { + "lru-cache": "4.1.3", + "shebang-command": "1.2.0", + "which": "1.3.1" + } + }, + "debug": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.5.tgz", + "integrity": "sha512-D61LaDQPQkxJ5AUM2mbSJRbPkNs/TmdmOeLAi1hgDkpDfIfetSrjmWhccwtuResSwMbACjx/xXQofvM9CE/aeg==", + "dev": true, + "requires": { + "ms": "2.1.1" + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, + "globals": { + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.7.0.tgz", + "integrity": "sha512-K8BNSPySfeShBQXsahYB/AbbWruVOTyVpgoIDnl8odPpeSfP2J5QO2oLFFdl2j7GfDCtZj2bMKar2T49itTPCg==", + "dev": true + }, + "js-yaml": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz", + "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==", + "dev": true, + "requires": { + "argparse": "1.0.10", + "esprima": "4.0.1" + } + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "3.0.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "eslint-import-resolver-node": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz", + "integrity": "sha512-sfmTqJfPSizWu4aymbPr4Iidp5yKm8yDkHp+Ir3YiTHiiDfxh69mOUsmiqW6RZ9zRXFaF64GtYmN7e+8GHBv6Q==", + "dev": true, + "requires": { + "debug": "2.6.9", + "resolve": "1.8.1" + } + }, + "eslint-module-utils": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.2.0.tgz", + "integrity": "sha1-snA2LNiLGkitMIl2zn+lTphBF0Y=", + "dev": true, + "requires": { + "debug": "2.6.9", + "pkg-dir": "1.0.0" + } + }, + "eslint-plugin-import": { + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.14.0.tgz", + "integrity": "sha512-FpuRtniD/AY6sXByma2Wr0TXvXJ4nA/2/04VPlfpmUDPOpOY264x+ILiwnrk/k4RINgDAyFZByxqPUbSQ5YE7g==", + "dev": true, + "requires": { + "contains-path": "0.1.0", + "debug": "2.6.9", + "doctrine": "1.5.0", + "eslint-import-resolver-node": "0.3.2", + "eslint-module-utils": "2.2.0", + "has": "1.0.3", + "lodash": "4.17.11", + "minimatch": "3.0.4", + "read-pkg-up": "2.0.0", + "resolve": "1.8.1" + }, + "dependencies": { + "doctrine": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", + "dev": true, + "requires": { + "esutils": "2.0.2", + "isarray": "1.0.0" + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + } + } + }, + "eslint-plugin-node": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-5.2.1.tgz", + "integrity": "sha512-xhPXrh0Vl/b7870uEbaumb2Q+LxaEcOQ3kS1jtIXanBAwpMre1l5q/l2l/hESYJGEFKuI78bp6Uw50hlpr7B+g==", + "dev": true, + "requires": { + "ignore": "3.3.10", + "minimatch": "3.0.4", + "resolve": "1.8.1", + "semver": "5.3.0" + }, + "dependencies": { + "semver": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", + "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=", + "dev": true + } + } + }, + "eslint-plugin-promise": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-3.8.0.tgz", + "integrity": "sha512-JiFL9UFR15NKpHyGii1ZcvmtIqa3UTwiDAGb8atSffe43qJ3+1czVGN6UtkklpcJ2DVnqvTMzEKRaJdBkAL2aQ==", + "dev": true + }, + "eslint-plugin-react": { + "version": "7.11.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.11.1.tgz", + "integrity": "sha512-cVVyMadRyW7qsIUh3FHp3u6QHNhOgVrLQYdQEB1bPWBsgbNCHdFAeNMquBMCcZJu59eNthX053L70l7gRt4SCw==", + "dev": true, + "requires": { + "array-includes": "3.0.3", + "doctrine": "2.1.0", + "has": "1.0.3", + "jsx-ast-utils": "2.0.1", + "prop-types": "15.6.2" + } + }, + "eslint-scope": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.1.tgz", + "integrity": "sha1-PWPD7f2gLgbgGkUq2IyqzHzctug=", + "dev": true, + "requires": { + "esrecurse": "4.2.1", + "estraverse": "4.2.0" + } + }, + "eslint-visitor-keys": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", + "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==", + "dev": true + }, + "espree": { + "version": "3.5.4", + "resolved": "https://registry.npmjs.org/espree/-/espree-3.5.4.tgz", + "integrity": "sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A==", + "dev": true, + "requires": { + "acorn": "5.7.3", + "acorn-jsx": "3.0.1" + } + }, + "esprima": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", + "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=", + "dev": true + }, + "esquery": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", + "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==", + "dev": true, + "requires": { + "estraverse": "4.2.0" + } + }, + "esrecurse": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", + "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", + "dev": true, + "requires": { + "estraverse": "4.2.0" + } + }, + "estraverse": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", + "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", + "dev": true + }, + "estree-walker": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.2.1.tgz", + "integrity": "sha1-va/oCVOD2EFNXcLs9MkXO225QS4=", + "dev": true + }, + "esutils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", + "dev": true + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", + "dev": true + }, + "event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.46" + } + }, + "event-stream": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/event-stream/-/event-stream-3.3.6.tgz", + "integrity": "sha512-dGXNg4F/FgVzlApjzItL+7naHutA3fDqbV/zAZqDDlXTjiMnQmZKu+prImWKszeBM5UQeGvAl3u1wBiKeDh61g==", + "dev": true, + "requires": { + "duplexer": "0.1.1", + "flatmap-stream": "0.1.1", + "from": "0.1.7", + "map-stream": "0.0.7", + "pause-stream": "0.0.11", + "split": "1.0.1", + "stream-combiner": "0.2.2", + "through": "2.3.8" + }, + "dependencies": { + "split": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", + "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", + "dev": true, + "requires": { + "through": "2.3.8" + } + }, + "stream-combiner": { + "version": "0.2.2", + "resolved": "http://registry.npmjs.org/stream-combiner/-/stream-combiner-0.2.2.tgz", + "integrity": "sha1-rsjLrBd7Vrb0+kec7YwZEs7lKFg=", + "dev": true, + "requires": { + "duplexer": "0.1.1", + "through": "2.3.8" + } + } + } + }, + "eventemitter3": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.0.tgz", + "integrity": "sha512-ivIvhpq/Y0uSjcHDcOIccjmYjGLcP09MFGE7ysAwkAvkXfpZlC985pH2/ui64DKazbTW/4kN3yqozUxlXzI6cA==", + "dev": true + }, + "events": { + "version": "1.1.1", + "resolved": "http://registry.npmjs.org/events/-/events-1.1.1.tgz", + "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=", + "dev": true + }, + "eventsource": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-0.1.6.tgz", + "integrity": "sha1-Cs7ehJ7X3RzMMsgRuxG5RNTykjI=", + "dev": true, + "requires": { + "original": "1.0.2" + } + }, + "execa": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.8.0.tgz", + "integrity": "sha1-2NdrvBtVIX7RkP1t1J08d07PyNo=", + "dev": true, + "requires": { + "cross-spawn": "5.1.0", + "get-stream": "3.0.0", + "is-stream": "1.1.0", + "npm-run-path": "2.0.2", + "p-finally": "1.0.0", + "signal-exit": "3.0.2", + "strip-eof": "1.0.0" + }, + "dependencies": { + "cross-spawn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "dev": true, + "requires": { + "lru-cache": "4.1.3", + "shebang-command": "1.2.0", + "which": "1.3.1" + } + } + } + }, + "exit-hook": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz", + "integrity": "sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g=", + "dev": true + }, + "expand-braces": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/expand-braces/-/expand-braces-0.1.2.tgz", + "integrity": "sha1-SIsdHSRRyz06axks/AMPRMWFX+o=", + "dev": true, + "requires": { + "array-slice": "0.2.3", + "array-unique": "0.2.1", + "braces": "0.1.5" + }, + "dependencies": { + "braces": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/braces/-/braces-0.1.5.tgz", + "integrity": "sha1-wIVxEIUpHYt1/ddOqw+FlygHEeY=", + "dev": true, + "requires": { + "expand-range": "0.1.1" + } + }, + "expand-range": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-0.1.1.tgz", + "integrity": "sha1-TLjtoJk8pW+k9B/ELzy7TMrf8EQ=", + "dev": true, + "requires": { + "is-number": "0.1.1", + "repeat-string": "0.2.2" + } + }, + "is-number": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-0.1.1.tgz", + "integrity": "sha1-aaevEWlj1HIG7JvZtIoUIW8eOAY=", + "dev": true + }, + "repeat-string": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-0.2.2.tgz", + "integrity": "sha1-x6jTI2BoNiBZp+RlH8aITosftK4=", + "dev": true + } + } + }, + "expand-brackets": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", + "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", + "dev": true, + "requires": { + "is-posix-bracket": "0.1.1" + } + }, + "expand-range": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", + "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", + "dev": true, + "requires": { + "fill-range": "2.2.4" + } + }, + "express": { + "version": "4.16.4", + "resolved": "https://registry.npmjs.org/express/-/express-4.16.4.tgz", + "integrity": "sha512-j12Uuyb4FMrd/qQAm6uCHAkPtO8FDTRJZBDd5D2KOL2eLaz1yUNdUB/NOIyq0iU4q4cFarsUCrnFDPBcnksuOg==", + "dev": true, + "requires": { + "accepts": "1.3.5", + "array-flatten": "1.1.1", + "body-parser": "1.18.3", + "content-disposition": "0.5.2", + "content-type": "1.0.4", + "cookie": "0.3.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "1.1.2", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "etag": "1.8.1", + "finalhandler": "1.1.1", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "1.1.2", + "on-finished": "2.3.0", + "parseurl": "1.3.2", + "path-to-regexp": "0.1.7", + "proxy-addr": "2.0.4", + "qs": "6.5.2", + "range-parser": "1.2.0", + "safe-buffer": "5.1.2", + "send": "0.16.2", + "serve-static": "1.13.2", + "setprototypeof": "1.1.0", + "statuses": "1.4.0", + "type-is": "1.6.16", + "utils-merge": "1.0.1", + "vary": "1.1.2" + }, + "dependencies": { + "body-parser": { + "version": "1.18.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.3.tgz", + "integrity": "sha1-WykhmP/dVTs6DyDe0FkrlWlVyLQ=", + "dev": true, + "requires": { + "bytes": "3.0.0", + "content-type": "1.0.4", + "debug": "2.6.9", + "depd": "1.1.2", + "http-errors": "1.6.3", + "iconv-lite": "0.4.23", + "on-finished": "2.3.0", + "qs": "6.5.2", + "raw-body": "2.3.3", + "type-is": "1.6.16" + } + }, + "iconv-lite": { + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", + "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", + "dev": true, + "requires": { + "safer-buffer": "2.1.2" + } + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true + }, + "raw-body": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.3.tgz", + "integrity": "sha512-9esiElv1BrZoI3rCDuOuKCBRbuApGGaDPQfjSflGxdy4oyzqghxu6klEkkVIvBje+FF0BX9coEv8KqW6X/7njw==", + "dev": true, + "requires": { + "bytes": "3.0.0", + "http-errors": "1.6.3", + "iconv-lite": "0.4.23", + "unpipe": "1.0.0" + } + } + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "dev": true, + "requires": { + "assign-symbols": "1.0.0", + "is-extendable": "1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "2.0.4" + } + } + } + }, + "external-editor": { + "version": "2.2.0", + "resolved": "http://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", + "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", + "dev": true, + "requires": { + "chardet": "0.4.2", + "iconv-lite": "0.4.24", + "tmp": "0.0.33" + } + }, + "extglob": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", + "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", + "dev": true, + "requires": { + "is-extglob": "1.0.0" + } + }, + "extract-text-webpack-plugin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/extract-text-webpack-plugin/-/extract-text-webpack-plugin-1.0.1.tgz", + "integrity": "sha1-yVvzy6rEnclvHcbgclSfu2VMzSw=", + "dev": true, + "requires": { + "async": "1.5.2", + "loader-utils": "0.2.17", + "webpack-sources": "0.1.5" + }, + "dependencies": { + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + } + } + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true + }, + "fast-deep-equal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", + "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=", + "dev": true + }, + "fast-json-stable-stringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "fastparse": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.1.tgz", + "integrity": "sha1-0eJkOzipTXWDtHkGDmxK/8lAcfg=", + "dev": true + }, + "faye-websocket": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz", + "integrity": "sha1-TkkvjQTftviQA1B/btvy1QHnxvQ=", + "dev": true, + "requires": { + "websocket-driver": "0.7.0" + } + }, + "fbjs": { + "version": "0.8.17", + "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.17.tgz", + "integrity": "sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90=", + "requires": { + "core-js": "1.2.7", + "isomorphic-fetch": "2.2.1", + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "promise": "7.3.1", + "setimmediate": "1.0.5", + "ua-parser-js": "0.7.18" + }, + "dependencies": { + "core-js": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", + "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=" + } + } + }, + "figures": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5" + } + }, + "file-entry-cache": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz", + "integrity": "sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E=", + "dev": true, + "requires": { + "flat-cache": "1.3.0", + "object-assign": "4.1.1" + } + }, + "filename-regex": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", + "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=", + "dev": true + }, + "fileset": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fileset/-/fileset-0.2.1.tgz", + "integrity": "sha1-WI74lzxmI7KnbfRlEFaWuWqsgGc=", + "dev": true, + "requires": { + "glob": "5.0.15", + "minimatch": "2.0.10" + }, + "dependencies": { + "glob": { + "version": "5.0.15", + "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", + "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=", + "dev": true, + "requires": { + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "2.0.10", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "minimatch": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-2.0.10.tgz", + "integrity": "sha1-jQh8OcazjAAbl/ynzm0OHoCvusc=", + "dev": true, + "requires": { + "brace-expansion": "1.1.11" + } + } + } + }, + "fill-range": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz", + "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==", + "dev": true, + "requires": { + "is-number": "2.1.0", + "isobject": "2.1.0", + "randomatic": "3.1.0", + "repeat-element": "1.1.3", + "repeat-string": "1.6.1" + } + }, + "finalhandler": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz", + "integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==", + "dev": true, + "requires": { + "debug": "2.6.9", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "on-finished": "2.3.0", + "parseurl": "1.3.2", + "statuses": "1.4.0", + "unpipe": "1.0.0" + } + }, + "find-cache-dir": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-0.1.1.tgz", + "integrity": "sha1-yN765XyKUqinhPnjHFfHQumToLk=", + "dev": true, + "requires": { + "commondir": "1.0.1", + "mkdirp": "0.5.1", + "pkg-dir": "1.0.0" + } + }, + "find-parent-dir": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/find-parent-dir/-/find-parent-dir-0.3.0.tgz", + "integrity": "sha1-M8RLQpqysvBkYpnF+fcY83b/jVQ=", + "dev": true + }, + "find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "dev": true, + "requires": { + "path-exists": "2.1.0", + "pinkie-promise": "2.0.1" + } + }, + "flat-cache": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.0.tgz", + "integrity": "sha1-0wMLMrOBVPTjt+nHCfSQ9++XxIE=", + "dev": true, + "requires": { + "circular-json": "0.3.3", + "del": "2.2.2", + "graceful-fs": "4.1.11", + "write": "0.2.1" + } + }, + "flatmap-stream": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/flatmap-stream/-/flatmap-stream-0.1.1.tgz", + "integrity": "sha512-lAq4tLbm3sidmdCN8G3ExaxH7cUCtP5mgDvrYowsx84dcYkJJ4I28N7gkxA6+YlSXzaGLJYIDEi9WGfXzMiXdw==", + "dev": true + }, + "flatten": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/flatten/-/flatten-1.0.2.tgz", + "integrity": "sha1-2uRqnXj74lKSJYzB54CkHZXAN4I=", + "dev": true + }, + "flow-bin": { + "version": "0.68.0", + "resolved": "http://registry.npmjs.org/flow-bin/-/flow-bin-0.68.0.tgz", + "integrity": "sha1-hsLRSFfTBusuheJ08u6/VDVk9iM=", + "dev": true + }, + "follow-redirects": { + "version": "1.5.8", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.8.tgz", + "integrity": "sha512-sy1mXPmv7kLAMKW/8XofG7o9T+6gAjzdZK4AJF6ryqQYUa/hnzgiypoeUecZ53x7XiqKNEpNqLtS97MshW2nxg==", + "dev": true, + "requires": { + "debug": "3.1.0" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + }, + "for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true + }, + "for-own": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", + "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", + "dev": true, + "requires": { + "for-in": "1.0.2" + } + }, + "forever-agent": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.5.2.tgz", + "integrity": "sha1-bQ4JxJIflKJ/Y9O0nF/v8epMUTA=", + "dev": true + }, + "form-data": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-0.1.4.tgz", + "integrity": "sha1-kavXiKupcCsaq/qLwBAxoqyeOxI=", + "dev": true, + "optional": true, + "requires": { + "async": "0.9.2", + "combined-stream": "0.0.7", + "mime": "1.2.11" + } + }, + "forwarded": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", + "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=", + "dev": true + }, + "fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "dev": true, + "requires": { + "map-cache": "0.2.2" + } + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", + "dev": true + }, + "from": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/from/-/from-0.1.7.tgz", + "integrity": "sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4=", + "dev": true + }, + "front-matter": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/front-matter/-/front-matter-2.1.2.tgz", + "integrity": "sha1-91mDufL0E75ljJPf172M5AePXNs=", + "dev": true, + "requires": { + "js-yaml": "3.7.0" + } + }, + "fs-extra": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-3.0.1.tgz", + "integrity": "sha1-N5TzeMWLNC6n27sjCVEJxLO2IpE=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "jsonfile": "3.0.1", + "universalify": "0.1.2" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "fsevents": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.4.tgz", + "integrity": "sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==", + "dev": true, + "optional": true, + "requires": { + "nan": "2.11.1", + "node-pre-gyp": "0.10.0" + }, + "dependencies": { + "abbrev": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "ansi-regex": { + "version": "2.1.1", + "bundled": true, + "dev": true + }, + "aproba": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + }, + "are-we-there-yet": { + "version": "1.1.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "delegates": "1.0.0", + "readable-stream": "2.3.6" + } + }, + "balanced-match": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "bundled": true, + "dev": true, + "requires": { + "balanced-match": "1.0.0", + "concat-map": "0.0.1" + } + }, + "chownr": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "code-point-at": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "bundled": true, + "dev": true + }, + "console-control-strings": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "core-util-is": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "debug": { + "version": "2.6.9", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ms": "2.0.0" + } + }, + "deep-extend": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "optional": true + }, + "delegates": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "detect-libc": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "fs-minipass": { + "version": "1.2.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minipass": "2.2.4" + } + }, + "fs.realpath": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "gauge": { + "version": "2.7.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "aproba": "1.2.0", + "console-control-strings": "1.1.0", + "has-unicode": "2.0.1", + "object-assign": "4.1.1", + "signal-exit": "3.0.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wide-align": "1.1.2" + } + }, + "glob": { + "version": "7.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "has-unicode": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "iconv-lite": { + "version": "0.4.21", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safer-buffer": "2.1.2" + } + }, + "ignore-walk": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minimatch": "3.0.4" + } + }, + "inflight": { + "version": "1.0.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "once": "1.4.0", + "wrappy": "1.0.2" + } + }, + "inherits": { + "version": "2.0.3", + "bundled": true, + "dev": true + }, + "ini": { + "version": "1.3.5", + "bundled": true, + "dev": true, + "optional": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "isarray": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "minimatch": { + "version": "3.0.4", + "bundled": true, + "dev": true, + "requires": { + "brace-expansion": "1.1.11" + } + }, + "minimist": { + "version": "0.0.8", + "bundled": true, + "dev": true + }, + "minipass": { + "version": "2.2.4", + "bundled": true, + "dev": true, + "requires": { + "safe-buffer": "5.1.1", + "yallist": "3.0.2" + } + }, + "minizlib": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minipass": "2.2.4" + } + }, + "mkdirp": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "requires": { + "minimist": "0.0.8" + } + }, + "ms": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "needle": { + "version": "2.2.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "debug": "2.6.9", + "iconv-lite": "0.4.21", + "sax": "1.2.4" + } + }, + "node-pre-gyp": { + "version": "0.10.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "detect-libc": "1.0.3", + "mkdirp": "0.5.1", + "needle": "2.2.0", + "nopt": "4.0.1", + "npm-packlist": "1.1.10", + "npmlog": "4.1.2", + "rc": "1.2.7", + "rimraf": "2.6.2", + "semver": "5.5.0", + "tar": "4.4.1" + } + }, + "nopt": { + "version": "4.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "abbrev": "1.1.1", + "osenv": "0.1.5" + } + }, + "npm-bundled": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "npm-packlist": { + "version": "1.1.10", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ignore-walk": "3.0.1", + "npm-bundled": "1.0.3" + } + }, + "npmlog": { + "version": "4.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "are-we-there-yet": "1.1.4", + "console-control-strings": "1.1.0", + "gauge": "2.7.4", + "set-blocking": "2.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "once": { + "version": "1.4.0", + "bundled": true, + "dev": true, + "requires": { + "wrappy": "1.0.2" + } + }, + "os-homedir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "os-tmpdir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "osenv": { + "version": "0.1.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "process-nextick-args": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "rc": { + "version": "1.2.7", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "deep-extend": "0.5.1", + "ini": "1.3.5", + "minimist": "1.2.0", + "strip-json-comments": "2.0.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "readable-stream": { + "version": "2.3.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.1", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "rimraf": { + "version": "2.6.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "glob": "7.1.2" + } + }, + "safe-buffer": { + "version": "5.1.1", + "bundled": true, + "dev": true + }, + "safer-buffer": { + "version": "2.1.2", + "bundled": true, + "dev": true, + "optional": true + }, + "sax": { + "version": "1.2.4", + "bundled": true, + "dev": true, + "optional": true + }, + "semver": { + "version": "5.5.0", + "bundled": true, + "dev": true, + "optional": true + }, + "set-blocking": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "signal-exit": { + "version": "3.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "string-width": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "5.1.1" + } + }, + "strip-ansi": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "requires": { + "ansi-regex": "2.1.1" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "tar": { + "version": "4.4.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "chownr": "1.0.1", + "fs-minipass": "1.2.5", + "minipass": "2.2.4", + "minizlib": "1.1.0", + "mkdirp": "0.5.1", + "safe-buffer": "5.1.1", + "yallist": "3.0.2" + } + }, + "util-deprecate": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "wide-align": { + "version": "1.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "string-width": "1.0.2" + } + }, + "wrappy": { + "version": "1.0.2", + "bundled": true, + "dev": true + }, + "yallist": { + "version": "3.0.2", + "bundled": true, + "dev": true + } + } + }, + "fstream": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz", + "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "inherits": "2.0.3", + "mkdirp": "0.5.1", + "rimraf": "2.6.2" + } + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "function.prototype.name": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.0.tgz", + "integrity": "sha512-Bs0VRrTz4ghD8pTmbJQD1mZ8A/mN0ur/jGz+A6FBxPDUPkm1tNfF6bhTYPA7i7aF4lZJVr+OXTNNrnnIl58Wfg==", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "function-bind": "1.1.1", + "is-callable": "1.1.4" + } + }, + "functional-red-black-tree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", + "dev": true + }, + "gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "dev": true, + "requires": { + "aproba": "1.2.0", + "console-control-strings": "1.1.0", + "has-unicode": "2.0.1", + "object-assign": "4.1.1", + "signal-exit": "3.0.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wide-align": "1.1.3" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + } + } + }, + "gaze": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz", + "integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==", + "dev": true, + "requires": { + "globule": "1.2.1" + } + }, + "generate-function": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.3.1.tgz", + "integrity": "sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==", + "dev": true, + "requires": { + "is-property": "1.0.2" + } + }, + "generate-object-property": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz", + "integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA=", + "dev": true, + "requires": { + "is-property": "1.0.2" + } + }, + "get-caller-file": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", + "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==", + "dev": true + }, + "get-own-enumerable-property-symbols": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-2.0.1.tgz", + "integrity": "sha512-TtY/sbOemiMKPRUDDanGCSgBYe7Mf0vbRsWnBZ+9yghpZ1MvcpSpuZFjHdEeY/LZjZy0vdLjS77L6HosisFiug==", + "dev": true + }, + "get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", + "dev": true + }, + "get-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", + "dev": true + }, + "get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", + "dev": true + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, + "requires": { + "assert-plus": "1.0.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + } + } + }, + "glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "dev": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "glob-base": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", + "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", + "dev": true, + "requires": { + "glob-parent": "2.0.0", + "is-glob": "2.0.1" + } + }, + "glob-parent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "dev": true, + "requires": { + "is-glob": "2.0.1" + } + }, + "global": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/global/-/global-4.3.2.tgz", + "integrity": "sha1-52mJJopsdMOJCLEwWxD8DjlOnQ8=", + "dev": true, + "requires": { + "min-document": "2.19.0", + "process": "0.5.2" + } + }, + "globals": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", + "dev": true + }, + "globby": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz", + "integrity": "sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0=", + "dev": true, + "requires": { + "array-union": "1.0.2", + "arrify": "1.0.1", + "glob": "7.1.3", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + } + }, + "globule": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/globule/-/globule-1.2.1.tgz", + "integrity": "sha512-g7QtgWF4uYSL5/dn71WxubOrS7JVGCnFPEnoeChJmBnyR9Mw8nGoEwOgJL/RC2Te0WhbsEUCejfH8SZNJ+adYQ==", + "dev": true, + "requires": { + "glob": "7.1.3", + "lodash": "4.17.11", + "minimatch": "3.0.4" + } + }, + "gonzales-pe-sl": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/gonzales-pe-sl/-/gonzales-pe-sl-4.2.3.tgz", + "integrity": "sha1-aoaLw4BkXxQf7rBCxvl/zHG1n+Y=", + "dev": true, + "requires": { + "minimist": "1.1.3" + }, + "dependencies": { + "minimist": { + "version": "1.1.3", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.1.3.tgz", + "integrity": "sha1-O+39kaktOQFvz6ocaB6Pqhoe/ag=", + "dev": true + } + } + }, + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", + "dev": true + }, + "growl": { + "version": "1.10.3", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.3.tgz", + "integrity": "sha512-hKlsbA5Vu3xsh1Cg3J7jSmX/WaW6A5oBeqzM88oNbCRQFz+zUaXm6yxS4RVytp1scBoJzSYl4YAEOQIt6O8V1Q==", + "dev": true + }, + "gud": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/gud/-/gud-1.0.0.tgz", + "integrity": "sha512-zGEOVKFM5sVPPrYs7J5/hYEw2Pof8KCyOwyhG8sAF26mCAeUFAcYPu1mwB7hhpIP29zOIBaDqwuHdLp0jvZXjw==" + }, + "handlebars": { + "version": "4.0.12", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.12.tgz", + "integrity": "sha512-RhmTekP+FZL+XNhwS1Wf+bTTZpdLougwt5pcgA1tuz6Jcx0fpH/7z0qd71RKnZHBCxIRBHfBOnio4gViPemNzA==", + "dev": true, + "requires": { + "async": "2.6.1", + "optimist": "0.6.1", + "source-map": "0.6.1", + "uglify-js": "3.4.9" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true + }, + "har-validator": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.0.tgz", + "integrity": "sha512-+qnmNjI4OfH2ipQ9VQOw23bBd/ibtfbVdK2fYbY4acTDqKTW/YDp9McimZdDbG8iV9fZizUqQMD5xvriB146TA==", + "dev": true, + "requires": { + "ajv": "5.5.2", + "har-schema": "2.0.0" + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "requires": { + "function-bind": "1.1.1" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "requires": { + "ansi-regex": "2.1.1" + } + }, + "has-binary": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/has-binary/-/has-binary-0.1.7.tgz", + "integrity": "sha1-aOYesWIQyVRaClzOBqhzkS/h5ow=", + "dev": true, + "requires": { + "isarray": "0.0.1" + } + }, + "has-color": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/has-color/-/has-color-0.1.7.tgz", + "integrity": "sha1-ZxRKUmDDT8PMpnfQQdr1L+e3iy8=", + "dev": true + }, + "has-cors": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-cors/-/has-cors-1.1.0.tgz", + "integrity": "sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk=", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "has-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz", + "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=", + "dev": true + }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true + }, + "has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "dev": true, + "requires": { + "get-value": "2.0.6", + "has-values": "1.0.0", + "isobject": "3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", + "dev": true, + "requires": { + "is-number": "3.0.0", + "kind-of": "4.0.0" + }, + "dependencies": { + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "hawk": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/hawk/-/hawk-1.1.1.tgz", + "integrity": "sha1-h81JH5tG5OKurKM1QWdmiF0tHtk=", + "dev": true, + "optional": true, + "requires": { + "boom": "0.4.2", + "cryptiles": "0.2.2", + "hoek": "0.9.1", + "sntp": "0.2.4" + } + }, + "he": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", + "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=", + "dev": true + }, + "highlight.js": { + "version": "9.13.1", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.13.1.tgz", + "integrity": "sha512-Sc28JNQNDzaH6PORtRLMvif9RSn1mYuOoX3omVjnb0+HbpPygU2ALBI0R/wsiqCb4/fcp07Gdo8g+fhtFrQl6A==", + "dev": true + }, + "hoek": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz", + "integrity": "sha1-PTIkYrrfB3Fup+uFuviAec3c5QU=", + "dev": true + }, + "home-or-tmp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", + "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", + "dev": true, + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, + "hosted-git-info": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz", + "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==", + "dev": true + }, + "html-comment-regex": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.1.tgz", + "integrity": "sha1-ZouTd26q5V696POtRkswekljYl4=", + "dev": true + }, + "html-entities": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-1.2.1.tgz", + "integrity": "sha1-DfKTUfByEWNRXfueVUPl9u7VFi8=", + "dev": true + }, + "htmlparser2": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.0.tgz", + "integrity": "sha512-J1nEUGv+MkXS0weHNWVKJJ+UrLfePxRWpN3C9bEi9fLxL2+ggW94DQvgYVXsaT30PGwYRIZKNZXuyMhp3Di4bQ==", + "dev": true, + "requires": { + "domelementtype": "1.3.0", + "domhandler": "2.4.2", + "domutils": "1.5.1", + "entities": "1.1.2", + "inherits": "2.0.3", + "readable-stream": "3.0.6" + }, + "dependencies": { + "domelementtype": { + "version": "1.3.0", + "resolved": "http://registry.npmjs.org/domelementtype/-/domelementtype-1.3.0.tgz", + "integrity": "sha1-sXrtguirWeUt2cGbF1bg/BhyBMI=", + "dev": true + }, + "readable-stream": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.0.6.tgz", + "integrity": "sha512-9E1oLoOWfhSXHGv6QlwXJim7uNzd9EVlWK+21tCU9Ju/kR0/p2AZYPz4qSchgO8PlLIH4FpZYfzwS+rEksZjIg==", + "dev": true, + "requires": { + "inherits": "2.0.3", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "http-errors": { + "version": "1.6.3", + "resolved": "http://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", + "dev": true, + "requires": { + "depd": "1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": "1.4.0" + } + }, + "http-parser-js": { + "version": "0.4.13", + "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.4.13.tgz", + "integrity": "sha1-O9bW/ebjFyyTNMOzO2wZPYD+ETc=", + "dev": true + }, + "http-proxy": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.17.0.tgz", + "integrity": "sha512-Taqn+3nNvYRfJ3bGvKfBSRwy1v6eePlm3oc/aWVxZp57DQr5Eq3xhKJi7Z4hZpS8PC3H4qI+Yly5EmFacGuA/g==", + "dev": true, + "requires": { + "eventemitter3": "3.1.0", + "follow-redirects": "1.5.8", + "requires-port": "1.0.0" + } + }, + "http-proxy-middleware": { + "version": "0.17.4", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.17.4.tgz", + "integrity": "sha1-ZC6ISIUdZvCdTxJJEoRtuutBuDM=", + "dev": true, + "requires": { + "http-proxy": "1.17.0", + "is-glob": "3.1.0", + "lodash": "4.17.11", + "micromatch": "2.3.11" + }, + "dependencies": { + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "2.1.1" + } + } + } + }, + "http-signature": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-0.10.1.tgz", + "integrity": "sha1-T72sEyVZqoMjEh5UB3nAoBKyfmY=", + "dev": true, + "optional": true, + "requires": { + "asn1": "0.1.11", + "assert-plus": "0.1.5", + "ctype": "0.5.3" + } + }, + "https-browserify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-0.0.1.tgz", + "integrity": "sha1-P5E2XKvmC3ftDruiS0VOPgnZWoI=", + "dev": true + }, + "husky": { + "version": "0.14.3", + "resolved": "https://registry.npmjs.org/husky/-/husky-0.14.3.tgz", + "integrity": "sha512-e21wivqHpstpoiWA/Yi8eFti8E+sQDSS53cpJsPptPs295QTOQR0ZwnHo2TXy1XOpZFD9rPOd3NpmqTK6uMLJA==", + "dev": true, + "requires": { + "is-ci": "1.2.1", + "normalize-path": "1.0.0", + "strip-indent": "2.0.0" + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "requires": { + "safer-buffer": "2.1.2" + } + }, + "icss-replace-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz", + "integrity": "sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=", + "dev": true + }, + "icss-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-2.1.0.tgz", + "integrity": "sha1-g/Cg7DeL8yRheLbCrZE28TWxyWI=", + "dev": true, + "requires": { + "postcss": "6.0.23" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "source-map": "0.6.1", + "supports-color": "5.5.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "ieee754": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.12.tgz", + "integrity": "sha512-GguP+DRY+pJ3soyIiGPTvdiVXjZ+DbXOxGpXn3eMvNW4x4irjqXm4wHKscC+TfxSJ0yw/S1F24tqdMNsMZTiLA==", + "dev": true + }, + "ignore": { + "version": "3.3.10", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", + "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", + "dev": true + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "dev": true + }, + "in-publish": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.0.tgz", + "integrity": "sha1-4g/146KvwmkDILbcVSaCqcf631E=", + "dev": true + }, + "indent-string": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", + "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "dev": true, + "requires": { + "repeating": "2.0.1" + } + }, + "indexes-of": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", + "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=", + "dev": true + }, + "indexof": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz", + "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "requires": { + "once": "1.4.0", + "wrappy": "1.0.2" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + }, + "inquirer": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz", + "integrity": "sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ==", + "dev": true, + "requires": { + "ansi-escapes": "3.1.0", + "chalk": "2.4.1", + "cli-cursor": "2.1.0", + "cli-width": "2.2.0", + "external-editor": "2.2.0", + "figures": "2.0.0", + "lodash": "4.17.11", + "mute-stream": "0.0.7", + "run-async": "2.3.0", + "rx-lite": "4.0.8", + "rx-lite-aggregates": "4.0.8", + "string-width": "2.1.1", + "strip-ansi": "4.0.0", + "through": "2.3.8" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "3.0.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "interpret": { + "version": "0.6.6", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-0.6.6.tgz", + "integrity": "sha1-/s16GOfOXKar+5U+H4YhOknxYls=", + "dev": true + }, + "invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "dev": true, + "requires": { + "loose-envify": "1.4.0" + } + }, + "invert-kv": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", + "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", + "dev": true + }, + "ipaddr.js": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz", + "integrity": "sha1-6qM9bd16zo9/b+DJygRA5wZzix4=", + "dev": true + }, + "is-absolute-url": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-2.1.0.tgz", + "integrity": "sha1-UFMN+4T8yap9vnhS6Do3uTufKqY=", + "dev": true + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "is-binary-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", + "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", + "dev": true, + "requires": { + "binary-extensions": "1.12.0" + } + }, + "is-boolean-object": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.0.0.tgz", + "integrity": "sha1-mPiygDBoQhmpXzdc+9iM40Bd/5M=", + "dev": true + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "is-builtin-module": { + "version": "1.0.0", + "resolved": "http://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", + "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", + "dev": true, + "requires": { + "builtin-modules": "1.1.1" + } + }, + "is-callable": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", + "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==", + "dev": true + }, + "is-ci": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.2.1.tgz", + "integrity": "sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg==", + "dev": true, + "requires": { + "ci-info": "1.5.1" + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, + "is-date-object": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", + "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", + "dev": true + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "0.1.6", + "is-data-descriptor": "0.1.4", + "kind-of": "5.1.0" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "is-directory": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", + "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", + "dev": true + }, + "is-dotfile": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", + "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=", + "dev": true + }, + "is-equal-shallow": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", + "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", + "dev": true, + "requires": { + "is-primitive": "2.0.0" + } + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + }, + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", + "dev": true + }, + "is-finite": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", + "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "dev": true, + "requires": { + "is-extglob": "1.0.0" + } + }, + "is-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", + "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=", + "dev": true + }, + "is-my-ip-valid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-my-ip-valid/-/is-my-ip-valid-1.0.0.tgz", + "integrity": "sha512-gmh/eWXROncUzRnIa1Ubrt5b8ep/MGSnfAUI3aRp+sqTCs1tv1Isl8d8F6JmkN3dXKc3ehZMrtiPN9eL03NuaQ==", + "dev": true + }, + "is-my-json-valid": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.19.0.tgz", + "integrity": "sha512-mG0f/unGX1HZ5ep4uhRaPOS8EkAY8/j6mDRMJrutq4CqhoJWYp7qAlonIPy3TV7p3ju4TK9fo/PbnoksWmsp5Q==", + "dev": true, + "requires": { + "generate-function": "2.3.1", + "generate-object-property": "1.2.0", + "is-my-ip-valid": "1.0.0", + "jsonpointer": "4.0.1", + "xtend": "4.0.1" + } + }, + "is-number": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", + "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, + "is-number-object": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.3.tgz", + "integrity": "sha1-8mWrian0RQNO9q/xWo8AsA9VF5k=", + "dev": true + }, + "is-obj": { + "version": "1.0.1", + "resolved": "http://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", + "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", + "dev": true + }, + "is-observable": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/is-observable/-/is-observable-0.2.0.tgz", + "integrity": "sha1-s2ExHYPG5dcmyr9eJQsCNxBvWuI=", + "dev": true, + "requires": { + "symbol-observable": "0.2.4" + } + }, + "is-path-cwd": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", + "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=", + "dev": true + }, + "is-path-in-cwd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz", + "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==", + "dev": true, + "requires": { + "is-path-inside": "1.0.1" + } + }, + "is-path-inside": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", + "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", + "dev": true, + "requires": { + "path-is-inside": "1.0.2" + } + }, + "is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", + "dev": true + }, + "is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "requires": { + "isobject": "3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "is-posix-bracket": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", + "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=", + "dev": true + }, + "is-primitive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", + "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=", + "dev": true + }, + "is-promise": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", + "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", + "dev": true + }, + "is-property": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", + "integrity": "sha1-V/4cTkhHTt1lsJkR8msc1Ald2oQ=", + "dev": true + }, + "is-regex": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", + "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", + "dev": true, + "requires": { + "has": "1.0.3" + } + }, + "is-regexp": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", + "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=", + "dev": true + }, + "is-resolvable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz", + "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==", + "dev": true + }, + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" + }, + "is-string": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.4.tgz", + "integrity": "sha1-zDqbaYV9Yh6WNyWiTK7shzuCbmQ=", + "dev": true + }, + "is-subset": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-subset/-/is-subset-0.1.1.tgz", + "integrity": "sha1-ilkRfZMt4d4A8kX83TnOQ/HpOaY=", + "dev": true + }, + "is-svg": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-2.1.0.tgz", + "integrity": "sha1-z2EJDaDZ77yrhyLeum8DIgjbsOk=", + "dev": true, + "requires": { + "html-comment-regex": "1.1.1" + } + }, + "is-symbol": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz", + "integrity": "sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==", + "dev": true, + "requires": { + "has-symbols": "1.0.0" + } + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true + }, + "is-utf8": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", + "dev": true + }, + "is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true + }, + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "isbinaryfile": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-3.0.3.tgz", + "integrity": "sha512-8cJBL5tTd2OS0dM4jz07wQd5g0dCCqIhUxPIGtZfa5L6hWlvV5MHTITy/DBAsF+Oe2LS1X3krBUhNwaGUWpWxw==", + "dev": true, + "requires": { + "buffer-alloc": "1.2.0" + } + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "requires": { + "isarray": "1.0.0" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + } + } + }, + "isomorphic-fetch": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", + "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", + "requires": { + "node-fetch": "1.7.3", + "whatwg-fetch": "3.0.0" + } + }, + "isparta": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/isparta/-/isparta-4.1.0.tgz", + "integrity": "sha512-6AdzFVbr/ZwdVfmgDNpvWPERktHRRTqgzmnb+M6rV4qjkjRfOP1KRtGXBB5UzMtZdpoR2rd7UYu8s9mlG/kQNA==", + "dev": true, + "requires": { + "babel-core": "6.26.3", + "escodegen": "1.11.0", + "esprima": "4.0.1", + "istanbul": "0.4.4", + "mkdirp": "0.5.1", + "nomnomnomnom": "2.0.1", + "object-assign": "4.1.1", + "source-map": "0.5.7", + "which": "1.3.1" + }, + "dependencies": { + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + } + } + }, + "isparta-loader": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isparta-loader/-/isparta-loader-2.0.0.tgz", + "integrity": "sha1-RCX0lsk/dlu8603ZOFdtowdWbtE=", + "dev": true, + "requires": { + "isparta": "4.1.0" + } + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true + }, + "istanbul": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/istanbul/-/istanbul-0.4.4.tgz", + "integrity": "sha1-6M9xjf7bcTyDNKuf+t418QQtKlY=", + "dev": true, + "requires": { + "abbrev": "1.0.9", + "async": "1.5.2", + "escodegen": "1.8.1", + "esprima": "2.7.3", + "fileset": "0.2.1", + "handlebars": "4.0.12", + "js-yaml": "3.7.0", + "mkdirp": "0.5.1", + "nopt": "3.0.6", + "once": "1.4.0", + "resolve": "1.1.7", + "supports-color": "3.2.3", + "which": "1.3.1", + "wordwrap": "1.0.0" + }, + "dependencies": { + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + }, + "escodegen": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.8.1.tgz", + "integrity": "sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg=", + "dev": true, + "requires": { + "esprima": "2.7.3", + "estraverse": "1.9.3", + "esutils": "2.0.2", + "optionator": "0.8.2", + "source-map": "0.2.0" + } + }, + "estraverse": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.9.3.tgz", + "integrity": "sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q=", + "dev": true + }, + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "resolve": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz", + "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=", + "dev": true + }, + "source-map": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.2.0.tgz", + "integrity": "sha1-2rc/vPwrqBm03gO9b26qSBZLP50=", + "dev": true, + "optional": true, + "requires": { + "amdefine": "1.0.1" + } + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "1.0.0" + } + } + } + }, + "jest-get-type": { + "version": "21.2.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-21.2.0.tgz", + "integrity": "sha512-y2fFw3C+D0yjNSDp7ab1kcd6NUYfy3waPTlD8yWkAtiocJdBRQqNoRqVfMNxgj+IjT0V5cBIHJO0z9vuSSZ43Q==", + "dev": true + }, + "jest-validate": { + "version": "21.2.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-21.2.1.tgz", + "integrity": "sha512-k4HLI1rZQjlU+EC682RlQ6oZvLrE5SCh3brseQc24vbZTxzT/k/3urar5QMCVgjadmSO7lECeGdc6YxnM3yEGg==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "jest-get-type": "21.2.0", + "leven": "2.1.0", + "pretty-format": "21.2.1" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "js-base64": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.4.3.tgz", + "integrity": "sha512-H7ErYLM34CvDMto3GbD6xD0JLUGYXR3QTcH6B/tr4Hi/QpSThnCsIp+Sy5FRTw3B0d6py4HcNkW7nO/wdtGWEw==", + "dev": true + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "js-yaml": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.7.0.tgz", + "integrity": "sha1-XJZ93YN6m/3KXy3oQlOr6KHAO4A=", + "dev": true, + "requires": { + "argparse": "1.0.10", + "esprima": "2.7.3" + } + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true + }, + "jsesc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", + "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", + "dev": true + }, + "json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", + "dev": true + }, + "json-schema-traverse": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=", + "dev": true + }, + "json-stable-stringify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", + "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", + "dev": true, + "requires": { + "jsonify": "0.0.0" + } + }, + "json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", + "dev": true + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true + }, + "json3": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.2.tgz", + "integrity": "sha1-PAQ0dD35Pi9cQq7nsZvLSDV19OE=", + "dev": true + }, + "json5": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", + "dev": true + }, + "jsonfile": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-3.0.1.tgz", + "integrity": "sha1-pezG9l9T9mLEQVx2daAzHQmS7GY=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11" + } + }, + "jsonify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", + "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=", + "dev": true + }, + "jsonpointer": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz", + "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=", + "dev": true + }, + "jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + } + } + }, + "jsx-ast-utils": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.0.1.tgz", + "integrity": "sha1-6AGxs5mF4g//yHtA43SAgOLcrH8=", + "dev": true, + "requires": { + "array-includes": "3.0.3" + } + }, + "just-extend": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-3.0.0.tgz", + "integrity": "sha512-Fu3T6pKBuxjWT/p4DkqGHFRsysc8OauWr4ZRTY9dIx07Y9O0RkoR5jcv28aeD1vuAwhm3nLkDurwLXoALp4DpQ==", + "dev": true + }, + "karma": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/karma/-/karma-1.7.1.tgz", + "integrity": "sha512-k5pBjHDhmkdaUccnC7gE3mBzZjcxyxYsYVaqiL2G5AqlfLyBO5nw2VdNK+O16cveEPd/gIOWULH7gkiYYwVNHg==", + "dev": true, + "requires": { + "bluebird": "3.5.2", + "body-parser": "1.18.2", + "chokidar": "1.7.0", + "colors": "1.1.2", + "combine-lists": "1.0.1", + "connect": "3.6.6", + "core-js": "2.5.7", + "di": "0.0.1", + "dom-serialize": "2.2.1", + "expand-braces": "0.1.2", + "glob": "7.1.3", + "graceful-fs": "4.1.11", + "http-proxy": "1.17.0", + "isbinaryfile": "3.0.3", + "lodash": "3.10.1", + "log4js": "0.6.38", + "mime": "1.6.0", + "minimatch": "3.0.4", + "optimist": "0.6.1", + "qjobs": "1.2.0", + "range-parser": "1.2.0", + "rimraf": "2.6.2", + "safe-buffer": "5.1.2", + "socket.io": "1.7.3", + "source-map": "0.5.7", + "tmp": "0.0.31", + "useragent": "2.3.0" + }, + "dependencies": { + "lodash": { + "version": "3.10.1", + "resolved": "http://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", + "integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=", + "dev": true + }, + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true + }, + "tmp": { + "version": "0.0.31", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.31.tgz", + "integrity": "sha1-jzirlDjhcxXl29izZX6L+yd65Kc=", + "dev": true, + "requires": { + "os-tmpdir": "1.0.2" + } + } + } + }, + "karma-chai": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/karma-chai/-/karma-chai-0.1.0.tgz", + "integrity": "sha1-vuWtQEAFF4Ea40u5RfdikJEIt5o=", + "dev": true + }, + "karma-coverage": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/karma-coverage/-/karma-coverage-1.1.2.tgz", + "integrity": "sha512-eQawj4Cl3z/CjxslYy9ariU4uDh7cCNFZHNWXWRpl0pNeblY/4wHR7M7boTYXWrn9bY0z2pZmr11eKje/S/hIw==", + "dev": true, + "requires": { + "dateformat": "1.0.12", + "istanbul": "0.4.4", + "lodash": "4.17.11", + "minimatch": "3.0.4", + "source-map": "0.5.7" + } + }, + "karma-firefox-launcher": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/karma-firefox-launcher/-/karma-firefox-launcher-1.1.0.tgz", + "integrity": "sha512-LbZ5/XlIXLeQ3cqnCbYLn+rOVhuMIK9aZwlP6eOLGzWdo1UVp7t6CN3DP4SafiRLjexKwHeKHDm0c38Mtd3VxA==", + "dev": true + }, + "karma-mocha": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/karma-mocha/-/karma-mocha-1.3.0.tgz", + "integrity": "sha1-7qrH/8DiAetjxGdEDStpx883eL8=", + "dev": true, + "requires": { + "minimist": "1.2.0" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } + } + }, + "karma-sinon": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/karma-sinon/-/karma-sinon-1.0.5.tgz", + "integrity": "sha1-TjRD8oMP3s/2JNN0cWPxIX2qKpo=", + "dev": true + }, + "karma-sourcemap-loader": { + "version": "0.3.7", + "resolved": "https://registry.npmjs.org/karma-sourcemap-loader/-/karma-sourcemap-loader-0.3.7.tgz", + "integrity": "sha1-kTIsd/jxPUb+0GKwQuEAnUxFBdg=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11" + } + }, + "karma-webpack": { + "version": "2.0.13", + "resolved": "http://registry.npmjs.org/karma-webpack/-/karma-webpack-2.0.13.tgz", + "integrity": "sha512-2cyII34jfrAabbI2+4Rk4j95Nazl98FvZQhgSiqKUDarT317rxfv/EdzZ60CyATN4PQxJdO5ucR5bOOXkEVrXw==", + "dev": true, + "requires": { + "async": "2.6.1", + "babel-runtime": "6.26.0", + "loader-utils": "1.1.0", + "lodash": "4.17.11", + "source-map": "0.5.7", + "webpack-dev-middleware": "1.12.2" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + }, + "loader-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", + "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", + "dev": true, + "requires": { + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1" + } + } + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + }, + "known-css-properties": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.3.0.tgz", + "integrity": "sha512-QMQcnKAiQccfQTqtBh/qwquGZ2XK/DXND1jrcN9M8gMMy99Gwla7GQjndVUsEqIaRyP6bsFRuhwRj5poafBGJQ==", + "dev": true + }, + "lazy-cache": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", + "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", + "dev": true + }, + "lcid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "dev": true, + "requires": { + "invert-kv": "1.0.0" + } + }, + "leven": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz", + "integrity": "sha1-wuep93IJTe6dNCAq6KzORoeHVYA=", + "dev": true + }, + "levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "dev": true, + "requires": { + "prelude-ls": "1.1.2", + "type-check": "0.3.2" + } + }, + "lint-staged": { + "version": "6.1.1", + "resolved": "http://registry.npmjs.org/lint-staged/-/lint-staged-6.1.1.tgz", + "integrity": "sha512-M/7bwLdXbeG7ZNLcasGeLMBDg60/w6obj3KOtINwJyxAxb53XGY0yH5FSZlWklEzuVbTtqtIfAajh6jYIN90AA==", + "dev": true, + "requires": { + "app-root-path": "2.0.1", + "chalk": "2.4.1", + "commander": "2.17.1", + "cosmiconfig": "4.0.0", + "debug": "3.2.5", + "dedent": "0.7.0", + "execa": "0.8.0", + "find-parent-dir": "0.3.0", + "is-glob": "4.0.0", + "jest-validate": "21.2.1", + "listr": "0.13.0", + "lodash": "4.17.11", + "log-symbols": "2.2.0", + "minimatch": "3.0.4", + "npm-which": "3.0.1", + "p-map": "1.2.0", + "path-is-inside": "1.0.2", + "pify": "3.0.0", + "staged-git-files": "1.0.0", + "stringify-object": "3.2.2" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "debug": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.5.tgz", + "integrity": "sha512-D61LaDQPQkxJ5AUM2mbSJRbPkNs/TmdmOeLAi1hgDkpDfIfetSrjmWhccwtuResSwMbACjx/xXQofvM9CE/aeg==", + "dev": true, + "requires": { + "ms": "2.1.1" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-glob": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz", + "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=", + "dev": true, + "requires": { + "is-extglob": "2.1.1" + } + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", + "dev": true + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "listr": { + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/listr/-/listr-0.13.0.tgz", + "integrity": "sha1-ILsLowuuZg7oTMBQPfS+PVYjiH0=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "cli-truncate": "0.2.1", + "figures": "1.7.0", + "indent-string": "2.1.0", + "is-observable": "0.2.0", + "is-promise": "2.1.0", + "is-stream": "1.1.0", + "listr-silent-renderer": "1.1.1", + "listr-update-renderer": "0.4.0", + "listr-verbose-renderer": "0.4.1", + "log-symbols": "1.0.2", + "log-update": "1.0.2", + "ora": "0.2.3", + "p-map": "1.2.0", + "rxjs": "5.5.12", + "stream-to-observable": "0.2.0", + "strip-ansi": "3.0.1" + }, + "dependencies": { + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5", + "object-assign": "4.1.1" + } + }, + "log-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", + "integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=", + "dev": true, + "requires": { + "chalk": "1.1.3" + } + } + } + }, + "listr-silent-renderer": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz", + "integrity": "sha1-kktaN1cVN3C/Go4/v3S4u/P5JC4=", + "dev": true + }, + "listr-update-renderer": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/listr-update-renderer/-/listr-update-renderer-0.4.0.tgz", + "integrity": "sha1-NE2YDaLKLosUW6MFkI8yrj9MyKc=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "cli-truncate": "0.2.1", + "elegant-spinner": "1.0.1", + "figures": "1.7.0", + "indent-string": "3.2.0", + "log-symbols": "1.0.2", + "log-update": "1.0.2", + "strip-ansi": "3.0.1" + }, + "dependencies": { + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5", + "object-assign": "4.1.1" + } + }, + "indent-string": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", + "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=", + "dev": true + }, + "log-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", + "integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=", + "dev": true, + "requires": { + "chalk": "1.1.3" + } + } + } + }, + "listr-verbose-renderer": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz", + "integrity": "sha1-ggb0z21S3cWCfl/RSYng6WWTOjU=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "cli-cursor": "1.0.2", + "date-fns": "1.29.0", + "figures": "1.7.0" + }, + "dependencies": { + "cli-cursor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", + "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", + "dev": true, + "requires": { + "restore-cursor": "1.0.1" + } + }, + "date-fns": { + "version": "1.29.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-1.29.0.tgz", + "integrity": "sha512-lbTXWZ6M20cWH8N9S6afb0SBm6tMk+uUg6z3MqHPKE9atmsY3kJkTm8vKe93izJ2B2+q5MV990sM2CHgtAZaOw==", + "dev": true + }, + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5", + "object-assign": "4.1.1" + } + }, + "onetime": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", + "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", + "dev": true + }, + "restore-cursor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", + "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", + "dev": true, + "requires": { + "exit-hook": "1.1.1", + "onetime": "1.1.0" + } + } + } + }, + "load-json-file": { + "version": "2.0.0", + "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "strip-bom": "3.0.0" + } + }, + "loader-utils": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz", + "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=", + "dev": true, + "requires": { + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1", + "object-assign": "4.1.1" + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "2.0.0", + "path-exists": "3.0.0" + }, + "dependencies": { + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + } + } + }, + "lodash": { + "version": "4.17.11", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", + "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", + "dev": true + }, + "lodash.assign": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", + "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=", + "dev": true + }, + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=", + "dev": true + }, + "lodash.capitalize": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz", + "integrity": "sha1-+CbJtOKoUR2E46yinbBeGk87cqk=", + "dev": true + }, + "lodash.clonedeep": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", + "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", + "dev": true + }, + "lodash.escape": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-4.0.1.tgz", + "integrity": "sha1-yQRGkMIeBClL6qUXcS/e0fqI3pg=", + "dev": true + }, + "lodash.flattendeep": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz", + "integrity": "sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI=", + "dev": true + }, + "lodash.get": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", + "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=", + "dev": true + }, + "lodash.isequal": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", + "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA=", + "dev": true + }, + "lodash.kebabcase": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz", + "integrity": "sha1-hImxyw0p/4gZXM7KRI/21swpXDY=", + "dev": true + }, + "lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", + "dev": true + }, + "lodash.mergewith": { + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.1.tgz", + "integrity": "sha512-eWw5r+PYICtEBgrBE5hhlT6aAa75f411bgDz/ZL2KZqYV03USvucsxcHUIlGTDTECs1eunpI7HOV7U+WLDvNdQ==", + "dev": true + }, + "lodash.uniq": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", + "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=", + "dev": true + }, + "log-symbols": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", + "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", + "dev": true, + "requires": { + "chalk": "2.4.1" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "log-update": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/log-update/-/log-update-1.0.2.tgz", + "integrity": "sha1-GZKfZMQJPS0ucHWh2tivWcKWuNE=", + "dev": true, + "requires": { + "ansi-escapes": "1.4.0", + "cli-cursor": "1.0.2" + }, + "dependencies": { + "ansi-escapes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", + "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=", + "dev": true + }, + "cli-cursor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", + "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", + "dev": true, + "requires": { + "restore-cursor": "1.0.1" + } + }, + "onetime": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", + "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", + "dev": true + }, + "restore-cursor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", + "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", + "dev": true, + "requires": { + "exit-hook": "1.1.1", + "onetime": "1.1.0" + } + } + } + }, + "log4js": { + "version": "0.6.38", + "resolved": "http://registry.npmjs.org/log4js/-/log4js-0.6.38.tgz", + "integrity": "sha1-LElBFmldb7JUgJQ9P8hy5mKlIv0=", + "dev": true, + "requires": { + "readable-stream": "1.0.34", + "semver": "4.3.6" + }, + "dependencies": { + "semver": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/semver/-/semver-4.3.6.tgz", + "integrity": "sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto=", + "dev": true + } + } + }, + "lolex": { + "version": "2.7.5", + "resolved": "https://registry.npmjs.org/lolex/-/lolex-2.7.5.tgz", + "integrity": "sha512-l9x0+1offnKKIzYVjyXU2SiwhXDLekRzKyhnbyldPHvC7BvLPVpdNUNR2KeMAiCN2D/kLNttZgQD5WjSxuBx3Q==", + "dev": true + }, + "longest": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", + "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=", + "dev": true + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "requires": { + "js-tokens": "4.0.0" + } + }, + "loud-rejection": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", + "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", + "dev": true, + "requires": { + "currently-unhandled": "0.4.1", + "signal-exit": "3.0.2" + } + }, + "lru-cache": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz", + "integrity": "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==", + "dev": true, + "requires": { + "pseudomap": "1.0.2", + "yallist": "2.1.2" + } + }, + "macaddress": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/macaddress/-/macaddress-0.2.9.tgz", + "integrity": "sha512-k4F1JUof6cQXxNFzx3thLby4oJzXTXQueAOOts944Vqizn+Rjc2QNFenT9FJSLU1CH3PmrHRSyZs2E+Cqw+P2w==", + "dev": true + }, + "magic-string": { + "version": "0.22.5", + "resolved": "http://registry.npmjs.org/magic-string/-/magic-string-0.22.5.tgz", + "integrity": "sha512-oreip9rJZkzvA8Qzk9HFs8fZGF/u7H/gtrE8EN6RjKJ9kh2HlC+yQ2QezifqTZfGyiuAV0dRv5a+y/8gBb1m9w==", + "dev": true, + "requires": { + "vlq": "0.2.3" + } + }, + "map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", + "dev": true + }, + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true + }, + "map-stream": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.0.7.tgz", + "integrity": "sha1-ih8HiW2CsQkmvTdEokIACfiJdKg=", + "dev": true + }, + "map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", + "dev": true, + "requires": { + "object-visit": "1.0.1" + } + }, + "math-expression-evaluator": { + "version": "1.2.17", + "resolved": "https://registry.npmjs.org/math-expression-evaluator/-/math-expression-evaluator-1.2.17.tgz", + "integrity": "sha1-3oGf282E3M2PrlnGrreWFbnSZqw=", + "dev": true + }, + "math-random": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.1.tgz", + "integrity": "sha1-izqsWIuKZuSXXjzepn97sylgH6w=", + "dev": true + }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", + "dev": true + }, + "memory-fs": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", + "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", + "dev": true, + "requires": { + "errno": "0.1.7", + "readable-stream": "2.3.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "memorystream": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", + "integrity": "sha1-htcJCzDORV1j+64S3aUaR93K+bI=", + "dev": true + }, + "meow": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "dev": true, + "requires": { + "camelcase-keys": "2.1.0", + "decamelize": "1.2.0", + "loud-rejection": "1.6.0", + "map-obj": "1.0.1", + "minimist": "1.2.0", + "normalize-package-data": "2.4.0", + "object-assign": "4.1.1", + "read-pkg-up": "1.0.1", + "redent": "1.0.0", + "trim-newlines": "1.0.0" + }, + "dependencies": { + "load-json-file": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "strip-bom": "2.0.0" + } + }, + "minimist": { + "version": "1.2.0", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + } + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "requires": { + "load-json-file": "1.1.0", + "normalize-package-data": "2.4.0", + "path-type": "1.1.0" + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "dev": true, + "requires": { + "find-up": "1.1.2", + "read-pkg": "1.1.0" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "requires": { + "is-utf8": "0.2.1" + } + } + } + }, + "merge": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/merge/-/merge-1.2.0.tgz", + "integrity": "sha1-dTHjnUlJwoGma4xabgJl6LBYlNo=", + "dev": true + }, + "merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", + "dev": true + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", + "dev": true + }, + "micromatch": { + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", + "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", + "dev": true, + "requires": { + "arr-diff": "2.0.0", + "array-unique": "0.2.1", + "braces": "1.8.5", + "expand-brackets": "0.1.5", + "extglob": "0.3.2", + "filename-regex": "2.0.1", + "is-extglob": "1.0.0", + "is-glob": "2.0.1", + "kind-of": "3.2.2", + "normalize-path": "2.1.1", + "object.omit": "2.0.1", + "parse-glob": "3.0.4", + "regex-cache": "0.4.4" + }, + "dependencies": { + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "requires": { + "remove-trailing-separator": "1.1.0" + } + } + } + }, + "mime": { + "version": "1.2.11", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz", + "integrity": "sha1-WCA+7Ybjpe8XrtK32evUfwpg3RA=", + "dev": true, + "optional": true + }, + "mime-db": { + "version": "1.36.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.36.0.tgz", + "integrity": "sha512-L+xvyD9MkoYMXb1jAmzI/lWYAxAMCPvIBSWur0PZ5nOf5euahRLVqH//FKW9mWp2lkqUgYiXPgkzfMUFi4zVDw==", + "dev": true + }, + "mime-types": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-1.0.2.tgz", + "integrity": "sha1-mVrhOSq4r/y/yyZB3QVOlDwNXc4=", + "dev": true + }, + "mimic-fn": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", + "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "dev": true + }, + "min-document": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", + "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=", + "dev": true, + "requires": { + "dom-walk": "0.1.1" + } + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "requires": { + "brace-expansion": "1.1.11" + } + }, + "minimist": { + "version": "0.0.8", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "dev": true + }, + "mixin-deep": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", + "integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==", + "dev": true, + "requires": { + "for-in": "1.0.2", + "is-extendable": "1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "2.0.4" + } + } + } + }, + "mkdirp": { + "version": "0.5.1", + "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "dev": true, + "requires": { + "minimist": "0.0.8" + } + }, + "mocha": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-4.1.0.tgz", + "integrity": "sha512-0RVnjg1HJsXY2YFDoTNzcc1NKhYuXKRrBAG2gDygmJJA136Cs2QlRliZG1mA0ap7cuaT30mw16luAeln+4RiNA==", + "dev": true, + "requires": { + "browser-stdout": "1.3.0", + "commander": "2.11.0", + "debug": "3.1.0", + "diff": "3.3.1", + "escape-string-regexp": "1.0.5", + "glob": "7.1.2", + "growl": "1.10.3", + "he": "1.1.1", + "mkdirp": "0.5.1", + "supports-color": "4.4.0" + }, + "dependencies": { + "commander": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", + "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==", + "dev": true + }, + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "dev": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "has-flag": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", + "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=", + "dev": true + }, + "supports-color": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.4.0.tgz", + "integrity": "sha512-rKC3+DyXWgK0ZLKwmRsrkyHVZAjNkfzeehuFWdGGcqGDTZFH73+RH6S/RDAAxl9GusSjZSUWYLmT9N5pzXFOXQ==", + "dev": true, + "requires": { + "has-flag": "2.0.0" + } + } + } + }, + "moo": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/moo/-/moo-0.4.3.tgz", + "integrity": "sha512-gFD2xGCl8YFgGHsqJ9NKRVdwlioeW3mI1iqfLNYQOv0+6JRwG58Zk9DIGQgyIaffSYaO1xsKnMaYzzNr1KyIAw==", + "dev": true + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "mute-stream": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", + "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", + "dev": true + }, + "nan": { + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.11.1.tgz", + "integrity": "sha512-iji6k87OSXa0CcrLl9z+ZiYSuR2o+c0bGuNmXdrhTQTakxytAFsC56SArGYoiHlJlFoHSnvmhpceZJaXkVuOtA==", + "dev": true + }, + "nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "dev": true, + "requires": { + "arr-diff": "4.0.0", + "array-unique": "0.3.2", + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "fragment-cache": "0.2.1", + "is-windows": "1.0.2", + "kind-of": "6.0.2", + "object.pick": "1.3.0", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + }, + "dependencies": { + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "dev": true + }, + "nearley": { + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/nearley/-/nearley-2.15.1.tgz", + "integrity": "sha512-8IUY/rUrKz2mIynUGh8k+tul1awMKEjeHHC5G3FHvvyAW6oq4mQfNp2c0BMea+sYZJvYcrrM6GmZVIle/GRXGw==", + "dev": true, + "requires": { + "moo": "0.4.3", + "nomnom": "1.6.2", + "railroad-diagrams": "1.0.0", + "randexp": "0.4.6", + "semver": "5.5.1" + } + }, + "negotiator": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", + "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=", + "dev": true + }, + "next-tick": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", + "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=", + "dev": true + }, + "nice-try": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.4.tgz", + "integrity": "sha512-2NpiFHqC87y/zFke0fC0spBXL3bBsoh/p5H1EFhshxjCR5+0g2d6BiXbUFz9v1sAcxsk2htp2eQnNIci2dIYcA==", + "dev": true + }, + "nise": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/nise/-/nise-1.4.5.tgz", + "integrity": "sha512-OHRVvdxKgwZELf2DTgsJEIA4MOq8XWvpSUzoOXyxJ2mY0mMENWC66+70AShLR2z05B1dzrzWlUQJmJERlOUpZw==", + "dev": true, + "requires": { + "@sinonjs/formatio": "3.0.0", + "just-extend": "3.0.0", + "lolex": "2.7.5", + "path-to-regexp": "1.7.0", + "text-encoding": "0.6.4" + }, + "dependencies": { + "@sinonjs/formatio": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/formatio/-/formatio-3.0.0.tgz", + "integrity": "sha512-vdjoYLDptCgvtJs57ULshak3iJe4NW3sJ3g36xVDGff5AE8P30S6A093EIEPjdi2noGhfuNOEkbxt3J3awFW1w==", + "dev": true, + "requires": { + "@sinonjs/samsam": "2.1.0" + } + }, + "path-to-regexp": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.7.0.tgz", + "integrity": "sha1-Wf3g9DW62suhA6hOnTvGTpa5k30=", + "dev": true, + "requires": { + "isarray": "0.0.1" + } + } + } + }, + "node-dir": { + "version": "0.1.17", + "resolved": "https://registry.npmjs.org/node-dir/-/node-dir-0.1.17.tgz", + "integrity": "sha1-X1Zl2TNRM1yqvvjxxVRRbPXx5OU=", + "dev": true, + "requires": { + "minimatch": "3.0.4" + } + }, + "node-fetch": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", + "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "requires": { + "encoding": "0.1.12", + "is-stream": "1.1.0" + } + }, + "node-gyp": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.8.0.tgz", + "integrity": "sha512-3g8lYefrRRzvGeSowdJKAKyks8oUpLEd/DyPV4eMhVlhJ0aNaZqIrNUIPuEWWTAoPqyFkfGrM67MC69baqn6vA==", + "dev": true, + "requires": { + "fstream": "1.0.11", + "glob": "7.1.3", + "graceful-fs": "4.1.11", + "mkdirp": "0.5.1", + "nopt": "3.0.6", + "npmlog": "4.1.2", + "osenv": "0.1.5", + "request": "2.88.0", + "rimraf": "2.6.2", + "semver": "5.3.0", + "tar": "2.2.1", + "which": "1.3.1" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "combined-stream": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz", + "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==", + "dev": true, + "requires": { + "delayed-stream": "1.0.0" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "requires": { + "asynckit": "0.4.0", + "combined-stream": "1.0.7", + "mime-types": "2.1.21" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "jsprim": "1.4.1", + "sshpk": "1.15.1" + } + }, + "mime-db": { + "version": "1.37.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz", + "integrity": "sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg==", + "dev": true + }, + "mime-types": { + "version": "2.1.21", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz", + "integrity": "sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==", + "dev": true, + "requires": { + "mime-db": "1.37.0" + } + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true + }, + "request": { + "version": "2.88.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "dev": true, + "requires": { + "aws-sign2": "0.7.0", + "aws4": "1.8.0", + "caseless": "0.12.0", + "combined-stream": "1.0.7", + "extend": "3.0.2", + "forever-agent": "0.6.1", + "form-data": "2.3.3", + "har-validator": "5.1.0", + "http-signature": "1.2.0", + "is-typedarray": "1.0.0", + "isstream": "0.1.2", + "json-stringify-safe": "5.0.1", + "mime-types": "2.1.21", + "oauth-sign": "0.9.0", + "performance-now": "2.1.0", + "qs": "6.5.2", + "safe-buffer": "5.1.2", + "tough-cookie": "2.4.3", + "tunnel-agent": "0.6.0", + "uuid": "3.3.2" + } + }, + "semver": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", + "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=", + "dev": true + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + }, + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + "dev": true + } + } + }, + "node-libs-browser": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-0.7.0.tgz", + "integrity": "sha1-PicsCBnjCJNeJmdECNevDhSRuDs=", + "dev": true, + "requires": { + "assert": "1.4.1", + "browserify-zlib": "0.1.4", + "buffer": "4.9.1", + "console-browserify": "1.1.0", + "constants-browserify": "1.0.0", + "crypto-browserify": "3.3.0", + "domain-browser": "1.2.0", + "events": "1.1.1", + "https-browserify": "0.0.1", + "os-browserify": "0.2.1", + "path-browserify": "0.0.0", + "process": "0.11.10", + "punycode": "1.4.1", + "querystring-es3": "0.2.1", + "readable-stream": "2.3.6", + "stream-browserify": "2.0.1", + "stream-http": "2.8.3", + "string_decoder": "0.10.31", + "timers-browserify": "2.0.10", + "tty-browserify": "0.0.0", + "url": "0.11.0", + "util": "0.10.4", + "vm-browserify": "0.0.4" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + }, + "dependencies": { + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + } + } + }, + "node-sass": { + "version": "4.9.4", + "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.9.4.tgz", + "integrity": "sha512-MXyurANsUoE4/6KmfMkwGcBzAnJQ5xJBGW7Ei6ea8KnUKuzHr/SguVBIi3uaUAHtZCPUYkvlJ3Ef5T5VAwVpaA==", + "dev": true, + "requires": { + "async-foreach": "0.1.3", + "chalk": "1.1.3", + "cross-spawn": "3.0.1", + "gaze": "1.1.3", + "get-stdin": "4.0.1", + "glob": "7.1.3", + "in-publish": "2.0.0", + "lodash.assign": "4.2.0", + "lodash.clonedeep": "4.5.0", + "lodash.mergewith": "4.6.1", + "meow": "3.7.0", + "mkdirp": "0.5.1", + "nan": "2.11.1", + "node-gyp": "3.8.0", + "npmlog": "4.1.2", + "request": "2.88.0", + "sass-graph": "2.2.4", + "stdout-stream": "1.4.1", + "true-case-path": "1.0.3" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "combined-stream": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz", + "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==", + "dev": true, + "requires": { + "delayed-stream": "1.0.0" + } + }, + "cross-spawn": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-3.0.1.tgz", + "integrity": "sha1-ElYDfsufDF9549bvE14wdwGEuYI=", + "dev": true, + "requires": { + "lru-cache": "4.1.3", + "which": "1.3.1" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "requires": { + "asynckit": "0.4.0", + "combined-stream": "1.0.7", + "mime-types": "2.1.21" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "jsprim": "1.4.1", + "sshpk": "1.15.1" + } + }, + "mime-db": { + "version": "1.37.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz", + "integrity": "sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg==", + "dev": true + }, + "mime-types": { + "version": "2.1.21", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz", + "integrity": "sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==", + "dev": true, + "requires": { + "mime-db": "1.37.0" + } + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true + }, + "request": { + "version": "2.88.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "dev": true, + "requires": { + "aws-sign2": "0.7.0", + "aws4": "1.8.0", + "caseless": "0.12.0", + "combined-stream": "1.0.7", + "extend": "3.0.2", + "forever-agent": "0.6.1", + "form-data": "2.3.3", + "har-validator": "5.1.0", + "http-signature": "1.2.0", + "is-typedarray": "1.0.0", + "isstream": "0.1.2", + "json-stringify-safe": "5.0.1", + "mime-types": "2.1.21", + "oauth-sign": "0.9.0", + "performance-now": "2.1.0", + "qs": "6.5.2", + "safe-buffer": "5.1.2", + "tough-cookie": "2.4.3", + "tunnel-agent": "0.6.0", + "uuid": "3.3.2" + } + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + }, + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + "dev": true + } + } + }, + "node-uuid": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.8.tgz", + "integrity": "sha1-sEDrCSOWivq/jTL7HxfxFn/auQc=", + "dev": true + }, + "nomnom": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/nomnom/-/nomnom-1.6.2.tgz", + "integrity": "sha1-hKZqJgF0QI/Ft3oY+IjszET7aXE=", + "dev": true, + "requires": { + "colors": "0.5.1", + "underscore": "1.4.4" + }, + "dependencies": { + "colors": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/colors/-/colors-0.5.1.tgz", + "integrity": "sha1-fQAj6usVTo7p/Oddy5I9DtFmd3Q=", + "dev": true + } + } + }, + "nomnomnomnom": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/nomnomnomnom/-/nomnomnomnom-2.0.1.tgz", + "integrity": "sha1-siOfAxyNBNpn4yg24eMZnhL3qOI=", + "dev": true, + "requires": { + "chalk": "0.4.0", + "underscore": "1.6.0" + }, + "dependencies": { + "ansi-styles": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.0.0.tgz", + "integrity": "sha1-yxAt8cVvUSPquLZ817mAJ6AnkXg=", + "dev": true + }, + "chalk": { + "version": "0.4.0", + "resolved": "http://registry.npmjs.org/chalk/-/chalk-0.4.0.tgz", + "integrity": "sha1-UZmj3c0MHv4jvAjBsCewYXbgxk8=", + "dev": true, + "requires": { + "ansi-styles": "1.0.0", + "has-color": "0.1.7", + "strip-ansi": "0.1.1" + } + }, + "strip-ansi": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz", + "integrity": "sha1-OeipjQRNFQZgq+SmgIrPcLt7yZE=", + "dev": true + }, + "underscore": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz", + "integrity": "sha1-izixDKze9jM3uLJOT/htRa6lKag=", + "dev": true + } + } + }, + "nopt": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", + "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", + "dev": true, + "requires": { + "abbrev": "1.0.9" + } + }, + "normalize-package-data": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", + "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", + "dev": true, + "requires": { + "hosted-git-info": "2.7.1", + "is-builtin-module": "1.0.0", + "semver": "5.5.1", + "validate-npm-package-license": "3.0.4" + } + }, + "normalize-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-1.0.0.tgz", + "integrity": "sha1-MtDkcvkf80VwHBWoMRAY07CpA3k=", + "dev": true + }, + "normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", + "dev": true + }, + "normalize-url": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-1.9.1.tgz", + "integrity": "sha1-LMDWazHqIwNkWENuNiDYWVTGbDw=", + "dev": true, + "requires": { + "object-assign": "4.1.1", + "prepend-http": "1.0.4", + "query-string": "4.3.4", + "sort-keys": "1.1.2" + } + }, + "npm-path": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/npm-path/-/npm-path-2.0.4.tgz", + "integrity": "sha512-IFsj0R9C7ZdR5cP+ET342q77uSRdtWOlWpih5eC+lu29tIDbNEgDbzgVJ5UFvYHWhxDZ5TFkJafFioO0pPQjCw==", + "dev": true, + "requires": { + "which": "1.3.1" + } + }, + "npm-run-all": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.3.tgz", + "integrity": "sha512-aOG0N3Eo/WW+q6sUIdzcV2COS8VnTZCmdji0VQIAZF3b+a3YWb0AD0vFIyjKec18A7beLGbaQ5jFTNI2bPt9Cg==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "chalk": "2.4.1", + "cross-spawn": "6.0.5", + "memorystream": "0.3.1", + "minimatch": "3.0.4", + "ps-tree": "1.1.0", + "read-pkg": "3.0.0", + "shell-quote": "1.6.1", + "string.prototype.padend": "3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "load-json-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "4.0.0", + "pify": "3.0.0", + "strip-bom": "3.0.0" + } + }, + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "requires": { + "error-ex": "1.3.2", + "json-parse-better-errors": "1.0.2" + } + }, + "path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "requires": { + "pify": "3.0.0" + } + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + }, + "read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", + "dev": true, + "requires": { + "load-json-file": "4.0.0", + "normalize-package-data": "2.4.0", + "path-type": "3.0.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "npm-run-path": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", + "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", + "dev": true, + "requires": { + "path-key": "2.0.1" + } + }, + "npm-which": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/npm-which/-/npm-which-3.0.1.tgz", + "integrity": "sha1-kiXybsOihcIJyuZ8OxGmtKtxQKo=", + "dev": true, + "requires": { + "commander": "2.17.1", + "npm-path": "2.0.4", + "which": "1.3.1" + } + }, + "npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "dev": true, + "requires": { + "are-we-there-yet": "1.1.5", + "console-control-strings": "1.1.0", + "gauge": "2.7.4", + "set-blocking": "2.0.0" + } + }, + "nth-check": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", + "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", + "dev": true, + "requires": { + "boolbase": "1.0.0" + } + }, + "num2fraction": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", + "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=", + "dev": true + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true + }, + "oauth-sign": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.4.0.tgz", + "integrity": "sha1-8ilW8x6nFRqCHl8vsywRPK2Ln2k=", + "dev": true, + "optional": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "object-component": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/object-component/-/object-component-0.0.3.tgz", + "integrity": "sha1-8MaapQ78lbhmwYb0AKM3acsvEpE=", + "dev": true + }, + "object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "dev": true, + "requires": { + "copy-descriptor": "0.1.1", + "define-property": "0.2.5", + "kind-of": "3.2.2" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + } + } + }, + "object-inspect": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.6.0.tgz", + "integrity": "sha512-GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ==", + "dev": true + }, + "object-is": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.0.1.tgz", + "integrity": "sha1-CqYOyZiaCz7Xlc9NBvYs8a1lObY=", + "dev": true + }, + "object-keys": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.12.tgz", + "integrity": "sha512-FTMyFUm2wBcGHnH2eXmz7tC6IwlqQZ6mVZ+6dm6vZ4IQIHjs6FdNsQBuKGPuUUUY6NfJw2PshC08Tn6LzLDOag==", + "dev": true + }, + "object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "dev": true, + "requires": { + "isobject": "3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "object.assign": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", + "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "function-bind": "1.1.1", + "has-symbols": "1.0.0", + "object-keys": "1.0.12" + } + }, + "object.entries": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.0.4.tgz", + "integrity": "sha1-G/mk3SKI9bM/Opk9JXZh8F0WGl8=", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0", + "function-bind": "1.1.1", + "has": "1.0.3" + } + }, + "object.omit": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", + "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", + "dev": true, + "requires": { + "for-own": "0.1.5", + "is-extendable": "0.1.1" + } + }, + "object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", + "dev": true, + "requires": { + "isobject": "3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "object.values": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.0.4.tgz", + "integrity": "sha1-5STaCbT2b/Bd9FdUbscqyZ8TBpo=", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0", + "function-bind": "1.1.1", + "has": "1.0.3" + } + }, + "on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "dev": true, + "requires": { + "ee-first": "1.1.1" + } + }, + "on-headers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.1.tgz", + "integrity": "sha1-ko9dD0cNSTQmUepnlLCFfBAGk/c=", + "dev": true + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "requires": { + "wrappy": "1.0.2" + } + }, + "onetime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", + "dev": true, + "requires": { + "mimic-fn": "1.2.0" + } + }, + "open": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/open/-/open-0.0.5.tgz", + "integrity": "sha1-QsPhjslUZra/DcQvOilFw/DK2Pw=", + "dev": true + }, + "optimist": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", + "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", + "dev": true, + "requires": { + "minimist": "0.0.8", + "wordwrap": "0.0.3" + }, + "dependencies": { + "wordwrap": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", + "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", + "dev": true + } + } + }, + "optionator": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", + "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", + "dev": true, + "requires": { + "deep-is": "0.1.3", + "fast-levenshtein": "2.0.6", + "levn": "0.3.0", + "prelude-ls": "1.1.2", + "type-check": "0.3.2", + "wordwrap": "1.0.0" + } + }, + "options": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/options/-/options-0.0.6.tgz", + "integrity": "sha1-7CLTEoBrtT5zF3Pnza788cZDEo8=", + "dev": true + }, + "ora": { + "version": "0.2.3", + "resolved": "http://registry.npmjs.org/ora/-/ora-0.2.3.tgz", + "integrity": "sha1-N1J9Igrc1Tw5tzVx11QVbV22V6Q=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "cli-cursor": "1.0.2", + "cli-spinners": "0.1.2", + "object-assign": "4.1.1" + }, + "dependencies": { + "cli-cursor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", + "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", + "dev": true, + "requires": { + "restore-cursor": "1.0.1" + } + }, + "onetime": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", + "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", + "dev": true + }, + "restore-cursor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", + "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", + "dev": true, + "requires": { + "exit-hook": "1.1.1", + "onetime": "1.1.0" + } + } + } + }, + "original": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz", + "integrity": "sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg==", + "dev": true, + "requires": { + "url-parse": "1.4.3" + } + }, + "os-browserify": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.2.1.tgz", + "integrity": "sha1-Y/xMzuXS13Y9Jrv4YBB45sLgBE8=", + "dev": true + }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true + }, + "os-locale": { + "version": "1.4.0", + "resolved": "http://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", + "dev": true, + "requires": { + "lcid": "1.0.0" + } + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "dev": true + }, + "osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "dev": true, + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, + "p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "dev": true + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "1.3.0" + } + }, + "p-map": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz", + "integrity": "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==", + "dev": true + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true + }, + "pako": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz", + "integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU=", + "dev": true + }, + "parse-glob": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", + "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", + "dev": true, + "requires": { + "glob-base": "0.3.0", + "is-dotfile": "1.0.3", + "is-extglob": "1.0.0", + "is-glob": "2.0.1" + } + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "1.3.2" + } + }, + "parse5": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz", + "integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==", + "dev": true, + "requires": { + "@types/node": "10.12.0" + } + }, + "parsejson": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/parsejson/-/parsejson-0.0.3.tgz", + "integrity": "sha1-q343WfIJ7OmUN5c/fQ8fZK4OZKs=", + "dev": true, + "requires": { + "better-assert": "1.0.2" + } + }, + "parseqs": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.5.tgz", + "integrity": "sha1-1SCKNzjkZ2bikbouoXNoSSGouJ0=", + "dev": true, + "requires": { + "better-assert": "1.0.2" + } + }, + "parseuri": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.5.tgz", + "integrity": "sha1-gCBKUNTbt3m/3G6+J3jZDkvOMgo=", + "dev": true, + "requires": { + "better-assert": "1.0.2" + } + }, + "parseurl": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz", + "integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M=", + "dev": true + }, + "pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", + "dev": true + }, + "path-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.0.tgz", + "integrity": "sha1-oLhwcpquIUAFt9UDLsLLuw+0RRo=", + "dev": true + }, + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "dev": true, + "requires": { + "pinkie-promise": "2.0.1" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true + }, + "path-is-inside": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", + "dev": true + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true + }, + "path-parse": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "dev": true + }, + "path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", + "dev": true + }, + "path-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", + "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", + "dev": true, + "requires": { + "pify": "2.3.0" + } + }, + "pause-stream": { + "version": "0.0.11", + "resolved": "http://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz", + "integrity": "sha1-/lo0sMvOErWqaitAPuLnO2AvFEU=", + "dev": true, + "requires": { + "through": "2.3.8" + } + }, + "pbkdf2-compat": { + "version": "2.0.1", + "resolved": "http://registry.npmjs.org/pbkdf2-compat/-/pbkdf2-compat-2.0.1.tgz", + "integrity": "sha1-tuDI+plJTZTgURV1gCpZpcFC8og=", + "dev": true + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", + "dev": true + }, + "pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "dev": true, + "requires": { + "pinkie": "2.0.4" + } + }, + "pkg-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-1.0.0.tgz", + "integrity": "sha1-ektQio1bstYp1EcFb/TpyTFM89Q=", + "dev": true, + "requires": { + "find-up": "1.1.2" + } + }, + "pluralize": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz", + "integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==", + "dev": true + }, + "popper.js": { + "version": "1.14.4", + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.14.4.tgz", + "integrity": "sha1-juwdj/AqWjoVLdQ0FKFce3n9abY=" + }, + "posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", + "dev": true + }, + "postcss": { + "version": "5.2.18", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", + "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", + "dev": true, + "requires": { + "chalk": "1.1.3", + "js-base64": "2.4.3", + "source-map": "0.5.7", + "supports-color": "3.2.3" + }, + "dependencies": { + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "1.0.0" + } + } + } + }, + "postcss-calc": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-5.3.1.tgz", + "integrity": "sha1-d7rnypKK2FcW4v2kLyYb98HWW14=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "postcss-message-helpers": "2.0.0", + "reduce-css-calc": "1.3.0" + } + }, + "postcss-colormin": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-2.2.2.tgz", + "integrity": "sha1-ZjFBfV8OkJo9fsJrJMio0eT5bks=", + "dev": true, + "requires": { + "colormin": "1.1.2", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-convert-values": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-2.6.1.tgz", + "integrity": "sha1-u9hZPFwf0uPRwyK7kl3K6Nrk1i0=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-discard-comments": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-2.0.4.tgz", + "integrity": "sha1-vv6J+v1bPazlzM5Rt2uBUUvgDj0=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-discard-duplicates": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-2.1.0.tgz", + "integrity": "sha1-uavye4isGIFYpesSq8riAmO5GTI=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-discard-empty": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-2.1.0.tgz", + "integrity": "sha1-0rS9nVztXr2Nyt52QMfXzX9PkrU=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-discard-overridden": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-0.1.1.tgz", + "integrity": "sha1-ix6vVU9ob7KIzYdMVWZ7CqNmjVg=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-discard-unused": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/postcss-discard-unused/-/postcss-discard-unused-2.2.3.tgz", + "integrity": "sha1-vOMLLMWR/8Y0Mitfs0ZLbZNPRDM=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "uniqs": "2.0.0" + } + }, + "postcss-filter-plugins": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/postcss-filter-plugins/-/postcss-filter-plugins-2.0.2.tgz", + "integrity": "sha1-bYWGJTTXNaxCDkqFgG4fXUKG2Ew=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "uniqid": "4.1.1" + } + }, + "postcss-merge-idents": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-2.1.7.tgz", + "integrity": "sha1-TFUwMTwI4dWzu/PSu8dH4njuonA=", + "dev": true, + "requires": { + "has": "1.0.3", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-merge-longhand": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-2.0.2.tgz", + "integrity": "sha1-I9kM0Sewp3mUkVMyc5A0oaTz1lg=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-merge-rules": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-2.1.2.tgz", + "integrity": "sha1-0d9d+qexrMO+VT8OnhDofGG19yE=", + "dev": true, + "requires": { + "browserslist": "1.7.7", + "caniuse-api": "1.6.1", + "postcss": "5.2.18", + "postcss-selector-parser": "2.2.3", + "vendors": "1.0.2" + }, + "dependencies": { + "browserslist": { + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz", + "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", + "dev": true, + "requires": { + "caniuse-db": "1.0.30000890", + "electron-to-chromium": "1.3.67" + } + } + } + }, + "postcss-message-helpers": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postcss-message-helpers/-/postcss-message-helpers-2.0.0.tgz", + "integrity": "sha1-pPL0+rbk/gAvCu0ABHjN9S+bpg4=", + "dev": true + }, + "postcss-minify-font-values": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-1.0.5.tgz", + "integrity": "sha1-S1jttWZB66fIR0qzUmyv17vey2k=", + "dev": true, + "requires": { + "object-assign": "4.1.1", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-minify-gradients": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-1.0.5.tgz", + "integrity": "sha1-Xb2hE3NwP4PPtKPqOIHY11/15uE=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-minify-params": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-1.2.2.tgz", + "integrity": "sha1-rSzgcTc7lDs9kwo/pZo1jCjW8fM=", + "dev": true, + "requires": { + "alphanum-sort": "1.0.2", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0", + "uniqs": "2.0.0" + } + }, + "postcss-minify-selectors": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-2.1.1.tgz", + "integrity": "sha1-ssapjAByz5G5MtGkllCBFDEXNb8=", + "dev": true, + "requires": { + "alphanum-sort": "1.0.2", + "has": "1.0.3", + "postcss": "5.2.18", + "postcss-selector-parser": "2.2.3" + } + }, + "postcss-modules-extract-imports": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.2.0.tgz", + "integrity": "sha1-ZhQOzs447wa/DT41XWm/WdFB6oU=", + "dev": true, + "requires": { + "postcss": "6.0.23" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "source-map": "0.6.1", + "supports-color": "5.5.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "postcss-modules-local-by-default": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz", + "integrity": "sha1-99gMOYxaOT+nlkRmvRlQCn1hwGk=", + "dev": true, + "requires": { + "css-selector-tokenizer": "0.7.0", + "postcss": "6.0.23" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "source-map": "0.6.1", + "supports-color": "5.5.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "postcss-modules-scope": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-1.1.0.tgz", + "integrity": "sha1-1upkmUx5+XtipytCb75gVqGUu5A=", + "dev": true, + "requires": { + "css-selector-tokenizer": "0.7.0", + "postcss": "6.0.23" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "source-map": "0.6.1", + "supports-color": "5.5.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "postcss-modules-values": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-1.3.0.tgz", + "integrity": "sha1-7P+p1+GSUYOJ9CrQ6D9yrsRW6iA=", + "dev": true, + "requires": { + "icss-replace-symbols": "1.1.0", + "postcss": "6.0.23" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "postcss": { + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "source-map": "0.6.1", + "supports-color": "5.5.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "postcss-normalize-charset": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-1.1.1.tgz", + "integrity": "sha1-757nEhLX/nWceO0WL2HtYrXLk/E=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-normalize-url": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-3.0.8.tgz", + "integrity": "sha1-EI90s/L82viRov+j6kWSJ5/HgiI=", + "dev": true, + "requires": { + "is-absolute-url": "2.1.0", + "normalize-url": "1.9.1", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-ordered-values": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-2.2.3.tgz", + "integrity": "sha1-7sbCpntsQSqNsgQud/6NpD+VwR0=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-reduce-idents": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/postcss-reduce-idents/-/postcss-reduce-idents-2.4.0.tgz", + "integrity": "sha1-wsbSDMlYKE9qv75j92Cb9AkFmtM=", + "dev": true, + "requires": { + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-reduce-initial": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-1.0.1.tgz", + "integrity": "sha1-aPgGlfBF0IJjqHmtJA343WT2ROo=", + "dev": true, + "requires": { + "postcss": "5.2.18" + } + }, + "postcss-reduce-transforms": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-1.0.4.tgz", + "integrity": "sha1-/3b02CEkN7McKYpC0uFEQCV3GuE=", + "dev": true, + "requires": { + "has": "1.0.3", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0" + } + }, + "postcss-selector-parser": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-2.2.3.tgz", + "integrity": "sha1-+UN3iGBsPJrO4W/+jYsWKX8nu5A=", + "dev": true, + "requires": { + "flatten": "1.0.2", + "indexes-of": "1.0.1", + "uniq": "1.0.1" + } + }, + "postcss-svgo": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-2.1.6.tgz", + "integrity": "sha1-tt8YqmE7Zm4TPwittSGcJoSsEI0=", + "dev": true, + "requires": { + "is-svg": "2.1.0", + "postcss": "5.2.18", + "postcss-value-parser": "3.3.0", + "svgo": "0.7.2" + } + }, + "postcss-unique-selectors": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-2.0.2.tgz", + "integrity": "sha1-mB1X0p3csz57Hf4f1DuGSfkzyh0=", + "dev": true, + "requires": { + "alphanum-sort": "1.0.2", + "postcss": "5.2.18", + "uniqs": "2.0.0" + } + }, + "postcss-value-parser": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.0.tgz", + "integrity": "sha1-h/OPnxj3dKSrTIojL1xc6IcqnRU=", + "dev": true + }, + "postcss-zindex": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/postcss-zindex/-/postcss-zindex-2.2.0.tgz", + "integrity": "sha1-0hCd3AVbka9n/EyzsCWUZjnSryI=", + "dev": true, + "requires": { + "has": "1.0.3", + "postcss": "5.2.18", + "uniqs": "2.0.0" + } + }, + "prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", + "dev": true + }, + "prepend-http": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", + "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=", + "dev": true + }, + "preserve": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", + "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", + "dev": true + }, + "prettier": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.14.3.tgz", + "integrity": "sha512-qZDVnCrnpsRJJq5nSsiHCE3BYMED2OtsI+cmzIzF1QIfqm5ALf8tEJcO27zV1gKNKRPdhjO0dNWnrzssDQ1tFg==", + "dev": true + }, + "pretty-format": { + "version": "21.2.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-21.2.1.tgz", + "integrity": "sha512-ZdWPGYAnYfcVP8yKA3zFjCn8s4/17TeYH28MXuC8vTp0o21eXjbFGcOAXZEaDaOFJjc3h2qa7HQNHNshhvoh2A==", + "dev": true, + "requires": { + "ansi-regex": "3.0.0", + "ansi-styles": "3.2.1" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + } + } + }, + "private": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", + "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", + "dev": true + }, + "process": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/process/-/process-0.5.2.tgz", + "integrity": "sha1-FjjYqONML0QKkduVq5rrZ3/Bhc8=", + "dev": true + }, + "process-nextick-args": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", + "dev": true + }, + "progress": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.0.tgz", + "integrity": "sha1-ihvjZr+Pwj2yvSPxDG/pILQ4nR8=", + "dev": true + }, + "promise": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "requires": { + "asap": "2.0.6" + } + }, + "prop-types": { + "version": "15.6.2", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz", + "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==", + "requires": { + "loose-envify": "1.4.0", + "object-assign": "4.1.1" + } + }, + "proxy-addr": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.4.tgz", + "integrity": "sha512-5erio2h9jp5CHGwcybmxmVqHmnCBZeewlfJ0pex+UW7Qny7OOZXTtH56TGNyBizkgiOwhJtMKrVzDTeKcySZwA==", + "dev": true, + "requires": { + "forwarded": "0.1.2", + "ipaddr.js": "1.8.0" + } + }, + "prr": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", + "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=", + "dev": true + }, + "ps-tree": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/ps-tree/-/ps-tree-1.1.0.tgz", + "integrity": "sha1-tCGyQUDWID8e08dplrRCewjowBQ=", + "dev": true, + "requires": { + "event-stream": "3.3.6" + } + }, + "pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", + "dev": true + }, + "psl": { + "version": "1.1.29", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.29.tgz", + "integrity": "sha512-AeUmQ0oLN02flVHXWh9sSJF7mcdFq0ppid/JkErufc3hGIV/AMa8Fo9VgDo/cT2jFdOWoFvHp90qqBH54W+gjQ==", + "dev": true + }, + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true + }, + "q": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", + "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=", + "dev": true + }, + "qjobs": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/qjobs/-/qjobs-1.2.0.tgz", + "integrity": "sha512-8YOJEHtxpySA3fFDyCRxA+UUV+fA+rTWnuWvylOK/NCjhY+b4ocCtmu8TtsWb+mYeU+GCHf/S66KZF/AsteKHg==", + "dev": true + }, + "qs": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-1.2.2.tgz", + "integrity": "sha1-GbV/8k3CqZzh+L32r82ln472H4g=", + "dev": true + }, + "query-string": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/query-string/-/query-string-4.3.4.tgz", + "integrity": "sha1-u7aTucqRXCMlFbIosaArYJBD2+s=", + "dev": true, + "requires": { + "object-assign": "4.1.1", + "strict-uri-encode": "1.1.0" + } + }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "dev": true + }, + "querystring-es3": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", + "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", + "dev": true + }, + "querystringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.0.0.tgz", + "integrity": "sha512-eTPo5t/4bgaMNZxyjWx6N2a6AuE0mq51KWvpc7nU/MAqixcI6v6KrGUKES0HaomdnolQBBXU/++X6/QQ9KL4tw==", + "dev": true + }, + "raf": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.0.tgz", + "integrity": "sha512-pDP/NMRAXoTfrhCfyfSEwJAKLaxBU9eApMeBPB1TkDouZmvPerIClV8lTAd+uF8ZiTaVl69e1FCxQrAd/VTjGw==", + "dev": true, + "requires": { + "performance-now": "2.1.0" + } + }, + "railroad-diagrams": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz", + "integrity": "sha1-635iZ1SN3t+4mcG5Dlc3RVnN234=", + "dev": true + }, + "randexp": { + "version": "0.4.6", + "resolved": "https://registry.npmjs.org/randexp/-/randexp-0.4.6.tgz", + "integrity": "sha512-80WNmd9DA0tmZrw9qQa62GPPWfuXJknrmVmLcxvq4uZBdYqb1wYoKTmnlGUchvVWe0XiLupYkBoXVOxz3C8DYQ==", + "dev": true, + "requires": { + "discontinuous-range": "1.0.0", + "ret": "0.1.15" + } + }, + "randomatic": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.0.tgz", + "integrity": "sha512-KnGPVE0lo2WoXxIZ7cPR8YBpiol4gsSuOwDSg410oHh80ZMp5EiypNqL2K4Z77vJn6lB5rap7IkAmcUlalcnBQ==", + "dev": true, + "requires": { + "is-number": "4.0.0", + "kind-of": "6.0.2", + "math-random": "1.0.1" + }, + "dependencies": { + "is-number": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", + "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "range-parser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", + "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=", + "dev": true + }, + "raw-body": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.2.tgz", + "integrity": "sha1-vNYMd9Prk83gBQKVw/N5OJvIj4k=", + "dev": true, + "requires": { + "bytes": "3.0.0", + "http-errors": "1.6.2", + "iconv-lite": "0.4.19", + "unpipe": "1.0.0" + }, + "dependencies": { + "depd": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.1.tgz", + "integrity": "sha1-V4O04cRZ8G+lyif5kfPQbnoxA1k=", + "dev": true + }, + "http-errors": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.2.tgz", + "integrity": "sha1-CgAsyFcHGSp+eUbO7cERVfYOxzY=", + "dev": true, + "requires": { + "depd": "1.1.1", + "inherits": "2.0.3", + "setprototypeof": "1.0.3", + "statuses": "1.4.0" + } + }, + "iconv-lite": { + "version": "0.4.19", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz", + "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==", + "dev": true + }, + "setprototypeof": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.3.tgz", + "integrity": "sha1-ZlZ+NwQ+608E2RvWWMDL77VbjgQ=", + "dev": true + } + } + }, + "react": { + "version": "16.5.2", + "resolved": "https://registry.npmjs.org/react/-/react-16.5.2.tgz", + "integrity": "sha512-FDCSVd3DjVTmbEAjUNX6FgfAmQ+ypJfHUsqUJOYNCBUp1h8lqmtC+0mXJ+JjsWx4KAVTkk1vKd1hLQPvEviSuw==", + "dev": true, + "requires": { + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "prop-types": "15.6.2", + "schedule": "0.5.0" + } + }, + "react-deep-force-update": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/react-deep-force-update/-/react-deep-force-update-1.1.2.tgz", + "integrity": "sha512-WUSQJ4P/wWcusaH+zZmbECOk7H5N2pOIl0vzheeornkIMhu+qrNdGFm0bDZLCb0hSF0jf/kH1SgkNGfBdTc4wA==", + "dev": true + }, + "react-docgen": { + "version": "2.21.0", + "resolved": "https://registry.npmjs.org/react-docgen/-/react-docgen-2.21.0.tgz", + "integrity": "sha512-8xNPTrmvHLGNfqlsCYPdXmSkagP1njI5unP3t8WrjTJ4/5hHuP5nb3XH69CnF67HPV5zTkPoafcRBDGSQO6S6A==", + "dev": true, + "requires": { + "async": "2.6.1", + "babel-runtime": "6.26.0", + "babylon": "5.8.38", + "commander": "2.17.1", + "doctrine": "2.1.0", + "node-dir": "0.1.17", + "recast": "0.12.9" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + }, + "babylon": { + "version": "5.8.38", + "resolved": "http://registry.npmjs.org/babylon/-/babylon-5.8.38.tgz", + "integrity": "sha1-7JsSCxG/bM1Bc6GL8hfmC3mFn/0=", + "dev": true + } + } + }, + "react-dom": { + "version": "16.5.2", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.5.2.tgz", + "integrity": "sha512-RC8LDw8feuZOHVgzEf7f+cxBr/DnKdqp56VU0lAs1f4UfKc4cU8wU4fTq/mgnvynLQo8OtlPC19NUFh/zjZPuA==", + "dev": true, + "requires": { + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "prop-types": "15.6.2", + "schedule": "0.5.0" + } + }, + "react-is": { + "version": "16.5.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.5.2.tgz", + "integrity": "sha512-hSl7E6l25GTjNEZATqZIuWOgSnpXb3kD0DVCujmg46K5zLxsbiKaaT6VO9slkSBDPZfYs30lwfJwbOFOnoEnKQ==", + "dev": true + }, + "react-onclickoutside": { + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/react-onclickoutside/-/react-onclickoutside-6.7.1.tgz", + "integrity": "sha512-p84kBqGaMoa7VYT0vZ/aOYRfJB+gw34yjpda1Z5KeLflg70HipZOT+MXQenEhdkPAABuE2Astq4zEPdMqUQxcg==" + }, + "react-popper": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-1.0.2.tgz", + "integrity": "sha512-vjZ94ki8sfCAg45MMi4uqnUUWdzbnYkb95sR2+HgiMaAPzQcy4DfDKYtYUOhhE+sdtkufWcUHLv09DmH2Js57w==", + "requires": { + "babel-runtime": "6.26.0", + "create-react-context": "0.2.3", + "popper.js": "1.14.4", + "prop-types": "15.6.2", + "typed-styles": "0.0.5", + "warning": "3.0.0" + } + }, + "react-proxy": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/react-proxy/-/react-proxy-1.1.8.tgz", + "integrity": "sha1-nb/Z2SdSjDqp9ETkVYw3gwq4wmo=", + "dev": true, + "requires": { + "lodash": "4.17.11", + "react-deep-force-update": "1.1.2" + } + }, + "react-test-renderer": { + "version": "16.5.2", + "resolved": "https://registry.npmjs.org/react-test-renderer/-/react-test-renderer-16.5.2.tgz", + "integrity": "sha512-AGbJYbCVx1J6jdUgI4s0hNp+9LxlgzKvXl0ROA3DHTrtjAr00Po1RhDZ/eAq2VC/ww8AHgpDXULh5V2rhEqqJg==", + "dev": true, + "requires": { + "object-assign": "4.1.1", + "prop-types": "15.6.2", + "react-is": "16.5.2", + "schedule": "0.5.0" + } + }, + "react-transform-hmr": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/react-transform-hmr/-/react-transform-hmr-1.0.4.tgz", + "integrity": "sha1-4aQL0Krvxy6N/Xp82gmvhQZjl7s=", + "dev": true, + "requires": { + "global": "4.3.2", + "react-proxy": "1.1.8" + } + }, + "read-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", + "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", + "dev": true, + "requires": { + "load-json-file": "2.0.0", + "normalize-package-data": "2.4.0", + "path-type": "2.0.0" + } + }, + "read-pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", + "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "dev": true, + "requires": { + "find-up": "2.1.0", + "read-pkg": "2.0.0" + }, + "dependencies": { + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "2.0.0" + } + } + } + }, + "readable-stream": { + "version": "1.0.34", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "0.0.1", + "string_decoder": "0.10.31" + } + }, + "readdirp": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "micromatch": "3.1.10", + "readable-stream": "2.3.6" + }, + "dependencies": { + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "1.1.0", + "array-unique": "0.3.2", + "extend-shallow": "2.0.1", + "fill-range": "4.0.0", + "isobject": "3.0.1", + "repeat-element": "1.1.3", + "snapdragon": "0.8.2", + "snapdragon-node": "2.1.1", + "split-string": "3.1.0", + "to-regex": "3.0.2" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "requires": { + "debug": "2.6.9", + "define-property": "0.2.5", + "extend-shallow": "2.0.1", + "posix-character-classes": "0.1.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "0.1.6", + "is-data-descriptor": "0.1.4", + "kind-of": "5.1.0" + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "requires": { + "array-unique": "0.3.2", + "define-property": "1.0.0", + "expand-brackets": "2.1.4", + "extend-shallow": "2.0.1", + "fragment-cache": "0.2.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "1.0.2" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "2.0.1", + "is-number": "3.0.0", + "repeat-string": "1.6.1", + "to-regex-range": "2.1.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "4.0.0", + "array-unique": "0.3.2", + "braces": "2.3.2", + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "extglob": "2.0.4", + "fragment-cache": "0.2.1", + "kind-of": "6.0.2", + "nanomatch": "1.2.13", + "object.pick": "1.3.0", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + } + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "readline2": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/readline2/-/readline2-1.0.1.tgz", + "integrity": "sha1-QQWWCP/BVHV7cV2ZidGZ/783LjU=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "mute-stream": "0.0.5" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "mute-stream": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.5.tgz", + "integrity": "sha1-j7+rsKmKJT0xhDMfno3rc3L6xsA=", + "dev": true + } + } + }, + "recast": { + "version": "0.12.9", + "resolved": "https://registry.npmjs.org/recast/-/recast-0.12.9.tgz", + "integrity": "sha512-y7ANxCWmMW8xLOaiopiRDlyjQ9ajKRENBH+2wjntIbk3A6ZR1+BLQttkmSHMY7Arl+AAZFwJ10grg2T6f1WI8A==", + "dev": true, + "requires": { + "ast-types": "0.10.1", + "core-js": "2.5.7", + "esprima": "4.0.1", + "private": "0.1.8", + "source-map": "0.6.1" + }, + "dependencies": { + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "redent": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", + "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "dev": true, + "requires": { + "indent-string": "2.1.0", + "strip-indent": "1.0.1" + }, + "dependencies": { + "strip-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", + "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "dev": true, + "requires": { + "get-stdin": "4.0.1" + } + } + } + }, + "reduce-css-calc": { + "version": "1.3.0", + "resolved": "http://registry.npmjs.org/reduce-css-calc/-/reduce-css-calc-1.3.0.tgz", + "integrity": "sha1-dHyRTgSWFKTJz7umKYca0dKSdxY=", + "dev": true, + "requires": { + "balanced-match": "0.4.2", + "math-expression-evaluator": "1.2.17", + "reduce-function-call": "1.0.2" + }, + "dependencies": { + "balanced-match": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", + "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=", + "dev": true + } + } + }, + "reduce-function-call": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/reduce-function-call/-/reduce-function-call-1.0.2.tgz", + "integrity": "sha1-WiAL+S4ON3UXUv5FsKszD9S2vpk=", + "dev": true, + "requires": { + "balanced-match": "0.4.2" + }, + "dependencies": { + "balanced-match": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", + "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=", + "dev": true + } + } + }, + "regenerate": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz", + "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==", + "dev": true + }, + "regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" + }, + "regenerator-transform": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz", + "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "private": "0.1.8" + } + }, + "regex-cache": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", + "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", + "dev": true, + "requires": { + "is-equal-shallow": "0.1.3" + } + }, + "regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "dev": true, + "requires": { + "extend-shallow": "3.0.2", + "safe-regex": "1.1.0" + } + }, + "regexpp": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-1.1.0.tgz", + "integrity": "sha512-LOPw8FpgdQF9etWMaAfG/WRthIdXJGYp4mJ2Jgn/2lpkbod9jPn0t9UqN7AxBOKNfzRbYyVfgc7Vk4t/MpnXgw==", + "dev": true + }, + "regexpu-core": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", + "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=", + "dev": true, + "requires": { + "regenerate": "1.4.0", + "regjsgen": "0.2.0", + "regjsparser": "0.1.5" + } + }, + "regjsgen": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", + "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=", + "dev": true + }, + "regjsparser": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", + "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", + "dev": true, + "requires": { + "jsesc": "0.5.0" + }, + "dependencies": { + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "dev": true + } + } + }, + "remove-trailing-separator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", + "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", + "dev": true + }, + "repeat-element": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", + "dev": true + }, + "repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "dev": true + }, + "repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "dev": true, + "requires": { + "is-finite": "1.0.2" + } + }, + "request": { + "version": "2.42.0", + "resolved": "http://registry.npmjs.org/request/-/request-2.42.0.tgz", + "integrity": "sha1-VyvQFIk4VkBArHqxSLlkI6BjMEo=", + "dev": true, + "requires": { + "aws-sign2": "0.5.0", + "bl": "0.9.5", + "caseless": "0.6.0", + "forever-agent": "0.5.2", + "form-data": "0.1.4", + "hawk": "1.1.1", + "http-signature": "0.10.1", + "json-stringify-safe": "5.0.1", + "mime-types": "1.0.2", + "node-uuid": "1.4.8", + "oauth-sign": "0.4.0", + "qs": "1.2.2", + "stringstream": "0.0.6", + "tough-cookie": "2.4.3", + "tunnel-agent": "0.4.3" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true + }, + "require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true + }, + "require-main-filename": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", + "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", + "dev": true + }, + "require-uncached": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz", + "integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=", + "dev": true, + "requires": { + "caller-path": "0.1.0", + "resolve-from": "1.0.1" + } + }, + "requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", + "dev": true + }, + "resolve": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz", + "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==", + "dev": true, + "requires": { + "path-parse": "1.0.6" + } + }, + "resolve-from": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz", + "integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=", + "dev": true + }, + "resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", + "dev": true + }, + "restore-cursor": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", + "dev": true, + "requires": { + "onetime": "2.0.1", + "signal-exit": "3.0.2" + } + }, + "resumer": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz", + "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=", + "dev": true, + "requires": { + "through": "2.3.8" + } + }, + "ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "dev": true + }, + "right-align": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", + "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", + "dev": true, + "requires": { + "align-text": "0.1.4" + } + }, + "rimraf": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", + "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", + "dev": true, + "requires": { + "glob": "7.1.3" + } + }, + "ripemd160": { + "version": "0.2.0", + "resolved": "http://registry.npmjs.org/ripemd160/-/ripemd160-0.2.0.tgz", + "integrity": "sha1-K/GYveFnys+lHAqSjoS2i74XH84=", + "dev": true + }, + "rollup": { + "version": "0.51.8", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-0.51.8.tgz", + "integrity": "sha512-e7FwWxqb4vhdonmwRH06nqC9wR6h1kZojK2D+lN1xjiB8FDtAKgy7o+r8fCXVzQZ1ZCdcVlls3mTq5g6u38Jew==", + "dev": true + }, + "rollup-plugin-babel": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/rollup-plugin-babel/-/rollup-plugin-babel-3.0.7.tgz", + "integrity": "sha512-bVe2y0z/V5Ax1qU8NX/0idmzIwJPdUGu8Xx3vXH73h0yGjxfv2gkFI82MBVg49SlsFlLTBadBHb67zy4TWM3hA==", + "dev": true, + "requires": { + "rollup-pluginutils": "1.5.2" + } + }, + "rollup-plugin-commonjs": { + "version": "8.4.1", + "resolved": "http://registry.npmjs.org/rollup-plugin-commonjs/-/rollup-plugin-commonjs-8.4.1.tgz", + "integrity": "sha512-mg+WuD+jlwoo8bJtW3Mvx7Tz6TsIdMsdhuvCnDMoyjh0oxsVgsjB/N0X984RJCWwc5IIiqNVJhXeeITcc73++A==", + "dev": true, + "requires": { + "acorn": "5.7.3", + "estree-walker": "0.5.2", + "magic-string": "0.22.5", + "resolve": "1.8.1", + "rollup-pluginutils": "2.3.3" + }, + "dependencies": { + "estree-walker": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.5.2.tgz", + "integrity": "sha512-XpCnW/AE10ws/kDAs37cngSkvgIR8aN3G0MS85m7dUpuK2EREo9VJ00uvw6Dg/hXEpfsE1I1TvJOJr+Z+TL+ig==", + "dev": true + }, + "rollup-pluginutils": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.3.3.tgz", + "integrity": "sha512-2XZwja7b6P5q4RZ5FhyX1+f46xi1Z3qBKigLRZ6VTZjwbN0K1IFGMlwm06Uu0Emcre2Z63l77nq/pzn+KxIEoA==", + "dev": true, + "requires": { + "estree-walker": "0.5.2", + "micromatch": "2.3.11" + } + } + } + }, + "rollup-plugin-node-resolve": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-3.4.0.tgz", + "integrity": "sha512-PJcd85dxfSBWih84ozRtBkB731OjXk0KnzN0oGp7WOWcarAFkVa71cV5hTJg2qpVsV2U8EUwrzHP3tvy9vS3qg==", + "dev": true, + "requires": { + "builtin-modules": "2.0.0", + "is-module": "1.0.0", + "resolve": "1.8.1" + }, + "dependencies": { + "builtin-modules": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-2.0.0.tgz", + "integrity": "sha512-3U5kUA5VPsRUA3nofm/BXX7GVHKfxz0hOBAPxXrIvHzlDRkQVqEn6yi8QJegxl4LzOHLdvb7XF5dVawa/VVYBg==", + "dev": true + } + } + }, + "rollup-plugin-uglify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/rollup-plugin-uglify/-/rollup-plugin-uglify-2.0.1.tgz", + "integrity": "sha1-Z7N60e/a+9g69MNrQMGJ7khmyWk=", + "dev": true, + "requires": { + "uglify-js": "3.4.9" + } + }, + "rollup-pluginutils": { + "version": "1.5.2", + "resolved": "http://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-1.5.2.tgz", + "integrity": "sha1-HhVud4+UtyVb+hs9AXi+j1xVJAg=", + "dev": true, + "requires": { + "estree-walker": "0.2.1", + "minimatch": "3.0.4" + } + }, + "rst-selector-parser": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/rst-selector-parser/-/rst-selector-parser-2.2.3.tgz", + "integrity": "sha1-gbIw6i/MYGbInjRy3nlChdmwPZE=", + "dev": true, + "requires": { + "lodash.flattendeep": "4.4.0", + "nearley": "2.15.1" + } + }, + "run-async": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", + "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", + "dev": true, + "requires": { + "is-promise": "2.1.0" + } + }, + "rx-lite": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", + "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=", + "dev": true + }, + "rx-lite-aggregates": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz", + "integrity": "sha1-dTuHqJoRyVRnxKwWJsTvxOBcZ74=", + "dev": true, + "requires": { + "rx-lite": "4.0.8" + } + }, + "rxjs": { + "version": "5.5.12", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.12.tgz", + "integrity": "sha512-xx2itnL5sBbqeeiVgNPVuQQ1nC8Jp2WfNJhXWHmElW9YmrpS9UVnNzhP3EH3HFqexO5Tlp8GhYY+WEcqcVMvGw==", + "dev": true, + "requires": { + "symbol-observable": "1.0.1" + }, + "dependencies": { + "symbol-observable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz", + "integrity": "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=", + "dev": true + } + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "dev": true, + "requires": { + "ret": "0.1.15" + } + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "samsam": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/samsam/-/samsam-1.3.0.tgz", + "integrity": "sha512-1HwIYD/8UlOtFS3QO3w7ey+SdSDFE4HRNLZoZRYVQefrOY3l17epswImeB1ijgJFQJodIaHcwkp3r/myBjFVbg==", + "dev": true + }, + "sass-graph": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz", + "integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=", + "dev": true, + "requires": { + "glob": "7.1.3", + "lodash": "4.17.11", + "scss-tokenizer": "0.2.3", + "yargs": "7.1.0" + } + }, + "sass-lint": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/sass-lint/-/sass-lint-1.12.1.tgz", + "integrity": "sha1-Yw9pwhaqIGuCMvsqqQe98zNrbYM=", + "dev": true, + "requires": { + "commander": "2.17.1", + "eslint": "2.13.1", + "front-matter": "2.1.2", + "fs-extra": "3.0.1", + "glob": "7.1.3", + "globule": "1.2.1", + "gonzales-pe-sl": "4.2.3", + "js-yaml": "3.7.0", + "known-css-properties": "0.3.0", + "lodash.capitalize": "4.2.1", + "lodash.kebabcase": "4.1.1", + "merge": "1.2.0", + "path-is-absolute": "1.0.1", + "util": "0.10.4" + }, + "dependencies": { + "ajv": { + "version": "4.11.8", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz", + "integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=", + "dev": true, + "requires": { + "co": "4.6.0", + "json-stable-stringify": "1.0.1" + } + }, + "ajv-keywords": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-1.5.1.tgz", + "integrity": "sha1-MU3QpLM2j609/NxU7eYXG4htrzw=", + "dev": true + }, + "ansi-escapes": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", + "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=", + "dev": true + }, + "cli-cursor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", + "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", + "dev": true, + "requires": { + "restore-cursor": "1.0.1" + } + }, + "doctrine": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", + "dev": true, + "requires": { + "esutils": "2.0.2", + "isarray": "1.0.0" + } + }, + "eslint": { + "version": "2.13.1", + "resolved": "http://registry.npmjs.org/eslint/-/eslint-2.13.1.tgz", + "integrity": "sha1-5MyPoPAJ+4KaquI4VaKTYL4fbBE=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "concat-stream": "1.6.2", + "debug": "2.6.9", + "doctrine": "1.5.0", + "es6-map": "0.1.5", + "escope": "3.6.0", + "espree": "3.5.4", + "estraverse": "4.2.0", + "esutils": "2.0.2", + "file-entry-cache": "1.3.1", + "glob": "7.1.3", + "globals": "9.18.0", + "ignore": "3.3.10", + "imurmurhash": "0.1.4", + "inquirer": "0.12.0", + "is-my-json-valid": "2.19.0", + "is-resolvable": "1.1.0", + "js-yaml": "3.7.0", + "json-stable-stringify": "1.0.1", + "levn": "0.3.0", + "lodash": "4.17.11", + "mkdirp": "0.5.1", + "optionator": "0.8.2", + "path-is-absolute": "1.0.1", + "path-is-inside": "1.0.2", + "pluralize": "1.2.1", + "progress": "1.1.8", + "require-uncached": "1.0.3", + "shelljs": "0.6.1", + "strip-json-comments": "1.0.4", + "table": "3.8.3", + "text-table": "0.2.0", + "user-home": "2.0.0" + } + }, + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5", + "object-assign": "4.1.1" + } + }, + "file-entry-cache": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-1.3.1.tgz", + "integrity": "sha1-RMYepgeuS+nBQC9B9EJwy/4zT/g=", + "dev": true, + "requires": { + "flat-cache": "1.3.0", + "object-assign": "4.1.1" + } + }, + "inquirer": { + "version": "0.12.0", + "resolved": "http://registry.npmjs.org/inquirer/-/inquirer-0.12.0.tgz", + "integrity": "sha1-HvK/1jUE3wvHV4X/+MLEHfEvB34=", + "dev": true, + "requires": { + "ansi-escapes": "1.4.0", + "ansi-regex": "2.1.1", + "chalk": "1.1.3", + "cli-cursor": "1.0.2", + "cli-width": "2.2.0", + "figures": "1.7.0", + "lodash": "4.17.11", + "readline2": "1.0.1", + "run-async": "0.1.0", + "rx-lite": "3.1.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "through": "2.3.8" + } + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "onetime": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", + "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", + "dev": true + }, + "pluralize": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-1.2.1.tgz", + "integrity": "sha1-0aIUg/0iu0HlihL6NCGCMUCJfEU=", + "dev": true + }, + "progress": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/progress/-/progress-1.1.8.tgz", + "integrity": "sha1-4mDHj2Fhzdmw5WzD4Khd4Xx6V74=", + "dev": true + }, + "restore-cursor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", + "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", + "dev": true, + "requires": { + "exit-hook": "1.1.1", + "onetime": "1.1.0" + } + }, + "run-async": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-0.1.0.tgz", + "integrity": "sha1-yK1KXhEGYeQCp9IbUw4AnyX444k=", + "dev": true, + "requires": { + "once": "1.4.0" + } + }, + "rx-lite": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-3.1.2.tgz", + "integrity": "sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI=", + "dev": true + }, + "slice-ansi": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", + "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=", + "dev": true + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "strip-json-comments": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.4.tgz", + "integrity": "sha1-HhX7ysl9Pumb8tc7TGVrCCu6+5E=", + "dev": true + }, + "table": { + "version": "3.8.3", + "resolved": "http://registry.npmjs.org/table/-/table-3.8.3.tgz", + "integrity": "sha1-K7xULw/amGGnVdOUf+/Ys/UThV8=", + "dev": true, + "requires": { + "ajv": "4.11.8", + "ajv-keywords": "1.5.1", + "chalk": "1.1.3", + "lodash": "4.17.11", + "slice-ansi": "0.0.4", + "string-width": "2.1.1" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "3.0.0" + } + } + } + } + } + }, + "sass-loader": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-4.1.1.tgz", + "integrity": "sha1-ee+UaM8L9kbClSnh8sumvW5Rx7w=", + "dev": true, + "requires": { + "async": "2.6.1", + "loader-utils": "0.2.17", + "object-assign": "4.1.1" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "dev": true, + "requires": { + "lodash": "4.17.11" + } + } + } + }, + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "dev": true + }, + "schedule": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/schedule/-/schedule-0.5.0.tgz", + "integrity": "sha512-HUcJicG5Ou8xfR//c2rPT0lPIRR09vVvN81T9fqfVgBmhERUbDEQoYKjpBxbueJnCPpSu2ujXzOnRQt6x9o/jw==", + "dev": true, + "requires": { + "object-assign": "4.1.1" + } + }, + "schema-utils": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.3.0.tgz", + "integrity": "sha1-9YdyIs4+kx7a4DnxfrNxbnE3+M8=", + "dev": true, + "requires": { + "ajv": "5.5.2" + } + }, + "scss-tokenizer": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz", + "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=", + "dev": true, + "requires": { + "js-base64": "2.4.3", + "source-map": "0.4.4" + }, + "dependencies": { + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": "1.0.1" + } + } + } + }, + "semver": { + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz", + "integrity": "sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw==", + "dev": true + }, + "send": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz", + "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==", + "dev": true, + "requires": { + "debug": "2.6.9", + "depd": "1.1.2", + "destroy": "1.0.4", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "etag": "1.8.1", + "fresh": "0.5.2", + "http-errors": "1.6.3", + "mime": "1.4.1", + "ms": "2.0.0", + "on-finished": "2.3.0", + "range-parser": "1.2.0", + "statuses": "1.4.0" + }, + "dependencies": { + "mime": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", + "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==", + "dev": true + } + } + }, + "serve-index": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", + "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=", + "dev": true, + "requires": { + "accepts": "1.3.5", + "batch": "0.6.1", + "debug": "2.6.9", + "escape-html": "1.0.3", + "http-errors": "1.6.3", + "mime-types": "2.1.20", + "parseurl": "1.3.2" + }, + "dependencies": { + "mime-types": { + "version": "2.1.20", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz", + "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==", + "dev": true, + "requires": { + "mime-db": "1.36.0" + } + } + } + }, + "serve-static": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz", + "integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==", + "dev": true, + "requires": { + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "parseurl": "1.3.2", + "send": "0.16.2" + } + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, + "set-value": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", + "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==", + "dev": true, + "requires": { + "extend-shallow": "2.0.1", + "is-extendable": "0.1.1", + "is-plain-object": "2.0.4", + "split-string": "3.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" + }, + "setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + }, + "sha.js": { + "version": "2.2.6", + "resolved": "http://registry.npmjs.org/sha.js/-/sha.js-2.2.6.tgz", + "integrity": "sha1-F93t3F9yL7ZlAWWIlUYZd4ZzFbo=", + "dev": true + }, + "shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "dev": true, + "requires": { + "shebang-regex": "1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "dev": true + }, + "shell-quote": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.6.1.tgz", + "integrity": "sha1-9HgZSczkAmlxJ0MOo7PFR29IF2c=", + "dev": true, + "requires": { + "array-filter": "0.0.1", + "array-map": "0.0.0", + "array-reduce": "0.0.0", + "jsonify": "0.0.0" + } + }, + "shelljs": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.6.1.tgz", + "integrity": "sha1-7GIRvtGSBEIIj+D3Cyg3Iy7SyKg=", + "dev": true + }, + "signal-exit": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "dev": true + }, + "sinon": { + "version": "4.5.0", + "resolved": "http://registry.npmjs.org/sinon/-/sinon-4.5.0.tgz", + "integrity": "sha512-trdx+mB0VBBgoYucy6a9L7/jfQOmvGeaKZT4OOJ+lPAtI8623xyGr8wLiE4eojzBS8G9yXbhx42GHUOVLr4X2w==", + "dev": true, + "requires": { + "@sinonjs/formatio": "2.0.0", + "diff": "3.3.1", + "lodash.get": "4.4.2", + "lolex": "2.7.5", + "nise": "1.4.5", + "supports-color": "5.5.0", + "type-detect": "4.0.8" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true + } + } + }, + "slash": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", + "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", + "dev": true + }, + "slice-ansi": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz", + "integrity": "sha512-POqxBK6Lb3q6s047D/XsDVNPnF9Dl8JSaqe9h9lURl0OdNqy/ujDrOiIHtsqXMGbWWTIomRzAMaTyawAU//Reg==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "2.0.0" + } + }, + "snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dev": true, + "requires": { + "base": "0.11.2", + "debug": "2.6.9", + "define-property": "0.2.5", + "extend-shallow": "2.0.1", + "map-cache": "0.2.2", + "source-map": "0.5.7", + "source-map-resolve": "0.5.2", + "use": "3.1.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dev": true, + "requires": { + "define-property": "1.0.0", + "isobject": "3.0.1", + "snapdragon-util": "3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "1.0.2" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "6.0.2" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, + "sntp": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/sntp/-/sntp-0.2.4.tgz", + "integrity": "sha1-+4hfGLDzqtGJ+CSGJTa87ux1CQA=", + "dev": true, + "optional": true, + "requires": { + "hoek": "0.9.1" + } + }, + "socket.io": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-1.7.3.tgz", + "integrity": "sha1-uK+cq6AJSeVo42nxMn6pvp6iRhs=", + "dev": true, + "requires": { + "debug": "2.3.3", + "engine.io": "1.8.3", + "has-binary": "0.1.7", + "object-assign": "4.1.0", + "socket.io-adapter": "0.5.0", + "socket.io-client": "1.7.3", + "socket.io-parser": "2.3.1" + }, + "dependencies": { + "debug": { + "version": "2.3.3", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.3.3.tgz", + "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=", + "dev": true, + "requires": { + "ms": "0.7.2" + } + }, + "ms": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", + "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "dev": true + }, + "object-assign": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.0.tgz", + "integrity": "sha1-ejs9DpgGPUP0wD8uiubNUahog6A=", + "dev": true + } + } + }, + "socket.io-adapter": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-0.5.0.tgz", + "integrity": "sha1-y21LuL7IHhB4uZZ3+c7QBGBmu4s=", + "dev": true, + "requires": { + "debug": "2.3.3", + "socket.io-parser": "2.3.1" + }, + "dependencies": { + "debug": { + "version": "2.3.3", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.3.3.tgz", + "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=", + "dev": true, + "requires": { + "ms": "0.7.2" + } + }, + "ms": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", + "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "dev": true + } + } + }, + "socket.io-client": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-1.7.3.tgz", + "integrity": "sha1-sw6GqhDV7zVGYBwJzeR2Xjgdo3c=", + "dev": true, + "requires": { + "backo2": "1.0.2", + "component-bind": "1.0.0", + "component-emitter": "1.2.1", + "debug": "2.3.3", + "engine.io-client": "1.8.3", + "has-binary": "0.1.7", + "indexof": "0.0.1", + "object-component": "0.0.3", + "parseuri": "0.0.5", + "socket.io-parser": "2.3.1", + "to-array": "0.1.4" + }, + "dependencies": { + "debug": { + "version": "2.3.3", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.3.3.tgz", + "integrity": "sha1-QMRT5n5uE8kB3ewxeviYbNqe/4w=", + "dev": true, + "requires": { + "ms": "0.7.2" + } + }, + "ms": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", + "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "dev": true + } + } + }, + "socket.io-parser": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-2.3.1.tgz", + "integrity": "sha1-3VMgJRA85Clpcya+/WQAX8/ltKA=", + "dev": true, + "requires": { + "component-emitter": "1.1.2", + "debug": "2.2.0", + "isarray": "0.0.1", + "json3": "3.3.2" + }, + "dependencies": { + "component-emitter": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.1.2.tgz", + "integrity": "sha1-KWWU8nU9qmOZbSrwjRWpURbJrsM=", + "dev": true + }, + "debug": { + "version": "2.2.0", + "resolved": "http://registry.npmjs.org/debug/-/debug-2.2.0.tgz", + "integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=", + "dev": true, + "requires": { + "ms": "0.7.1" + } + }, + "ms": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz", + "integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=", + "dev": true + } + } + }, + "sockjs": { + "version": "0.3.19", + "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.19.tgz", + "integrity": "sha512-V48klKZl8T6MzatbLlzzRNhMepEys9Y4oGFpypBFFn1gLI/QQ9HtLLyWJNbPlwGLelOVOEijUbTTJeLLI59jLw==", + "dev": true, + "requires": { + "faye-websocket": "0.10.0", + "uuid": "3.3.2" + }, + "dependencies": { + "uuid": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", + "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + "dev": true + } + } + }, + "sockjs-client": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.1.5.tgz", + "integrity": "sha1-G7fA9yIsQPQq3xT0RCy9Eml3GoM=", + "dev": true, + "requires": { + "debug": "2.6.9", + "eventsource": "0.1.6", + "faye-websocket": "0.11.1", + "inherits": "2.0.3", + "json3": "3.3.2", + "url-parse": "1.4.3" + }, + "dependencies": { + "faye-websocket": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.1.tgz", + "integrity": "sha1-8O/hjE9W5PQK/H4Gxxn9XuYYjzg=", + "dev": true, + "requires": { + "websocket-driver": "0.7.0" + } + } + } + }, + "sort-keys": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz", + "integrity": "sha1-RBttTTRnmPG05J6JIK37oOVD+a0=", + "dev": true, + "requires": { + "is-plain-obj": "1.1.0" + } + }, + "source-list-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.0.tgz", + "integrity": "sha512-I2UmuJSRr/T8jisiROLU3A3ltr+swpniSmNPI4Ml3ZCX6tVnDsuZzK7F2hl5jTqbZBWCEKlj5HRQiPExXLgE8A==", + "dev": true + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + }, + "source-map-resolve": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", + "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", + "dev": true, + "requires": { + "atob": "2.1.2", + "decode-uri-component": "0.2.0", + "resolve-url": "0.2.1", + "source-map-url": "0.4.0", + "urix": "0.1.0" + } + }, + "source-map-support": { + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", + "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", + "dev": true, + "requires": { + "source-map": "0.5.7" + } + }, + "source-map-url": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", + "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", + "dev": true + }, + "spdx-correct": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.2.tgz", + "integrity": "sha512-q9hedtzyXHr5S0A1vEPoK/7l8NpfkFYTq6iCY+Pno2ZbdZR6WexZFtqeVGkGxW3TEJMN914Z55EnAGMmenlIQQ==", + "dev": true, + "requires": { + "spdx-expression-parse": "3.0.0", + "spdx-license-ids": "3.0.1" + } + }, + "spdx-exceptions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", + "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", + "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", + "dev": true, + "requires": { + "spdx-exceptions": "2.2.0", + "spdx-license-ids": "3.0.1" + } + }, + "spdx-license-ids": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.1.tgz", + "integrity": "sha512-TfOfPcYGBB5sDuPn3deByxPhmfegAhpDYKSOXZQN81Oyrrif8ZCodOLzK3AesELnCx03kikhyDwh0pfvvQvF8w==", + "dev": true + }, + "split": { + "version": "0.2.10", + "resolved": "http://registry.npmjs.org/split/-/split-0.2.10.tgz", + "integrity": "sha1-Zwl8YB1pfOE2j0GPBs0gHPBSGlc=", + "dev": true, + "requires": { + "through": "2.3.8" + } + }, + "split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dev": true, + "requires": { + "extend-shallow": "3.0.2" + } + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true + }, + "sshpk": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.15.1.tgz", + "integrity": "sha512-mSdgNUaidk+dRU5MhYtN9zebdzF2iG0cNPWy8HG+W8y+fT1JnSkh0fzzpjOa0L7P8i1Rscz38t0h4gPcKz43xA==", + "dev": true, + "requires": { + "asn1": "0.2.4", + "assert-plus": "1.0.0", + "bcrypt-pbkdf": "1.0.2", + "dashdash": "1.14.1", + "ecc-jsbn": "0.1.2", + "getpass": "0.1.7", + "jsbn": "0.1.1", + "safer-buffer": "2.1.2", + "tweetnacl": "0.14.5" + }, + "dependencies": { + "asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "dev": true, + "requires": { + "safer-buffer": "2.1.2" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + } + } + }, + "staged-git-files": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/staged-git-files/-/staged-git-files-1.0.0.tgz", + "integrity": "sha1-zbhHg3wfzFLAioctSIPMCHdmioA=", + "dev": true + }, + "static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", + "dev": true, + "requires": { + "define-property": "0.2.5", + "object-copy": "0.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + } + } + }, + "statuses": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz", + "integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==", + "dev": true + }, + "stdout-stream": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz", + "integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==", + "dev": true, + "requires": { + "readable-stream": "2.3.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "stream-browserify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz", + "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", + "dev": true, + "requires": { + "inherits": "2.0.3", + "readable-stream": "2.3.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "stream-cache": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/stream-cache/-/stream-cache-0.0.2.tgz", + "integrity": "sha1-GsWtaDJCjKVWZ9ve45Xa1ObbEY8=", + "dev": true + }, + "stream-combiner": { + "version": "0.0.4", + "resolved": "http://registry.npmjs.org/stream-combiner/-/stream-combiner-0.0.4.tgz", + "integrity": "sha1-TV5DPBhSYd3mI8o/RMWGvPXErRQ=", + "dev": true, + "requires": { + "duplexer": "0.1.1" + } + }, + "stream-http": { + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", + "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", + "dev": true, + "requires": { + "builtin-status-codes": "3.0.0", + "inherits": "2.0.3", + "readable-stream": "2.3.6", + "to-arraybuffer": "1.0.1", + "xtend": "4.0.1" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "stream-to-observable": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/stream-to-observable/-/stream-to-observable-0.2.0.tgz", + "integrity": "sha1-WdbqOT2HwsDdrBCqDVYbxrpvDhA=", + "dev": true, + "requires": { + "any-observable": "0.2.0" + } + }, + "strict-uri-encode": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", + "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "3.0.0" + } + } + } + }, + "string.prototype.padend": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.0.0.tgz", + "integrity": "sha1-86rvfBcZ8XDF6rHDK/eA2W4h8vA=", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0", + "function-bind": "1.1.1" + } + }, + "string.prototype.trim": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz", + "integrity": "sha1-0E3iyJ4Tf019IG8Ia17S+ua+jOo=", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0", + "function-bind": "1.1.1" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + }, + "stringify-object": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.2.2.tgz", + "integrity": "sha512-O696NF21oLiDy8PhpWu8AEqoZHw++QW6mUv0UvKZe8gWSdSvMXkiLufK7OmnP27Dro4GU5kb9U7JIO0mBuCRQg==", + "dev": true, + "requires": { + "get-own-enumerable-property-symbols": "2.0.1", + "is-obj": "1.0.1", + "is-regexp": "1.0.0" + } + }, + "stringstream": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.6.tgz", + "integrity": "sha512-87GEBAkegbBcweToUrdzf3eLhWNg06FJTebl4BVJz/JgWy8CvEr9dRtX5qWphiynMSQlxxi+QqN0z5T32SLlhA==", + "dev": true, + "optional": true + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "2.1.1" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + }, + "strip-eof": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", + "dev": true + }, + "strip-indent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz", + "integrity": "sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=", + "dev": true + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "dev": true + }, + "style-loader": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.19.1.tgz", + "integrity": "sha512-IRE+ijgojrygQi3rsqT0U4dd+UcPCqcVvauZpCnQrGAlEe+FUIyrK93bUDScamesjP08JlQNsFJU+KmPedP5Og==", + "dev": true, + "requires": { + "loader-utils": "1.1.0", + "schema-utils": "0.3.0" + }, + "dependencies": { + "loader-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", + "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", + "dev": true, + "requires": { + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1" + } + } + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + }, + "svgo": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/svgo/-/svgo-0.7.2.tgz", + "integrity": "sha1-n1dyQTlSE1xv779Ar+ak+qiLS7U=", + "dev": true, + "requires": { + "coa": "1.0.4", + "colors": "1.1.2", + "csso": "2.3.2", + "js-yaml": "3.7.0", + "mkdirp": "0.5.1", + "sax": "1.2.4", + "whet.extend": "0.9.9" + } + }, + "symbol-observable": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-0.2.4.tgz", + "integrity": "sha1-lag9smGG1q9+ehjb2XYKL4bQj0A=", + "dev": true + }, + "table": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/table/-/table-4.0.2.tgz", + "integrity": "sha512-UUkEAPdSGxtRpiV9ozJ5cMTtYiqz7Ni1OGqLXRCynrvzdtR1p+cfOWe2RJLwvUG8hNanaSRjecIqwOjqeatDsA==", + "dev": true, + "requires": { + "ajv": "5.5.2", + "ajv-keywords": "2.1.1", + "chalk": "2.4.1", + "lodash": "4.17.11", + "slice-ansi": "1.0.0", + "string-width": "2.1.1" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "tapable": { + "version": "0.1.10", + "resolved": "http://registry.npmjs.org/tapable/-/tapable-0.1.10.tgz", + "integrity": "sha1-KcNXB8K3DlDQdIK10gLo7URtr9Q=", + "dev": true + }, + "tape": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/tape/-/tape-2.3.0.tgz", + "integrity": "sha1-Df7scJIn+8yRcKvn8EaWKycUMds=", + "dev": true, + "requires": { + "deep-equal": "0.1.2", + "defined": "0.0.0", + "inherits": "2.0.3", + "jsonify": "0.0.0", + "resumer": "0.0.0", + "split": "0.2.10", + "stream-combiner": "0.0.4", + "through": "2.3.8" + } + }, + "tar": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz", + "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=", + "dev": true, + "requires": { + "block-stream": "0.0.9", + "fstream": "1.0.11", + "inherits": "2.0.3" + } + }, + "text-encoding": { + "version": "0.6.4", + "resolved": "http://registry.npmjs.org/text-encoding/-/text-encoding-0.6.4.tgz", + "integrity": "sha1-45mpgiV6J22uQou5KEXLcb3CbRk=", + "dev": true + }, + "text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "dev": true + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true + }, + "time-stamp": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-2.1.0.tgz", + "integrity": "sha512-lJbq6KsFhZJtN3fPUVje1tq/hHsJOKUUcUj/MGCiQR6qWBDcyi5kxL9J7/RnaEChCn0+L/DUN2WvemDrkk4i3Q==", + "dev": true + }, + "timers-browserify": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.10.tgz", + "integrity": "sha512-YvC1SV1XdOUaL6gx5CoGroT3Gu49pK9+TZ38ErPldOWW4j49GI1HKs9DV+KGq/w6y+LZ72W1c8cKz2vzY+qpzg==", + "dev": true, + "requires": { + "setimmediate": "1.0.5" + } + }, + "tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "requires": { + "os-tmpdir": "1.0.2" + } + }, + "to-array": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/to-array/-/to-array-0.1.4.tgz", + "integrity": "sha1-F+bBH3PdTz10zaek/zI46a2b+JA=", + "dev": true + }, + "to-arraybuffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", + "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", + "dev": true + }, + "to-fast-properties": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", + "dev": true + }, + "to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, + "to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dev": true, + "requires": { + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "regex-not": "1.0.2", + "safe-regex": "1.1.0" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "requires": { + "is-number": "3.0.0", + "repeat-string": "1.6.1" + }, + "dependencies": { + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + } + } + }, + "tough-cookie": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", + "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", + "dev": true, + "requires": { + "psl": "1.1.29", + "punycode": "1.4.1" + } + }, + "trim-newlines": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", + "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", + "dev": true + }, + "trim-right": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", + "dev": true + }, + "true-case-path": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz", + "integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==", + "dev": true, + "requires": { + "glob": "7.1.3" + } + }, + "tty-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", + "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=", + "dev": true + }, + "tunnel-agent": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", + "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=", + "dev": true + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true + }, + "type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "dev": true, + "requires": { + "prelude-ls": "1.1.2" + } + }, + "type-detect": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-1.0.0.tgz", + "integrity": "sha1-diIXzAbbJY7EiQihKY6LlRIejqI=", + "dev": true + }, + "type-is": { + "version": "1.6.16", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz", + "integrity": "sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q==", + "dev": true, + "requires": { + "media-typer": "0.3.0", + "mime-types": "2.1.20" + }, + "dependencies": { + "mime-types": { + "version": "2.1.20", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz", + "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==", + "dev": true, + "requires": { + "mime-db": "1.36.0" + } + } + } + }, + "typed-styles": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/typed-styles/-/typed-styles-0.0.5.tgz", + "integrity": "sha512-ht+rEe5UsdEBAa3gr64+QjUOqjOLJfWLvl5HZR5Ev9uo/OnD3p43wPeFSB1hNFc13GXQF/JU1Bn0YHLUqBRIlw==" + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", + "dev": true + }, + "ua-parser-js": { + "version": "0.7.18", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.18.tgz", + "integrity": "sha512-LtzwHlVHwFGTptfNSgezHp7WUlwiqb0gA9AALRbKaERfxwJoiX0A73QbTToxteIAuIaFshhgIZfqK8s7clqgnA==" + }, + "uglify-js": { + "version": "3.4.9", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.9.tgz", + "integrity": "sha512-8CJsbKOtEbnJsTyv6LE6m6ZKniqMiFWmm9sRbopbkGs3gMPPfd3Fh8iIA4Ykv5MgaTbqHr4BaoGLJLZNhsrW1Q==", + "dev": true, + "requires": { + "commander": "2.17.1", + "source-map": "0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "uglify-to-browserify": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", + "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", + "dev": true + }, + "ultron": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.0.2.tgz", + "integrity": "sha1-rOEWq1V80Zc4ak6I9GhTeMiy5Po=", + "dev": true + }, + "underscore": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz", + "integrity": "sha1-YaajIBBiKvoHljvzJSA88SI51gQ=", + "dev": true + }, + "union-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", + "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=", + "dev": true, + "requires": { + "arr-union": "3.1.0", + "get-value": "2.0.6", + "is-extendable": "0.1.1", + "set-value": "0.4.3" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + }, + "set-value": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz", + "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=", + "dev": true, + "requires": { + "extend-shallow": "2.0.1", + "is-extendable": "0.1.1", + "is-plain-object": "2.0.4", + "to-object-path": "0.3.0" + } + } + } + }, + "uniq": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", + "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=", + "dev": true + }, + "uniqid": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/uniqid/-/uniqid-4.1.1.tgz", + "integrity": "sha1-iSIN32t1GuUrX3JISGNShZa7hME=", + "dev": true, + "requires": { + "macaddress": "0.2.9" + } + }, + "uniqs": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz", + "integrity": "sha1-/+3ks2slKQaW5uFl1KWe25mOawI=", + "dev": true + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "dev": true + }, + "unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", + "dev": true, + "requires": { + "has-value": "0.3.1", + "isobject": "3.0.1" + }, + "dependencies": { + "has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", + "dev": true, + "requires": { + "get-value": "2.0.6", + "has-values": "0.1.4", + "isobject": "2.1.0" + }, + "dependencies": { + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "requires": { + "isarray": "1.0.0" + } + } + } + }, + "has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + } + } + }, + "urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", + "dev": true + }, + "url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "dev": true, + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + }, + "dependencies": { + "punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", + "dev": true + } + } + }, + "url-parse": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.4.3.tgz", + "integrity": "sha512-rh+KuAW36YKo0vClhQzLLveoj8FwPJNu65xLb7Mrt+eZht0IPT0IXgSv8gcMegZ6NvjJUALf6Mf25POlMwD1Fw==", + "dev": true, + "requires": { + "querystringify": "2.0.0", + "requires-port": "1.0.0" + } + }, + "urlgrey": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/urlgrey/-/urlgrey-0.4.0.tgz", + "integrity": "sha1-8GU1cED7NcOzEdTl3DZITZbb6gY=", + "dev": true, + "requires": { + "tape": "2.3.0" + } + }, + "use": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "dev": true + }, + "user-home": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/user-home/-/user-home-2.0.0.tgz", + "integrity": "sha1-nHC/2Babwdy/SGBODwS4tJzenp8=", + "dev": true, + "requires": { + "os-homedir": "1.0.2" + } + }, + "useragent": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/useragent/-/useragent-2.3.0.tgz", + "integrity": "sha512-4AoH4pxuSvHCjqLO04sU6U/uE65BYza8l/KKBS0b0hnUPWi+cQ2BpeTEwejCSx9SPV5/U03nniDTrWx5NrmKdw==", + "dev": true, + "requires": { + "lru-cache": "4.1.3", + "tmp": "0.0.33" + } + }, + "util": { + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", + "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", + "dev": true, + "requires": { + "inherits": "2.0.3" + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true + }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", + "dev": true + }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "requires": { + "spdx-correct": "3.0.2", + "spdx-expression-parse": "3.0.0" + } + }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", + "dev": true + }, + "vendors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.2.tgz", + "integrity": "sha512-w/hry/368nO21AN9QljsaIhb9ZiZtZARoVH5f3CsFbawdLdayCgKRPup7CggujvySMxx0I91NOyxdVENohprLQ==", + "dev": true + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "1.3.0" + }, + "dependencies": { + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + } + } + }, + "vlq": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/vlq/-/vlq-0.2.3.tgz", + "integrity": "sha512-DRibZL6DsNhIgYQ+wNdWDL2SL3bKPlVrRiBqV5yuMm++op8W4kGFtaQfCs4KEJn0wBZcHVHJ3eoywX8983k1ow==", + "dev": true + }, + "vm-browserify": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-0.0.4.tgz", + "integrity": "sha1-XX6kW7755Kb/ZflUOOCofDV9WnM=", + "dev": true, + "requires": { + "indexof": "0.0.1" + } + }, + "void-elements": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", + "integrity": "sha1-wGavtYK7HLQSjWDqkjkulNXp2+w=", + "dev": true + }, + "warning": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/warning/-/warning-3.0.0.tgz", + "integrity": "sha1-MuU3fLVy3kqwR1O9+IIcAe1gW3w=", + "requires": { + "loose-envify": "1.4.0" + } + }, + "watchpack": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-0.2.9.tgz", + "integrity": "sha1-Yuqkq15bo1/fwBgnVibjwPXj+ws=", + "dev": true, + "requires": { + "async": "0.9.2", + "chokidar": "1.7.0", + "graceful-fs": "4.1.11" + } + }, + "webpack": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-1.15.0.tgz", + "integrity": "sha1-T/MfU9sDM55VFkqdRo7gMklo/pg=", + "dev": true, + "requires": { + "acorn": "3.3.0", + "async": "1.5.2", + "clone": "1.0.4", + "enhanced-resolve": "0.9.1", + "interpret": "0.6.6", + "loader-utils": "0.2.17", + "memory-fs": "0.3.0", + "mkdirp": "0.5.1", + "node-libs-browser": "0.7.0", + "optimist": "0.6.1", + "supports-color": "3.2.3", + "tapable": "0.1.10", + "uglify-js": "2.7.5", + "watchpack": "0.2.9", + "webpack-core": "0.6.9" + }, + "dependencies": { + "acorn": { + "version": "3.3.0", + "resolved": "http://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", + "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=", + "dev": true + }, + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + }, + "camelcase": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", + "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=", + "dev": true + }, + "cliui": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", + "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", + "dev": true, + "requires": { + "center-align": "0.1.3", + "right-align": "0.1.3", + "wordwrap": "0.0.2" + } + }, + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "memory-fs": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.3.0.tgz", + "integrity": "sha1-e8xrYp46Q+hx1+Kaymrop/FcuyA=", + "dev": true, + "requires": { + "errno": "0.1.7", + "readable-stream": "2.3.6" + } + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + } + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "1.0.0" + } + }, + "uglify-js": { + "version": "2.7.5", + "resolved": "http://registry.npmjs.org/uglify-js/-/uglify-js-2.7.5.tgz", + "integrity": "sha1-RhLAx7qu4rp8SH3kkErhIgefLKg=", + "dev": true, + "requires": { + "async": "0.2.10", + "source-map": "0.5.7", + "uglify-to-browserify": "1.0.2", + "yargs": "3.10.0" + }, + "dependencies": { + "async": { + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/async/-/async-0.2.10.tgz", + "integrity": "sha1-trvgsGdLnXGXCMo43owjfLUmw9E=", + "dev": true + } + } + }, + "wordwrap": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", + "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=", + "dev": true + }, + "yargs": { + "version": "3.10.0", + "resolved": "http://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", + "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", + "dev": true, + "requires": { + "camelcase": "1.2.1", + "cliui": "2.1.0", + "decamelize": "1.2.0", + "window-size": "0.1.0" + } + } + } + }, + "webpack-core": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/webpack-core/-/webpack-core-0.6.9.tgz", + "integrity": "sha1-/FcViMhVjad76e+23r3Fo7FyvcI=", + "dev": true, + "requires": { + "source-list-map": "0.1.8", + "source-map": "0.4.4" + }, + "dependencies": { + "source-list-map": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-0.1.8.tgz", + "integrity": "sha1-xVCyq1Qn9rPyH1r+rYjE9Vh7IQY=", + "dev": true + }, + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": "1.0.1" + } + } + } + }, + "webpack-dev-middleware": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-1.12.2.tgz", + "integrity": "sha512-FCrqPy1yy/sN6U/SaEZcHKRXGlqU0DUaEBL45jkUYoB8foVb6wCnbIJ1HKIx+qUFTW+3JpVcCJCxZ8VATL4e+A==", + "dev": true, + "requires": { + "memory-fs": "0.4.1", + "mime": "1.6.0", + "path-is-absolute": "1.0.1", + "range-parser": "1.2.0", + "time-stamp": "2.1.0" + }, + "dependencies": { + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true + } + } + }, + "webpack-dev-server": { + "version": "1.16.5", + "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-1.16.5.tgz", + "integrity": "sha1-DL1fLSrI1OWTqs1clwLnu9XlmJI=", + "dev": true, + "requires": { + "compression": "1.7.3", + "connect-history-api-fallback": "1.5.0", + "express": "4.16.4", + "http-proxy-middleware": "0.17.4", + "open": "0.0.5", + "optimist": "0.6.1", + "serve-index": "1.9.1", + "sockjs": "0.3.19", + "sockjs-client": "1.1.5", + "stream-cache": "0.0.2", + "strip-ansi": "3.0.1", + "supports-color": "3.2.3", + "webpack-dev-middleware": "1.12.2" + }, + "dependencies": { + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", + "dev": true + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "dev": true, + "requires": { + "has-flag": "1.0.0" + } + } + } + }, + "webpack-hot-middleware": { + "version": "2.24.3", + "resolved": "https://registry.npmjs.org/webpack-hot-middleware/-/webpack-hot-middleware-2.24.3.tgz", + "integrity": "sha512-pPlmcdoR2Fn6UhYjAhp1g/IJy1Yc9hD+T6O9mjRcWV2pFbBjIFoJXhP0CoD0xPOhWJuWXuZXGBga9ybbOdzXpg==", + "dev": true, + "requires": { + "ansi-html": "0.0.7", + "html-entities": "1.2.1", + "querystring": "0.2.0", + "strip-ansi": "3.0.1" + } + }, + "webpack-sources": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-0.1.5.tgz", + "integrity": "sha1-qh86vw8NdNtxEcQOUAuE+WZkB1A=", + "dev": true, + "requires": { + "source-list-map": "0.1.8", + "source-map": "0.5.7" + }, + "dependencies": { + "source-list-map": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-0.1.8.tgz", + "integrity": "sha1-xVCyq1Qn9rPyH1r+rYjE9Vh7IQY=", + "dev": true + } + } + }, + "websocket-driver": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.0.tgz", + "integrity": "sha1-DK+dLXVdk67gSdS90NP+LMoqJOs=", + "dev": true, + "requires": { + "http-parser-js": "0.4.13", + "websocket-extensions": "0.1.3" + } + }, + "websocket-extensions": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz", + "integrity": "sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg==", + "dev": true + }, + "whatwg-fetch": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz", + "integrity": "sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q==" + }, + "whet.extend": { + "version": "0.9.9", + "resolved": "https://registry.npmjs.org/whet.extend/-/whet.extend-0.9.9.tgz", + "integrity": "sha1-+HfVv2SMl+WqVC+twW1qJZucEaE=", + "dev": true + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "2.0.0" + } + }, + "which-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", + "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=", + "dev": true + }, + "wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "dev": true, + "requires": { + "string-width": "2.1.1" + } + }, + "window-size": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", + "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=", + "dev": true + }, + "wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", + "dev": true + }, + "wrap-ansi": { + "version": "2.1.0", + "resolved": "http://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", + "dev": true, + "requires": { + "string-width": "1.0.2", + "strip-ansi": "3.0.1" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + } + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "write": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/write/-/write-0.2.1.tgz", + "integrity": "sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c=", + "dev": true, + "requires": { + "mkdirp": "0.5.1" + } + }, + "ws": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-1.1.2.tgz", + "integrity": "sha1-iiRPoFJAHgjJiGz0SoUYnh/UBn8=", + "dev": true, + "requires": { + "options": "0.0.6", + "ultron": "1.0.2" + } + }, + "wtf-8": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wtf-8/-/wtf-8-1.0.0.tgz", + "integrity": "sha1-OS2LotDxw00e4tYw8V0O+2jhBIo=", + "dev": true + }, + "xmlhttprequest-ssl": { + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.3.tgz", + "integrity": "sha1-GFqIjATspGw+QHDZn3tJ3jUomS0=", + "dev": true + }, + "xtend": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", + "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=", + "dev": true + }, + "y18n": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", + "dev": true + }, + "yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", + "dev": true + }, + "yargs": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz", + "integrity": "sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg=", + "dev": true, + "requires": { + "camelcase": "3.0.0", + "cliui": "3.2.0", + "decamelize": "1.2.0", + "get-caller-file": "1.0.3", + "os-locale": "1.4.0", + "read-pkg-up": "1.0.1", + "require-directory": "2.1.1", + "require-main-filename": "1.0.1", + "set-blocking": "2.0.0", + "string-width": "1.0.2", + "which-module": "1.0.0", + "y18n": "3.2.1", + "yargs-parser": "5.0.0" + }, + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "load-json-file": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "strip-bom": "2.0.0" + } + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + } + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "requires": { + "load-json-file": "1.1.0", + "normalize-package-data": "2.4.0", + "path-type": "1.1.0" + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "dev": true, + "requires": { + "find-up": "1.1.2", + "read-pkg": "1.1.0" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "requires": { + "is-utf8": "0.2.1" + } + } + } + }, + "yargs-parser": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz", + "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=", + "dev": true, + "requires": { + "camelcase": "3.0.0" + }, + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true + } + } + }, + "yeast": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/yeast/-/yeast-0.1.2.tgz", + "integrity": "sha1-AI4G2AlDIMNy28L47XagymyKxBk=", + "dev": true + } + } +} diff --git a/package.json b/package.json index 5f456682d..61431498e 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,20 @@ "module": "es", "unpkg": "dist/react-datepicker.min.js", "style": "dist/react-datepicker.min.css", - "files": ["*.md", "dist", "lib", "es", "src/stylesheets"], - "keywords": ["react", "datepicker", "calendar", "date", "react-component"], + "files": [ + "*.md", + "dist", + "lib", + "es", + "src/stylesheets" + ], + "keywords": [ + "react", + "datepicker", + "calendar", + "date", + "react-component" + ], "repository": { "type": "git", "url": "git://github.com/Hacker0x01/react-datepicker.git" @@ -26,27 +38,27 @@ "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-react-transform": "^3.0.0", "babel-plugin-transform-class-properties": "^6.24.1", - "babel-plugin-transform-react-remove-prop-types": "^0.4.10", + "babel-plugin-transform-react-remove-prop-types": "^0.4.19", "babel-polyfill": "^6.26.0", "babel-preset-airbnb": "^2.4.0", - "babel-preset-env": "^1.6.1", + "babel-preset-env": "^1.7.0", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "chai": "^3.5.0", "codecov.io": "^0.1.6", "cross-env": "^5.1.1", "css-loader": "^0.28.7", - "enzyme": "^3.1.1", - "enzyme-adapter-react-16": "^1.0.4", + "enzyme": "^3.7.0", + "enzyme-adapter-react-16": "^1.6.0", "eslint": "^4.10.0", "eslint-plugin-import": "^2.8.0", "eslint-plugin-node": "^5.2.1", "eslint-plugin-promise": "^3.6.0", "eslint-plugin-react": "^7.4.0", - "express": "^4.16.2", + "express": "^4.16.4", "extract-text-webpack-plugin": "^1.0.1", "flow-bin": "^0.68.0", - "highlight.js": "^9.12.0", + "highlight.js": "^9.13.1", "husky": "^0.14.3", "isparta-loader": "^2.0.0", "karma": "^1.7.1", @@ -60,8 +72,7 @@ "lint-staged": "^6.0.0", "lodash": "^4.17.4", "mocha": "^4.0.1", - "moment": "^2.20.1", - "node-sass": "^4.6.0", + "node-sass": "^4.9.4", "npm-run-all": "^4.1.2", "prettier": "^1.9.2", "react": "^16.1.0", @@ -85,12 +96,12 @@ "webpack-hot-middleware": "^2.20.0" }, "peerDependencies": { - "moment": "^2.20.0", "react": "^16.0.0", "react-dom": "^16.0.0" }, "dependencies": { "classnames": "^2.2.5", + "date-fns": "^2.0.0-alpha.23", "prop-types": "^15.6.0", "react-onclickoutside": "^6.7.1", "react-popper": "^1.0.2" @@ -99,39 +110,30 @@ "eslint": "eslint {src,test,docs-site/src}/**/*.{js,jsx} *.js", "flow": "flow", "precommit": "lint-staged", - "sass-lint": - "sass-lint --config .sass-lint.yml 'src/stylesheets/*.scss, docs-site/src/*.scss' -i 'docs-site/src/higlight.scss, docs-site/src/reset.scss'", + "sass-lint": "sass-lint --config .sass-lint.yml 'src/stylesheets/*.scss, docs-site/src/*.scss' -i 'docs-site/src/higlight.scss, docs-site/src/reset.scss'", "lint": "run-p eslint flow sass-lint", "start": "cross-env MODULES=false node server.js", "test": "cross-env NODE_ENV=test karma start karma.conf.js --single-run", "prepublish": "test $(npm -v | tr . '\\n' | head -n 1) -ge '4' || exit 1", "prepare": "npm run build", - "codecov": - "cat coverage/*/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js", + "codecov": "cat coverage/*/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js", "prebuild": "rimraf es lib dist", "build": "cross-env NODE_ENV=production run-p build:** && run-p css:**", - "build-dev": - "cross-env NODE_ENV=development run-p build:** && run-p css:**", - "css:prod": - "node-sass --output-style compressed src/stylesheets/datepicker.scss > dist/react-datepicker.min.css", - "css:modules:prod": - "node-sass --output-style compressed src/stylesheets/datepicker-cssmodules.scss > dist/react-datepicker-cssmodules.min.css", - "css:dev": - "node-sass --output-style expanded src/stylesheets/datepicker.scss > dist/react-datepicker.css", - "css:modules:dev": - "node-sass --output-style expanded src/stylesheets/datepicker-cssmodules.scss > dist/react-datepicker-cssmodules.css", - "build:es": - "cross-env BABEL_ENV=es rollup -c -i src/index.jsx -o es/index.js", - "build:cjs": - "cross-env BABEL_ENV=cjs rollup -c -i src/index.jsx -o lib/index.js", - "build:umd:dev": - "cross-env BABEL_ENV=es rollup -c rollup.umd.config.js -i src/index.jsx -o dist/react-datepicker.js", - "build:umd:prod": - "cross-env BABEL_ENV=es rollup -c rollup.umd.config.js -i src/index.jsx -o dist/react-datepicker.min.js", - "build:docs": - "cross-env MODULES=false webpack --config webpack.docs.config.js" + "build-dev": "cross-env NODE_ENV=development run-p build:** && run-p css:**", + "css:prod": "node-sass --output-style compressed src/stylesheets/datepicker.scss > dist/react-datepicker.min.css", + "css:modules:prod": "node-sass --output-style compressed src/stylesheets/datepicker-cssmodules.scss > dist/react-datepicker-cssmodules.min.css", + "css:dev": "node-sass --output-style expanded src/stylesheets/datepicker.scss > dist/react-datepicker.css", + "css:modules:dev": "node-sass --output-style expanded src/stylesheets/datepicker-cssmodules.scss > dist/react-datepicker-cssmodules.css", + "build:es": "cross-env BABEL_ENV=es rollup -c -i src/index.jsx -o es/index.js", + "build:cjs": "cross-env BABEL_ENV=cjs rollup -c -i src/index.jsx -o lib/index.js", + "build:umd:dev": "cross-env BABEL_ENV=es rollup -c rollup.umd.config.js -i src/index.jsx -o dist/react-datepicker.js", + "build:umd:prod": "cross-env BABEL_ENV=es rollup -c rollup.umd.config.js -i src/index.jsx -o dist/react-datepicker.min.js", + "build:docs": "cross-env MODULES=false webpack --config webpack.docs.config.js" }, "lint-staged": { - "*.{js,jsx,json,css,scss,md}": ["prettier --write", "git add"] + "*.{js,jsx,json,css,scss,md}": [ + "prettier --write", + "git add" + ] } } diff --git a/src/calendar.jsx b/src/calendar.jsx index 863651f3a..22b592fd3 100644 --- a/src/calendar.jsx +++ b/src/calendar.jsx @@ -1,47 +1,44 @@ -import YearDropdown from "./year_dropdown"; -import MonthDropdown from "./month_dropdown"; -import MonthYearDropdown from "./month_year_dropdown"; -import Month from "./month"; -import Time from "./time"; -import React from "react"; -import PropTypes from "prop-types"; -import classnames from "classnames"; -import CalendarContainer from "./calendar_container"; +import YearDropdown from './year_dropdown'; +import MonthDropdown from './month_dropdown'; +import MonthYearDropdown from './month_year_dropdown'; +import Month from './month'; +import Time from './time'; +import React from 'react'; +import PropTypes from 'prop-types'; +import classnames from 'classnames'; +import CalendarContainer from './calendar_container'; import { - now, + newDate, setMonth, getMonth, addMonths, - subtractMonths, + subMonths, getStartOfWeek, - getStartOfDate, + getStartOfToday, addDays, - cloneDate, formatDate, - localizeDate, setYear, getYear, isBefore, isAfter, - getLocaleData, getFormattedWeekdayInLocale, getWeekdayShortInLocale, getWeekdayMinInLocale, isSameDay, - allDaysDisabledBefore, - allDaysDisabledAfter, + monthDisabledBefore, + monthDisabledAfter, getEffectiveMinDate, getEffectiveMaxDate -} from "./date_utils"; +} from './date_utils'; const DROPDOWN_FOCUS_CLASSNAMES = [ - "react-datepicker__year-select", - "react-datepicker__month-select", - "react-datepicker__month-year-select" + 'react-datepicker__year-select', + 'react-datepicker__month-select', + 'react-datepicker__month-year-select' ]; const isDropdownSelect = (element = {}) => { - const classNames = (element.className || "").split(/\s+/); + const classNames = (element.className || '').split(/\s+/); return DROPDOWN_FOCUS_CLASSNAMES.some( testClassname => classNames.indexOf(testClassname) >= 0 ); @@ -57,8 +54,8 @@ export default class Calendar extends React.Component { .isRequired, dayClassName: PropTypes.func, disabledKeyboardNavigation: PropTypes.bool, - dropdownMode: PropTypes.oneOf(["scroll", "select"]), - endDate: PropTypes.object, + dropdownMode: PropTypes.oneOf(['scroll', 'select']), + endDate: PropTypes.instanceOf(Date), excludeDates: PropTypes.array, filterDate: PropTypes.func, fixedHeight: PropTypes.bool, @@ -69,8 +66,8 @@ export default class Calendar extends React.Component { injectTimes: PropTypes.array, inline: PropTypes.bool, locale: PropTypes.string, - maxDate: PropTypes.object, - minDate: PropTypes.object, + maxDate: PropTypes.instanceOf(Date), + minDate: PropTypes.instanceOf(Date), monthsShown: PropTypes.number, onClickOutside: PropTypes.func.isRequired, onMonthChange: PropTypes.func, @@ -84,28 +81,27 @@ export default class Calendar extends React.Component { timeFormat: PropTypes.string, timeIntervals: PropTypes.number, onTimeChange: PropTypes.func, - minTime: PropTypes.object, - maxTime: PropTypes.object, + minTime: PropTypes.instanceOf(Date), + maxTime: PropTypes.instanceOf(Date), excludeTimes: PropTypes.array, timeCaption: PropTypes.string, - openToDate: PropTypes.object, + openToDate: PropTypes.instanceOf(Date), peekNextMonth: PropTypes.bool, scrollableYearDropdown: PropTypes.bool, scrollableMonthYearDropdown: PropTypes.bool, - preSelection: PropTypes.object, - selected: PropTypes.object, + preSelection: PropTypes.instanceOf(Date), + selected: PropTypes.instanceOf(Date), selectsEnd: PropTypes.bool, selectsStart: PropTypes.bool, showMonthDropdown: PropTypes.bool, showMonthYearDropdown: PropTypes.bool, showWeekNumbers: PropTypes.bool, showYearDropdown: PropTypes.bool, - startDate: PropTypes.object, - todayButton: PropTypes.node, + startDate: PropTypes.instanceOf(Date), + todayButton: PropTypes.string, useWeekdaysShort: PropTypes.bool, formatWeekDay: PropTypes.func, withPortal: PropTypes.bool, - utcOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), weekLabel: PropTypes.string, yearDropdownItemNumber: PropTypes.number, setOpen: PropTypes.func, @@ -123,9 +119,9 @@ export default class Calendar extends React.Component { onDropdownFocus: () => {}, monthsShown: 1, forceShowMonthNavigation: false, - timeCaption: "Time", - previousMonthButtonLabel: "Previous Month", - nextMonthButtonLabel: "Next Month" + timeCaption: 'Time', + previousMonthButtonLabel: 'Previous Month', + nextMonthButtonLabel: 'Next Month' }; } @@ -134,14 +130,15 @@ export default class Calendar extends React.Component { onDropdownFocus: () => {}, monthsShown: 1, forceShowMonthNavigation: false, - timeCaption: "Time" + timeCaption: 'Time' }; } constructor(props) { super(props); + this.state = { - date: this.localizeDate(this.getDateInView()), + date: this.getDateInView(), selectingDate: null, monthContainer: null }; @@ -165,14 +162,14 @@ export default class Calendar extends React.Component { !isSameDay(this.props.preSelection, prevProps.preSelection) ) { this.setState({ - date: this.localizeDate(this.props.preSelection) + date: this.props.preSelection }); } else if ( this.props.openToDate && !isSameDay(this.props.openToDate, prevProps.openToDate) ) { this.setState({ - date: this.localizeDate(this.props.openToDate) + date: this.props.openToDate }); } } @@ -188,10 +185,10 @@ export default class Calendar extends React.Component { }; getDateInView = () => { - const { preSelection, selected, openToDate, utcOffset } = this.props; + const { preSelection, selected, openToDate } = this.props; const minDate = getEffectiveMinDate(this.props); const maxDate = getEffectiveMaxDate(this.props); - const current = now(utcOffset); + const current = newDate(); const initialDate = openToDate || selected || preSelection; if (initialDate) { return initialDate; @@ -205,12 +202,10 @@ export default class Calendar extends React.Component { return current; }; - localizeDate = date => localizeDate(date, this.props.locale); - increaseMonth = () => { this.setState( { - date: addMonths(cloneDate(this.state.date), 1) + date: addMonths(this.state.date, 1) }, () => this.handleMonthChange(this.state.date) ); @@ -219,7 +214,7 @@ export default class Calendar extends React.Component { decreaseMonth = () => { this.setState( { - date: subtractMonths(cloneDate(this.state.date), 1) + date: subMonths(this.state.date, 1) }, () => this.handleMonthChange(this.state.date) ); @@ -259,7 +254,7 @@ export default class Calendar extends React.Component { changeYear = year => { this.setState( { - date: setYear(cloneDate(this.state.date), year) + date: setYear(this.state.date, year) }, () => this.handleYearChange(this.state.date) ); @@ -268,7 +263,7 @@ export default class Calendar extends React.Component { changeMonth = month => { this.setState( { - date: setMonth(cloneDate(this.state.date), month) + date: setMonth(this.state.date, month) }, () => this.handleMonthChange(this.state.date) ); @@ -278,7 +273,7 @@ export default class Calendar extends React.Component { this.setState( { date: setYear( - setMonth(cloneDate(this.state.date), getMonth(monthYear)), + setMonth(this.state.date, getMonth(monthYear)), getYear(monthYear) ) }, @@ -287,21 +282,19 @@ export default class Calendar extends React.Component { }; header = (date = this.state.date) => { - const startOfWeek = getStartOfWeek(cloneDate(date)); + const startOfWeek = getStartOfWeek(date, this.props.locale); const dayNames = []; if (this.props.showWeekNumbers) { dayNames.push( - {this.props.weekLabel || "#"} + {this.props.weekLabel || '#'} ); } return dayNames.concat( [0, 1, 2, 3, 4, 5, 6].map(offset => { - const day = addDays(cloneDate(startOfWeek), offset); - const localeData = getLocaleData(day); - const weekDayName = this.formatWeekday(localeData, day); - + const day = addDays(startOfWeek, offset); + const weekDayName = this.formatWeekday(day, this.props.locale); return ( {weekDayName} @@ -311,17 +304,13 @@ export default class Calendar extends React.Component { ); }; - formatWeekday = (localeData, day) => { + formatWeekday = (day, locale) => { if (this.props.formatWeekDay) { - return getFormattedWeekdayInLocale( - localeData, - day, - this.props.formatWeekDay - ); + return getFormattedWeekdayInLocale(day, this.props.formatWeekDay, locale); } return this.props.useWeekdaysShort - ? getWeekdayShortInLocale(localeData, day) - : getWeekdayMinInLocale(localeData, day); + ? getWeekdayShortInLocale(day, locale) + : getWeekdayMinInLocale(day, locale); }; renderPreviousMonthButton = () => { @@ -329,9 +318,8 @@ export default class Calendar extends React.Component { return; } - const allPrevDaysDisabled = allDaysDisabledBefore( + const allPrevDaysDisabled = monthDisabledBefore( this.state.date, - "month", this.props ); @@ -345,21 +333,21 @@ export default class Calendar extends React.Component { } const classes = [ - "react-datepicker__navigation", - "react-datepicker__navigation--previous" + 'react-datepicker__navigation', + 'react-datepicker__navigation--previous' ]; let clickHandler = this.decreaseMonth; if (allPrevDaysDisabled && this.props.showDisabledMonthNavigation) { - classes.push("react-datepicker__navigation--previous--disabled"); + classes.push('react-datepicker__navigation--previous--disabled'); clickHandler = null; } return ( {this.props.previousMonthButtonLabel} @@ -372,11 +360,7 @@ export default class Calendar extends React.Component { return; } - const allNextDaysDisabled = allDaysDisabledAfter( - this.state.date, - "month", - this.props - ); + const allNextDaysDisabled = monthDisabledAfter(this.state.date, this.props); if ( (!this.props.forceShowMonthNavigation && @@ -388,27 +372,27 @@ export default class Calendar extends React.Component { } const classes = [ - "react-datepicker__navigation", - "react-datepicker__navigation--next" + 'react-datepicker__navigation', + 'react-datepicker__navigation--next' ]; if (this.props.showTimeSelect) { - classes.push("react-datepicker__navigation--next--with-time"); + classes.push('react-datepicker__navigation--next--with-time'); } if (this.props.todayButton) { - classes.push("react-datepicker__navigation--next--with-today-button"); + classes.push('react-datepicker__navigation--next--with-today-button'); } let clickHandler = this.increaseMonth; if (allNextDaysDisabled && this.props.showDisabledMonthNavigation) { - classes.push("react-datepicker__navigation--next--disabled"); + classes.push('react-datepicker__navigation--next--disabled'); clickHandler = null; } return ( {this.props.nextMonthButtonLabel} @@ -417,20 +401,20 @@ export default class Calendar extends React.Component { }; renderCurrentMonth = (date = this.state.date) => { - const classes = ["react-datepicker__current-month"]; + const classes = ['react-datepicker__current-month']; if (this.props.showYearDropdown) { - classes.push("react-datepicker__current-month--hasYearDropdown"); + classes.push('react-datepicker__current-month--hasYearDropdown'); } if (this.props.showMonthDropdown) { - classes.push("react-datepicker__current-month--hasMonthDropdown"); + classes.push('react-datepicker__current-month--hasMonthDropdown'); } if (this.props.showMonthYearDropdown) { - classes.push("react-datepicker__current-month--hasMonthYearDropdown"); + classes.push('react-datepicker__current-month--hasMonthYearDropdown'); } return ( - - {formatDate(date, this.props.dateFormat)} + + {formatDate(date, this.props.dateFormat, this.props.locale)} ); }; @@ -464,7 +448,6 @@ export default class Calendar extends React.Component { - this.props.onSelect(getStartOfDate(now(this.props.utcOffset)), e) - } + onClick={e => this.props.onSelect(getStartOfToday(), e)} > {this.props.todayButton} @@ -530,15 +511,13 @@ export default class Calendar extends React.Component { return null; } - const prevMonthButtonDisabled = allDaysDisabledBefore( + const prevMonthButtonDisabled = monthDisabledBefore( this.state.date, - "month", this.props ); - const nextMonthButtonDisabled = allDaysDisabledAfter( + const nextMonthButtonDisabled = monthDisabledAfter( this.state.date, - "month", this.props ); @@ -570,7 +549,7 @@ export default class Calendar extends React.Component { var monthList = []; for (var i = 0; i < this.props.monthsShown; ++i) { - var monthDate = addMonths(cloneDate(this.state.date), i); + var monthDate = addMonths(this.state.date, i); var monthKey = `month-${i}`; monthList.push( {this.renderPreviousMonthButton()} diff --git a/src/date_utils.js b/src/date_utils.js index 080ce0ace..aa2e1dacf 100644 --- a/src/date_utils.js +++ b/src/date_utils.js @@ -1,252 +1,207 @@ -import moment from "moment"; - -const dayOfWeekCodes = { - 1: "mon", - 2: "tue", - 3: "wed", - 4: "thu", - 5: "fri", - 6: "sat", - 7: "sun" -}; - -// These functions are not exported so -// that we avoid magic strings like 'days' -function set(date, unit, to) { - return date.set(unit, to); -} - -function add(date, amount, unit) { - return date.add(amount, unit); -} - -function subtract(date, amount, unit) { - return date.subtract(amount, unit); -} - -function get(date, unit) { - return date.get(unit); -} - -function getStartOf(date, unit) { - return date.startOf(unit); -} - -function getEndOf(date, unit) { - return date.endOf(unit); -} - -function getDiff(date1, date2, unit) { - return date1.diff(date2, unit); -} +import isDate from 'date-fns/isDate'; +import isValidDate from 'date-fns/isValid'; +import format from 'date-fns/format'; +import addMinutes from 'date-fns/addMinutes'; +import addHours from 'date-fns/addHours'; +import addDays from 'date-fns/addDays'; +import addWeeks from 'date-fns/addWeeks'; +import addMonths from 'date-fns/addMonths'; +import addYears from 'date-fns/addYears'; +import subMinutes from 'date-fns/subMinutes'; +import subHours from 'date-fns/subHours'; +import subDays from 'date-fns/subDays'; +import subWeeks from 'date-fns/subWeeks'; +import subMonths from 'date-fns/subMonths'; +import subYears from 'date-fns/subYears'; +import getSeconds from 'date-fns/getSeconds'; +import getMinutes from 'date-fns/getMinutes'; +import getHours from 'date-fns/getHours'; +import getDay from 'date-fns/getDay'; +import getDate from 'date-fns/getDate'; +import getMonth from 'date-fns/getMonth'; +import getYear from 'date-fns/getYear'; +import getTime from 'date-fns/getTime'; +import setSeconds from 'date-fns/setSeconds'; +import setMinutes from 'date-fns/setMinutes'; +import setHours from 'date-fns/setHours'; +import setMonth from 'date-fns/setMonth'; +import setYear from 'date-fns/setYear'; +import min from 'date-fns/min'; +import max from 'date-fns/max'; +import differenceInCalendarDays from 'date-fns/differenceInCalendarDays'; +import differenceInCalendarMonths from 'date-fns/differenceInCalendarMonths'; +import differenceInCalendarWeeks from 'date-fns/differenceInCalendarWeeks'; +import setDayOfYear from 'date-fns/setDayOfYear'; +import startOfDay from 'date-fns/startOfDay'; +import startOfWeek from 'date-fns/startOfWeek'; +import startOfMonth from 'date-fns/startOfMonth'; +import startOfYear from 'date-fns/startOfYear'; +import endOfWeek from 'date-fns/endOfWeek'; +import endOfMonth from 'date-fns/endOfMonth'; +import isEqual from 'date-fns/isEqual'; +import isSameWeek from 'date-fns/isSameWeek'; +import dfIsSameDay from 'date-fns/isSameDay'; +import dfIsSameMonth from 'date-fns/isSameMonth'; +import dfIsSameYear from 'date-fns/isSameYear'; +import isAfter from 'date-fns/isAfter'; +import isBefore from 'date-fns/isBefore'; +import isWithinInterval from 'date-fns/isWithinInterval'; +import toDate from 'date-fns/toDate'; +import parse from 'date-fns/parse'; // ** Date Constructors ** -export function newDate(point) { - return moment(point); -} - -export function newDateWithOffset(utcOffset) { - return moment() - .utc() - .utcOffset(utcOffset); +export function newDate(value) { + const d = value ? toDate(value) : new Date(); + return isValid(d) ? d : null; } -export function now(maybeFixedUtcOffset) { - if (maybeFixedUtcOffset == null) { - return newDate(); +export function parseDate(value, dateFormat, locale) { + let parsedDate = null; + let localeObject = getLocaleObject(locale); + if (Array.isArray(dateFormat)) { + dateFormat.forEach(df => { + let tryParseDate = parse(value, df, new Date(), localeObject); + if (isValid(tryParseDate)) { + parsedDate = tryParseDate; + } + }); + return parsedDate; } - return newDateWithOffset(maybeFixedUtcOffset); -} - -export function cloneDate(date) { - return date.clone(); -} - -export function parseDate(value, { dateFormat, locale }) { - const m = moment(value, dateFormat, locale || moment.locale(), true); - return m.isValid() ? m : null; + parsedDate = parse(value, dateFormat, new Date(), localeObject); + if (!isValid(parsedDate)) { + parsedDate = new Date(value); + } + return isValid(parsedDate) ? parsedDate : null; } // ** Date "Reflection" ** -export function isMoment(date) { - return moment.isMoment(date); -} +export { isDate }; -export function isDate(date) { - return moment.isDate(date); +export function isValid(date) { + return isValidDate(date) && isAfter(date, new Date('1/1/1000')); } // ** Date Formatting ** -export function formatDate(date, format) { - return date.format(format); +export function formatDate(date, formatStr, locale) { + if (locale === 'en') { + return format(date, formatStr, { awareOfUnicodeTokens: true }); + } + let localeObj = getLocaleObject(locale); + if (locale && !localeObj) { + console.warn( + `A locale object was not found for the provided string ["${locale}"].` + ); + } + if ( + !localeObj && + !!getDefaultLocale() && + !!getLocaleObject(getDefaultLocale()) + ) { + localeObj = getLocaleObject(getDefaultLocale()); + } + return format(date, formatStr, { + locale: localeObj ? localeObj : null, + awareOfUnicodeTokens: true + }); } export function safeDateFormat(date, { dateFormat, locale }) { return ( (date && - date - .clone() - .locale(locale || moment.locale()) - .format(Array.isArray(dateFormat) ? dateFormat[0] : dateFormat)) || - "" + formatDate( + date, + Array.isArray(dateFormat) ? dateFormat[0] : dateFormat, + (locale: locale) + )) || + '' ); } // ** Date Setters ** -export function setTime(date, { hour, minute, second }) { - date.set({ hour, minute, second }); - return date; -} - -export function setMonth(date, month) { - return set(date, "month", month); +export function setTime(date, { hour = 0, minute = 0, second = 0 }) { + return setHours(setMinutes(setSeconds(date, second), minute), hour); } -export function setYear(date, year) { - return set(date, "year", year); -} - -export function setUTCOffset(date, offset) { - return date.utcOffset(offset); -} +export { setMonth, setYear }; // ** Date Getters ** -export function getSecond(date) { - return get(date, "second"); -} - -export function getMinute(date) { - return get(date, "minute"); -} - -export function getHour(date) { - return get(date, "hour"); -} - -// Returns day of week -export function getDay(date) { - return get(date, "day"); -} +// getDay Returns day of week, getDate returns day of month +export { + getSeconds, + getMinutes, + getHours, + getMonth, + getYear, + getDay, + getDate, + getTime +}; export function getWeek(date) { - return get(date, "week"); -} - -export function getMonth(date) { - return get(date, "month"); -} - -export function getYear(date) { - return get(date, "year"); -} - -// Returns day of month -export function getDate(date) { - return get(date, "date"); -} - -export function getUTCOffset() { - return moment().utcOffset(); + let firstDayOfYear = setDayOfYear(date, 1); + if (!isSameYear(endOfWeek(date), date)) { + return 1; + } + return differenceInCalendarWeeks(date, startOfYear(date)) + 1; } -export function getDayOfWeekCode(day) { - return dayOfWeekCodes[day.isoWeekday()]; +export function getDayOfWeekCode(day, locale) { + return formatDate(day, 'ddd', (locale: locale)); } // *** Start of *** export function getStartOfDay(date) { - return getStartOf(date, "day"); + return startOfDay(date); } -export function getStartOfWeek(date) { - return getStartOf(date, "week"); +export function getStartOfWeek(date, locale) { + let localeObj = locale + ? getLocaleObject(locale) + : getLocaleObject(getDefaultLocale()); + return startOfWeek(date, { locale: localeObj }); } + export function getStartOfMonth(date) { - return getStartOf(date, "month"); + return startOfMonth(date); } -export function getStartOfDate(date) { - return getStartOf(date, "date"); +export function getStartOfToday() { + return startOfDay(newDate()); } // *** End of *** export function getEndOfWeek(date) { - return getEndOf(date, "week"); + return endOfWeek(date); } export function getEndOfMonth(date) { - return getEndOf(date, "month"); + return endOfMonth(date); } // ** Date Math ** // *** Addition *** -export function addMinutes(date, amount) { - return add(date, amount, "minutes"); -} - -export function addHours(date, amount) { - return add(date, amount, "hours"); -} - -export function addDays(date, amount) { - return add(date, amount, "days"); -} - -export function addWeeks(date, amount) { - return add(date, amount, "weeks"); -} - -export function addMonths(date, amount) { - return add(date, amount, "months"); -} - -export function addYears(date, amount) { - return add(date, amount, "years"); -} +export { addMinutes, addDays, addWeeks, addMonths, addYears }; // *** Subtraction *** -export function subtractDays(date, amount) { - return subtract(date, amount, "days"); -} - -export function subtractWeeks(date, amount) { - return subtract(date, amount, "weeks"); -} - -export function subtractMonths(date, amount) { - return subtract(date, amount, "months"); -} -export function subtractYears(date, amount) { - return subtract(date, amount, "years"); -} +export { subMinutes, subHours, subDays, subWeeks, subMonths, subYears }; // ** Date Comparison ** -export function isBefore(date1, date2) { - return date1.isBefore(date2); -} - -export function isAfter(date1, date2) { - return date1.isAfter(date2); -} - -export function equals(date1, date2) { - return date1.isSame(date2); -} +export { isBefore, isAfter, isEqual }; export function isSameYear(date1, date2) { if (date1 && date2) { - return date1.isSame(date2, "year"); + return dfIsSameYear(date1, date2); } else { return !date1 && !date2; } @@ -254,94 +209,69 @@ export function isSameYear(date1, date2) { export function isSameMonth(date1, date2) { if (date1 && date2) { - return date1.isSame(date2, "month"); + return dfIsSameMonth(date1, date2); } else { return !date1 && !date2; } } -export function isSameDay(moment1, moment2) { - if (moment1 && moment2) { - return moment1.isSame(moment2, "day"); - } else { - return !moment1 && !moment2; - } -} - -export function isSameUtcOffset(moment1, moment2) { - if (moment1 && moment2) { - return moment1.utcOffset() === moment2.utcOffset(); +export function isSameDay(date1, date2) { + if (date1 && date2) { + return dfIsSameDay(date1, date2); } else { - return !moment1 && !moment2; + return !date1 && !date2; } } export function isDayInRange(day, startDate, endDate) { - const before = startDate - .clone() - .startOf("day") - .subtract(1, "seconds"); - const after = endDate - .clone() - .startOf("day") - .add(1, "seconds"); - return day - .clone() - .startOf("day") - .isBetween(before, after); + return isWithinInterval(day, { start: startDate, end: endDate }); } // *** Diffing *** export function getDaysDiff(date1, date2) { - return getDiff(date1, date2, "days"); + return differenceInCalendarDays(date1, date2); } // ** Date Localization ** -export function localizeDate(date, locale) { - return date.clone().locale(locale || moment.locale()); -} - -export function getDefaultLocale() { - return moment.locale(); -} - -export function getDefaultLocaleData() { - return moment.localeData(); +export function registerLocale(localeName, localeData) { + if (!window.__localeData__) { + window.__localeData__ = {}; + } + window.__localeData__[localeName] = localeData; } -export function registerLocale(localeName, localeData) { - moment.defineLocale(localeName, localeData); +export function setDefaultLocale(localeName) { + window.__localeId__ = localeName; } -export function getLocaleData(date) { - return date.localeData(); +export function getDefaultLocale() { + return window.__localeId__; } -export function getLocaleDataForLocale(locale) { - return moment.localeData(locale); +export function getLocaleObject(localeName) { + return window.__localeData__ ? window.__localeData__[localeName] : null; } -export function getFormattedWeekdayInLocale(locale, date, formatFunc) { - return formatFunc(locale.weekdays(date)); +export function getFormattedWeekdayInLocale(date, formatFunc, locale) { + return formatFunc(formatDate(date, 'dddd', locale)); } -export function getWeekdayMinInLocale(locale, date) { - return locale.weekdaysMin(date); +export function getWeekdayMinInLocale(date, locale) { + return formatDate(date, 'EEEEEE', locale); } -export function getWeekdayShortInLocale(locale, date) { - return locale.weekdaysShort(date); +export function getWeekdayShortInLocale(date, locale) { + return formatDate(date, 'EEE', locale); } -// TODO what is this format exactly? -export function getMonthInLocale(locale, date, format) { - return locale.months(date, format); +export function getMonthInLocale(month, locale) { + return formatDate(setMonth(newDate(), month), 'LLLL', locale); } -export function getMonthShortInLocale(locale, date) { - return locale.monthsShort(date); +export function getMonthShortInLocale(month, dateFormat, locale) { + return formatDate(setMonth(newDate(), month), 'LLL', locale); } // ** Utils for some components ** @@ -351,21 +281,20 @@ export function isDayDisabled( { minDate, maxDate, excludeDates, includeDates, filterDate } = {} ) { return ( - (minDate && day.isBefore(minDate, "day")) || - (maxDate && day.isAfter(maxDate, "day")) || + isOutOfBounds(day, { minDate, maxDate }) || (excludeDates && excludeDates.some(excludeDate => isSameDay(day, excludeDate))) || (includeDates && !includeDates.some(includeDate => isSameDay(day, includeDate))) || - (filterDate && !filterDate(day.clone())) || + (filterDate && !filterDate(newDate(day))) || false ); } export function isOutOfBounds(day, { minDate, maxDate } = {}) { return ( - (minDate && day.isBefore(minDate, "day")) || - (maxDate && day.isAfter(maxDate, "day")) + (minDate && differenceInCalendarDays(day, minDate) < 0) || + (maxDate && differenceInCalendarDays(day, maxDate) > 0) ); } @@ -373,8 +302,8 @@ export function isTimeDisabled(time, disabledTimes) { const l = disabledTimes.length; for (let i = 0; i < l; i++) { if ( - disabledTimes[i].get("hours") === time.get("hours") && - disabledTimes[i].get("minutes") === time.get("minutes") + getHours(disabledTimes[i]) === getHours(time) && + getMinutes(disabledTimes[i]) === getMinutes(time) ) { return true; } @@ -385,56 +314,41 @@ export function isTimeDisabled(time, disabledTimes) { export function isTimeInDisabledRange(time, { minTime, maxTime }) { if (!minTime || !maxTime) { - throw new Error("Both minTime and maxTime props required"); + throw new Error('Both minTime and maxTime props required'); } + const base = newDate(); + const baseTime = setHours(setMinutes(base, getMinutes(time)), getHours(time)); + const min = setHours( + setMinutes(base, getMinutes(minTime)), + getHours(minTime) + ); + const max = setHours( + setMinutes(base, getMinutes(maxTime)), + getHours(maxTime) + ); + return !isWithinInterval(baseTime, { start: min, end: max }); +} - const base = moment() - .hours(0) - .minutes(0) - .seconds(0); - const baseTime = base - .clone() - .hours(time.get("hours")) - .minutes(time.get("minutes")); - const min = base - .clone() - .hours(minTime.get("hours")) - .minutes(minTime.get("minutes")); - const max = base - .clone() - .hours(maxTime.get("hours")) - .minutes(maxTime.get("minutes")); - - return !(baseTime.isSameOrAfter(min) && baseTime.isSameOrBefore(max)); -} - -export function allDaysDisabledBefore( - day, - unit, - { minDate, includeDates } = {} -) { - const dateBefore = day.clone().subtract(1, unit); +export function monthDisabledBefore(day, { minDate, includeDates } = {}) { + const previousMonth = subMonths(day, 1); return ( - (minDate && dateBefore.isBefore(minDate, unit)) || + (minDate && differenceInCalendarMonths(minDate, previousMonth) > 0) || (includeDates && - includeDates.every(includeDate => - dateBefore.isBefore(includeDate, unit) + includeDates.every( + includeDate => + differenceInCalendarMonths(includeDate, previousMonth) > 0 )) || false ); } -export function allDaysDisabledAfter( - day, - unit, - { maxDate, includeDates } = {} -) { - const dateAfter = day.clone().add(1, unit); +export function monthDisabledAfter(day, { maxDate, includeDates } = {}) { + const nextMonth = addMonths(day, 1); return ( - (maxDate && dateAfter.isAfter(maxDate, unit)) || + (maxDate && differenceInCalendarMonths(nextMonth, maxDate) > 0) || (includeDates && - includeDates.every(includeDate => - dateAfter.isAfter(includeDate, unit) + includeDates.every( + includeDate => differenceInCalendarMonths(nextMonth, includeDate) > 0 )) || false ); @@ -442,13 +356,12 @@ export function allDaysDisabledAfter( export function getEffectiveMinDate({ minDate, includeDates }) { if (includeDates && minDate) { - return moment.min( - includeDates.filter(includeDate => - minDate.isSameOrBefore(includeDate, "day") - ) + let minDates = includeDates.filter( + includeDate => differenceInCalendarDays(includeDate, minDate) >= 0 ); + return min(minDates); } else if (includeDates) { - return moment.min(includeDates); + return min(includeDates); } else { return minDate; } @@ -456,13 +369,12 @@ export function getEffectiveMinDate({ minDate, includeDates }) { export function getEffectiveMaxDate({ maxDate, includeDates }) { if (includeDates && maxDate) { - return moment.max( - includeDates.filter(includeDate => - maxDate.isSameOrAfter(includeDate, "day") - ) + let maxDates = includeDates.filter( + includeDate => differenceInCalendarDays(includeDate, maxDate) <= 0 ); + return max(maxDates); } else if (includeDates) { - return moment.max(includeDates); + return max(includeDates); } else { return maxDate; } @@ -470,25 +382,25 @@ export function getEffectiveMaxDate({ maxDate, includeDates }) { export function getHightLightDaysMap( highlightDates = [], - defaultClassName = "react-datepicker__day--highlighted" + defaultClassName = 'react-datepicker__day--highlighted' ) { const dateClasses = new Map(); for (let i = 0, len = highlightDates.length; i < len; i++) { const obj = highlightDates[i]; - if (isMoment(obj)) { - const key = obj.format("MM.DD.YYYY"); + if (isDate(obj)) { + const key = formatDate(obj, 'MM.dd.yyyy'); const classNamesArr = dateClasses.get(key) || []; if (!classNamesArr.includes(defaultClassName)) { classNamesArr.push(defaultClassName); dateClasses.set(key, classNamesArr); } - } else if (typeof obj === "object") { + } else if (typeof obj === 'object') { const keys = Object.keys(obj); const className = keys[0]; - const arrOfMoments = obj[keys[0]]; - if (typeof className === "string" && arrOfMoments.constructor === Array) { - for (let k = 0, len = arrOfMoments.length; k < len; k++) { - const key = arrOfMoments[k].format("MM.DD.YYYY"); + const arrOfDates = obj[keys[0]]; + if (typeof className === 'string' && arrOfDates.constructor === Array) { + for (let k = 0, len = arrOfDates.length; k < len; k++) { + const key = formatDate(arrOfDates[k], 'MM.dd.yyyy'); const classNamesArr = dateClasses.get(key) || []; if (!classNamesArr.includes(className)) { classNamesArr.push(className); @@ -513,15 +425,18 @@ export function timesToInjectAfter( const times = []; for (let i = 0; i < l; i++) { const injectedTime = addMinutes( - addHours(cloneDate(startOfDay), getHour(injectedTimes[i])), - getMinute(injectedTimes[i]) + addHours(startOfDay, getHours(injectedTimes[i])), + getMinutes(injectedTimes[i]) ); const nextTime = addMinutes( - cloneDate(startOfDay), + startOfDay, (currentMultiplier + 1) * intervals ); - if (injectedTime.isBetween(currentTime, nextTime)) { + if ( + isAfter(injectedTime, currentTime) && + isBefore(injectedTime, nextTime) + ) { times.push(injectedTimes[i]); } } diff --git a/src/day.jsx b/src/day.jsx index df5c30030..09894f3db 100644 --- a/src/day.jsx +++ b/src/day.jsx @@ -1,35 +1,38 @@ -import React from "react"; -import PropTypes from "prop-types"; -import classnames from "classnames"; +import React from 'react'; +import PropTypes from 'prop-types'; +import classnames from 'classnames'; import { getDay, getMonth, getDate, - now, + newDate, isSameDay, isDayDisabled, isDayInRange, - getDayOfWeekCode -} from "./date_utils"; + isEqual, + isBefore, + isAfter, + getDayOfWeekCode, + formatDate +} from './date_utils'; export default class Day extends React.Component { static propTypes = { disabledKeyboardNavigation: PropTypes.bool, - day: PropTypes.object.isRequired, + day: PropTypes.instanceOf(Date).isRequired, dayClassName: PropTypes.func, - endDate: PropTypes.object, + endDate: PropTypes.instanceOf(Date), highlightDates: PropTypes.instanceOf(Map), inline: PropTypes.bool, month: PropTypes.number, onClick: PropTypes.func, onMouseEnter: PropTypes.func, - preSelection: PropTypes.object, + preSelection: PropTypes.instanceOf(Date), selected: PropTypes.object, - selectingDate: PropTypes.object, + selectingDate: PropTypes.instanceOf(Date), selectsEnd: PropTypes.bool, selectsStart: PropTypes.bool, - startDate: PropTypes.object, - utcOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), + startDate: PropTypes.instanceOf(Date), renderDayContents: PropTypes.func }; @@ -63,7 +66,7 @@ export default class Day extends React.Component { } // Looking for className in the Map of {'day string, 'className'} - const dayStr = day.format("MM.DD.YYYY"); + const dayStr = formatDate(day, 'MM.dd.yyyy'); return highlightDates.get(dayStr); }; @@ -89,11 +92,19 @@ export default class Day extends React.Component { return false; } - if (selectsStart && endDate && selectingDate.isSameOrBefore(endDate)) { + if ( + selectsStart && + endDate && + (isBefore(selectingDate, endDate) || isEqual(selectingDate, endDate)) + ) { return isDayInRange(day, selectingDate, endDate); } - if (selectsEnd && startDate && selectingDate.isSameOrAfter(startDate)) { + if ( + selectsEnd && + startDate && + (isAfter(selectingDate, startDate) || isEqual(selectingDate, startDate)) + ) { return isDayInRange(day, startDate, selectingDate); } @@ -161,26 +172,24 @@ export default class Day extends React.Component { ? this.props.dayClassName(date) : undefined; return classnames( - "react-datepicker__day", + 'react-datepicker__day', dayClassName, - "react-datepicker__day--" + getDayOfWeekCode(this.props.day), + 'react-datepicker__day--' + getDayOfWeekCode(this.props.day), { - "react-datepicker__day--disabled": this.isDisabled(), - "react-datepicker__day--selected": this.isSameDay(this.props.selected), - "react-datepicker__day--keyboard-selected": this.isKeyboardSelected(), - "react-datepicker__day--range-start": this.isRangeStart(), - "react-datepicker__day--range-end": this.isRangeEnd(), - "react-datepicker__day--in-range": this.isInRange(), - "react-datepicker__day--in-selecting-range": this.isInSelectingRange(), - "react-datepicker__day--selecting-range-start": this.isSelectingRangeStart(), - "react-datepicker__day--selecting-range-end": this.isSelectingRangeEnd(), - "react-datepicker__day--today": this.isSameDay( - now(this.props.utcOffset) - ), - "react-datepicker__day--weekend": this.isWeekend(), - "react-datepicker__day--outside-month": this.isOutsideMonth() + 'react-datepicker__day--disabled': this.isDisabled(), + 'react-datepicker__day--selected': this.isSameDay(this.props.selected), + 'react-datepicker__day--keyboard-selected': this.isKeyboardSelected(), + 'react-datepicker__day--range-start': this.isRangeStart(), + 'react-datepicker__day--range-end': this.isRangeEnd(), + 'react-datepicker__day--in-range': this.isInRange(), + 'react-datepicker__day--in-selecting-range': this.isInSelectingRange(), + 'react-datepicker__day--selecting-range-start': this.isSelectingRangeStart(), + 'react-datepicker__day--selecting-range-end': this.isSelectingRangeEnd(), + 'react-datepicker__day--today': this.isSameDay(newDate()), + 'react-datepicker__day--weekend': this.isWeekend(), + 'react-datepicker__day--outside-month': this.isOutsideMonth() }, - this.getHighLightedClass("react-datepicker__day--highlighted") + this.getHighLightedClass('react-datepicker__day--highlighted') ); }; diff --git a/src/index.jsx b/src/index.jsx index 3461f730b..034d06844 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -1,29 +1,26 @@ -import Calendar from "./calendar"; -import React from "react"; -import PropTypes from "prop-types"; -import PopperComponent, { popperPlacementPositions } from "./popper_component"; -import classnames from "classnames"; +import React from 'react'; +import PropTypes from 'prop-types'; +import Calendar from './calendar'; +import PopperComponent, { popperPlacementPositions } from './popper_component'; +import classnames from 'classnames'; import { newDate, - now, - cloneDate, - isMoment, isDate, isBefore, isAfter, - equals, + isEqual, setTime, - getSecond, - getMinute, - getHour, + getSeconds, + getMinutes, + getHours, addDays, addMonths, addWeeks, addYears, - subtractDays, - subtractMonths, - subtractWeeks, - subtractYears, + subDays, + subMonths, + subWeeks, + subYears, isSameDay, isDayDisabled, isOutOfBounds, @@ -34,13 +31,18 @@ import { safeDateFormat, getHightLightDaysMap, getYear, - getMonth -} from "./date_utils"; -import onClickOutside from "react-onclickoutside"; + getMonth, + registerLocale, + setDefaultLocale, + getDefaultLocale +} from './date_utils'; +import onClickOutside from 'react-onclickoutside'; -export { default as CalendarContainer } from "./calendar_container"; +export { default as CalendarContainer } from './calendar_container'; -const outsideClickIgnoreClass = "react-datepicker-ignore-onclickoutside"; +export { registerLocale, setDefaultLocale, getDefaultLocale }; + +const outsideClickIgnoreClass = 'react-datepicker-ignore-onclickoutside'; const WrappedCalendar = onClickOutside(Calendar); // Compares dates year+month combinations @@ -56,7 +58,7 @@ function hasPreSelectionChanged(date1, date2) { function hasSelectionChanged(date1, date2) { if (date1 && date2) { - return !equals(date1, date2); + return !isEqual(date1, date2); } return false; @@ -65,7 +67,7 @@ function hasSelectionChanged(date1, date2) { /** * General datepicker component. */ -const INPUT_ERR_1 = "Date input not valid."; +const INPUT_ERR_1 = 'Date input not valid.'; export default class DatePicker extends React.Component { static propTypes = { @@ -85,8 +87,8 @@ export default class DatePicker extends React.Component { dayClassName: PropTypes.func, disabled: PropTypes.bool, disabledKeyboardNavigation: PropTypes.bool, - dropdownMode: PropTypes.oneOf(["scroll", "select"]).isRequired, - endDate: PropTypes.object, + dropdownMode: PropTypes.oneOf(['scroll', 'select']).isRequired, + endDate: PropTypes.instanceOf(Date), excludeDates: PropTypes.array, filterDate: PropTypes.func, fixedHeight: PropTypes.bool, @@ -99,8 +101,8 @@ export default class DatePicker extends React.Component { inline: PropTypes.bool, isClearable: PropTypes.bool, locale: PropTypes.string, - maxDate: PropTypes.object, - minDate: PropTypes.object, + maxDate: PropTypes.instanceOf(Date), + minDate: PropTypes.instanceOf(Date), monthsShown: PropTypes.number, name: PropTypes.string, onBlur: PropTypes.func, @@ -116,7 +118,7 @@ export default class DatePicker extends React.Component { onYearChange: PropTypes.func, onInputError: PropTypes.func, open: PropTypes.bool, - openToDate: PropTypes.object, + openToDate: PropTypes.instanceOf(Date), peekNextMonth: PropTypes.bool, placeholderText: PropTypes.string, popperContainer: PropTypes.func, @@ -129,7 +131,7 @@ export default class DatePicker extends React.Component { required: PropTypes.bool, scrollableYearDropdown: PropTypes.bool, scrollableMonthYearDropdown: PropTypes.bool, - selected: PropTypes.object, + selected: PropTypes.instanceOf(Date), selectsEnd: PropTypes.bool, selectsStart: PropTypes.bool, showMonthDropdown: PropTypes.bool, @@ -138,7 +140,7 @@ export default class DatePicker extends React.Component { showYearDropdown: PropTypes.bool, forceShowMonthNavigation: PropTypes.bool, showDisabledMonthNavigation: PropTypes.bool, - startDate: PropTypes.object, + startDate: PropTypes.instanceOf(Date), startOpen: PropTypes.bool, tabIndex: PropTypes.number, timeCaption: PropTypes.string, @@ -146,7 +148,6 @@ export default class DatePicker extends React.Component { todayButton: PropTypes.node, useWeekdaysShort: PropTypes.bool, formatWeekDay: PropTypes.func, - utcOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), value: PropTypes.string, weekLabel: PropTypes.string, withPortal: PropTypes.bool, @@ -156,8 +157,8 @@ export default class DatePicker extends React.Component { showTimeSelectOnly: PropTypes.bool, timeFormat: PropTypes.string, timeIntervals: PropTypes.number, - minTime: PropTypes.object, - maxTime: PropTypes.object, + minTime: PropTypes.instanceOf(Date), + maxTime: PropTypes.instanceOf(Date), excludeTimes: PropTypes.array, useShortMonthInDropdown: PropTypes.bool, clearButtonTitle: PropTypes.string, @@ -170,12 +171,12 @@ export default class DatePicker extends React.Component { static get defaultProps() { return { allowSameDay: false, - dateFormat: "L", - dateFormatCalendar: "MMMM YYYY", + dateFormat: 'MM/dd/yyyy', + dateFormatCalendar: 'LLLL yyyy', onChange() {}, disabled: false, disabledKeyboardNavigation: false, - dropdownMode: "scroll", + dropdownMode: 'scroll', onFocus() {}, onBlur() {}, onKeyDown() {}, @@ -192,9 +193,9 @@ export default class DatePicker extends React.Component { shouldCloseOnSelect: true, showTimeSelect: false, timeIntervals: 30, - timeCaption: "Time", - previousMonthButtonLabel: "Previous Month", - nextMonthButtonLabel: "Next month", + timeCaption: 'Time', + previousMonthButtonLabel: 'Previous Month', + nextMonthButtonLabel: 'Next month', renderDayContents(date) { return date; } @@ -232,12 +233,12 @@ export default class DatePicker extends React.Component { getPreSelection = () => this.props.openToDate - ? newDate(this.props.openToDate) + ? this.props.openToDate : this.props.selectsEnd && this.props.startDate - ? newDate(this.props.startDate) + ? this.props.startDate : this.props.selectsStart && this.props.endDate - ? newDate(this.props.endDate) - : now(this.props.utcOffset); + ? this.props.endDate + : newDate(); calcInitialState = () => { const defaultPreSelection = this.getPreSelection(); @@ -253,7 +254,7 @@ export default class DatePicker extends React.Component { open: this.props.startOpen || false, preventFocus: false, preSelection: this.props.selected - ? newDate(this.props.selected) + ? this.props.selected : boundedPreSelection, // transforming highlighted days (perhaps nested array) // to flat Map for faster access in day.jsx @@ -312,8 +313,7 @@ export default class DatePicker extends React.Component { } ); }; - inputOk = () => - isMoment(this.state.preSelection) || isDate(this.state.preSelection); + inputOk = () => isDate(this.state.preSelection); isCalendarOpen = () => this.props.open === undefined @@ -368,7 +368,7 @@ export default class DatePicker extends React.Component { if (this.props.onChangeRaw) { this.props.onChangeRaw.apply(this, allArgs); if ( - typeof event.isDefaultPrevented !== "function" || + typeof event.isDefaultPrevented !== 'function' || event.isDefaultPrevented() ) { return; @@ -378,7 +378,11 @@ export default class DatePicker extends React.Component { inputValue: event.target.value, lastPreSelectChange: PRESELECT_CHANGE_VIA_INPUT }); - const date = parseDate(event.target.value, this.props); + const date = parseDate( + event.target.value, + this.props.dateFormat, + this.props.locale + ); if (date || !event.target.value) { this.setSelected(date, event, true); } @@ -422,10 +426,10 @@ export default class DatePicker extends React.Component { if (this.props.selected) { let selected = this.props.selected; if (keepInput) selected = newDate(changedDate); - changedDate = setTime(newDate(changedDate), { - hour: getHour(selected), - minute: getMinute(selected), - second: getSecond(selected) + changedDate = setTime(changedDate, { + hour: getHours(selected), + minute: getMinutes(selected), + second: getSeconds(selected) }); } if (!this.props.inline) { @@ -446,8 +450,8 @@ export default class DatePicker extends React.Component { setPreSelection = date => { const isDateRangePresent = - typeof this.props.minDate !== "undefined" && - typeof this.props.maxDate !== "undefined"; + typeof this.props.minDate !== 'undefined' && + typeof this.props.maxDate !== 'undefined'; const isValidDateSelection = isDateRangePresent && date ? isDayInRange(date, this.props.minDate, this.props.maxDate) @@ -463,9 +467,9 @@ export default class DatePicker extends React.Component { const selected = this.props.selected ? this.props.selected : this.getPreSelection(); - let changedDate = setTime(cloneDate(selected), { - hour: getHour(time), - minute: getMinute(time) + let changedDate = setTime(selected, { + hour: getHours(time), + minute: getMinutes(time) }); this.setState({ @@ -495,13 +499,13 @@ export default class DatePicker extends React.Component { !this.props.inline && !this.props.preventOpenOnFocus ) { - if (eventKey === "ArrowDown" || eventKey === "ArrowUp") { + if (eventKey === 'ArrowDown' || eventKey === 'ArrowUp') { this.onInputClick(); } return; } const copy = newDate(this.state.preSelection); - if (eventKey === "Enter") { + if (eventKey === 'Enter') { event.preventDefault(); if ( this.inputOk() && @@ -512,40 +516,40 @@ export default class DatePicker extends React.Component { } else { this.setOpen(false); } - } else if (eventKey === "Escape") { + } else if (eventKey === 'Escape') { event.preventDefault(); this.setOpen(false); if (!this.inputOk()) { this.props.onInputError({ code: 1, msg: INPUT_ERR_1 }); } - } else if (eventKey === "Tab") { + } else if (eventKey === 'Tab') { this.setOpen(false, true); } else if (!this.props.disabledKeyboardNavigation) { let newSelection; switch (eventKey) { - case "ArrowLeft": - newSelection = subtractDays(copy, 1); + case 'ArrowLeft': + newSelection = subDays(copy, 1); break; - case "ArrowRight": + case 'ArrowRight': newSelection = addDays(copy, 1); break; - case "ArrowUp": - newSelection = subtractWeeks(copy, 1); + case 'ArrowUp': + newSelection = subWeeks(copy, 1); break; - case "ArrowDown": + case 'ArrowDown': newSelection = addWeeks(copy, 1); break; - case "PageUp": - newSelection = subtractMonths(copy, 1); + case 'PageUp': + newSelection = subMonths(copy, 1); break; - case "PageDown": + case 'PageDown': newSelection = addMonths(copy, 1); break; - case "Home": - newSelection = subtractYears(copy, 1); + case 'Home': + newSelection = subYears(copy, 1); break; - case "End": + case 'End': newSelection = addYears(copy, 1); break; } @@ -628,7 +632,6 @@ export default class DatePicker extends React.Component { scrollableMonthYearDropdown={this.props.scrollableMonthYearDropdown} todayButton={this.props.todayButton} weekLabel={this.props.weekLabel} - utcOffset={this.props.utcOffset} outsideClickIgnoreClass={outsideClickIgnoreClass} fixedHeight={this.props.fixedHeight} monthsShown={this.props.monthsShown} @@ -666,11 +669,11 @@ export default class DatePicker extends React.Component { }); const customInput = this.props.customInput || ; - const customInputRef = this.props.customInputRef || "ref"; + const customInputRef = this.props.customInputRef || 'ref'; const inputValue = - typeof this.props.value === "string" + typeof this.props.value === 'string' ? this.props.value - : typeof this.state.inputValue === "string" + : typeof this.state.inputValue === 'string' ? this.state.inputValue : safeDateFormat(this.props.selected, this.props); @@ -757,5 +760,5 @@ export default class DatePicker extends React.Component { } } -const PRESELECT_CHANGE_VIA_INPUT = "input"; -const PRESELECT_CHANGE_VIA_NAVIGATE = "navigate"; +const PRESELECT_CHANGE_VIA_INPUT = 'input'; +const PRESELECT_CHANGE_VIA_NAVIGATE = 'navigate'; diff --git a/src/month.jsx b/src/month.jsx index c2c599d15..740f09fb9 100644 --- a/src/month.jsx +++ b/src/month.jsx @@ -1,17 +1,17 @@ -import React from "react"; -import PropTypes from "prop-types"; -import classnames from "classnames"; -import Week from "./week"; -import * as utils from "./date_utils"; +import React from 'react'; +import PropTypes from 'prop-types'; +import classnames from 'classnames'; +import Week from './week'; +import * as utils from './date_utils'; const FIXED_HEIGHT_STANDARD_WEEK_COUNT = 6; export default class Month extends React.Component { static propTypes = { disabledKeyboardNavigation: PropTypes.bool, - day: PropTypes.object.isRequired, + day: PropTypes.instanceOf(Date).isRequired, dayClassName: PropTypes.func, - endDate: PropTypes.object, + endDate: PropTypes.instanceOf(Date), excludeDates: PropTypes.array, filterDate: PropTypes.func, fixedHeight: PropTypes.bool, @@ -19,23 +19,23 @@ export default class Month extends React.Component { highlightDates: PropTypes.instanceOf(Map), includeDates: PropTypes.array, inline: PropTypes.bool, - maxDate: PropTypes.object, - minDate: PropTypes.object, + locale: PropTypes.string, + maxDate: PropTypes.instanceOf(Date), + minDate: PropTypes.instanceOf(Date), onDayClick: PropTypes.func, onDayMouseEnter: PropTypes.func, onMouseLeave: PropTypes.func, onWeekSelect: PropTypes.func, peekNextMonth: PropTypes.bool, - preSelection: PropTypes.object, - selected: PropTypes.object, - selectingDate: PropTypes.object, + preSelection: PropTypes.instanceOf(Date), + selected: PropTypes.instanceOf(Date), + selectingDate: PropTypes.instanceOf(Date), selectsEnd: PropTypes.bool, selectsStart: PropTypes.bool, showWeekNumbers: PropTypes.bool, - startDate: PropTypes.object, + startDate: PropTypes.instanceOf(Date), setOpen: PropTypes.func, shouldCloseOnSelect: PropTypes.bool, - utcOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), renderDayContents: PropTypes.func }; @@ -59,7 +59,7 @@ export default class Month extends React.Component { isWeekInMonth = startOfWeek => { const day = this.props.day; - const endOfWeek = utils.addDays(utils.cloneDate(startOfWeek), 6); + const endOfWeek = utils.addDays(startOfWeek, 6); return ( utils.isSameMonth(startOfWeek, day) || utils.isSameMonth(endOfWeek, day) ); @@ -69,7 +69,8 @@ export default class Month extends React.Component { const weeks = []; var isFixedHeight = this.props.fixedHeight; let currentWeekStart = utils.getStartOfWeek( - utils.getStartOfMonth(utils.cloneDate(this.props.day)) + utils.getStartOfMonth(this.props.day), + this.props.locale ); let i = 0; let breakAfterNextPush = false; @@ -84,6 +85,7 @@ export default class Month extends React.Component { onDayMouseEnter={this.handleDayMouseEnter} onWeekSelect={this.props.onWeekSelect} formatWeekNumber={this.props.formatWeekNumber} + locale={this.props.locale} minDate={this.props.minDate} maxDate={this.props.maxDate} excludeDates={this.props.excludeDates} @@ -100,7 +102,6 @@ export default class Month extends React.Component { startDate={this.props.startDate} endDate={this.props.endDate} dayClassName={this.props.dayClassName} - utcOffset={this.props.utcOffset} setOpen={this.props.setOpen} shouldCloseOnSelect={this.props.shouldCloseOnSelect} disabledKeyboardNavigation={this.props.disabledKeyboardNavigation} @@ -111,7 +112,7 @@ export default class Month extends React.Component { if (breakAfterNextPush) break; i++; - currentWeekStart = utils.addWeeks(utils.cloneDate(currentWeekStart), 1); + currentWeekStart = utils.addWeeks(currentWeekStart, 1); // If one of these conditions is true, we will either break on this week // or break on the next week @@ -134,8 +135,8 @@ export default class Month extends React.Component { getClassNames = () => { const { selectingDate, selectsStart, selectsEnd } = this.props; - return classnames("react-datepicker__month", { - "react-datepicker__month--selecting-range": + return classnames('react-datepicker__month', { + 'react-datepicker__month--selecting-range': selectingDate && (selectsStart || selectsEnd) }); }; @@ -146,7 +147,7 @@ export default class Month extends React.Component { className={this.getClassNames()} onMouseLeave={this.handleMouseLeave} role="listbox" - aria-label={"month-" + this.props.day.format("YYYY-MM")} + aria-label={'month-' + utils.formatDate(this.props.day, 'YYYY-MM')} > {this.renderWeeks()} diff --git a/src/month_dropdown.jsx b/src/month_dropdown.jsx index 630dbb1dc..1f78bb1dc 100644 --- a/src/month_dropdown.jsx +++ b/src/month_dropdown.jsx @@ -10,7 +10,6 @@ export default class MonthDropdown extends React.Component { static propTypes = { dropdownMode: PropTypes.oneOf(["scroll", "select"]).isRequired, locale: PropTypes.string, - dateFormat: PropTypes.string.isRequired, month: PropTypes.number.isRequired, onChange: PropTypes.func.isRequired, useShortMonthInDropdown: PropTypes.bool @@ -84,16 +83,10 @@ export default class MonthDropdown extends React.Component { }); render() { - const localeData = utils.getLocaleDataForLocale(this.props.locale); const monthNames = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].map( this.props.useShortMonthInDropdown - ? M => utils.getMonthShortInLocale(localeData, utils.newDate({ M })) - : M => - utils.getMonthInLocale( - localeData, - utils.newDate({ M }), - this.props.dateFormat - ) + ? M => utils.getMonthShortInLocale(M, this.props.locale) + : M => utils.getMonthInLocale(M, this.props.locale) ); let renderedDropdown; diff --git a/src/month_year_dropdown.jsx b/src/month_year_dropdown.jsx index e18151c42..68c200f46 100644 --- a/src/month_year_dropdown.jsx +++ b/src/month_year_dropdown.jsx @@ -9,8 +9,8 @@ import { isAfter, isSameMonth, isSameYear, - localizeDate, - newDate + newDate, + getTime } from "./date_utils"; var WrappedMonthYearDropdownOptions = onClickOutside(MonthYearDropdownOptions); @@ -20,9 +20,9 @@ export default class MonthYearDropdown extends React.Component { dropdownMode: PropTypes.oneOf(["scroll", "select"]).isRequired, dateFormat: PropTypes.string.isRequired, locale: PropTypes.string, - maxDate: PropTypes.object.isRequired, - minDate: PropTypes.object.isRequired, - date: PropTypes.object.isRequired, + maxDate: PropTypes.instanceOf(Date).isRequired, + minDate: PropTypes.instanceOf(Date).isRequired, + date: PropTypes.instanceOf(Date).isRequired, onChange: PropTypes.func.isRequired, scrollableMonthYearDropdown: PropTypes.bool }; @@ -32,24 +32,19 @@ export default class MonthYearDropdown extends React.Component { }; renderSelectOptions = () => { - const currDate = getStartOfMonth( - localizeDate(this.props.minDate, this.props.locale) - ); - const lastDate = getStartOfMonth( - localizeDate(this.props.maxDate, this.props.locale) - ); - + let currDate = getStartOfMonth(this.props.minDate); + const lastDate = getStartOfMonth(this.props.maxDate); const options = []; while (!isAfter(currDate, lastDate)) { - const timepoint = currDate.valueOf(); + const timepoint = getTime(currDate); options.push( - {formatDate(currDate, this.props.dateFormat)} + {formatDate(currDate, this.props.dateFormat, this.props.locale)} ); - addMonths(currDate, 1); + currDate = addMonths(currDate, 1); } return options; @@ -61,7 +56,7 @@ export default class MonthYearDropdown extends React.Component { renderSelectMode = () => ( @@ -71,8 +66,9 @@ export default class MonthYearDropdown extends React.Component { renderReadView = visible => { const yearMonth = formatDate( - localizeDate(newDate(this.props.date), this.props.locale), - this.props.dateFormat + this.props.date, + this.props.dateFormat, + this.props.locale ); return ( @@ -98,8 +94,8 @@ export default class MonthYearDropdown extends React.Component { dateFormat={this.props.dateFormat} onChange={this.onChange} onCancel={this.toggleDropdown} - minDate={localizeDate(this.props.minDate, this.props.locale)} - maxDate={localizeDate(this.props.maxDate, this.props.locale)} + minDate={this.props.minDate} + maxDate={this.props.maxDate} scrollableMonthYearDropdown={this.props.scrollableMonthYearDropdown} /> ); diff --git a/src/month_year_dropdown_options.jsx b/src/month_year_dropdown_options.jsx index e04e08bd1..977398b78 100644 --- a/src/month_year_dropdown_options.jsx +++ b/src/month_year_dropdown_options.jsx @@ -3,37 +3,37 @@ import PropTypes from "prop-types"; import classNames from "classnames"; import { addMonths, - cloneDate, formatDate, getStartOfMonth, + newDate, isAfter, isSameMonth, - isSameYear + isSameYear, + getTime } from "./date_utils"; function generateMonthYears(minDate, maxDate) { const list = []; - const currDate = getStartOfMonth(cloneDate(minDate)); - const lastDate = getStartOfMonth(cloneDate(maxDate)); + let currDate = getStartOfMonth(minDate); + const lastDate = getStartOfMonth(maxDate); while (!isAfter(currDate, lastDate)) { - list.push(cloneDate(currDate)); + list.push(newDate(currDate)); - addMonths(currDate, 1); + currDate = addMonths(currDate, 1); } - return list; } export default class MonthYearDropdownOptions extends React.Component { static propTypes = { - minDate: PropTypes.object.isRequired, - maxDate: PropTypes.object.isRequired, + minDate: PropTypes.instanceOf(Date).isRequired, + maxDate: PropTypes.instanceOf(Date).isRequired, onCancel: PropTypes.func.isRequired, onChange: PropTypes.func.isRequired, scrollableMonthYearDropdown: PropTypes.bool, - date: PropTypes.object.isRequired, + date: PropTypes.instanceOf(Date).isRequired, dateFormat: PropTypes.string.isRequired }; @@ -47,8 +47,7 @@ export default class MonthYearDropdownOptions extends React.Component { renderOptions = () => { return this.state.monthYearsList.map(monthYear => { - const monthYearPoint = monthYear.valueOf(); - + const monthYearPoint = getTime(monthYear); const isSameMonthYear = isSameYear(this.props.date, monthYear) && isSameMonth(this.props.date, monthYear); diff --git a/src/time.jsx b/src/time.jsx index d80a78398..c70dc4ebb 100644 --- a/src/time.jsx +++ b/src/time.jsx @@ -1,12 +1,11 @@ import React from "react"; import PropTypes from "prop-types"; import { - getHour, - getMinute, + getHours, + getMinutes, newDate, getStartOfDay, addMinutes, - cloneDate, formatDate, isTimeInDisabledRange, isTimeDisabled, @@ -18,11 +17,11 @@ export default class Time extends React.Component { format: PropTypes.string, includeTimes: PropTypes.array, intervals: PropTypes.number, - selected: PropTypes.object, + selected: PropTypes.instanceOf(Date), onChange: PropTypes.func, todayButton: PropTypes.node, - minTime: PropTypes.object, - maxTime: PropTypes.object, + minTime: PropTypes.instanceOf(Date), + maxTime: PropTypes.instanceOf(Date), excludeTimes: PropTypes.array, monthRef: PropTypes.object, timeCaption: PropTypes.string, @@ -65,14 +64,13 @@ export default class Time extends React.Component { ) { return; } - this.props.onChange(time); }; liClasses = (time, currH, currM) => { let classes = ["react-datepicker__time-list-item"]; - if (currH === getHour(time) && currM === getMinute(time)) { + if (currH === getHours(time) && currM === getMinutes(time)) { classes.push("react-datepicker__time-list-item--selected"); } if ( @@ -87,7 +85,7 @@ export default class Time extends React.Component { } if ( this.props.injectTimes && - (getHour(time) * 60 + getMinute(time)) % this.props.intervals !== 0 + (getHours(time) * 60 + getMinutes(time)) % this.props.intervals !== 0 ) { classes.push("react-datepicker__time-list-item--injected"); } @@ -97,11 +95,11 @@ export default class Time extends React.Component { renderTimes = () => { let times = []; - const format = this.props.format ? this.props.format : "hh:mm A"; + const format = this.props.format ? this.props.format : "p"; const intervals = this.props.intervals; const activeTime = this.props.selected ? this.props.selected : newDate(); - const currH = getHour(activeTime); - const currM = getMinute(activeTime); + const currH = getHours(activeTime); + const currM = getMinutes(activeTime); let base = getStartOfDay(newDate()); const multiplier = 1440 / intervals; const sortedInjectTimes = @@ -110,7 +108,7 @@ export default class Time extends React.Component { return a - b; }); for (let i = 0; i < multiplier; i++) { - const currentTime = addMinutes(cloneDate(base), i * intervals); + const currentTime = addMinutes(base, i * intervals); times.push(currentTime); if (sortedInjectTimes) { @@ -132,8 +130,8 @@ export default class Time extends React.Component { className={this.liClasses(time, currH, currM)} ref={li => { if ( - (currH === getHour(time) && currM === getMinute(time)) || - (currH === getHour(time) && !this.centerLi) + (currH === getHours(time) && currM === getMinutes(time)) || + (currH === getHours(time) && !this.centerLi) ) { this.centerLi = li; } diff --git a/src/week.jsx b/src/week.jsx index 9818b0631..2f1da3cd1 100644 --- a/src/week.jsx +++ b/src/week.jsx @@ -1,8 +1,8 @@ -import React from "react"; -import PropTypes from "prop-types"; -import Day from "./day"; -import WeekNumber from "./week_number"; -import * as utils from "./date_utils"; +import React from 'react'; +import PropTypes from 'prop-types'; +import Day from './day'; +import WeekNumber from './week_number'; +import * as utils from './date_utils'; export default class Week extends React.Component { static get defaultProps() { @@ -12,31 +12,31 @@ export default class Week extends React.Component { } static propTypes = { disabledKeyboardNavigation: PropTypes.bool, - day: PropTypes.object.isRequired, + day: PropTypes.instanceOf(Date).isRequired, dayClassName: PropTypes.func, - endDate: PropTypes.object, + endDate: PropTypes.instanceOf(Date), excludeDates: PropTypes.array, filterDate: PropTypes.func, formatWeekNumber: PropTypes.func, highlightDates: PropTypes.instanceOf(Map), includeDates: PropTypes.array, inline: PropTypes.bool, - maxDate: PropTypes.object, - minDate: PropTypes.object, + locale: PropTypes.string, + maxDate: PropTypes.instanceOf(Date), + minDate: PropTypes.instanceOf(Date), month: PropTypes.number, onDayClick: PropTypes.func, onDayMouseEnter: PropTypes.func, onWeekSelect: PropTypes.func, - preSelection: PropTypes.object, - selected: PropTypes.object, - selectingDate: PropTypes.object, + preSelection: PropTypes.instanceOf(Date), + selected: PropTypes.instanceOf(Date), + selectingDate: PropTypes.instanceOf(Date), selectsEnd: PropTypes.bool, selectsStart: PropTypes.bool, showWeekNumber: PropTypes.bool, - startDate: PropTypes.object, + startDate: PropTypes.instanceOf(Date), setOpen: PropTypes.func, shouldCloseOnSelect: PropTypes.bool, - utcOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), renderDayContents: PropTypes.func }; @@ -53,7 +53,7 @@ export default class Week extends React.Component { }; handleWeekClick = (day, weekNumber, event) => { - if (typeof this.props.onWeekSelect === "function") { + if (typeof this.props.onWeekSelect === 'function') { this.props.onWeekSelect(day, weekNumber, event); } if (this.props.shouldCloseOnSelect) { @@ -69,7 +69,7 @@ export default class Week extends React.Component { }; renderDays = () => { - const startOfWeek = utils.getStartOfWeek(utils.cloneDate(this.props.day)); + const startOfWeek = utils.getStartOfWeek(this.props.day, this.props.locale); const days = []; const weekNumber = this.formatWeekNumber(startOfWeek); if (this.props.showWeekNumber) { @@ -82,7 +82,7 @@ export default class Week extends React.Component { } return days.concat( [0, 1, 2, 3, 4, 5, 6].map(offset => { - const day = utils.addDays(utils.cloneDate(startOfWeek), offset); + const day = utils.addDays(startOfWeek, offset); return ( diff --git a/src/year_dropdown.jsx b/src/year_dropdown.jsx index 6fa6adbbf..633a098ff 100644 --- a/src/year_dropdown.jsx +++ b/src/year_dropdown.jsx @@ -10,13 +10,13 @@ export default class YearDropdown extends React.Component { static propTypes = { adjustDateOnChange: PropTypes.bool, dropdownMode: PropTypes.oneOf(["scroll", "select"]).isRequired, - maxDate: PropTypes.object, - minDate: PropTypes.object, + maxDate: PropTypes.instanceOf(Date), + minDate: PropTypes.instanceOf(Date), onChange: PropTypes.func.isRequired, scrollableYearDropdown: PropTypes.bool, year: PropTypes.number.isRequired, yearDropdownItemNumber: PropTypes.number, - date: PropTypes.object, + date: PropTypes.instanceOf(Date), onSelect: PropTypes.func, setOpen: PropTypes.func }; diff --git a/src/year_dropdown_options.jsx b/src/year_dropdown_options.jsx index 759dc8984..142e07206 100644 --- a/src/year_dropdown_options.jsx +++ b/src/year_dropdown_options.jsx @@ -1,6 +1,7 @@ import React from "react"; import PropTypes from "prop-types"; import classNames from "classnames"; +import { getYear } from "./date_utils"; function generateYears(year, noOfYear, minDate, maxDate) { var list = []; @@ -9,11 +10,11 @@ function generateYears(year, noOfYear, minDate, maxDate) { let isInRange = true; if (minDate) { - isInRange = minDate.year() <= newYear; + isInRange = getYear(minDate) <= newYear; } if (maxDate && isInRange) { - isInRange = maxDate.year() >= newYear; + isInRange = getYear(maxDate) >= newYear; } if (isInRange) { @@ -26,8 +27,8 @@ function generateYears(year, noOfYear, minDate, maxDate) { export default class YearDropdownOptions extends React.Component { static propTypes = { - minDate: PropTypes.object, - maxDate: PropTypes.object, + minDate: PropTypes.instanceOf(Date), + maxDate: PropTypes.instanceOf(Date), onCancel: PropTypes.func.isRequired, onChange: PropTypes.func.isRequired, scrollableYearDropdown: PropTypes.bool, @@ -73,8 +74,8 @@ export default class YearDropdownOptions extends React.Component { )); - const minYear = this.props.minDate ? this.props.minDate.year() : null; - const maxYear = this.props.maxDate ? this.props.maxDate.year() : null; + const minYear = this.props.minDate ? getYear(this.props.minDate) : null; + const maxYear = this.props.maxDate ? getYear(this.props.maxDate) : null; if (!maxYear || !this.state.yearsList.find(year => year === maxYear)) { options.unshift( diff --git a/test/calendar_test.js b/test/calendar_test.js index 014de7020..ee0c71207 100644 --- a/test/calendar_test.js +++ b/test/calendar_test.js @@ -11,12 +11,14 @@ import DatePicker from "../src/index.jsx"; import { shallow, mount } from "enzyme"; import sinon from "sinon"; import * as utils from "../src/date_utils"; +import fi from "date-fns/locale/fi"; // TODO Possibly rename -const DATE_FORMAT = "MM/DD/YYYY"; +const DATE_FORMAT = "MM/dd/yyyy"; describe("Calendar", function() { - const dateFormat = "MMMM YYYY"; + const dateFormat = "MMMM yyyy"; + utils.registerLocale("fi", fi); function getCalendar(extraProps) { return shallow( @@ -37,21 +39,6 @@ describe("Calendar", function() { assert(utils.isSameDay(calendar.state().date, now)); }); - it("should start with the today date with specified time zone", function() { - let utcOffset = 12; - let calendar = getCalendar({ utcOffset }); - assert( - utils.isSameDay(calendar.state().date, utils.newDateWithOffset(utcOffset)) - ); - - // using string offsets - utcOffset = "+12:00"; - calendar = getCalendar({ utcOffset }); - assert( - utils.isSameDay(calendar.state().date, utils.newDateWithOffset(utcOffset)) - ); - }); - it("should start with the selected date in view if provided", function() { const selected = utils.addYears(utils.newDate(), 1); const calendar = getCalendar({ selected }); @@ -67,8 +54,8 @@ describe("Calendar", function() { it("should start with the current date in view if in date range", function() { const now = utils.newDate(); - const minDate = utils.subtractYears(utils.cloneDate(now), 1); - const maxDate = utils.addYears(utils.cloneDate(now), 1); + const minDate = utils.subYears(now, 1); + const maxDate = utils.addYears(now, 1); const calendar = getCalendar({ minDate, maxDate }); assert(utils.isSameDay(calendar.state().date, now)); }); @@ -86,67 +73,55 @@ describe("Calendar", function() { }); it("should start with the max date in view if before the current date", function() { - const maxDate = utils.subtractYears(utils.newDate(), 1); + const maxDate = utils.subYears(utils.newDate(), 1); const calendar = getCalendar({ maxDate }); assert(utils.isSameDay(calendar.state().date, maxDate)); }); it("should start with the max include date in view if before the current date", function() { - const maxDate = utils.subtractYears(utils.newDate(), 1); + const maxDate = utils.subYears(utils.newDate(), 1); const calendar = getCalendar({ includeDates: [maxDate] }); assert(utils.isSameDay(calendar.state().date, maxDate)); }); it("should start with the open to date in view if given and no selected/min/max dates given", function() { - const openToDate = utils.parseDate("09/28/1993", { - dateFormat: DATE_FORMAT - }); + const openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); const calendar = getCalendar({ openToDate }); assert(utils.isSameDay(calendar.state().date, openToDate)); }); it("should start with the open to date in view if given and after a min date", function() { - const openToDate = utils.parseDate("09/28/1993", { - dateFormat: DATE_FORMAT - }); - const minDate = utils.parseDate("01/01/1993", { dateFormat: DATE_FORMAT }); + const openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); + const minDate = utils.parseDate("01/01/1993", DATE_FORMAT); const calendar = getCalendar({ openToDate, minDate }); assert(utils.isSameDay(calendar.state().date, openToDate)); }); it("should start with the open to date in view if given and before a max date", function() { - const openToDate = utils.parseDate("09/28/1993", { - dateFormat: DATE_FORMAT - }); - const maxDate = utils.parseDate("12/31/1993", { dateFormat: DATE_FORMAT }); + const openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); + const maxDate = utils.parseDate("12/31/1993", DATE_FORMAT); const calendar = getCalendar({ openToDate, maxDate }); assert(utils.isSameDay(calendar.state().date, openToDate)); }); it("should start with the open to date in view if given and in range of the min/max dates", function() { - const openToDate = utils.parseDate("09/28/1993", { - dateFormat: DATE_FORMAT - }); - const minDate = utils.parseDate("01/01/1993", { dateFormat: DATE_FORMAT }); - const maxDate = utils.parseDate("12/31/1993", { dateFormat: DATE_FORMAT }); + const openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); + const minDate = utils.parseDate("01/01/1993", DATE_FORMAT); + const maxDate = utils.parseDate("12/31/1993", DATE_FORMAT); const calendar = getCalendar({ openToDate, minDate, maxDate }); assert(utils.isSameDay(calendar.state().date, openToDate)); }); it("should open on openToDate date rather than selected date when both are specified", function() { - var openToDate = utils.parseDate("09/28/1993", { dateFormat: DATE_FORMAT }); - var selected = utils.parseDate("09/28/1995", { dateFormat: DATE_FORMAT }); + var openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); + var selected = utils.parseDate("09/28/1995", DATE_FORMAT); var calendar = getCalendar({ openToDate, selected }); assert(utils.isSameDay(calendar.state().date, openToDate)); }); it("should trigger date change when openToDate prop is set after calcInitialState()", () => { - const openToDate = utils.parseDate("09/28/1993", { - dateFormat: DATE_FORMAT - }); - const oneMonthFromOpenToDate = utils.parseDate("10/28/1993", { - dateFormat: DATE_FORMAT - }); + const openToDate = utils.parseDate("09/28/1993", DATE_FORMAT); + const oneMonthFromOpenToDate = utils.parseDate("10/28/1993", DATE_FORMAT); const calendar = getCalendar({ openToDate }); assert(utils.isSameDay(calendar.state().date, openToDate)); @@ -228,7 +203,7 @@ describe("Calendar", function() { changeYear(value)} > @@ -241,7 +216,7 @@ describe("Calendar", function() { changeMonth(value)} > {months.map(option => ( @@ -270,7 +245,7 @@ describe("Calendar", function() { const match = { changeMonth: sinon.match.func, changeYear: sinon.match.func, - date: sinon.match.object, + date: sinon.match.instanceOf(Date), decreaseMonth: sinon.match.func, increaseMonth: sinon.match.func, nextMonthButtonDisabled: sinon.match.bool, @@ -320,12 +295,14 @@ describe("Calendar", function() { renderCustomHeader }); - const selected = calendar.state().date.clone(); + const selected = utils.newDate(calendar.state().date); const prevMonth = calendar.find(".prevMonth"); prevMonth.simulate("click"); - expect(selected.month()).to.be.equal(calendar.state().date.month() + 1); + expect(utils.getMonth(selected)).to.be.equal( + utils.getMonth(calendar.state().date) + 1 + ); }); it("should go to next month", function() { @@ -333,12 +310,14 @@ describe("Calendar", function() { renderCustomHeader }); - const selected = calendar.state().date.clone(); + const selected = utils.newDate(calendar.state().date); const nextMonth = calendar.find(".nextMonth"); nextMonth.simulate("click"); - expect(selected.month()).to.be.equal(calendar.state().date.month() - 1); + expect(utils.getMonth(selected)).to.be.equal( + utils.getMonth(calendar.state().date) - 1 + ); }); it("nextMonthButtonDisabled flag should be true", function() { @@ -346,7 +325,7 @@ describe("Calendar", function() { getCalendar({ renderCustomHeader, - minDate: utils.subtractMonths(utils.newDate(), 1), + minDate: utils.subMonths(utils.newDate(), 1), maxDate: utils.newDate() }); @@ -398,9 +377,9 @@ describe("Calendar", function() { monthSelect.simulate("change", { target: { value: 4 } }); - const selected = calendar.state().date.clone(); + const selected = utils.newDate(calendar.state().date); - expect(selected.month()).to.be.equal(4); + expect(utils.getMonth(selected)).to.be.equal(4); }); it("should select 2017 from month select", function() { @@ -412,9 +391,9 @@ describe("Calendar", function() { yearSelect.simulate("change", { target: { value: 2017 } }); - const selected = calendar.state().date.clone(); + const selected = utils.newDate(calendar.state().date); - expect(selected.year()).to.be.equal(2017); + expect(utils.getYear(selected)).to.be.equal(2017); }); }); @@ -431,6 +410,7 @@ describe("Calendar", function() { maxDate: utils.addMonths(utils.newDate(), 3), showDisabledMonthNavigation: true }); + const prevDisabledNavigationButton = calendar.find( ".react-datepicker__navigation--previous--disabled" ); @@ -444,7 +424,7 @@ describe("Calendar", function() { it("should show disabled next month navigation", function() { const calendar = getCalendar({ - minDate: utils.subtractMonths(utils.newDate(), 3), + minDate: utils.subMonths(utils.newDate(), 3), maxDate: utils.newDate(), showDisabledMonthNavigation: true }); @@ -461,7 +441,7 @@ describe("Calendar", function() { it("should not show disabled previous/next month navigation when next/previous month available", function() { const calendar = getCalendar({ - minDate: utils.subtractMonths(utils.newDate(), 3), + minDate: utils.subMonths(utils.newDate(), 3), maxDate: utils.addMonths(utils.newDate(), 3), showDisabledMonthNavigation: true }); @@ -509,7 +489,7 @@ describe("Calendar", function() { it("when clicking non-disabled month navigation, should change month", function() { const calendar = getCalendar({ selected: utils.newDate(), - minDate: utils.subtractMonths(utils.newDate(), 3), + minDate: utils.subMonths(utils.newDate(), 3), maxDate: utils.addMonths(utils.newDate(), 3), showDisabledMonthNavigation: true, onMonthChange: onMonthChangeSpy @@ -559,7 +539,7 @@ describe("Calendar", function() { it("should show the month-year dropdown menu if toggled on", function() { const calendar = getCalendar({ showMonthYearDropdown: true, - minDate: utils.subtractYears(utils.newDate(), 1), + minDate: utils.subYears(utils.newDate(), 1), maxDate: utils.addYears(utils.newDate(), 1) }); const monthYearReadView = calendar.find(MonthYearDropdown); @@ -569,7 +549,7 @@ describe("Calendar", function() { it("should show only one month-year dropdown menu if toggled on and multiple month mode on", function() { const calendar = getCalendar({ showMonthYearDropdown: true, - minDate: utils.subtractYears(utils.newDate(), 1), + minDate: utils.subYears(utils.newDate(), 1), maxDate: utils.addYears(utils.newDate(), 1), monthsShown: 2 }); @@ -594,15 +574,7 @@ describe("Calendar", function() { const calendar = getCalendar({ todayButton: "Vandaag" }); const todayButton = calendar.find(".react-datepicker__today-button"); todayButton.simulate("click"); - expect(calendar.state().date.isSame(utils.newDate(), "day")); - }); - - it("should set custom today date when pressing todayButton", () => { - const todayInAuckland = utils.newDateWithOffset(12); - const calendar = getCalendar({ todayButton: "Vandaag", utcOffset: 12 }); - const todayButton = calendar.find(".react-datepicker__today-button"); - todayButton.simulate("click"); - expect(utils.isSameDay(calendar.state().date, todayInAuckland)); + expect(utils.isSameDay(calendar.state().date, utils.newDate())); }); it("should use a hash for week label if weekLabel is NOT provided", () => { @@ -657,24 +629,31 @@ describe("Calendar", function() { }); it("uses weekdaysShort instead of weekdaysMin provided useWeekdaysShort prop is present", () => { - utils.registerLocale("weekDaysLocale", { - parentLocale: "en", - weekdaysMin: "AA_BB_CC_DD_EE_FF_GG".split("_"), - weekdaysShort: "AAA_BBB_CCC_DDD_EEE_FFF_GGG".split("_") - }); - const calendarShort = mount( - + {}} + onSelect={() => {}} + useWeekdaysShort + /> + ); + const calendarMin = mount( + {}} + onSelect={() => {}} + /> ); - const calendarMin = mount(); const daysNamesShort = calendarShort.find(".react-datepicker__day-name"); - expect(daysNamesShort.at(0).text()).to.equal("AAA"); - expect(daysNamesShort.at(6).text()).to.equal("GGG"); + expect(daysNamesShort.at(0).text()).to.equal("Sun"); + expect(daysNamesShort.at(6).text()).to.equal("Sat"); const daysNamesMin = calendarMin.find(".react-datepicker__day-name"); - expect(daysNamesMin.at(0).text()).to.equal("AA"); - expect(daysNamesMin.at(6).text()).to.equal("GG"); + expect(daysNamesMin.at(0).text()).to.equal("Su"); + expect(daysNamesMin.at(6).text()).to.equal("Sa"); }); it("should set the date to the selected day of the previous month when previous button clicked", () => { @@ -699,7 +678,7 @@ describe("Calendar", function() { "react-datepicker__navigation--previous" ); TestUtils.Simulate.click(previousButton); - expect(utils.formatDate(date, "DD.MM.YYYY")).to.equal(expectedDate); + expect(utils.formatDate(date, "dd.MM.yyyy")).to.equal(expectedDate); }); it("should set the date to the selected day of the next when next button clicked", () => { @@ -724,7 +703,7 @@ describe("Calendar", function() { "react-datepicker__navigation--next" ); TestUtils.Simulate.click(nextButton); - expect(utils.formatDate(date, "DD.MM.YYYY")).to.equal(expectedDate); + expect(utils.formatDate(date, "dd.MM.yyyy")).to.equal(expectedDate); }); it("should set the date to the last possible day of the previous month when previous button clicked", () => { @@ -749,7 +728,7 @@ describe("Calendar", function() { "react-datepicker__navigation--previous" ); TestUtils.Simulate.click(previousButton); - expect(utils.formatDate(date, "DD.MM.YYYY")).to.equal(expectedDate); + expect(utils.formatDate(date, "dd.MM.yyyy")).to.equal(expectedDate); }); describe("onMonthChange", () => { @@ -847,7 +826,7 @@ describe("Calendar", function() { hideCalendar={() => {}} dropdownMode="select" showMonthYearDropdown - minDate={utils.subtractYears(utils.newDate(), 1)} + minDate={utils.subYears(utils.newDate(), 1)} maxDate={utils.addYears(utils.newDate(), 1)} onYearChange={onYearChangeSpy} onMonthChange={onMonthChangeSpy} @@ -897,7 +876,7 @@ describe("Calendar", function() { showYearDropdown showMonthDropdown showMonthYearDropdown - minDate={utils.subtractYears(utils.newDate(), 1)} + minDate={utils.subYears(utils.newDate(), 1)} maxDate={utils.addYears(utils.newDate(), 1)} onDropdownFocus={onDropdownFocusSpy} /> @@ -947,46 +926,50 @@ describe("Calendar", function() { describe("localization", function() { function testLocale(calendar, selected, locale) { - const localized = utils.localizeDate(selected, locale); - const calendarText = calendar.find(".react-datepicker__current-month"); expect(calendarText.text()).to.equal( - utils.formatDate(localized, dateFormat) + utils.formatDate(selected, dateFormat, locale) ); - - const firstDateOfWeek = utils.getStartOfWeek(utils.cloneDate(localized)); + const firstDateOfWeek = utils.getStartOfWeek(selected, locale); const firstWeekDayMin = utils.getWeekdayMinInLocale( - utils.getLocaleData(firstDateOfWeek), - firstDateOfWeek + firstDateOfWeek, + locale ); const firstHeader = calendar.find(".react-datepicker__day-name").at(0); expect(firstHeader.text()).to.equal(firstWeekDayMin); } - it("should use the globally-defined locale by default", function() { + it("should use the 'en' locale by default", function() { const selected = utils.newDate(); const calendar = getCalendar({ selected }); - testLocale(calendar, selected, utils.getDefaultLocale()); + testLocale(calendar, selected); + }); + + it("should use the default locale when set", function() { + const selected = utils.newDate(); + utils.setDefaultLocale("fi"); + + const calendar = getCalendar({ selected }); + testLocale(calendar, selected, "fi"); + utils.setDefaultLocale(""); }); it("should use the locale specified as a prop", function() { - const locale = "fr"; - const selected = utils.localizeDate(utils.newDate(), locale); + utils.registerLocale("fi", fi); + const locale = "fi"; + const selected = utils.newDate(); const calendar = getCalendar({ selected, locale }); testLocale(calendar, selected, locale); }); - it("should override the locale of the date with the globally-defined locale", function() { - const selected = utils.localizeDate(utils.newDate(), "fr"); - const calendar = getCalendar({ selected }); - testLocale(calendar, selected, utils.getDefaultLocale()); - }); - - it("should override the locale of the date with the locale prop", function() { - const locale = "fr"; + it("should override the default locale with the locale prop", function() { + const locale = "en"; const selected = utils.newDate(); + utils.setDefaultLocale("fi"); + const calendar = getCalendar({ selected, locale }); testLocale(calendar, selected, locale); + utils.setDefaultLocale(""); }); it("should render empty custom header", function() { diff --git a/test/date_utils_test.js b/test/date_utils_test.js index 1ec41207f..431e96f56 100644 --- a/test/date_utils_test.js +++ b/test/date_utils_test.js @@ -1,17 +1,14 @@ import { newDate, - setUTCOffset, - cloneDate, addDays, - subtractDays, - equals, + subDays, + isEqual, isSameDay, isSameMonth, isSameYear, - isSameUtcOffset, isDayDisabled, - allDaysDisabledBefore, - allDaysDisabledAfter, + monthDisabledBefore, + monthDisabledAfter, getEffectiveMinDate, getEffectiveMaxDate } from "../src/date_utils"; @@ -80,73 +77,6 @@ describe("date_utils", function() { }); }); - describe("isSameUtcOffset", function() { - it("should return true for null dates", function() { - expect(isSameUtcOffset(null, null)).to.be.true; - }); - - it("should return false for a null and a non-null date", function() { - expect(isSameUtcOffset(newDate(), null)).to.be.false; - expect(isSameUtcOffset(null, newDate())).to.be.false; - }); - - it("should return true for non-equal utc offsets, but same dates", function() { - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-02-10"), -3), - setUTCOffset(newDate("2016-02-10"), 5) - ) - ).to.be.false; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-02-10"), 3), - setUTCOffset(newDate("2016-02-10"), -5) - ) - ).to.be.false; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-02-10"), 180), - setUTCOffset(newDate("2016-02-10"), -210) - ) - ).to.be.false; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-02-10"), "-05:45"), - setUTCOffset(newDate("2016-02-10"), "+01:00") - ) - ).to.be.false; - }); - - it("should return true for equal utc offsets, regardless of dates", function() { - expect(isSameUtcOffset(newDate("2016-02-10"), newDate("2016-02-10"))).to - .be.true; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-02-10"), -3), - setUTCOffset(newDate("2016-05-10"), -3) - ) - ).to.be.true; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-12-10"), 6), - setUTCOffset(newDate("2016-02-15"), 6) - ) - ).to.be.true; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-12-10"), "+04:00"), - setUTCOffset(newDate("2016-02-15"), "+04:00") - ) - ).to.be.true; - expect( - isSameUtcOffset( - setUTCOffset(newDate("2016-12-10"), "-02:00"), - setUTCOffset(newDate("2016-02-15"), "-0200") - ) - ).to.be.true; - }); - }); - describe("isDayDisabled", function() { it("should be enabled by default", () => { const day = newDate(); @@ -160,7 +90,7 @@ describe("date_utils", function() { it("should be disabled if before the min date", () => { const day = newDate(); - const minDate = addDays(cloneDate(day), 1); + const minDate = addDays(day, 1); expect(isDayDisabled(day, { minDate })).to.be.true; }); @@ -171,7 +101,7 @@ describe("date_utils", function() { it("should be disabled if after the max date", () => { const day = newDate(); - const maxDate = subtractDays(cloneDate(day), 1); + const maxDate = subDays(day, 1); expect(isDayDisabled(day, { maxDate })).to.be.true; }); @@ -187,79 +117,79 @@ describe("date_utils", function() { it("should be disabled if not in included dates", () => { const day = newDate(); - const includeDates = [addDays(cloneDate(day), 1)]; + const includeDates = [addDays(day, 1)]; expect(isDayDisabled(day, { includeDates })).to.be.true; }); it("should be enabled if date filter returns true", () => { const day = newDate(); - const filterDate = d => equals(d, day); + const filterDate = d => isEqual(d, day); expect(isDayDisabled(day, { filterDate })).to.be.false; }); it("should be disabled if date filter returns false", () => { const day = newDate(); - const filterDate = d => !equals(d, day); + const filterDate = d => !isEqual(d, day); expect(isDayDisabled(day, { filterDate })).to.be.true; }); it("should not allow date filter to modify input date", () => { const day = newDate(); - const dayClone = cloneDate(day); + const dayClone = newDate(day); const filterDate = d => { addDays(d, 1); return true; }; isDayDisabled(day, { filterDate }); - expect(equals(day, dayClone)).to.be.true; + expect(isEqual(day, dayClone)).to.be.true; }); }); - describe("allDaysDisabledBefore", () => { + describe("monthDisabledBefore", () => { it("should return false by default", () => { - expect(allDaysDisabledBefore(newDate(), "month")).to.be.false; + expect(monthDisabledBefore(newDate())).to.be.false; }); - it("should return true if min date is in the same unit", () => { + it("should return true if min date is in the same month", () => { const day = newDate("2016-03-19"); const minDate = newDate("2016-03-01"); - expect(allDaysDisabledBefore(day, "month", { minDate })).to.be.true; + expect(monthDisabledBefore(day, { minDate })).to.be.true; }); - it("should return false if min date is in the previous unit", () => { + it("should return false if min date is in the previous month", () => { const day = newDate("2016-03-19"); const minDate = newDate("2016-02-29"); - expect(allDaysDisabledBefore(day, "month", { minDate })).to.be.false; + expect(monthDisabledBefore(day, { minDate })).to.be.false; }); - it("should return true if previous unit is before include dates", () => { + it("should return true if previous month is before include dates", () => { const day = newDate("2016-03-19"); const includeDates = [newDate("2016-03-01")]; - expect(allDaysDisabledBefore(day, "month", { includeDates })).to.be.true; + expect(monthDisabledBefore(day, { includeDates })).to.be.true; }); }); - describe("allDaysDisabledAfter", () => { + describe("monthDisabledAfter", () => { it("should return false by default", () => { - expect(allDaysDisabledAfter(newDate(), "month")).to.be.false; + expect(monthDisabledAfter(newDate())).to.be.false; }); - it("should return true if max date is in the same unit", () => { + it("should return true if max date is in the same month", () => { const day = newDate("2016-03-19"); const maxDate = newDate("2016-03-31"); - expect(allDaysDisabledAfter(day, "month", { maxDate })).to.be.true; + expect(monthDisabledAfter(day, { maxDate })).to.be.true; }); - it("should return false if max date is in the next unit", () => { + it("should return false if max date is in the next month", () => { const day = newDate("2016-03-19"); const maxDate = newDate("2016-04-01"); - expect(allDaysDisabledAfter(day, "month", { maxDate })).to.be.false; + expect(monthDisabledAfter(day, { maxDate })).to.be.false; }); - it("should return true if next unit is after include dates", () => { + it("should return true if next month is after include dates", () => { const day = newDate("2016-03-19"); const includeDates = [newDate("2016-03-01")]; - expect(allDaysDisabledAfter(day, "month", { includeDates })).to.be.true; + expect(monthDisabledAfter(day, { includeDates })).to.be.true; }); }); @@ -270,14 +200,15 @@ describe("date_utils", function() { it("should return the min date", () => { const minDate = newDate("2016-03-30"); - assert(equals(getEffectiveMinDate({ minDate }), minDate)); + const result = getEffectiveMinDate({ minDate }); + assert(isEqual(minDate, result)); }); it("should return the minimum include date", () => { const date1 = newDate("2016-03-30"); const date2 = newDate("2016-04-01"); const includeDates = [date1, date2]; - assert(equals(getEffectiveMinDate({ includeDates }), date1)); + assert(isEqual(getEffectiveMinDate({ includeDates }), date1)); }); it("should return the minimum include date satisfying the min date", () => { @@ -285,7 +216,7 @@ describe("date_utils", function() { const date1 = newDate("2016-03-30"); const date2 = newDate("2016-04-01"); const includeDates = [date1, date2]; - assert(equals(getEffectiveMinDate({ minDate, includeDates }), date2)); + assert(isEqual(getEffectiveMinDate({ minDate, includeDates }), date2)); }); }); @@ -296,14 +227,14 @@ describe("date_utils", function() { it("should return the max date", () => { const maxDate = newDate("2016-03-30"); - assert(equals(getEffectiveMaxDate({ maxDate }), maxDate)); + assert(isEqual(getEffectiveMaxDate({ maxDate }), maxDate)); }); it("should return the maximum include date", () => { const date1 = newDate("2016-03-30"); const date2 = newDate("2016-04-01"); const includeDates = [date1, date2]; - assert(equals(getEffectiveMaxDate({ includeDates }), date2)); + assert(isEqual(getEffectiveMaxDate({ includeDates }), date2)); }); it("should return the maximum include date satisfying the max date", () => { @@ -311,7 +242,7 @@ describe("date_utils", function() { const date1 = newDate("2016-03-30"); const date2 = newDate("2016-04-01"); const includeDates = [date1, date2]; - assert(equals(getEffectiveMaxDate({ maxDate, includeDates }), date1)); + assert(isEqual(getEffectiveMaxDate({ maxDate, includeDates }), date1)); }); }); }); diff --git a/test/datepicker_test.js b/test/datepicker_test.js index b473b49f2..42683b036 100644 --- a/test/datepicker_test.js +++ b/test/datepicker_test.js @@ -7,7 +7,6 @@ import DatePicker from "../src/index.jsx"; import Day from "../src/day"; import TestWrapper from "./test_wrapper.jsx"; import PopperComponent from "../src/popper_component.jsx"; -import TimezoneDatePicker from "./timezone_date_picker.jsx"; import CustomInput from "./helper_components/custom_input.jsx"; import * as utils from "../src/date_utils"; @@ -233,13 +232,15 @@ describe("DatePicker", () => { it("should update the preSelection state when a day is selected with Enter press", () => { var data = getOnInputKeyDownStuff({ shouldCloseOnSelect: false }); var dateInput = data.datePicker.input; + TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); TestUtils.Simulate.keyDown( ReactDOM.findDOMNode(dateInput), getKey("Enter") ); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); - utils.addWeeks(data.copyM, 2); + + data.copyM = utils.addWeeks(data.copyM, 2); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -250,7 +251,7 @@ describe("DatePicker", () => { // ArrowLeft selects the previous month. (On the 1st 2 days of the month.) // On the last week of the month, when the next month includes the current // week, we need monthsShown=1 to prevent today from appearing twice. - const dayOfMonth = utils.getDate(utils.now()); + const dayOfMonth = utils.getDate(utils.newDate()); var data = getOnInputKeyDownStuff({ shouldCloseOnSelect: false, monthsShown: dayOfMonth < 15 ? 2 : 1 @@ -266,7 +267,7 @@ describe("DatePicker", () => { TestUtils.Simulate.click(ReactDOM.findDOMNode(day)); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); - utils.addWeeks(data.copyM, 1); + data.copyM = utils.addWeeks(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -403,9 +404,9 @@ describe("DatePicker", () => { )[0]; TestUtils.Simulate.click(dayButton); - expect(utils.getHour(date)).to.equal(10); - expect(utils.getMinute(date)).to.equal(11); - expect(utils.getSecond(date)).to.equal(12); + expect(utils.getHours(date)).to.equal(10); + expect(utils.getMinutes(date)).to.equal(11); + expect(utils.getSeconds(date)).to.equal(12); }); it("should mount and unmount properly", done => { @@ -477,9 +478,9 @@ describe("DatePicker", () => { function getOnInputKeyDownStuff(opts) { opts = opts || {}; var m = utils.newDate(); - var copyM = utils.cloneDate(m); - var testFormat = "YYYY-MM-DD"; - var exactishFormat = "YYYY-MM-DD HH: ZZ"; + var copyM = utils.newDate(m); + var testFormat = "yyyy-MM-dd"; + var exactishFormat = "yyyy-MM-dd hh: zzzz"; var callback = sandbox.spy(); var onInputErrorCallback = sandbox.spy(); @@ -509,7 +510,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown ArrowLeft", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowLeft")); - utils.subtractDays(data.copyM, 1); + data.copyM = utils.subDays(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -517,7 +518,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown ArrowRight", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowRight")); - utils.addDays(data.copyM, 1); + data.copyM = utils.addDays(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -525,7 +526,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown ArrowUp", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowUp")); - utils.subtractWeeks(data.copyM, 1); + data.copyM = utils.subWeeks(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -533,7 +534,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown ArrowDown", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); - utils.addWeeks(data.copyM, 1); + data.copyM = utils.addWeeks(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -541,7 +542,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown PageUp", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("PageUp")); - utils.subtractMonths(data.copyM, 1); + data.copyM = utils.subMonths(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -549,7 +550,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown PageDown", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("PageDown")); - utils.addMonths(data.copyM, 1); + data.copyM = utils.addMonths(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -557,7 +558,7 @@ describe("DatePicker", () => { it("should handle onInputKeyDown End", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("End")); - utils.addYears(data.copyM, 1); + data.copyM = utils.addYears(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -565,14 +566,14 @@ describe("DatePicker", () => { it("should handle onInputKeyDown Home", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("Home")); - utils.subtractYears(data.copyM, 1); + data.copyM = utils.subYears(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); }); it("should not preSelect date if not between minDate and maxDate", () => { var data = getOnInputKeyDownStuff({ - minDate: utils.subtractDays(utils.newDate(), 1), + minDate: utils.subDays(utils.newDate(), 1), maxDate: utils.addDays(utils.newDate(), 1) }); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); @@ -592,7 +593,7 @@ describe("DatePicker", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowLeft")); TestUtils.Simulate.keyDown(data.nodeInput, getKey("Enter")); - utils.subtractDays(data.copyM, 1); + data.copyM = utils.subDays(data.copyM, 1); expect(data.callback.calledOnce).to.be.true; var result = data.callback.args[0][0]; expect(utils.formatDate(result, data.testFormat)).to.equal( @@ -610,7 +611,7 @@ describe("DatePicker", () => { utils.formatDate(data.callback.args[0][0], data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); }); - it("should not update the selected date if the date input manually it has something wrong", () => { + it("should not update the selected date if the manual date input is invalid", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowDown")); TestUtils.Simulate.keyDown(data.nodeInput, getKey("Backspace")); @@ -623,7 +624,7 @@ describe("DatePicker", () => { }); it("should not select excludeDates", () => { var data = getOnInputKeyDownStuff({ - excludeDates: [utils.subtractDays(utils.newDate(), 1)] + excludeDates: [utils.subDays(utils.newDate(), 1)] }); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowLeft")); TestUtils.Simulate.keyDown(data.nodeInput, getKey("Enter")); @@ -632,8 +633,7 @@ describe("DatePicker", () => { it("should not select dates excluded from filterDate", () => { var data = getOnInputKeyDownStuff({ filterDate: date => - utils.getDay(date) !== - utils.getDay(utils.subtractDays(utils.newDate(), 1)) + utils.getDay(date) !== utils.getDay(utils.subDays(utils.newDate(), 1)) }); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowLeft")); TestUtils.Simulate.keyDown(data.nodeInput, getKey("Enter")); @@ -674,7 +674,7 @@ describe("DatePicker", () => { var data = getOnInputKeyDownStuff(); TestUtils.Simulate.keyDown(data.nodeInput, getKey("ArrowLeft")); data.datePicker.setOpen(true); - utils.subtractDays(data.copyM, 1); + data.copyM = utils.subDays(data.copyM, 1); expect( utils.formatDate(data.datePicker.state.preSelection, data.testFormat) ).to.equal(utils.formatDate(data.copyM, data.testFormat)); @@ -701,7 +701,6 @@ describe("DatePicker", () => { expect(utils.formatDate(selected, data.exactishFormat)).to.equal( utils.formatDate(data.copyM, data.exactishFormat) ); - expect(selected.isLocal()).to.equal(true); }); it("should autofocus the input given the autoFocus prop", () => { @@ -731,8 +730,8 @@ describe("DatePicker", () => { function getOnInputKeyDownDisabledKeyboardNavigationStuff() { var m = utils.newDate(); - var copyM = utils.cloneDate(m); - var testFormat = "YYYY-MM-DD"; + var copyM = utils.newDate(m); + var testFormat = "yyyy-MM-dd"; var callback = sandbox.spy(); var datePicker = TestUtils.renderIntoDocument( @@ -790,7 +789,6 @@ describe("DatePicker", () => { TestUtils.Simulate.keyDown(data.nodeInput, getKey("End")); expect(data.callback.called).to.be.false; }); - it("should correctly clear date with empty input string", () => { var cleared = false; function handleChange(d) { @@ -811,40 +809,6 @@ describe("DatePicker", () => { TestUtils.Simulate.change(input); expect(cleared).to.be.true; }); - it("should correctly update the date input when utcOffset is all that changes on the selected date", () => { - var date = utils.setUTCOffset(utils.newDate("2016-11-22T00:00:00Z"), -6); - var tmzDatePicker = mount(); - tmzDatePicker.setState({ startDate: date, utcOffset: -6 }); - - expect(tmzDatePicker.find("input").prop("value")).to.equal( - "2016-11-21 18:00" - ); - - tmzDatePicker.setState({ - utcOffset: 6, - startDate: utils.setUTCOffset(utils.cloneDate(date), 6) - }); - - expect(tmzDatePicker.find("input").prop("value")).to.equal( - "2016-11-22 06:00" - ); - - // using string offsets - tmzDatePicker.setState({ startDate: date, utcOffset: "-06:00" }); - - expect(tmzDatePicker.find("input").prop("value")).to.equal( - "2016-11-21 18:00" - ); - - tmzDatePicker.setState({ - utcOffset: "+06:00", - startDate: utils.setUTCOffset(utils.cloneDate(date), 6) - }); - - expect(tmzDatePicker.find("input").prop("value")).to.equal( - "2016-11-22 06:00" - ); - }); it("should correctly update the input when the value prop changes", () => { const datePicker = mount(); expect(datePicker.find("input").prop("value")).to.equal(""); @@ -855,7 +819,7 @@ describe("DatePicker", () => { const onChange = date => datePicker.setProps({ selected: date }); const datePicker = mount( ); @@ -873,7 +837,7 @@ describe("DatePicker", () => { ); }); expect( - utils.formatDate(datePicker.prop("selected"), "YYYY-MM-DD") + utils.formatDate(datePicker.prop("selected"), "yyyy-MM-dd") ).to.equal("1982-12-30"); }); it("should invoke provided onChangeRaw function on manual input change", () => { @@ -958,7 +922,7 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("1988-12-30"); }); it("should default to the start date when selecting an end date", () => { @@ -966,7 +930,7 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("1988-11-30"); }); it("should default to the end date when selecting a start date", () => { @@ -974,7 +938,7 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("1988-12-31"); }); it("should default to a date <= maxDate", () => { @@ -982,7 +946,7 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("1982-01-01"); }); it("should default to a date >= minDate", () => { @@ -990,7 +954,7 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("2063-04-05"); }); it("should default to the openToDate if there is one", () => { @@ -998,14 +962,14 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") ).to.equal("2020-01-23"); }); it("should otherwise default to the current date", () => { const datePicker = mount(); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") - ).to.equal(utils.formatDate(utils.newDate(), "YYYY-MM-DD")); + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") + ).to.equal(utils.formatDate(utils.newDate(), "yyyy-MM-dd")); }); it("should support an initial null `selected` value in inline mode", () => { const datePicker = mount(); @@ -1019,24 +983,24 @@ describe("DatePicker", () => { const future = utils.addDays(utils.newDate(), 100); const datePicker = mount(); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") - ).to.equal(utils.formatDate(selected, "YYYY-MM-DD")); + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") + ).to.equal(utils.formatDate(selected, "yyyy-MM-dd")); datePicker.setProps({ selected: future }); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") - ).to.equal(utils.formatDate(future, "YYYY-MM-DD")); + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") + ).to.equal(utils.formatDate(future, "yyyy-MM-dd")); }); it("should switch month in inline mode immediately, when year is updated", () => { const selected = utils.newDate(); const future = utils.addYears(utils.newDate(), 1); const datePicker = mount(); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") - ).to.equal(utils.formatDate(selected, "YYYY-MM-DD")); + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") + ).to.equal(utils.formatDate(selected, "yyyy-MM-dd")); datePicker.setProps({ selected: future }); expect( - utils.formatDate(datePicker.state("preSelection"), "YYYY-MM-DD") - ).to.equal(utils.formatDate(future, "YYYY-MM-DD")); + utils.formatDate(datePicker.state("preSelection"), "yyyy-MM-dd") + ).to.equal(utils.formatDate(future, "yyyy-MM-dd")); }); it("should not switch months in inline mode when a day is clicked", () => { @@ -1045,15 +1009,17 @@ describe("DatePicker", () => { ); expect( - utils.formatDate(datePicker.state.preSelection, "YYYY-MM-DD") - ).to.equal(utils.formatDate(selected, "YYYY-MM-DD")); + utils.formatDate(datePicker.state.preSelection, "yyyy-MM-dd") + ).to.equal(utils.formatDate(selected, "yyyy-MM-dd")); let days = TestUtils.scryRenderedComponentsWithType(datePicker, Day); - let nextMonthDay = days.find(d => d.props.month !== selected.month()); + let nextMonthDay = days.find( + d => d.props.month !== utils.getMonth(selected) + ); TestUtils.Simulate.click(ReactDOM.findDOMNode(nextMonthDay)); expect( - utils.formatDate(datePicker.state.preSelection, "YYYY-MM-DD") - ).to.equal(utils.formatDate(selected, "YYYY-MM-DD")); + utils.formatDate(datePicker.state.preSelection, "yyyy-MM-dd") + ).to.equal(utils.formatDate(selected, "yyyy-MM-dd")); }); it("should not set open state when focusing on the date input and the preventOpenOnFocus prop is set", () => { diff --git a/test/day_test.js b/test/day_test.js index f3ee1799e..1bdf48806 100644 --- a/test/day_test.js +++ b/test/day_test.js @@ -1,95 +1,94 @@ -import React from "react"; -import Day from "../src/day"; -import { shallow } from "enzyme"; +import React from 'react'; +import Day from '../src/day'; +import { shallow } from 'enzyme'; import { getDayOfWeekCode, newDate, getDate, - cloneDate, addDays, - subtractDays, + subDays, getMonth, newDateWithOffset, getHightLightDaysMap -} from "../src/date_utils"; +} from '../src/date_utils'; function renderDay(day, props = {}) { return shallow(); } -describe("Day", () => { - describe("rendering", () => { - it("should render the specified day", () => { +describe('Day', () => { + describe('rendering', () => { + it('should render the specified day', () => { const day = newDate(); const shallowDay = renderDay(day); - expect(shallowDay.hasClass("react-datepicker__day")).to.equal(true); - expect(shallowDay.text()).to.equal(getDate(day) + ""); + expect(shallowDay.hasClass('react-datepicker__day')).to.equal(true); + expect(shallowDay.text()).to.equal(getDate(day) + ''); }); - it("should apply the day of week class", () => { + it('should apply the day of week class', () => { let day = newDate(); for (var i = 0; i < 7; i++) { - const className = "react-datepicker__day--" + getDayOfWeekCode(day); + const className = 'react-datepicker__day--' + getDayOfWeekCode(day); const shallowDay = renderDay(day); expect(shallowDay.hasClass(className)).to.equal(true); - day = addDays(cloneDate(day), 1); + day = addDays(day, 1); } }); - it("should render custom day contents", () => { + it('should render custom day contents', () => { const day = newDate(); function renderDayContents(day) { return {day}; } const shallowDay = renderDay(day, { renderDayContents }); - expect(shallowDay.find("span")); + expect(shallowDay.find('span')); }); }); - describe("selected", () => { - const className = "react-datepicker__day--selected"; + describe('selected', () => { + const className = 'react-datepicker__day--selected'; - it("should apply the selected class if selected", () => { + it('should apply the selected class if selected', () => { const day = newDate(); const shallowDay = renderDay(day, { selected: day }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the selected class if not selected", () => { + it('should not apply the selected class if not selected', () => { const day = newDate(); - const selected = addDays(cloneDate(day), 1); + const selected = addDays(day, 1); const shallowDay = renderDay(day, { selected }); expect(shallowDay.hasClass(className)).to.equal(false); }); }); - describe("keyboard-selected", () => { - const className = "react-datepicker__day--keyboard-selected"; + describe('keyboard-selected', () => { + const className = 'react-datepicker__day--keyboard-selected'; - it("should apply the keyboard-selected class when pre-selected and another day is selected", () => { + it('should apply the keyboard-selected class when pre-selected and another day is selected', () => { const day = newDate(); - const selected = addDays(cloneDate(day), 1); + const selected = addDays(day, 1); const shallowDay = renderDay(day, { selected, preSelection: day }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the keyboard-selected class when selected", () => { + it('should not apply the keyboard-selected class when selected', () => { const day = newDate(); const shallowDay = renderDay(day, { selected: day, preSelection: day }); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should not apply the keyboard-selected class when another day is pre-selected", () => { + it('should not apply the keyboard-selected class when another day is pre-selected', () => { const day = newDate(); - const selected = addDays(cloneDate(day), 1); - const preSelection = addDays(cloneDate(day), 2); + const selected = addDays(day, 1); + const preSelection = addDays(day, 2); const shallowDay = renderDay(day, { selected, preSelection }); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should not apply the keyboard-selected class if in inline mode", () => { + it('should not apply the keyboard-selected class if in inline mode', () => { const day = newDate(); - const selected = addDays(cloneDate(day), 1); + const selected = addDays(day, 1); const shallowDay = renderDay(day, { selected, preSelection: day, @@ -99,91 +98,88 @@ describe("Day", () => { }); }); - describe("highlighted", () => { - const className = "react-datepicker__day--highlighted"; + describe('highlighted', () => { + const className = 'react-datepicker__day--highlighted'; - it("should apply the highlighted class if in highlighted array", () => { + it('should apply the highlighted class if in highlighted array', () => { const day = newDate(); - const highlightDay1 = cloneDate(day); - const highlightDay2 = addDays(cloneDate(day), 1); + const highlightDay1 = newDate(day); + const highlightDay2 = addDays(day, 1); const highlightDates = [highlightDay1, highlightDay2]; const highlightDatesMap = getHightLightDaysMap(highlightDates); const shallowDay = renderDay(day, { highlightDates: highlightDatesMap }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the highlighted class if not in highlighted array", () => { + it('should not apply the highlighted class if not in highlighted array', () => { const day = newDate(); - const highlightDay1 = subtractDays(cloneDate(day), 1); - const highlightDay2 = addDays(cloneDate(day), 1); + const highlightDay1 = subDays(day, 1); + const highlightDay2 = addDays(day, 1); const highlightDates = [highlightDay1, highlightDay2]; const highlightDatesMap = getHightLightDaysMap(highlightDates); const shallowDay = renderDay(day, { highlightDates: highlightDatesMap }); expect(shallowDay.hasClass(className)).to.equal(false); }); - describe("prop is an array of objects with class name as a key and array of moments as a value", () => { - it("should apply the highlighted class if in highlighted", () => { + describe('prop is an array of objects with class name as a key and array of moments as a value', () => { + it('should apply the highlighted class if in highlighted', () => { const day = newDate(); const highlightDay1 = { - testClassName: [addDays(cloneDate(day), 1), cloneDate(day)] + testClassName: [addDays(day, 1), newDate(day)] }; - const highlightDay2 = addDays(cloneDate(day), 2); - const highlightDay3 = addDays(cloneDate(day), 3); + const highlightDay2 = addDays(day, 2); + const highlightDay3 = addDays(day, 3); const highlightDates = [highlightDay1, highlightDay2, highlightDay3]; const highlightDatesMap = getHightLightDaysMap(highlightDates); const shallowDay = renderDay(day, { highlightDates: highlightDatesMap }); - expect(shallowDay.hasClass("testClassName")).to.equal(true); + expect(shallowDay.hasClass('testClassName')).to.equal(true); }); - it("should not apply the highlighted class if not in highlighted array", () => { + it('should not apply the highlighted class if not in highlighted array', () => { const day = newDate(); const highlightDay1 = { - testClassName: [ - addDays(cloneDate(day), 1), - addDays(cloneDate(day), 2) - ] + testClassName: [addDays(day, 1), addDays(day, 2)] }; - const highlightDay2 = addDays(cloneDate(day), 3); - const highlightDay3 = addDays(cloneDate(day), 4); + const highlightDay2 = addDays(day, 3); + const highlightDay3 = addDays(day, 4); const highlightDates = [highlightDay1, highlightDay2, highlightDay3]; const highlightDatesMap = getHightLightDaysMap(highlightDates); const shallowDay = renderDay(day, { highlightDates: highlightDatesMap }); - expect(shallowDay.hasClass("testClassName")).to.equal(false); + expect(shallowDay.hasClass('testClassName')).to.equal(false); }); - it("should apply the highlighted classes even if the same day in highlighted array", () => { + it('should apply the highlighted classes even if the same day in highlighted array', () => { const day = newDate(); - const highlightDay1 = { fooClassName: [cloneDate(day)] }; - const highlightDay2 = { barClassName: [cloneDate(day)] }; - const highlightDay3 = cloneDate(day); + const highlightDay1 = { fooClassName: [newDate(day)] }; + const highlightDay2 = { barClassName: [newDate(day)] }; + const highlightDay3 = newDate(day); const highlightDates = [highlightDay1, highlightDay2, highlightDay3]; const highlightDatesMap = getHightLightDaysMap(highlightDates); const shallowDay = renderDay(day, { highlightDates: highlightDatesMap }); - expect(shallowDay.hasClass("fooClassName")).to.equal(true); - expect(shallowDay.hasClass("barClassName")).to.equal(true); + expect(shallowDay.hasClass('fooClassName')).to.equal(true); + expect(shallowDay.hasClass('barClassName')).to.equal(true); expect(shallowDay.hasClass(className)).to.equal(true); }); }); }); - describe("custom day className", () => { - const className = "customClassName"; + describe('custom day className', () => { + const className = 'customClassName'; - it("should apply className returned from passed dayClassName prop function", () => { + it('should apply className returned from passed dayClassName prop function', () => { const day = newDate(); const dayClassNameFunc = date => className; const shallowDay = renderDay(day, { dayClassName: dayClassNameFunc }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should pass rendered days date to dayClassName func", () => { + it('should pass rendered days date to dayClassName func', () => { const day = newDate(); const dayClassNameFunc = date => { expect(date).to.equal(day); @@ -193,93 +189,93 @@ describe("Day", () => { expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not add any additional className when passed dayClassName prop function returns undefined", () => { + it('should not add any additional className when passed dayClassName prop function returns undefined', () => { const day = newDate(); const dayClassNameFunc = date => undefined; const shallowDay = renderDay(day, { dayClassName: dayClassNameFunc }); expect(shallowDay.hasClass(className)).to.equal(false); - expect(shallowDay.hasClass("undefined")).to.equal(false); + expect(shallowDay.hasClass('undefined')).to.equal(false); }); - it("should not add any additional className when dayClassName prop is not passed", () => { + it('should not add any additional className when dayClassName prop is not passed', () => { const day = newDate(); const shallowDay = renderDay(day); expect(shallowDay.hasClass(className)).to.equal(false); - expect(shallowDay.hasClass("undefined")).to.equal(false); + expect(shallowDay.hasClass('undefined')).to.equal(false); }); }); - describe("in range", () => { - const className = "react-datepicker__day--in-range"; + describe('in range', () => { + const className = 'react-datepicker__day--in-range'; - it("should apply the in-range class if in range", () => { + it('should apply the in-range class if in range', () => { const day = newDate(); - const startDate = subtractDays(cloneDate(day), 1); - const endDate = addDays(cloneDate(day), 1); + const startDate = subDays(day, 1); + const endDate = addDays(day, 1); const shallowDay = renderDay(day, { startDate, endDate }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the in-range class if not in range", () => { + it('should not apply the in-range class if not in range', () => { const day = newDate(); - const startDate = addDays(cloneDate(day), 1); - const endDate = addDays(cloneDate(day), 2); + const startDate = addDays(day, 1); + const endDate = addDays(day, 2); const shallowDay = renderDay(day, { startDate, endDate }); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should apply the in-range class if equal to start date", () => { + it('should apply the in-range class if equal to start date', () => { const day = newDate(); - const startDate = cloneDate(day); - const endDate = addDays(cloneDate(day), 1); + const startDate = newDate(day); + const endDate = addDays(day, 1); const shallowDay = renderDay(day, { startDate, endDate }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should apply the in-range class if equal to end date", () => { + it('should apply the in-range class if equal to end date', () => { const day = newDate(); - const startDate = subtractDays(cloneDate(day), 1); - const endDate = cloneDate(day); + const startDate = subDays(day, 1); + const endDate = newDate(day); const shallowDay = renderDay(day, { startDate, endDate }); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the in-range class if start date missing", () => { + it('should not apply the in-range class if start date missing', () => { const day = newDate(); - const startDate = subtractDays(cloneDate(day), 1); + const startDate = subDays(day, 1); const shallowDay = renderDay(day, { startDate }); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should not apply the in-range class if end date missing", () => { + it('should not apply the in-range class if end date missing', () => { const day = newDate(); - const endDate = addDays(cloneDate(day), 1); + const endDate = addDays(day, 1); const shallowDay = renderDay(day, { endDate }); expect(shallowDay.hasClass(className)).to.equal(false); }); }); - describe("in selecting range", () => { - const rangeDayClassName = "react-datepicker__day--in-selecting-range"; + describe('in selecting range', () => { + const rangeDayClassName = 'react-datepicker__day--in-selecting-range'; const rangeDayStartClassName = - "react-datepicker__day--selecting-range-start"; - const rangeDayEndClassName = "react-datepicker__day--selecting-range-end"; + 'react-datepicker__day--selecting-range-start'; + const rangeDayEndClassName = 'react-datepicker__day--selecting-range-end'; function createDateRange(beforeDays, afterDays, day = newDate()) { return { - startDate: subtractDays(cloneDate(day), beforeDays), - endDate: addDays(cloneDate(day), afterDays), + startDate: subDays(day, beforeDays), + endDate: addDays(day, afterDays), day }; } - describe("for a start date picker", () => { - it("should highlight for dates before the end date", () => { + describe('for a start date picker', () => { + it('should highlight for dates before the end date', () => { const { startDate, endDate } = createDateRange(-1, 1); // All these should highlight: today, yesterday (startDate), the day before for (let daysFromEnd = 1; daysFromEnd <= 3; daysFromEnd++) { - const selectingDate = subtractDays(cloneDate(endDate), daysFromEnd); + const selectingDate = subDays(endDate, daysFromEnd); const shallowDay = renderDay(selectingDate, { startDate, endDate, @@ -290,10 +286,10 @@ describe("Day", () => { } }); - it("should have a class if it is a start or end date", () => { + it('should have a class if it is a start or end date', () => { const endDate = newDate(); - const midRangeDate = subtractDays(cloneDate(endDate), 1); - const selectingDate = subtractDays(cloneDate(endDate), 2); + const midRangeDate = subDays(endDate, 1); + const selectingDate = subDays(endDate, 2); const shallowStartDay = renderDay(selectingDate, { endDate, @@ -318,9 +314,9 @@ describe("Day", () => { expect(shallowEndDay.hasClass(rangeDayEndClassName)).to.be.true; }); - it("should not highlight for days after the end date", () => { + it('should not highlight for days after the end date', () => { const { day, startDate, endDate } = createDateRange(-1, 1); - const selectingDate = addDays(cloneDate(endDate), 1); + const selectingDate = addDays(endDate, 1); const shallowDay = renderDay(day, { startDate, endDate, @@ -330,9 +326,9 @@ describe("Day", () => { expect(shallowDay.hasClass(rangeDayClassName)).to.be.false; }); - it("should not highlight if there is no end date selected", () => { + it('should not highlight if there is no end date selected', () => { const startDate = newDate(); - const selectingDate = subtractDays(cloneDate(startDate), 1); + const selectingDate = subDays(startDate, 1); const shallowDay = renderDay(selectingDate, { startDate, selectingDate, @@ -341,9 +337,9 @@ describe("Day", () => { expect(shallowDay.hasClass(rangeDayClassName)).to.be.false; }); - it("should not highlight for disabled dates", () => { + it('should not highlight for disabled dates', () => { const endDate = newDate(); - const selectingDate = subtractDays(cloneDate(endDate), 1); + const selectingDate = subDays(endDate, 1); const shallowDay = renderDay(selectingDate, { selectingDate, endDate, @@ -354,13 +350,13 @@ describe("Day", () => { }); }); - describe("for an end date picker", () => { - it("should highlight for dates after the start date", () => { + describe('for an end date picker', () => { + it('should highlight for dates after the start date', () => { const { startDate, endDate } = createDateRange(-1, 1); // All these should highlight: today, tomorrow (endDate), the day after for (let daysFromStart = 1; daysFromStart <= 3; daysFromStart++) { - const day = addDays(cloneDate(startDate), daysFromStart); + const day = addDays(startDate, daysFromStart); const shallowDay = renderDay(day, { startDate, endDate, @@ -371,10 +367,10 @@ describe("Day", () => { } }); - it("should have a class if it is a start or end date", () => { + it('should have a class if it is a start or end date', () => { const startDate = newDate(); - const midRangeDate = addDays(cloneDate(startDate), 1); - const selectingDate = addDays(cloneDate(startDate), 2); + const midRangeDate = addDays(startDate, 1); + const selectingDate = addDays(startDate, 2); const shallowStartDay = renderDay(startDate, { startDate, @@ -399,9 +395,9 @@ describe("Day", () => { expect(shallowEndDay.hasClass(rangeDayEndClassName)).to.be.true; }); - it("should not highlight for days before the start date", () => { + it('should not highlight for days before the start date', () => { const startDate = newDate(); - const selectingDate = subtractDays(cloneDate(startDate), 1); + const selectingDate = subDays(startDate, 1); const shallowDay = renderDay(selectingDate, { startDate, selectingDate, @@ -410,9 +406,9 @@ describe("Day", () => { expect(shallowDay.hasClass(rangeDayClassName)).to.be.false; }); - it("should not highlight if there is no start date selected", () => { + it('should not highlight if there is no start date selected', () => { const { day, endDate } = createDateRange(-1, 1); - const selectingDate = addDays(cloneDate(endDate), 1); + const selectingDate = addDays(endDate, 1); const shallowDay = renderDay(day, { endDate, selectingDate, @@ -421,9 +417,9 @@ describe("Day", () => { expect(shallowDay.hasClass(rangeDayClassName)).to.be.false; }); - it("should not highlight for disabled dates", () => { + it('should not highlight for disabled dates', () => { const startDate = newDate(); - const selectingDate = addDays(cloneDate(startDate), 1); + const selectingDate = addDays(startDate, 1); const shallowDay = renderDay(selectingDate, { startDate, selectingDate, @@ -435,76 +431,71 @@ describe("Day", () => { }); }); - describe("today", () => { - const className = "react-datepicker__day--today"; + describe('today', () => { + const className = 'react-datepicker__day--today'; - it("should apply the today class if today", () => { + it('should apply the today class if today', () => { const shallowDay = renderDay(newDate()); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the today class if not today", () => { + it('should not apply the today class if not today', () => { const shallowDay = renderDay(addDays(newDate(), 1)); expect(shallowDay.hasClass(className)).to.equal(false); }); - - it("should apply the today class if custom utcOffset is provided", () => { - const shallowDay = renderDay(newDateWithOffset(720)); - expect(shallowDay.hasClass(className)).to.equal(true); - }); }); - describe("weekend", () => { - const className = "react-datepicker__day--weekend"; + describe('weekend', () => { + const className = 'react-datepicker__day--weekend'; - it("should apply the weekend class if Saturday", () => { - const shallowDay = renderDay(newDate("2015-12-19")); + it('should apply the weekend class if Saturday', () => { + const shallowDay = renderDay(newDate('2015-12-19')); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should apply the weekend class if Sunday", () => { - const shallowDay = renderDay(newDate("2015-12-20")); + it('should apply the weekend class if Sunday', () => { + const shallowDay = renderDay(newDate('2015-12-20')); expect(shallowDay.hasClass(className)).to.equal(true); }); - it("should not apply the today class if not the weekend", () => { - const shallowDay = renderDay(newDate("2015-12-21")); + it('should not apply the today class if not the weekend', () => { + const shallowDay = renderDay(newDate('2015-12-21')); expect(shallowDay.hasClass(className)).to.equal(false); }); }); - describe("outside month", () => { - const className = "react-datepicker__day--outside-month"; + describe('outside month', () => { + const className = 'react-datepicker__day--outside-month'; - it("should not apply the outside-month class if in same month", () => { + it('should not apply the outside-month class if in same month', () => { const day = newDate(); const shallowDay = renderDay(day, { month: getMonth(day) }); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should apply the outside-month class if not in same month", () => { + it('should apply the outside-month class if not in same month', () => { const day = newDate(); const shallowDay = renderDay(day, { month: getMonth(day) + 1 }); expect(shallowDay.hasClass(className)).to.equal(true); }); }); - describe("disabled", () => { - const className = "react-datepicker__day--disabled"; + describe('disabled', () => { + const className = 'react-datepicker__day--disabled'; - it("should be enabled if date is enabled", () => { + it('should be enabled if date is enabled', () => { const shallowDay = renderDay(newDate()); expect(shallowDay.hasClass(className)).to.equal(false); }); - it("should be disabled if date is disabled", () => { + it('should be disabled if date is disabled', () => { const day = newDate(); const shallowDay = renderDay(day, { excludeDates: [day] }); expect(shallowDay.hasClass(className)).to.equal(true); }); }); - describe("click", () => { + describe('click', () => { var onClickCalled; function onClick() { @@ -515,24 +506,24 @@ describe("Day", () => { onClickCalled = false; }); - it("should call onClick if day is enabled", () => { + it('should call onClick if day is enabled', () => { const day = newDate(); const dayNode = shallow(); - dayNode.find(".react-datepicker__day").simulate("click"); + dayNode.find('.react-datepicker__day').simulate('click'); expect(onClickCalled).to.be.true; }); - it("should not call onClick if day is disabled", () => { + it('should not call onClick if day is disabled', () => { const day = newDate(); const dayNode = shallow( ); - dayNode.find(".react-datepicker__day").simulate("click"); + dayNode.find('.react-datepicker__day').simulate('click'); expect(onClickCalled).to.be.false; }); }); - describe("mouse enter", () => { + describe('mouse enter', () => { var onMouseEnterCalled; function onMouseEnter() { @@ -543,9 +534,9 @@ describe("Day", () => { onMouseEnterCalled = false; }); - it("should call onMouseEnter if day is hovered", () => { + it('should call onMouseEnter if day is hovered', () => { const shallowDay = renderDay(newDate(), { onMouseEnter }); - shallowDay.find(".react-datepicker__day").simulate("mouseenter"); + shallowDay.find('.react-datepicker__day').simulate('mouseenter'); expect(onMouseEnterCalled).to.be.true; }); }); diff --git a/test/exclude_time_period_test.js b/test/exclude_time_period_test.js index 045321ade..90fecf672 100644 --- a/test/exclude_time_period_test.js +++ b/test/exclude_time_period_test.js @@ -21,8 +21,8 @@ describe("DatePicker", () => { showTimeSelect selected={now} onChange={() => null} - minTime={utils.setTime(utils.cloneDate(now), { hours: 17, minutes: 0 })} - maxTime={utils.setTime(utils.cloneDate(now), { hours: 18, minutes: 0 })} + minTime={utils.setTime(now, { hours: 17, minutes: 0 })} + maxTime={utils.setTime(now, { hours: 18, minutes: 0 })} /> ); var times = datePicker.find("li.react-datepicker__time-list-item"); diff --git a/test/exclude_times_test.js b/test/exclude_times_test.js index ff1a0a387..dcf37477a 100644 --- a/test/exclude_times_test.js +++ b/test/exclude_times_test.js @@ -1,12 +1,8 @@ import React from "react"; import { mount } from "enzyme"; -import { setTime, cloneDate, newDate } from "../src/date_utils"; +import { setTime, newDate } from "../src/date_utils"; import DatePicker from "../src/index.jsx"; -function cloneDateWithTime(date, time) { - return setTime(cloneDate(date), time); -} - describe("DatePicker", () => { let sandbox; @@ -24,10 +20,10 @@ describe("DatePicker", () => { ); diff --git a/test/helper_components/custom_input.jsx b/test/helper_components/custom_input.jsx index 4064b35d0..7e3a6e87e 100644 --- a/test/helper_components/custom_input.jsx +++ b/test/helper_components/custom_input.jsx @@ -1,25 +1,25 @@ -import React from "react"; -import PropTypes from "prop-types"; +import React from 'react'; +import PropTypes from 'prop-types'; class CustomInput extends React.Component { - onChange(e) { - var args = [e, e.target.value]; - if (this.props.onChangeArgs) { - args = this.props.onChangeArgs(e); - } - this.props.onChange.apply(this, args); + onChange(e) { + var args = [e, e.target.value]; + if (this.props.onChangeArgs) { + args = this.props.onChangeArgs(e); } + this.props.onChange.apply(this, args); + } - render() { - let { ...props } = this.props; - delete props.onChangeArgs; - return - } + render() { + let { ...props } = this.props; + delete props.onChangeArgs; + return ; + } } CustomInput.propTypes = { - onChange: PropTypes.func, - onChangeArgs: PropTypes.func + onChange: PropTypes.func, + onChangeArgs: PropTypes.func }; -export default CustomInput; \ No newline at end of file +export default CustomInput; diff --git a/test/include_times_test.js b/test/include_times_test.js index 41f5c6417..79ede1904 100644 --- a/test/include_times_test.js +++ b/test/include_times_test.js @@ -1,13 +1,9 @@ import React from "react"; import { mount } from "enzyme"; import * as utils from "../src/date_utils"; -import { setTime, cloneDate, newDate } from "../src/date_utils"; +import { setTime, newDate } from "../src/date_utils"; import TimeComponent from "../src/time"; -function cloneDateWithTime(date, time) { - return setTime(cloneDate(date), time); -} - describe("TimeComponent", () => { let sandbox; @@ -24,9 +20,9 @@ describe("TimeComponent", () => { const timeComponent = mount( ); diff --git a/test/inject_times_test.js b/test/inject_times_test.js index c40311cb9..993d6d9d1 100644 --- a/test/inject_times_test.js +++ b/test/inject_times_test.js @@ -1,13 +1,9 @@ import React from "react"; import { mount } from "enzyme"; import * as utils from "../src/date_utils"; -import { setTime, cloneDate, newDate } from "../src/date_utils"; +import { setTime, newDate } from "../src/date_utils"; import TimeComponent from "../src/time"; -function cloneDateWithTime(date, time) { - return setTime(cloneDate(date), time); -} - describe("TimeComponent", () => { let sandbox; @@ -24,9 +20,9 @@ describe("TimeComponent", () => { const timeComponent = mount( ); @@ -43,9 +39,9 @@ describe("TimeComponent", () => { ); @@ -62,9 +58,9 @@ describe("TimeComponent", () => { ); @@ -81,9 +77,9 @@ describe("TimeComponent", () => { ); diff --git a/test/month_dropdown_test.js b/test/month_dropdown_test.js index 440749b3f..d76b4b147 100644 --- a/test/month_dropdown_test.js +++ b/test/month_dropdown_test.js @@ -1,15 +1,14 @@ -import React from "react"; -import range from "lodash/range"; -import MonthDropdown from "../src/month_dropdown.jsx"; -import MonthDropdownOptions from "../src/month_dropdown_options.jsx"; -import { mount } from "enzyme"; -import { - newDate, - getMonthInLocale, - getDefaultLocaleData -} from "../src/date_utils"; - -describe("MonthDropdown", () => { +import React from 'react'; +import range from 'lodash/range'; +import MonthDropdown from '../src/month_dropdown.jsx'; +import MonthDropdownOptions from '../src/month_dropdown_options.jsx'; +import { mount } from 'enzyme'; +import { newDate, getMonthInLocale, registerLocale } from '../src/date_utils'; +import zh_cn from 'date-fns/locale/zh-CN'; +import el from 'date-fns/locale/el'; +import ru from 'date-fns/locale/ru'; + +describe('MonthDropdown', () => { let monthDropdown; let handleChangeResult; const mockHandleChange = function(changeInput) { @@ -18,12 +17,10 @@ describe("MonthDropdown", () => { let sandbox; function getMonthDropdown(overrideProps) { - const dateFormatCalendar = "MMMM YYYY"; return mount( @@ -39,38 +36,36 @@ describe("MonthDropdown", () => { sandbox.restore(); }); - describe("scroll mode", () => { + describe('scroll mode', () => { beforeEach(function() { monthDropdown = getMonthDropdown(); }); - it("shows the selected yonth in the initial view", () => { - expect(monthDropdown.text()).to.contain("December"); + it('shows the selected yonth in the initial view', () => { + expect(monthDropdown.text()).to.contain('December'); }); - it("opens a list when read view is clicked", () => { + it('opens a list when read view is clicked', () => { monthDropdown - .find(".react-datepicker__month-read-view") - .simulate("click"); + .find('.react-datepicker__month-read-view') + .simulate('click'); var optionsView = monthDropdown.find(MonthDropdownOptions); expect(optionsView).to.exist; }); - it("closes the dropdown when a month is clicked", () => { + it('closes the dropdown when a month is clicked', () => { monthDropdown - .find(".react-datepicker__month-read-view") - .simulate("click"); + .find('.react-datepicker__month-read-view') + .simulate('click'); monthDropdown - .find(".react-datepicker__month-option") + .find('.react-datepicker__month-option') .at(1) - .simulate("click"); + .simulate('click'); expect(monthDropdown.find(MonthDropdownOptions)).to.have.length(0); }); - it("closes the dropdown if outside is clicked", () => { - const monthNames = range(0, 12).map(M => - getMonthInLocale(getDefaultLocaleData(), newDate({ M })) - ); + it('closes the dropdown if outside is clicked', () => { + const monthNames = range(0, 12).map(M => getMonthInLocale(M)); const onCancelSpy = sandbox.spy(); const monthDropdownOptionsInstance = mount( { expect(onCancelSpy.calledOnce).to.be.true; }); - it("does not call the supplied onChange function when the same month is clicked", () => { + it('does not call the supplied onChange function when the same month is clicked', () => { monthDropdown - .find(".react-datepicker__month-read-view") - .simulate("click"); + .find('.react-datepicker__month-read-view') + .simulate('click'); monthDropdown - .find(".react-datepicker__month-option") + .find('.react-datepicker__month-option') .at(11) - .simulate("click"); + .simulate('click'); expect(handleChangeResult).to.be.null; }); - it("calls the supplied onChange function when a different month is clicked", () => { + it('calls the supplied onChange function when a different month is clicked', () => { monthDropdown - .find(".react-datepicker__month-read-view") - .simulate("click"); + .find('.react-datepicker__month-read-view') + .simulate('click'); monthDropdown - .find(".react-datepicker__month-option") + .find('.react-datepicker__month-option') .at(2) - .simulate("click"); + .simulate('click'); expect(handleChangeResult).to.eq(2); }); - it("should use dateFormat property to determine nominative or genitive display of month names", () => { - let dropdownDateFormat = getMonthDropdown({ dateFormat: "DD/MM/YYYY" }); - expect(dropdownDateFormat.text()).to.contain("December"); + it('should use locale stand-alone formatting to display month names', () => { + registerLocale('el', el); + registerLocale('ru', ru); - dropdownDateFormat = getMonthDropdown({ locale: "el" }); - expect(dropdownDateFormat.text()).to.contain("Δεκέμβριος"); - dropdownDateFormat = getMonthDropdown({ - locale: "el", - showMonthDropwdown: true - }); - expect(dropdownDateFormat.text()).to.contain("Δεκέμβριος"); + let dropdownDateFormat = getMonthDropdown(); + expect(dropdownDateFormat.text()).to.contain('December'); - dropdownDateFormat = getMonthDropdown({ - dateFormat: "DMMMMYYYY", - locale: "el" - }); - expect(dropdownDateFormat.text()).to.contain("Δεκεμβρίου"); - dropdownDateFormat = getMonthDropdown({ - dateFormat: "DMMMMYYYY", - locale: "el", - showMonthDropwdown: true - }); - expect(dropdownDateFormat.text()).to.contain("Δεκεμβρίου"); + dropdownDateFormat = getMonthDropdown({ locale: 'el' }); + expect(dropdownDateFormat.text()).to.contain('Δεκέμβριος'); + + dropdownDateFormat = getMonthDropdown({ locale: 'ru' }); + expect(dropdownDateFormat.text()).to.contain('декабрь'); }); }); - describe("select mode", () => { - it("renders a select", () => { - monthDropdown = getMonthDropdown({ dropdownMode: "select" }); - var select = monthDropdown.find(".react-datepicker__month-select"); + describe('select mode', () => { + it('renders a select', () => { + monthDropdown = getMonthDropdown({ dropdownMode: 'select' }); + var select = monthDropdown.find('.react-datepicker__month-select'); expect(select).to.have.length(1); - expect(select.prop("value")).to.eq(11); - var options = select.find("option"); - expect(options.map(o => o.prop("value"))).to.eql(range(0, 12)); + expect(select.prop('value')).to.eq(11); + var options = select.find('option'); + expect(options.map(o => o.prop('value'))).to.eql(range(0, 12)); }); - it("renders month options with default locale", () => { - monthDropdown = getMonthDropdown({ dropdownMode: "select" }); - var options = monthDropdown.find("option"); + it('renders month options with default locale', () => { + monthDropdown = getMonthDropdown({ dropdownMode: 'select' }); + var options = monthDropdown.find('option'); expect(options.map(o => o.text())).to.eql([ - "January", - "February", - "March", - "April", - "May", - "June", - "July", - "August", - "September", - "October", - "November", - "December" + 'January', + 'February', + 'March', + 'April', + 'May', + 'June', + 'July', + 'August', + 'September', + 'October', + 'November', + 'December' ]); }); // Short Month Names - it("renders month options with short name and default locale", () => { + it('renders month options with short name and default locale', () => { monthDropdown = getMonthDropdown({ - dropdownMode: "select", + dropdownMode: 'select', useShortMonthInDropdown: true }); - var options = monthDropdown.find("option"); + var options = monthDropdown.find('option'); expect(options.map(o => o.text())).to.eql([ - "Jan", - "Feb", - "Mar", - "Apr", - "May", - "Jun", - "Jul", - "Aug", - "Sep", - "Oct", - "Nov", - "Dec" + 'Jan', + 'Feb', + 'Mar', + 'Apr', + 'May', + 'Jun', + 'Jul', + 'Aug', + 'Sep', + 'Oct', + 'Nov', + 'Dec' ]); }); // Failing on Travis CI. - it("renders month options with specified locale", () => { + it('renders month options with specified locale', () => { + registerLocale('zh-cn', zh_cn); monthDropdown = getMonthDropdown({ - dropdownMode: "select", - locale: "zh-cn" + dropdownMode: 'select', + locale: 'zh-cn' }); - var options = monthDropdown.find("option"); + var options = monthDropdown.find('option'); expect(options.map(o => o.text())).to.eql([ - "一月", - "二月", - "三月", - "四月", - "五月", - "六月", - "七月", - "八月", - "九月", - "十月", - "十一月", - "十二月" + '一月', + '二月', + '三月', + '四月', + '五月', + '六月', + '七月', + '八月', + '九月', + '十月', + '十一月', + '十二月' ]); }); - it("does not call the supplied onChange function when the same month is clicked", () => { - monthDropdown = getMonthDropdown({ dropdownMode: "select", month: 11 }); - var select = monthDropdown.find(".react-datepicker__month-select"); - select.simulate("change", { target: { value: 11 } }); + it('does not call the supplied onChange function when the same month is clicked', () => { + monthDropdown = getMonthDropdown({ dropdownMode: 'select', month: 11 }); + var select = monthDropdown.find('.react-datepicker__month-select'); + select.simulate('change', { target: { value: 11 } }); expect(handleChangeResult).to.not.exist; }); - it("calls the supplied onChange function when a different month is clicked", () => { - monthDropdown = getMonthDropdown({ dropdownMode: "select", month: 11 }); - var select = monthDropdown.find(".react-datepicker__month-select"); - select.simulate("change", { target: { value: 9 } }); + it('calls the supplied onChange function when a different month is clicked', () => { + monthDropdown = getMonthDropdown({ dropdownMode: 'select', month: 11 }); + var select = monthDropdown.find('.react-datepicker__month-select'); + select.simulate('change', { target: { value: 9 } }); expect(handleChangeResult).to.equal(9); }); }); diff --git a/test/month_test.js b/test/month_test.js index 109a198fe..daf710715 100644 --- a/test/month_test.js +++ b/test/month_test.js @@ -13,13 +13,13 @@ describe("Month", () => { expect(days).to.have.length(dayCount); range(0, dayCount).forEach(offset => { const day = days.get(offset); - const expectedDay = utils.addDays(utils.cloneDate(start), offset); + const expectedDay = utils.addDays(start, offset); assert( utils.isSameDay(day.props.day, expectedDay), - `Day ${offset % 7 + 1} ` + + `Day ${(offset % 7) + 1} ` + `of week ${Math.floor(offset / 7) + 1} ` + - `should be "${utils.formatDate(expectedDay, "YYYY-MM-DD")}" ` + - `but it is "${utils.formatDate(day.props.day, "YYYY-MM-DD")}"` + `should be "${utils.formatDate(expectedDay, "yyyy-MM-dd")}" ` + + `but it is "${utils.formatDate(day.props.day, "yyyy-MM-dd")}"` ); }); } @@ -45,8 +45,8 @@ describe("Month", () => { assertDateRangeInclusive( mount(), - utils.getStartOfWeek(utils.cloneDate(monthStart)), - utils.getEndOfWeek(utils.getEndOfMonth(utils.cloneDate(monthStart))) + utils.getStartOfWeek(monthStart), + utils.getEndOfWeek(utils.getEndOfMonth(monthStart)) ); }); @@ -55,32 +55,30 @@ describe("Month", () => { assertDateRangeInclusive( mount(), - utils.getStartOfWeek(utils.cloneDate(monthStart)), - utils.getEndOfWeek( - utils.addWeeks(utils.addMonths(utils.cloneDate(monthStart), 1), 1) - ) + utils.getStartOfWeek(monthStart), + utils.getEndOfWeek(utils.addWeeks(utils.addMonths(monthStart, 1), 1)) ); }); it("should render a calendar of fixed height", () => { const monthStart = utils.newDate("2016-11-01"); - const calendarStart = utils.getStartOfWeek(utils.cloneDate(monthStart)); + const calendarStart = utils.getStartOfWeek(monthStart); assertDateRangeInclusive( mount(), calendarStart, - utils.getEndOfWeek(utils.addWeeks(utils.cloneDate(calendarStart), 5)) + utils.getEndOfWeek(utils.addWeeks(calendarStart, 5)) ); }); it("should render a calendar of fixed height with peeking", () => { const monthStart = utils.newDate("2016-11-01"); - const calendarStart = utils.getStartOfWeek(utils.cloneDate(monthStart)); + const calendarStart = utils.getStartOfWeek(monthStart); assertDateRangeInclusive( mount(), calendarStart, - utils.getEndOfWeek(utils.addWeeks(utils.cloneDate(calendarStart), 6)) + utils.getEndOfWeek(utils.addWeeks(calendarStart, 6)) ); }); diff --git a/test/month_year_dropdown_test.js b/test/month_year_dropdown_test.js index 0189ff9e1..ec508c583 100644 --- a/test/month_year_dropdown_test.js +++ b/test/month_year_dropdown_test.js @@ -5,11 +5,12 @@ import { mount } from "enzyme"; import { newDate, addMonths, - subtractMonths, + subMonths, formatDate, - cloneDate, - isAfter + isAfter, + registerLocale } from "../src/date_utils"; +import fi from "date-fns/locale/fi"; describe("MonthYearDropdown", () => { let monthYearDropdown; @@ -20,7 +21,7 @@ describe("MonthYearDropdown", () => { let sandbox; function getMonthYearDropdown(overrideProps) { - const dateFormatCalendar = "MMMM YYYY"; + const dateFormatCalendar = "LLLL yyyy"; const date = newDate("2018-01"); const minDate = newDate("2017-07-01"); const maxDate = newDate("2018-06-30"); @@ -55,7 +56,7 @@ describe("MonthYearDropdown", () => { }); it("shows the selected month year in the initial view", () => { - const selected_month_year_name = formatDate(selectedDate, "MMMM YYYY"); + const selected_month_year_name = formatDate(selectedDate, "LLLL yyyy"); expect(monthYearDropdown.text()).to.contain(selected_month_year_name); }); @@ -82,7 +83,7 @@ describe("MonthYearDropdown", () => { it("closes the dropdown if outside is clicked", () => { const date = newDate(); - const dateFormatCalendar = "MMMM YYYY"; + const dateFormatCalendar = "LLLL yyyy"; const onCancelSpy = sandbox.spy(); const monthYearDropdownOptionsInstance = mount( @@ -91,8 +92,8 @@ describe("MonthYearDropdown", () => { onChange={sandbox.spy()} dateFormat={dateFormatCalendar} date={date} - minDate={subtractMonths(cloneDate(date), 6)} - maxDate={addMonths(cloneDate(date), 6)} + minDate={subMonths(date, 6)} + maxDate={addMonths(date, 6)} /> ).instance(); monthYearDropdownOptionsInstance.handleClickOutside(); @@ -126,8 +127,9 @@ describe("MonthYearDropdown", () => { }); it("should use dateFormat to display date in dropdown", () => { + registerLocale("fi", fi); let dropdownDateFormat = getMonthYearDropdown({ - dateFormat: "MMMM YYYY" + dateFormat: "LLLL yyyy" }); expect(dropdownDateFormat.text()).to.eq("January 2018"); @@ -138,19 +140,19 @@ describe("MonthYearDropdown", () => { dropdownDateFormat = getMonthYearDropdown({ locale: "fi", - showMonthYearDropwdown: true + showMonthYearDropdown: true }); expect(dropdownDateFormat.text()).to.eq("tammikuu 2018"); dropdownDateFormat = getMonthYearDropdown({ - dateFormat: "YYYY MMM", + dateFormat: "yyyy LLL", locale: "fi" }); expect(dropdownDateFormat.text()).to.eq("2018 tammi"); dropdownDateFormat = getMonthYearDropdown({ - dateFormat: "YYYY MMM", + dateFormat: "yyyy LLL", locale: "fi", - showMonthYearDropwdown: true + showMonthYearDropdown: true }); expect(dropdownDateFormat.text()).to.eq("2018 tammi"); }); @@ -159,7 +161,7 @@ describe("MonthYearDropdown", () => { describe("select mode", () => { it("renders a select", () => { const expected_date = newDate("2018-01"); - const currentMonth = newDate("2017-07"); + let currentMonth = newDate("2017-07"); const maxMonth = newDate("2018-06"); const expected_values = []; @@ -167,7 +169,7 @@ describe("MonthYearDropdown", () => { while (!isAfter(currentMonth, maxMonth)) { expected_values.push(currentMonth.valueOf()); - addMonths(currentMonth, 1); + currentMonth = addMonths(currentMonth, 1); } monthYearDropdown = getMonthYearDropdown({ dropdownMode: "select" }); @@ -201,6 +203,7 @@ describe("MonthYearDropdown", () => { }); it("renders month options with specified locale", () => { + registerLocale("fi", fi); monthYearDropdown = getMonthYearDropdown({ dropdownMode: "select", locale: "fi" diff --git a/test/multi_month_test.js b/test/multi_month_test.js index f4f0fb213..f090e9d71 100644 --- a/test/multi_month_test.js +++ b/test/multi_month_test.js @@ -5,7 +5,7 @@ import YearDropdown from "../src/year_dropdown"; import { shallow } from "enzyme"; describe("Multi month calendar", function() { - var dateFormat = "MMMM YYYY"; + var dateFormat = "LLLL yyyy"; function getCalendar(extraProps) { return shallow( diff --git a/test/time_format_test.js b/test/time_format_test.js index 3749a42b2..9cfbf7fb6 100644 --- a/test/time_format_test.js +++ b/test/time_format_test.js @@ -1,7 +1,6 @@ import React from "react"; import { mount } from "enzyme"; import TimeComponent from "../src/time"; -import moment from "moment"; describe("TimeComponent", () => { let sandbox; @@ -10,7 +9,7 @@ describe("TimeComponent", () => { sandbox = sinon.sandbox.create(); // mock global time to June 14, 1990 13:28:12, so test results will be constant sandbox.useFakeTimers({ - now: moment("1990-06-14 13:28").valueOf(), + now: new Date("1990-06-14 13:28").valueOf(), toFake: ["Date"] }); }); @@ -48,14 +47,14 @@ describe("TimeComponent", () => { it("should call calcCenterPosition with centerLi ref, closest to the selected time", () => { mount( - + ); expect(spy.args[0][1].innerHTML).to.eq("08:00"); }); it("should call calcCenterPosition with centerLi ref, which is selected", () => { mount( - + ); expect( spy.args[0][1].classList.contains( diff --git a/test/timepicker_test.js b/test/timepicker_test.js index 63274ed70..c487e9db9 100644 --- a/test/timepicker_test.js +++ b/test/timepicker_test.js @@ -1,52 +1,55 @@ -import React from "react"; -import DatePicker from "../src/index.jsx"; -import moment from "moment"; -import TestUtils from "react-dom/test-utils"; -import ReactDOM from "react-dom"; -import Time from "../src/time"; +import React from 'react'; +import DatePicker from '../src/index.jsx'; +import TestUtils from 'react-dom/test-utils'; +import ReactDOM from 'react-dom'; +import Time from '../src/time'; +import { newDate, formatDate } from '../src/date_utils'; -describe("TimePicker", () => { +describe('TimePicker', () => { let datePicker; let div; let onChangeMoment; beforeEach(() => { - div = document.createElement("div"); + div = document.createElement('div'); }); - it("should update on input time change", () => { - renderDatePicker("February 28, 2018 4:43 PM"); - expect(getInputString()).to.equal("February 28, 2018 4:43 PM"); - setManually("February 28, 2018 4:45 PM"); - expect(onChangeMoment.format("LLL")).to.equal("February 28, 2018 4:45 PM"); + it('should update on input time change', () => { + renderDatePicker('February 28, 2018 4:43 PM'); + expect(getInputString()).to.equal('February 28, 2018 4:43 PM'); + + setManually('February 28, 2018 4:45 PM'); + expect(formatDate(onChangeMoment, 'MMMM d, yyyy p')).to.equal( + 'February 28, 2018 4:45 PM' + ); }); - it("should allow time changes after input change", () => { - renderDatePicker("February 28, 2018 4:43 PM"); - setManually("February 28, 2018 4:45 PM"); + it('should allow time changes after input change', () => { + renderDatePicker('February 28, 2018 4:43 PM'); + setManually('February 28, 2018 4:45 PM'); TestUtils.Simulate.focus(ReactDOM.findDOMNode(datePicker.input)); const time = TestUtils.findRenderedComponentWithType(datePicker, Time); - const lis = TestUtils.scryRenderedDOMComponentsWithTag(time, "li"); - TestUtils.Simulate.click(lis[0]); - expect(getInputString()).to.equal("February 28, 2018 12:00 AM"); + const lis = TestUtils.scryRenderedDOMComponentsWithTag(time, 'li'); + TestUtils.Simulate.click(lis[1]); + expect(getInputString()).to.equal('February 28, 2018 12:30 AM'); }); - it("should allow for injected moment if input does not have focus", () => { - renderDatePicker("February 28, 2018 4:43 PM"); - setManually("February 28, 2018 4:45 PM"); + it('should allow for injected date if input does not have focus', () => { + renderDatePicker('February 28, 2018 4:43 PM'); + setManually('February 28, 2018 4:45 PM'); TestUtils.Simulate.blur(datePicker.input); - renderDatePicker("February 28, 2018 4:43 PM"); - expect(getInputString()).to.equal("February 28, 2018 4:43 PM"); + renderDatePicker('February 28, 2018 4:43 PM'); + expect(getInputString()).to.equal('February 28, 2018 4:43 PM'); }); - it("should not close datepicker after time clicked when shouldCloseOnSelect is false", () => { + it('should not close datepicker after time clicked when shouldCloseOnSelect is false', () => { var datePicker = TestUtils.renderIntoDocument( ); var dateInput = datePicker.input; TestUtils.Simulate.focus(ReactDOM.findDOMNode(dateInput)); const time = TestUtils.findRenderedComponentWithType(datePicker, Time); - const lis = TestUtils.scryRenderedDOMComponentsWithTag(time, "li"); + const lis = TestUtils.scryRenderedDOMComponentsWithTag(time, 'li'); TestUtils.Simulate.click(lis[0]); expect(datePicker.state.open).to.be.true; }); @@ -61,14 +64,14 @@ describe("TimePicker", () => { } function renderDatePicker(string) { - return renderDatePickerFor(moment(string, "LLL", true)); + return renderDatePickerFor(new Date(string)); } function renderDatePickerFor(selected) { datePicker = ReactDOM.render( { } function onChange(m) { - onChangeMoment = m; + onChangeMoment = newDate(m); renderDatePicker(m); } }); diff --git a/test/timezone_date_picker.jsx b/test/timezone_date_picker.jsx deleted file mode 100644 index 46edbf99a..000000000 --- a/test/timezone_date_picker.jsx +++ /dev/null @@ -1,34 +0,0 @@ -import React from "react"; -import DatePicker from "../src/index.jsx"; -import * as utils from "../src/date_utils"; - -class TimezoneDatePicker extends React.Component { - constructor(props) { - super(props); - this.state = { startDate: null, utcOffset: -4 }; - } - - handleChange(date) { - this.setState({ startDate: date }); - } - - render() { - var selected = - this.state.startDate && - utils.setUTCOffset( - utils.cloneDate(this.state.startDate), - this.state.utcOffset - ); - - return ( - - ); - } -} - -export default TimezoneDatePicker; diff --git a/test/week_test.js b/test/week_test.js index 4c49c6d37..353db1989 100644 --- a/test/week_test.js +++ b/test/week_test.js @@ -1,69 +1,69 @@ -import React from "react"; -import Week from "../src/week"; -import WeekNumber from "../src/week_number"; -import Day from "../src/day"; -import { shallow } from "enzyme"; -import sinon from "sinon"; -import * as utils from "../src/date_utils"; - -describe("Week", () => { - it("should have the week CSS class", () => { +import React from 'react'; +import Week from '../src/week'; +import WeekNumber from '../src/week_number'; +import Day from '../src/day'; +import { shallow } from 'enzyme'; +import sinon from 'sinon'; +import * as utils from '../src/date_utils'; + +describe('Week', () => { + it('should have the week CSS class', () => { const week = shallow(); - expect(week.hasClass("react-datepicker__week")).to.equal(true); + expect(week.hasClass('react-datepicker__week')).to.equal(true); }); - it("should render the days of the week", () => { - const weekStart = utils.getStartOfWeek(utils.newDate("2015-12-20")); + it('should render the days of the week', () => { + const weekStart = utils.getStartOfWeek(utils.newDate('2015-12-20')); const week = shallow(); const days = week.find(Day); expect(days.length).to.equal(7); days.forEach((day, offset) => { - const expectedDay = utils.addDays(utils.cloneDate(weekStart), offset); - assert(utils.isSameDay(day.prop("day"), expectedDay)); + const expectedDay = utils.addDays(weekStart, offset); + assert(utils.isSameDay(day.prop('day'), expectedDay)); }); const weekNumber = week.find(WeekNumber); expect(weekNumber.length).to.equal(0); }); - it("should render the week number", () => { - const weekStart = utils.getStartOfWeek(utils.newDate("2015-12-20")); + it('should render the week number', () => { + const weekStart = utils.getStartOfWeek(utils.newDate('2015-12-20')); const week = shallow(); const days = week.find(Day); expect(days.length).to.equal(7); days.forEach((day, offset) => { - const expectedDay = utils.addDays(utils.cloneDate(weekStart), offset); - assert(utils.isSameDay(day.prop("day"), expectedDay)); + const expectedDay = utils.addDays(weekStart, offset); + assert(utils.isSameDay(day.prop('day'), expectedDay)); }); const weekNumber = week.find(WeekNumber); expect(weekNumber.length).to.equal(1); }); - it("should call the provided onDayClick function", () => { + it('should call the provided onDayClick function', () => { let dayClicked = null; function onDayClick(day) { dayClicked = day; } - const weekStart = utils.newDate("2015-12-20"); + const weekStart = utils.newDate('2015-12-20'); const week = shallow(); const day = week.find(Day).at(0); - day.simulate("click"); - assert(utils.isSameDay(day.prop("day"), dayClicked)); + day.simulate('click'); + assert(utils.isSameDay(day.prop('day'), dayClicked)); }); - it("should call the provided onWeekSelect function and pass the first day of the week", () => { + it('should call the provided onWeekSelect function and pass the first day of the week', () => { let firstDayReceived = null; function onWeekClick(newFirstWeekDay) { firstDayReceived = newFirstWeekDay; } - const weekStart = utils.newDate("2015-12-20"); + const weekStart = utils.newDate('2015-12-20'); const setOpenSpy = sinon.spy(); const week = shallow( { /> ); const weekNumberElement = week.find(WeekNumber); - weekNumberElement.simulate("click"); - expect(utils.equals(firstDayReceived, weekStart)).to.be.true; + weekNumberElement.simulate('click'); + expect(utils.isEqual(firstDayReceived, weekStart)).to.be.true; }); - it("should call the provided onWeekSelect function and call the setopen function", () => { - const weekStart = utils.newDate("2015-12-20"); + it('should call the provided onWeekSelect function and call the setopen function', () => { + const weekStart = utils.newDate('2015-12-20'); const setOpenSpy = sinon.spy(); const week = shallow( @@ -93,12 +93,12 @@ describe("Week", () => { ); const weekNumberElement = week.find(WeekNumber); - weekNumberElement.simulate("click"); + weekNumberElement.simulate('click'); sinon.assert.calledOnce(setOpenSpy); }); it("should call the provided onWeekSelect function and not call the setopen function when 'shouldCloseOnSelect' is false", () => { - const weekStart = utils.newDate("2015-12-20"); + const weekStart = utils.newDate('2015-12-20'); const setOpenSpy = sinon.spy(); const week = shallow( @@ -112,18 +112,18 @@ describe("Week", () => { ); const weekNumberElement = week.find(WeekNumber); - weekNumberElement.simulate("click"); + weekNumberElement.simulate('click'); sinon.assert.notCalled(setOpenSpy); }); - it("should call the provided onWeekSelect function and pass the week number", () => { + it('should call the provided onWeekSelect function and pass the week number', () => { let weekNumberReceived = null; function onWeekClick(unused, newWeekNumber) { weekNumberReceived = newWeekNumber; } - const weekStart = utils.newDate("2015-12-20"); + const weekStart = utils.newDate('2015-12-20'); const realWeekNumber = utils.getWeek(weekStart); const week = shallow( { /> ); const weekNumberElement = week.find(WeekNumber); - weekNumberElement.simulate("click"); + weekNumberElement.simulate('click'); expect(weekNumberReceived).to.equal(realWeekNumber); }); - it("should set the week number with the provided formatWeekNumber function", () => { + it('should set the week number with the provided formatWeekNumber function', () => { let firstDayReceived = null; function weekNumberFormatter(newFirstWeekDay) { @@ -146,7 +146,7 @@ describe("Week", () => { return 9; } - const weekStart = utils.newDate("2015-12-20"); + const weekStart = utils.newDate('2015-12-20'); const week = shallow( { ); const weekNumberElement = week.find(WeekNumber); - expect(utils.equals(firstDayReceived, weekStart)).to.be.true; - expect(weekNumberElement.prop("weekNumber")).to.equal(9); + expect(utils.isEqual(firstDayReceived, weekStart)).to.be.true; + expect(weekNumberElement.prop('weekNumber')).to.equal(9); }); - it("should call the provided onDayMouseEnter function", () => { + it('should call the provided onDayMouseEnter function', () => { let dayMouseEntered = null; function onDayMouseEnter(day) { @@ -172,7 +172,7 @@ describe("Week", () => { ); const day = week.find(Day).first(); - day.simulate("mouseenter"); - assert(utils.isSameDay(day.prop("day"), dayMouseEntered)); + day.simulate('mouseenter'); + assert(utils.isSameDay(day.prop('day'), dayMouseEntered)); }); }); diff --git a/test/year_dropdown_options_test.js b/test/year_dropdown_options_test.js index deb0ff4a0..c785cdd20 100644 --- a/test/year_dropdown_options_test.js +++ b/test/year_dropdown_options_test.js @@ -1,7 +1,7 @@ import React from "react"; import YearDropdownOptions from "../src/year_dropdown_options.jsx"; import { mount, shallow } from "enzyme"; -import moment from "moment"; +import * as utils from "../src/date_utils"; describe("YearDropdownOptions", () => { let yearDropdown, handleChangeResult; @@ -155,34 +155,34 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { it("should generate years between minDate and maxDate if prop scrollableYearDropdown is true", () => { const onCancelSpy = sandbox.spy(); const onChangeSpy = sandbox.spy(); - const minDate = moment(); - const maxDate = moment().add(1, "year"); + const minDate = utils.newDate(); + const maxDate = utils.addYears(utils.newDate(), 1); const yearDropdown = shallow( ); expect(yearDropdown.state().yearsList.length).to.equal(2); - expect(yearDropdown.state().yearsList).to.contain(minDate.year()); - expect(yearDropdown.state().yearsList).to.contain(maxDate.year()); + expect(yearDropdown.state().yearsList).to.contain(utils.getYear(minDate)); + expect(yearDropdown.state().yearsList).to.contain(utils.getYear(maxDate)); }); it("should hide arrows to add years, if not between minDate and maxDate", () => { const onCancelSpy = sandbox.spy(); const onChangeSpy = sandbox.spy(); - const minDate = moment(); - const maxDate = moment().add(1, "year"); + const minDate = utils.newDate(); + const maxDate = utils.addYears(utils.newDate(), 1); const yearDropdown = mount( @@ -199,14 +199,14 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { it("should show arrows to add years, if actual years list contains years between minDate and maxDate", () => { const onCancelSpy = sandbox.spy(); const onChangeSpy = sandbox.spy(); - const minDate = moment().subtract(11, "y"); - const maxDate = moment().add(11, "y"); + const minDate = utils.subYears(utils.newDate(), 11); + const maxDate = utils.addYears(utils.newDate(), 11); const yearDropdown = mount( @@ -223,8 +223,10 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === minDate.year())).to.be.undefined; - expect(textContents.find(year => year === maxDate.year())).to.be.undefined; + expect(textContents.find(year => year === utils.getYear(minDate))).to.be + .undefined; + expect(textContents.find(year => year === utils.getYear(maxDate))).to.be + .undefined; yearDropdown .find(".react-datepicker__navigation--years-previous") @@ -233,8 +235,10 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === minDate.year())).to.be.defined; - expect(textContents.find(year => year === maxDate.year())).to.be.undefined; + expect(textContents.find(year => year === utils.getYear(minDate))).to.be + .defined; + expect(textContents.find(year => year === utils.getYear(maxDate))).to.be + .undefined; expect( yearDropdown.find(".react-datepicker__navigation--years-previous").length ).to.equal(0); @@ -245,20 +249,22 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { textContents = yearDropdown .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === minDate.year())).to.be.defined; - expect(textContents.find(year => year === maxDate.year())).to.be.defined; + expect(textContents.find(year => year === utils.getYear(minDate))).to.be + .defined; + expect(textContents.find(year => year === utils.getYear(maxDate))).to.be + .defined; }); it("should show arrows to add previous years, if actual years list does not contain minDate year, if only minDate is provided", () => { const onCancelSpy = sandbox.spy(); const onChangeSpy = sandbox.spy(); - const minDate = moment().subtract(11, "y"); + const minDate = utils.subYears(utils.newDate(), 11); const yearDropdown = mount( ); @@ -274,7 +280,8 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === minDate.year())).to.be.undefined; + expect(textContents.find(year => year === utils.getYear(minDate))).to.be + .undefined; yearDropdown .find(".react-datepicker__navigation--years-previous") @@ -283,7 +290,8 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { textContents = yearDropdown .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === minDate.year())).to.be.defined; + expect(textContents.find(year => year === utils.getYear(minDate))).to.be + .defined; expect( yearDropdown.find(".react-datepicker__navigation--years-upcoming").length ).to.equal(1); @@ -295,13 +303,13 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { it("should show arrows to add upcoming years, if actual years list does not contain maxDate year, if only maxDate is provided", () => { const onCancelSpy = sandbox.spy(); const onChangeSpy = sandbox.spy(); - const maxDate = moment().add(11, "y"); + const maxDate = utils.addYears(utils.newDate(), 11); const yearDropdown = mount( ); @@ -317,7 +325,8 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === maxDate.year())).to.be.undefined; + expect(textContents.find(year => year === utils.getYear(maxDate))).to.be + .undefined; yearDropdown .find(".react-datepicker__navigation--years-upcoming") @@ -327,7 +336,8 @@ describe("YearDropdownOptions with scrollable dropwdown", () => { .find(".react-datepicker__year-option") .map(node => node.text()); - expect(textContents.find(year => year === maxDate.year())).to.be.defined; + expect(textContents.find(year => year === utils.getYear(maxDate))).to.be + .defined; expect( yearDropdown.find(".react-datepicker__navigation--years-upcoming").length ).to.equal(0); diff --git a/webpack.config.js b/webpack.config.js index fe4871292..9b5151d88 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -36,14 +36,6 @@ module.exports = { amd: "react" } }, - { - moment: { - root: "moment", - commonjs2: "moment", - commonjs: "moment", - amd: "moment" - } - }, { "react-onclickoutside": { root: "onClickOutside",
- - {` - -`} - -
- {` - -`} -