diff --git a/CHANGELOG.md b/CHANGELOG.md index 830e9ce5ee8..e2403da6ebb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,13 @@ - Added `text` as a color option for `EuiLink` ([#1571](https://github.com/elastic/eui/pull/1571)) - Added `EuiResizeObserver` to expose ResizeObserver API to React components; falls back to MutationObserver API in unsupported browsers ([#1559](https://github.com/elastic/eui/pull/1559)) +- Added `EuiFocusTrap` as a wrapper around `react-focus-lock` to enable trapping focus in more cases, including React portals ([#1550](https://github.com/elastic/eui/pull/1550)) **Bug fixes** - Fixed content cut off in `EuiContextMenuPanel` when height changes dynamically ([#1559](https://github.com/elastic/eui/pull/1559)) - Fixed `EuiComboBox` to allow keyboard tab to exit single selection box ([#1576](https://github.com/elastic/eui/pull/1576)) +- Various fixes related to focus order and focus trapping as they relate to content in React portals ([#1550](https://github.com/elastic/eui/pull/1550)) ## [`7.1.0`](https://github.com/elastic/eui/tree/v7.1.0) diff --git a/package.json b/package.json index d11efe3de56..7afdc7c11eb 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,6 @@ "@types/numeral": "^0.0.25", "classnames": "^2.2.5", "core-js": "^2.5.1", - "focus-trap-react": "^3.0.4", "highlight.js": "^9.12.0", "html": "^1.0.0", "keymirror": "^0.1.1", @@ -55,6 +54,7 @@ "prop-types": "^15.6.0", "react-ace": "^5.5.0", "react-color": "^2.13.8", + "react-focus-lock": "^1.17.7", "react-input-autosize": "^2.2.1", "react-is": "~16.3.0", "react-virtualized": "^9.18.5", diff --git a/packages/react-datepicker.js b/packages/react-datepicker.js index 10dd96d0a25..f7db8653465 100644 --- a/packages/react-datepicker.js +++ b/packages/react-datepicker.js @@ -8,10 +8,643 @@ var React = require('react'); var React__default = _interopDefault(React); var PropTypes = _interopDefault(require('prop-types')); var classnames = _interopDefault(require('classnames')); -var FocusTrap = _interopDefault(require('focus-trap-react')); var reactDom = require('react-dom'); var moment = _interopDefault(require('moment')); +var candidateSelectors = [ + 'input', + 'select', + 'textarea', + 'a[href]', + 'button', + '[tabindex]', + 'audio[controls]', + 'video[controls]', + '[contenteditable]:not([contenteditable="false"])', +]; +var candidateSelector = candidateSelectors.join(','); + +var matches = typeof Element === 'undefined' + ? function () {} + : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector; + +function tabbable(el, options) { + options = options || {}; + + var elementDocument = el.ownerDocument || el; + var regularTabbables = []; + var orderedTabbables = []; + + var untouchabilityChecker = new UntouchabilityChecker(elementDocument); + var candidates = el.querySelectorAll(candidateSelector); + + if (options.includeContainer) { + if (matches.call(el, candidateSelector)) { + candidates = Array.prototype.slice.apply(candidates); + candidates.unshift(el); + } + } + + var i, candidate, candidateTabindex; + for (i = 0; i < candidates.length; i++) { + candidate = candidates[i]; + + if (!isNodeMatchingSelectorTabbable(candidate, untouchabilityChecker)) continue; + + candidateTabindex = getTabindex(candidate); + if (candidateTabindex === 0) { + regularTabbables.push(candidate); + } else { + orderedTabbables.push({ + documentOrder: i, + tabIndex: candidateTabindex, + node: candidate, + }); + } + } + + var tabbableNodes = orderedTabbables + .sort(sortOrderedTabbables) + .map(function(a) { return a.node }) + .concat(regularTabbables); + + return tabbableNodes; +} + +tabbable.isTabbable = isTabbable; +tabbable.isFocusable = isFocusable; + +function isNodeMatchingSelectorTabbable(node, untouchabilityChecker) { + if ( + !isNodeMatchingSelectorFocusable(node, untouchabilityChecker) + || isNonTabbableRadio(node) + || getTabindex(node) < 0 + ) { + return false; + } + return true; +} + +function isTabbable(node, untouchabilityChecker) { + if (!node) throw new Error('No node provided'); + if (matches.call(node, candidateSelector) === false) return false; + return isNodeMatchingSelectorTabbable(node, untouchabilityChecker); +} + +function isNodeMatchingSelectorFocusable(node, untouchabilityChecker) { + untouchabilityChecker = untouchabilityChecker || new UntouchabilityChecker(node.ownerDocument || node); + if ( + node.disabled + || isHiddenInput(node) + || untouchabilityChecker.isUntouchable(node) + ) { + return false; + } + return true; +} + +var focusableCandidateSelector = candidateSelectors.concat('iframe').join(','); +function isFocusable(node, untouchabilityChecker) { + if (!node) throw new Error('No node provided'); + if (matches.call(node, focusableCandidateSelector) === false) return false; + return isNodeMatchingSelectorFocusable(node, untouchabilityChecker); +} + +function getTabindex(node) { + var tabindexAttr = parseInt(node.getAttribute('tabindex'), 10); + if (!isNaN(tabindexAttr)) return tabindexAttr; + // Browsers do not return `tabIndex` correctly for contentEditable nodes; + // so if they don't have a tabindex attribute specifically set, assume it's 0. + if (isContentEditable(node)) return 0; + return node.tabIndex; +} + +function sortOrderedTabbables(a, b) { + return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex; +} + +// Array.prototype.find not available in IE. +function find(list, predicate) { + for (var i = 0, length = list.length; i < length; i++) { + if (predicate(list[i])) return list[i]; + } +} + +function isContentEditable(node) { + return node.contentEditable === 'true'; +} + +function isInput(node) { + return node.tagName === 'INPUT'; +} + +function isHiddenInput(node) { + return isInput(node) && node.type === 'hidden'; +} + +function isRadio(node) { + return isInput(node) && node.type === 'radio'; +} + +function isNonTabbableRadio(node) { + return isRadio(node) && !isTabbableRadio(node); +} + +function getCheckedRadio(nodes) { + for (var i = 0; i < nodes.length; i++) { + if (nodes[i].checked) { + return nodes[i]; + } + } +} + +function isTabbableRadio(node) { + if (!node.name) return true; + // This won't account for the edge case where you have radio groups with the same + // in separate forms on the same page. + var radioSet = node.ownerDocument.querySelectorAll('input[type="radio"][name="' + node.name + '"]'); + var checked = getCheckedRadio(radioSet); + return !checked || checked === node; +} + +// An element is "untouchable" if *it or one of its ancestors* has +// `visibility: hidden` or `display: none`. +function UntouchabilityChecker(elementDocument) { + this.doc = elementDocument; + // Node cache must be refreshed on every check, in case + // the content of the element has changed. The cache contains tuples + // mapping nodes to their boolean result. + this.cache = []; +} + +// getComputedStyle accurately reflects `visibility: hidden` of ancestors +// but not `display: none`, so we need to recursively check parents. +UntouchabilityChecker.prototype.hasDisplayNone = function hasDisplayNone(node, nodeComputedStyle) { + if (node.nodeType !== Node.ELEMENT_NODE) return false; + + // Search for a cached result. + var cached = find(this.cache, function(item) { + return item === node; + }); + if (cached) return cached[1]; + + nodeComputedStyle = nodeComputedStyle || this.doc.defaultView.getComputedStyle(node); + + var result = false; + + if (nodeComputedStyle.display === 'none') { + result = true; + } else if (node.parentNode) { + result = this.hasDisplayNone(node.parentNode); + } + + this.cache.push([node, result]); + + return result; +}; + +UntouchabilityChecker.prototype.isUntouchable = function isUntouchable(node) { + if (node === this.doc.documentElement) return false; + var computedStyle = this.doc.defaultView.getComputedStyle(node); + if (this.hasDisplayNone(node, computedStyle)) return true; + return computedStyle.visibility === 'hidden'; +}; + +var tabbable_1 = tabbable; + +var tabbable$1 = /*#__PURE__*/Object.freeze({ + default: tabbable_1, + __moduleExports: tabbable_1 +}); + +var immutable = extend; + +var hasOwnProperty = Object.prototype.hasOwnProperty; + +function extend() { + var target = {}; + + for (var i = 0; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target +} + +var immutable$1 = /*#__PURE__*/Object.freeze({ + default: immutable, + __moduleExports: immutable +}); + +var tabbable$2 = ( tabbable$1 && tabbable_1 ) || tabbable$1; + +var xtend = ( immutable$1 && immutable ) || immutable$1; + +var listeningFocusTrap = null; + +function focusTrap(element, userOptions) { + var doc = document; + var container = + typeof element === 'string' ? doc.querySelector(element) : element; + + var config = xtend( + { + returnFocusOnDeactivate: true, + escapeDeactivates: true + }, + userOptions + ); + + var state = { + firstTabbableNode: null, + lastTabbableNode: null, + nodeFocusedBeforeActivation: null, + mostRecentlyFocusedNode: null, + active: false, + paused: false + }; + + var trap = { + activate: activate, + deactivate: deactivate, + pause: pause, + unpause: unpause + }; + + return trap; + + function activate(activateOptions) { + if (state.active) return; + + updateTabbableNodes(); + + state.active = true; + state.paused = false; + state.nodeFocusedBeforeActivation = doc.activeElement; + + var onActivate = + activateOptions && activateOptions.onActivate + ? activateOptions.onActivate + : config.onActivate; + if (onActivate) { + onActivate(); + } + + addListeners(); + return trap; + } + + function deactivate(deactivateOptions) { + if (!state.active) return; + + removeListeners(); + state.active = false; + state.paused = false; + + var onDeactivate = + deactivateOptions && deactivateOptions.onDeactivate !== undefined + ? deactivateOptions.onDeactivate + : config.onDeactivate; + if (onDeactivate) { + onDeactivate(); + } + + var returnFocus = + deactivateOptions && deactivateOptions.returnFocus !== undefined + ? deactivateOptions.returnFocus + : config.returnFocusOnDeactivate; + if (returnFocus) { + delay(function() { + tryFocus(state.nodeFocusedBeforeActivation); + }); + } + + return trap; + } + + function pause() { + if (state.paused || !state.active) return; + state.paused = true; + removeListeners(); + } + + function unpause() { + if (!state.paused || !state.active) return; + state.paused = false; + addListeners(); + } + + function addListeners() { + if (!state.active) return; + + // There can be only one listening focus trap at a time + if (listeningFocusTrap) { + listeningFocusTrap.pause(); + } + listeningFocusTrap = trap; + + updateTabbableNodes(); + + // Delay ensures that the focused element doesn't capture the event + // that caused the focus trap activation. + delay(function() { + tryFocus(getInitialFocusNode()); + }); + doc.addEventListener('focusin', checkFocusIn, true); + doc.addEventListener('mousedown', checkPointerDown, true); + doc.addEventListener('touchstart', checkPointerDown, true); + doc.addEventListener('click', checkClick, true); + doc.addEventListener('keydown', checkKey, true); + + return trap; + } + + function removeListeners() { + if (!state.active || listeningFocusTrap !== trap) return; + + doc.removeEventListener('focusin', checkFocusIn, true); + doc.removeEventListener('mousedown', checkPointerDown, true); + doc.removeEventListener('touchstart', checkPointerDown, true); + doc.removeEventListener('click', checkClick, true); + doc.removeEventListener('keydown', checkKey, true); + + listeningFocusTrap = null; + + return trap; + } + + function getNodeForOption(optionName) { + var optionValue = config[optionName]; + var node = optionValue; + if (!optionValue) { + return null; + } + if (typeof optionValue === 'string') { + node = doc.querySelector(optionValue); + if (!node) { + throw new Error('`' + optionName + '` refers to no known node'); + } + } + if (typeof optionValue === 'function') { + node = optionValue(); + if (!node) { + throw new Error('`' + optionName + '` did not return a node'); + } + } + return node; + } + + function getInitialFocusNode() { + var node; + if (getNodeForOption('initialFocus') !== null) { + node = getNodeForOption('initialFocus'); + } else if (container.contains(doc.activeElement)) { + node = doc.activeElement; + } else { + node = state.firstTabbableNode || getNodeForOption('fallbackFocus'); + } + + if (!node) { + throw new Error( + "You can't have a focus-trap without at least one focusable element" + ); + } + + return node; + } + + // This needs to be done on mousedown and touchstart instead of click + // so that it precedes the focus event. + function checkPointerDown(e) { + if (container.contains(e.target)) return; + if (config.clickOutsideDeactivates) { + deactivate({ + returnFocus: !tabbable$2.isFocusable(e.target) + }); + } else { + e.preventDefault(); + } + } + + // In case focus escapes the trap for some strange reason, pull it back in. + function checkFocusIn(e) { + // In Firefox when you Tab out of an iframe the Document is briefly focused. + if (container.contains(e.target) || e.target instanceof Document) { + return; + } + e.stopImmediatePropagation(); + tryFocus(state.mostRecentlyFocusedNode || getInitialFocusNode()); + } + + function checkKey(e) { + if (config.escapeDeactivates !== false && isEscapeEvent(e)) { + e.preventDefault(); + deactivate(); + return; + } + if (isTabEvent(e)) { + checkTab(e); + return; + } + } + + // Hijack Tab events on the first and last focusable nodes of the trap, + // in order to prevent focus from escaping. If it escapes for even a + // moment it can end up scrolling the page and causing confusion so we + // kind of need to capture the action at the keydown phase. + function checkTab(e) { + updateTabbableNodes(); + if (e.shiftKey && e.target === state.firstTabbableNode) { + e.preventDefault(); + tryFocus(state.lastTabbableNode); + return; + } + if (!e.shiftKey && e.target === state.lastTabbableNode) { + e.preventDefault(); + tryFocus(state.firstTabbableNode); + return; + } + } + + function checkClick(e) { + if (config.clickOutsideDeactivates) return; + if (container.contains(e.target)) return; + e.preventDefault(); + e.stopImmediatePropagation(); + } + + function updateTabbableNodes() { + var tabbableNodes = tabbable$2(container); + state.firstTabbableNode = tabbableNodes[0] || getInitialFocusNode(); + state.lastTabbableNode = + tabbableNodes[tabbableNodes.length - 1] || getInitialFocusNode(); + } + + function tryFocus(node) { + if (node === doc.activeElement) return; + if (!node || !node.focus) { + tryFocus(getInitialFocusNode()); + return; + } + + node.focus(); + state.mostRecentlyFocusedNode = node; + if (isSelectableInput(node)) { + node.select(); + } + } +} + +function isSelectableInput(node) { + return ( + node.tagName && + node.tagName.toLowerCase() === 'input' && + typeof node.select === 'function' + ); +} + +function isEscapeEvent(e) { + return e.key === 'Escape' || e.key === 'Esc' || e.keyCode === 27; +} + +function isTabEvent(e) { + return e.key === 'Tab' || e.keyCode === 9; +} + +function delay(fn) { + return setTimeout(fn, 0); +} + +var focusTrap_1 = focusTrap; + +var focusTrap$1 = /*#__PURE__*/Object.freeze({ + default: focusTrap_1, + __moduleExports: focusTrap_1 +}); + +var createFocusTrap = ( focusTrap$1 && focusTrap_1 ) || focusTrap$1; + +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; }; }(); + +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 checkedProps = ['active', 'paused', 'tag', 'focusTrapOptions', '_createFocusTrap']; + +var FocusTrap = function (_React$Component) { + _inherits(FocusTrap, _React$Component); + + function FocusTrap(props) { + _classCallCheck(this, FocusTrap); + + var _this = _possibleConstructorReturn(this, (FocusTrap.__proto__ || Object.getPrototypeOf(FocusTrap)).call(this, props)); + + _this.setNode = function (el) { + _this.node = el; + }; + + if (typeof document !== 'undefined') { + _this.previouslyFocusedElement = document.activeElement; + } + return _this; + } + + _createClass(FocusTrap, [{ + key: 'componentDidMount', + value: function componentDidMount() { + // We need to hijack the returnFocusOnDeactivate option, + // because React can move focus into the element before we arrived at + // this lifecycle hook (e.g. with autoFocus inputs). So the component + // captures the previouslyFocusedElement in componentWillMount, + // then (optionally) returns focus to it in componentWillUnmount. + var specifiedFocusTrapOptions = this.props.focusTrapOptions; + var tailoredFocusTrapOptions = { + returnFocusOnDeactivate: false + }; + for (var optionName in specifiedFocusTrapOptions) { + if (!specifiedFocusTrapOptions.hasOwnProperty(optionName)) continue; + if (optionName === 'returnFocusOnDeactivate') continue; + tailoredFocusTrapOptions[optionName] = specifiedFocusTrapOptions[optionName]; + } + + this.focusTrap = this.props._createFocusTrap(this.node, tailoredFocusTrapOptions); + if (this.props.active) { + this.focusTrap.activate(); + } + if (this.props.paused) { + this.focusTrap.pause(); + } + } + }, { + key: 'componentDidUpdate', + value: function componentDidUpdate(prevProps) { + if (prevProps.active && !this.props.active) { + var returnFocusOnDeactivate = this.props.focusTrapOptions.returnFocusOnDeactivate; + + var returnFocus = returnFocusOnDeactivate || false; + var config = { returnFocus: returnFocus }; + this.focusTrap.deactivate(config); + } else if (!prevProps.active && this.props.active) { + this.focusTrap.activate(); + } + + if (prevProps.paused && !this.props.paused) { + this.focusTrap.unpause(); + } else if (!prevProps.paused && this.props.paused) { + this.focusTrap.pause(); + } + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + this.focusTrap.deactivate(); + if (this.props.focusTrapOptions.returnFocusOnDeactivate !== false && this.previouslyFocusedElement && this.previouslyFocusedElement.focus) { + this.previouslyFocusedElement.focus(); + } + } + }, { + key: 'render', + value: function render() { + var elementProps = { + ref: this.setNode + }; + + // This will get id, className, style, etc. -- arbitrary element props + for (var prop in this.props) { + if (!this.props.hasOwnProperty(prop)) continue; + if (checkedProps.indexOf(prop) !== -1) continue; + elementProps[prop] = this.props[prop]; + } + + return React__default.createElement(this.props.tag, elementProps, this.props.children); + } + }]); + + return FocusTrap; +}(React__default.Component); + +FocusTrap.defaultProps = { + active: true, + tag: 'div', + paused: false, + focusTrapOptions: {}, + _createFocusTrap: createFocusTrap +}; + +var focusTrapReact = FocusTrap; + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { @@ -312,7 +945,7 @@ var YearDropdownOptions = function (_React$Component) { } return this.props.accessibleMode ? React__default.createElement( - FocusTrap, + focusTrapReact, null, React__default.createElement( "div", @@ -1424,7 +2057,7 @@ var MonthDropdownOptions = function (_React$Component) { } return this.props.accessibleMode ? React__default.createElement( - FocusTrap, + focusTrapReact, null, React__default.createElement( "div", @@ -1788,7 +2421,7 @@ var MonthYearDropdownOptions = function (_React$Component) { } return this.props.accessibleMode ? React__default.createElement( - FocusTrap, + focusTrapReact, null, React__default.createElement( "div", @@ -3457,7 +4090,7 @@ var Calendar = function (_React$Component) { }) }, React__default.createElement( - FocusTrap, + focusTrapReact, { tag: FocusTrapContainer, focusTrapOptions: { @@ -3567,6 +4200,23 @@ Calendar.propTypes = { accessibleMode: PropTypes.bool }; +function _objectWithoutPropertiesLoose(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]; + } + + return target; +} + +var objectWithoutPropertiesLoose = _objectWithoutPropertiesLoose; + var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; function unwrapExports (x) { @@ -3577,1184 +4227,66 @@ function createCommonjsModule(fn, module) { return module = { exports: {} }, fn(module, module.exports), module.exports; } -var _global = createCommonjsModule(function (module) { -// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 -var global = module.exports = typeof window != 'undefined' && window.Math == Math - ? window : 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 -}); +var _extends_1 = createCommonjsModule(function (module) { +function _extends() { + module.exports = _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; -var _core = createCommonjsModule(function (module) { -var core = module.exports = { version: '2.5.1' }; -if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef -}); -var _core_1 = _core.version; + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } -var _aFunction = function (it) { - if (typeof it != 'function') throw TypeError(it + ' is not a function!'); - return it; -}; + return target; + }; -// optional / simple context binding - -var _ctx = function (fn, that, length) { - _aFunction(fn); - if (that === undefined) return fn; - switch (length) { - case 1: return function (a) { - return fn.call(that, a); - }; - case 2: return function (a, b) { - return fn.call(that, a, b); - }; - case 3: return function (a, b, c) { - return fn.call(that, a, b, c); - }; - } - return function (/* ...args */) { - return fn.apply(that, arguments); - }; -}; - -var _isObject = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; -}; - -var _anObject = function (it) { - if (!_isObject(it)) throw TypeError(it + ' is not an object!'); - return it; -}; - -var _fails = function (exec) { - try { - return !!exec(); - } catch (e) { - return true; - } -}; - -// Thank's IE8 for his funny defineProperty -var _descriptors = !_fails(function () { - return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; -}); - -var document$1 = _global.document; -// typeof document.createElement is 'object' in old IE -var is = _isObject(document$1) && _isObject(document$1.createElement); -var _domCreate = function (it) { - return is ? document$1.createElement(it) : {}; -}; - -var _ie8DomDefine = !_descriptors && !_fails(function () { - return Object.defineProperty(_domCreate('div'), 'a', { get: function () { return 7; } }).a != 7; -}); - -// 7.1.1 ToPrimitive(input [, PreferredType]) - -// instead of the ES6 spec version, we didn't implement @@toPrimitive case -// and the second argument - flag - preferred type is a string -var _toPrimitive = function (it, S) { - if (!_isObject(it)) return it; - var fn, val; - if (S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val; - if (typeof (fn = it.valueOf) == 'function' && !_isObject(val = fn.call(it))) return val; - if (!S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val; - throw TypeError("Can't convert object to primitive value"); -}; - -var dP = Object.defineProperty; - -var f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) { - _anObject(O); - P = _toPrimitive(P, true); - _anObject(Attributes); - if (_ie8DomDefine) try { - return dP(O, P, Attributes); - } catch (e) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); - if ('value' in Attributes) O[P] = Attributes.value; - return O; -}; - -var _objectDp = { - f: f -}; - -var _propertyDesc = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; -}; - -var _hide = _descriptors ? function (object, key, value) { - return _objectDp.f(object, key, _propertyDesc(1, value)); -} : function (object, key, value) { - object[key] = value; - return object; -}; - -var PROTOTYPE = 'prototype'; - -var $export = function (type, name, source) { - var IS_FORCED = type & $export.F; - var IS_GLOBAL = type & $export.G; - var IS_STATIC = type & $export.S; - var IS_PROTO = type & $export.P; - var IS_BIND = type & $export.B; - var IS_WRAP = type & $export.W; - var exports = IS_GLOBAL ? _core : _core[name] || (_core[name] = {}); - var expProto = exports[PROTOTYPE]; - var target = IS_GLOBAL ? _global : 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; - // export native or passed - out = own ? target[key] : source[key]; - // prevent global pollution for namespaces - exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] - // bind timers to global for call from export context - : IS_BIND && own ? _ctx(out, _global) - // wrap global constructors for prevent change them in library - : IS_WRAP && target[key] == out ? (function (C) { - var F = function (a, b, c) { - if (this instanceof C) { - switch (arguments.length) { - case 0: return new C(); - case 1: return new C(a); - case 2: return new C(a, b); - } return new C(a, b, c); - } return C.apply(this, arguments); - }; - F[PROTOTYPE] = C[PROTOTYPE]; - return F; - // make static versions for prototype methods - })(out) : IS_PROTO && typeof out == 'function' ? _ctx(Function.call, out) : out; - // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% - if (IS_PROTO) { - (exports.virtual || (exports.virtual = {}))[key] = out; - // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% - if (type & $export.R && expProto && !expProto[key]) _hide(expProto, key, out); - } - } -}; -// type bitmap -$export.F = 1; // forced -$export.G = 2; // global -$export.S = 4; // static -$export.P = 8; // proto -$export.B = 16; // bind -$export.W = 32; // wrap -$export.U = 64; // safe -$export.R = 128; // real proto method for `library` -var _export = $export; - -var hasOwnProperty = {}.hasOwnProperty; -var _has = function (it, key) { - return hasOwnProperty.call(it, key); -}; - -var toString = {}.toString; - -var _cof = function (it) { - return toString.call(it).slice(8, -1); -}; - -// fallback for non-array-like ES3 and non-enumerable old V8 strings - -// eslint-disable-next-line no-prototype-builtins -var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) { - return _cof(it) == 'String' ? it.split('') : Object(it); -}; - -// 7.2.1 RequireObjectCoercible(argument) -var _defined = function (it) { - if (it == undefined) throw TypeError("Can't call method on " + it); - return it; -}; - -// to indexed object, toObject with fallback for non-array-like ES3 strings - - -var _toIobject = function (it) { - return _iobject(_defined(it)); -}; - -// 7.1.4 ToInteger -var ceil = Math.ceil; -var floor = Math.floor; -var _toInteger = function (it) { - return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); -}; - -// 7.1.15 ToLength - -var min = Math.min; -var _toLength = function (it) { - return it > 0 ? min(_toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 -}; - -var max = Math.max; -var min$1 = Math.min; -var _toAbsoluteIndex = function (index, length) { - index = _toInteger(index); - return index < 0 ? max(index + length, 0) : min$1(index, length); -}; - -// false -> Array#indexOf -// true -> Array#includes - - - -var _arrayIncludes = function (IS_INCLUDES) { - return function ($this, el, fromIndex) { - var O = _toIobject($this); - var length = _toLength(O.length); - var index = _toAbsoluteIndex(fromIndex, length); - var value; - // Array#includes uses SameValueZero equality algorithm - // eslint-disable-next-line no-self-compare - if (IS_INCLUDES && el != el) while (length > index) { - value = O[index++]; - // eslint-disable-next-line no-self-compare - if (value != value) return true; - // Array#indexOf ignores holes, Array#includes - not - } else for (;length > index; index++) if (IS_INCLUDES || index in O) { - if (O[index] === el) return IS_INCLUDES || index || 0; - } return !IS_INCLUDES && -1; - }; -}; - -var SHARED = '__core-js_shared__'; -var store = _global[SHARED] || (_global[SHARED] = {}); -var _shared = function (key) { - return store[key] || (store[key] = {}); -}; - -var id = 0; -var px = Math.random(); -var _uid = function (key) { - return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); -}; - -var shared = _shared('keys'); - -var _sharedKey = function (key) { - return shared[key] || (shared[key] = _uid(key)); -}; - -var arrayIndexOf = _arrayIncludes(false); -var IE_PROTO = _sharedKey('IE_PROTO'); - -var _objectKeysInternal = function (object, names) { - var O = _toIobject(object); - var i = 0; - var result = []; - var key; - for (key in O) if (key != IE_PROTO) _has(O, key) && result.push(key); - // Don't enum bug & hidden keys - while (names.length > i) if (_has(O, key = names[i++])) { - ~arrayIndexOf(result, key) || result.push(key); - } - return result; -}; - -// IE 8- don't enum bug keys -var _enumBugKeys = ( - 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' -).split(','); - -// 19.1.2.14 / 15.2.3.14 Object.keys(O) - - - -var _objectKeys = Object.keys || function keys(O) { - return _objectKeysInternal(O, _enumBugKeys); -}; - -var f$1 = Object.getOwnPropertySymbols; - -var _objectGops = { - f: f$1 -}; - -var f$2 = {}.propertyIsEnumerable; - -var _objectPie = { - f: f$2 -}; - -// 7.1.13 ToObject(argument) - -var _toObject = function (it) { - return Object(_defined(it)); -}; - -// 19.1.2.1 Object.assign(target, source, ...) - - - - - -var $assign = Object.assign; - -// should work with symbols and should have deterministic property order (V8 bug) -var _objectAssign = !$assign || _fails(function () { - var A = {}; - var B = {}; - // eslint-disable-next-line no-undef - var S = Symbol(); - var K = 'abcdefghijklmnopqrst'; - A[S] = 7; - K.split('').forEach(function (k) { B[k] = k; }); - return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; -}) ? function assign(target, source) { // eslint-disable-line no-unused-vars - var T = _toObject(target); - var aLen = arguments.length; - var index = 1; - var getSymbols = _objectGops.f; - var isEnum = _objectPie.f; - while (aLen > index) { - var S = _iobject(arguments[index++]); - var keys = getSymbols ? _objectKeys(S).concat(getSymbols(S)) : _objectKeys(S); - var length = keys.length; - var j = 0; - var key; - while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key]; - } return T; -} : $assign; - -// 19.1.3.1 Object.assign(target, source) - - -_export(_export.S + _export.F, 'Object', { assign: _objectAssign }); - -var assign = _core.Object.assign; - -var assign$1 = createCommonjsModule(function (module) { -module.exports = { "default": assign, __esModule: true }; -}); - -unwrapExports(assign$1); - -var _extends$1 = createCommonjsModule(function (module, exports) { - -exports.__esModule = true; - - - -var _assign2 = _interopRequireDefault(assign$1); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -exports.default = _assign2.default || function (target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; - - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } - } - } - - return target; -}; -}); - -var _extends$2 = unwrapExports(_extends$1); - -var classCallCheck$1 = createCommonjsModule(function (module, exports) { - -exports.__esModule = true; - -exports.default = function (instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -}; -}); - -var _classCallCheck = unwrapExports(classCallCheck$1); - -// true -> String#at -// false -> String#codePointAt -var _stringAt = function (TO_STRING) { - return function (that, pos) { - var s = String(_defined(that)); - var i = _toInteger(pos); - var l = s.length; - var a, b; - 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.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; - }; -}; - -var _library = true; - -var _redefine = _hide; - -var _objectDps = _descriptors ? Object.defineProperties : function defineProperties(O, Properties) { - _anObject(O); - var keys = _objectKeys(Properties); - var length = keys.length; - var i = 0; - var P; - while (length > i) _objectDp.f(O, P = keys[i++], Properties[P]); - return O; -}; - -var document$2 = _global.document; -var _html = document$2 && document$2.documentElement; - -// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) - - - -var IE_PROTO$1 = _sharedKey('IE_PROTO'); -var Empty = function () { /* empty */ }; -var PROTOTYPE$1 = '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 = _domCreate('iframe'); - var i = _enumBugKeys.length; - var lt = '<'; - var gt = '>'; - var iframeDocument; - iframe.style.display = 'none'; - _html.appendChild(iframe); - 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); - iframeDocument.close(); - createDict = iframeDocument.F; - while (i--) delete createDict[PROTOTYPE$1][_enumBugKeys[i]]; - return createDict(); -}; - -var _objectCreate = Object.create || function create(O, Properties) { - var result; - if (O !== null) { - Empty[PROTOTYPE$1] = _anObject(O); - result = new Empty(); - Empty[PROTOTYPE$1] = null; - // add "__proto__" for Object.getPrototypeOf polyfill - result[IE_PROTO$1] = O; - } else result = createDict(); - return Properties === undefined ? result : _objectDps(result, Properties); -}; - -var _wks = createCommonjsModule(function (module) { -var store = _shared('wks'); - -var Symbol = _global.Symbol; -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)); -}; - -$exports.store = store; -}); - -var def = _objectDp.f; - -var TAG = _wks('toStringTag'); - -var _setToStringTag = function (it, tag, stat) { - if (it && !_has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); -}; - -var IteratorPrototype = {}; - -// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() -_hide(IteratorPrototype, _wks('iterator'), function () { return this; }); - -var _iterCreate = function (Constructor, NAME, next) { - Constructor.prototype = _objectCreate(IteratorPrototype, { next: _propertyDesc(1, next) }); - _setToStringTag(Constructor, NAME + ' Iterator'); -}; - -// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) - - -var IE_PROTO$2 = _sharedKey('IE_PROTO'); -var ObjectProto = Object.prototype; - -var _objectGpo = Object.getPrototypeOf || function (O) { - O = _toObject(O); - if (_has(O, IE_PROTO$2)) return O[IE_PROTO$2]; - if (typeof O.constructor == 'function' && O instanceof O.constructor) { - return O.constructor.prototype; - } return O instanceof Object ? ObjectProto : null; -}; - -var ITERATOR = _wks('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 _iterDefine = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { - _iterCreate(Constructor, NAME, next); - var getMethod = function (kind) { - if (!BUGGY && kind in proto) return proto[kind]; - switch (kind) { - case KEYS: return function keys() { return new Constructor(this, kind); }; - case VALUES: return function values() { return new Constructor(this, kind); }; - } return function entries() { return new Constructor(this, kind); }; - }; - var TAG = NAME + ' Iterator'; - var DEF_VALUES = DEFAULT == VALUES; - var VALUES_BUG = false; - var proto = Base.prototype; - var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; - var $default = $native || getMethod(DEFAULT); - var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; - var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; - var methods, key, IteratorPrototype; - // Fix native - if ($anyNative) { - IteratorPrototype = _objectGpo($anyNative.call(new Base())); - if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { - // Set @@toStringTag to native iterators - _setToStringTag(IteratorPrototype, TAG, true); - } - } - // fix Array#{values, @@iterator}.name in V8 / FF - if (DEF_VALUES && $native && $native.name !== VALUES) { - VALUES_BUG = true; - $default = function values() { return $native.call(this); }; - } - // Define iterator - if ((FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { - _hide(proto, ITERATOR, $default); - } - if (DEFAULT) { - methods = { - values: DEF_VALUES ? $default : getMethod(VALUES), - keys: IS_SET ? $default : getMethod(KEYS), - entries: $entries - }; - if (FORCED) for (key in methods) { - if (!(key in proto)) _redefine(proto, key, methods[key]); - } else _export(_export.P + _export.F * (BUGGY || VALUES_BUG), NAME, methods); - } - return methods; -}; - -var $at = _stringAt(true); - -// 21.1.3.27 String.prototype[@@iterator]() -_iterDefine(String, 'String', function (iterated) { - this._t = String(iterated); // target - this._i = 0; // next index -// 21.1.5.2.1 %StringIteratorPrototype%.next() -}, function () { - var O = this._t; - var index = this._i; - var point; - if (index >= O.length) return { value: undefined, done: true }; - point = $at(O, index); - this._i += point.length; - return { value: point, done: false }; -}); - -var _iterStep = function (done, value) { - return { value: value, done: !!done }; -}; - -// 22.1.3.4 Array.prototype.entries() -// 22.1.3.13 Array.prototype.keys() -// 22.1.3.29 Array.prototype.values() -// 22.1.3.30 Array.prototype[@@iterator]() -var es6_array_iterator = _iterDefine(Array, 'Array', function (iterated, kind) { - this._t = _toIobject(iterated); // target - this._i = 0; // next index - this._k = kind; // kind -// 22.1.5.2.1 %ArrayIteratorPrototype%.next() -}, function () { - var O = this._t; - var kind = this._k; - var index = this._i++; - if (!O || index >= O.length) { - this._t = undefined; - return _iterStep(1); - } - if (kind == 'keys') return _iterStep(0, index); - if (kind == 'values') return _iterStep(0, O[index]); - return _iterStep(0, [index, O[index]]); -}, 'values'); - -var TO_STRING_TAG = _wks('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(','); - -for (var i = 0; i < DOMIterables.length; i++) { - var NAME = DOMIterables[i]; - var Collection = _global[NAME]; - var proto = Collection && Collection.prototype; - if (proto && !proto[TO_STRING_TAG]) _hide(proto, TO_STRING_TAG, NAME); -} - -var f$3 = _wks; - -var _wksExt = { - f: f$3 -}; - -var iterator = _wksExt.f('iterator'); - -var iterator$1 = createCommonjsModule(function (module) { -module.exports = { "default": iterator, __esModule: true }; -}); - -unwrapExports(iterator$1); - -var _meta = createCommonjsModule(function (module) { -var META = _uid('meta'); - - -var setDesc = _objectDp.f; -var id = 0; -var isExtensible = Object.isExtensible || function () { - return true; -}; -var FREEZE = !_fails(function () { - return isExtensible(Object.preventExtensions({})); -}); -var setMeta = function (it) { - setDesc(it, META, { value: { - i: 'O' + ++id, // object ID - w: {} // weak collections IDs - } }); -}; -var fastKey = function (it, create) { - // return primitive with prefix - if (!_isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; - if (!_has(it, META)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return 'F'; - // not necessary to add metadata - if (!create) return 'E'; - // add missing metadata - setMeta(it); - // return object ID - } return it[META].i; -}; -var getWeak = function (it, create) { - if (!_has(it, META)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return true; - // not necessary to add metadata - if (!create) return false; - // add missing metadata - setMeta(it); - // return hash weak collections IDs - } return it[META].w; -}; -// add metadata on freeze-family methods calling -var onFreeze = function (it) { - if (FREEZE && meta.NEED && isExtensible(it) && !_has(it, META)) setMeta(it); - return it; -}; -var meta = module.exports = { - KEY: META, - NEED: false, - fastKey: fastKey, - getWeak: getWeak, - onFreeze: onFreeze -}; -}); -var _meta_1 = _meta.KEY; -var _meta_2 = _meta.NEED; -var _meta_3 = _meta.fastKey; -var _meta_4 = _meta.getWeak; -var _meta_5 = _meta.onFreeze; - -var defineProperty$1 = _objectDp.f; -var _wksDefine = function (name) { - var $Symbol = _core.Symbol || (_core.Symbol = _library ? {} : _global.Symbol || {}); - if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty$1($Symbol, name, { value: _wksExt.f(name) }); -}; - -// all enumerable object keys, includes symbols - - - -var _enumKeys = function (it) { - var result = _objectKeys(it); - var getSymbols = _objectGops.f; - if (getSymbols) { - var symbols = getSymbols(it); - var isEnum = _objectPie.f; - var i = 0; - var key; - while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); - } return result; -}; - -// 7.2.2 IsArray(argument) - -var _isArray = Array.isArray || function isArray(arg) { - return _cof(arg) == 'Array'; -}; - -// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) - -var hiddenKeys = _enumBugKeys.concat('length', 'prototype'); - -var f$4 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { - return _objectKeysInternal(O, hiddenKeys); -}; - -var _objectGopn = { - f: f$4 -}; - -// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window - -var gOPN = _objectGopn.f; -var toString$1 = {}.toString; - -var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames - ? Object.getOwnPropertyNames(window) : []; - -var getWindowNames = function (it) { - try { - return gOPN(it); - } catch (e) { - return windowNames.slice(); - } -}; - -var f$5 = function getOwnPropertyNames(it) { - return windowNames && toString$1.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(_toIobject(it)); -}; - -var _objectGopnExt = { - f: f$5 -}; - -var gOPD = Object.getOwnPropertyDescriptor; - -var f$6 = _descriptors ? gOPD : function getOwnPropertyDescriptor(O, P) { - O = _toIobject(O); - P = _toPrimitive(P, true); - if (_ie8DomDefine) try { - return gOPD(O, P); - } catch (e) { /* empty */ } - if (_has(O, P)) return _propertyDesc(!_objectPie.f.call(O, P), O[P]); -}; - -var _objectGopd = { - f: f$6 -}; - -// ECMAScript 6 symbols shim - - - - - -var META = _meta.KEY; - - - - - - - - - - - - - - - - - - -var gOPD$1 = _objectGopd.f; -var dP$1 = _objectDp.f; -var gOPN$1 = _objectGopnExt.f; -var $Symbol = _global.Symbol; -var $JSON = _global.JSON; -var _stringify = $JSON && $JSON.stringify; -var PROTOTYPE$2 = '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 ObjectProto$1 = Object[PROTOTYPE$2]; -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 = !QObject || !QObject[PROTOTYPE$2] || !QObject[PROTOTYPE$2].findChild; - -// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 -var setSymbolDesc = _descriptors && _fails(function () { - return _objectCreate(dP$1({}, 'a', { - get: function () { return dP$1(this, 'a', { value: 7 }).a; } - })).a != 7; -}) ? function (it, key, D) { - var protoDesc = gOPD$1(ObjectProto$1, key); - if (protoDesc) delete ObjectProto$1[key]; - dP$1(it, key, D); - if (protoDesc && it !== ObjectProto$1) dP$1(ObjectProto$1, key, protoDesc); -} : dP$1; - -var wrap = function (tag) { - var sym = AllSymbols[tag] = _objectCreate($Symbol[PROTOTYPE$2]); - sym._k = tag; - return sym; -}; - -var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { - return typeof it == 'symbol'; -} : function (it) { - return it instanceof $Symbol; -}; - -var $defineProperty = function defineProperty(it, key, D) { - if (it === ObjectProto$1) $defineProperty(OPSymbols, key, D); - _anObject(it); - key = _toPrimitive(key, true); - _anObject(D); - if (_has(AllSymbols, key)) { - if (!D.enumerable) { - if (!_has(it, HIDDEN)) dP$1(it, HIDDEN, _propertyDesc(1, {})); - it[HIDDEN][key] = true; - } else { - if (_has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; - D = _objectCreate(D, { enumerable: _propertyDesc(0, false) }); - } return setSymbolDesc(it, key, D); - } return dP$1(it, key, D); -}; -var $defineProperties = function defineProperties(it, P) { - _anObject(it); - var keys = _enumKeys(P = _toIobject(P)); - var i = 0; - var l = keys.length; - var key; - while (l > i) $defineProperty(it, key = keys[i++], P[key]); - return it; -}; -var $create = function create(it, P) { - return P === undefined ? _objectCreate(it) : $defineProperties(_objectCreate(it), P); -}; -var $propertyIsEnumerable = function propertyIsEnumerable(key) { - var E = isEnum.call(this, key = _toPrimitive(key, true)); - if (this === ObjectProto$1 && _has(AllSymbols, key) && !_has(OPSymbols, key)) return false; - return E || !_has(this, key) || !_has(AllSymbols, key) || _has(this, HIDDEN) && this[HIDDEN][key] ? E : true; -}; -var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { - it = _toIobject(it); - key = _toPrimitive(key, true); - if (it === ObjectProto$1 && _has(AllSymbols, key) && !_has(OPSymbols, key)) return; - var D = gOPD$1(it, key); - if (D && _has(AllSymbols, key) && !(_has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; - return D; -}; -var $getOwnPropertyNames = function getOwnPropertyNames(it) { - var names = gOPN$1(_toIobject(it)); - var result = []; - var i = 0; - var key; - while (names.length > i) { - if (!_has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); - } return result; -}; -var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { - var IS_OP = it === ObjectProto$1; - var names = gOPN$1(IS_OP ? OPSymbols : _toIobject(it)); - var result = []; - var i = 0; - var key; - while (names.length > i) { - if (_has(AllSymbols, key = names[i++]) && (IS_OP ? _has(ObjectProto$1, key) : true)) result.push(AllSymbols[key]); - } return result; -}; - -// 19.4.1.1 Symbol([description]) -if (!USE_NATIVE) { - $Symbol = function Symbol() { - if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); - var tag = _uid(arguments.length > 0 ? arguments[0] : undefined); - var $set = function (value) { - if (this === ObjectProto$1) $set.call(OPSymbols, value); - if (_has(this, HIDDEN) && _has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; - setSymbolDesc(this, tag, _propertyDesc(1, value)); - }; - if (_descriptors && setter) setSymbolDesc(ObjectProto$1, tag, { configurable: true, set: $set }); - return wrap(tag); - }; - _redefine($Symbol[PROTOTYPE$2], 'toString', function toString() { - return this._k; - }); - - _objectGopd.f = $getOwnPropertyDescriptor; - _objectDp.f = $defineProperty; - _objectGopn.f = _objectGopnExt.f = $getOwnPropertyNames; - _objectPie.f = $propertyIsEnumerable; - _objectGops.f = $getOwnPropertySymbols; - - if (_descriptors && !_library) { - _redefine(ObjectProto$1, 'propertyIsEnumerable', $propertyIsEnumerable, true); - } - - _wksExt.f = function (name) { - return wrap(_wks(name)); - }; -} - -_export(_export.G + _export.W + _export.F * !USE_NATIVE, { Symbol: $Symbol }); - -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(','), j = 0; es6Symbols.length > j;)_wks(es6Symbols[j++]); - -for (var wellKnownSymbols = _objectKeys(_wks.store), k = 0; wellKnownSymbols.length > k;) _wksDefine(wellKnownSymbols[k++]); - -_export(_export.S + _export.F * !USE_NATIVE, 'Symbol', { - // 19.4.2.1 Symbol.for(key) - 'for': function (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!'); - for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; - }, - useSetter: function () { setter = true; }, - useSimple: function () { setter = false; } -}); - -_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) - defineProperty: $defineProperty, - // 19.1.2.3 Object.defineProperties(O, Properties) - defineProperties: $defineProperties, - // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) - getOwnPropertyDescriptor: $getOwnPropertyDescriptor, - // 19.1.2.7 Object.getOwnPropertyNames(O) - getOwnPropertyNames: $getOwnPropertyNames, - // 19.1.2.8 Object.getOwnPropertySymbols(O) - getOwnPropertySymbols: $getOwnPropertySymbols -}); - -// 24.3.2 JSON.stringify(value [, replacer [, space]]) -$JSON && _export(_export.S + _export.F * (!USE_NATIVE || _fails(function () { - var S = $Symbol(); - // MS Edge converts symbol values to JSON as {} - // WebKit converts symbol values to JSON as null - // V8 throws on boxed symbols - return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; -})), '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 = function (key, value) { - if ($replacer) value = $replacer.call(this, key, value); - if (!isSymbol(value)) return value; - }; - args[1] = replacer; - return _stringify.apply($JSON, args); - } -}); - -// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) -$Symbol[PROTOTYPE$2][TO_PRIMITIVE] || _hide($Symbol[PROTOTYPE$2], TO_PRIMITIVE, $Symbol[PROTOTYPE$2].valueOf); -// 19.4.3.5 Symbol.prototype[@@toStringTag] -_setToStringTag($Symbol, 'Symbol'); -// 20.2.1.9 Math[@@toStringTag] -_setToStringTag(Math, 'Math', true); -// 24.3.3 JSON[@@toStringTag] -_setToStringTag(_global.JSON, 'JSON', true); - -_wksDefine('asyncIterator'); - -_wksDefine('observable'); - -var symbol = _core.Symbol; - -var symbol$1 = createCommonjsModule(function (module) { -module.exports = { "default": symbol, __esModule: true }; -}); - -unwrapExports(symbol$1); - -var _typeof_1 = createCommonjsModule(function (module, exports) { - -exports.__esModule = true; - - - -var _iterator2 = _interopRequireDefault(iterator$1); - - - -var _symbol2 = _interopRequireDefault(symbol$1); - -var _typeof = typeof _symbol2.default === "function" && typeof _iterator2.default === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj; }; - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + return _extends.apply(this, arguments); +} -exports.default = typeof _symbol2.default === "function" && _typeof(_iterator2.default) === "symbol" ? function (obj) { - return typeof obj === "undefined" ? "undefined" : _typeof(obj); -} : function (obj) { - return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof(obj); -}; +module.exports = _extends; }); -unwrapExports(_typeof_1); - -var possibleConstructorReturn$1 = createCommonjsModule(function (module, exports) { - -exports.__esModule = true; - - - -var _typeof3 = _interopRequireDefault(_typeof_1); +function _inheritsLoose$1(subClass, superClass) { + subClass.prototype = Object.create(superClass.prototype); + subClass.prototype.constructor = subClass; + subClass.__proto__ = superClass; +} -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +var inheritsLoose = _inheritsLoose$1; -exports.default = function (self, call) { - if (!self) { +function _assertThisInitialized(self) { + if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } - return call && ((typeof call === "undefined" ? "undefined" : (0, _typeof3.default)(call)) === "object" || typeof call === "function") ? call : self; -}; -}); - -var _possibleConstructorReturn = unwrapExports(possibleConstructorReturn$1); - -// Works with __proto__ only. Old v8 can't work with null proto objects. -/* eslint-disable no-proto */ - - -var check = function (O, proto) { - _anObject(O); - if (!_isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); -}; -var _setProto = { - set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line - function (test, buggy, set) { - try { - set = _ctx(Function.call, _objectGopd.f(Object.prototype, '__proto__').set, 2); - set(test, []); - buggy = !(test instanceof Array); - } catch (e) { buggy = true; } - return function setPrototypeOf(O, proto) { - check(O, proto); - if (buggy) O.__proto__ = proto; - else set(O, proto); - return O; - }; - }({}, false) : undefined), - check: check -}; - -// 19.1.3.19 Object.setPrototypeOf(O, proto) - -_export(_export.S, 'Object', { setPrototypeOf: _setProto.set }); - -var setPrototypeOf = _core.Object.setPrototypeOf; - -var setPrototypeOf$1 = createCommonjsModule(function (module) { -module.exports = { "default": setPrototypeOf, __esModule: true }; -}); - -unwrapExports(setPrototypeOf$1); - -// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) -_export(_export.S, 'Object', { create: _objectCreate }); - -var $Object = _core.Object; -var create = function create(P, D) { - return $Object.create(P, D); -}; - -var create$1 = createCommonjsModule(function (module) { -module.exports = { "default": create, __esModule: true }; -}); - -unwrapExports(create$1); - -var inherits$1 = createCommonjsModule(function (module, exports) { - -exports.__esModule = true; - - - -var _setPrototypeOf2 = _interopRequireDefault(setPrototypeOf$1); - - - -var _create2 = _interopRequireDefault(create$1); - - - -var _typeof3 = _interopRequireDefault(_typeof_1); + return self; +} -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +var assertThisInitialized = _assertThisInitialized; -exports.default = function (subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function, not " + (typeof superClass === "undefined" ? "undefined" : (0, _typeof3.default)(superClass))); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; } - subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, { - constructor: { - value: subClass, - enumerable: false, - writable: true, - configurable: true - } - }); - if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass; -}; -}); + return obj; +} -var _inherits = unwrapExports(inherits$1); +var defineProperty$1 = _defineProperty; /**! * @fileOverview Kickass library to create and place poppers near their reference elements. - * @version 1.14.1 + * @version 1.14.7 * @license * Copyright (c) 2016 Federico Zivolo and contributors * @@ -4777,10 +4309,11 @@ var _inherits = unwrapExports(inherits$1); * SOFTWARE. */ var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined'; + var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox']; var timeoutDuration = 0; -for (var i$1 = 0; i$1 < longerTimeoutBrowsers.length; i$1 += 1) { - if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i$1]) >= 0) { +for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) { + if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) { timeoutDuration = 1; break; } @@ -4850,7 +4383,8 @@ function getStyleComputedProperty(element, property) { return []; } // NOTE: 1 DOM access here - var css = getComputedStyle(element, null); + var window = element.ownerDocument.defaultView; + var css = window.getComputedStyle(element, null); return property ? css[property] : css; } @@ -4903,40 +4437,25 @@ function getScrollParent(element) { 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 @@ -4953,7 +4472,7 @@ function getOffsetParent(element) { var noOffsetParent = isIE(10) ? document.body : null; // NOTE: 1 DOM access here - var offsetParent = element.offsetParent; + var offsetParent = element.offsetParent || null; // Skip hidden elements which don't have an offsetParent while (offsetParent === noOffsetParent && element.nextElementSibling) { offsetParent = (element = element.nextElementSibling).offsetParent; @@ -4965,9 +4484,9 @@ function getOffsetParent(element) { return element ? element.ownerDocument.documentElement : document.documentElement; } - // .offsetParent will return the closest TD or TABLE in case + // .offsetParent will return the closest TH, TD or TABLE in case // no offsetParent is present, I hate this job... - if (['TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') { + if (['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') { return getOffsetParent(offsetParent); } @@ -5105,10 +4624,10 @@ function getBordersSize(styles, axis) { } function getSize(axis, body, html, computedStyle) { - return Math.max(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')] : 0); + return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? 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); @@ -5119,7 +4638,7 @@ function getWindowSizes() { }; } -var classCallCheck$2 = function (instance, Constructor) { +var classCallCheck$1 = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } @@ -5162,7 +4681,7 @@ var defineProperty$2 = function (obj, key, value) { return obj; }; -var _extends$3 = Object.assign || function (target) { +var _extends$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; @@ -5184,7 +4703,7 @@ var _extends$3 = Object.assign || function (target) { * @returns {Object} ClientRect like output */ function getClientRect(offsets) { - return _extends$3({}, offsets, { + return _extends$1({}, offsets, { right: offsets.left + offsets.width, bottom: offsets.top + offsets.height }); @@ -5225,7 +4744,7 @@ function getBoundingClientRect(element) { }; // 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 = sizes.height || element.clientHeight || result.bottom - result.top; @@ -5260,7 +4779,7 @@ function getOffsetRectRelativeToArbitraryNode(children, parent) { 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); } @@ -5335,7 +4854,11 @@ function isFixed(element) { if (getStyleComputedProperty(element, 'position') === 'fixed') { return true; } - return isFixed(getParentNode(element)); + var parentNode = getParentNode(element); + if (!parentNode) { + return false; + } + return isFixed(parentNode); } /** @@ -5398,7 +4921,7 @@ function getBoundaries(popper, reference, padding, boundariesElement) { // In case of HTML, we need a different computation if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) { - var _getWindowSizes = getWindowSizes(), + var _getWindowSizes = getWindowSizes(popper.ownerDocument), height = _getWindowSizes.height, width = _getWindowSizes.width; @@ -5413,10 +4936,12 @@ function getBoundaries(popper, reference, padding, boundariesElement) { } // 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; } @@ -5466,7 +4991,7 @@ function computeAutoPlacement(placement, refRect, popper, reference, boundariesE }; var sortedAreas = Object.keys(rects).map(function (key) { - return _extends$3({ + return _extends$1({ key: key }, rects[key], { area: getArea(rects[key]) @@ -5513,9 +5038,10 @@ function getReferenceOffsets(state, popper, reference) { * @returns {Object} object containing width and height properties */ function getOuterSizes(element) { - var styles = getComputedStyle(element); - var x = parseFloat(styles.marginTop) + parseFloat(styles.marginBottom); - var y = parseFloat(styles.marginLeft) + parseFloat(styles.marginRight); + var window = element.ownerDocument.defaultView; + var styles = window.getComputedStyle(element); + var x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0); + var y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0); var result = { width: element.offsetWidth + y, height: element.offsetHeight + x @@ -5585,7 +5111,7 @@ function getPopperOffsets(popper, referenceOffsets, placement) { * @argument value * @returns index or -1 */ -function find(arr, check) { +function find$1(arr, check) { // use native find if supported if (Array.prototype.find) { return arr.find(check); @@ -5613,7 +5139,7 @@ function findIndex(arr, prop, value) { } // use `find` + `indexOf` if `findIndex` isn't supported - var match = find(arr, function (obj) { + var match = find$1(arr, function (obj) { return obj[prop] === value; }); return arr.indexOf(match); @@ -5689,6 +5215,7 @@ function update() { // compute the popper offsets data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement); + data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute'; // run the modifiers @@ -5740,7 +5267,7 @@ function getSupportedPropertyName(property) { } /** - * Destroy the popper + * Destroys the popper. * @method * @memberof Popper */ @@ -5847,7 +5374,7 @@ function removeEventListeners(reference, state) { /** * 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 @@ -5964,6 +5491,57 @@ function applyStyleOnLoad(reference, popper, options, modifierOptions, state) { return options; } +/** + * @function + * @memberof Popper.Utils + * @argument {Object} data - The data object generated by `update` method + * @argument {Boolean} shouldRound - If the offsets should be rounded at all + * @returns {Object} The popper's position offsets rounded + * + * The tale of pixel-perfect positioning. It's still not 100% perfect, but as + * good as it can be within reason. + * Discussion here: https://github.com/FezVrasta/popper.js/pull/715 + * + * Low DPI screens cause a popper to be blurry if not using full pixels (Safari + * as well on High DPI screens). + * + * Firefox prefers no rounding for positioning and does not have blurriness on + * high DPI screens. + * + * Only horizontal placement and left/right values need to be considered. + */ +function getRoundedOffsets(data, shouldRound) { + var _data$offsets = data.offsets, + popper = _data$offsets.popper, + reference = _data$offsets.reference; + var round = Math.round, + floor = Math.floor; + + var noRound = function noRound(v) { + return v; + }; + + var referenceWidth = round(reference.width); + var popperWidth = round(popper.width); + + var isVertical = ['left', 'right'].indexOf(data.placement) !== -1; + var isVariation = data.placement.indexOf('-') !== -1; + var sameWidthParity = referenceWidth % 2 === popperWidth % 2; + var bothOddWidth = referenceWidth % 2 === 1 && popperWidth % 2 === 1; + + var horizontalToInteger = !shouldRound ? noRound : isVertical || isVariation || sameWidthParity ? round : floor; + var verticalToInteger = !shouldRound ? noRound : round; + + return { + left: horizontalToInteger(bothOddWidth && !isVariation && shouldRound ? popper.left - 1 : popper.left), + top: verticalToInteger(popper.top), + bottom: verticalToInteger(popper.bottom), + right: horizontalToInteger(popper.right) + }; +} + +var isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent); + /** * @function * @memberof Modifiers @@ -5978,7 +5556,7 @@ function computeStyle(data, options) { // Remove this legacy support in Popper.js v2 - var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) { + var legacyGpuAccelerationOption = find$1(data.instance.modifiers, function (modifier) { return modifier.name === 'applyStyle'; }).gpuAcceleration; if (legacyGpuAccelerationOption !== undefined) { @@ -5994,13 +5572,7 @@ function computeStyle(data, options) { position: popper.position }; - // floor sides to avoid blurry text - var offsets = { - left: Math.floor(popper.left), - top: Math.floor(popper.top), - bottom: Math.floor(popper.bottom), - right: Math.floor(popper.right) - }; + var offsets = getRoundedOffsets(data, window.devicePixelRatio < 2 || !isFirefox); var sideA = x === 'bottom' ? 'top' : 'bottom'; var sideB = y === 'right' ? 'left' : 'right'; @@ -6022,12 +5594,22 @@ function computeStyle(data, options) { var left = void 0, top = void 0; if (sideA === 'bottom') { - top = -offsetParentRect.height + offsets.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 (offsetParent.nodeName === 'HTML') { + left = -offsetParent.clientWidth + offsets.right; + } else { + left = -offsetParentRect.width + offsets.right; + } } else { left = offsets.left; } @@ -6051,9 +5633,9 @@ function computeStyle(data, options) { }; // Update `data` attributes, styles and arrowStyles - data.attributes = _extends$3({}, attributes, data.attributes); - data.styles = _extends$3({}, styles, data.styles); - data.arrowStyles = _extends$3({}, data.offsets.arrow, data.arrowStyles); + data.attributes = _extends$1({}, attributes, data.attributes); + data.styles = _extends$1({}, styles, data.styles); + data.arrowStyles = _extends$1({}, data.offsets.arrow, data.arrowStyles); return data; } @@ -6069,7 +5651,7 @@ function computeStyle(data, options) { * @returns {Boolean} */ function isModifierRequired(modifiers, requestingName, requestedName) { - var requesting = find(modifiers, function (_ref) { + var requesting = find$1(modifiers, function (_ref) { var name = _ref.name; return name === requestingName; }); @@ -6136,7 +5718,7 @@ function arrow(data, options) { // // extends keepTogether behavior making sure the popper and its - // reference have enough pixels in conjuction + // reference have enough pixels in conjunction // // top/left side @@ -6206,7 +5788,7 @@ function getOppositeVariation(variation) { * - `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} @@ -6326,7 +5908,7 @@ function flip(data, options) { // this object contains `position`, we want to preserve it along with // any additional property we may add in the future - data.offsets.popper = _extends$3({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement)); + data.offsets.popper = _extends$1({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement)); data = runModifiers(data.instance.modifiers, data, 'flip'); } @@ -6443,7 +6025,7 @@ function parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) { // Detect if the offset string contains a pair of values or a single one // they could be separated by comma or space - var divider = fragments.indexOf(find(fragments, function (frag) { + var divider = fragments.indexOf(find$1(fragments, function (frag) { return frag.search(/,|\s/) !== -1; })); @@ -6554,7 +6136,27 @@ function preventOverflow(data, options) { 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, options.padding, 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; @@ -6580,7 +6182,7 @@ function preventOverflow(data, options) { order.forEach(function (placement) { var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary'; - popper = _extends$3({}, popper, check[side](placement)); + popper = _extends$1({}, popper, check[side](placement)); }); data.offsets.popper = popper; @@ -6615,7 +6217,7 @@ function shift(data) { end: defineProperty$2({}, side, reference[side] + reference[measurement] - popper[measurement]) }; - data.offsets.popper = _extends$3({}, popper, shiftOffsets[shiftvariation]); + data.offsets.popper = _extends$1({}, popper, shiftOffsets[shiftvariation]); } return data; @@ -6634,7 +6236,7 @@ function hide(data) { } var refRect = data.offsets.reference; - var bound = find(data.instance.modifiers, function (modifier) { + var bound = find$1(data.instance.modifiers, function (modifier) { return modifier.name === 'preventOverflow'; }).boundaries; @@ -6728,7 +6330,7 @@ var modifiers = { * 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 @@ -6736,7 +6338,7 @@ var modifiers = { * * 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.
@@ -6757,7 +6359,7 @@ var modifiers = { * ``` * > **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 @@ -6778,7 +6380,7 @@ var modifiers = { /** * 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: * @@ -6808,23 +6410,23 @@ var modifiers = { /** * @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' }, /** - * 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 @@ -6842,7 +6444,7 @@ var modifiers = { * 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 @@ -6881,7 +6483,7 @@ var modifiers = { * @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', /** @@ -6891,9 +6493,9 @@ var modifiers = { 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' }, @@ -6957,8 +6559,8 @@ var modifiers = { 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, /** @@ -6985,7 +6587,7 @@ var modifiers = { * 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 @@ -7002,27 +6604,27 @@ var modifiers = { /** * @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 @@ -7030,9 +6632,9 @@ var modifiers = { /** * 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: { @@ -7046,7 +6648,7 @@ var modifiers = { */ var Defaults = { /** - * Popper's placement + * Popper's placement. * @prop {Popper.placements} placement='bottom' */ placement: 'bottom', @@ -7058,7 +6660,7 @@ var Defaults = { positionFixed: false, /** - * Whether events (resize, scroll) are initially enabled + * Whether events (resize, scroll) are initially enabled. * @prop {Boolean} eventsEnabled=true */ eventsEnabled: true, @@ -7072,17 +6674,17 @@ var Defaults = { /** * 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} */ @@ -7090,7 +6692,7 @@ var Defaults = { /** * 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 @@ -7110,10 +6712,10 @@ var Defaults = { // 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 */ @@ -7121,7 +6723,7 @@ var Popper = function () { var _this = this; var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; - classCallCheck$2(this, Popper); + classCallCheck$1(this, Popper); this.scheduleUpdate = function () { return requestAnimationFrame(_this.update); @@ -7131,7 +6733,7 @@ var Popper = function () { this.update = debounce(this.update.bind(this)); // with {} we create a new object with the options inside it - this.options = _extends$3({}, Popper.Defaults, options); + this.options = _extends$1({}, Popper.Defaults, options); // init state this.state = { @@ -7146,13 +6748,13 @@ var Popper = function () { // Deep merge modifiers options this.options.modifiers = {}; - Object.keys(_extends$3({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) { - _this.options.modifiers[name] = _extends$3({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {}); + Object.keys(_extends$1({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) { + _this.options.modifiers[name] = _extends$1({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {}); }); // Refactoring modifiers' list (Object => Array) this.modifiers = Object.keys(this.options.modifiers).map(function (name) { - return _extends$3({ + return _extends$1({ name: name }, _this.options.modifiers[name]); }) @@ -7209,7 +6811,7 @@ var Popper = function () { } /** - * 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 */ @@ -7246,7 +6848,7 @@ var Popper = function () { * 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. @@ -7267,6 +6869,11 @@ var gud = function() { return commonjsGlobal[key] = (commonjsGlobal[key] || 0) + 1; }; +var gud$1 = /*#__PURE__*/Object.freeze({ + default: gud, + __moduleExports: gud +}); + /** * Copyright (c) 2013-present, Facebook, Inc. * @@ -7302,6 +6909,13 @@ emptyFunction.thatReturnsArgument = function (arg) { var emptyFunction_1 = emptyFunction; +var emptyFunction$1 = /*#__PURE__*/Object.freeze({ + default: emptyFunction_1, + __moduleExports: emptyFunction_1 +}); + +var emptyFunction$2 = ( emptyFunction$1 && emptyFunction_1 ) || emptyFunction$1; + /** * 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 @@ -7309,7 +6923,7 @@ var emptyFunction_1 = emptyFunction; * same logic and follow the same code paths. */ -var warning = emptyFunction_1; +var warning = emptyFunction$2; if (process.env.NODE_ENV !== 'production') { var printWarning = function printWarning(format) { @@ -7353,6 +6967,15 @@ if (process.env.NODE_ENV !== 'production') { var warning_1 = warning; +var warning$1 = /*#__PURE__*/Object.freeze({ + default: warning_1, + __moduleExports: warning_1 +}); + +var _gud = ( gud$1 && gud ) || gud$1; + +var _warning = ( warning$1 && warning_1 ) || warning$1; + var implementation = createCommonjsModule(function (module, exports) { exports.__esModule = true; @@ -7367,11 +6990,11 @@ var _propTypes2 = _interopRequireDefault(PropTypes); -var _gud2 = _interopRequireDefault(gud); +var _gud2 = _interopRequireDefault(_gud); -var _warning2 = _interopRequireDefault(warning_1); +var _warning2 = _interopRequireDefault(_warning); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -7551,7 +7174,14 @@ exports.default = createReactContext; module.exports = exports['default']; }); -unwrapExports(implementation); +var implementation$1 = unwrapExports(implementation); + +var implementation$2 = /*#__PURE__*/Object.freeze({ + default: implementation$1, + __moduleExports: implementation +}); + +var _implementation = ( implementation$2 && implementation$1 ) || implementation$2; var lib = createCommonjsModule(function (module, exports) { @@ -7563,7 +7193,7 @@ var _react2 = _interopRequireDefault(React__default); -var _implementation2 = _interopRequireDefault(implementation); +var _implementation2 = _interopRequireDefault(_implementation); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -7573,40 +7203,51 @@ module.exports = exports['default']; var createContext = unwrapExports(lib); -var ManagerContext = createContext({ getReferenceRef: undefined, referenceNode: undefined }); +var ManagerContext = createContext({ + setReferenceNode: undefined, + referenceNode: undefined +}); -var Manager = function (_React$Component) { - _inherits(Manager, _React$Component); +var Manager = +/*#__PURE__*/ +function (_React$Component) { + inheritsLoose(Manager, _React$Component); function Manager() { - _classCallCheck(this, Manager); + var _this; + + _this = _React$Component.call(this) || this; - var _this = _possibleConstructorReturn(this, _React$Component.call(this)); + defineProperty$1(assertThisInitialized(assertThisInitialized(_this)), "setReferenceNode", function (referenceNode) { + if (!referenceNode || _this.state.context.referenceNode === referenceNode) { + return; + } - _this.getReferenceRef = function (referenceNode) { - return _this.setState(function (_ref) { + _this.setState(function (_ref) { var context = _ref.context; return { - context: _extends$2({}, context, { referenceNode: referenceNode }) + context: _extends_1({}, context, { + referenceNode: referenceNode + }) }; }); - }; + }); _this.state = { context: { - getReferenceRef: _this.getReferenceRef, + setReferenceNode: _this.setReferenceNode, referenceNode: undefined } }; return _this; } - Manager.prototype.render = function render() { - return React.createElement( - ManagerContext.Provider, - { value: this.state.context }, - this.props.children - ); + var _proto = Manager.prototype; + + _proto.render = function render() { + return React.createElement(ManagerContext.Provider, { + value: this.state.context + }, this.props.children); }; return Manager; @@ -7619,18 +7260,18 @@ var Manager = function (_React$Component) { var unwrapArray = function unwrapArray(arg) { return Array.isArray(arg) ? arg[0] : arg; }; - /** * Takes a maybe-undefined function and arbitrary args and invokes the function * only if it is defined. */ -var safeInvoke = function safeInvoke(fn) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } +var safeInvoke = function safeInvoke(fn) { if (typeof fn === "function") { - return fn.apply(undefined, args); + for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + + return fn.apply(void 0, args); } }; @@ -7641,113 +7282,148 @@ var initialStyle = { opacity: 0, pointerEvents: 'none' }; - var initialArrowStyle = {}; - -var InnerPopper = function (_React$Component) { - _inherits(InnerPopper, _React$Component); +var InnerPopper = +/*#__PURE__*/ +function (_React$Component) { + inheritsLoose(InnerPopper, _React$Component); function InnerPopper() { - var _temp, _this, _ret; - - _classCallCheck(this, InnerPopper); + var _this; - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + for (var _len = arguments.length, args = new 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 = { + _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; + + defineProperty$1(assertThisInitialized(assertThisInitialized(_this)), "state", { data: undefined, placement: undefined - }, _this.popperNode = null, _this.arrowNode = null, _this.setPopperNode = function (popperNode) { - if (_this.popperNode === popperNode) return; + }); + + defineProperty$1(assertThisInitialized(assertThisInitialized(_this)), "popperInstance", void 0); + + defineProperty$1(assertThisInitialized(assertThisInitialized(_this)), "popperNode", null); + + defineProperty$1(assertThisInitialized(assertThisInitialized(_this)), "arrowNode", null); + defineProperty$1(assertThisInitialized(assertThisInitialized(_this)), "setPopperNode", function (popperNode) { + if (!popperNode || _this.popperNode === popperNode) return; safeInvoke(_this.props.innerRef, popperNode); _this.popperNode = popperNode; - if (!_this.popperInstance) _this.updatePopperInstance(); - }, _this.setArrowNode = function (arrowNode) { - if (_this.arrowNode === arrowNode) return; + _this.updatePopperInstance(); + }); + + defineProperty$1(assertThisInitialized(assertThisInitialized(_this)), "setArrowNode", function (arrowNode) { _this.arrowNode = arrowNode; + }); - if (!_this.popperInstance) _this.updatePopperInstance(); - }, _this.updateStateModifier = { + defineProperty$1(assertThisInitialized(assertThisInitialized(_this)), "updateStateModifier", { enabled: true, order: 900, fn: function fn(data) { var placement = data.placement; - _this.setState({ data: data, placement: placement }, placement !== _this.state.placement ? _this.scheduleUpdate : undefined); + _this.setState({ + data: data, + placement: placement + }); + return data; } - }, _this.getOptions = function () { + }); + + defineProperty$1(assertThisInitialized(assertThisInitialized(_this)), "getOptions", function () { return { placement: _this.props.placement, eventsEnabled: _this.props.eventsEnabled, positionFixed: _this.props.positionFixed, - modifiers: _extends$2({}, _this.props.modifiers, { - arrow: { + modifiers: _extends_1({}, _this.props.modifiers, { + arrow: _extends_1({}, _this.props.modifiers && _this.props.modifiers.arrow, { enabled: !!_this.arrowNode, element: _this.arrowNode + }), + applyStyle: { + enabled: false }, - applyStyle: { enabled: false }, updateStateModifier: _this.updateStateModifier }) }; - }, _this.getPopperStyle = function () { - return !_this.popperNode || !_this.state.data ? initialStyle : _extends$2({ + }); + + defineProperty$1(assertThisInitialized(assertThisInitialized(_this)), "getPopperStyle", function () { + return !_this.popperNode || !_this.state.data ? initialStyle : _extends_1({ position: _this.state.data.offsets.popper.position }, _this.state.data.styles); - }, _this.getPopperPlacement = function () { + }); + + defineProperty$1(assertThisInitialized(assertThisInitialized(_this)), "getPopperPlacement", function () { return !_this.state.data ? undefined : _this.state.placement; - }, _this.getArrowStyle = function () { + }); + + defineProperty$1(assertThisInitialized(assertThisInitialized(_this)), "getArrowStyle", function () { return !_this.arrowNode || !_this.state.data ? initialArrowStyle : _this.state.data.arrowStyles; - }, _this.getOutOfBoundariesState = function () { + }); + + defineProperty$1(assertThisInitialized(assertThisInitialized(_this)), "getOutOfBoundariesState", function () { return _this.state.data ? _this.state.data.hide : undefined; - }, _this.destroyPopperInstance = function () { + }); + + defineProperty$1(assertThisInitialized(assertThisInitialized(_this)), "destroyPopperInstance", function () { if (!_this.popperInstance) return; _this.popperInstance.destroy(); + _this.popperInstance = null; - }, _this.updatePopperInstance = function () { - _this.destroyPopperInstance(); + }); - var _this2 = _this, - popperNode = _this2.popperNode; - var referenceElement = _this.props.referenceElement; + defineProperty$1(assertThisInitialized(assertThisInitialized(_this)), "updatePopperInstance", function () { + _this.destroyPopperInstance(); + var _assertThisInitialize = assertThisInitialized(assertThisInitialized(_this)), + popperNode = _assertThisInitialize.popperNode; + var referenceElement = _this.props.referenceElement; if (!referenceElement || !popperNode) return; - _this.popperInstance = new Popper(referenceElement, popperNode, _this.getOptions()); - }, _this.scheduleUpdate = function () { + }); + + defineProperty$1(assertThisInitialized(assertThisInitialized(_this)), "scheduleUpdate", function () { if (_this.popperInstance) { _this.popperInstance.scheduleUpdate(); } - }, _temp), _possibleConstructorReturn(_this, _ret); + }); + + return _this; } - InnerPopper.prototype.componentDidUpdate = function componentDidUpdate(prevProps, prevState) { + var _proto = InnerPopper.prototype; + + _proto.componentDidUpdate = function componentDidUpdate(prevProps, prevState) { // If the Popper.js options have changed, update the instance (destroy + create) - if (this.props.placement !== prevProps.placement || this.props.eventsEnabled !== prevProps.eventsEnabled || this.props.referenceElement !== prevProps.referenceElement || this.props.positionFixed !== prevProps.positionFixed) { + if (this.props.placement !== prevProps.placement || this.props.referenceElement !== prevProps.referenceElement || this.props.positionFixed !== prevProps.positionFixed) { this.updatePopperInstance(); - return; - } - - // A placement difference in state means popper determined a new placement + } else if (this.props.eventsEnabled !== prevProps.eventsEnabled && this.popperInstance) { + this.props.eventsEnabled ? this.popperInstance.enableEventListeners() : this.popperInstance.disableEventListeners(); + } // A placement difference in state means popper determined a new placement // apart from the props value. By the time the popper element is rendered with // the new position Popper has already measured it, if the place change triggers // a size change it will result in a misaligned popper. So we schedule an update to be sure. + + if (prevState.placement !== this.state.placement) { this.scheduleUpdate(); } }; - InnerPopper.prototype.componentWillUnmount = function componentWillUnmount() { + _proto.componentWillUnmount = function componentWillUnmount() { + safeInvoke(this.props.innerRef, null); this.destroyPopperInstance(); }; - InnerPopper.prototype.render = function render() { + _proto.render = function render() { return unwrapArray(this.props.children)({ ref: this.setPopperNode, style: this.getPopperStyle(), @@ -7764,31 +7440,29 @@ var InnerPopper = function (_React$Component) { return InnerPopper; }(React.Component); -InnerPopper.defaultProps = { +defineProperty$1(InnerPopper, "defaultProps", { placement: 'bottom', eventsEnabled: true, referenceElement: undefined, positionFixed: false -}; - -function Popper$1(props) { - return React.createElement( - ManagerContext.Consumer, - null, - function (_ref) { - var referenceNode = _ref.referenceNode; - return React.createElement(InnerPopper, _extends$2({ referenceElement: referenceNode }, props)); - } - ); +}); +function Popper$1(_ref) { + var referenceElement = _ref.referenceElement, + props = objectWithoutPropertiesLoose(_ref, ["referenceElement"]); + + return React.createElement(ManagerContext.Consumer, null, function (_ref2) { + var referenceNode = _ref2.referenceNode; + return React.createElement(InnerPopper, _extends_1({ + referenceElement: referenceElement !== undefined ? referenceElement : referenceNode + }, props)); + }); } /** - * Copyright 2014-2015, Facebook, Inc. - * All rights reserved. + * Copyright (c) 2014-present, Facebook, Inc. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ /** @@ -7800,87 +7474,96 @@ function Popper$1(props) { var __DEV__ = process.env.NODE_ENV !== 'production'; -var warning$1 = function() {}; +var warning$2 = function() {}; if (__DEV__) { - warning$1 = function(condition, format, args) { + var printWarning$1 = function printWarning(format, args) { var len = arguments.length; args = new Array(len > 2 ? len - 2 : 0); for (var key = 2; key < len; key++) { args[key - 2] = arguments[key]; } - if (format === undefined) { - throw new Error( - '`warning(condition, format, ...args)` requires a warning ' + - 'message argument' - ); + var argIndex = 0; + var message = 'Warning: ' + + format.replace(/%s/g, function() { + return args[argIndex++]; + }); + if (typeof console !== 'undefined') { + console.error(message); } + try { + // --- Welcome to debugging React --- + // This error was thrown as a convenience so that you can use this stack + // to find the callsite that caused this warning to fire. + throw new Error(message); + } catch (x) {} + }; - if (format.length < 10 || (/^[s\W]*$/).test(format)) { + warning$2 = function(condition, format, args) { + var len = arguments.length; + args = new Array(len > 2 ? len - 2 : 0); + for (var key = 2; key < len; key++) { + args[key - 2] = arguments[key]; + } + if (format === undefined) { throw new Error( - 'The warning format should be able to uniquely identify this ' + - 'warning. Please, use a more descriptive format than: ' + format + '`warning(condition, format, ...args)` requires a warning ' + + 'message argument' ); } - if (!condition) { - var argIndex = 0; - var message = 'Warning: ' + - format.replace(/%s/g, function() { - return args[argIndex++]; - }); - if (typeof console !== 'undefined') { - console.error(message); - } - try { - // This error was thrown as a convenience so that you can use this stack - // to find the callsite that caused this warning to fire. - throw new Error(message); - } catch(x) {} + printWarning$1.apply(null, [format].concat(args)); } }; } -var warning_1$1 = warning$1; +var warning_1$1 = warning$2; -var InnerReference = function (_React$Component) { - _inherits(InnerReference, _React$Component); +var InnerReference = +/*#__PURE__*/ +function (_React$Component) { + inheritsLoose(InnerReference, _React$Component); function InnerReference() { - var _temp, _this, _ret; + var _this; - _classCallCheck(this, InnerReference); - - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + for (var _len = arguments.length, args = new 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.refHandler = function (node) { + _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; + + defineProperty$1(assertThisInitialized(assertThisInitialized(_this)), "refHandler", function (node) { safeInvoke(_this.props.innerRef, node); - safeInvoke(_this.props.getReferenceRef, node); - }, _temp), _possibleConstructorReturn(_this, _ret); + safeInvoke(_this.props.setReferenceNode, node); + }); + + return _this; } - InnerReference.prototype.render = function render() { - warning_1$1(this.props.getReferenceRef, '`Reference` should not be used outside of a `Manager` component.'); - return unwrapArray(this.props.children)({ ref: this.refHandler }); + var _proto = InnerReference.prototype; + + _proto.render = function render() { + warning_1$1(Boolean(this.props.setReferenceNode), '`Reference` should not be used outside of a `Manager` component.'); + return unwrapArray(this.props.children)({ + ref: this.refHandler + }); }; return InnerReference; }(React.Component); function Reference(props) { - return React.createElement( - ManagerContext.Consumer, - null, - function (_ref) { - var getReferenceRef = _ref.getReferenceRef; - return React.createElement(InnerReference, _extends$2({ getReferenceRef: getReferenceRef }, props)); - } - ); + return React.createElement(ManagerContext.Consumer, null, function (_ref) { + var setReferenceNode = _ref.setReferenceNode; + return React.createElement(InnerReference, _extends_1({ + setReferenceNode: setReferenceNode + }, props)); + }); } -// Public types +// Public components + // Public types var popperPlacementPositions = ["bottom", "bottom-end", "bottom-start", "left", "left-end", "left-start", "right", "right-end", "right-start", "top", "top-end", "top-start"]; diff --git a/packages/react-datepicker/docs-site/bundle.js b/packages/react-datepicker/docs-site/bundle.js index 181d3e7da23..e03919d9104 100644 --- a/packages/react-datepicker/docs-site/bundle.js +++ b/packages/react-datepicker/docs-site/bundle.js @@ -68,7 +68,7 @@ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(1); - module.exports = __webpack_require__(326); + module.exports = __webpack_require__(332); /***/ }), @@ -79,9 +79,9 @@ __webpack_require__(2); - __webpack_require__(322); + __webpack_require__(328); - __webpack_require__(323); + __webpack_require__(329); if (global._babelPolyfill) { throw new Error("only one instance of babel-polyfill is allowed"); @@ -110,12 +110,11 @@ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(3); - __webpack_require__(51); __webpack_require__(52); __webpack_require__(53); __webpack_require__(54); - __webpack_require__(56); - __webpack_require__(59); + __webpack_require__(55); + __webpack_require__(57); __webpack_require__(60); __webpack_require__(61); __webpack_require__(62); @@ -124,35 +123,35 @@ __webpack_require__(65); __webpack_require__(66); __webpack_require__(67); - __webpack_require__(69); - __webpack_require__(71); - __webpack_require__(73); - __webpack_require__(75); - __webpack_require__(78); + __webpack_require__(68); + __webpack_require__(70); + __webpack_require__(72); + __webpack_require__(74); + __webpack_require__(76); __webpack_require__(79); __webpack_require__(80); - __webpack_require__(84); - __webpack_require__(86); - __webpack_require__(88); - __webpack_require__(91); + __webpack_require__(81); + __webpack_require__(85); + __webpack_require__(87); + __webpack_require__(89); __webpack_require__(92); __webpack_require__(93); __webpack_require__(94); - __webpack_require__(96); + __webpack_require__(95); __webpack_require__(97); __webpack_require__(98); __webpack_require__(99); __webpack_require__(100); __webpack_require__(101); __webpack_require__(102); - __webpack_require__(104); + __webpack_require__(103); __webpack_require__(105); __webpack_require__(106); - __webpack_require__(108); + __webpack_require__(107); __webpack_require__(109); __webpack_require__(110); - __webpack_require__(112); - __webpack_require__(114); + __webpack_require__(111); + __webpack_require__(113); __webpack_require__(115); __webpack_require__(116); __webpack_require__(117); @@ -165,13 +164,13 @@ __webpack_require__(124); __webpack_require__(125); __webpack_require__(126); - __webpack_require__(131); + __webpack_require__(127); __webpack_require__(132); - __webpack_require__(136); + __webpack_require__(133); __webpack_require__(137); __webpack_require__(138); __webpack_require__(139); - __webpack_require__(141); + __webpack_require__(140); __webpack_require__(142); __webpack_require__(143); __webpack_require__(144); @@ -186,50 +185,46 @@ __webpack_require__(153); __webpack_require__(154); __webpack_require__(155); - __webpack_require__(157); + __webpack_require__(156); __webpack_require__(158); - __webpack_require__(160); + __webpack_require__(159); __webpack_require__(161); - __webpack_require__(167); + __webpack_require__(162); __webpack_require__(168); - __webpack_require__(170); + __webpack_require__(169); __webpack_require__(171); __webpack_require__(172); - __webpack_require__(176); + __webpack_require__(173); __webpack_require__(177); __webpack_require__(178); __webpack_require__(179); __webpack_require__(180); - __webpack_require__(182); + __webpack_require__(181); __webpack_require__(183); __webpack_require__(184); __webpack_require__(185); - __webpack_require__(188); - __webpack_require__(190); + __webpack_require__(186); + __webpack_require__(189); __webpack_require__(191); __webpack_require__(192); - __webpack_require__(194); - __webpack_require__(196); - __webpack_require__(198); + __webpack_require__(193); + __webpack_require__(195); + __webpack_require__(197); __webpack_require__(199); - __webpack_require__(200); + __webpack_require__(201); __webpack_require__(202); __webpack_require__(203); - __webpack_require__(204); - __webpack_require__(205); - __webpack_require__(215); - __webpack_require__(219); - __webpack_require__(220); - __webpack_require__(222); - __webpack_require__(223); - __webpack_require__(227); + __webpack_require__(207); + __webpack_require__(208); + __webpack_require__(209); + __webpack_require__(211); + __webpack_require__(221); + __webpack_require__(225); + __webpack_require__(226); __webpack_require__(228); - __webpack_require__(230); - __webpack_require__(231); - __webpack_require__(232); + __webpack_require__(229); __webpack_require__(233); __webpack_require__(234); - __webpack_require__(235); __webpack_require__(236); __webpack_require__(237); __webpack_require__(238); @@ -243,6 +238,7 @@ __webpack_require__(246); __webpack_require__(247); __webpack_require__(248); + __webpack_require__(249); __webpack_require__(250); __webpack_require__(251); __webpack_require__(252); @@ -251,53 +247,52 @@ __webpack_require__(256); __webpack_require__(257); __webpack_require__(258); + __webpack_require__(259); __webpack_require__(260); - __webpack_require__(261); __webpack_require__(262); __webpack_require__(263); __webpack_require__(264); - __webpack_require__(265); __webpack_require__(266); __webpack_require__(267); + __webpack_require__(268); __webpack_require__(269); __webpack_require__(270); + __webpack_require__(271); __webpack_require__(272); __webpack_require__(273); - __webpack_require__(274); __webpack_require__(275); + __webpack_require__(276); __webpack_require__(278); __webpack_require__(279); + __webpack_require__(280); __webpack_require__(281); - __webpack_require__(282); - __webpack_require__(283); __webpack_require__(284); - __webpack_require__(286); + __webpack_require__(285); __webpack_require__(287); __webpack_require__(288); __webpack_require__(289); __webpack_require__(290); - __webpack_require__(291); __webpack_require__(292); __webpack_require__(293); __webpack_require__(294); __webpack_require__(295); + __webpack_require__(296); __webpack_require__(297); __webpack_require__(298); __webpack_require__(299); __webpack_require__(300); __webpack_require__(301); - __webpack_require__(302); __webpack_require__(303); __webpack_require__(304); __webpack_require__(305); __webpack_require__(306); __webpack_require__(307); + __webpack_require__(308); __webpack_require__(309); __webpack_require__(310); __webpack_require__(311); __webpack_require__(312); __webpack_require__(313); - __webpack_require__(314); __webpack_require__(315); __webpack_require__(316); __webpack_require__(317); @@ -305,12 +300,256 @@ __webpack_require__(319); __webpack_require__(320); __webpack_require__(321); + __webpack_require__(322); + __webpack_require__(323); + __webpack_require__(324); + __webpack_require__(325); + __webpack_require__(326); + __webpack_require__(327); module.exports = __webpack_require__(9); /***/ }), /* 3 */ -[841, 4, 5, 6, 8, 18, 22, 7, 23, 24, 19, 25, 26, 27, 29, 44, 12, 32, 16, 17, 45, 48, 50, 11, 30, 49, 43, 42, 28, 10], +/***/ (function(module, exports, __webpack_require__) { + + 'use strict'; + // ECMAScript 6 symbols shim + var global = __webpack_require__(4); + var has = __webpack_require__(5); + var DESCRIPTORS = __webpack_require__(6); + var $export = __webpack_require__(8); + var redefine = __webpack_require__(18); + var META = __webpack_require__(25).KEY; + var $fails = __webpack_require__(7); + var shared = __webpack_require__(21); + var setToStringTag = __webpack_require__(26); + var uid = __webpack_require__(19); + var wks = __webpack_require__(27); + var wksExt = __webpack_require__(28); + var wksDefine = __webpack_require__(29); + var enumKeys = __webpack_require__(30); + var isArray = __webpack_require__(45); + var anObject = __webpack_require__(12); + var isObject = __webpack_require__(13); + var toIObject = __webpack_require__(33); + var toPrimitive = __webpack_require__(16); + var createDesc = __webpack_require__(17); + var _create = __webpack_require__(46); + var gOPNExt = __webpack_require__(49); + var $GOPD = __webpack_require__(51); + var $DP = __webpack_require__(11); + var $keys = __webpack_require__(31); + 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 isEnum = {}.propertyIsEnumerable; + 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 QObject = global.QObject; + // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 + var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; + + // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 + var setSymbolDesc = DESCRIPTORS && $fails(function () { + return _create(dP({}, 'a', { + get: function () { return dP(this, 'a', { value: 7 }).a; } + })).a != 7; + }) ? function (it, key, D) { + var protoDesc = gOPD(ObjectProto, key); + if (protoDesc) delete ObjectProto[key]; + dP(it, key, D); + if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); + } : dP; + + var wrap = function (tag) { + var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); + sym._k = tag; + return sym; + }; + + var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { + return typeof it == 'symbol'; + } : function (it) { + return it instanceof $Symbol; + }; + + var $defineProperty = function defineProperty(it, key, D) { + if (it === ObjectProto) $defineProperty(OPSymbols, key, D); + anObject(it); + key = toPrimitive(key, true); + anObject(D); + if (has(AllSymbols, key)) { + if (!D.enumerable) { + if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); + it[HIDDEN][key] = true; + } else { + if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; + D = _create(D, { enumerable: createDesc(0, false) }); + } return setSymbolDesc(it, key, D); + } return dP(it, key, D); + }; + var $defineProperties = function defineProperties(it, P) { + anObject(it); + var keys = enumKeys(P = toIObject(P)); + var i = 0; + var l = keys.length; + var key; + while (l > i) $defineProperty(it, key = keys[i++], P[key]); + return it; + }; + var $create = function create(it, P) { + return P === undefined ? _create(it) : $defineProperties(_create(it), P); + }; + var $propertyIsEnumerable = function propertyIsEnumerable(key) { + var E = isEnum.call(this, key = toPrimitive(key, true)); + if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; + return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; + }; + var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { + it = toIObject(it); + key = toPrimitive(key, true); + if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; + var D = gOPD(it, key); + if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; + return D; + }; + var $getOwnPropertyNames = function getOwnPropertyNames(it) { + var names = gOPN(toIObject(it)); + var result = []; + var i = 0; + var key; + while (names.length > i) { + if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); + } return result; + }; + var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { + var IS_OP = it === ObjectProto; + var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); + var result = []; + var i = 0; + var key; + while (names.length > i) { + if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); + } return result; + }; + + // 19.4.1.1 Symbol([description]) + if (!USE_NATIVE) { + $Symbol = function Symbol() { + if (this instanceof $Symbol) 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); + if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; + setSymbolDesc(this, tag, createDesc(1, value)); + }; + if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); + return wrap(tag); + }; + redefine($Symbol[PROTOTYPE], 'toString', function toString() { + return this._k; + }); + + $GOPD.f = $getOwnPropertyDescriptor; + $DP.f = $defineProperty; + __webpack_require__(50).f = gOPNExt.f = $getOwnPropertyNames; + __webpack_require__(44).f = $propertyIsEnumerable; + __webpack_require__(43).f = $getOwnPropertySymbols; + + if (DESCRIPTORS && !__webpack_require__(22)) { + redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); + } + + wksExt.f = function (name) { + return wrap(wks(name)); + }; + } + + $export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); + + 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(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); + + for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); + + $export($export.S + $export.F * !USE_NATIVE, 'Symbol', { + // 19.4.2.1 Symbol.for(key) + 'for': function (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!'); + for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; + }, + useSetter: function () { setter = true; }, + useSimple: function () { setter = false; } + }); + + $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) + defineProperty: $defineProperty, + // 19.1.2.3 Object.defineProperties(O, Properties) + defineProperties: $defineProperties, + // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) + getOwnPropertyDescriptor: $getOwnPropertyDescriptor, + // 19.1.2.7 Object.getOwnPropertyNames(O) + getOwnPropertyNames: $getOwnPropertyNames, + // 19.1.2.8 Object.getOwnPropertySymbols(O) + getOwnPropertySymbols: $getOwnPropertySymbols + }); + + // 24.3.2 JSON.stringify(value [, replacer [, space]]) + $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { + var S = $Symbol(); + // MS Edge converts symbol values to JSON as {} + // WebKit converts symbol values to JSON as null + // V8 throws on boxed symbols + return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; + })), 'JSON', { + stringify: function stringify(it) { + var args = [it]; + var i = 1; + var replacer, $replacer; + while (arguments.length > i) args.push(arguments[i++]); + $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 (typeof $replacer == 'function') value = $replacer.call(this, key, value); + if (!isSymbol(value)) return value; + }; + args[1] = replacer; + return _stringify.apply($JSON, args); + } + }); + + // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) + $Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(10)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); + // 19.4.3.5 Symbol.prototype[@@toStringTag] + setToStringTag($Symbol, 'Symbol'); + // 20.2.1.9 Math[@@toStringTag] + setToStringTag(Math, 'Math', true); + // 24.3.3 JSON[@@toStringTag] + setToStringTag(global.JSON, 'JSON', true); + + +/***/ }), /* 4 */ /***/ (function(module, exports) { @@ -334,7 +573,15 @@ /***/ }), /* 6 */ -[842, 7], +/***/ (function(module, exports, __webpack_require__) { + + // Thank's IE8 for his funny defineProperty + module.exports = !__webpack_require__(7)(function () { + return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; + }); + + +/***/ }), /* 7 */ /***/ (function(module, exports) { @@ -355,7 +602,7 @@ var core = __webpack_require__(9); var hide = __webpack_require__(10); var redefine = __webpack_require__(18); - var ctx = __webpack_require__(20); + var ctx = __webpack_require__(23); var PROTOTYPE = 'prototype'; var $export = function (type, name, source) { @@ -400,17 +647,58 @@ /* 9 */ /***/ (function(module, exports) { - var core = module.exports = { version: '2.5.1' }; + var core = module.exports = { version: '2.6.4' }; if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef /***/ }), /* 10 */ -[843, 11, 17, 6], +/***/ (function(module, exports, __webpack_require__) { + + var dP = __webpack_require__(11); + var createDesc = __webpack_require__(17); + module.exports = __webpack_require__(6) ? function (object, key, value) { + return dP.f(object, key, createDesc(1, value)); + } : function (object, key, value) { + object[key] = value; + return object; + }; + + +/***/ }), /* 11 */ -[844, 12, 14, 16, 6], +/***/ (function(module, exports, __webpack_require__) { + + var anObject = __webpack_require__(12); + var IE8_DOM_DEFINE = __webpack_require__(14); + var toPrimitive = __webpack_require__(16); + var dP = Object.defineProperty; + + exports.f = __webpack_require__(6) ? Object.defineProperty : function defineProperty(O, P, Attributes) { + anObject(O); + P = toPrimitive(P, true); + anObject(Attributes); + if (IE8_DOM_DEFINE) try { + return dP(O, P, Attributes); + } catch (e) { /* empty */ } + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); + if ('value' in Attributes) O[P] = Attributes.value; + return O; + }; + + +/***/ }), /* 12 */ -[845, 13], +/***/ (function(module, exports, __webpack_require__) { + + var isObject = __webpack_require__(13); + module.exports = function (it) { + if (!isObject(it)) throw TypeError(it + ' is not an object!'); + return it; + }; + + +/***/ }), /* 13 */ /***/ (function(module, exports) { @@ -421,11 +709,45 @@ /***/ }), /* 14 */ -[846, 6, 7, 15], +/***/ (function(module, exports, __webpack_require__) { + + module.exports = !__webpack_require__(6) && !__webpack_require__(7)(function () { + return Object.defineProperty(__webpack_require__(15)('div'), 'a', { get: function () { return 7; } }).a != 7; + }); + + +/***/ }), /* 15 */ -[847, 13, 4], +/***/ (function(module, exports, __webpack_require__) { + + var isObject = __webpack_require__(13); + var document = __webpack_require__(4).document; + // typeof document.createElement is 'object' in old IE + var is = isObject(document) && isObject(document.createElement); + module.exports = function (it) { + return is ? document.createElement(it) : {}; + }; + + +/***/ }), /* 16 */ -[848, 13], +/***/ (function(module, exports, __webpack_require__) { + + // 7.1.1 ToPrimitive(input [, PreferredType]) + var isObject = __webpack_require__(13); + // instead of the ES6 spec version, we didn't implement @@toPrimitive case + // and the second argument - flag - preferred type is a string + module.exports = function (it, S) { + if (!isObject(it)) return it; + var fn, val; + if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; + if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; + if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; + throw TypeError("Can't convert object to primitive value"); + }; + + +/***/ }), /* 17 */ /***/ (function(module, exports) { @@ -447,8 +769,8 @@ var hide = __webpack_require__(10); var has = __webpack_require__(5); var SRC = __webpack_require__(19)('src'); + var $toString = __webpack_require__(20); var TO_STRING = 'toString'; - var $toString = Function[TO_STRING]; var TPL = ('' + $toString).split(TO_STRING); __webpack_require__(9).inspectSource = function (it) { @@ -489,185 +811,599 @@ /***/ }), /* 20 */ -[849, 21], +/***/ (function(module, exports, __webpack_require__) { + + module.exports = __webpack_require__(21)('native-function-to-string', Function.toString); + + +/***/ }), /* 21 */ -/***/ (function(module, exports) { +/***/ (function(module, exports, __webpack_require__) { - module.exports = function (it) { - if (typeof it != 'function') throw TypeError(it + ' is not a function!'); - return it; - }; + var core = __webpack_require__(9); + var global = __webpack_require__(4); + var SHARED = '__core-js_shared__'; + var store = global[SHARED] || (global[SHARED] = {}); + + (module.exports = function (key, value) { + return store[key] || (store[key] = value !== undefined ? value : {}); + })('versions', []).push({ + version: core.version, + mode: __webpack_require__(22) ? 'pure' : 'global', + copyright: '© 2019 Denis Pushkarev (zloirock.ru)' + }); /***/ }), /* 22 */ -[850, 19, 13, 5, 11, 7], -/* 23 */ -[851, 4], -/* 24 */ -[852, 11, 5, 25], -/* 25 */ -[853, 23, 19, 4], -/* 26 */ -[854, 25], -/* 27 */ -[855, 4, 9, 28, 26, 11], -/* 28 */ /***/ (function(module, exports) { module.exports = false; /***/ }), -/* 29 */ -[856, 30, 42, 43], -/* 30 */ -[857, 31, 41], -/* 31 */ -[858, 5, 32, 36, 40], -/* 32 */ -[859, 33, 35], -/* 33 */ -[860, 34], -/* 34 */ -/***/ (function(module, exports) { - - var toString = {}.toString; +/* 23 */ +/***/ (function(module, exports, __webpack_require__) { - module.exports = function (it) { - return toString.call(it).slice(8, -1); + // optional / simple context binding + var aFunction = __webpack_require__(24); + module.exports = function (fn, that, length) { + aFunction(fn); + if (that === undefined) return fn; + switch (length) { + case 1: return function (a) { + return fn.call(that, a); + }; + case 2: return function (a, b) { + return fn.call(that, a, b); + }; + case 3: return function (a, b, c) { + return fn.call(that, a, b, c); + }; + } + return function (/* ...args */) { + return fn.apply(that, arguments); + }; }; /***/ }), -/* 35 */ +/* 24 */ /***/ (function(module, exports) { - // 7.2.1 RequireObjectCoercible(argument) module.exports = function (it) { - if (it == undefined) throw TypeError("Can't call method on " + it); + if (typeof it != 'function') throw TypeError(it + ' is not a function!'); return it; }; /***/ }), -/* 36 */ -[861, 32, 37, 39], -/* 37 */ -[862, 38], -/* 38 */ -/***/ (function(module, exports) { +/* 25 */ +/***/ (function(module, exports, __webpack_require__) { - // 7.1.4 ToInteger - var ceil = Math.ceil; - var floor = Math.floor; - module.exports = function (it) { - return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); + var META = __webpack_require__(19)('meta'); + var isObject = __webpack_require__(13); + var has = __webpack_require__(5); + var setDesc = __webpack_require__(11).f; + var id = 0; + var isExtensible = Object.isExtensible || function () { + return true; + }; + var FREEZE = !__webpack_require__(7)(function () { + return isExtensible(Object.preventExtensions({})); + }); + var setMeta = function (it) { + setDesc(it, META, { value: { + i: 'O' + ++id, // object ID + w: {} // weak collections IDs + } }); + }; + var fastKey = function (it, create) { + // return primitive with prefix + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; + if (!has(it, META)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return 'F'; + // not necessary to add metadata + if (!create) return 'E'; + // add missing metadata + setMeta(it); + // return object ID + } return it[META].i; + }; + var getWeak = function (it, create) { + if (!has(it, META)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return true; + // not necessary to add metadata + if (!create) return false; + // add missing metadata + setMeta(it); + // return hash weak collections IDs + } return it[META].w; + }; + // add metadata on freeze-family methods calling + var onFreeze = function (it) { + if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); + return it; + }; + var meta = module.exports = { + KEY: META, + NEED: false, + fastKey: fastKey, + getWeak: getWeak, + onFreeze: onFreeze }; /***/ }), -/* 39 */ -[863, 38], -/* 40 */ -[864, 23, 19], -/* 41 */ -/***/ (function(module, exports) { +/* 26 */ +/***/ (function(module, exports, __webpack_require__) { - // IE 8- don't enum bug keys - module.exports = ( - 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' - ).split(','); + var def = __webpack_require__(11).f; + var has = __webpack_require__(5); + var TAG = __webpack_require__(27)('toStringTag'); + + module.exports = function (it, tag, stat) { + if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); + }; /***/ }), -/* 42 */ -/***/ (function(module, exports) { +/* 27 */ +/***/ (function(module, exports, __webpack_require__) { - exports.f = Object.getOwnPropertySymbols; + var store = __webpack_require__(21)('wks'); + var uid = __webpack_require__(19); + var Symbol = __webpack_require__(4).Symbol; + 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)); + }; + + $exports.store = store; /***/ }), -/* 43 */ -/***/ (function(module, exports) { +/* 28 */ +/***/ (function(module, exports, __webpack_require__) { - exports.f = {}.propertyIsEnumerable; + exports.f = __webpack_require__(27); /***/ }), -/* 44 */ -[865, 34], -/* 45 */ -[866, 12, 46, 41, 40, 15, 47], -/* 46 */ -[867, 11, 12, 30, 6], -/* 47 */ -[868, 4], -/* 48 */ -[869, 32, 49], -/* 49 */ -[870, 31, 41], -/* 50 */ -[871, 43, 17, 32, 16, 5, 14, 6], -/* 51 */ -[872, 8, 45], -/* 52 */ +/* 29 */ /***/ (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', { defineProperty: __webpack_require__(11).f }); + var global = __webpack_require__(4); + var core = __webpack_require__(9); + var LIBRARY = __webpack_require__(22); + var wksExt = __webpack_require__(28); + var defineProperty = __webpack_require__(11).f; + module.exports = function (name) { + var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); + if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); + }; /***/ }), -/* 53 */ +/* 30 */ /***/ (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', { defineProperties: __webpack_require__(46) }); + // all enumerable object keys, includes symbols + var getKeys = __webpack_require__(31); + var gOPS = __webpack_require__(43); + var pIE = __webpack_require__(44); + module.exports = function (it) { + var result = getKeys(it); + var getSymbols = gOPS.f; + if (getSymbols) { + var symbols = getSymbols(it); + var isEnum = pIE.f; + var i = 0; + var key; + while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); + } return result; + }; /***/ }), -/* 54 */ +/* 31 */ /***/ (function(module, exports, __webpack_require__) { - // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) - var toIObject = __webpack_require__(32); - var $getOwnPropertyDescriptor = __webpack_require__(50).f; + // 19.1.2.14 / 15.2.3.14 Object.keys(O) + var $keys = __webpack_require__(32); + var enumBugKeys = __webpack_require__(42); - __webpack_require__(55)('getOwnPropertyDescriptor', function () { - return function getOwnPropertyDescriptor(it, key) { - return $getOwnPropertyDescriptor(toIObject(it), key); - }; - }); + module.exports = Object.keys || function keys(O) { + return $keys(O, enumBugKeys); + }; /***/ }), -/* 55 */ +/* 32 */ /***/ (function(module, exports, __webpack_require__) { - // most Object methods by ES6 should accept primitives - var $export = __webpack_require__(8); - var core = __webpack_require__(9); - var fails = __webpack_require__(7); - module.exports = function (KEY, exec) { - var fn = (core.Object || {})[KEY] || Object[KEY]; - var exp = {}; + var has = __webpack_require__(5); + var toIObject = __webpack_require__(33); + var arrayIndexOf = __webpack_require__(37)(false); + var IE_PROTO = __webpack_require__(41)('IE_PROTO'); + + module.exports = function (object, names) { + var O = toIObject(object); + var i = 0; + var result = []; + var key; + for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); + // Don't enum bug & hidden keys + while (names.length > i) if (has(O, key = names[i++])) { + ~arrayIndexOf(result, key) || result.push(key); + } + return result; + }; + + +/***/ }), +/* 33 */ +/***/ (function(module, exports, __webpack_require__) { + + // to indexed object, toObject with fallback for non-array-like ES3 strings + var IObject = __webpack_require__(34); + var defined = __webpack_require__(36); + module.exports = function (it) { + return IObject(defined(it)); + }; + + +/***/ }), +/* 34 */ +/***/ (function(module, exports, __webpack_require__) { + + // fallback for non-array-like ES3 and non-enumerable old V8 strings + var cof = __webpack_require__(35); + // eslint-disable-next-line no-prototype-builtins + module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { + return cof(it) == 'String' ? it.split('') : Object(it); + }; + + +/***/ }), +/* 35 */ +/***/ (function(module, exports) { + + var toString = {}.toString; + + module.exports = function (it) { + return toString.call(it).slice(8, -1); + }; + + +/***/ }), +/* 36 */ +/***/ (function(module, exports) { + + // 7.2.1 RequireObjectCoercible(argument) + module.exports = function (it) { + if (it == undefined) throw TypeError("Can't call method on " + it); + return it; + }; + + +/***/ }), +/* 37 */ +/***/ (function(module, exports, __webpack_require__) { + + // false -> Array#indexOf + // true -> Array#includes + var toIObject = __webpack_require__(33); + var toLength = __webpack_require__(38); + var toAbsoluteIndex = __webpack_require__(40); + module.exports = function (IS_INCLUDES) { + return function ($this, el, fromIndex) { + var O = toIObject($this); + var length = toLength(O.length); + var index = toAbsoluteIndex(fromIndex, length); + var value; + // Array#includes uses SameValueZero equality algorithm + // eslint-disable-next-line no-self-compare + if (IS_INCLUDES && el != el) while (length > index) { + value = O[index++]; + // eslint-disable-next-line no-self-compare + if (value != value) return true; + // Array#indexOf ignores holes, Array#includes - not + } else for (;length > index; index++) if (IS_INCLUDES || index in O) { + if (O[index] === el) return IS_INCLUDES || index || 0; + } return !IS_INCLUDES && -1; + }; + }; + + +/***/ }), +/* 38 */ +/***/ (function(module, exports, __webpack_require__) { + + // 7.1.15 ToLength + var toInteger = __webpack_require__(39); + var min = Math.min; + module.exports = function (it) { + return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 + }; + + +/***/ }), +/* 39 */ +/***/ (function(module, exports) { + + // 7.1.4 ToInteger + var ceil = Math.ceil; + var floor = Math.floor; + module.exports = function (it) { + return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); + }; + + +/***/ }), +/* 40 */ +/***/ (function(module, exports, __webpack_require__) { + + var toInteger = __webpack_require__(39); + var max = Math.max; + var min = Math.min; + module.exports = function (index, length) { + index = toInteger(index); + return index < 0 ? max(index + length, 0) : min(index, length); + }; + + +/***/ }), +/* 41 */ +/***/ (function(module, exports, __webpack_require__) { + + var shared = __webpack_require__(21)('keys'); + var uid = __webpack_require__(19); + module.exports = function (key) { + return shared[key] || (shared[key] = uid(key)); + }; + + +/***/ }), +/* 42 */ +/***/ (function(module, exports) { + + // IE 8- don't enum bug keys + module.exports = ( + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' + ).split(','); + + +/***/ }), +/* 43 */ +/***/ (function(module, exports) { + + exports.f = Object.getOwnPropertySymbols; + + +/***/ }), +/* 44 */ +/***/ (function(module, exports) { + + exports.f = {}.propertyIsEnumerable; + + +/***/ }), +/* 45 */ +/***/ (function(module, exports, __webpack_require__) { + + // 7.2.2 IsArray(argument) + var cof = __webpack_require__(35); + module.exports = Array.isArray || function isArray(arg) { + return cof(arg) == 'Array'; + }; + + +/***/ }), +/* 46 */ +/***/ (function(module, exports, __webpack_require__) { + + // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) + var anObject = __webpack_require__(12); + var dPs = __webpack_require__(47); + var enumBugKeys = __webpack_require__(42); + var IE_PROTO = __webpack_require__(41)('IE_PROTO'); + var Empty = function () { /* empty */ }; + 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__(15)('iframe'); + var i = enumBugKeys.length; + var lt = '<'; + var gt = '>'; + var iframeDocument; + iframe.style.display = 'none'; + __webpack_require__(48).appendChild(iframe); + 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); + iframeDocument.close(); + createDict = iframeDocument.F; + while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; + return createDict(); + }; + + module.exports = Object.create || function create(O, Properties) { + var result; + if (O !== null) { + Empty[PROTOTYPE] = anObject(O); + result = new Empty(); + Empty[PROTOTYPE] = null; + // add "__proto__" for Object.getPrototypeOf polyfill + result[IE_PROTO] = O; + } else result = createDict(); + return Properties === undefined ? result : dPs(result, Properties); + }; + + +/***/ }), +/* 47 */ +/***/ (function(module, exports, __webpack_require__) { + + var dP = __webpack_require__(11); + var anObject = __webpack_require__(12); + var getKeys = __webpack_require__(31); + + module.exports = __webpack_require__(6) ? Object.defineProperties : function defineProperties(O, Properties) { + anObject(O); + var keys = getKeys(Properties); + var length = keys.length; + var i = 0; + var P; + while (length > i) dP.f(O, P = keys[i++], Properties[P]); + return O; + }; + + +/***/ }), +/* 48 */ +/***/ (function(module, exports, __webpack_require__) { + + var document = __webpack_require__(4).document; + module.exports = document && document.documentElement; + + +/***/ }), +/* 49 */ +/***/ (function(module, exports, __webpack_require__) { + + // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window + var toIObject = __webpack_require__(33); + var gOPN = __webpack_require__(50).f; + var toString = {}.toString; + + var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames + ? Object.getOwnPropertyNames(window) : []; + + var getWindowNames = function (it) { + try { + return gOPN(it); + } catch (e) { + return windowNames.slice(); + } + }; + + module.exports.f = function getOwnPropertyNames(it) { + return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); + }; + + +/***/ }), +/* 50 */ +/***/ (function(module, exports, __webpack_require__) { + + // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) + var $keys = __webpack_require__(32); + var hiddenKeys = __webpack_require__(42).concat('length', 'prototype'); + + exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return $keys(O, hiddenKeys); + }; + + +/***/ }), +/* 51 */ +/***/ (function(module, exports, __webpack_require__) { + + var pIE = __webpack_require__(44); + var createDesc = __webpack_require__(17); + var toIObject = __webpack_require__(33); + var toPrimitive = __webpack_require__(16); + var has = __webpack_require__(5); + var IE8_DOM_DEFINE = __webpack_require__(14); + var gOPD = Object.getOwnPropertyDescriptor; + + exports.f = __webpack_require__(6) ? gOPD : function getOwnPropertyDescriptor(O, P) { + O = toIObject(O); + P = toPrimitive(P, true); + if (IE8_DOM_DEFINE) try { + return gOPD(O, P); + } catch (e) { /* empty */ } + if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); + }; + + +/***/ }), +/* 52 */ +/***/ (function(module, exports, __webpack_require__) { + + var $export = __webpack_require__(8); + // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) + $export($export.S, 'Object', { create: __webpack_require__(46) }); + + +/***/ }), +/* 53 */ +/***/ (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', { defineProperty: __webpack_require__(11).f }); + + +/***/ }), +/* 54 */ +/***/ (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', { defineProperties: __webpack_require__(47) }); + + +/***/ }), +/* 55 */ +/***/ (function(module, exports, __webpack_require__) { + + // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) + var toIObject = __webpack_require__(33); + var $getOwnPropertyDescriptor = __webpack_require__(51).f; + + __webpack_require__(56)('getOwnPropertyDescriptor', function () { + return function getOwnPropertyDescriptor(it, key) { + return $getOwnPropertyDescriptor(toIObject(it), key); + }; + }); + + +/***/ }), +/* 56 */ +/***/ (function(module, exports, __webpack_require__) { + + // most Object methods by ES6 should accept primitives + var $export = __webpack_require__(8); + var core = __webpack_require__(9); + var fails = __webpack_require__(7); + module.exports = function (KEY, exec) { + var fn = (core.Object || {})[KEY] || Object[KEY]; + var exp = {}; exp[KEY] = exec(fn); $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); }; /***/ }), -/* 56 */ +/* 57 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.9 Object.getPrototypeOf(O) - var toObject = __webpack_require__(57); - var $getPrototypeOf = __webpack_require__(58); + var toObject = __webpack_require__(58); + var $getPrototypeOf = __webpack_require__(59); - __webpack_require__(55)('getPrototypeOf', function () { + __webpack_require__(56)('getPrototypeOf', function () { return function getPrototypeOf(it) { return $getPrototypeOf(toObject(it)); }; @@ -675,18 +1411,44 @@ /***/ }), -/* 57 */ -[873, 35], /* 58 */ -[874, 5, 57, 40], +/***/ (function(module, exports, __webpack_require__) { + + // 7.1.13 ToObject(argument) + var defined = __webpack_require__(36); + module.exports = function (it) { + return Object(defined(it)); + }; + + +/***/ }), /* 59 */ +/***/ (function(module, exports, __webpack_require__) { + + // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) + var has = __webpack_require__(5); + var toObject = __webpack_require__(58); + var IE_PROTO = __webpack_require__(41)('IE_PROTO'); + var ObjectProto = Object.prototype; + + module.exports = Object.getPrototypeOf || function (O) { + O = toObject(O); + if (has(O, IE_PROTO)) return O[IE_PROTO]; + if (typeof O.constructor == 'function' && O instanceof O.constructor) { + return O.constructor.prototype; + } return O instanceof Object ? ObjectProto : null; + }; + + +/***/ }), +/* 60 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.14 Object.keys(O) - var toObject = __webpack_require__(57); - var $keys = __webpack_require__(30); + var toObject = __webpack_require__(58); + var $keys = __webpack_require__(31); - __webpack_require__(55)('keys', function () { + __webpack_require__(56)('keys', function () { return function keys(it) { return $keys(toObject(it)); }; @@ -694,24 +1456,24 @@ /***/ }), -/* 60 */ +/* 61 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.7 Object.getOwnPropertyNames(O) - __webpack_require__(55)('getOwnPropertyNames', function () { - return __webpack_require__(48).f; + __webpack_require__(56)('getOwnPropertyNames', function () { + return __webpack_require__(49).f; }); /***/ }), -/* 61 */ +/* 62 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.5 Object.freeze(O) var isObject = __webpack_require__(13); - var meta = __webpack_require__(22).onFreeze; + var meta = __webpack_require__(25).onFreeze; - __webpack_require__(55)('freeze', function ($freeze) { + __webpack_require__(56)('freeze', function ($freeze) { return function freeze(it) { return $freeze && isObject(it) ? $freeze(meta(it)) : it; }; @@ -719,14 +1481,14 @@ /***/ }), -/* 62 */ +/* 63 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.17 Object.seal(O) var isObject = __webpack_require__(13); - var meta = __webpack_require__(22).onFreeze; + var meta = __webpack_require__(25).onFreeze; - __webpack_require__(55)('seal', function ($seal) { + __webpack_require__(56)('seal', function ($seal) { return function seal(it) { return $seal && isObject(it) ? $seal(meta(it)) : it; }; @@ -734,14 +1496,14 @@ /***/ }), -/* 63 */ +/* 64 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.15 Object.preventExtensions(O) var isObject = __webpack_require__(13); - var meta = __webpack_require__(22).onFreeze; + var meta = __webpack_require__(25).onFreeze; - __webpack_require__(55)('preventExtensions', function ($preventExtensions) { + __webpack_require__(56)('preventExtensions', function ($preventExtensions) { return function preventExtensions(it) { return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it; }; @@ -749,13 +1511,13 @@ /***/ }), -/* 64 */ +/* 65 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.12 Object.isFrozen(O) var isObject = __webpack_require__(13); - __webpack_require__(55)('isFrozen', function ($isFrozen) { + __webpack_require__(56)('isFrozen', function ($isFrozen) { return function isFrozen(it) { return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true; }; @@ -763,13 +1525,13 @@ /***/ }), -/* 65 */ +/* 66 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.13 Object.isSealed(O) var isObject = __webpack_require__(13); - __webpack_require__(55)('isSealed', function ($isSealed) { + __webpack_require__(56)('isSealed', function ($isSealed) { return function isSealed(it) { return isObject(it) ? $isSealed ? $isSealed(it) : false : true; }; @@ -777,13 +1539,13 @@ /***/ }), -/* 66 */ +/* 67 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.11 Object.isExtensible(O) var isObject = __webpack_require__(13); - __webpack_require__(55)('isExtensible', function ($isExtensible) { + __webpack_require__(56)('isExtensible', function ($isExtensible) { return function isExtensible(it) { return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false; }; @@ -791,20 +1553,66 @@ /***/ }), -/* 67 */ -[875, 8, 68], /* 68 */ -[876, 30, 42, 43, 57, 33, 7], +/***/ (function(module, exports, __webpack_require__) { + + // 19.1.3.1 Object.assign(target, source) + var $export = __webpack_require__(8); + + $export($export.S + $export.F, 'Object', { assign: __webpack_require__(69) }); + + +/***/ }), /* 69 */ +/***/ (function(module, exports, __webpack_require__) { + + 'use strict'; + // 19.1.2.1 Object.assign(target, source, ...) + var getKeys = __webpack_require__(31); + var gOPS = __webpack_require__(43); + var pIE = __webpack_require__(44); + var toObject = __webpack_require__(58); + var IObject = __webpack_require__(34); + var $assign = Object.assign; + + // should work with symbols and should have deterministic property order (V8 bug) + module.exports = !$assign || __webpack_require__(7)(function () { + var A = {}; + var B = {}; + // eslint-disable-next-line no-undef + var S = Symbol(); + var K = 'abcdefghijklmnopqrst'; + A[S] = 7; + K.split('').forEach(function (k) { B[k] = k; }); + return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; + }) ? function assign(target, source) { // eslint-disable-line no-unused-vars + var T = toObject(target); + var aLen = arguments.length; + var index = 1; + var getSymbols = gOPS.f; + var isEnum = pIE.f; + while (aLen > index) { + var S = IObject(arguments[index++]); + var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); + var length = keys.length; + var j = 0; + var key; + while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key]; + } return T; + } : $assign; + + +/***/ }), +/* 70 */ /***/ (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__(71) }); /***/ }), -/* 70 */ +/* 71 */ /***/ (function(module, exports) { // 7.2.9 SameValue(x, y) @@ -815,18 +1623,54 @@ /***/ }), -/* 71 */ -[877, 8, 72], /* 72 */ -[878, 13, 12, 20, 50], +/***/ (function(module, exports, __webpack_require__) { + + // 19.1.3.19 Object.setPrototypeOf(O, proto) + var $export = __webpack_require__(8); + $export($export.S, 'Object', { setPrototypeOf: __webpack_require__(73).set }); + + +/***/ }), /* 73 */ +/***/ (function(module, exports, __webpack_require__) { + + // Works with __proto__ only. Old v8 can't work with null proto objects. + /* eslint-disable no-proto */ + var isObject = __webpack_require__(13); + var anObject = __webpack_require__(12); + var check = function (O, proto) { + anObject(O); + if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); + }; + module.exports = { + set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line + function (test, buggy, set) { + try { + set = __webpack_require__(23)(Function.call, __webpack_require__(51).f(Object.prototype, '__proto__').set, 2); + set(test, []); + buggy = !(test instanceof Array); + } catch (e) { buggy = true; } + return function setPrototypeOf(O, proto) { + check(O, proto); + if (buggy) O.__proto__ = proto; + else set(O, proto); + return O; + }; + }({}, false) : undefined), + check: check + }; + + +/***/ }), +/* 74 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // 19.1.3.6 Object.prototype.toString() - var classof = __webpack_require__(74); + var classof = __webpack_require__(75); var test = {}; - test[__webpack_require__(25)('toStringTag')] = 'z'; + test[__webpack_require__(27)('toStringTag')] = 'z'; if (test + '' != '[object z]') { __webpack_require__(18)(Object.prototype, 'toString', function toString() { return '[object ' + classof(this) + ']'; @@ -835,12 +1679,12 @@ /***/ }), -/* 74 */ +/* 75 */ /***/ (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 cof = __webpack_require__(35); + var TAG = __webpack_require__(27)('toStringTag'); // ES3 wrong here var ARG = cof(function () { return arguments; }()) == 'Arguments'; @@ -864,23 +1708,23 @@ /***/ }), -/* 75 */ +/* 76 */ /***/ (function(module, exports, __webpack_require__) { // 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__(77) }); /***/ }), -/* 76 */ +/* 77 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; - var aFunction = __webpack_require__(21); + var aFunction = __webpack_require__(24); var isObject = __webpack_require__(13); - var invoke = __webpack_require__(77); + var invoke = __webpack_require__(78); var arraySlice = [].slice; var factories = {}; @@ -905,7 +1749,7 @@ /***/ }), -/* 77 */ +/* 78 */ /***/ (function(module, exports) { // fast apply, http://jsperf.lnkit.com/fast-apply/5 @@ -927,7 +1771,7 @@ /***/ }), -/* 78 */ +/* 79 */ /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__(11).f; @@ -949,13 +1793,13 @@ /***/ }), -/* 79 */ +/* 80 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var isObject = __webpack_require__(13); - var getPrototypeOf = __webpack_require__(58); - var HAS_INSTANCE = __webpack_require__(25)('hasInstance'); + var getPrototypeOf = __webpack_require__(59); + var HAS_INSTANCE = __webpack_require__(27)('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) { @@ -968,22 +1812,22 @@ /***/ }), -/* 80 */ +/* 81 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); - var $parseInt = __webpack_require__(81); + var $parseInt = __webpack_require__(82); // 18.2.5 parseInt(string, radix) $export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt }); /***/ }), -/* 81 */ +/* 82 */ /***/ (function(module, exports, __webpack_require__) { var $parseInt = __webpack_require__(4).parseInt; - var $trim = __webpack_require__(82).trim; - var ws = __webpack_require__(83); + var $trim = __webpack_require__(83).trim; + var ws = __webpack_require__(84); var hex = /^[-+]?0[xX]/; module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) { @@ -993,13 +1837,13 @@ /***/ }), -/* 82 */ +/* 83 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); - var defined = __webpack_require__(35); + var defined = __webpack_require__(36); var fails = __webpack_require__(7); - var spaces = __webpack_require__(83); + var spaces = __webpack_require__(84); var space = '[' + spaces + ']'; var non = '\u200b\u0085'; var ltrim = RegExp('^' + space + space + '*'); @@ -1029,7 +1873,7 @@ /***/ }), -/* 83 */ +/* 84 */ /***/ (function(module, exports) { module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + @@ -1037,23 +1881,23 @@ /***/ }), -/* 84 */ +/* 85 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); - var $parseFloat = __webpack_require__(85); + var $parseFloat = __webpack_require__(86); // 18.2.4 parseFloat(string) $export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat }); /***/ }), -/* 85 */ +/* 86 */ /***/ (function(module, exports, __webpack_require__) { var $parseFloat = __webpack_require__(4).parseFloat; - var $trim = __webpack_require__(82).trim; + var $trim = __webpack_require__(83).trim; - module.exports = 1 / $parseFloat(__webpack_require__(83) + '-0') !== -Infinity ? function parseFloat(str) { + module.exports = 1 / $parseFloat(__webpack_require__(84) + '-0') !== -Infinity ? function parseFloat(str) { var string = $trim(String(str), 3); var result = $parseFloat(string); return result === 0 && string.charAt(0) == '-' ? -0 : result; @@ -1061,26 +1905,26 @@ /***/ }), -/* 86 */ +/* 87 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var global = __webpack_require__(4); var has = __webpack_require__(5); - var cof = __webpack_require__(34); - var inheritIfRequired = __webpack_require__(87); + var cof = __webpack_require__(35); + var inheritIfRequired = __webpack_require__(88); var toPrimitive = __webpack_require__(16); var fails = __webpack_require__(7); - var gOPN = __webpack_require__(49).f; - var gOPD = __webpack_require__(50).f; + var gOPN = __webpack_require__(50).f; + var gOPD = __webpack_require__(51).f; var dP = __webpack_require__(11).f; - var $trim = __webpack_require__(82).trim; + var $trim = __webpack_require__(83).trim; 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 BROKEN_COF = cof(__webpack_require__(46)(proto)) == NUMBER; var TRIM = 'trim' in String.prototype; // 7.1.3 ToNumber(argument) @@ -1136,11 +1980,11 @@ /***/ }), -/* 87 */ +/* 88 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(13); - var setPrototypeOf = __webpack_require__(72).set; + var setPrototypeOf = __webpack_require__(73).set; module.exports = function (that, target, C) { var S = target.constructor; var P; @@ -1151,14 +1995,14 @@ /***/ }), -/* 88 */ +/* 89 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var toInteger = __webpack_require__(38); - var aNumberValue = __webpack_require__(89); - var repeat = __webpack_require__(90); + var toInteger = __webpack_require__(39); + var aNumberValue = __webpack_require__(90); + var repeat = __webpack_require__(91); var $toFixed = 1.0.toFixed; var floor = Math.floor; var data = [0, 0, 0, 0, 0, 0]; @@ -1271,10 +2115,10 @@ /***/ }), -/* 89 */ +/* 90 */ /***/ (function(module, exports, __webpack_require__) { - var cof = __webpack_require__(34); + var cof = __webpack_require__(35); module.exports = function (it, msg) { if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg); return +it; @@ -1282,12 +2126,12 @@ /***/ }), -/* 90 */ +/* 91 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; - var toInteger = __webpack_require__(38); - var defined = __webpack_require__(35); + var toInteger = __webpack_require__(39); + var defined = __webpack_require__(36); module.exports = function repeat(count) { var str = String(defined(this)); @@ -1300,13 +2144,13 @@ /***/ }), -/* 91 */ +/* 92 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var $fails = __webpack_require__(7); - var aNumberValue = __webpack_require__(89); + var aNumberValue = __webpack_require__(90); var $toPrecision = 1.0.toPrecision; $export($export.P + $export.F * ($fails(function () { @@ -1324,7 +2168,7 @@ /***/ }), -/* 92 */ +/* 93 */ /***/ (function(module, exports, __webpack_require__) { // 20.1.2.1 Number.EPSILON @@ -1334,7 +2178,7 @@ /***/ }), -/* 93 */ +/* 94 */ /***/ (function(module, exports, __webpack_require__) { // 20.1.2.2 Number.isFinite(number) @@ -1349,17 +2193,17 @@ /***/ }), -/* 94 */ +/* 95 */ /***/ (function(module, exports, __webpack_require__) { // 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__(96) }); /***/ }), -/* 95 */ +/* 96 */ /***/ (function(module, exports, __webpack_require__) { // 20.1.2.3 Number.isInteger(number) @@ -1371,7 +2215,7 @@ /***/ }), -/* 96 */ +/* 97 */ /***/ (function(module, exports, __webpack_require__) { // 20.1.2.4 Number.isNaN(number) @@ -1386,12 +2230,12 @@ /***/ }), -/* 97 */ +/* 98 */ /***/ (function(module, exports, __webpack_require__) { // 20.1.2.5 Number.isSafeInteger(number) var $export = __webpack_require__(8); - var isInteger = __webpack_require__(95); + var isInteger = __webpack_require__(96); var abs = Math.abs; $export($export.S, 'Number', { @@ -1402,7 +2246,7 @@ /***/ }), -/* 98 */ +/* 99 */ /***/ (function(module, exports, __webpack_require__) { // 20.1.2.6 Number.MAX_SAFE_INTEGER @@ -1412,7 +2256,7 @@ /***/ }), -/* 99 */ +/* 100 */ /***/ (function(module, exports, __webpack_require__) { // 20.1.2.10 Number.MIN_SAFE_INTEGER @@ -1422,32 +2266,32 @@ /***/ }), -/* 100 */ +/* 101 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); - var $parseFloat = __webpack_require__(85); + var $parseFloat = __webpack_require__(86); // 20.1.2.12 Number.parseFloat(string) $export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat }); /***/ }), -/* 101 */ +/* 102 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); - var $parseInt = __webpack_require__(81); + var $parseInt = __webpack_require__(82); // 20.1.2.13 Number.parseInt(string, radix) $export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt }); /***/ }), -/* 102 */ +/* 103 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.3 Math.acosh(x) var $export = __webpack_require__(8); - var log1p = __webpack_require__(103); + var log1p = __webpack_require__(104); var sqrt = Math.sqrt; var $acosh = Math.acosh; @@ -1466,7 +2310,7 @@ /***/ }), -/* 103 */ +/* 104 */ /***/ (function(module, exports) { // 20.2.2.20 Math.log1p(x) @@ -1476,7 +2320,7 @@ /***/ }), -/* 104 */ +/* 105 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.5 Math.asinh(x) @@ -1492,7 +2336,7 @@ /***/ }), -/* 105 */ +/* 106 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.7 Math.atanh(x) @@ -1508,12 +2352,12 @@ /***/ }), -/* 106 */ +/* 107 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.9 Math.cbrt(x) var $export = __webpack_require__(8); - var sign = __webpack_require__(107); + var sign = __webpack_require__(108); $export($export.S, 'Math', { cbrt: function cbrt(x) { @@ -1523,7 +2367,7 @@ /***/ }), -/* 107 */ +/* 108 */ /***/ (function(module, exports) { // 20.2.2.28 Math.sign(x) @@ -1534,7 +2378,7 @@ /***/ }), -/* 108 */ +/* 109 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.11 Math.clz32(x) @@ -1548,7 +2392,7 @@ /***/ }), -/* 109 */ +/* 110 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.12 Math.cosh(x) @@ -1563,18 +2407,18 @@ /***/ }), -/* 110 */ +/* 111 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.14 Math.expm1(x) var $export = __webpack_require__(8); - var $expm1 = __webpack_require__(111); + var $expm1 = __webpack_require__(112); $export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 }); /***/ }), -/* 111 */ +/* 112 */ /***/ (function(module, exports) { // 20.2.2.14 Math.expm1(x) @@ -1590,21 +2434,21 @@ /***/ }), -/* 112 */ +/* 113 */ /***/ (function(module, exports, __webpack_require__) { // 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__(114) }); /***/ }), -/* 113 */ +/* 114 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.16 Math.fround(x) - var sign = __webpack_require__(107); + var sign = __webpack_require__(108); var pow = Math.pow; var EPSILON = pow(2, -52); var EPSILON32 = pow(2, -23); @@ -1629,7 +2473,7 @@ /***/ }), -/* 114 */ +/* 115 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.17 Math.hypot([value1[, value2[, … ]]]) @@ -1660,7 +2504,7 @@ /***/ }), -/* 115 */ +/* 116 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.18 Math.imul(x, y) @@ -1683,7 +2527,7 @@ /***/ }), -/* 116 */ +/* 117 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.21 Math.log10(x) @@ -1697,17 +2541,17 @@ /***/ }), -/* 117 */ +/* 118 */ /***/ (function(module, exports, __webpack_require__) { // 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__(104) }); /***/ }), -/* 118 */ +/* 119 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.22 Math.log2(x) @@ -1721,22 +2565,22 @@ /***/ }), -/* 119 */ +/* 120 */ /***/ (function(module, exports, __webpack_require__) { // 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__(108) }); /***/ }), -/* 120 */ +/* 121 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.30 Math.sinh(x) var $export = __webpack_require__(8); - var expm1 = __webpack_require__(111); + var expm1 = __webpack_require__(112); var exp = Math.exp; // V8 near Chromium 38 has a problem with very small numbers @@ -1752,12 +2596,12 @@ /***/ }), -/* 121 */ +/* 122 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.33 Math.tanh(x) var $export = __webpack_require__(8); - var expm1 = __webpack_require__(111); + var expm1 = __webpack_require__(112); var exp = Math.exp; $export($export.S, 'Math', { @@ -1770,7 +2614,7 @@ /***/ }), -/* 122 */ +/* 123 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.34 Math.trunc(x) @@ -1784,11 +2628,11 @@ /***/ }), -/* 123 */ +/* 124 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); - var toAbsoluteIndex = __webpack_require__(39); + var toAbsoluteIndex = __webpack_require__(40); var fromCharCode = String.fromCharCode; var $fromCodePoint = String.fromCodePoint; @@ -1813,12 +2657,12 @@ /***/ }), -/* 124 */ +/* 125 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); - var toIObject = __webpack_require__(32); - var toLength = __webpack_require__(37); + var toIObject = __webpack_require__(33); + var toLength = __webpack_require__(38); $export($export.S, 'String', { // 21.1.2.4 String.raw(callSite, ...substitutions) @@ -1837,12 +2681,12 @@ /***/ }), -/* 125 */ +/* 126 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // 21.1.3.25 String.prototype.trim() - __webpack_require__(82)('trim', function ($trim) { + __webpack_require__(83)('trim', function ($trim) { return function trim() { return $trim(this, 3); }; @@ -1850,27 +2694,159 @@ /***/ }), -/* 126 */ -[879, 127, 128], /* 127 */ -[880, 38, 35], +/***/ (function(module, exports, __webpack_require__) { + + 'use strict'; + var $at = __webpack_require__(128)(true); + + // 21.1.3.27 String.prototype[@@iterator]() + __webpack_require__(129)(String, 'String', function (iterated) { + this._t = String(iterated); // target + this._i = 0; // next index + // 21.1.5.2.1 %StringIteratorPrototype%.next() + }, function () { + var O = this._t; + var index = this._i; + var point; + if (index >= O.length) return { value: undefined, done: true }; + point = $at(O, index); + this._i += point.length; + return { value: point, done: false }; + }); + + +/***/ }), /* 128 */ -[881, 28, 8, 18, 10, 5, 129, 130, 24, 58, 25], +/***/ (function(module, exports, __webpack_require__) { + + var toInteger = __webpack_require__(39); + var defined = __webpack_require__(36); + // true -> String#at + // false -> String#codePointAt + module.exports = function (TO_STRING) { + return function (that, pos) { + var s = String(defined(that)); + var i = toInteger(pos); + var l = s.length; + var a, b; + 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.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; + }; + }; + + +/***/ }), /* 129 */ +/***/ (function(module, exports, __webpack_require__) { + + 'use strict'; + var LIBRARY = __webpack_require__(22); + var $export = __webpack_require__(8); + var redefine = __webpack_require__(18); + var hide = __webpack_require__(10); + var Iterators = __webpack_require__(130); + var $iterCreate = __webpack_require__(131); + var setToStringTag = __webpack_require__(26); + var getPrototypeOf = __webpack_require__(59); + var ITERATOR = __webpack_require__(27)('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; }; + + module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { + $iterCreate(Constructor, NAME, next); + var getMethod = function (kind) { + if (!BUGGY && kind in proto) return proto[kind]; + switch (kind) { + case KEYS: return function keys() { return new Constructor(this, kind); }; + case VALUES: return function values() { return new Constructor(this, kind); }; + } return function entries() { return new Constructor(this, kind); }; + }; + var TAG = NAME + ' Iterator'; + var DEF_VALUES = DEFAULT == VALUES; + var VALUES_BUG = false; + var proto = Base.prototype; + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; + var $default = $native || getMethod(DEFAULT); + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; + var methods, key, IteratorPrototype; + // Fix native + if ($anyNative) { + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { + // Set @@toStringTag to native iterators + setToStringTag(IteratorPrototype, TAG, true); + // fix for some old engines + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); + } + } + // fix Array#{values, @@iterator}.name in V8 / FF + if (DEF_VALUES && $native && $native.name !== VALUES) { + VALUES_BUG = true; + $default = function values() { return $native.call(this); }; + } + // Define iterator + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { + hide(proto, ITERATOR, $default); + } + // Plug for library + Iterators[NAME] = $default; + Iterators[TAG] = returnThis; + if (DEFAULT) { + methods = { + values: DEF_VALUES ? $default : getMethod(VALUES), + keys: IS_SET ? $default : getMethod(KEYS), + entries: $entries + }; + if (FORCED) for (key in methods) { + if (!(key in proto)) redefine(proto, key, methods[key]); + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); + } + return methods; + }; + + +/***/ }), +/* 130 */ /***/ (function(module, exports) { module.exports = {}; /***/ }), -/* 130 */ -[882, 45, 17, 24, 10, 25], /* 131 */ +/***/ (function(module, exports, __webpack_require__) { + + 'use strict'; + var create = __webpack_require__(46); + var descriptor = __webpack_require__(17); + var setToStringTag = __webpack_require__(26); + var IteratorPrototype = {}; + + // 25.1.2.1.1 %IteratorPrototype%[@@iterator]() + __webpack_require__(10)(IteratorPrototype, __webpack_require__(27)('iterator'), function () { return this; }); + + module.exports = function (Constructor, NAME, next) { + Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); + setToStringTag(Constructor, NAME + ' Iterator'); + }; + + +/***/ }), +/* 132 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var $at = __webpack_require__(127)(false); + var $at = __webpack_require__(128)(false); $export($export.P, 'String', { // 21.1.3.3 String.prototype.codePointAt(pos) codePointAt: function codePointAt(pos) { @@ -1880,18 +2856,18 @@ /***/ }), -/* 132 */ +/* 133 */ /***/ (function(module, exports, __webpack_require__) { // 21.1.3.6 String.prototype.endsWith(searchString [, endPosition]) 'use strict'; var $export = __webpack_require__(8); - var toLength = __webpack_require__(37); - var context = __webpack_require__(133); + var toLength = __webpack_require__(38); + var context = __webpack_require__(134); var ENDS_WITH = 'endsWith'; var $endsWith = ''[ENDS_WITH]; - $export($export.P + $export.F * __webpack_require__(135)(ENDS_WITH), 'String', { + $export($export.P + $export.F * __webpack_require__(136)(ENDS_WITH), 'String', { endsWith: function endsWith(searchString /* , endPosition = @length */) { var that = context(this, searchString, ENDS_WITH); var endPosition = arguments.length > 1 ? arguments[1] : undefined; @@ -1906,12 +2882,12 @@ /***/ }), -/* 133 */ +/* 134 */ /***/ (function(module, exports, __webpack_require__) { // helper for String#{startsWith, endsWith, includes} - var isRegExp = __webpack_require__(134); - var defined = __webpack_require__(35); + var isRegExp = __webpack_require__(135); + var defined = __webpack_require__(36); module.exports = function (that, searchString, NAME) { if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!"); @@ -1920,13 +2896,13 @@ /***/ }), -/* 134 */ +/* 135 */ /***/ (function(module, exports, __webpack_require__) { // 7.2.8 IsRegExp(argument) var isObject = __webpack_require__(13); - var cof = __webpack_require__(34); - var MATCH = __webpack_require__(25)('match'); + var cof = __webpack_require__(35); + var MATCH = __webpack_require__(27)('match'); module.exports = function (it) { var isRegExp; return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); @@ -1934,10 +2910,10 @@ /***/ }), -/* 135 */ +/* 136 */ /***/ (function(module, exports, __webpack_require__) { - var MATCH = __webpack_require__(25)('match'); + var MATCH = __webpack_require__(27)('match'); module.exports = function (KEY) { var re = /./; try { @@ -1952,16 +2928,16 @@ /***/ }), -/* 136 */ +/* 137 */ /***/ (function(module, exports, __webpack_require__) { // 21.1.3.7 String.prototype.includes(searchString, position = 0) 'use strict'; var $export = __webpack_require__(8); - var context = __webpack_require__(133); + var context = __webpack_require__(134); var INCLUDES = 'includes'; - $export($export.P + $export.F * __webpack_require__(135)(INCLUDES), 'String', { + $export($export.P + $export.F * __webpack_require__(136)(INCLUDES), 'String', { includes: function includes(searchString /* , position = 0 */) { return !!~context(this, searchString, INCLUDES) .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); @@ -1970,30 +2946,30 @@ /***/ }), -/* 137 */ +/* 138 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); $export($export.P, 'String', { // 21.1.3.13 String.prototype.repeat(count) - repeat: __webpack_require__(90) + repeat: __webpack_require__(91) }); /***/ }), -/* 138 */ +/* 139 */ /***/ (function(module, exports, __webpack_require__) { // 21.1.3.18 String.prototype.startsWith(searchString [, position ]) 'use strict'; var $export = __webpack_require__(8); - var toLength = __webpack_require__(37); - var context = __webpack_require__(133); + var toLength = __webpack_require__(38); + var context = __webpack_require__(134); var STARTS_WITH = 'startsWith'; var $startsWith = ''[STARTS_WITH]; - $export($export.P + $export.F * __webpack_require__(135)(STARTS_WITH), 'String', { + $export($export.P + $export.F * __webpack_require__(136)(STARTS_WITH), 'String', { startsWith: function startsWith(searchString /* , position = 0 */) { var that = context(this, searchString, STARTS_WITH); var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length)); @@ -2006,12 +2982,12 @@ /***/ }), -/* 139 */ +/* 140 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.2 String.prototype.anchor(name) - __webpack_require__(140)('anchor', function (createHTML) { + __webpack_require__(141)('anchor', function (createHTML) { return function anchor(name) { return createHTML(this, 'a', 'name', name); }; @@ -2019,12 +2995,12 @@ /***/ }), -/* 140 */ +/* 141 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); var fails = __webpack_require__(7); - var defined = __webpack_require__(35); + var defined = __webpack_require__(36); var quot = /"/g; // B.2.3.2.1 CreateHTML(string, tag, attribute, value) var createHTML = function (string, tag, attribute, value) { @@ -2044,12 +3020,12 @@ /***/ }), -/* 141 */ +/* 142 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.3 String.prototype.big() - __webpack_require__(140)('big', function (createHTML) { + __webpack_require__(141)('big', function (createHTML) { return function big() { return createHTML(this, 'big', '', ''); }; @@ -2057,12 +3033,12 @@ /***/ }), -/* 142 */ +/* 143 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.4 String.prototype.blink() - __webpack_require__(140)('blink', function (createHTML) { + __webpack_require__(141)('blink', function (createHTML) { return function blink() { return createHTML(this, 'blink', '', ''); }; @@ -2070,12 +3046,12 @@ /***/ }), -/* 143 */ +/* 144 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.5 String.prototype.bold() - __webpack_require__(140)('bold', function (createHTML) { + __webpack_require__(141)('bold', function (createHTML) { return function bold() { return createHTML(this, 'b', '', ''); }; @@ -2083,12 +3059,12 @@ /***/ }), -/* 144 */ +/* 145 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.6 String.prototype.fixed() - __webpack_require__(140)('fixed', function (createHTML) { + __webpack_require__(141)('fixed', function (createHTML) { return function fixed() { return createHTML(this, 'tt', '', ''); }; @@ -2096,12 +3072,12 @@ /***/ }), -/* 145 */ +/* 146 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.7 String.prototype.fontcolor(color) - __webpack_require__(140)('fontcolor', function (createHTML) { + __webpack_require__(141)('fontcolor', function (createHTML) { return function fontcolor(color) { return createHTML(this, 'font', 'color', color); }; @@ -2109,12 +3085,12 @@ /***/ }), -/* 146 */ +/* 147 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.8 String.prototype.fontsize(size) - __webpack_require__(140)('fontsize', function (createHTML) { + __webpack_require__(141)('fontsize', function (createHTML) { return function fontsize(size) { return createHTML(this, 'font', 'size', size); }; @@ -2122,12 +3098,12 @@ /***/ }), -/* 147 */ +/* 148 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.9 String.prototype.italics() - __webpack_require__(140)('italics', function (createHTML) { + __webpack_require__(141)('italics', function (createHTML) { return function italics() { return createHTML(this, 'i', '', ''); }; @@ -2135,12 +3111,12 @@ /***/ }), -/* 148 */ +/* 149 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.10 String.prototype.link(url) - __webpack_require__(140)('link', function (createHTML) { + __webpack_require__(141)('link', function (createHTML) { return function link(url) { return createHTML(this, 'a', 'href', url); }; @@ -2148,12 +3124,12 @@ /***/ }), -/* 149 */ +/* 150 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.11 String.prototype.small() - __webpack_require__(140)('small', function (createHTML) { + __webpack_require__(141)('small', function (createHTML) { return function small() { return createHTML(this, 'small', '', ''); }; @@ -2161,12 +3137,12 @@ /***/ }), -/* 150 */ +/* 151 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.12 String.prototype.strike() - __webpack_require__(140)('strike', function (createHTML) { + __webpack_require__(141)('strike', function (createHTML) { return function strike() { return createHTML(this, 'strike', '', ''); }; @@ -2174,12 +3150,12 @@ /***/ }), -/* 151 */ +/* 152 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.13 String.prototype.sub() - __webpack_require__(140)('sub', function (createHTML) { + __webpack_require__(141)('sub', function (createHTML) { return function sub() { return createHTML(this, 'sub', '', ''); }; @@ -2187,12 +3163,12 @@ /***/ }), -/* 152 */ +/* 153 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.14 String.prototype.sup() - __webpack_require__(140)('sup', function (createHTML) { + __webpack_require__(141)('sup', function (createHTML) { return function sup() { return createHTML(this, 'sup', '', ''); }; @@ -2200,7 +3176,7 @@ /***/ }), -/* 153 */ +/* 154 */ /***/ (function(module, exports, __webpack_require__) { // 20.3.3.1 / 15.9.4.4 Date.now() @@ -2210,12 +3186,12 @@ /***/ }), -/* 154 */ +/* 155 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var toObject = __webpack_require__(57); + var toObject = __webpack_require__(58); var toPrimitive = __webpack_require__(16); $export($export.P + $export.F * __webpack_require__(7)(function () { @@ -2232,12 +3208,12 @@ /***/ }), -/* 155 */ +/* 156 */ /***/ (function(module, exports, __webpack_require__) { // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() var $export = __webpack_require__(8); - var toISOString = __webpack_require__(156); + var toISOString = __webpack_require__(157); // PhantomJS / old WebKit has a broken implementations $export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', { @@ -2246,7 +3222,7 @@ /***/ }), -/* 156 */ +/* 157 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -2278,7 +3254,7 @@ /***/ }), -/* 157 */ +/* 158 */ /***/ (function(module, exports, __webpack_require__) { var DateProto = Date.prototype; @@ -2296,17 +3272,17 @@ /***/ }), -/* 158 */ +/* 159 */ /***/ (function(module, exports, __webpack_require__) { - var TO_PRIMITIVE = __webpack_require__(25)('toPrimitive'); + var TO_PRIMITIVE = __webpack_require__(27)('toPrimitive'); var proto = Date.prototype; - if (!(TO_PRIMITIVE in proto)) __webpack_require__(10)(proto, TO_PRIMITIVE, __webpack_require__(159)); + if (!(TO_PRIMITIVE in proto)) __webpack_require__(10)(proto, TO_PRIMITIVE, __webpack_require__(160)); /***/ }), -/* 159 */ +/* 160 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -2321,30 +3297,30 @@ /***/ }), -/* 160 */ +/* 161 */ /***/ (function(module, exports, __webpack_require__) { // 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__(45) }); /***/ }), -/* 161 */ +/* 162 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; - var ctx = __webpack_require__(20); + var ctx = __webpack_require__(23); var $export = __webpack_require__(8); - var toObject = __webpack_require__(57); - var call = __webpack_require__(162); - var isArrayIter = __webpack_require__(163); - var toLength = __webpack_require__(37); - var createProperty = __webpack_require__(164); - var getIterFn = __webpack_require__(165); - - $export($export.S + $export.F * !__webpack_require__(166)(function (iter) { Array.from(iter); }), 'Array', { + var toObject = __webpack_require__(58); + var call = __webpack_require__(163); + var isArrayIter = __webpack_require__(164); + var toLength = __webpack_require__(38); + var createProperty = __webpack_require__(165); + var getIterFn = __webpack_require__(166); + + $export($export.S + $export.F * !__webpack_require__(167)(function (iter) { Array.from(iter); }), 'Array', { // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { var O = toObject(arrayLike); @@ -2374,7 +3350,7 @@ /***/ }), -/* 162 */ +/* 163 */ /***/ (function(module, exports, __webpack_require__) { // call something on iterator step with safe closing on error @@ -2392,12 +3368,12 @@ /***/ }), -/* 163 */ +/* 164 */ /***/ (function(module, exports, __webpack_require__) { // check on default Array iterator - var Iterators = __webpack_require__(129); - var ITERATOR = __webpack_require__(25)('iterator'); + var Iterators = __webpack_require__(130); + var ITERATOR = __webpack_require__(27)('iterator'); var ArrayProto = Array.prototype; module.exports = function (it) { @@ -2406,7 +3382,7 @@ /***/ }), -/* 164 */ +/* 165 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -2420,12 +3396,12 @@ /***/ }), -/* 165 */ +/* 166 */ /***/ (function(module, exports, __webpack_require__) { - var classof = __webpack_require__(74); - var ITERATOR = __webpack_require__(25)('iterator'); - var Iterators = __webpack_require__(129); + var classof = __webpack_require__(75); + var ITERATOR = __webpack_require__(27)('iterator'); + var Iterators = __webpack_require__(130); module.exports = __webpack_require__(9).getIteratorMethod = function (it) { if (it != undefined) return it[ITERATOR] || it['@@iterator'] @@ -2434,10 +3410,10 @@ /***/ }), -/* 166 */ +/* 167 */ /***/ (function(module, exports, __webpack_require__) { - var ITERATOR = __webpack_require__(25)('iterator'); + var ITERATOR = __webpack_require__(27)('iterator'); var SAFE_CLOSING = false; try { @@ -2462,12 +3438,12 @@ /***/ }), -/* 167 */ +/* 168 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var createProperty = __webpack_require__(164); + var createProperty = __webpack_require__(165); // WebKit Array.of isn't generic $export($export.S + $export.F * __webpack_require__(7)(function () { @@ -2487,17 +3463,17 @@ /***/ }), -/* 168 */ +/* 169 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // 22.1.3.13 Array.prototype.join(separator) var $export = __webpack_require__(8); - var toIObject = __webpack_require__(32); + var toIObject = __webpack_require__(33); var arrayJoin = [].join; // fallback for not array-like strings - $export($export.P + $export.F * (__webpack_require__(33) != Object || !__webpack_require__(169)(arrayJoin)), 'Array', { + $export($export.P + $export.F * (__webpack_require__(34) != Object || !__webpack_require__(170)(arrayJoin)), 'Array', { join: function join(separator) { return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator); } @@ -2505,7 +3481,7 @@ /***/ }), -/* 169 */ +/* 170 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -2520,15 +3496,15 @@ /***/ }), -/* 170 */ +/* 171 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var html = __webpack_require__(47); - var cof = __webpack_require__(34); - var toAbsoluteIndex = __webpack_require__(39); - var toLength = __webpack_require__(37); + var html = __webpack_require__(48); + var cof = __webpack_require__(35); + var toAbsoluteIndex = __webpack_require__(40); + var toLength = __webpack_require__(38); var arraySlice = [].slice; // fallback for not array-like ES3 strings and DOM objects @@ -2543,7 +3519,7 @@ 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) @@ -2554,13 +3530,13 @@ /***/ }), -/* 171 */ +/* 172 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var aFunction = __webpack_require__(21); - var toObject = __webpack_require__(57); + var aFunction = __webpack_require__(24); + var toObject = __webpack_require__(58); var fails = __webpack_require__(7); var $sort = [].sort; var test = [1, 2, 3]; @@ -2572,7 +3548,7 @@ // V8 bug test.sort(null); // Old WebKit - }) || !__webpack_require__(169)($sort)), 'Array', { + }) || !__webpack_require__(170)($sort)), 'Array', { // 22.1.3.25 Array.prototype.sort(comparefn) sort: function sort(comparefn) { return comparefn === undefined @@ -2583,13 +3559,13 @@ /***/ }), -/* 172 */ +/* 173 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var $forEach = __webpack_require__(173)(0); - var STRICT = __webpack_require__(169)([].forEach, true); + var $forEach = __webpack_require__(174)(0); + var STRICT = __webpack_require__(170)([].forEach, true); $export($export.P + $export.F * !STRICT, 'Array', { // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg]) @@ -2600,7 +3576,7 @@ /***/ }), -/* 173 */ +/* 174 */ /***/ (function(module, exports, __webpack_require__) { // 0 -> Array#forEach @@ -2610,11 +3586,11 @@ // 4 -> Array#every // 5 -> Array#find // 6 -> Array#findIndex - var ctx = __webpack_require__(20); - var IObject = __webpack_require__(33); - var toObject = __webpack_require__(57); - var toLength = __webpack_require__(37); - var asc = __webpack_require__(174); + var ctx = __webpack_require__(23); + var IObject = __webpack_require__(34); + var toObject = __webpack_require__(58); + var toLength = __webpack_require__(38); + var asc = __webpack_require__(175); module.exports = function (TYPE, $create) { var IS_MAP = TYPE == 1; var IS_FILTER = TYPE == 2; @@ -2650,11 +3626,11 @@ /***/ }), -/* 174 */ +/* 175 */ /***/ (function(module, exports, __webpack_require__) { // 9.4.2.3 ArraySpeciesCreate(originalArray, length) - var speciesConstructor = __webpack_require__(175); + var speciesConstructor = __webpack_require__(176); module.exports = function (original, length) { return new (speciesConstructor(original))(length); @@ -2662,12 +3638,12 @@ /***/ }), -/* 175 */ +/* 176 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(13); - var isArray = __webpack_require__(44); - var SPECIES = __webpack_require__(25)('species'); + var isArray = __webpack_require__(45); + var SPECIES = __webpack_require__(27)('species'); module.exports = function (original) { var C; @@ -2684,14 +3660,14 @@ /***/ }), -/* 176 */ +/* 177 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var $map = __webpack_require__(173)(1); + var $map = __webpack_require__(174)(1); - $export($export.P + $export.F * !__webpack_require__(169)([].map, true), 'Array', { + $export($export.P + $export.F * !__webpack_require__(170)([].map, true), 'Array', { // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg]) map: function map(callbackfn /* , thisArg */) { return $map(this, callbackfn, arguments[1]); @@ -2700,14 +3676,14 @@ /***/ }), -/* 177 */ +/* 178 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var $filter = __webpack_require__(173)(2); + var $filter = __webpack_require__(174)(2); - $export($export.P + $export.F * !__webpack_require__(169)([].filter, true), 'Array', { + $export($export.P + $export.F * !__webpack_require__(170)([].filter, true), 'Array', { // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg]) filter: function filter(callbackfn /* , thisArg */) { return $filter(this, callbackfn, arguments[1]); @@ -2716,14 +3692,14 @@ /***/ }), -/* 178 */ +/* 179 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var $some = __webpack_require__(173)(3); + var $some = __webpack_require__(174)(3); - $export($export.P + $export.F * !__webpack_require__(169)([].some, true), 'Array', { + $export($export.P + $export.F * !__webpack_require__(170)([].some, true), 'Array', { // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg]) some: function some(callbackfn /* , thisArg */) { return $some(this, callbackfn, arguments[1]); @@ -2732,14 +3708,14 @@ /***/ }), -/* 179 */ +/* 180 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var $every = __webpack_require__(173)(4); + var $every = __webpack_require__(174)(4); - $export($export.P + $export.F * !__webpack_require__(169)([].every, true), 'Array', { + $export($export.P + $export.F * !__webpack_require__(170)([].every, true), 'Array', { // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg]) every: function every(callbackfn /* , thisArg */) { return $every(this, callbackfn, arguments[1]); @@ -2748,14 +3724,14 @@ /***/ }), -/* 180 */ +/* 181 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var $reduce = __webpack_require__(181); + var $reduce = __webpack_require__(182); - $export($export.P + $export.F * !__webpack_require__(169)([].reduce, true), 'Array', { + $export($export.P + $export.F * !__webpack_require__(170)([].reduce, true), 'Array', { // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue]) reduce: function reduce(callbackfn /* , initialValue */) { return $reduce(this, callbackfn, arguments.length, arguments[1], false); @@ -2764,13 +3740,13 @@ /***/ }), -/* 181 */ +/* 182 */ /***/ (function(module, exports, __webpack_require__) { - var aFunction = __webpack_require__(21); - var toObject = __webpack_require__(57); - var IObject = __webpack_require__(33); - var toLength = __webpack_require__(37); + var aFunction = __webpack_require__(24); + var toObject = __webpack_require__(58); + var IObject = __webpack_require__(34); + var toLength = __webpack_require__(38); module.exports = function (that, callbackfn, aLen, memo, isRight) { aFunction(callbackfn); @@ -2798,14 +3774,14 @@ /***/ }), -/* 182 */ +/* 183 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var $reduce = __webpack_require__(181); + var $reduce = __webpack_require__(182); - $export($export.P + $export.F * !__webpack_require__(169)([].reduceRight, true), 'Array', { + $export($export.P + $export.F * !__webpack_require__(170)([].reduceRight, true), 'Array', { // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue]) reduceRight: function reduceRight(callbackfn /* , initialValue */) { return $reduce(this, callbackfn, arguments.length, arguments[1], true); @@ -2814,16 +3790,16 @@ /***/ }), -/* 183 */ +/* 184 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var $indexOf = __webpack_require__(36)(false); + var $indexOf = __webpack_require__(37)(false); var $native = [].indexOf; var NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0; - $export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(169)($native)), 'Array', { + $export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(170)($native)), 'Array', { // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex]) indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { return NEGATIVE_ZERO @@ -2835,18 +3811,18 @@ /***/ }), -/* 184 */ +/* 185 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var toIObject = __webpack_require__(32); - var toInteger = __webpack_require__(38); - var toLength = __webpack_require__(37); + var toIObject = __webpack_require__(33); + var toInteger = __webpack_require__(39); + var toLength = __webpack_require__(38); var $native = [].lastIndexOf; var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0; - $export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(169)($native)), 'Array', { + $export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(170)($native)), 'Array', { // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex]) lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { // convert -0 to +0 @@ -2863,26 +3839,26 @@ /***/ }), -/* 185 */ +/* 186 */ /***/ (function(module, exports, __webpack_require__) { // 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__(187) }); - __webpack_require__(187)('copyWithin'); + __webpack_require__(188)('copyWithin'); /***/ }), -/* 186 */ +/* 187 */ /***/ (function(module, exports, __webpack_require__) { // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) 'use strict'; - var toObject = __webpack_require__(57); - var toAbsoluteIndex = __webpack_require__(39); - var toLength = __webpack_require__(37); + var toObject = __webpack_require__(58); + var toAbsoluteIndex = __webpack_require__(40); + var toLength = __webpack_require__(38); module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { var O = toObject(this); @@ -2907,11 +3883,11 @@ /***/ }), -/* 187 */ +/* 188 */ /***/ (function(module, exports, __webpack_require__) { // 22.1.3.31 Array.prototype[@@unscopables] - var UNSCOPABLES = __webpack_require__(25)('unscopables'); + var UNSCOPABLES = __webpack_require__(27)('unscopables'); var ArrayProto = Array.prototype; if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(10)(ArrayProto, UNSCOPABLES, {}); module.exports = function (key) { @@ -2920,26 +3896,26 @@ /***/ }), -/* 188 */ +/* 189 */ /***/ (function(module, exports, __webpack_require__) { // 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__(190) }); - __webpack_require__(187)('fill'); + __webpack_require__(188)('fill'); /***/ }), -/* 189 */ +/* 190 */ /***/ (function(module, exports, __webpack_require__) { // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) 'use strict'; - var toObject = __webpack_require__(57); - var toAbsoluteIndex = __webpack_require__(39); - var toLength = __webpack_require__(37); + var toObject = __webpack_require__(58); + var toAbsoluteIndex = __webpack_require__(40); + var toLength = __webpack_require__(38); module.exports = function fill(value /* , start = 0, end = @length */) { var O = toObject(this); var length = toLength(O.length); @@ -2953,13 +3929,13 @@ /***/ }), -/* 190 */ +/* 191 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) var $export = __webpack_require__(8); - var $find = __webpack_require__(173)(5); + var $find = __webpack_require__(174)(5); var KEY = 'find'; var forced = true; // Shouldn't skip holes @@ -2969,17 +3945,17 @@ return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); - __webpack_require__(187)(KEY); + __webpack_require__(188)(KEY); /***/ }), -/* 191 */ +/* 192 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) var $export = __webpack_require__(8); - var $find = __webpack_require__(173)(6); + var $find = __webpack_require__(174)(6); var KEY = 'findIndex'; var forced = true; // Shouldn't skip holes @@ -2989,25 +3965,25 @@ return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); - __webpack_require__(187)(KEY); + __webpack_require__(188)(KEY); /***/ }), -/* 192 */ +/* 193 */ /***/ (function(module, exports, __webpack_require__) { - __webpack_require__(193)('Array'); + __webpack_require__(194)('Array'); /***/ }), -/* 193 */ +/* 194 */ /***/ (function(module, exports, __webpack_require__) { '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__(27)('species'); module.exports = function (KEY) { var C = global[KEY]; @@ -3019,9 +3995,47 @@ /***/ }), -/* 194 */ -[883, 187, 195, 129, 32, 128], /* 195 */ +/***/ (function(module, exports, __webpack_require__) { + + 'use strict'; + var addToUnscopables = __webpack_require__(188); + var step = __webpack_require__(196); + var Iterators = __webpack_require__(130); + var toIObject = __webpack_require__(33); + + // 22.1.3.4 Array.prototype.entries() + // 22.1.3.13 Array.prototype.keys() + // 22.1.3.29 Array.prototype.values() + // 22.1.3.30 Array.prototype[@@iterator]() + module.exports = __webpack_require__(129)(Array, 'Array', function (iterated, kind) { + this._t = toIObject(iterated); // target + this._i = 0; // next index + this._k = kind; // kind + // 22.1.5.2.1 %ArrayIteratorPrototype%.next() + }, function () { + var O = this._t; + var kind = this._k; + var index = this._i++; + if (!O || index >= O.length) { + this._t = undefined; + return step(1); + } + if (kind == 'keys') return step(0, index); + if (kind == 'values') return step(0, O[index]); + return step(0, [index, O[index]]); + }, 'values'); + + // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) + Iterators.Arguments = Iterators.Array; + + addToUnscopables('keys'); + addToUnscopables('values'); + addToUnscopables('entries'); + + +/***/ }), +/* 196 */ /***/ (function(module, exports) { module.exports = function (done, value) { @@ -3030,15 +4044,15 @@ /***/ }), -/* 196 */ +/* 197 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(4); - var inheritIfRequired = __webpack_require__(87); + var inheritIfRequired = __webpack_require__(88); var dP = __webpack_require__(11).f; - var gOPN = __webpack_require__(49).f; - var isRegExp = __webpack_require__(134); - var $flags = __webpack_require__(197); + var gOPN = __webpack_require__(50).f; + var isRegExp = __webpack_require__(135); + var $flags = __webpack_require__(198); var $RegExp = global.RegExp; var Base = $RegExp; var proto = $RegExp.prototype; @@ -3048,7 +4062,7 @@ var CORRECT_NEW = new $RegExp(re1) !== re1; if (__webpack_require__(6) && (!CORRECT_NEW || __webpack_require__(7)(function () { - re2[__webpack_require__(25)('match')] = false; + re2[__webpack_require__(27)('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'; }))) { @@ -3075,11 +4089,11 @@ __webpack_require__(18)(global, 'RegExp', $RegExp); } - __webpack_require__(193)('RegExp'); + __webpack_require__(194)('RegExp'); /***/ }), -/* 197 */ +/* 198 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -3098,13 +4112,92 @@ /***/ }), -/* 198 */ +/* 199 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; - __webpack_require__(199); + var regexpExec = __webpack_require__(200); + __webpack_require__(8)({ + target: 'RegExp', + proto: true, + forced: regexpExec !== /./.exec + }, { + exec: regexpExec + }); + + +/***/ }), +/* 200 */ +/***/ (function(module, exports, __webpack_require__) { + + 'use strict'; + + var regexpFlags = __webpack_require__(198); + + var nativeExec = RegExp.prototype.exec; + // This always refers to the native implementation, because the + // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, + // which loads this file before patching the method. + var nativeReplace = String.prototype.replace; + + var patchedExec = nativeExec; + + var LAST_INDEX = 'lastIndex'; + + var UPDATES_LAST_INDEX_WRONG = (function () { + var re1 = /a/, + re2 = /b*/g; + nativeExec.call(re1, 'a'); + nativeExec.call(re2, 'a'); + return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; + })(); + + // nonparticipating capturing group, copied from es5-shim's String#split patch. + var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; + + var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; + + if (PATCH) { + patchedExec = function exec(str) { + var re = this; + var lastIndex, reCopy, match, i; + + if (NPCG_INCLUDED) { + reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); + } + if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; + + match = nativeExec.call(re, str); + + if (UPDATES_LAST_INDEX_WRONG && match) { + re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex; + } + if (NPCG_INCLUDED && match && match.length > 1) { + // Fix browsers whose `exec` methods don't consistently return `undefined` + // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ + // eslint-disable-next-line no-loop-func + nativeReplace.call(match[0], reCopy, function () { + for (i = 1; i < arguments.length - 2; i++) { + if (arguments[i] === undefined) match[i] = undefined; + } + }); + } + + return match; + }; + } + + module.exports = patchedExec; + + +/***/ }), +/* 201 */ +/***/ (function(module, exports, __webpack_require__) { + + 'use strict'; + __webpack_require__(202); var anObject = __webpack_require__(12); - var $flags = __webpack_require__(197); + var $flags = __webpack_require__(198); var DESCRIPTORS = __webpack_require__(6); var TO_STRING = 'toString'; var $toString = /./[TO_STRING]; @@ -3129,53 +4222,192 @@ /***/ }), -/* 199 */ +/* 202 */ /***/ (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', { configurable: true, - get: __webpack_require__(197) + get: __webpack_require__(198) }); /***/ }), -/* 200 */ +/* 203 */ /***/ (function(module, exports, __webpack_require__) { + 'use strict'; + + var anObject = __webpack_require__(12); + var toLength = __webpack_require__(38); + var advanceStringIndex = __webpack_require__(204); + var regExpExec = __webpack_require__(205); + // @@match logic - __webpack_require__(201)('match', 1, function (defined, MATCH, $match) { - // 21.1.3.11 String.prototype.match(regexp) - return [function match(regexp) { - 'use strict'; - var O = defined(this); - var fn = regexp == undefined ? undefined : regexp[MATCH]; - return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)); - }, $match]; + __webpack_require__(206)('match', 1, function (defined, MATCH, $match, maybeCallNative) { + return [ + // `String.prototype.match` method + // https://tc39.github.io/ecma262/#sec-string.prototype.match + function match(regexp) { + var O = defined(this); + var fn = regexp == undefined ? undefined : regexp[MATCH]; + return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)); + }, + // `RegExp.prototype[@@match]` method + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match + function (regexp) { + var res = maybeCallNative($match, regexp, this); + if (res.done) return res.value; + var rx = anObject(regexp); + var S = String(this); + if (!rx.global) return regExpExec(rx, S); + var fullUnicode = rx.unicode; + rx.lastIndex = 0; + var A = []; + var n = 0; + var result; + while ((result = regExpExec(rx, S)) !== null) { + var matchStr = String(result[0]); + A[n] = matchStr; + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); + n++; + } + return n === 0 ? null : A; + } + ]; }); /***/ }), -/* 201 */ +/* 204 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; - var hide = __webpack_require__(10); + var at = __webpack_require__(128)(true); + + // `AdvanceStringIndex` abstract operation + // https://tc39.github.io/ecma262/#sec-advancestringindex + module.exports = function (S, index, unicode) { + return index + (unicode ? at(S, index).length : 1); + }; + + +/***/ }), +/* 205 */ +/***/ (function(module, exports, __webpack_require__) { + + 'use strict'; + + var classof = __webpack_require__(75); + var builtinExec = RegExp.prototype.exec; + + // `RegExpExec` abstract operation + // https://tc39.github.io/ecma262/#sec-regexpexec + module.exports = function (R, S) { + var exec = R.exec; + if (typeof exec === 'function') { + var result = exec.call(R, S); + if (typeof result !== 'object') { + throw new TypeError('RegExp exec method returned something other than an Object or null'); + } + return result; + } + if (classof(R) !== 'RegExp') { + throw new TypeError('RegExp#exec called on incompatible receiver'); + } + return builtinExec.call(R, S); + }; + + +/***/ }), +/* 206 */ +/***/ (function(module, exports, __webpack_require__) { + + 'use strict'; + __webpack_require__(199); var redefine = __webpack_require__(18); + var hide = __webpack_require__(10); var fails = __webpack_require__(7); - var defined = __webpack_require__(35); - var wks = __webpack_require__(25); + var defined = __webpack_require__(36); + var wks = __webpack_require__(27); + var regexpExec = __webpack_require__(200); + + var SPECIES = wks('species'); + + var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { + // #replace needs built-in support for named groups. + // #match works fine because it just return the exec results, even if it has + // a "grops" property. + var re = /./; + re.exec = function () { + var result = []; + result.groups = { a: '7' }; + return result; + }; + return ''.replace(re, '$') !== '7'; + }); + + var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { + // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec + var re = /(?:)/; + var originalExec = re.exec; + re.exec = function () { return originalExec.apply(this, arguments); }; + var result = 'ab'.split(re); + return result.length === 2 && result[0] === 'a' && result[1] === 'b'; + })(); module.exports = function (KEY, length, exec) { var SYMBOL = wks(KEY); - var fns = exec(defined, SYMBOL, ''[KEY]); - var strfn = fns[0]; - var rxfn = fns[1]; - if (fails(function () { + + var DELEGATES_TO_SYMBOL = !fails(function () { + // String methods call symbol-named RegEp methods var O = {}; O[SYMBOL] = function () { return 7; }; return ''[KEY](O) != 7; - })) { + }); + + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () { + // Symbol-named RegExp methods call .exec + var execCalled = false; + var re = /a/; + re.exec = function () { execCalled = true; return null; }; + if (KEY === 'split') { + // RegExp[@@split] doesn't call the regex's exec method, but first creates + // a new one. We need to return the patched regex when creating the new one. + re.constructor = {}; + re.constructor[SPECIES] = function () { return re; }; + } + re[SYMBOL](''); + return !execCalled; + }) : undefined; + + if ( + !DELEGATES_TO_SYMBOL || + !DELEGATES_TO_EXEC || + (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || + (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) + ) { + var nativeRegExpMethod = /./[SYMBOL]; + var fns = exec( + defined, + SYMBOL, + ''[KEY], + function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) { + if (regexp.exec === regexpExec) { + if (DELEGATES_TO_SYMBOL && !forceStringMethod) { + // The native String method already delegates to @@method (this + // polyfilled function), leasing to infinite recursion. + // We avoid it by directly calling the native @@method method. + return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; + } + return { done: true, value: nativeMethod.call(str, regexp, arg2) }; + } + return { done: false }; + } + ); + var strfn = fns[0]; + var rxfn = fns[1]; + redefine(String.prototype, KEY, strfn); hide(RegExp.prototype, SYMBOL, length == 2 // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) @@ -3190,52 +4422,193 @@ /***/ }), -/* 202 */ +/* 207 */ /***/ (function(module, exports, __webpack_require__) { + 'use strict'; + + var anObject = __webpack_require__(12); + var toObject = __webpack_require__(58); + var toLength = __webpack_require__(38); + var toInteger = __webpack_require__(39); + var advanceStringIndex = __webpack_require__(204); + var regExpExec = __webpack_require__(205); + var max = Math.max; + var min = Math.min; + var floor = Math.floor; + var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; + var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; + + var maybeToString = function (it) { + return it === undefined ? it : String(it); + }; + // @@replace logic - __webpack_require__(201)('replace', 2, function (defined, REPLACE, $replace) { - // 21.1.3.14 String.prototype.replace(searchValue, replaceValue) - return [function replace(searchValue, replaceValue) { - 'use strict'; - var O = defined(this); - var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; - return fn !== undefined - ? fn.call(searchValue, O, replaceValue) - : $replace.call(String(O), searchValue, replaceValue); - }, $replace]; + __webpack_require__(206)('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { + return [ + // `String.prototype.replace` method + // https://tc39.github.io/ecma262/#sec-string.prototype.replace + function replace(searchValue, replaceValue) { + var O = defined(this); + var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; + return fn !== undefined + ? fn.call(searchValue, O, replaceValue) + : $replace.call(String(O), searchValue, replaceValue); + }, + // `RegExp.prototype[@@replace]` method + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace + function (regexp, replaceValue) { + var res = maybeCallNative($replace, regexp, this, replaceValue); + if (res.done) return res.value; + + var rx = anObject(regexp); + var S = String(this); + var functionalReplace = typeof replaceValue === 'function'; + if (!functionalReplace) replaceValue = String(replaceValue); + var global = rx.global; + if (global) { + var fullUnicode = rx.unicode; + rx.lastIndex = 0; + } + var results = []; + while (true) { + var result = regExpExec(rx, S); + if (result === null) break; + results.push(result); + if (!global) break; + var matchStr = String(result[0]); + if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); + } + var accumulatedResult = ''; + var nextSourcePosition = 0; + for (var i = 0; i < results.length; i++) { + result = results[i]; + var matched = String(result[0]); + var position = max(min(toInteger(result.index), S.length), 0); + var captures = []; + // NOTE: This is equivalent to + // captures = result.slice(1).map(maybeToString) + // but for some reason `nativeSlice.call(result, 1, result.length)` (called in + // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and + // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. + for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); + var namedCaptures = result.groups; + if (functionalReplace) { + var replacerArgs = [matched].concat(captures, position, S); + if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); + var replacement = String(replaceValue.apply(undefined, replacerArgs)); + } else { + replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); + } + if (position >= nextSourcePosition) { + accumulatedResult += S.slice(nextSourcePosition, position) + replacement; + nextSourcePosition = position + matched.length; + } + } + return accumulatedResult + S.slice(nextSourcePosition); + } + ]; + + // https://tc39.github.io/ecma262/#sec-getsubstitution + function getSubstitution(matched, str, position, captures, namedCaptures, replacement) { + var tailPos = position + matched.length; + var m = captures.length; + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; + if (namedCaptures !== undefined) { + namedCaptures = toObject(namedCaptures); + symbols = SUBSTITUTION_SYMBOLS; + } + return $replace.call(replacement, symbols, function (match, ch) { + var capture; + switch (ch.charAt(0)) { + case '$': return '$'; + case '&': return matched; + case '`': return str.slice(0, position); + case "'": return str.slice(tailPos); + case '<': + capture = namedCaptures[ch.slice(1, -1)]; + break; + default: // \d\d? + var n = +ch; + if (n === 0) return match; + if (n > m) { + var f = floor(n / 10); + if (f === 0) return match; + if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); + return match; + } + capture = captures[n - 1]; + } + return capture === undefined ? '' : capture; + }); + } }); /***/ }), -/* 203 */ +/* 208 */ /***/ (function(module, exports, __webpack_require__) { + 'use strict'; + + var anObject = __webpack_require__(12); + var sameValue = __webpack_require__(71); + var regExpExec = __webpack_require__(205); + // @@search logic - __webpack_require__(201)('search', 1, function (defined, SEARCH, $search) { - // 21.1.3.15 String.prototype.search(regexp) - return [function search(regexp) { - 'use strict'; - var O = defined(this); - var fn = regexp == undefined ? undefined : regexp[SEARCH]; - return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O)); - }, $search]; + __webpack_require__(206)('search', 1, function (defined, SEARCH, $search, maybeCallNative) { + return [ + // `String.prototype.search` method + // https://tc39.github.io/ecma262/#sec-string.prototype.search + function search(regexp) { + var O = defined(this); + var fn = regexp == undefined ? undefined : regexp[SEARCH]; + return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O)); + }, + // `RegExp.prototype[@@search]` method + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search + function (regexp) { + var res = maybeCallNative($search, regexp, this); + if (res.done) return res.value; + var rx = anObject(regexp); + var S = String(this); + var previousLastIndex = rx.lastIndex; + if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; + var result = regExpExec(rx, S); + if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; + return result === null ? -1 : result.index; + } + ]; }); /***/ }), -/* 204 */ +/* 209 */ /***/ (function(module, exports, __webpack_require__) { + 'use strict'; + + var isRegExp = __webpack_require__(135); + var anObject = __webpack_require__(12); + var speciesConstructor = __webpack_require__(210); + var advanceStringIndex = __webpack_require__(204); + var toLength = __webpack_require__(38); + var callRegExpExec = __webpack_require__(205); + var regexpExec = __webpack_require__(200); + var fails = __webpack_require__(7); + var $min = Math.min; + var $push = [].push; + var $SPLIT = 'split'; + var LENGTH = 'length'; + var LAST_INDEX = 'lastIndex'; + var MAX_UINT32 = 0xffffffff; + + // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError + var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); + // @@split logic - __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'; + __webpack_require__(206)('split', 2, function (defined, SPLIT, $split, maybeCallNative) { + var internalSplit; if ( 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || @@ -3244,35 +4617,26 @@ '.'[$SPLIT](/()()/)[LENGTH] > 1 || ''[$SPLIT](/.?/)[LENGTH] ) { - var NPCG = /()??/.exec('')[1] === undefined; // nonparticipating capturing group // based on es5-shim implementation, need to rework it - $split = function (separator, limit) { + internalSplit = function (separator, limit) { var string = String(this); if (separator === undefined && limit === 0) return []; // If `separator` is not a regex, use native split - if (!isRegExp(separator)) return _split.call(string, separator, limit); + if (!isRegExp(separator)) return $split.call(string, separator, limit); var output = []; var flags = (separator.ignoreCase ? 'i' : '') + (separator.multiline ? 'm' : '') + (separator.unicode ? 'u' : '') + (separator.sticky ? 'y' : ''); var lastLastIndex = 0; - var splitLimit = limit === undefined ? 4294967295 : limit >>> 0; + var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0; // Make `global` and avoid `lastIndex` issues by working with a copy 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)', flags); - while (match = separatorCopy.exec(string)) { - // `separatorCopy.lastIndex` is not reliable cross-browser - lastIndex = match.index + match[0][LENGTH]; + var match, lastIndex, lastLength; + while (match = regexpExec.call(separatorCopy, string)) { + lastIndex = separatorCopy[LAST_INDEX]; if (lastIndex > lastLastIndex) { output.push(string.slice(lastLastIndex, match.index)); - // Fix browsers whose `exec` methods don't consistently return `undefined` for NPCG - // eslint-disable-next-line no-loop-func - if (!NPCG && match[LENGTH] > 1) match[0].replace(separator2, function () { - for (i = 1; i < arguments[LENGTH] - 2; i++) if (arguments[i] === undefined) match[i] = undefined; - }); if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); lastLength = match[0][LENGTH]; lastLastIndex = lastIndex; @@ -3287,42 +4651,118 @@ }; // Chakra, V8 } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { - $split = function (separator, limit) { - return separator === undefined && limit === 0 ? [] : _split.call(this, separator, limit); + internalSplit = function (separator, limit) { + return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); }; - } - // 21.1.3.17 String.prototype.split(separator, limit) - return [function split(separator, limit) { - var O = defined(this); - var fn = separator == undefined ? undefined : separator[SPLIT]; - return fn !== undefined ? fn.call(separator, O, limit) : $split.call(String(O), separator, limit); - }, $split]; + } else { + internalSplit = $split; + } + + return [ + // `String.prototype.split` method + // https://tc39.github.io/ecma262/#sec-string.prototype.split + function split(separator, limit) { + var O = defined(this); + var splitter = separator == undefined ? undefined : separator[SPLIT]; + return splitter !== undefined + ? splitter.call(separator, O, limit) + : internalSplit.call(String(O), separator, limit); + }, + // `RegExp.prototype[@@split]` method + // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split + // + // NOTE: This cannot be properly polyfilled in engines that don't support + // the 'y' flag. + function (regexp, limit) { + var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split); + if (res.done) return res.value; + + var rx = anObject(regexp); + var S = String(this); + var C = speciesConstructor(rx, RegExp); + + var unicodeMatching = rx.unicode; + var flags = (rx.ignoreCase ? 'i' : '') + + (rx.multiline ? 'm' : '') + + (rx.unicode ? 'u' : '') + + (SUPPORTS_Y ? 'y' : 'g'); + + // ^(? + rx + ) is needed, in combination with some S slicing, to + // simulate the 'y' flag. + var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); + var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; + if (lim === 0) return []; + if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; + var p = 0; + var q = 0; + var A = []; + while (q < S.length) { + splitter.lastIndex = SUPPORTS_Y ? q : 0; + var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); + var e; + if ( + z === null || + (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p + ) { + q = advanceStringIndex(S, q, unicodeMatching); + } else { + A.push(S.slice(p, q)); + if (A.length === lim) return A; + for (var i = 1; i <= z.length - 1; i++) { + A.push(z[i]); + if (A.length === lim) return A; + } + q = p = e; + } + } + A.push(S.slice(p)); + return A; + } + ]; }); /***/ }), -/* 205 */ +/* 210 */ +/***/ (function(module, exports, __webpack_require__) { + + // 7.3.20 SpeciesConstructor(O, defaultConstructor) + var anObject = __webpack_require__(12); + var aFunction = __webpack_require__(24); + var SPECIES = __webpack_require__(27)('species'); + module.exports = function (O, D) { + var C = anObject(O).constructor; + var S; + return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); + }; + + +/***/ }), +/* 211 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; - var LIBRARY = __webpack_require__(28); + var LIBRARY = __webpack_require__(22); var global = __webpack_require__(4); - var ctx = __webpack_require__(20); - var classof = __webpack_require__(74); + var ctx = __webpack_require__(23); + var classof = __webpack_require__(75); var $export = __webpack_require__(8); var isObject = __webpack_require__(13); - var aFunction = __webpack_require__(21); - var anInstance = __webpack_require__(206); - var forOf = __webpack_require__(207); - var speciesConstructor = __webpack_require__(208); - var task = __webpack_require__(209).set; - var microtask = __webpack_require__(210)(); - var newPromiseCapabilityModule = __webpack_require__(211); - var perform = __webpack_require__(212); - var promiseResolve = __webpack_require__(213); + var aFunction = __webpack_require__(24); + var anInstance = __webpack_require__(212); + var forOf = __webpack_require__(213); + var speciesConstructor = __webpack_require__(210); + var task = __webpack_require__(214).set; + var microtask = __webpack_require__(215)(); + var newPromiseCapabilityModule = __webpack_require__(216); + var perform = __webpack_require__(217); + var userAgent = __webpack_require__(218); + var promiseResolve = __webpack_require__(219); 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 empty = function () { /* empty */ }; @@ -3333,11 +4773,17 @@ try { // correct subclassing with @@species support var promise = $Promise.resolve(1); - var FakePromise = (promise.constructor = {})[__webpack_require__(25)('species')] = function (exec) { + var FakePromise = (promise.constructor = {})[__webpack_require__(27)('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; + return (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 */ } }(); @@ -3359,7 +4805,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) { @@ -3369,8 +4815,11 @@ 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')); @@ -3379,6 +4828,7 @@ } else resolve(result); } else reject(value); } catch (e) { + if (domain && !exited) domain.exit(); reject(e); } }; @@ -3410,14 +4860,7 @@ }); }; 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 () { @@ -3489,7 +4932,7 @@ 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__(220)($Promise.prototype, { // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) then: function then(onFulfilled, onRejected) { var reaction = newPromiseCapability(speciesConstructor(this, $Promise)); @@ -3520,8 +4963,8 @@ } $export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); - __webpack_require__(24)($Promise, PROMISE); - __webpack_require__(193)(PROMISE); + __webpack_require__(26)($Promise, PROMISE); + __webpack_require__(194)(PROMISE); Wrapper = __webpack_require__(9)[PROMISE]; // statics @@ -3540,7 +4983,7 @@ return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x); } }); - $export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(166)(function (iter) { + $export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(167)(function (iter) { $Promise.all(iter)['catch'](empty); })), PROMISE, { // 25.4.4.1 Promise.all(iterable) @@ -3587,7 +5030,7 @@ /***/ }), -/* 206 */ +/* 212 */ /***/ (function(module, exports) { module.exports = function (it, Constructor, name, forbiddenField) { @@ -3598,15 +5041,15 @@ /***/ }), -/* 207 */ +/* 213 */ /***/ (function(module, exports, __webpack_require__) { - var ctx = __webpack_require__(20); - var call = __webpack_require__(162); - var isArrayIter = __webpack_require__(163); + var ctx = __webpack_require__(23); + var call = __webpack_require__(163); + var isArrayIter = __webpack_require__(164); var anObject = __webpack_require__(12); - var toLength = __webpack_require__(37); - var getIterFn = __webpack_require__(165); + var toLength = __webpack_require__(38); + var getIterFn = __webpack_require__(166); var BREAK = {}; var RETURN = {}; var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { @@ -3629,27 +5072,12 @@ /***/ }), -/* 208 */ -/***/ (function(module, exports, __webpack_require__) { - - // 7.3.20 SpeciesConstructor(O, defaultConstructor) - var anObject = __webpack_require__(12); - var aFunction = __webpack_require__(21); - var SPECIES = __webpack_require__(25)('species'); - module.exports = function (O, D) { - var C = anObject(O).constructor; - var S; - return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); - }; - - -/***/ }), -/* 209 */ +/* 214 */ /***/ (function(module, exports, __webpack_require__) { - var ctx = __webpack_require__(20); - var invoke = __webpack_require__(77); - var html = __webpack_require__(47); + var ctx = __webpack_require__(23); + var invoke = __webpack_require__(78); + var html = __webpack_require__(48); var cel = __webpack_require__(15); var global = __webpack_require__(4); var process = global.process; @@ -3690,7 +5118,7 @@ delete queue[id]; }; // Node.js 0.8- - if (__webpack_require__(34)(process) == 'process') { + if (__webpack_require__(35)(process) == 'process') { defer = function (id) { process.nextTick(ctx(run, id, 1)); }; @@ -3734,15 +5162,15 @@ /***/ }), -/* 210 */ +/* 215 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(4); - var macrotask = __webpack_require__(209).set; + var macrotask = __webpack_require__(214).set; 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__(35)(process) == 'process'; module.exports = function () { var head, last, notify; @@ -3769,8 +5197,8 @@ 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(''); new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new @@ -3779,7 +5207,8 @@ }; // 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); }; @@ -3808,12 +5237,12 @@ /***/ }), -/* 211 */ +/* 216 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // 25.4.1.5 NewPromiseCapability(C) - var aFunction = __webpack_require__(21); + var aFunction = __webpack_require__(24); function PromiseCapability(C) { var resolve, reject; @@ -3832,7 +5261,7 @@ /***/ }), -/* 212 */ +/* 217 */ /***/ (function(module, exports) { module.exports = function (exec) { @@ -3845,12 +5274,22 @@ /***/ }), -/* 213 */ +/* 218 */ +/***/ (function(module, exports, __webpack_require__) { + + var global = __webpack_require__(4); + var navigator = global.navigator; + + module.exports = navigator && navigator.userAgent || ''; + + +/***/ }), +/* 219 */ /***/ (function(module, exports, __webpack_require__) { var anObject = __webpack_require__(12); var isObject = __webpack_require__(13); - var newPromiseCapability = __webpack_require__(211); + var newPromiseCapability = __webpack_require__(216); module.exports = function (C, x) { anObject(C); @@ -3863,7 +5302,7 @@ /***/ }), -/* 214 */ +/* 220 */ /***/ (function(module, exports, __webpack_require__) { var redefine = __webpack_require__(18); @@ -3874,16 +5313,16 @@ /***/ }), -/* 215 */ +/* 221 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; - var strong = __webpack_require__(216); - var validate = __webpack_require__(217); + var strong = __webpack_require__(222); + var validate = __webpack_require__(223); var MAP = 'Map'; // 23.1 Map Objects - module.exports = __webpack_require__(218)(MAP, function (get) { + module.exports = __webpack_require__(224)(MAP, function (get) { return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; }, { // 23.1.3.6 Map.prototype.get(key) @@ -3899,22 +5338,22 @@ /***/ }), -/* 216 */ +/* 222 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var dP = __webpack_require__(11).f; - var create = __webpack_require__(45); - var redefineAll = __webpack_require__(214); - var ctx = __webpack_require__(20); - var anInstance = __webpack_require__(206); - var forOf = __webpack_require__(207); - var $iterDefine = __webpack_require__(128); - var step = __webpack_require__(195); - var setSpecies = __webpack_require__(193); + var create = __webpack_require__(46); + var redefineAll = __webpack_require__(220); + var ctx = __webpack_require__(23); + var anInstance = __webpack_require__(212); + var forOf = __webpack_require__(213); + var $iterDefine = __webpack_require__(129); + var step = __webpack_require__(196); + var setSpecies = __webpack_require__(194); var DESCRIPTORS = __webpack_require__(6); - var fastKey = __webpack_require__(22).fastKey; - var validate = __webpack_require__(217); + var fastKey = __webpack_require__(25).fastKey; + var validate = __webpack_require__(223); var SIZE = DESCRIPTORS ? '_s' : 'size'; var getEntry = function (that, key) { @@ -4049,7 +5488,7 @@ /***/ }), -/* 217 */ +/* 223 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(13); @@ -4060,22 +5499,22 @@ /***/ }), -/* 218 */ +/* 224 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var global = __webpack_require__(4); var $export = __webpack_require__(8); var redefine = __webpack_require__(18); - var redefineAll = __webpack_require__(214); - var meta = __webpack_require__(22); - var forOf = __webpack_require__(207); - var anInstance = __webpack_require__(206); + var redefineAll = __webpack_require__(220); + var meta = __webpack_require__(25); + var forOf = __webpack_require__(213); + var anInstance = __webpack_require__(212); var isObject = __webpack_require__(13); var fails = __webpack_require__(7); - var $iterDetect = __webpack_require__(166); - var setToStringTag = __webpack_require__(24); - var inheritIfRequired = __webpack_require__(87); + var $iterDetect = __webpack_require__(167); + var setToStringTag = __webpack_require__(26); + var inheritIfRequired = __webpack_require__(88); module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { var Base = global[NAME]; @@ -4151,16 +5590,16 @@ /***/ }), -/* 219 */ +/* 225 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; - var strong = __webpack_require__(216); - var validate = __webpack_require__(217); + var strong = __webpack_require__(222); + var validate = __webpack_require__(223); var SET = 'Set'; // 23.2 Set Objects - module.exports = __webpack_require__(218)(SET, function (get) { + module.exports = __webpack_require__(224)(SET, function (get) { return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; }, { // 23.2.3.1 Set.prototype.add(value) @@ -4171,23 +5610,24 @@ /***/ }), -/* 220 */ +/* 226 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; - var each = __webpack_require__(173)(0); + var global = __webpack_require__(4); + var each = __webpack_require__(174)(0); var redefine = __webpack_require__(18); - var meta = __webpack_require__(22); - var assign = __webpack_require__(68); - var weak = __webpack_require__(221); + var meta = __webpack_require__(25); + var assign = __webpack_require__(69); + var weak = __webpack_require__(227); var isObject = __webpack_require__(13); - var fails = __webpack_require__(7); - var validate = __webpack_require__(217); + var validate = __webpack_require__(223); + var NATIVE_WEAK_MAP = __webpack_require__(223); + var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; var WEAK_MAP = 'WeakMap'; var getWeak = meta.getWeak; var isExtensible = Object.isExtensible; var uncaughtFrozenStore = weak.ufstore; - var tmp = {}; var InternalMap; var wrapper = function (get) { @@ -4212,10 +5652,10 @@ }; // 23.3 WeakMap Objects - var $WeakMap = module.exports = __webpack_require__(218)(WEAK_MAP, wrapper, methods, weak, true, true); + var $WeakMap = module.exports = __webpack_require__(224)(WEAK_MAP, wrapper, methods, weak, true, true); // IE11 WeakMap frozen keys fix - if (fails(function () { return new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7; })) { + if (NATIVE_WEAK_MAP && IS_IE11) { InternalMap = weak.getConstructor(wrapper, WEAK_MAP); assign(InternalMap.prototype, methods); meta.NEED = true; @@ -4236,19 +5676,19 @@ /***/ }), -/* 221 */ +/* 227 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; - var redefineAll = __webpack_require__(214); - var getWeak = __webpack_require__(22).getWeak; + var redefineAll = __webpack_require__(220); + var getWeak = __webpack_require__(25).getWeak; var anObject = __webpack_require__(12); var isObject = __webpack_require__(13); - var anInstance = __webpack_require__(206); - var forOf = __webpack_require__(207); - var createArrayMethod = __webpack_require__(173); + var anInstance = __webpack_require__(212); + var forOf = __webpack_require__(213); + var createArrayMethod = __webpack_require__(174); var $has = __webpack_require__(5); - var validate = __webpack_require__(217); + var validate = __webpack_require__(223); var arrayFind = createArrayMethod(5); var arrayFindIndex = createArrayMethod(6); var id = 0; @@ -4327,16 +5767,16 @@ /***/ }), -/* 222 */ +/* 228 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; - var weak = __webpack_require__(221); - var validate = __webpack_require__(217); + var weak = __webpack_require__(227); + var validate = __webpack_require__(223); var WEAK_SET = 'WeakSet'; // 23.4 WeakSet Objects - __webpack_require__(218)(WEAK_SET, function (get) { + __webpack_require__(224)(WEAK_SET, function (get) { return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; }, { // 23.4.3.1 WeakSet.prototype.add(value) @@ -4347,19 +5787,19 @@ /***/ }), -/* 223 */ +/* 229 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var $typed = __webpack_require__(224); - var buffer = __webpack_require__(225); + var $typed = __webpack_require__(230); + var buffer = __webpack_require__(231); var anObject = __webpack_require__(12); - var toAbsoluteIndex = __webpack_require__(39); - var toLength = __webpack_require__(37); + var toAbsoluteIndex = __webpack_require__(40); + var toLength = __webpack_require__(38); var isObject = __webpack_require__(13); var ArrayBuffer = __webpack_require__(4).ArrayBuffer; - var speciesConstructor = __webpack_require__(208); + var speciesConstructor = __webpack_require__(210); var $ArrayBuffer = buffer.ArrayBuffer; var $DataView = buffer.DataView; var $isView = $typed.ABV && ArrayBuffer.isView; @@ -4384,22 +5824,22 @@ if ($slice !== undefined && end === undefined) 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 result = new (speciesConstructor(this, $ArrayBuffer))(toLength(final - first)); + var fin = toAbsoluteIndex(end === undefined ? len : end, len); + var result = new (speciesConstructor(this, $ArrayBuffer))(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; } }); - __webpack_require__(193)(ARRAY_BUFFER); + __webpack_require__(194)(ARRAY_BUFFER); /***/ }), -/* 224 */ +/* 230 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(4); @@ -4433,25 +5873,25 @@ /***/ }), -/* 225 */ +/* 231 */ /***/ (function(module, exports, __webpack_require__) { '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__(22); + var $typed = __webpack_require__(230); var hide = __webpack_require__(10); - var redefineAll = __webpack_require__(214); + var redefineAll = __webpack_require__(220); 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 gOPN = __webpack_require__(49).f; + var anInstance = __webpack_require__(212); + var toInteger = __webpack_require__(39); + var toLength = __webpack_require__(38); + var toIndex = __webpack_require__(232); + var gOPN = __webpack_require__(50).f; var dP = __webpack_require__(11).f; - var arrayFill = __webpack_require__(189); - var setToStringTag = __webpack_require__(24); + var arrayFill = __webpack_require__(190); + var setToStringTag = __webpack_require__(26); var ARRAY_BUFFER = 'ArrayBuffer'; var DATA_VIEW = 'DataView'; var PROTOTYPE = 'prototype'; @@ -4478,7 +5918,7 @@ // 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; @@ -4596,7 +6036,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; }; @@ -4715,12 +6155,12 @@ /***/ }), -/* 226 */ +/* 232 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/ecma262/#sec-toindex - var toInteger = __webpack_require__(38); - var toLength = __webpack_require__(37); + var toInteger = __webpack_require__(39); + var toLength = __webpack_require__(38); module.exports = function (it) { if (it === undefined) return 0; var number = toInteger(it); @@ -4731,20 +6171,20 @@ /***/ }), -/* 227 */ +/* 233 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); - $export($export.G + $export.W + $export.F * !__webpack_require__(224).ABV, { - DataView: __webpack_require__(225).DataView + $export($export.G + $export.W + $export.F * !__webpack_require__(230).ABV, { + DataView: __webpack_require__(231).DataView }); /***/ }), -/* 228 */ +/* 234 */ /***/ (function(module, exports, __webpack_require__) { - __webpack_require__(229)('Int8', 1, function (init) { + __webpack_require__(235)('Int8', 1, function (init) { return function Int8Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; @@ -4752,49 +6192,49 @@ /***/ }), -/* 229 */ +/* 235 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; if (__webpack_require__(6)) { - var LIBRARY = __webpack_require__(28); + var LIBRARY = __webpack_require__(22); 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 ctx = __webpack_require__(20); - var anInstance = __webpack_require__(206); + var $typed = __webpack_require__(230); + var $buffer = __webpack_require__(231); + var ctx = __webpack_require__(23); + var anInstance = __webpack_require__(212); var propertyDesc = __webpack_require__(17); var hide = __webpack_require__(10); - var redefineAll = __webpack_require__(214); - var toInteger = __webpack_require__(38); - var toLength = __webpack_require__(37); - var toIndex = __webpack_require__(226); - var toAbsoluteIndex = __webpack_require__(39); + var redefineAll = __webpack_require__(220); + var toInteger = __webpack_require__(39); + var toLength = __webpack_require__(38); + var toIndex = __webpack_require__(232); + var toAbsoluteIndex = __webpack_require__(40); var toPrimitive = __webpack_require__(16); var has = __webpack_require__(5); - var classof = __webpack_require__(74); + var classof = __webpack_require__(75); var isObject = __webpack_require__(13); - var toObject = __webpack_require__(57); - var isArrayIter = __webpack_require__(163); - var create = __webpack_require__(45); - var getPrototypeOf = __webpack_require__(58); - var gOPN = __webpack_require__(49).f; - var getIterFn = __webpack_require__(165); + var toObject = __webpack_require__(58); + var isArrayIter = __webpack_require__(164); + var create = __webpack_require__(46); + var getPrototypeOf = __webpack_require__(59); + var gOPN = __webpack_require__(50).f; + var getIterFn = __webpack_require__(166); var uid = __webpack_require__(19); - var wks = __webpack_require__(25); - var createArrayMethod = __webpack_require__(173); - var createArrayIncludes = __webpack_require__(36); - var speciesConstructor = __webpack_require__(208); - var ArrayIterators = __webpack_require__(194); - var Iterators = __webpack_require__(129); - var $iterDetect = __webpack_require__(166); - var setSpecies = __webpack_require__(193); - var arrayFill = __webpack_require__(189); - var arrayCopyWithin = __webpack_require__(186); + var wks = __webpack_require__(27); + var createArrayMethod = __webpack_require__(174); + var createArrayIncludes = __webpack_require__(37); + var speciesConstructor = __webpack_require__(210); + var ArrayIterators = __webpack_require__(195); + var Iterators = __webpack_require__(130); + var $iterDetect = __webpack_require__(167); + var setSpecies = __webpack_require__(194); + var arrayFill = __webpack_require__(190); + var arrayCopyWithin = __webpack_require__(187); var $DP = __webpack_require__(11); - var $GOPD = __webpack_require__(50); + var $GOPD = __webpack_require__(51); var dP = $DP.f; var gOPD = $GOPD.f; var RangeError = global.RangeError; @@ -5238,10 +6678,10 @@ /***/ }), -/* 230 */ +/* 236 */ /***/ (function(module, exports, __webpack_require__) { - __webpack_require__(229)('Uint8', 1, function (init) { + __webpack_require__(235)('Uint8', 1, function (init) { return function Uint8Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; @@ -5249,10 +6689,10 @@ /***/ }), -/* 231 */ +/* 237 */ /***/ (function(module, exports, __webpack_require__) { - __webpack_require__(229)('Uint8', 1, function (init) { + __webpack_require__(235)('Uint8', 1, function (init) { return function Uint8ClampedArray(data, byteOffset, length) { return init(this, data, byteOffset, length); }; @@ -5260,10 +6700,10 @@ /***/ }), -/* 232 */ +/* 238 */ /***/ (function(module, exports, __webpack_require__) { - __webpack_require__(229)('Int16', 2, function (init) { + __webpack_require__(235)('Int16', 2, function (init) { return function Int16Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; @@ -5271,10 +6711,10 @@ /***/ }), -/* 233 */ +/* 239 */ /***/ (function(module, exports, __webpack_require__) { - __webpack_require__(229)('Uint16', 2, function (init) { + __webpack_require__(235)('Uint16', 2, function (init) { return function Uint16Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; @@ -5282,10 +6722,10 @@ /***/ }), -/* 234 */ +/* 240 */ /***/ (function(module, exports, __webpack_require__) { - __webpack_require__(229)('Int32', 4, function (init) { + __webpack_require__(235)('Int32', 4, function (init) { return function Int32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; @@ -5293,10 +6733,10 @@ /***/ }), -/* 235 */ +/* 241 */ /***/ (function(module, exports, __webpack_require__) { - __webpack_require__(229)('Uint32', 4, function (init) { + __webpack_require__(235)('Uint32', 4, function (init) { return function Uint32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; @@ -5304,10 +6744,10 @@ /***/ }), -/* 236 */ +/* 242 */ /***/ (function(module, exports, __webpack_require__) { - __webpack_require__(229)('Float32', 4, function (init) { + __webpack_require__(235)('Float32', 4, function (init) { return function Float32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; @@ -5315,10 +6755,10 @@ /***/ }), -/* 237 */ +/* 243 */ /***/ (function(module, exports, __webpack_require__) { - __webpack_require__(229)('Float64', 8, function (init) { + __webpack_require__(235)('Float64', 8, function (init) { return function Float64Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; @@ -5326,12 +6766,12 @@ /***/ }), -/* 238 */ +/* 244 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.1 Reflect.apply(target, thisArgument, argumentsList) var $export = __webpack_require__(8); - var aFunction = __webpack_require__(21); + var aFunction = __webpack_require__(24); var anObject = __webpack_require__(12); var rApply = (__webpack_require__(4).Reflect || {}).apply; var fApply = Function.apply; @@ -5348,17 +6788,17 @@ /***/ }), -/* 239 */ +/* 245 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) var $export = __webpack_require__(8); - var create = __webpack_require__(45); - var aFunction = __webpack_require__(21); + var create = __webpack_require__(46); + var aFunction = __webpack_require__(24); var anObject = __webpack_require__(12); var isObject = __webpack_require__(13); var fails = __webpack_require__(7); - var bind = __webpack_require__(76); + var bind = __webpack_require__(77); var rConstruct = (__webpack_require__(4).Reflect || {}).construct; // MS Edge supports only 2 arguments and argumentsList argument is optional @@ -5401,7 +6841,7 @@ /***/ }), -/* 240 */ +/* 246 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) @@ -5430,12 +6870,12 @@ /***/ }), -/* 241 */ +/* 247 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.4 Reflect.deleteProperty(target, propertyKey) var $export = __webpack_require__(8); - var gOPD = __webpack_require__(50).f; + var gOPD = __webpack_require__(51).f; var anObject = __webpack_require__(12); $export($export.S, 'Reflect', { @@ -5447,7 +6887,7 @@ /***/ }), -/* 242 */ +/* 248 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -5461,7 +6901,7 @@ var key; for (key in iterated) keys.push(key); }; - __webpack_require__(130)(Enumerate, 'Object', function () { + __webpack_require__(131)(Enumerate, 'Object', function () { var that = this; var keys = that._k; var key; @@ -5479,12 +6919,12 @@ /***/ }), -/* 243 */ +/* 249 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.6 Reflect.get(target, propertyKey [, receiver]) - var gOPD = __webpack_require__(50); - var getPrototypeOf = __webpack_require__(58); + var gOPD = __webpack_require__(51); + var getPrototypeOf = __webpack_require__(59); var has = __webpack_require__(5); var $export = __webpack_require__(8); var isObject = __webpack_require__(13); @@ -5506,11 +6946,11 @@ /***/ }), -/* 244 */ +/* 250 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) - var gOPD = __webpack_require__(50); + var gOPD = __webpack_require__(51); var $export = __webpack_require__(8); var anObject = __webpack_require__(12); @@ -5522,12 +6962,12 @@ /***/ }), -/* 245 */ +/* 251 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.8 Reflect.getPrototypeOf(target) var $export = __webpack_require__(8); - var getProto = __webpack_require__(58); + var getProto = __webpack_require__(59); var anObject = __webpack_require__(12); $export($export.S, 'Reflect', { @@ -5538,7 +6978,7 @@ /***/ }), -/* 246 */ +/* 252 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.9 Reflect.has(target, propertyKey) @@ -5552,7 +6992,7 @@ /***/ }), -/* 247 */ +/* 253 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.10 Reflect.isExtensible(target) @@ -5569,22 +7009,22 @@ /***/ }), -/* 248 */ +/* 254 */ /***/ (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__(255) }); /***/ }), -/* 249 */ +/* 255 */ /***/ (function(module, exports, __webpack_require__) { // all object keys, includes non-enumerable and symbols - var gOPN = __webpack_require__(49); - var gOPS = __webpack_require__(42); + var gOPN = __webpack_require__(50); + var gOPS = __webpack_require__(43); var anObject = __webpack_require__(12); var Reflect = __webpack_require__(4).Reflect; module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { @@ -5595,7 +7035,7 @@ /***/ }), -/* 250 */ +/* 256 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.12 Reflect.preventExtensions(target) @@ -5617,13 +7057,13 @@ /***/ }), -/* 251 */ +/* 257 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) var dP = __webpack_require__(11); - var gOPD = __webpack_require__(50); - var getPrototypeOf = __webpack_require__(58); + var gOPD = __webpack_require__(51); + var getPrototypeOf = __webpack_require__(59); var has = __webpack_require__(5); var $export = __webpack_require__(8); var createDesc = __webpack_require__(17); @@ -5642,9 +7082,11 @@ } 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 ? false : (ownDesc.set.call(receiver, V), true); @@ -5654,12 +7096,12 @@ /***/ }), -/* 252 */ +/* 258 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.14 Reflect.setPrototypeOf(target, proto) var $export = __webpack_require__(8); - var setProto = __webpack_require__(72); + var setProto = __webpack_require__(73); if (setProto) $export($export.S, 'Reflect', { setPrototypeOf: function setPrototypeOf(target, proto) { @@ -5675,13 +7117,13 @@ /***/ }), -/* 253 */ +/* 259 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://github.com/tc39/Array.prototype.includes var $export = __webpack_require__(8); - var $includes = __webpack_require__(36)(true); + var $includes = __webpack_require__(37)(true); $export($export.P, 'Array', { includes: function includes(el /* , fromIndex = 0 */) { @@ -5689,21 +7131,21 @@ } }); - __webpack_require__(187)('includes'); + __webpack_require__(188)('includes'); /***/ }), -/* 254 */ +/* 260 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap var $export = __webpack_require__(8); - var flattenIntoArray = __webpack_require__(255); - var toObject = __webpack_require__(57); - var toLength = __webpack_require__(37); - var aFunction = __webpack_require__(21); - var arraySpeciesCreate = __webpack_require__(174); + var flattenIntoArray = __webpack_require__(261); + var toObject = __webpack_require__(58); + var toLength = __webpack_require__(38); + var aFunction = __webpack_require__(24); + var arraySpeciesCreate = __webpack_require__(175); $export($export.P, 'Array', { flatMap: function flatMap(callbackfn /* , thisArg */) { @@ -5717,20 +7159,20 @@ } }); - __webpack_require__(187)('flatMap'); + __webpack_require__(188)('flatMap'); /***/ }), -/* 255 */ +/* 261 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray - var isArray = __webpack_require__(44); + var isArray = __webpack_require__(45); var isObject = __webpack_require__(13); - var toLength = __webpack_require__(37); - var ctx = __webpack_require__(20); - var IS_CONCAT_SPREADABLE = __webpack_require__(25)('isConcatSpreadable'); + var toLength = __webpack_require__(38); + var ctx = __webpack_require__(23); + var IS_CONCAT_SPREADABLE = __webpack_require__(27)('isConcatSpreadable'); function flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) { var targetIndex = start; @@ -5766,17 +7208,17 @@ /***/ }), -/* 256 */ +/* 262 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatten var $export = __webpack_require__(8); - var flattenIntoArray = __webpack_require__(255); - var toObject = __webpack_require__(57); - var toLength = __webpack_require__(37); - var toInteger = __webpack_require__(38); - var arraySpeciesCreate = __webpack_require__(174); + var flattenIntoArray = __webpack_require__(261); + var toObject = __webpack_require__(58); + var toLength = __webpack_require__(38); + var toInteger = __webpack_require__(39); + var arraySpeciesCreate = __webpack_require__(175); $export($export.P, 'Array', { flatten: function flatten(/* depthArg = 1 */) { @@ -5789,17 +7231,17 @@ } }); - __webpack_require__(187)('flatten'); + __webpack_require__(188)('flatten'); /***/ }), -/* 257 */ +/* 263 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://github.com/mathiasbynens/String.prototype.at var $export = __webpack_require__(8); - var $at = __webpack_require__(127)(true); + var $at = __webpack_require__(128)(true); $export($export.P, 'String', { at: function at(pos) { @@ -5809,15 +7251,17 @@ /***/ }), -/* 258 */ +/* 264 */ /***/ (function(module, exports, __webpack_require__) { '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__(265); + var userAgent = __webpack_require__(218); - $export($export.P, 'String', { + // 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); } @@ -5825,13 +7269,13 @@ /***/ }), -/* 259 */ +/* 265 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-string-pad-start-end - var toLength = __webpack_require__(37); - var repeat = __webpack_require__(90); - var defined = __webpack_require__(35); + var toLength = __webpack_require__(38); + var repeat = __webpack_require__(91); + var defined = __webpack_require__(36); module.exports = function (that, maxLength, fillString, left) { var S = String(defined(that)); @@ -5847,15 +7291,17 @@ /***/ }), -/* 260 */ +/* 266 */ /***/ (function(module, exports, __webpack_require__) { '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__(265); + var userAgent = __webpack_require__(218); - $export($export.P, 'String', { + // 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); } @@ -5863,12 +7309,12 @@ /***/ }), -/* 261 */ +/* 267 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://github.com/sebmarkbage/ecmascript-string-left-right-trim - __webpack_require__(82)('trimLeft', function ($trim) { + __webpack_require__(83)('trimLeft', function ($trim) { return function trimLeft() { return $trim(this, 1); }; @@ -5876,12 +7322,12 @@ /***/ }), -/* 262 */ +/* 268 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://github.com/sebmarkbage/ecmascript-string-left-right-trim - __webpack_require__(82)('trimRight', function ($trim) { + __webpack_require__(83)('trimRight', function ($trim) { return function trimRight() { return $trim(this, 2); }; @@ -5889,16 +7335,16 @@ /***/ }), -/* 263 */ +/* 269 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://tc39.github.io/String.prototype.matchAll/ var $export = __webpack_require__(8); - var defined = __webpack_require__(35); - var toLength = __webpack_require__(37); - var isRegExp = __webpack_require__(134); - var getFlags = __webpack_require__(197); + var defined = __webpack_require__(36); + var toLength = __webpack_require__(38); + var isRegExp = __webpack_require__(135); + var getFlags = __webpack_require__(198); var RegExpProto = RegExp.prototype; var $RegExpStringIterator = function (regexp, string) { @@ -5906,7 +7352,7 @@ this._s = string; }; - __webpack_require__(130)($RegExpStringIterator, 'RegExp String', function next() { + __webpack_require__(131)($RegExpStringIterator, 'RegExp String', function next() { var match = this._r.exec(this._s); return { value: match, done: match === null }; }); @@ -5925,19 +7371,29 @@ /***/ }), -/* 264 */ -[884, 27], -/* 265 */ -[885, 27], -/* 266 */ +/* 270 */ +/***/ (function(module, exports, __webpack_require__) { + + __webpack_require__(29)('asyncIterator'); + + +/***/ }), +/* 271 */ +/***/ (function(module, exports, __webpack_require__) { + + __webpack_require__(29)('observable'); + + +/***/ }), +/* 272 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-object-getownpropertydescriptors var $export = __webpack_require__(8); - var ownKeys = __webpack_require__(249); - var toIObject = __webpack_require__(32); - var gOPD = __webpack_require__(50); - var createProperty = __webpack_require__(164); + var ownKeys = __webpack_require__(255); + var toIObject = __webpack_require__(33); + var gOPD = __webpack_require__(51); + var createProperty = __webpack_require__(165); $export($export.S, 'Object', { getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { @@ -5957,12 +7413,12 @@ /***/ }), -/* 267 */ +/* 273 */ /***/ (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__(274)(false); $export($export.S, 'Object', { values: function values(it) { @@ -5972,12 +7428,12 @@ /***/ }), -/* 268 */ +/* 274 */ /***/ (function(module, exports, __webpack_require__) { - var getKeys = __webpack_require__(30); - var toIObject = __webpack_require__(32); - var isEnum = __webpack_require__(43).f; + var getKeys = __webpack_require__(31); + var toIObject = __webpack_require__(33); + var isEnum = __webpack_require__(44).f; module.exports = function (isEntries) { return function (it) { var O = toIObject(it); @@ -5994,12 +7450,12 @@ /***/ }), -/* 269 */ +/* 275 */ /***/ (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__(274)(true); $export($export.S, 'Object', { entries: function entries(it) { @@ -6009,17 +7465,17 @@ /***/ }), -/* 270 */ +/* 276 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var toObject = __webpack_require__(57); - var aFunction = __webpack_require__(21); + var toObject = __webpack_require__(58); + var aFunction = __webpack_require__(24); var $defineProperty = __webpack_require__(11); // B.2.2.2 Object.prototype.__defineGetter__(P, getter) - __webpack_require__(6) && $export($export.P + __webpack_require__(271), 'Object', { + __webpack_require__(6) && $export($export.P + __webpack_require__(277), 'Object', { __defineGetter__: function __defineGetter__(P, getter) { $defineProperty.f(toObject(this), P, { get: aFunction(getter), enumerable: true, configurable: true }); } @@ -6027,12 +7483,12 @@ /***/ }), -/* 271 */ +/* 277 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // Forced replacement prototype accessors methods - module.exports = __webpack_require__(28) || !__webpack_require__(7)(function () { + module.exports = __webpack_require__(22) || !__webpack_require__(7)(function () { var K = Math.random(); // In FF throws only define methods // eslint-disable-next-line no-undef, no-useless-call @@ -6042,17 +7498,17 @@ /***/ }), -/* 272 */ +/* 278 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var toObject = __webpack_require__(57); - var aFunction = __webpack_require__(21); + var toObject = __webpack_require__(58); + var aFunction = __webpack_require__(24); var $defineProperty = __webpack_require__(11); // B.2.2.3 Object.prototype.__defineSetter__(P, setter) - __webpack_require__(6) && $export($export.P + __webpack_require__(271), 'Object', { + __webpack_require__(6) && $export($export.P + __webpack_require__(277), 'Object', { __defineSetter__: function __defineSetter__(P, setter) { $defineProperty.f(toObject(this), P, { set: aFunction(setter), enumerable: true, configurable: true }); } @@ -6060,18 +7516,18 @@ /***/ }), -/* 273 */ +/* 279 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var toObject = __webpack_require__(57); + var toObject = __webpack_require__(58); var toPrimitive = __webpack_require__(16); - var getPrototypeOf = __webpack_require__(58); - var getOwnPropertyDescriptor = __webpack_require__(50).f; + var getPrototypeOf = __webpack_require__(59); + var getOwnPropertyDescriptor = __webpack_require__(51).f; // B.2.2.4 Object.prototype.__lookupGetter__(P) - __webpack_require__(6) && $export($export.P + __webpack_require__(271), 'Object', { + __webpack_require__(6) && $export($export.P + __webpack_require__(277), 'Object', { __lookupGetter__: function __lookupGetter__(P) { var O = toObject(this); var K = toPrimitive(P, true); @@ -6084,18 +7540,18 @@ /***/ }), -/* 274 */ +/* 280 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); - var toObject = __webpack_require__(57); + var toObject = __webpack_require__(58); var toPrimitive = __webpack_require__(16); - var getPrototypeOf = __webpack_require__(58); - var getOwnPropertyDescriptor = __webpack_require__(50).f; + var getPrototypeOf = __webpack_require__(59); + var getOwnPropertyDescriptor = __webpack_require__(51).f; // B.2.2.5 Object.prototype.__lookupSetter__(P) - __webpack_require__(6) && $export($export.P + __webpack_require__(271), 'Object', { + __webpack_require__(6) && $export($export.P + __webpack_require__(277), 'Object', { __lookupSetter__: function __lookupSetter__(P) { var O = toObject(this); var K = toPrimitive(P, true); @@ -6108,22 +7564,22 @@ /***/ }), -/* 275 */ +/* 281 */ /***/ (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__(282)('Map') }); /***/ }), -/* 276 */ +/* 282 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/DavidBruant/Map-Set.prototype.toJSON - var classof = __webpack_require__(74); - var from = __webpack_require__(277); + var classof = __webpack_require__(75); + var from = __webpack_require__(283); module.exports = function (NAME) { return function toJSON() { if (classof(this) != NAME) throw TypeError(NAME + "#toJSON isn't generic"); @@ -6133,10 +7589,10 @@ /***/ }), -/* 277 */ +/* 283 */ /***/ (function(module, exports, __webpack_require__) { - var forOf = __webpack_require__(207); + var forOf = __webpack_require__(213); module.exports = function (iter, ITERATOR) { var result = []; @@ -6146,25 +7602,25 @@ /***/ }), -/* 278 */ +/* 284 */ /***/ (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__(282)('Set') }); /***/ }), -/* 279 */ +/* 285 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-map.of - __webpack_require__(280)('Map'); + __webpack_require__(286)('Map'); /***/ }), -/* 280 */ +/* 286 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -6174,7 +7630,7 @@ module.exports = function (COLLECTION) { $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); } }); @@ -6182,47 +7638,47 @@ /***/ }), -/* 281 */ +/* 287 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-set.of - __webpack_require__(280)('Set'); + __webpack_require__(286)('Set'); /***/ }), -/* 282 */ +/* 288 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of - __webpack_require__(280)('WeakMap'); + __webpack_require__(286)('WeakMap'); /***/ }), -/* 283 */ +/* 289 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of - __webpack_require__(280)('WeakSet'); + __webpack_require__(286)('WeakSet'); /***/ }), -/* 284 */ +/* 290 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-map.from - __webpack_require__(285)('Map'); + __webpack_require__(291)('Map'); /***/ }), -/* 285 */ +/* 291 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://tc39.github.io/proposal-setmap-offrom/ var $export = __webpack_require__(8); - var aFunction = __webpack_require__(21); - var ctx = __webpack_require__(20); - var forOf = __webpack_require__(207); + var aFunction = __webpack_require__(24); + var ctx = __webpack_require__(23); + var forOf = __webpack_require__(213); module.exports = function (COLLECTION) { $export($export.S, COLLECTION, { from: function from(source /* , mapFn, thisArg */) { @@ -6248,31 +7704,31 @@ /***/ }), -/* 286 */ +/* 292 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-set.from - __webpack_require__(285)('Set'); + __webpack_require__(291)('Set'); /***/ }), -/* 287 */ +/* 293 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from - __webpack_require__(285)('WeakMap'); + __webpack_require__(291)('WeakMap'); /***/ }), -/* 288 */ +/* 294 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from - __webpack_require__(285)('WeakSet'); + __webpack_require__(291)('WeakSet'); /***/ }), -/* 289 */ +/* 295 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-global @@ -6282,7 +7738,7 @@ /***/ }), -/* 290 */ +/* 296 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-global @@ -6292,12 +7748,12 @@ /***/ }), -/* 291 */ +/* 297 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/ljharb/proposal-is-error var $export = __webpack_require__(8); - var cof = __webpack_require__(34); + var cof = __webpack_require__(35); $export($export.S, 'Error', { isError: function isError(it) { @@ -6307,7 +7763,7 @@ /***/ }), -/* 292 */ +/* 298 */ /***/ (function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ @@ -6321,7 +7777,7 @@ /***/ }), -/* 293 */ +/* 299 */ /***/ (function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ @@ -6331,7 +7787,7 @@ /***/ }), -/* 294 */ +/* 300 */ /***/ (function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ @@ -6346,13 +7802,13 @@ /***/ }), -/* 295 */ +/* 301 */ /***/ (function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = __webpack_require__(8); - var scale = __webpack_require__(296); - var fround = __webpack_require__(113); + var scale = __webpack_require__(302); + var fround = __webpack_require__(114); $export($export.S, 'Math', { fscale: function fscale(x, inLow, inHigh, outLow, outHigh) { @@ -6362,7 +7818,7 @@ /***/ }), -/* 296 */ +/* 302 */ /***/ (function(module, exports) { // https://rwaldron.github.io/proposal-math-extensions/ @@ -6386,7 +7842,7 @@ /***/ }), -/* 297 */ +/* 303 */ /***/ (function(module, exports, __webpack_require__) { // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 @@ -6403,7 +7859,7 @@ /***/ }), -/* 298 */ +/* 304 */ /***/ (function(module, exports, __webpack_require__) { // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 @@ -6420,7 +7876,7 @@ /***/ }), -/* 299 */ +/* 305 */ /***/ (function(module, exports, __webpack_require__) { // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 @@ -6442,7 +7898,7 @@ /***/ }), -/* 300 */ +/* 306 */ /***/ (function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ @@ -6452,7 +7908,7 @@ /***/ }), -/* 301 */ +/* 307 */ /***/ (function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ @@ -6467,17 +7923,17 @@ /***/ }), -/* 302 */ +/* 308 */ /***/ (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__(302) }); /***/ }), -/* 303 */ +/* 309 */ /***/ (function(module, exports, __webpack_require__) { // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 @@ -6499,7 +7955,7 @@ /***/ }), -/* 304 */ +/* 310 */ /***/ (function(module, exports, __webpack_require__) { // http://jfbastien.github.io/papers/Math.signbit.html @@ -6512,7 +7968,7 @@ /***/ }), -/* 305 */ +/* 311 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-promise-finally @@ -6520,8 +7976,8 @@ 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 speciesConstructor = __webpack_require__(210); + var promiseResolve = __webpack_require__(219); $export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { var C = speciesConstructor(this, core.Promise || global.Promise); @@ -6538,14 +7994,14 @@ /***/ }), -/* 306 */ +/* 312 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://github.com/tc39/proposal-promise-try var $export = __webpack_require__(8); - var newPromiseCapability = __webpack_require__(211); - var perform = __webpack_require__(212); + var newPromiseCapability = __webpack_require__(216); + var perform = __webpack_require__(217); $export($export.S, 'Promise', { 'try': function (callbackfn) { var promiseCapability = newPromiseCapability.f(this); @@ -6556,10 +8012,10 @@ /***/ }), -/* 307 */ +/* 313 */ /***/ (function(module, exports, __webpack_require__) { - var metadata = __webpack_require__(308); + var metadata = __webpack_require__(314); var anObject = __webpack_require__(12); var toMetaKey = metadata.key; var ordinaryDefineOwnMetadata = metadata.set; @@ -6570,13 +8026,13 @@ /***/ }), -/* 308 */ +/* 314 */ /***/ (function(module, exports, __webpack_require__) { - var Map = __webpack_require__(215); + var Map = __webpack_require__(221); var $export = __webpack_require__(8); - var shared = __webpack_require__(23)('metadata'); - var store = shared.store || (shared.store = new (__webpack_require__(220))()); + var shared = __webpack_require__(21)('metadata'); + var store = shared.store || (shared.store = new (__webpack_require__(226))()); var getOrCreateMetadataMap = function (target, targetKey, create) { var targetMetadata = store.get(target); @@ -6627,10 +8083,10 @@ /***/ }), -/* 309 */ +/* 315 */ /***/ (function(module, exports, __webpack_require__) { - var metadata = __webpack_require__(308); + var metadata = __webpack_require__(314); var anObject = __webpack_require__(12); var toMetaKey = metadata.key; var getOrCreateMetadataMap = metadata.map; @@ -6648,12 +8104,12 @@ /***/ }), -/* 310 */ +/* 316 */ /***/ (function(module, exports, __webpack_require__) { - var metadata = __webpack_require__(308); + var metadata = __webpack_require__(314); var anObject = __webpack_require__(12); - var getPrototypeOf = __webpack_require__(58); + var getPrototypeOf = __webpack_require__(59); var ordinaryHasOwnMetadata = metadata.has; var ordinaryGetOwnMetadata = metadata.get; var toMetaKey = metadata.key; @@ -6671,14 +8127,14 @@ /***/ }), -/* 311 */ +/* 317 */ /***/ (function(module, exports, __webpack_require__) { - var Set = __webpack_require__(219); - var from = __webpack_require__(277); - var metadata = __webpack_require__(308); + var Set = __webpack_require__(225); + var from = __webpack_require__(283); + var metadata = __webpack_require__(314); var anObject = __webpack_require__(12); - var getPrototypeOf = __webpack_require__(58); + var getPrototypeOf = __webpack_require__(59); var ordinaryOwnMetadataKeys = metadata.keys; var toMetaKey = metadata.key; @@ -6696,10 +8152,10 @@ /***/ }), -/* 312 */ +/* 318 */ /***/ (function(module, exports, __webpack_require__) { - var metadata = __webpack_require__(308); + var metadata = __webpack_require__(314); var anObject = __webpack_require__(12); var ordinaryGetOwnMetadata = metadata.get; var toMetaKey = metadata.key; @@ -6711,10 +8167,10 @@ /***/ }), -/* 313 */ +/* 319 */ /***/ (function(module, exports, __webpack_require__) { - var metadata = __webpack_require__(308); + var metadata = __webpack_require__(314); var anObject = __webpack_require__(12); var ordinaryOwnMetadataKeys = metadata.keys; var toMetaKey = metadata.key; @@ -6725,12 +8181,12 @@ /***/ }), -/* 314 */ +/* 320 */ /***/ (function(module, exports, __webpack_require__) { - var metadata = __webpack_require__(308); + var metadata = __webpack_require__(314); var anObject = __webpack_require__(12); - var getPrototypeOf = __webpack_require__(58); + var getPrototypeOf = __webpack_require__(59); var ordinaryHasOwnMetadata = metadata.has; var toMetaKey = metadata.key; @@ -6747,10 +8203,10 @@ /***/ }), -/* 315 */ +/* 321 */ /***/ (function(module, exports, __webpack_require__) { - var metadata = __webpack_require__(308); + var metadata = __webpack_require__(314); var anObject = __webpack_require__(12); var ordinaryHasOwnMetadata = metadata.has; var toMetaKey = metadata.key; @@ -6762,12 +8218,12 @@ /***/ }), -/* 316 */ +/* 322 */ /***/ (function(module, exports, __webpack_require__) { - var $metadata = __webpack_require__(308); + var $metadata = __webpack_require__(314); var anObject = __webpack_require__(12); - var aFunction = __webpack_require__(21); + var aFunction = __webpack_require__(24); var toMetaKey = $metadata.key; var ordinaryDefineOwnMetadata = $metadata.set; @@ -6783,14 +8239,14 @@ /***/ }), -/* 317 */ +/* 323 */ /***/ (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 microtask = __webpack_require__(215)(); var process = __webpack_require__(4).process; - var isNode = __webpack_require__(34)(process) == 'process'; + var isNode = __webpack_require__(35)(process) == 'process'; $export($export.G, { asap: function asap(fn) { @@ -6801,7 +8257,7 @@ /***/ }), -/* 318 */ +/* 324 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -6809,14 +8265,14 @@ 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 aFunction = __webpack_require__(21); + var microtask = __webpack_require__(215)(); + var OBSERVABLE = __webpack_require__(27)('observable'); + var aFunction = __webpack_require__(24); var anObject = __webpack_require__(12); - var anInstance = __webpack_require__(206); - var redefineAll = __webpack_require__(214); + var anInstance = __webpack_require__(212); + var redefineAll = __webpack_require__(220); var hide = __webpack_require__(10); - var forOf = __webpack_require__(207); + var forOf = __webpack_require__(213); var RETURN = forOf.RETURN; var getMethod = function (fn) { @@ -6982,7 +8438,7 @@ }); }, of: function of() { - for (var i = 0, l = arguments.length, items = Array(l); i < l;) items[i] = arguments[i++]; + 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 (observer) { var done = false; microtask(function () { @@ -7002,19 +8458,19 @@ $export($export.G, { Observable: $Observable }); - __webpack_require__(193)('Observable'); + __webpack_require__(194)('Observable'); /***/ }), -/* 319 */ +/* 325 */ /***/ (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__(218); 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; @@ -7032,11 +8488,11 @@ /***/ }), -/* 320 */ +/* 326 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); - var $task = __webpack_require__(209); + var $task = __webpack_require__(214); $export($export.G + $export.B, { setImmediate: $task.set, clearImmediate: $task.clear @@ -7044,16 +8500,16 @@ /***/ }), -/* 321 */ +/* 327 */ /***/ (function(module, exports, __webpack_require__) { - var $iterators = __webpack_require__(194); - var getKeys = __webpack_require__(30); + var $iterators = __webpack_require__(195); + var getKeys = __webpack_require__(31); var redefine = __webpack_require__(18); var global = __webpack_require__(4); var hide = __webpack_require__(10); - var Iterators = __webpack_require__(129); - var wks = __webpack_require__(25); + var Iterators = __webpack_require__(130); + var wks = __webpack_require__(27); var ITERATOR = wks('iterator'); var TO_STRING_TAG = wks('toStringTag'); var ArrayValues = Iterators.Array; @@ -7108,7 +8564,7 @@ /***/ }), -/* 322 */ +/* 328 */ /***/ (function(module, exports) { /* WEBPACK VAR INJECTION */(function(global) {/** @@ -7851,26 +9307,26 @@ /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) /***/ }), -/* 323 */ +/* 329 */ /***/ (function(module, exports, __webpack_require__) { - __webpack_require__(324); + __webpack_require__(330); module.exports = __webpack_require__(9).RegExp.escape; /***/ }), -/* 324 */ +/* 330 */ /***/ (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__(331)(/[\\^$*+?.()|[\]{}]/g, '\\$&'); $export($export.S, 'RegExp', { escape: function escape(it) { return $re(it); } }); /***/ }), -/* 325 */ +/* 331 */ /***/ (function(module, exports) { module.exports = function (regExp, replace) { @@ -7884,20 +9340,20 @@ /***/ }), -/* 326 */ +/* 332 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDom = __webpack_require__(330); + var _reactDom = __webpack_require__(336); var _reactDom2 = _interopRequireDefault(_reactDom); - var _root = __webpack_require__(334); + var _root = __webpack_require__(340); var _root2 = _interopRequireDefault(_root); @@ -7906,23 +9362,23 @@ _reactDom2.default.render(_react2.default.createElement(_root2.default, null), document.getElementById('app')); /***/ }), -/* 327 */ +/* 333 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; if (true) { - module.exports = __webpack_require__(328); + module.exports = __webpack_require__(334); } else { module.exports = require('./cjs/react.development.js'); } /***/ }), -/* 328 */ +/* 334 */ /***/ (function(module, exports, __webpack_require__) { - /** @license React v16.6.1 + /** @license React v16.8.1 * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. @@ -7931,25 +9387,26 @@ * LICENSE file in the root directory of this source tree. */ - 'use strict';var k=__webpack_require__(329),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.concurrent_mode"):60111,y=n?Symbol.for("react.forward_ref"):60112,z=n?Symbol.for("react.suspense"):60113,A=n?Symbol.for("react.memo"): - 60115,B=n?Symbol.for("react.lazy"):60116,C="function"===typeof Symbol&&Symbol.iterator;function aa(a,b,e,c,d,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 l=[e,c,d,g,h,f],m=0;a=Error(b.replace(/%s/g,function(){return l[m++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}} - function D(a){for(var b=arguments.length-1,e="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;cQ.length&&Q.push(a)} - function T(a,b,e,c){var d=typeof a;if("undefined"===d||"boolean"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case p:case q:g=!0}}if(g)return e(c,a,""===b?"."+U(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var h=0;hP.length&&P.push(a)} + 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 h=0;hthis.eventPool.length&&this.eventPool.push(a)} - function jb(a){a.eventPool=[];a.getPooled=kb;a.release=lb}var mb=A.extend({data:null}),nb=A.extend({data:null}),ob=[9,13,27,32],pb=Sa&&"CompositionEvent"in window,qb=null;Sa&&"documentMode"in document&&(qb=document.documentMode); - var rb=Sa&&"TextEvent"in window&&!qb,sb=Sa&&(!pb||qb&&8=qb),tb=String.fromCharCode(32),ub={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(" ")}},vb=!1; - function wb(a,b){switch(a){case "keyup":return-1!==ob.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "blur":return!0;default:return!1}}function xb(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var yb=!1;function zb(a,b){switch(a){case "compositionend":return xb(b);case "keypress":if(32!==b.which)return null;vb=!0;return tb;case "textInput":return a=b.data,a===tb&&vb?null:a;default:return null}} - function Ab(a,b){if(yb)return"compositionend"===a||!pb&&wb(a,b)?(a=gb(),fb=eb=cb=null,yb=!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&&1this.eventPool.length&&this.eventPool.push(a)} + function jb(a){a.eventPool=[];a.getPooled=kb;a.release=lb}var mb=A.extend({data:null}),nb=A.extend({data:null}),ob=[9,13,27,32],pb=Ta&&"CompositionEvent"in window,qb=null;Ta&&"documentMode"in document&&(qb=document.documentMode); + var rb=Ta&&"TextEvent"in window&&!qb,sb=Ta&&(!pb||qb&&8=qb),tb=String.fromCharCode(32),ub={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(" ")}},wb=!1; + function xb(a,b){switch(a){case "keyup":return-1!==ob.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "blur":return!0;default:return!1}}function yb(a){a=a.detail;return"object"===typeof a&&"data"in a?a.data:null}var zb=!1;function Ab(a,b){switch(a){case "compositionend":return yb(b);case "keypress":if(32!==b.which)return null;wb=!0;return tb;case "textInput":return a=b.data,a===tb&&wb?null:a;default:return null}} + function Bb(a,b){if(zb)return"compositionend"===a||!pb&&xb(a,b)?(a=gb(),fb=eb=db=null,zb=!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&&1b}return!1}function E(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 F={}; - "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){F[a]=new E(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];F[b]=new E(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){F[a]=new E(a,2,!1,a.toLowerCase(),null)}); - ["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){F[a]=new E(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){F[a]=new E(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){F[a]=new E(a,3,!0,a,null)}); - ["capture","download"].forEach(function(a){F[a]=new E(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){F[a]=new E(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){F[a]=new E(a,5,!1,a.toLowerCase(),null)});var vc=/[\-:]([a-z])/g;function xc(a){return a[1].toUpperCase()} + 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 F(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 G={}; + "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){G[a]=new F(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];G[b]=new F(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){G[a]=new F(a,2,!1,a.toLowerCase(),null)}); + ["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){G[a]=new F(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){G[a]=new F(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){G[a]=new F(a,3,!0,a,null)}); + ["capture","download"].forEach(function(a){G[a]=new F(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){G[a]=new F(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){G[a]=new F(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, - xc);F[b]=new E(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,xc);F[b]=new E(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(vc,xc);F[b]=new E(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});F.tabIndex=new E("tabIndex",1,!1,"tabindex",null); - function yc(a,b,c,d){var e=F.hasOwnProperty(b)?F[b]:null;var f=null!==e?0===e.type:d?!1:!(2Fd.length&&Fd.push(a)}}}var Ld={},Md=0,Nd="_reactListenersID"+(""+Math.random()).slice(2); + var Dd={eventTypes:Ad,isInteractiveTopLevelEventType:function(a){a=Bd[a];return void 0!==a&&!0===a.isInteractive},extractEvents:function(a,b,c,d){var e=Bd[a];if(!e)return null;switch(a){case "keypress":if(0===rd(c))return null;case "keydown":case "keyup":a=ud;break;case "blur":case "focus":a=qd;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=bd;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":a= + vd;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":a=wd;break;case Za:case $a:case ab:a=od;break;case bb:a=xd;break;case "scroll":a=Uc;break;case "wheel":a=yd;break;case "copy":case "cut":case "paste":a=pd;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":a=cd;break;default:a=A}b=a.getPooled(e,b,c,d);Sa(b);return b}},Ed=Dd.isInteractiveTopLevelEventType, + Fd=[];function Gd(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=3!==d.tag?null:d.stateNode.containerInfo;if(!d)break;a.ancestors.push(c);c=Ja(d)}while(c);for(c=0;cFd.length&&Fd.push(a)}}}var Ld={},Md=0,Nd="_reactListenersID"+(""+Math.random()).slice(2); function Od(a){Object.prototype.hasOwnProperty.call(a,Nd)||(a[Nd]=Md++,Ld[a[Nd]]={});return Ld[a[Nd]]}function Pd(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=Pd();b instanceof a.HTMLIFrameElement;){try{a=b.contentDocument.defaultView}catch(c){break}b=Pd(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=Sa&&"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!==Pd(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&&jd(Zd,c)?null:(Zd=c,a=A.getPooled(Wd.select,Yd,a,b),a.type="select",a.target=Xd,Ra(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=Od(e);f=ta.onSelect;for(var g=0;g=b.length?void 0:t("93"),b=b[0]),c=b),null==c&&(c=""));a._wrapperState={initialValue:zc(c)}} - function ie(a,b){var c=zc(b.value),d=zc(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 je(a){var b=a.textContent;b===a._wrapperState.initialValue&&(a.value=b)}var ke={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"}; - function le(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 me(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?le(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a} - var ne=void 0,oe=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!==ke.svg||"innerHTML"in a)a.innerHTML=b;else{ne=ne||document.createElement("div");ne.innerHTML=""+b+"";for(b=ne.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}}); - function pe(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b} - var qe={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},re=["Webkit","ms","Moz","O"];Object.keys(qe).forEach(function(a){re.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);qe[b]=qe[a]})});function se(a,b,c){return null==b||"boolean"===typeof b||""===b?"":c||"number"!==typeof b||0===b||qe.hasOwnProperty(a)&&qe[a]?(""+b).trim():b+"px"} - function te(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf("--"),e=se(c,b[c],d);"float"===c&&(c="cssFloat");d?a.setProperty(c,e):a[c]=e}}var ue=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 ve(a,b){b&&(ue[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 we(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 xe(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=Od(a);b=ta[b];for(var d=0;dIe||(a.current=He[Ie],He[Ie]=null,Ie--)}function I(a,b){Ie++;He[Ie]=a.current;a.current=b}var Je={},J={current:Je},K={current:!1},Ke=Je; - function Le(a,b){var c=a.type.contextTypes;if(!c)return Je;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 L(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Me(a){H(K,a);H(J,a)}function Ne(a){H(K,a);H(J,a)} - function Oe(a,b,c){J.current!==Je?t("168"):void 0;I(J,b,a);I(K,c,a)}function Pe(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",mc(b)||"Unknown",e);return n({},c,d)}function Qe(a){var b=a.stateNode;b=b&&b.__reactInternalMemoizedMergedChildContext||Je;Ke=J.current;I(J,b,a);I(K,K.current,a);return!0} - function Re(a,b,c){var d=a.stateNode;d?void 0:t("169");c?(b=Pe(a,b,Ke),d.__reactInternalMemoizedMergedChildContext=b,H(K,a),H(J,a),I(J,b,a)):H(K,a);I(K,c,a)}var Se=null,Te=null;function Ue(a){return function(b){try{return a(b)}catch(c){}}} - function Ve(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);Se=Ue(function(a){return b.onCommitFiberRoot(c,a)});Te=Ue(function(a){return b.onCommitFiberUnmount(c,a)})}catch(d){}return!0} - function We(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=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 M(a,b,c,d){return new We(a,b,c,d)} - function Xe(a){a=a.prototype;return!(!a||!a.isReactComponent)}function Ye(a){if("function"===typeof a)return Xe(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===gc)return 11;if(a===ic)return 14}return 2} - function Ze(a,b){var c=a.alternate;null===c?(c=M(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.effectTag=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null);c.childExpirationTime=a.childExpirationTime;c.expirationTime=a.expirationTime;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;c.firstContextDependency=a.firstContextDependency;c.sibling=a.sibling; + var Vd=Ta&&"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!==Pd(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&&hd(Zd,c)?null:(Zd=c,a=A.getPooled(Wd.select,Yd,a,b),a.type="select",a.target=Xd,Sa(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=Od(e);f=ua.onSelect;for(var g=0;g=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,c){return null==b||"boolean"===typeof b||""===b?"":c||"number"!==typeof b||0===b||pe.hasOwnProperty(a)&&pe[a]?(""+b).trim():b+"px"} + function se(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf("--"),e=re(c,b[c],d);"float"===c&&(c="cssFloat");d?a.setProperty(c,e):a[c]=e}}var te=p({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 ue(a,b){b&&(te[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 ve(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 we(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=Od(a);b=ua[b];for(var d=0;dKe||(a.current=Je[Ke],Je[Ke]=null,Ke--)}function J(a,b){Ke++;Je[Ke]=a.current;a.current=b}var Le={},K={current:Le},L={current:!1},Me=Le; + function Oe(a,b){var c=a.type.contextTypes;if(!c)return Le;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 M(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Pe(a){I(L,a);I(K,a)}function Qe(a){I(L,a);I(K,a)} + function Re(a,b,c){K.current!==Le?t("168"):void 0;J(K,b,a);J(L,c,a)}function Se(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",mc(b)||"Unknown",e);return p({},c,d)}function Te(a){var b=a.stateNode;b=b&&b.__reactInternalMemoizedMergedChildContext||Le;Me=K.current;J(K,b,a);J(L,L.current,a);return!0} + function Ue(a,b,c){var d=a.stateNode;d?void 0:t("169");c?(b=Se(a,b,Me),d.__reactInternalMemoizedMergedChildContext=b,I(L,a),I(K,a),J(K,b,a)):I(L,a);J(L,c,a)}var Ve=null,We=null;function Xe(a){return function(b){try{return a(b)}catch(c){}}} + function Ye(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);Ve=Xe(function(a){return b.onCommitFiberRoot(c,a)});We=Xe(function(a){return b.onCommitFiberUnmount(c,a)})}catch(d){}return!0} + function Ze(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.contextDependencies=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 N(a,b,c,d){return new Ze(a,b,c,d)} + function $e(a){a=a.prototype;return!(!a||!a.isReactComponent)}function af(a){if("function"===typeof a)return $e(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===gc)return 11;if(a===ic)return 14}return 2} + function bf(a,b){var c=a.alternate;null===c?(c=N(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.effectTag=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null);c.childExpirationTime=a.childExpirationTime;c.expirationTime=a.expirationTime;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;c.contextDependencies=a.contextDependencies;c.sibling=a.sibling; c.index=a.index;c.ref=a.ref;return c} - function $e(a,b,c,d,e,f){var g=2;d=a;if("function"===typeof a)Xe(a)&&(g=1);else if("string"===typeof a)g=5;else a:switch(a){case ac:return af(c.children,e,f,b);case fc:return bf(c,e|3,f,b);case bc:return bf(c,e|2,f,b);case cc:return a=M(12,c,b,e|4),a.elementType=cc,a.type=cc,a.expirationTime=f,a;case hc:return a=M(13,c,b,e),a.elementType=hc,a.type=hc,a.expirationTime=f,a;default:if("object"===typeof a&&null!==a)switch(a.$$typeof){case dc:g=10;break a;case ec:g=9;break a;case gc:g=11;break a;case ic:g= - 14;break a;case jc:g=16;d=null;break a}t("130",null==a?a:typeof a,"")}b=M(g,c,b,e);b.elementType=a;b.type=d;b.expirationTime=f;return b}function af(a,b,c,d){a=M(7,a,d,b);a.expirationTime=c;return a}function bf(a,b,c,d){a=M(8,a,d,b);b=0===(b&1)?bc:fc;a.elementType=b;a.type=b;a.expirationTime=c;return a}function cf(a,b,c){a=M(6,a,null,b);a.expirationTime=c;return a} - function df(a,b,c){b=M(4,null!==a.children?a.children:[],a.key,b);b.expirationTime=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}function ef(a,b){a.didError=!1;var c=a.earliestPendingTime;0===c?a.earliestPendingTime=a.latestPendingTime=b:cb&&(a.latestPendingTime=b);ff(b,a)} - function gf(a,b){a.didError=!1;var c=a.latestPingedTime;0!==c&&c>=b&&(a.latestPingedTime=0);c=a.earliestPendingTime;var d=a.latestPendingTime;c===b?a.earliestPendingTime=d===b?a.latestPendingTime=0:d:d===b&&(a.latestPendingTime=c);c=a.earliestSuspendedTime;d=a.latestSuspendedTime;0===c?a.earliestSuspendedTime=a.latestSuspendedTime=b:cb&&(a.latestSuspendedTime=b);ff(b,a)} - function hf(a,b){var c=a.earliestPendingTime;a=a.earliestSuspendedTime;c>b&&(b=c);a>b&&(b=a);return b}function ff(a,b){var c=b.earliestSuspendedTime,d=b.latestSuspendedTime,e=b.earliestPendingTime,f=b.latestPingedTime;e=0!==e?e:f;0===e&&(0===a||da&&(a=c);b.nextExpirationTimeToWorkOn=e;b.expirationTime=a}var jf=!1; - function kf(a){return{baseState:a,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function lf(a){return{baseState:a.baseState,firstUpdate:a.firstUpdate,lastUpdate:a.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}} - function mf(a){return{expirationTime:a,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function nf(a,b){null===a.lastUpdate?a.firstUpdate=a.lastUpdate=b:(a.lastUpdate.next=b,a.lastUpdate=b)} - function of(a,b){var c=a.alternate;if(null===c){var d=a.updateQueue;var e=null;null===d&&(d=a.updateQueue=kf(a.memoizedState))}else d=a.updateQueue,e=c.updateQueue,null===d?null===e?(d=a.updateQueue=kf(a.memoizedState),e=c.updateQueue=kf(c.memoizedState)):d=a.updateQueue=lf(e):null===e&&(e=c.updateQueue=lf(d));null===e||d===e?nf(d,b):null===d.lastUpdate||null===e.lastUpdate?(nf(d,b),nf(e,b)):(nf(d,b),e.lastUpdate=b)} - function pf(a,b){var c=a.updateQueue;c=null===c?a.updateQueue=kf(a.memoizedState):qf(a,c);null===c.lastCapturedUpdate?c.firstCapturedUpdate=c.lastCapturedUpdate=b:(c.lastCapturedUpdate.next=b,c.lastCapturedUpdate=b)}function qf(a,b){var c=a.alternate;null!==c&&b===c.updateQueue&&(b=a.updateQueue=lf(b));return b} - function rf(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&-2049|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:jf=!0}return d} - function sf(a,b,c,d,e){jf=!1;b=qf(a,b);for(var f=b.baseState,g=null,h=0,k=b.firstUpdate,l=f;null!==k;){var m=k.expirationTime;mu?(p=m,m=null):p=m.sibling;var v=x(e,m,h[u],k);if(null===v){null===m&&(m=p);break}a&& - m&&null===v.alternate&&b(e,m);g=f(v,g,u);null===r?l=v:r.sibling=v;r=v;m=p}if(u===h.length)return c(e,m),l;if(null===m){for(;uu?(p=r,r=null):p=r.sibling;var y=x(e,r,v.value,k);if(null===y){r||(r=p);break}a&&r&&null===y.alternate&&b(e,r);g=f(y,g,u);null===m?l=y:m.sibling=y;m=y;r=p}if(v.done)return c(e,r),l;if(null===r){for(;!v.done;u++,v=h.next())v=q(e,v.value,k),null!==v&&(g=f(v,g,u),null===m?l=v:m.sibling=v,m=v);return l}for(r=d(e,r);!v.done;u++,v=h.next())v=z(r,e,u,v.value,k),null!==v&&(a&&null!==v.alternate&&r.delete(null===v.key?u: - v.key),g=f(v,g,u),null===m?l=v:m.sibling=v,m=v);a&&r.forEach(function(a){return b(e,a)});return l}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===ac&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case Zb:a:{l=f.key;for(k=d;null!==k;){if(k.key===l)if(7===k.tag?f.type===ac:k.elementType===f.type){c(a,k.sibling);d=e(k,f.type===ac?f.props.children:f.props,h);d.ref=$f(a,k,f);d.return=a;a=d;break a}else{c(a,k);break}else b(a,k);k= - k.sibling}f.type===ac?(d=af(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=$e(f.type,f.key,f.props,null,a.mode,h),h.ref=$f(a,d,f),h.return=a,a=h)}return g(a);case $b:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===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=df(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f= - ""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f,h),d.return=a,a=d):(c(a,d),d=cf(f,a.mode,h),d.return=a,a=d),g(a);if(Zf(f))return B(a,d,f,h);if(lc(f))return Q(a,d,f,h);l&&ag(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 1:case 0:h=a.type,t("152",h.displayName||h.name||"Component")}return c(a,d)}}var cg=bg(!0),dg=bg(!1),eg=null,fg=null,gg=!1; - function hg(a,b){var c=M(5,null,null,0);c.elementType="DELETED";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 ig(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=""===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;default:return!1}} - function jg(a){if(gg){var b=fg;if(b){var c=b;if(!ig(a,b)){b=Fe(c);if(!b||!ig(a,b)){a.effectTag|=2;gg=!1;eg=a;return}hg(eg,c)}eg=a;fg=Ge(b)}else a.effectTag|=2,gg=!1,eg=a}}function kg(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag;)a=a.return;eg=a}function lg(a){if(a!==eg)return!1;if(!gg)return kg(a),gg=!0,!1;var b=a.type;if(5!==a.tag||"head"!==b&&"body"!==b&&!Ce(b,a.memoizedProps))for(b=fg;b;)hg(a,b),b=Fe(b);kg(a);fg=eg?Fe(a.stateNode):null;return!0}function mg(){fg=eg=null;gg=!1}var ng=Xb.ReactCurrentOwner; - function P(a,b,c,d){b.child=null===a?dg(b,null,c,d):cg(b,a.child,c,d)}function og(a,b,c,d,e){c=c.render;var f=b.ref;Cf(b,e);d=c(d,f);b.effectTag|=1;P(a,b,d,e);return b.child} - function pg(a,b,c,d,e,f){if(null===a){var g=c.type;if("function"===typeof g&&!Xe(g)&&void 0===g.defaultProps&&null===c.compare)return b.tag=15,b.type=g,qg(a,b,g,d,e,f);a=$e(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(e=c)return xg(a,b,c);b=rg(a,b,c);return null!==b?b.sibling:null}}return rg(a,b,c)}b.expirationTime=0;switch(b.tag){case 2:d=b.elementType;null!== - a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;var e=Le(b,J.current);Cf(b,c);e=d(a,e);b.effectTag|=1;if("object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof){b.tag=1;if(L(d)){var f=!0;Qe(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;var g=d.getDerivedStateFromProps;"function"===typeof g&&Pf(b,d,g,a);e.updater=Uf;b.stateNode=e;e._reactInternalFiber=b;Yf(b,d,a,c);b=vg(null,b,d,!0,f,c)}else b.tag=0,P(null,b,e,c),b=b.child; - return b;case 16:e=b.elementType;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);f=b.pendingProps;a=Mf(e);b.type=a;e=b.tag=Ye(a);f=O(a,f);g=void 0;switch(e){case 0:g=sg(null,b,a,f,c);break;case 1:g=ug(null,b,a,f,c);break;case 11:g=og(null,b,a,f,c);break;case 14:g=pg(null,b,a,O(a.type,f),d,c);break;default:t("283",a)}return g;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:O(d,e),sg(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:O(d,e),ug(a,b,d, - e,c);case 3:wg(b);d=b.updateQueue;null===d?t("282"):void 0;e=b.memoizedState;e=null!==e?e.element:null;sf(b,d,b.pendingProps,null,c);d=b.memoizedState.element;if(d===e)mg(),b=rg(a,b,c);else{e=b.stateNode;if(e=(null===a||null===a.child)&&e.hydrate)fg=Ge(b.stateNode.containerInfo),eg=b,e=gg=!0;e?(b.effectTag|=2,b.child=dg(b,null,d,c)):(P(a,b,d,c),mg());b=b.child}return b;case 5:return Kf(b),null===a&&jg(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,Ce(d,e)?g=null:null!== - f&&Ce(d,f)&&(b.effectTag|=16),tg(a,b),1!==c&&b.mode&1&&e.hidden?(b.expirationTime=1,b=null):(P(a,b,g,c),b=b.child),b;case 6:return null===a&&jg(b),null;case 13:return xg(a,b,c);case 4:return If(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=cg(b,null,d,c):P(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:O(d,e),og(a,b,d,e,c);case 7:return P(a,b,b.pendingProps,c),b.child;case 8:return P(a,b,b.pendingProps.children,c),b.child;case 12:return P(a,b,b.pendingProps.children, - c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;Af(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&&!K.current){b=rg(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(1===g.tag){var k=mf(c);k.tag=2;of(g,k)}g.expirationTime< - c&&(g.expirationTime=c);k=g.alternate;null!==k&&k.expirationTimeb&&(a.latestPendingTime=b);jf(b,a)} + function kf(a,b){a.didError=!1;a.latestPingedTime>=b&&(a.latestPingedTime=0);var c=a.earliestPendingTime,d=a.latestPendingTime;c===b?a.earliestPendingTime=d===b?a.latestPendingTime=0:d:d===b&&(a.latestPendingTime=c);c=a.earliestSuspendedTime;d=a.latestSuspendedTime;0===c?a.earliestSuspendedTime=a.latestSuspendedTime=b:cb&&(a.latestSuspendedTime=b);jf(b,a)}function lf(a,b){var c=a.earliestPendingTime;a=a.earliestSuspendedTime;c>b&&(b=c);a>b&&(b=a);return b} + function jf(a,b){var c=b.earliestSuspendedTime,d=b.latestSuspendedTime,e=b.earliestPendingTime,f=b.latestPingedTime;e=0!==e?e:f;0===e&&(0===a||da&&(a=c);b.nextExpirationTimeToWorkOn=e;b.expirationTime=a}function P(a,b){if(a&&a.defaultProps){b=p({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c])}return b} + function mf(a){var b=a._result;switch(a._status){case 1:return b;case 2:throw b;case 0:throw b;default:a._status=0;b=a._ctor;b=b();b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)});switch(a._status){case 1:return a._result;case 2:throw a._result;}a._result=b;throw b;}}var nf=(new aa.Component).refs; + function of(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:p({},b,c);a.memoizedState=c;d=a.updateQueue;null!==d&&0===a.expirationTime&&(d.baseState=c)} + var xf={isMounted:function(a){return(a=a._reactInternalFiber)?2===kd(a):!1},enqueueSetState:function(a,b,c){a=a._reactInternalFiber;var d=pf();d=qf(d,a);var e=rf(d);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);sf();tf(a,e);uf(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternalFiber;var d=pf();d=qf(d,a);var e=rf(d);e.tag=vf;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);sf();tf(a,e);uf(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternalFiber;var c=pf();c=qf(c,a);var d=rf(c);d.tag= + wf;void 0!==b&&null!==b&&(d.callback=b);sf();tf(a,d);uf(a,c)}};function yf(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?!hd(c,d)||!hd(e,f):!0} + function zf(a,b,c){var d=!1,e=Le;var f=b.contextType;"object"===typeof f&&null!==f?f=Af(f):(e=M(b)?Me:K.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?Oe(a,e):Le);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=xf;a.stateNode=b;b._reactInternalFiber=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b} + function Bf(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&&xf.enqueueReplaceState(b,b.state,null)} + function Cf(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs=nf;var f=b.contextType;"object"===typeof f&&null!==f?e.context=Af(f):(f=M(b)?Me:K.current,e.context=Oe(a,f));f=a.updateQueue;null!==f&&(Df(a,f,c,e,d),e.state=a.memoizedState);f=b.getDerivedStateFromProps;"function"===typeof f&&(of(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&&xf.enqueueReplaceState(e,e.state,null),f=a.updateQueue,null!==f&&(Df(a,f,c,e,d),e.state=a.memoizedState));"function"===typeof e.componentDidMount&&(a.effectTag|=4)}var Ef=Array.isArray; + function Ff(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&&(1!==c.tag?t("309"):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===nf&&(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("290",a)}return a} + function Gf(a,b){"textarea"!==a.type&&t("31","[object Object]"===Object.prototype.toString.call(b)?"object with keys {"+Object.keys(b).join(", ")+"}":b,"")} + function Hf(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=bf(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,du?(r=n,n=null):r=n.sibling;var v=x(e,n,h[u],k);if(null===v){null===n&&(n=r);break}a&& + n&&null===v.alternate&&b(e,n);g=f(v,g,u);null===m?l=v:m.sibling=v;m=v;n=r}if(u===h.length)return c(e,n),l;if(null===n){for(;uu?(r=n,n=null):r=n.sibling;var z=x(e,n,v.value,k);if(null===z){n||(n=r);break}a&&n&&null===z.alternate&&b(e,n);g=f(z,g,u);null===m?l=z:m.sibling=z;m=z;n=r}if(v.done)return c(e,n),l;if(null===n){for(;!v.done;u++,v=h.next())v=q(e,v.value,k),null!==v&&(g=f(v,g,u),null===m?l=v:m.sibling=v,m=v);return l}for(n=d(e,n);!v.done;u++,v=h.next())v=C(n,e,u,v.value,k),null!==v&&(a&&null!==v.alternate&&n.delete(null===v.key?u: + v.key),g=f(v,g,u),null===m?l=v:m.sibling=v,m=v);a&&n.forEach(function(a){return b(e,a)});return l}return function(a,d,f,h){var k="object"===typeof f&&null!==f&&f.type===ac&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case Zb:a:{l=f.key;for(k=d;null!==k;){if(k.key===l)if(7===k.tag?f.type===ac:k.elementType===f.type){c(a,k.sibling);d=e(k,f.type===ac?f.props.children:f.props,h);d.ref=Ff(a,k,f);d.return=a;a=d;break a}else{c(a,k);break}else b(a,k);k= + k.sibling}f.type===ac?(d=df(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=cf(f.type,f.key,f.props,null,a.mode,h),h.ref=Ff(a,d,f),h.return=a,a=h)}return g(a);case $b:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===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=gf(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f= + ""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f,h),d.return=a,a=d):(c(a,d),d=ff(f,a.mode,h),d.return=a,a=d),g(a);if(Ef(f))return w(a,d,f,h);if(lc(f))return E(a,d,f,h);l&&Gf(a,f);if("undefined"===typeof f&&!k)switch(a.tag){case 1:case 0:h=a.type,t("152",h.displayName||h.name||"Component")}return c(a,d)}}var If=Hf(!0),Jf=Hf(!1),Kf={},Lf={current:Kf},Mf={current:Kf},Nf={current:Kf};function Of(a){a===Kf?t("174"):void 0;return a} + function Pf(a,b){J(Nf,b,a);J(Mf,a,a);J(Lf,Kf,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)}I(Lf,a);J(Lf,b,a)}function Qf(a){I(Lf,a);I(Mf,a);I(Nf,a)}function Rf(a){Of(Nf.current);var b=Of(Lf.current);var c=le(b,a.type);b!==c&&(J(Mf,a,a),J(Lf,c,a))}function Sf(a){Mf.current===a&&(I(Lf,a),I(Mf,a))} + var Tf=0,Uf=2,Vf=4,Wf=8,Xf=16,Yf=32,Zf=64,$f=128,ag=Xb.ReactCurrentDispatcher,bg=0,cg=null,Q=null,dg=null,eg=null,R=null,fg=null,gg=0,hg=null,ig=0,jg=!1,kg=null,lg=0;function mg(){t("307")}function ng(a,b){if(null===b)return!1;for(var c=0;cgg&&(gg=m)):f=l.eagerReducer===a?l.eagerState:a(f,l.action);g=l;l=l.next}while(null!==l&&l!==d);k||(h=g,e=f);fd(f,b.memoizedState)||(xg=!0);b.memoizedState=f;b.baseUpdate=h;b.baseState=e;c.eagerReducer=a;c.eagerState=f}return[b.memoizedState,c.dispatch]} + function yg(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};null===hg?(hg={lastEffect:null},hg.lastEffect=a.next=a):(b=hg.lastEffect,null===b?hg.lastEffect=a.next=a:(c=b.next,b.next=a,a.next=c,hg.lastEffect=a));return a}function zg(a,b,c,d){var e=tg();ig|=a;e.memoizedState=yg(b,c,void 0,void 0===d?null:d)} + function Bg(a,b,c,d){var e=ug();d=void 0===d?null:d;var f=void 0;if(null!==Q){var g=Q.memoizedState;f=g.destroy;if(null!==d&&ng(d,g.deps)){yg(Tf,c,f,d);return}}ig|=a;e.memoizedState=yg(b,c,f,d)}function Cg(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function Dg(){} + function Eg(a,b,c){25>lg?void 0:t("301");var d=a.alternate;if(a===cg||null!==d&&d===cg)if(jg=!0,a={expirationTime:bg,action:c,eagerReducer:null,eagerState:null,next:null},null===kg&&(kg=new Map),c=kg.get(b),void 0===c)kg.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}else{sf();var e=pf();e=qf(e,a);var f={expirationTime:e,action:c,eagerReducer:null,eagerState:null,next:null},g=b.last;if(null===g)f.next=f;else{var h=g.next;null!==h&&(f.next=h);g.next=f}b.last=f;if(0===a.expirationTime&&(null=== + d||0===d.expirationTime)&&(d=b.eagerReducer,null!==d))try{var l=b.eagerState,k=d(l,c);f.eagerReducer=d;f.eagerState=k;if(fd(k,l))return}catch(m){}finally{}uf(a,e)}} + var rg={readContext:Af,useCallback:mg,useContext:mg,useEffect:mg,useImperativeHandle:mg,useLayoutEffect:mg,useMemo:mg,useReducer:mg,useRef:mg,useState:mg,useDebugValue:mg},pg={readContext:Af,useCallback:function(a,b){tg().memoizedState=[a,void 0===b?null:b];return a},useContext:Af,useEffect:function(a,b){return zg(516,$f|Zf,a,b)},useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):[a];return zg(4,Vf|Yf,Cg.bind(null,b,a),c)},useLayoutEffect:function(a,b){return zg(4,Vf|Yf,a,b)}, + useMemo:function(a,b){var c=tg();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=tg();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a=d.queue={last:null,dispatch:null,eagerReducer:a,eagerState:b};a=a.dispatch=Eg.bind(null,cg,a);return[d.memoizedState,a]},useRef:function(a){var b=tg();a={current:a};return b.memoizedState=a},useState:function(a){var b=tg();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a=b.queue={last:null,dispatch:null,eagerReducer:vg, + eagerState:a};a=a.dispatch=Eg.bind(null,cg,a);return[b.memoizedState,a]},useDebugValue:Dg},qg={readContext:Af,useCallback:function(a,b){var c=ug();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&ng(b,d[1]))return d[0];c.memoizedState=[a,b];return a},useContext:Af,useEffect:function(a,b){return Bg(516,$f|Zf,a,b)},useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):[a];return Bg(4,Vf|Yf,Cg.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Bg(4,Vf|Yf,a,b)}, + useMemo:function(a,b){var c=ug();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&ng(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a},useReducer:wg,useRef:function(){return ug().memoizedState},useState:function(a){return wg(vg,a)},useDebugValue:Dg},Fg=null,Gg=null,Hg=!1; + function Ig(a,b){var c=N(5,null,null,0);c.elementType="DELETED";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 Jg(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=""===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;default:return!1}} + function Kg(a){if(Hg){var b=Gg;if(b){var c=b;if(!Jg(a,b)){b=He(c);if(!b||!Jg(a,b)){a.effectTag|=2;Hg=!1;Fg=a;return}Ig(Fg,c)}Fg=a;Gg=Ie(b)}else a.effectTag|=2,Hg=!1,Fg=a}}function Lg(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag;)a=a.return;Fg=a}function Mg(a){if(a!==Fg)return!1;if(!Hg)return Lg(a),Hg=!0,!1;var b=a.type;if(5!==a.tag||"head"!==b&&"body"!==b&&!Be(b,a.memoizedProps))for(b=Gg;b;)Ig(a,b),b=He(b);Lg(a);Gg=Fg?He(a.stateNode):null;return!0}function Ng(){Gg=Fg=null;Hg=!1} + var Og=Xb.ReactCurrentOwner,xg=!1;function S(a,b,c,d){b.child=null===a?Jf(b,null,c,d):If(b,a.child,c,d)}function Pg(a,b,c,d,e){c=c.render;var f=b.ref;Qg(b,e);d=og(a,b,c,d,f,e);if(null!==a&&!xg)return b.updateQueue=a.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),Rg(a,b,e);b.effectTag|=1;S(a,b,d,e);return b.child} + function Sg(a,b,c,d,e,f){if(null===a){var g=c.type;if("function"===typeof g&&!$e(g)&&void 0===g.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=g,Tg(a,b,g,d,e,f);a=cf(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(e=c)return $g(a,b,c);b=Rg(a,b,c);return null!==b?b.sibling:null}}return Rg(a,b,c)}}else xg=!1;b.expirationTime=0;switch(b.tag){case 2:d= + b.elementType;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;var e=Oe(b,K.current);Qg(b,c);e=og(null,b,d,a,e,c);b.effectTag|=1;if("object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof){b.tag=1;sg();if(M(d)){var f=!0;Te(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;var g=d.getDerivedStateFromProps;"function"===typeof g&&of(b,d,g,a);e.updater=xf;b.stateNode=e;e._reactInternalFiber=b;Cf(b,d,a,c);b=Yg(null,b,d,!0,f, + c)}else b.tag=0,S(null,b,e,c),b=b.child;return b;case 16:e=b.elementType;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);f=b.pendingProps;a=mf(e);b.type=a;e=b.tag=af(a);f=P(a,f);g=void 0;switch(e){case 0:g=Ug(null,b,a,f,c);break;case 1:g=Wg(null,b,a,f,c);break;case 11:g=Pg(null,b,a,f,c);break;case 14:g=Sg(null,b,a,P(a.type,f),d,c);break;default:t("306",a,"")}return g;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:P(d,e),Ug(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps, + e=b.elementType===d?e:P(d,e),Wg(a,b,d,e,c);case 3:Zg(b);d=b.updateQueue;null===d?t("282"):void 0;e=b.memoizedState;e=null!==e?e.element:null;Df(b,d,b.pendingProps,null,c);d=b.memoizedState.element;if(d===e)Ng(),b=Rg(a,b,c);else{e=b.stateNode;if(e=(null===a||null===a.child)&&e.hydrate)Gg=Ie(b.stateNode.containerInfo),Fg=b,e=Hg=!0;e?(b.effectTag|=2,b.child=Jf(b,null,d,c)):(S(a,b,d,c),Ng());b=b.child}return b;case 5:return Rf(b),null===a&&Kg(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null, + g=e.children,Be(d,e)?g=null:null!==f&&Be(d,f)&&(b.effectTag|=16),Vg(a,b),1!==c&&b.mode&1&&e.hidden?(b.expirationTime=b.childExpirationTime=1,b=null):(S(a,b,g,c),b=b.child),b;case 6:return null===a&&Kg(b),null;case 13:return $g(a,b,c);case 4:return Pf(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=If(b,null,d,c):S(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:P(d,e),Pg(a,b,d,e,c);case 7:return S(a,b,b.pendingProps,c),b.child;case 8:return S(a,b,b.pendingProps.children, + c),b.child;case 12:return S(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;bh(b,f);if(null!==g){var h=g.value;f=fd(h,f)?0:("function"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0;if(0===f){if(g.children===e.children&&!L.current){b=Rg(a,b,c);break a}}else for(h=b.child,null!==h&&(h.return=b);null!==h;){var l=h.contextDependencies;if(null!==l){g=h.child;for(var k=l.first;null!==k;){if(k.context===d&&0!== + (k.observedBits&f)){1===h.tag&&(k=rf(c),k.tag=wf,tf(h,k));h.expirationTime=b&&(xg=!0);a.contextDependencies=null} + function Af(a,b){if(fh!==a&&!1!==b&&0!==b){if("number"!==typeof b||1073741823===b)fh=a,b=1073741823;b={context:a,observedBits:b,next:null};null===eh?(null===dh?t("308"):void 0,eh=b,dh.contextDependencies={first:b,expirationTime:0}):eh=eh.next=b}return a._currentValue}var hh=0,vf=1,wf=2,ih=3,Xg=!1;function jh(a){return{baseState:a,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}} + function kh(a){return{baseState:a.baseState,firstUpdate:a.firstUpdate,lastUpdate:a.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function rf(a){return{expirationTime:a,tag:hh,payload:null,callback:null,next:null,nextEffect:null}}function lh(a,b){null===a.lastUpdate?a.firstUpdate=a.lastUpdate=b:(a.lastUpdate.next=b,a.lastUpdate=b)} + function tf(a,b){var c=a.alternate;if(null===c){var d=a.updateQueue;var e=null;null===d&&(d=a.updateQueue=jh(a.memoizedState))}else d=a.updateQueue,e=c.updateQueue,null===d?null===e?(d=a.updateQueue=jh(a.memoizedState),e=c.updateQueue=jh(c.memoizedState)):d=a.updateQueue=kh(e):null===e&&(e=c.updateQueue=kh(d));null===e||d===e?lh(d,b):null===d.lastUpdate||null===e.lastUpdate?(lh(d,b),lh(e,b)):(lh(d,b),e.lastUpdate=b)} + function mh(a,b){var c=a.updateQueue;c=null===c?a.updateQueue=jh(a.memoizedState):nh(a,c);null===c.lastCapturedUpdate?c.firstCapturedUpdate=c.lastCapturedUpdate=b:(c.lastCapturedUpdate.next=b,c.lastCapturedUpdate=b)}function nh(a,b){var c=a.alternate;null!==c&&b===c.updateQueue&&(b=a.updateQueue=kh(b));return b} + function oh(a,b,c,d,e,f){switch(c.tag){case vf:return a=c.payload,"function"===typeof a?a.call(f,d,e):a;case ih:a.effectTag=a.effectTag&-2049|64;case hh:a=c.payload;e="function"===typeof a?a.call(f,d,e):a;if(null===e||void 0===e)break;return p({},d,e);case wf:Xg=!0}return d} + function Df(a,b,c,d,e){Xg=!1;b=nh(a,b);for(var f=b.baseState,g=null,h=0,l=b.firstUpdate,k=f;null!==l;){var m=l.expirationTime;m\x3c/script>",l=e.removeChild(e.firstChild)):"string"===typeof q.is?l=l.createElement(e,{is:q.is}):(l=l.createElement(e),"select"===e&&q.multiple&&(l.multiple=!0)):l=l.createElementNS(k,e);e=l;e[Ga]=m;e[Ha]=g;Ag(e,b,!1,!1);q=e;l=f;m=g;var x=h,z=we(l,m);switch(l){case "iframe":case "object":G("load", - q);h=m;break;case "video":case "audio":for(h=0;hg&&(g=e),h>g&&(g=h),f=f.sibling;b.childExpirationTime=g}if(null!==R)return R;null!==c&&0===(c.effectTag&1024)&&(null=== - c.firstEffect&&(c.firstEffect=a.firstEffect),null!==a.lastEffect&&(null!==c.lastEffect&&(c.lastEffect.nextEffect=a.firstEffect),c.lastEffect=a.lastEffect),1=z)q=0;else if(-1===q||z component higher in the tree to provide a loading indicator or placeholder to display."+nc(k))}$g=!0;l=vf(l,k);g=h;do{switch(g.tag){case 3:k= - l;g.effectTag|=2048;g.expirationTime=f;f=Pg(g,k,f);pf(g,f);break a;case 1:if(k=l,h=g.type,m=g.stateNode,0===(g.effectTag&64)&&("function"===typeof h.getDerivedStateFromError||null!==m&&"function"===typeof m.componentDidCatch&&(null===Sg||!Sg.has(m)))){g.effectTag|=2048;g.expirationTime=f;f=Rg(g,k,f);pf(g,f);break a}}g=g.return}while(null!==g)}R=eh(e);continue}}}break}while(1);Yg=!1;zf=yf=xf=Vg.currentDispatcher=null;if(d)S=null,a.finishedWork=null;else if(null!==R)a.finishedWork=null;else{d=a.current.alternate; - null===d?t("281"):void 0;S=null;if($g){e=a.latestPendingTime;f=a.latestSuspendedTime;g=a.latestPingedTime;if(0!==e&&eb?0:b)):(a.pendingCommitExpirationTime=c,a.finishedWork=d)}} - function Jg(a,b){for(var c=a.return;null!==c;){switch(c.tag){case 1:var d=c.stateNode;if("function"===typeof c.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===Sg||!Sg.has(d))){a=vf(b,a);a=Rg(c,a,1073741823);of(c,a);Tf(c,1073741823);return}break;case 3:a=vf(b,a);a=Pg(c,a,1073741823);of(c,a);Tf(c,1073741823);return}c=c.return}3===a.tag&&(c=vf(b,a),c=Pg(a,c,1073741823),of(a,c),Tf(a,1073741823))} - function Rf(a,b){0!==Xg?a=Xg:Yg?a=ah?1073741823:T:b.mode&1?(a=kh?1073741822-10*(((1073741822-a+15)/10|0)+1):1073741822-25*(((1073741822-a+500)/25|0)+1),null!==S&&a===T&&--a):a=1073741823;kh&&(0===lh||a=f){f=e=d;a.didError=!1;var g=a.latestPingedTime;if(0===g||g>f)a.latestPingedTime=f;ff(f,a)}else e=Qf(),e=Rf(e,b),ef(a,e);0!==(b.mode&1)&&a===S&&T===d&&(S=null);mh(b,e);0===(b.mode&1)&&(mh(c,e),1===c.tag&&null!==c.stateNode&&(b=mf(e),b.tag=2,of(c,b)));c=a.expirationTime;0!==c&&nh(a,c)} - function mh(a,b){a.expirationTimeT&&dh(),ef(a,b),Yg&&!ah&&S===a||nh(a,a.expirationTime),oh>ph&&(oh=0,t("185")))}function qh(a,b,c,d,e){var f=Xg;Xg=1073741823;try{return a(b,c,d,e)}finally{Xg=f}}var rh=null,V=null,sh=0,th=void 0,W=!1,uh=null,X=0,lh=0,vh=!1,wh=null,Z=!1,xh=!1,kh=!1,yh=null,zh=ba.unstable_now(),Ah=1073741822-(zh/10|0),Bh=Ah,ph=50,oh=0,Ch=null;function Dh(){Ah=1073741822-((ba.unstable_now()-zh)/10|0)} - function Eh(a,b){if(0!==sh){if(ba.expirationTime&&(a.expirationTime=b);W||(Z?xh&&(uh=a,X=1073741823,Jh(a,1073741823,!1)):1073741823===b?Kh(1073741823,!1):Eh(a,b))} - function Ih(){var a=0,b=null;if(null!==V)for(var c=V,d=rh;null!==d;){var e=d.expirationTime;if(0===e){null===c||null===V?t("244"):void 0;if(d===d.nextScheduledRoot){rh=V=d.nextScheduledRoot=null;break}else if(d===rh)rh=e=d.nextScheduledRoot,V.nextScheduledRoot=e,d.nextScheduledRoot=null;else if(d===V){V=c;V.nextScheduledRoot=rh;d.nextScheduledRoot=null;break}else c.nextScheduledRoot=d.nextScheduledRoot,d.nextScheduledRoot=null;d=c.nextScheduledRoot}else{e>a&&(a=e,b=d);if(d===V)break;if(1073741823=== - a)break;c=d;d=d.nextScheduledRoot}}uh=b;X=a}var Lh=!1;function hh(){return Lh?!0:ba.unstable_shouldYield()?Lh=!0:!1}function Fh(){try{if(!hh()&&null!==rh){Dh();var a=rh;do{var b=a.expirationTime;0!==b&&Ah<=b&&(a.nextExpirationTimeToWorkOn=Ah);a=a.nextScheduledRoot}while(a!==rh)}Kh(0,!0)}finally{Lh=!1}} - function Kh(a,b){Ih();if(b)for(Dh(),Bh=Ah;null!==uh&&0!==X&&a<=X&&!(Lh&&Ah>X);)Jh(uh,X,Ah>X),Ih(),Dh(),Bh=Ah;else for(;null!==uh&&0!==X&&a<=X;)Jh(uh,X,!1),Ih();b&&(sh=0,th=null);0!==X&&Eh(uh,X);oh=0;Ch=null;if(null!==yh)for(a=yh,yh=null,b=0;b=c&&(null===yh?yh=[d]:yh.push(d),d._defer)){a.finishedWork=b;a.expirationTime=0;return}a.finishedWork=null;a===Ch?oh++:(Ch=a,oh=0);ah=Yg=!0;a.current===b?t("177"):void 0;c=a.pendingCommitExpirationTime;0===c?t("261"):void 0;a.pendingCommitExpirationTime=0;d=b.expirationTime;var e=b.childExpirationTime;d=e>d?e:d;a.didError=!1;0===d?(a.earliestPendingTime=0,a.latestPendingTime=0,a.earliestSuspendedTime=0,a.latestSuspendedTime=0,a.latestPingedTime= - 0):(e=a.latestPendingTime,0!==e&&(e>d?a.earliestPendingTime=a.latestPendingTime=0:a.earliestPendingTime>d&&(a.earliestPendingTime=a.latestPendingTime)),e=a.earliestSuspendedTime,0===e?ef(a,d):de&&ef(a,d));ff(0,a);Vg.current=null;1u&&(y=u,u=r,r=y),y=Rd(w,r),Y=Rd(w,u),y&&Y&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==Y.node||p.focusOffset!==Y.offset)&&(C=C.createRange(),C.setStart(y.node,y.offset),p.removeAllRanges(),r>u?(p.addRange(C),p.extend(Y.node,Y.offset)):(C.setEnd(Y.node,Y.offset), - p.addRange(C))))));C=[];for(p=w;p=p.parentNode;)1===p.nodeType&&C.push({element:p,left:p.scrollLeft,top:p.scrollTop});"function"===typeof w.focus&&w.focus();for(w=0;wFb?b:Fb;0===b&&(Sg=null);a.expirationTime=b;a.finishedWork=null} - function Qg(a){null===uh?t("246"):void 0;uh.expirationTime=0;vh||(vh=!0,wh=a)}function Nh(a,b){var c=Z;Z=!0;try{return a(b)}finally{(Z=c)||W||Kh(1073741823,!1)}}function Oh(a,b){if(Z&&!xh){xh=!0;try{return a(b)}finally{xh=!1}}return a(b)}function Ph(a,b,c){if(kh)return a(b,c);Z||W||0===lh||(Kh(lh,!1),lh=0);var d=kh,e=Z;Z=kh=!0;try{return a(b,c)}finally{kh=d,(Z=e)||W||Kh(1073741823,!1)}} - function Qh(a,b,c,d,e){var f=b.current;a:if(c){c=c._reactInternalFiber;b:{2===kd(c)&&1===c.tag?void 0:t("170");var g=c;do{switch(g.tag){case 3:g=g.stateNode.context;break b;case 1:if(L(g.type)){g=g.stateNode.__reactInternalMemoizedMergedChildContext;break b}}g=g.return}while(null!==g);t("171");g=void 0}if(1===c.tag){var h=c.type;if(L(h)){c=Pe(c,h,g);break a}}c=g}else c=Je;null===b.context?b.context=c:b.pendingContext=c;b=e;e=mf(d);e.payload={element:a};b=void 0===b?null:b;null!==b&&(e.callback=b); - Sf();of(f,e);Tf(f,d);return d}function Rh(a,b,c,d){var e=b.current,f=Qf();e=Rf(f,e);return Qh(a,b,c,e,d)}function Sh(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function Uh(a,b,c){var d=3=Wg&&(b=Wg-1);this._expirationTime=Wg=b;this._root=a;this._callbacks=this._next=null;this._hasChildren=this._didComplete=!1;this._children=null;this._defer=!0}Vh.prototype.render=function(a){this._defer?void 0:t("250");this._hasChildren=!0;this._children=a;var b=this._root._internalRoot,c=this._expirationTime,d=new Wh;Qh(a,b,null,c,d._onCommit);return d}; - Vh.prototype.then=function(a){if(this._didComplete)a();else{var b=this._callbacks;null===b&&(b=this._callbacks=[]);b.push(a)}}; - Vh.prototype.commit=function(){var a=this._root._internalRoot,b=a.firstBatch;this._defer&&null!==b?void 0:t("251");if(this._hasChildren){var c=this._expirationTime;if(b!==this){this._hasChildren&&(c=this._expirationTime=b._expirationTime,this.render(this._children));for(var d=null,e=b;e!==this;)d=e,e=e._next;null===d?t("251"):void 0;d._next=e._next;this._next=b;a.firstBatch=this}this._defer=!1;Hh(a,c);b=this._next;this._next=null;b=a.firstBatch=b;null!==b&&b._hasChildren&&b.render(b._children)}else this._next= - null,this._defer=!1};Vh.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var a=this._callbacks;if(null!==a)for(var b=0;b=b;)c=d,d=d._next;a._next=d;null!==c&&(c._next=a)}return a};function Yh(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}Kb=Nh;Lb=Ph;Mb=function(){W||0===lh||(Kh(lh,!1),lh=0)}; - function Zh(a,b){b||(b=a?9===a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||1!==b.nodeType||!b.hasAttribute("data-reactroot")));if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new Xh(a,!1,b)} - function $h(a,b,c,d,e){Yh(c)?void 0:t("200");var f=c._reactRootContainer;if(f){if("function"===typeof e){var g=e;e=function(){var a=Sh(f._internalRoot);g.call(a)}}null!=a?f.legacy_renderSubtreeIntoContainer(a,b,e):f.render(b,e)}else{f=c._reactRootContainer=Zh(c,d);if("function"===typeof e){var h=e;e=function(){var a=Sh(f._internalRoot);h.call(a)}}Oh(function(){null!=a?f.legacy_renderSubtreeIntoContainer(a,b,e):f.render(b,e)})}return Sh(f._internalRoot)} - function ai(a,b){var c=2\x3c/script>",k=e.removeChild(e.firstChild)):"string"===typeof q.is?k=k.createElement(e,{is:q.is}):(k=k.createElement(e),"select"===e&&q.multiple&&(k.multiple=!0)):k=k.createElementNS(l,e);e=k;e[Ha]=m;e[Ia]=g;wh(e,b,!1,!1);q=e;k=f;m=g;var x=h,C=ve(k,m);switch(k){case "iframe":case "object":H("load", + q);h=m;break;case "video":case "audio":for(h=0;hg&&(g=e),h>g&&(g=h),f=f.sibling;b.childExpirationTime=g}if(null!==T)return T;null!==c&&0===(c.effectTag&1024)&&(null===c.firstEffect&&(c.firstEffect= + a.firstEffect),null!==a.lastEffect&&(null!==c.lastEffect&&(c.lastEffect.nextEffect=a.firstEffect),c.lastEffect=a.lastEffect),1=w)x=0;else if(-1===x||w component higher in the tree to provide a loading indicator or placeholder to display."+nc(k))}Zh=!0;m=rh(m,k);h=l;do{switch(h.tag){case 3:h.effectTag|=2048;h.expirationTime=g;g=Nh(h,m,g);mh(h,g);break a;case 1:if(q=m,x=h.type,C=h.stateNode,0===(h.effectTag&64)&&("function"===typeof x.getDerivedStateFromError||null!==C&&"function"===typeof C.componentDidCatch&&(null===Qh||!Qh.has(C)))){h.effectTag|=2048; + h.expirationTime=g;g=Ph(h,q,g);mh(h,g);break a}}h=h.return}while(null!==h)}T=gi(f);continue}}}break}while(1);Wh=!1;Sh.current=c;fh=eh=dh=null;sg();if(e)Xh=null,a.finishedWork=null;else if(null!==T)a.finishedWork=null;else{c=a.current.alternate;null===c?t("281"):void 0;Xh=null;if(Zh){e=a.latestPendingTime;f=a.latestSuspendedTime;g=a.latestPingedTime;if(0!==e&&eb?0:b)):(a.pendingCommitExpirationTime=d,a.finishedWork=c)}} + function Dh(a,b){for(var c=a.return;null!==c;){switch(c.tag){case 1:var d=c.stateNode;if("function"===typeof c.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===Qh||!Qh.has(d))){a=rh(b,a);a=Ph(c,a,1073741823);tf(c,a);uf(c,1073741823);return}break;case 3:a=rh(b,a);a=Nh(c,a,1073741823);tf(c,a);uf(c,1073741823);return}c=c.return}3===a.tag&&(c=rh(b,a),c=Nh(a,c,1073741823),tf(a,c),uf(a,1073741823))} + function qf(a,b){0!==Vh?a=Vh:Wh?a=$h?1073741823:U:b.mode&1?(a=mi?1073741822-10*(((1073741822-a+15)/10|0)+1):1073741822-25*(((1073741822-a+500)/25|0)+1),null!==Xh&&a===U&&--a):a=1073741823;mi&&(0===ni||a=d){a.didError=!1;b=a.latestPingedTime;if(0===b||b>c)a.latestPingedTime=c;jf(c,a);c=a.expirationTime;0!==c&&fi(a,c)}}function Lh(a,b){var c=a.stateNode;null!==c&&c.delete(b);b=pf();b=qf(b,a);a=oi(a,b);null!==a&&(hf(a,b),b=a.expirationTime,0!==b&&fi(a,b))} + function oi(a,b){a.expirationTimeU&&di(),hf(a,b),Wh&&!$h&&Xh===a||fi(a,a.expirationTime),pi>qi&&(pi=0,t("185")))}function ri(a,b,c,d,e){var f=Vh;Vh=1073741823;try{return a(b,c,d,e)}finally{Vh=f}}var si=null,X=null,ti=0,ui=void 0,W=!1,vi=null,Y=0,ni=0,wi=!1,xi=null,Z=!1,yi=!1,mi=!1,zi=null,Ai=ba.unstable_now(),Bi=1073741822-(Ai/10|0),Ci=Bi,qi=50,pi=0,Di=null;function Ei(){Bi=1073741822-((ba.unstable_now()-Ai)/10|0)} + function Fi(a,b){if(0!==ti){if(ba.expirationTime&&(a.expirationTime=b);W||(Z?yi&&(vi=a,Y=1073741823,Ki(a,1073741823,!1)):1073741823===b?Li(1073741823,!1):Fi(a,b))} + function Ji(){var a=0,b=null;if(null!==X)for(var c=X,d=si;null!==d;){var e=d.expirationTime;if(0===e){null===c||null===X?t("244"):void 0;if(d===d.nextScheduledRoot){si=X=d.nextScheduledRoot=null;break}else if(d===si)si=e=d.nextScheduledRoot,X.nextScheduledRoot=e,d.nextScheduledRoot=null;else if(d===X){X=c;X.nextScheduledRoot=si;d.nextScheduledRoot=null;break}else c.nextScheduledRoot=d.nextScheduledRoot,d.nextScheduledRoot=null;d=c.nextScheduledRoot}else{e>a&&(a=e,b=d);if(d===X)break;if(1073741823=== + a)break;c=d;d=d.nextScheduledRoot}}vi=b;Y=a}var Mi=!1;function ji(){return Mi?!0:ba.unstable_shouldYield()?Mi=!0:!1}function Gi(){try{if(!ji()&&null!==si){Ei();var a=si;do{var b=a.expirationTime;0!==b&&Bi<=b&&(a.nextExpirationTimeToWorkOn=Bi);a=a.nextScheduledRoot}while(a!==si)}Li(0,!0)}finally{Mi=!1}} + function Li(a,b){Ji();if(b)for(Ei(),Ci=Bi;null!==vi&&0!==Y&&a<=Y&&!(Mi&&Bi>Y);)Ki(vi,Y,Bi>Y),Ji(),Ei(),Ci=Bi;else for(;null!==vi&&0!==Y&&a<=Y;)Ki(vi,Y,!1),Ji();b&&(ti=0,ui=null);0!==Y&&Fi(vi,Y);pi=0;Di=null;if(null!==zi)for(a=zi,zi=null,b=0;b=c&&(null===zi?zi=[d]:zi.push(d),d._defer)){a.finishedWork=b;a.expirationTime=0;return}a.finishedWork=null;a===Di?pi++:(Di=a,pi=0);$h=Wh=!0;a.current===b?t("177"):void 0;c=a.pendingCommitExpirationTime;0===c?t("261"):void 0;a.pendingCommitExpirationTime=0;d=b.expirationTime;var e=b.childExpirationTime;d=e>d?e:d;a.didError=!1;0===d?(a.earliestPendingTime=0,a.latestPendingTime=0,a.earliestSuspendedTime=0,a.latestSuspendedTime=0,a.latestPingedTime= + 0):(dd?a.earliestPendingTime=a.latestPendingTime=0:a.earliestPendingTime>d&&(a.earliestPendingTime=a.latestPendingTime)),e=a.earliestSuspendedTime,0===e?hf(a,d):de&&hf(a,d));jf(0,a);Th.current=null;1n&&(u=n,n=O,O=u),u=Rd(y,O),z=Rd(y,n),u&&z&&(1!==r.rangeCount||r.anchorNode!==u.node||r.anchorOffset!==u.offset||r.focusNode!==z.node||r.focusOffset!==z.offset)&&(B=B.createRange(),B.setStart(u.node,u.offset),r.removeAllRanges(), + O>n?(r.addRange(B),r.extend(z.node,z.offset)):(B.setEnd(z.node,z.offset),r.addRange(B))))));B=[];for(r=y;r=r.parentNode;)1===r.nodeType&&B.push({element:r,left:r.scrollLeft,top:r.scrollTop});"function"===typeof y.focus&&y.focus();for(y=0;yqa?b:qa;0===b&&(Qh=null);a.expirationTime=b;a.finishedWork=null}function Oh(a){null===vi?t("246"):void 0;vi.expirationTime=0;wi||(wi=!0,xi=a)}function Pi(a,b){var c=Z;Z=!0;try{return a(b)}finally{(Z=c)||W||Li(1073741823,!1)}}function Qi(a,b){if(Z&&!yi){yi=!0;try{return a(b)}finally{yi=!1}}return a(b)} + function Ri(a,b,c){if(mi)return a(b,c);Z||W||0===ni||(Li(ni,!1),ni=0);var d=mi,e=Z;Z=mi=!0;try{return a(b,c)}finally{mi=d,(Z=e)||W||Li(1073741823,!1)}} + function Si(a,b,c,d,e){var f=b.current;a:if(c){c=c._reactInternalFiber;b:{2===kd(c)&&1===c.tag?void 0:t("170");var g=c;do{switch(g.tag){case 3:g=g.stateNode.context;break b;case 1:if(M(g.type)){g=g.stateNode.__reactInternalMemoizedMergedChildContext;break b}}g=g.return}while(null!==g);t("171");g=void 0}if(1===c.tag){var h=c.type;if(M(h)){c=Se(c,h,g);break a}}c=g}else c=Le;null===b.context?b.context=c:b.pendingContext=c;b=e;e=rf(d);e.payload={element:a};b=void 0===b?null:b;null!==b&&(e.callback=b); + sf();tf(f,e);uf(f,d);return d}function Ti(a,b,c,d){var e=b.current,f=pf();e=qf(f,e);return Si(a,b,c,e,d)}function Ui(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function Vi(a,b,c){var d=3=Uh&&(b=Uh-1);this._expirationTime=Uh=b;this._root=a;this._callbacks=this._next=null;this._hasChildren=this._didComplete=!1;this._children=null;this._defer=!0}Wi.prototype.render=function(a){this._defer?void 0:t("250");this._hasChildren=!0;this._children=a;var b=this._root._internalRoot,c=this._expirationTime,d=new Xi;Si(a,b,null,c,d._onCommit);return d}; + Wi.prototype.then=function(a){if(this._didComplete)a();else{var b=this._callbacks;null===b&&(b=this._callbacks=[]);b.push(a)}}; + Wi.prototype.commit=function(){var a=this._root._internalRoot,b=a.firstBatch;this._defer&&null!==b?void 0:t("251");if(this._hasChildren){var c=this._expirationTime;if(b!==this){this._hasChildren&&(c=this._expirationTime=b._expirationTime,this.render(this._children));for(var d=null,e=b;e!==this;)d=e,e=e._next;null===d?t("251"):void 0;d._next=e._next;this._next=b;a.firstBatch=this}this._defer=!1;Ii(a,c);b=this._next;this._next=null;b=a.firstBatch=b;null!==b&&b._hasChildren&&b.render(b._children)}else this._next= + null,this._defer=!1};Wi.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var a=this._callbacks;if(null!==a)for(var b=0;b=b;)c=d,d=d._next;a._next=d;null!==c&&(c._next=a)}return a};function Zi(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||" react-mount-point-unstable "!==a.nodeValue))}Jb=Pi;Kb=Ri;Lb=function(){W||0===ni||(Li(ni,!1),ni=0)}; + function $i(a,b){b||(b=a?9===a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||1!==b.nodeType||!b.hasAttribute("data-reactroot")));if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new Yi(a,!1,b)} + function aj(a,b,c,d,e){var f=c._reactRootContainer;if(f){if("function"===typeof e){var g=e;e=function(){var a=Ui(f._internalRoot);g.call(a)}}null!=a?f.legacy_renderSubtreeIntoContainer(a,b,e):f.render(b,e)}else{f=c._reactRootContainer=$i(c,d);if("function"===typeof e){var h=e;e=function(){var a=Ui(f._internalRoot);h.call(a)}}Qi(function(){null!=a?f.legacy_renderSubtreeIntoContainer(a,b,e):f.render(b,e)})}return Ui(f._internalRoot)} + function bj(a,b){var c=2=b){c=a;break}a=a.next}while(a!==d);null===c?c=d:c===d&&(d=g,p());b=c.previous;b.next=c.previous=g;g.next=c;g.previous= - b}}function v(){if(-1===k&&null!==d&&1===d.priorityLevel){m=!0;try{do u();while(null!==d&&1===d.priorityLevel)}finally{m=!1,null!==d?p():n=!1}}}function t(a){m=!0;var b=f;f=a;try{if(a)for(;null!==d;){var c=exports.unstable_now();if(d.expirationTime<=c){do u();while(null!==d&&d.expirationTime<=c)}else break}else if(null!==d){do u();while(null!==d&&!w())}}finally{m=!1,f=b,null!==d?p():n=!1,v()}} + 'use strict';Object.defineProperty(exports,"__esModule",{value:!0});var c=null,f=!1,h=3,k=-1,l=-1,m=!1,n=!1;function p(){if(!m){var a=c.expirationTime;n?q():n=!0;r(t,a)}} + function u(){var a=c,b=c.next;if(c===b)c=null;else{var d=c.previous;c=d.next=b;b.previous=d}a.next=a.previous=null;d=a.callback;b=a.expirationTime;a=a.priorityLevel;var e=h,Q=l;h=a;l=b;try{var g=d()}finally{h=e,l=Q}if("function"===typeof g)if(g={callback:g,priorityLevel:a,expirationTime:b,next:null,previous:null},null===c)c=g.next=g.previous=g;else{d=null;a=c;do{if(a.expirationTime>=b){d=a;break}a=a.next}while(a!==c);null===d?d=c:d===c&&(c=g,p());b=d.previous;b.next=d.previous=g;g.next=d;g.previous= + b}}function v(){if(-1===k&&null!==c&&1===c.priorityLevel){m=!0;try{do u();while(null!==c&&1===c.priorityLevel)}finally{m=!1,null!==c?p():n=!1}}}function t(a){m=!0;var b=f;f=a;try{if(a)for(;null!==c;){var d=exports.unstable_now();if(c.expirationTime<=d){do u();while(null!==c&&c.expirationTime<=d)}else break}else if(null!==c){do u();while(null!==c&&!w())}}finally{m=!1,f=b,null!==c?p():n=!1,v()}} var x=Date,y="function"===typeof setTimeout?setTimeout:void 0,z="function"===typeof clearTimeout?clearTimeout:void 0,A="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,B="function"===typeof cancelAnimationFrame?cancelAnimationFrame:void 0,C,D;function E(a){C=A(function(b){z(D);a(b)});D=y(function(){B(C);a(exports.unstable_now())},100)} - if("object"===typeof performance&&"function"===typeof performance.now){var F=performance;exports.unstable_now=function(){return F.now()}}else exports.unstable_now=function(){return x.now()};var r,q,w; - if("undefined"!==typeof window&&window._schedMock){var G=window._schedMock;r=G[0];q=G[1];w=G[2]}else if("undefined"===typeof window||"function"!==typeof window.addEventListener){var H=null,I=-1,J=function(a,b){if(null!==H){var c=H;H=null;try{I=b,c(a)}finally{I=-1}}};r=function(a,b){-1!==I?setTimeout(r,0,a,b):(H=a,setTimeout(J,b,!0,b),setTimeout(J,1073741823,!1,1073741823))};q=function(){H=null};w=function(){return!1};exports.unstable_now=function(){return-1===I?0:I}}else{"undefined"!==typeof console&& - ("function"!==typeof A&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof B&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var K=null,L=!1,M=-1,N=!1,O=!1,P=0,R=33,S=33;w=function(){return P<=exports.unstable_now()};var T="__reactIdleCallback$"+Math.random().toString(36).slice(2); - window.addEventListener("message",function(a){if(a.source===window&&a.data===T){L=!1;a=K;var b=M;K=null;M=-1;var c=exports.unstable_now(),e=!1;if(0>=P-c)if(-1!==b&&b<=c)e=!0;else{N||(N=!0,E(U));K=a;M=b;return}if(null!==a){O=!0;try{a(e)}finally{O=!1}}}},!1);var U=function(a){if(null!==K){E(U);var b=a-P+S;bb&&(b=8),S=bb?window.postMessage(T,"*"):N||(N=!0,E(U))};q=function(){K=null;L=!1;M=-1}} - exports.unstable_ImmediatePriority=1;exports.unstable_UserBlockingPriority=2;exports.unstable_NormalPriority=3;exports.unstable_IdlePriority=5;exports.unstable_LowPriority=4;exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=h,e=k;h=a;k=exports.unstable_now();try{return b()}finally{h=c,k=e,v()}}; - exports.unstable_scheduleCallback=function(a,b){var c=-1!==k?k:exports.unstable_now();if("object"===typeof b&&null!==b&&"number"===typeof b.timeout)b=c+b.timeout;else switch(h){case 1:b=c+-1;break;case 2:b=c+250;break;case 5:b=c+1073741823;break;case 4:b=c+1E4;break;default:b=c+5E3}a={callback:a,priorityLevel:h,expirationTime:b,next:null,previous:null};if(null===d)d=a.next=a.previous=a,p();else{c=null;var e=d;do{if(e.expirationTime>b){c=e;break}e=e.next}while(e!==d);null===c?c=d:c===d&&(d=a,p()); - b=c.previous;b.next=c.previous=a;a.next=c;a.previous=b}return a};exports.unstable_cancelCallback=function(a){var b=a.next;if(null!==b){if(b===a)d=null;else{a===d&&(d=b);var c=a.previous;c.next=b;b.previous=c}a.next=a.previous=null}};exports.unstable_wrapCallback=function(a){var b=h;return function(){var c=h,e=k;h=b;k=exports.unstable_now();try{return a.apply(this,arguments)}finally{h=c,k=e,v()}}};exports.unstable_getCurrentPriorityLevel=function(){return h}; - exports.unstable_shouldYield=function(){return!f&&(null!==d&&d.expirationTime=P-d)if(-1!==b&&b<=d)e=!0;else{N||(N=!0,E(V));K=a;M=b;return}if(null!==a){O=!0;try{a(e)}finally{O=!1}}}; + var V=function(a){if(null!==K){E(V);var b=a-P+S;bb&&(b=8),S=bb?U.postMessage(void 0):N||(N=!0,E(V))};q=function(){K=null;L=!1;M=-1}}exports.unstable_ImmediatePriority=1;exports.unstable_UserBlockingPriority=2;exports.unstable_NormalPriority=3;exports.unstable_IdlePriority=5;exports.unstable_LowPriority=4; + exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var d=h,e=k;h=a;k=exports.unstable_now();try{return b()}finally{h=d,k=e,v()}}; + exports.unstable_scheduleCallback=function(a,b){var d=-1!==k?k:exports.unstable_now();if("object"===typeof b&&null!==b&&"number"===typeof b.timeout)b=d+b.timeout;else switch(h){case 1:b=d+-1;break;case 2:b=d+250;break;case 5:b=d+1073741823;break;case 4:b=d+1E4;break;default:b=d+5E3}a={callback:a,priorityLevel:h,expirationTime:b,next:null,previous:null};if(null===c)c=a.next=a.previous=a,p();else{d=null;var e=c;do{if(e.expirationTime>b){d=e;break}e=e.next}while(e!==c);null===d?d=c:d===c&&(c=a,p()); + b=d.previous;b.next=d.previous=a;a.next=d;a.previous=b}return a};exports.unstable_cancelCallback=function(a){var b=a.next;if(null!==b){if(b===a)c=null;else{a===c&&(c=b);var d=a.previous;d.next=b;b.previous=d}a.next=a.previous=null}};exports.unstable_wrapCallback=function(a){var b=h;return function(){var d=h,e=k;h=b;k=exports.unstable_now();try{return a.apply(this,arguments)}finally{h=d,k=e,v()}}};exports.unstable_getCurrentPriorityLevel=function(){return h}; + exports.unstable_shouldYield=function(){return!f&&(null!==c&&c.expirationTime'; @@ -9640,12 +11135,15 @@ if (top.className) { result += spanEndTag; } - if (!top.skip) { + if (!top.skip && !top.subLanguage) { relevance += top.relevance; } top = top.parent; } while (top !== end_mode.parent); if (end_mode.starts) { + if (end_mode.endSameAsBegin) { + end_mode.starts.endRe = end_mode.endRe; + } startNewMode(end_mode.starts, ''); } return origin.returnEnd ? 0 : lexeme.length; @@ -9731,7 +11229,7 @@ value: escape(text) }; var second_best = result; - languageSubset.filter(getLanguage).forEach(function(name) { + languageSubset.filter(getLanguage).filter(autoDetection).forEach(function(name) { var current = highlight(name, text, false); current.language = name; if (current.relevance > second_best.relevance) { @@ -9868,6 +11366,11 @@ return languages[name] || languages[aliases[name]]; } + function autoDetection(name) { + var lang = getLanguage(name); + return lang && !lang.disableAutodetect; + } + /* Interface definition */ hljs.highlight = highlight; @@ -9880,6 +11383,7 @@ hljs.registerLanguage = registerLanguage; hljs.listLanguages = listLanguages; hljs.getLanguage = getLanguage; + hljs.autoDetection = autoDetection; hljs.inherit = inherit; // Common regexps @@ -9991,7 +11495,7 @@ /***/ }), -/* 338 */ +/* 344 */ /***/ (function(module, exports) { module.exports = function(hljs){ @@ -10505,7 +12009,7 @@ }; /***/ }), -/* 339 */ +/* 345 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -10580,7 +12084,7 @@ }; /***/ }), -/* 340 */ +/* 346 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -10622,7 +12126,7 @@ }; /***/ }), -/* 341 */ +/* 347 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -10700,7 +12204,7 @@ }; /***/ }), -/* 342 */ +/* 348 */ /***/ (function(module, exports) { module.exports = // We try to support full Ada2012 @@ -10877,7 +12381,118 @@ }; /***/ }), -/* 343 */ +/* 349 */ +/***/ (function(module, exports) { + + module.exports = function(hljs) { + var builtInTypeMode = { + className: 'built_in', + begin: '\\b(void|bool|int|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|string|ref|array|double|float|auto|dictionary)' + }; + + var objectHandleMode = { + className: 'symbol', + begin: '[a-zA-Z0-9_]+@' + }; + + var genericMode = { + className: 'keyword', + begin: '<', end: '>', + contains: [ builtInTypeMode, objectHandleMode ] + }; + + builtInTypeMode.contains = [ genericMode ]; + objectHandleMode.contains = [ genericMode ]; + + return { + aliases: [ 'asc' ], + + keywords: + 'for in|0 break continue while do|0 return if else case switch namespace is cast ' + + 'or and xor not get|0 in inout|10 out override set|0 private public const default|0 ' + + 'final shared external mixin|10 enum typedef funcdef this super import from interface ' + + 'abstract|0 try catch protected explicit', + + // avoid close detection with C# and JS + illegal: '(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\s*[^\\(])', + + contains: [ + { // 'strings' + className: 'string', + begin: '\'', end: '\'', + illegal: '\\n', + contains: [ hljs.BACKSLASH_ESCAPE ], + relevance: 0 + }, + + { // "strings" + className: 'string', + begin: '"', end: '"', + illegal: '\\n', + contains: [ hljs.BACKSLASH_ESCAPE ], + relevance: 0 + }, + + // """heredoc strings""" + { + className: 'string', + begin: '"""', end: '"""' + }, + + hljs.C_LINE_COMMENT_MODE, // single-line comments + hljs.C_BLOCK_COMMENT_MODE, // comment blocks + + { // interface or namespace declaration + beginKeywords: 'interface namespace', end: '{', + illegal: '[;.\\-]', + contains: [ + { // interface or namespace name + className: 'symbol', + begin: '[a-zA-Z0-9_]+' + } + ] + }, + + { // class declaration + beginKeywords: 'class', end: '{', + illegal: '[;.\\-]', + contains: [ + { // class name + className: 'symbol', + begin: '[a-zA-Z0-9_]+', + contains: [ + { + begin: '[:,]\\s*', + contains: [ + { + className: 'symbol', + begin: '[a-zA-Z0-9_]+' + } + ] + } + ] + } + ] + }, + + builtInTypeMode, // built-in types + objectHandleMode, // object handles + + { // literals + className: 'literal', + begin: '\\b(null|true|false)' + }, + + { // numbers + className: 'number', + begin: '(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)' + } + ] + }; + }; + +/***/ }), +/* 350 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -10927,7 +12542,7 @@ }; /***/ }), -/* 344 */ +/* 351 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -11017,7 +12632,148 @@ }; /***/ }), -/* 345 */ +/* 352 */ +/***/ (function(module, exports) { + + module.exports = function(hljs) { + var IDENT_RE = '[A-Za-z_][0-9A-Za-z_]*'; + var KEYWORDS = { + keyword: + 'if for while var new function do return void else break', + literal: + 'true false null undefined NaN Infinity PI BackSlash DoubleQuote ForwardSlash NewLine SingleQuote Tab', + built_in: + 'Abs Acos Area AreaGeodetic Asin Atan Atan2 Average Boolean Buffer BufferGeodetic ' + + 'Ceil Centroid Clip Console Constrain Contains Cos Count Crosses Cut Date DateAdd ' + + 'DateDiff Day Decode DefaultValue Dictionary Difference Disjoint Distance Distinct ' + + 'DomainCode DomainName Equals Exp Extent Feature FeatureSet FeatureSetById FeatureSetByTitle ' + + 'FeatureSetByUrl Filter First Floor Geometry Guid HasKey Hour IIf IndexOf Intersection ' + + 'Intersects IsEmpty Length LengthGeodetic Log Max Mean Millisecond Min Minute Month ' + + 'MultiPartToSinglePart Multipoint NextSequenceValue Now Number OrderBy Overlaps Point Polygon ' + + 'Polyline Pow Random Relate Reverse Round Second SetGeometry Sin Sort Sqrt Stdev Sum ' + + 'SymmetricDifference Tan Text Timestamp Today ToLocal Top Touches ToUTC TypeOf Union Variance ' + + 'Weekday When Within Year ' + }; + var EXPRESSIONS; + var SYMBOL = { + className: 'symbol', + begin: '\\$[feature|layer|map|value|view]+' + }; + var NUMBER = { + className: 'number', + variants: [ + { begin: '\\b(0[bB][01]+)' }, + { begin: '\\b(0[oO][0-7]+)' }, + { begin: hljs.C_NUMBER_RE } + ], + relevance: 0 + }; + var SUBST = { + className: 'subst', + begin: '\\$\\{', end: '\\}', + keywords: KEYWORDS, + contains: [] // defined later + }; + var TEMPLATE_STRING = { + className: 'string', + begin: '`', end: '`', + contains: [ + hljs.BACKSLASH_ESCAPE, + SUBST + ] + }; + SUBST.contains = [ + hljs.APOS_STRING_MODE, + hljs.QUOTE_STRING_MODE, + TEMPLATE_STRING, + NUMBER, + hljs.REGEXP_MODE + ]; + var PARAMS_CONTAINS = SUBST.contains.concat([ + hljs.C_BLOCK_COMMENT_MODE, + hljs.C_LINE_COMMENT_MODE + ]); + + return { + aliases: ['arcade'], + keywords: KEYWORDS, + contains: [ + hljs.APOS_STRING_MODE, + hljs.QUOTE_STRING_MODE, + TEMPLATE_STRING, + hljs.C_LINE_COMMENT_MODE, + hljs.C_BLOCK_COMMENT_MODE, + SYMBOL, + NUMBER, + { // object attr container + begin: /[{,]\s*/, relevance: 0, + contains: [ + { + begin: IDENT_RE + '\\s*:', returnBegin: true, + relevance: 0, + contains: [{className: 'attr', begin: IDENT_RE, relevance: 0}] + } + ] + }, + { // "value" container + begin: '(' + hljs.RE_STARTERS_RE + '|\\b(return)\\b)\\s*', + keywords: 'return', + contains: [ + hljs.C_LINE_COMMENT_MODE, + hljs.C_BLOCK_COMMENT_MODE, + hljs.REGEXP_MODE, + { + className: 'function', + begin: '(\\(.*?\\)|' + IDENT_RE + ')\\s*=>', returnBegin: true, + end: '\\s*=>', + contains: [ + { + className: 'params', + variants: [ + { + begin: IDENT_RE + }, + { + begin: /\(\s*\)/, + }, + { + begin: /\(/, end: /\)/, + excludeBegin: true, excludeEnd: true, + keywords: KEYWORDS, + contains: PARAMS_CONTAINS + } + ] + } + ] + } + ], + relevance: 0 + }, + { + className: 'function', + beginKeywords: 'function', end: /\{/, excludeEnd: true, + contains: [ + hljs.inherit(hljs.TITLE_MODE, {begin: IDENT_RE}), + { + className: 'params', + begin: /\(/, end: /\)/, + excludeBegin: true, + excludeEnd: true, + contains: PARAMS_CONTAINS + } + ], + illegal: /\[|%/ + }, + { + begin: /\$[(.]/ + } + ], + illegal: /#(?!!)/ + }; + }; + +/***/ }), +/* 353 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -11030,13 +12786,16 @@ className: 'string', variants: [ { - begin: '(u8?|U)?L?"', end: '"', + begin: '(u8?|U|L)?"', end: '"', illegal: '\\n', contains: [hljs.BACKSLASH_ESCAPE] }, { - begin: '(u8?|U)?R"', end: '"', - contains: [hljs.BACKSLASH_ESCAPE] + // TODO: This does not handle raw string literals with prefixes. Using + // a single regex with backreferences would work (note to use *? + // instead of * to make it non-greedy), but the mode.terminators + // computation in highlight.js breaks the counting. + begin: '(u8?|U|L)?R"\\(', end: '\\)"', }, { begin: '\'\\\\?.', end: '\'', @@ -11170,7 +12929,21 @@ hljs.C_BLOCK_COMMENT_MODE, STRINGS, NUMBERS, - CPP_PRIMITIVE_TYPES + CPP_PRIMITIVE_TYPES, + // Count matching parentheses. + { + begin: /\(/, end: /\)/, + keywords: CPP_KEYWORDS, + relevance: 0, + contains: [ + 'self', + hljs.C_LINE_COMMENT_MODE, + hljs.C_BLOCK_COMMENT_MODE, + STRINGS, + NUMBERS, + CPP_PRIMITIVE_TYPES + ] + } ] }, hljs.C_LINE_COMMENT_MODE, @@ -11196,7 +12969,7 @@ }; /***/ }), -/* 346 */ +/* 354 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -11300,7 +13073,7 @@ }; /***/ }), -/* 347 */ +/* 355 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -11396,7 +13169,7 @@ }; /***/ }), -/* 348 */ +/* 356 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -11449,10 +13222,22 @@ begin: '<\\!\\[CDATA\\[', end: '\\]\\]>', relevance: 10 }, + { + className: 'meta', + begin: /<\?xml/, end: /\?>/, relevance: 10 + }, { begin: /<\?(php)?/, end: /\?>/, subLanguage: 'php', - contains: [{begin: '/\\*', end: '\\*/', skip: true}] + contains: [ + // We don't want the php closing tag ?> to close the PHP block when + // inside any of the following blocks: + {begin: '/\\*', end: '\\*/', skip: true}, + {begin: 'b"', end: '"', skip: true}, + {begin: 'b\'', end: '\'', skip: true}, + hljs.inherit(hljs.APOS_STRING_MODE, {illegal: null, className: null, contains: null, skip: true}), + hljs.inherit(hljs.QUOTE_STRING_MODE, {illegal: null, className: null, contains: null, skip: true}) + ] }, { className: 'tag', @@ -11481,13 +13266,6 @@ subLanguage: ['actionscript', 'javascript', 'handlebars', 'xml'] } }, - { - className: 'meta', - variants: [ - {begin: /<\?xml/, end: /\?>/, relevance: 10}, - {begin: /<\?\w+/, end: /\?>/} - ] - }, { className: 'tag', begin: '', @@ -11503,7 +13281,7 @@ }; /***/ }), -/* 349 */ +/* 357 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -11695,7 +13473,7 @@ }; /***/ }), -/* 350 */ +/* 358 */ /***/ (function(module, exports) { module.exports = function (hljs) { @@ -11844,7 +13622,7 @@ }; /***/ }), -/* 351 */ +/* 359 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -11907,7 +13685,7 @@ }; /***/ }), -/* 352 */ +/* 360 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -12047,7 +13825,7 @@ }; /***/ }), -/* 353 */ +/* 361 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -12113,7 +13891,7 @@ }; /***/ }), -/* 354 */ +/* 362 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -12170,7 +13948,7 @@ }; /***/ }), -/* 355 */ +/* 363 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -12205,7 +13983,7 @@ }; /***/ }), -/* 356 */ +/* 364 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -12284,7 +14062,7 @@ }; /***/ }), -/* 357 */ +/* 365 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -12339,7 +14117,7 @@ }; /***/ }), -/* 358 */ +/* 366 */ /***/ (function(module, exports) { module.exports = function(hljs){ @@ -12372,7 +14150,7 @@ }; /***/ }), -/* 359 */ +/* 367 */ /***/ (function(module, exports) { module.exports = function(hljs){ @@ -12413,7 +14191,7 @@ }; /***/ }), -/* 360 */ +/* 368 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -12497,7 +14275,7 @@ }; /***/ }), -/* 361 */ +/* 369 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -12550,7 +14328,7 @@ }; /***/ }), -/* 362 */ +/* 370 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -12621,7 +14399,7 @@ }; /***/ }), -/* 363 */ +/* 371 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -12633,6 +14411,8 @@ 'implementation definition system module from import qualified as ' + 'special code inline foreign export ccall stdcall generic derive ' + 'infix infixl infixr', + built_in: + 'Int Real Char Bool', literal: 'True False' }, @@ -12644,13 +14424,13 @@ hljs.QUOTE_STRING_MODE, hljs.C_NUMBER_MODE, - {begin: '->|<-[|:]?|::|#!?|>>=|\\{\\||\\|\\}|:==|=:|\\.\\.|<>|`'} // relevance booster + {begin: '->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>'} // relevance booster ] }; }; /***/ }), -/* 364 */ +/* 372 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -12750,7 +14530,7 @@ }; /***/ }), -/* 365 */ +/* 373 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -12758,7 +14538,7 @@ contains: [ { className: 'meta', - begin: /^([\w.-]+|\s*#_)=>/, + begin: /^([\w.-]+|\s*#_)?=>/, starts: { end: /$/, subLanguage: 'clojure' @@ -12769,7 +14549,7 @@ }; /***/ }), -/* 366 */ +/* 374 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -12778,25 +14558,40 @@ 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: [ { @@ -12811,7 +14606,7 @@ }; /***/ }), -/* 367 */ +/* 375 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -12961,7 +14756,7 @@ }; /***/ }), -/* 368 */ +/* 376 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -13032,7 +14827,7 @@ }; /***/ }), -/* 369 */ +/* 377 */ /***/ (function(module, exports) { module.exports = function cos (hljs) { @@ -13160,7 +14955,7 @@ }; /***/ }), -/* 370 */ +/* 378 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -13258,20 +15053,20 @@ }; /***/ }), -/* 371 */ +/* 379 */ /***/ (function(module, exports) { module.exports = function(hljs) { - var NUM_SUFFIX = '(_[uif](8|16|32|64))?'; + var INT_SUFFIX = '(_*[ui](8|16|32|64|128))?'; + var FLOAT_SUFFIX = '(_*f(32|64))?'; var CRYSTAL_IDENT_RE = '[a-zA-Z_]\\w*[!?=]?'; - var RE_STARTER = '!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|' + - '>>|>|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~'; - var CRYSTAL_METHOD_RE = '[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\][=?]?'; + var CRYSTAL_METHOD_RE = '[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?'; + var CRYSTAL_PATH_RE = '[A-Za-z_]\\w*(::\\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 ' + + 'abstract alias annotation 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 ' + + 'return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield ' + '__DIR__ __END_LINE__ __FILE__ __LINE__', literal: 'false nil true' }; @@ -13302,14 +15097,11 @@ {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: '/'}, - {begin: '%w?%', end: '%'}, - {begin: '%w?-', end: '-'}, - {begin: '%w?\\|', end: '\\|'}, + {begin: '%[Qwi]?\\(', end: '\\)', contains: recursiveParen('\\(', '\\)')}, + {begin: '%[Qwi]?\\[', end: '\\]', contains: recursiveParen('\\[', '\\]')}, + {begin: '%[Qwi]?{', end: '}', contains: recursiveParen('{', '}')}, + {begin: '%[Qwi]?<', end: '>', contains: recursiveParen('<', '>')}, + {begin: '%[Qwi]?\\|', end: '\\|'}, {begin: /<<-\w+$/, end: /^\s*\w+$/}, ], relevance: 0, @@ -13321,31 +15113,21 @@ {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: /<<-'\w+'$/, end: /^\s*\w+$/}, ], relevance: 0, }; var REGEXP = { - begin: '(' + RE_STARTER + ')\\s*', + begin: '(?!%})(' + hljs.RE_STARTERS_RE + '|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*', + keywords: 'case if select unless until when while', contains: [ { className: 'regexp', contains: [hljs.BACKSLASH_ESCAPE, SUBST], variants: [ {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: '/'}, - {begin: '%r%', end: '%'}, - {begin: '%r-', end: '-'}, - {begin: '%r\\|', end: '\\|'}, + {begin: '/(?!\\/)', end: '/[a-z]*'}, ] } ], @@ -13359,9 +15141,6 @@ {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: '\\|'}, ], relevance: 0 @@ -13377,8 +15156,8 @@ EXPANSION, STRING, Q_STRING, - REGEXP, REGEXP2, + REGEXP, ATTRIBUTE, hljs.HASH_COMMENT_MODE, { @@ -13387,7 +15166,7 @@ illegal: /=/, contains: [ hljs.HASH_COMMENT_MODE, - hljs.inherit(hljs.TITLE_MODE, {begin: '[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?'}), + hljs.inherit(hljs.TITLE_MODE, {begin: CRYSTAL_PATH_RE}), {begin: '<'} // relevance booster for inheritance ] }, @@ -13397,7 +15176,16 @@ illegal: /=/, contains: [ hljs.HASH_COMMENT_MODE, - hljs.inherit(hljs.TITLE_MODE, {begin: '[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?'}), + hljs.inherit(hljs.TITLE_MODE, {begin: CRYSTAL_PATH_RE}), + ], + relevance: 10 + }, + { + beginKeywords: 'annotation', end: '$|;', + illegal: /=/, + contains: [ + hljs.HASH_COMMENT_MODE, + hljs.inherit(hljs.TITLE_MODE, {begin: CRYSTAL_PATH_RE}), ], relevance: 10 }, @@ -13436,10 +15224,11 @@ { 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: '\\b(([0-9][0-9_]*[0-9]|[0-9])(\\.[0-9_]*[0-9])?([eE][+-]?[0-9_]*[0-9])?)' + NUM_SUFFIX} + { begin: '\\b0b([01_]+)' + INT_SUFFIX }, + { begin: '\\b0o([0-7_]+)' + INT_SUFFIX }, + { begin: '\\b0x([A-Fa-f0-9_]+)' + INT_SUFFIX }, + { begin: '\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_*[-+]?[0-9_]*)?' + FLOAT_SUFFIX + '(?!_)' }, + { begin: '\\b([1-9][0-9_]*|0)' + INT_SUFFIX } ], relevance: 0 } @@ -13456,7 +15245,7 @@ }; /***/ }), -/* 372 */ +/* 380 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -13475,7 +15264,15 @@ 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', begin: '@"', end: '"', @@ -13509,7 +15306,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 = [ @@ -13518,7 +15315,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 = { @@ -13534,7 +15331,7 @@ var TYPE_IDENT_RE = hljs.IDENT_RE + '(<' + hljs.IDENT_RE + '(\\s*,\\s*' + hljs.IDENT_RE + ')*>)?(\\[\\])?'; return { - aliases: ['csharp'], + aliases: ['csharp', 'c#'], keywords: KEYWORDS, illegal: /::/, contains: [ @@ -13571,10 +15368,10 @@ } }, STRING, - hljs.C_NUMBER_MODE, + NUMBERS, { beginKeywords: 'class interface', end: /[{;=]/, - illegal: /[^\s:]/, + illegal: /[^\s:,]/, contains: [ hljs.TITLE_MODE, hljs.C_LINE_COMMENT_MODE, @@ -13607,7 +15404,7 @@ { className: 'function', begin: '(' + TYPE_IDENT_RE + '\\s+)+' + hljs.IDENT_RE + '\\s*\\(', returnBegin: true, - end: /[{;=]/, excludeEnd: true, + end: /\s*[{;=]/, excludeEnd: true, keywords: KEYWORDS, contains: [ { @@ -13624,7 +15421,7 @@ relevance: 0, contains: [ STRING, - hljs.C_NUMBER_MODE, + NUMBERS, hljs.C_BLOCK_COMMENT_MODE ] }, @@ -13637,7 +15434,7 @@ }; /***/ }), -/* 373 */ +/* 381 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -13663,7 +15460,7 @@ }; /***/ }), -/* 374 */ +/* 382 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -13772,7 +15569,7 @@ }; /***/ }), -/* 375 */ +/* 383 */ /***/ (function(module, exports) { module.exports = /** @@ -14034,7 +15831,7 @@ }; /***/ }), -/* 376 */ +/* 384 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -14146,14 +15943,23 @@ }; /***/ }), -/* 377 */ +/* 385 */ /***/ (function(module, exports) { module.exports = function (hljs) { var SUBST = { className: 'subst', - begin: '\\$\\{', end: '}', - keywords: 'true false null this is new super' + variants: [ + {begin: '\\$[A-Za-z0-9_]+'} + ], + }; + + var BRACED_SUBST = { + className: 'subst', + variants: [ + {begin: '\\${', end: '}'}, + ], + keywords: 'true false null this is new super', }; var STRING = { @@ -14175,25 +15981,25 @@ }, { begin: '\'\'\'', end: '\'\'\'', - contains: [hljs.BACKSLASH_ESCAPE, SUBST] + contains: [hljs.BACKSLASH_ESCAPE, SUBST, BRACED_SUBST] }, { begin: '"""', end: '"""', - contains: [hljs.BACKSLASH_ESCAPE, SUBST] + contains: [hljs.BACKSLASH_ESCAPE, SUBST, BRACED_SUBST] }, { begin: '\'', end: '\'', illegal: '\\n', - contains: [hljs.BACKSLASH_ESCAPE, SUBST] + contains: [hljs.BACKSLASH_ESCAPE, SUBST, BRACED_SUBST] }, { begin: '"', end: '"', illegal: '\\n', - contains: [hljs.BACKSLASH_ESCAPE, SUBST] + contains: [hljs.BACKSLASH_ESCAPE, SUBST, BRACED_SUBST] } ] }; - SUBST.contains = [ + BRACED_SUBST.contains = [ hljs.C_NUMBER_MODE, STRING ]; @@ -14251,7 +16057,7 @@ }; /***/ }), -/* 378 */ +/* 386 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -14324,7 +16130,7 @@ }; /***/ }), -/* 379 */ +/* 387 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -14368,7 +16174,7 @@ }; /***/ }), -/* 380 */ +/* 388 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -14436,7 +16242,7 @@ }; /***/ }), -/* 381 */ +/* 389 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -14469,7 +16275,7 @@ }; /***/ }), -/* 382 */ +/* 390 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -14485,7 +16291,7 @@ { beginKeywords: 'run cmd entrypoint volume add copy workdir label healthcheck shell', starts: { - end: /[^\\]\n/, + end: /[^\\]$/, subLanguage: 'bash' } } @@ -14495,7 +16301,7 @@ }; /***/ }), -/* 383 */ +/* 391 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -14551,7 +16357,7 @@ }; /***/ }), -/* 384 */ +/* 392 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -14602,7 +16408,7 @@ }; /***/ }), -/* 385 */ +/* 393 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -14730,7 +16536,7 @@ }; /***/ }), -/* 386 */ +/* 394 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -14766,7 +16572,7 @@ }; /***/ }), -/* 387 */ +/* 395 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -14803,16 +16609,16 @@ }; /***/ }), -/* 388 */ +/* 396 */ /***/ (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*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?'; 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'; + 'include use alias fn quote require import with|0'; var SUBST = { className: 'subst', begin: '#\\{', end: '}', @@ -14850,15 +16656,18 @@ hljs.HASH_COMMENT_MODE, CLASS, FUNCTION, + { + begin: '::' + }, { className: 'symbol', - begin: ':(?!\\s)', + begin: ':(?![\\s:])', contains: [STRING, {begin: ELIXIR_METHOD_RE}], relevance: 0 }, { className: 'symbol', - begin: ELIXIR_IDENT_RE + ':', + begin: ELIXIR_IDENT_RE + ':(?!:)', relevance: 0 }, { @@ -14904,7 +16713,7 @@ }; /***/ }), -/* 389 */ +/* 397 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -14941,6 +16750,12 @@ contains: LIST.contains }; + var CHARACTER = { + className: 'string', + begin: '\'\\\\?.', end: '\'', + illegal: '.' + }; + return { keywords: 'let in if then else case of where module import exposing ' + @@ -14978,7 +16793,7 @@ // Literals and names. - // TODO: characters. + CHARACTER, hljs.QUOTE_STRING_MODE, hljs.C_NUMBER_MODE, CONSTRUCTOR, @@ -14992,7 +16807,7 @@ }; /***/ }), -/* 390 */ +/* 398 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -15173,7 +16988,7 @@ }; /***/ }), -/* 391 */ +/* 399 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -15192,7 +17007,7 @@ }; /***/ }), -/* 392 */ +/* 400 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -15242,7 +17057,7 @@ }; /***/ }), -/* 393 */ +/* 401 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -15392,7 +17207,7 @@ }; /***/ }), -/* 394 */ +/* 402 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -15444,7 +17259,7 @@ }; /***/ }), -/* 395 */ +/* 403 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -15477,7 +17292,7 @@ }; /***/ }), -/* 396 */ +/* 404 */ /***/ (function(module, exports) { module.exports = function (hljs) { @@ -15526,7 +17341,7 @@ }; /***/ }), -/* 397 */ +/* 405 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -15601,7 +17416,7 @@ }; /***/ }), -/* 398 */ +/* 406 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -15664,7 +17479,7 @@ }; /***/ }), -/* 399 */ +/* 407 */ /***/ (function(module, exports) { module.exports = function (hljs) { @@ -15822,20 +17637,21 @@ }; /***/ }), -/* 400 */ +/* 408 */ /***/ (function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { - keyword: 'and bool break call callexe checkinterrupt clear clearg closeall cls comlog compile ' + + keyword: '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 ' + + 'matrix msym ndpclex new open 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', + 'threadendfor threadbegin threadjoin threadstat threadend until use while winprint ' + + 'ne ge le gt lt and xor or not eq eqv', 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 ' + @@ -15911,22 +17727,26 @@ '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 ' + + 'surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname ' + + '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', + 'plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester ' + + 'strtrim', 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_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR' }; + + var AT_COMMENT_MODE = hljs.COMMENT('@', '@'); + var PREPROCESSOR = { className: 'meta', @@ -15948,109 +17768,171 @@ ] }, hljs.C_LINE_COMMENT_MODE, - hljs.C_BLOCK_COMMENT_MODE + hljs.C_BLOCK_COMMENT_MODE, + AT_COMMENT_MODE, ] }; - var FUNCTION_TITLE = hljs.UNDERSCORE_IDENT_RE + '\\s*\\(?'; + var STRUCT_TYPE = + { + begin: /\bstruct\s+/, + end: /\s/, + keywords: "struct", + contains: [ + { + className: "type", + begin: hljs.UNDERSCORE_IDENT_RE, + relevance: 0, + }, + ], + }; + + // only for definitions var PARSE_PARAMS = [ { className: 'params', begin: /\(/, end: /\)/, - keywords: KEYWORDS, + excludeBegin: true, + excludeEnd: true, + endsWithParent: true, relevance: 0, contains: [ + { // dots + className: 'literal', + begin: /\.\.\./, + }, hljs.C_NUMBER_MODE, - hljs.C_LINE_COMMENT_MODE, - hljs.C_BLOCK_COMMENT_MODE + hljs.C_BLOCK_COMMENT_MODE, + AT_COMMENT_MODE, + STRUCT_TYPE, ] } ]; + var FUNCTION_DEF = + { + className: "title", + begin: hljs.UNDERSCORE_IDENT_RE, + relevance: 0, + }; + + var DEFINITION = function (beginKeywords, end, inherits) { + var mode = hljs.inherit( + { + className: "function", + beginKeywords: beginKeywords, + end: end, + excludeEnd: true, + contains: [].concat(PARSE_PARAMS), + }, + inherits || {} + ); + mode.contains.push(FUNCTION_DEF); + mode.contains.push(hljs.C_NUMBER_MODE); + mode.contains.push(hljs.C_BLOCK_COMMENT_MODE); + mode.contains.push(AT_COMMENT_MODE); + return mode; + }; + + var BUILT_IN_REF = + { // these are explicitly named internal function calls + className: 'built_in', + begin: '\\b(' + KEYWORDS.built_in.split(' ').join('|') + ')\\b', + }; + + var STRING_REF = + { + className: 'string', + begin: '"', end: '"', + contains: [hljs.BACKSLASH_ESCAPE], + relevance: 0, + }; + + var FUNCTION_REF = + { + //className: "fn_ref", + begin: hljs.UNDERSCORE_IDENT_RE + '\\s*\\(', + returnBegin: true, + keywords: KEYWORDS, + relevance: 0, + contains: [ + { + beginKeywords: KEYWORDS.keyword, + }, + BUILT_IN_REF, + { // ambiguously named function calls get a relevance of 0 + className: 'built_in', + begin: hljs.UNDERSCORE_IDENT_RE, + relevance: 0, + }, + ], + }; + + var FUNCTION_REF_PARAMS = + { + //className: "fn_ref_params", + begin: /\(/, + end: /\)/, + relevance: 0, + keywords: { built_in: KEYWORDS.built_in, literal: KEYWORDS.literal }, + contains: [ + hljs.C_NUMBER_MODE, + hljs.C_BLOCK_COMMENT_MODE, + AT_COMMENT_MODE, + BUILT_IN_REF, + FUNCTION_REF, + STRING_REF, + 'self', + ], + }; + + FUNCTION_REF.contains.push(FUNCTION_REF_PARAMS); + return { 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('@', '@'), + AT_COMMENT_MODE, + STRING_REF, PREPROCESSOR, { - className: 'string', - begin: '"', end: '"', - contains: [hljs.BACKSLASH_ESCAPE] + className: 'keyword', + begin: /\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/, }, + DEFINITION('proc keyword', ';'), + DEFINITION('fn', '='), { - className: 'function', - beginKeywords: 'proc keyword', - end: ';', - excludeEnd: true, - keywords: KEYWORDS, + beginKeywords: 'for threadfor', + end: /;/, + //end: /\(/, + relevance: 0, contains: [ - { - begin: FUNCTION_TITLE, returnBegin: true, - contains: [hljs.UNDERSCORE_TITLE_MODE], - relevance: 0 - }, - hljs.C_NUMBER_MODE, - hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, - PREPROCESSOR - ].concat(PARSE_PARAMS) - }, - { - className: 'function', - beginKeywords: 'fn', - end: ';', - excludeEnd: true, - keywords: KEYWORDS, - contains: [ - { - begin: FUNCTION_TITLE + hljs.IDENT_RE + '\\)?\\s*\\=\\s*', returnBegin: true, - contains: [hljs.UNDERSCORE_TITLE_MODE], - relevance: 0 - }, - hljs.C_NUMBER_MODE, - hljs.C_LINE_COMMENT_MODE, - hljs.C_BLOCK_COMMENT_MODE - ].concat(PARSE_PARAMS) + AT_COMMENT_MODE, + FUNCTION_REF_PARAMS, + ], }, - { - className: 'function', - begin: '\\bexternal (proc|keyword|fn)\\s+', - end: ';', - excludeEnd: true, - keywords: KEYWORDS, - contains: [ - { - begin: FUNCTION_TITLE, returnBegin: true, - contains: [hljs.UNDERSCORE_TITLE_MODE], - relevance: 0 - }, - hljs.C_LINE_COMMENT_MODE, - hljs.C_BLOCK_COMMENT_MODE - ] + { // custom method guard + // excludes method names from keyword processing + variants: [ + { begin: hljs.UNDERSCORE_IDENT_RE + '\\.' + hljs.UNDERSCORE_IDENT_RE, }, + { begin: hljs.UNDERSCORE_IDENT_RE + '\\s*=', }, + ], + relevance: 0, }, - { - className: 'function', - begin: '\\bexternal (matrix|string|array|sparse matrix|struct ' + hljs.IDENT_RE + ')\\s+', - end: ';', - excludeEnd: true, - keywords: KEYWORDS, - contains: [ - hljs.C_LINE_COMMENT_MODE, - hljs.C_BLOCK_COMMENT_MODE - ] - } + FUNCTION_REF, + STRUCT_TYPE, ] }; }; /***/ }), -/* 401 */ +/* 409 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -16121,7 +18003,7 @@ }; /***/ }), -/* 402 */ +/* 410 */ /***/ (function(module, exports) { module.exports = function (hljs) { @@ -16162,7 +18044,7 @@ }; /***/ }), -/* 403 */ +/* 411 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -16283,7 +18165,884 @@ }; /***/ }), -/* 404 */ +/* 412 */ +/***/ (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 + ] + }; + }; + +/***/ }), +/* 413 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -16341,7 +19100,7 @@ }; /***/ }), -/* 405 */ +/* 414 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -16368,7 +19127,7 @@ }; /***/ }), -/* 406 */ +/* 415 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -16407,7 +19166,7 @@ }; /***/ }), -/* 407 */ +/* 416 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -16505,7 +19264,7 @@ }; /***/ }), -/* 408 */ +/* 417 */ /***/ (function(module, exports) { module.exports = // TODO support filter tags like :javascript, support inline HTML @@ -16616,7 +19375,7 @@ }; /***/ }), -/* 409 */ +/* 418 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -16654,7 +19413,7 @@ }; /***/ }), -/* 410 */ +/* 419 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -16780,7 +19539,7 @@ }; /***/ }), -/* 411 */ +/* 420 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -16896,7 +19655,7 @@ }; /***/ }), -/* 412 */ +/* 421 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -16946,7 +19705,7 @@ }; /***/ }), -/* 413 */ +/* 422 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -17021,7 +19780,7 @@ }; /***/ }), -/* 414 */ +/* 423 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -17066,7 +19825,7 @@ }; /***/ }), -/* 415 */ +/* 424 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -17172,7 +19931,7 @@ }; /***/ }), -/* 416 */ +/* 425 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -17233,7 +19992,7 @@ }; /***/ }), -/* 417 */ +/* 426 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -17303,7 +20062,7 @@ }; /***/ }), -/* 418 */ +/* 427 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -17383,14 +20142,3191 @@ }; /***/ }), -/* 419 */ +/* 428 */ +/***/ (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: "\\$|\\?|%|,|;$|~|#|@|)?'; var KEYWORDS = - 'false synchronized int abstract float private char boolean static null if const ' + + '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 ' + @@ -17495,7 +23431,7 @@ }; /***/ }), -/* 420 */ +/* 430 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -17520,7 +23456,6 @@ 'module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect ' + 'Promise' }; - var EXPRESSIONS; var NUMBER = { className: 'number', variants: [ @@ -17662,7 +23597,7 @@ ] }, { - beginKeywords: 'constructor', end: /\{/, excludeEnd: true + beginKeywords: 'constructor get set', end: /\{/, excludeEnd: true } ], illegal: /#(?!!)/ @@ -17670,7 +23605,7 @@ }; /***/ }), -/* 421 */ +/* 431 */ /***/ (function(module, exports) { module.exports = function (hljs) { @@ -17721,7 +23656,7 @@ }; /***/ }), -/* 422 */ +/* 432 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -17762,7 +23697,7 @@ }; /***/ }), -/* 423 */ +/* 433 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -17928,7 +23863,7 @@ }; /***/ }), -/* 424 */ +/* 434 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -17956,7 +23891,7 @@ }; /***/ }), -/* 425 */ +/* 435 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -17964,8 +23899,9 @@ 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' + + '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', built_in: @@ -18035,7 +23971,31 @@ ] }; + // 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( @@ -18128,13 +24088,13 @@ begin: "^#!/usr/bin/env", end: '$', illegal: '\n' }, - hljs.C_NUMBER_MODE + KOTLIN_NUMBER_MODE ] }; }; /***/ }), -/* 426 */ +/* 436 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -18301,7 +24261,7 @@ }; /***/ }), -/* 427 */ +/* 437 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -18328,7 +24288,7 @@ }; /***/ }), -/* 428 */ +/* 438 */ /***/ (function(module, exports) { module.exports = function (hljs) { @@ -18372,7 +24332,7 @@ }; /***/ }), -/* 429 */ +/* 439 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -18516,7 +24476,7 @@ }; /***/ }), -/* 430 */ +/* 440 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -18623,7 +24583,7 @@ }; /***/ }), -/* 431 */ +/* 441 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -18784,7 +24744,7 @@ }; /***/ }), -/* 432 */ +/* 442 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -18937,7 +24897,7 @@ }; /***/ }), -/* 433 */ +/* 443 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -19030,7 +24990,7 @@ }; /***/ }), -/* 434 */ +/* 444 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -19117,7 +25077,7 @@ }; /***/ }), -/* 435 */ +/* 445 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -19187,7 +25147,7 @@ }; /***/ }), -/* 436 */ +/* 446 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -19272,7 +25232,7 @@ }; /***/ }), -/* 437 */ +/* 447 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -19334,24 +25294,20 @@ }; /***/ }), -/* 438 */ +/* 448 */ /***/ (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: /'['\.]*/ - } + { begin: TRANSPOSE_RE } ] }; @@ -19374,7 +25330,9 @@ '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' + '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: [ @@ -19393,40 +25351,50 @@ ] }, { - 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: '\\[', end: '\\]', - contains: COMMON_CONTAINS, + begin: '[a-zA-Z][a-zA-Z_0-9]*' + TRANSPOSE_RE, + relevance: 0 + }, + { + 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) + ] }; }; /***/ }), -/* 439 */ +/* 449 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -19836,7 +25804,7 @@ }; /***/ }), -/* 440 */ +/* 450 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -20065,7 +26033,7 @@ }; /***/ }), -/* 441 */ +/* 451 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -20151,7 +26119,7 @@ }; /***/ }), -/* 442 */ +/* 452 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -20241,7 +26209,7 @@ }; /***/ }), -/* 443 */ +/* 453 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -20264,7 +26232,7 @@ }; /***/ }), -/* 444 */ +/* 454 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -20425,7 +26393,7 @@ }; /***/ }), -/* 445 */ +/* 455 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -20454,7 +26422,7 @@ }; /***/ }), -/* 446 */ +/* 456 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -20533,7 +26501,7 @@ }; /***/ }), -/* 447 */ +/* 457 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -20649,7 +26617,7 @@ }; /***/ }), -/* 448 */ +/* 458 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -20722,7 +26690,7 @@ }; /***/ }), -/* 449 */ +/* 459 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -20819,7 +26787,7 @@ }; /***/ }), -/* 450 */ +/* 460 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -20878,7 +26846,7 @@ }; /***/ }), -/* 451 */ +/* 461 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -20931,7 +26899,7 @@ }; /***/ }), -/* 452 */ +/* 462 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -20968,12 +26936,12 @@ 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)/ + 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]|\$)/ }; @@ -21010,7 +26978,7 @@ 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' }, @@ -21041,7 +27009,7 @@ }; /***/ }), -/* 453 */ +/* 463 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -21136,7 +27104,7 @@ }; /***/ }), -/* 454 */ +/* 464 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -21211,7 +27179,7 @@ }; /***/ }), -/* 455 */ +/* 465 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -21272,7 +27240,7 @@ }; /***/ }), -/* 456 */ +/* 466 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -21346,7 +27314,7 @@ }; /***/ }), -/* 457 */ +/* 467 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -21398,7 +27366,7 @@ }; /***/ }), -/* 458 */ +/* 468 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -21454,7 +27422,499 @@ }; /***/ }), -/* 459 */ +/* 469 */ +/***/ (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 + } + ] + }; + }; + +/***/ }), +/* 470 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -21480,7 +27940,7 @@ }; var NUMBER = {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 ' + @@ -21585,7 +28045,17 @@ }; /***/ }), -/* 460 */ +/* 471 */ +/***/ (function(module, exports) { + + module.exports = function(hljs) { + return { + disableAutodetect: true + }; + }; + +/***/ }), +/* 472 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -21633,8 +28103,13 @@ var CLASS = { className: 'class', - beginKeywords: 'class actor', end: '$', + beginKeywords: 'class actor object primitive', end: '$', contains: [ + { + className: 'keyword', + begin: 'is' + }, + TYPE_NAME, hljs.TITLE_MODE, hljs.C_LINE_COMMENT_MODE ] @@ -21642,7 +28117,7 @@ var FUNCTION = { className: 'function', - beginKeywords: 'new fun', end: '=>', + beginKeywords: 'new fun be', end: '=>', contains: [ hljs.TITLE_MODE, { @@ -21680,7 +28155,7 @@ }; /***/ }), -/* 461 */ +/* 473 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -21765,7 +28240,7 @@ }; /***/ }), -/* 462 */ +/* 474 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -21817,7 +28292,7 @@ }; /***/ }), -/* 463 */ +/* 475 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -21851,7 +28326,7 @@ }; /***/ }), -/* 464 */ +/* 476 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -21943,13 +28418,87 @@ }; /***/ }), -/* 465 */ +/* 477 */ +/***/ (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 + '$' + } + ] + }; + }; + +/***/ }), +/* 478 */ /***/ (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' @@ -21983,7 +28532,7 @@ }; /***/ }), -/* 466 */ +/* 479 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -22102,7 +28651,7 @@ }; /***/ }), -/* 467 */ +/* 480 */ /***/ (function(module, exports) { module.exports = // Base deafult colors in PB IDE: background: #FFFFDF; foreground: #000000; @@ -22164,7 +28713,7 @@ }; /***/ }), -/* 468 */ +/* 481 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -22191,21 +28740,21 @@ 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)'/, end: /'/, @@ -22223,11 +28772,11 @@ }, { 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 @@ -22248,7 +28797,7 @@ }; SUBST.contains = [STRING, NUMBER, PROMPT]; return { - aliases: ['py', 'gyp'], + aliases: ['py', 'gyp', 'ipython'], keywords: KEYWORDS, illegal: /(<\/|->|\?)|=>/, contains: [ @@ -22284,7 +28833,7 @@ }; /***/ }), -/* 469 */ +/* 482 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -22311,7 +28860,7 @@ }; /***/ }), -/* 470 */ +/* 483 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -22484,7 +29033,7 @@ }; /***/ }), -/* 471 */ +/* 484 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -22558,7 +29107,311 @@ }; /***/ }), -/* 472 */ +/* 485 */ +/***/ (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 + ] + }; + }; + +/***/ }), +/* 486 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -22589,7 +29442,7 @@ }; /***/ }), -/* 473 */ +/* 487 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -22660,7 +29513,7 @@ }; /***/ }), -/* 474 */ +/* 488 */ /***/ (function(module, exports) { module.exports = // Colors from RouterOS terminal: @@ -22823,7 +29676,7 @@ }; /***/ }), -/* 475 */ +/* 489 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -22863,7 +29716,7 @@ }; /***/ }), -/* 476 */ +/* 490 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -22928,7 +29781,7 @@ }; /***/ }), -/* 477 */ +/* 491 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -23040,7 +29893,137 @@ }; /***/ }), -/* 478 */ +/* 492 */ +/***/ (function(module, exports) { + + module.exports = function(hljs) { + + // 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 + ] + }; + }; + +/***/ }), +/* 493 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -23159,7 +30142,7 @@ }; /***/ }), -/* 479 */ +/* 494 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -23307,7 +30290,7 @@ }; /***/ }), -/* 480 */ +/* 495 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -23365,7 +30348,7 @@ }; /***/ }), -/* 481 */ +/* 496 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -23467,7 +30450,7 @@ }; /***/ }), -/* 482 */ +/* 497 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -23480,13 +30463,13 @@ starts: { end: '$', subLanguage: 'bash' } - }, + } ] } }; /***/ }), -/* 483 */ +/* 498 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -23546,7 +30529,7 @@ }; /***/ }), -/* 484 */ +/* 499 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -23600,7 +30583,7 @@ }; /***/ }), -/* 485 */ +/* 500 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -23670,7 +30653,7 @@ }; /***/ }), -/* 486 */ +/* 501 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -23713,60 +30696,63 @@ keywords: { keyword: 'case catch default do else exit exitWith for forEach from if ' + - 'switch then throw to try waitUntil while with', + '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 ' + + '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 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 ' + + '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 ' + @@ -23779,141 +30765,160 @@ '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 ' + + '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 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 ' + + '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 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 ' + + '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 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 ' + + '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 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 ' + + '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 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 ' + + '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 ' + @@ -23927,69 +30932,77 @@ '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 ' + + '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 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 ' + + '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 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 ' + + '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 ' + @@ -23998,38 +31011,42 @@ '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 ' + + '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 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 ' + + '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 west WFSideText wind', + 'weapons weaponsItems weaponsItemsCargo weaponState weaponsTurret weightRTD WFSideText wind ', literal: - 'true false nil' + '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, @@ -24040,19 +31057,19 @@ STRINGS, CPP.preprocessor ], - illegal: /#/ + illegal: /#|^\$ / }; }; /***/ }), -/* 487 */ +/* 502 */ /***/ (function(module, exports) { module.exports = function(hljs) { var COMMENT_MODE = hljs.COMMENT('--', '$'); return { case_insensitive: true, - illegal: /[<>{}*#]/, + illegal: /[<>{}*]/, contains: [ { beginKeywords: @@ -24060,20 +31077,20 @@ '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', + 'install uninstall checksum restore check backup revoke comment values with', end: /;/, endsWithParent: true, lexemes: /[\w\.]+/, keywords: { keyword: - 'abort abs absolute acc acce accep accept access accessed accessible account acos action activate add ' + + '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 ' + + 'all allocate allow alter always analyze ancillary and anti 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 ' + + 'bucket 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 ' + @@ -24097,21 +31114,21 @@ '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 ' + + 'execu execut execute exempt exists exit exp expire explain explode 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 ' + + '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 ' + + 'hierarchy high high_priority hosts hour hours 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 ' + + 'keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral 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 ' + @@ -24119,13 +31136,13 @@ '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 ' + + 'minimum mining minus minute minutes 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 ' + + '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 ' + @@ -24147,8 +31164,8 @@ '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 ' + + 'sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select ' + + 'self semi 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 ' + @@ -24160,26 +31177,26 @@ '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 ' + + 'sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample 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 ' + + '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 ' + + 'wellformed when whene whenev wheneve whenever where while whitespace window 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', + '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 tinyint varchar varying void' }, contains: [ { @@ -24199,17 +31216,19 @@ }, 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 ] }; }; /***/ }), -/* 488 */ +/* 503 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -24296,7 +31315,7 @@ }; /***/ }), -/* 489 */ +/* 504 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -24338,7 +31357,7 @@ }; /***/ }), -/* 490 */ +/* 505 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -24389,7 +31408,7 @@ }; /***/ }), -/* 491 */ +/* 506 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -24847,7 +31866,7 @@ }; /***/ }), -/* 492 */ +/* 507 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -24885,13 +31904,15 @@ }; /***/ }), -/* 493 */ +/* 508 */ /***/ (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 ' + + keyword: '#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 ' + @@ -24921,6 +31942,11 @@ begin: '\\b[A-Z][\\w\u00C0-\u02B8\']*', relevance: 0 }; + // slightly more special to swift + var OPTIONAL_USING_TYPE = { + className: 'type', + begin: '\\b[A-Z][\\w\u00C0-\u02B8\']*[!?]' + } var BLOCK_COMMENT = hljs.COMMENT( '/\\*', '\\*/', @@ -24934,22 +31960,28 @@ keywords: SWIFT_KEYWORDS, contains: [] // assigned later }; + var STRING = { + className: 'string', + contains: [hljs.BACKSLASH_ESCAPE, SUBST], + variants: [ + {begin: /"""/, end: /"""/}, + {begin: /"/, end: /"/}, + ] + }; var NUMBERS = { className: 'number', begin: '\\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, + OPTIONAL_USING_TYPE, TYPE, NUMBERS, { @@ -24969,7 +32001,7 @@ contains: [ 'self', NUMBERS, - QUOTE_STRING_MODE, + STRING, hljs.C_BLOCK_COMMENT_MODE, {begin: ':'} // relevance booster ], @@ -24990,8 +32022,8 @@ }, { className: 'meta', // @attributes - begin: '(@warn_unused_result|@exported|@lazy|@noescape|' + - '@NSCopying|@NSManaged|@objc|@convention|@required|' + + begin: '(@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)' @@ -25006,7 +32038,7 @@ }; /***/ }), -/* 494 */ +/* 509 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -25054,7 +32086,7 @@ }; /***/ }), -/* 495 */ +/* 510 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -25117,6 +32149,10 @@ excludeEnd: true, relevance: 0 }, + { // local tags + className: 'type', + begin: '!' + hljs.UNDERSCORE_IDENT_RE, + }, { // data type className: 'type', begin: '!!' + hljs.UNDERSCORE_IDENT_RE, @@ -25146,7 +32182,7 @@ }; /***/ }), -/* 496 */ +/* 511 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -25186,7 +32222,7 @@ }; /***/ }), -/* 497 */ +/* 512 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -25238,7 +32274,6 @@ className: 'string', contains: [hljs.BACKSLASH_ESCAPE], variants: [ - hljs.inherit(hljs.APOS_STRING_MODE, {illegal: null}), hljs.inherit(hljs.QUOTE_STRING_MODE, {illegal: null}) ] }, @@ -25251,7 +32286,7 @@ }; /***/ }), -/* 498 */ +/* 513 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -25263,8 +32298,8 @@ { className: 'name', variants: [ - {begin: /[a-zA-Zа-яА-я]+[*]?/}, - {begin: /[^a-zA-Zа-яА-я0-9]/} + {begin: /[a-zA-Z\u0430-\u044f\u0410-\u042f]+[*]?/}, + {begin: /[^a-zA-Z\u0430-\u044f\u0410-\u042f0-9]/} ], starts: { endsWithParent: true, @@ -25317,7 +32352,7 @@ }; /***/ }), -/* 499 */ +/* 514 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -25356,7 +32391,7 @@ }; /***/ }), -/* 500 */ +/* 515 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -25371,8 +32406,8 @@ }; var TPDATA = { 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: '\\]', + 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, @@ -25444,7 +32479,7 @@ }; /***/ }), -/* 501 */ +/* 516 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -25514,10 +32549,11 @@ }; /***/ }), -/* 502 */ +/* 517 */ /***/ (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 ' + @@ -25537,6 +32573,38 @@ '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'], keywords: KEYWORDS, @@ -25613,19 +32681,8 @@ 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: /["'\(]/ - } + hljs.inherit(hljs.TITLE_MODE, { begin: JS_IDENT_RE }), + PARAMS ], illegal: /%/, relevance: 0 // () => {} is more typical in TypeScript @@ -25634,23 +32691,12 @@ 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: /["'\(]/ - } + PARAMS ] }, { // prevent references like module.id from being higlighted as module definitions begin: /module\./, - keywords: {built_in: 'module'}, + keywords: { built_in: 'module' }, relevance: 0 }, { @@ -25666,15 +32712,14 @@ { begin: '\\.' + hljs.IDENT_RE, relevance: 0 // hack: prevents detection of keywords after dots }, - { - className: 'meta', begin: '@[A-Za-z]+' - } + DECORATOR, + ARGS ] }; }; /***/ }), -/* 503 */ +/* 518 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -25728,7 +32773,7 @@ }; /***/ }), -/* 504 */ +/* 519 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -25755,7 +32800,7 @@ literal: 'true false nothing' }, - illegal: '//|{|}|endif|gosub|variant|wend', /* reserved deprecated keywords */ + illegal: '//|{|}|endif|gosub|variant|wend|^\\$ ', /* reserved deprecated keywords */ contains: [ hljs.inherit(hljs.QUOTE_STRING_MODE, {contains: [{begin: '""'}]}), hljs.COMMENT( @@ -25788,7 +32833,7 @@ }; /***/ }), -/* 505 */ +/* 520 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -25831,7 +32876,7 @@ }; /***/ }), -/* 506 */ +/* 521 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -25847,7 +32892,7 @@ }; /***/ }), -/* 507 */ +/* 522 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -25950,7 +32995,7 @@ }; /***/ }), -/* 508 */ +/* 523 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -25974,17 +33019,17 @@ '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 ' + + '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 vmode vprop vunit wait when while with xnor xor', + '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' + + 'std_ulogic std_ulogic_vector unresolved_unsigned u_unsigned unresolved_signed u_signed ' + 'real_vector time_vector', literal: 'false true note warning error failure ' + // severity_level @@ -26015,7 +33060,7 @@ }; /***/ }), -/* 509 */ +/* 524 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -26082,7 +33127,11 @@ 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 @@ -26125,7 +33174,7 @@ }; /***/ }), -/* 510 */ +/* 525 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -26265,7 +33314,7 @@ }; /***/ }), -/* 511 */ +/* 526 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -26342,20 +33391,76 @@ }; /***/ }), -/* 512 */ +/* 527 */ /***/ (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'; - 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'; + // see https://www.w3.org/TR/xquery/#id-terminal-delimitation + var KEYWORDS = 'module schema namespace boundary-space preserve no-preserve strip default collation base-uri ordering context decimal-format decimal-separator copy-namespaces empty-sequence except exponent-separator external grouping-separator inherit no-inherit lax minus-sign per-mille percent schema-attribute schema-element strict unordered zero-digit ' + + 'declare import option function validate variable ' + + 'for at in let where order group by return if then else ' + + 'tumbling sliding window start when only end previous next stable ' + + 'ascending descending allowing 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'; + + // Node Types (sorted by inheritance) + // atomic types (sorted by inheritance) + var TYPE = 'item document-node node attribute document element comment namespace namespace-node processing-instruction text construction ' + + 'xs:anyAtomicType xs:untypedAtomic xs:duration xs:time xs:decimal xs:float xs:double xs:gYearMonth xs:gYear xs:gMonthDay xs:gMonth xs:gDay xs:boolean xs:base64Binary xs:hexBinary xs:anyURI xs:QName xs:NOTATION xs:dateTime xs:dateTimeStamp xs:date xs:string xs:normalizedString xs:token xs:language xs:NMTOKEN xs:Name xs:NCName xs:ID xs:IDREF xs:ENTITY xs:integer xs:nonPositiveInteger xs:negativeInteger xs:long xs:int xs:short xs:byte xs:nonNegativeInteger xs:unisignedLong xs:unsignedInt xs:unsignedShort xs:unsignedByte xs:positiveInteger xs:yearMonthDuration xs:dayTimeDuration'; + + var LITERAL = 'eq ne lt le gt ge is ' + + 'self:: child:: descendant:: descendant-or-self:: attribute:: following:: following-sibling:: parent:: ancestor:: ancestor-or-self:: preceding:: preceding-sibling:: ' + + 'NaN'; + + // functions (TODO: find regex for op: without breaking build) + var BUILT_IN = { + className: 'built_in', + variants: [{ + begin: /\barray\:/, + end: /(?:append|filter|flatten|fold\-(?:left|right)|for-each(?:\-pair)?|get|head|insert\-before|join|put|remove|reverse|size|sort|subarray|tail)\b/ + }, { + begin: /\bmap\:/, + end: /(?:contains|entry|find|for\-each|get|keys|merge|put|remove|size)\b/ + }, { + begin: /\bmath\:/, + end: /(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/ + }, { + begin: /\bop\:/, + end: /\(/, + excludeEnd: true + }, { + begin: /\bfn\:/, + end: /\(/, + excludeEnd: true + }, + // do not highlight inbuilt strings as variable or xml element names + { + begin: /[^<\/\$\:'"-]\b(?:abs|accumulator\-(?:after|before)|adjust\-(?:date(?:Time)?|time)\-to\-timezone|analyze\-string|apply|available\-(?:environment\-variables|system\-properties)|avg|base\-uri|boolean|ceiling|codepoints?\-(?:equal|to\-string)|collation\-key|collection|compare|concat|contains(?:\-token)?|copy\-of|count|current(?:\-)?(?:date(?:Time)?|time|group(?:ing\-key)?|output\-uri|merge\-(?:group|key))?data|dateTime|days?\-from\-(?:date(?:Time)?|duration)|deep\-equal|default\-(?:collation|language)|distinct\-values|document(?:\-uri)?|doc(?:\-available)?|element\-(?:available|with\-id)|empty|encode\-for\-uri|ends\-with|environment\-variable|error|escape\-html\-uri|exactly\-one|exists|false|filter|floor|fold\-(?:left|right)|for\-each(?:\-pair)?|format\-(?:date(?:Time)?|time|integer|number)|function\-(?:arity|available|lookup|name)|generate\-id|has\-children|head|hours\-from\-(?:dateTime|duration|time)|id(?:ref)?|implicit\-timezone|in\-scope\-prefixes|index\-of|innermost|insert\-before|iri\-to\-uri|json\-(?:doc|to\-xml)|key|lang|last|load\-xquery\-module|local\-name(?:\-from\-QName)?|(?:lower|upper)\-case|matches|max|minutes\-from\-(?:dateTime|duration|time)|min|months?\-from\-(?:date(?:Time)?|duration)|name(?:space\-uri\-?(?:for\-prefix|from\-QName)?)?|nilled|node\-name|normalize\-(?:space|unicode)|not|number|one\-or\-more|outermost|parse\-(?:ietf\-date|json)|path|position|(?:prefix\-from\-)?QName|random\-number\-generator|regex\-group|remove|replace|resolve\-(?:QName|uri)|reverse|root|round(?:\-half\-to\-even)?|seconds\-from\-(?:dateTime|duration|time)|snapshot|sort|starts\-with|static\-base\-uri|stream\-available|string\-?(?:join|length|to\-codepoints)?|subsequence|substring\-?(?:after|before)?|sum|system\-property|tail|timezone\-from\-(?:date(?:Time)?|time)|tokenize|trace|trans(?:form|late)|true|type\-available|unordered|unparsed\-(?:entity|text)?\-?(?:public\-id|uri|available|lines)?|uri\-collection|xml\-to\-json|years?\-from\-(?:date(?:Time)?|duration)|zero\-or\-one)\b/, + }, { + begin: /\blocal\:/, + end: /\(/, + excludeEnd: true + }, { + begin: /\bzip\:/, + end: /(?:zip\-file|(?:xml|html|text|binary)\-entry| (?:update\-)?entries)\b/ + }, { + begin: /\b(?:util|db|functx|app|xdmp|xmldb)\:/, + end: /\(/, + excludeEnd: true + } + ] + }; + + var TITLE = { + className: 'title', + begin: /\bxquery version "[13]\.[01]"\s?(?:encoding ".+")?/, + end: /;/ + }; + var VAR = { - begin: /\$[a-zA-Z0-9\-]+/ + className: 'variable', + begin: /[\$][\w-:]+/ }; var NUMBER = { @@ -26366,41 +33471,83 @@ var STRING = { className: 'string', - variants: [ - {begin: /"/, end: /"/, contains: [{begin: /""/, relevance: 0}]}, - {begin: /'/, end: /'/, contains: [{begin: /''/, relevance: 0}]} + variants: [{ + begin: /"/, + end: /"/, + contains: [{ + begin: /""/, + relevance: 0 + }] + }, + { + begin: /'/, + end: /'/, + contains: [{ + begin: /''/, + relevance: 0 + }] + } ] }; var ANNOTATION = { className: 'meta', - begin: '%\\w+' + begin: /%[\w-:]+/ }; var COMMENT = { className: 'comment', - begin: '\\(:', end: ':\\)', + begin: '\\(:', + end: ':\\)', relevance: 10, - contains: [ - { - className: 'doctag', begin: '@\\w+' - } - ] + contains: [{ + className: 'doctag', + begin: '@\\w+' + }] }; - var METHOD = { - begin: '{', end: '}' + // see https://www.w3.org/TR/xquery/#id-computedConstructors + // mocha: computed_inbuilt + // see https://www.regexpal.com/?fam=99749 + var COMPUTED = { + beginKeywords: 'element attribute comment document processing-instruction', + end: '{', + excludeEnd: true }; + // mocha: direct_method + var DIRECT = { + begin: /<([\w\._:\-]+)((\s*.*)=('|").*('|"))?>/, + end: /(\/[\w\._:\-]+>)/, + subLanguage: 'xml', + contains: [{ + begin: '{', + end: '}', + subLanguage: 'xquery' + }, 'self'] + }; + + var CONTAINS = [ VAR, + BUILT_IN, STRING, NUMBER, COMMENT, ANNOTATION, - METHOD + TITLE, + COMPUTED, + DIRECT ]; - METHOD.contains = CONTAINS; + + + + var METHOD = { + begin: '{', + end: '}', + contains: CONTAINS + }; + return { @@ -26410,6 +33557,7 @@ illegal: /(proc)|(abstract)|(extends)|(until)|(#)/, keywords: { keyword: KEYWORDS, + type: TYPE, literal: LITERAL }, contains: CONTAINS @@ -26417,7 +33565,7 @@ }; /***/ }), -/* 513 */ +/* 528 */ /***/ (function(module, exports) { module.exports = function(hljs) { @@ -26528,22 +33676,22 @@ }; /***/ }), -/* 514 */ +/* 529 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -26605,7 +33753,7 @@ exports.default = Default; /***/ }), -/* 515 */ +/* 530 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -26615,7 +33763,7 @@ 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 _calendar_container = __webpack_require__(516); + var _calendar_container = __webpack_require__(531); Object.defineProperty(exports, "CalendarContainer", { enumerable: true, @@ -26624,29 +33772,29 @@ } }); - var _calendar = __webpack_require__(522); + var _calendar = __webpack_require__(535); var _calendar2 = _interopRequireDefault(_calendar); - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _popper_component = __webpack_require__(668); + var _popper_component = __webpack_require__(685); var _popper_component2 = _interopRequireDefault(_popper_component); - var _classnames2 = __webpack_require__(525); + var _classnames2 = __webpack_require__(538); var _classnames3 = _interopRequireDefault(_classnames2); - var _date_utils = __webpack_require__(532); + var _date_utils = __webpack_require__(545); - var _reactOnclickoutside = __webpack_require__(531); + var _reactOnclickoutside = __webpack_require__(544); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); @@ -27374,7 +34522,7 @@ var PRESELECT_CHANGE_VIA_NAVIGATE = "navigate"; /***/ }), -/* 516 */ +/* 531 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -27385,11 +34533,11 @@ exports.default = CalendarContainer; - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); @@ -27416,52 +34564,41 @@ }; /***/ }), -/* 517 */ -[886, 518], -/* 518 */ -[887, 519, 520, 521], -/* 519 */ -/***/ (function(module, exports) { - - "use strict"; +/* 532 */ +/***/ (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. - * - * */ - function makeEmptyFunction(arg) { - return function () { - return arg; - }; - } + if (false) { + var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' && + Symbol.for && + Symbol.for('react.element')) || + 0xeac7; - /** - * This function accepts and discards inputs; it has no side effects. This is - * primarily useful idiomatically for overridable function endpoints which - * always need to be callable, since JS lacks a null-call idiom ala Cocoa. - */ - var emptyFunction = function emptyFunction() {}; + var isValidElement = function(object) { + return typeof object === 'object' && + object !== null && + object.$$typeof === REACT_ELEMENT_TYPE; + }; - 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; - }; + // 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__(533)(); + } - module.exports = emptyFunction; /***/ }), -/* 520 */ +/* 533 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -27469,57 +34606,64 @@ * * 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 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 ReactPropTypesSecret = __webpack_require__(534); - var validateFormat = function validateFormat(format) {}; + function emptyFunction() {} - if (false) { - validateFormat = function validateFormat(format) { - if (format === undefined) { - throw new Error('invariant requires an error message argument'); + 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, - function invariant(condition, format, a, b, c, d, e, f) { - validateFormat(format); + any: shim, + arrayOf: getShim, + element: shim, + instanceOf: getShim, + node: shim, + objectOf: getShim, + oneOf: getShim, + oneOfType: getShim, + shape: getShim, + exact: getShim + }; - 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.'); - } 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'; - } + ReactPropTypes.checkPropTypes = emptyFunction; + ReactPropTypes.PropTypes = ReactPropTypes; - error.framesToPop = 1; // we don't care about invariant's own frame - throw error; - } - } + return ReactPropTypes; + }; - module.exports = invariant; /***/ }), -/* 521 */ +/* 534 */ /***/ (function(module, exports) { /** @@ -27537,7 +34681,7 @@ /***/ }), -/* 522 */ +/* 535 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -27548,47 +34692,47 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - var _year_dropdown = __webpack_require__(523); + var _year_dropdown = __webpack_require__(536); var _year_dropdown2 = _interopRequireDefault(_year_dropdown); - var _month_dropdown = __webpack_require__(659); + var _month_dropdown = __webpack_require__(676); var _month_dropdown2 = _interopRequireDefault(_month_dropdown); - var _month_year_dropdown = __webpack_require__(661); + var _month_year_dropdown = __webpack_require__(678); var _month_year_dropdown2 = _interopRequireDefault(_month_year_dropdown); - var _month = __webpack_require__(663); + var _month = __webpack_require__(680); var _month2 = _interopRequireDefault(_month); - var _time = __webpack_require__(667); + var _time = __webpack_require__(684); var _time2 = _interopRequireDefault(_time); - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(525); + var _classnames = __webpack_require__(538); var _classnames2 = _interopRequireDefault(_classnames); - var _focusTrapReact = __webpack_require__(526); + var _focusTrapReact = __webpack_require__(539); var _focusTrapReact2 = _interopRequireDefault(_focusTrapReact); - var _calendar_container = __webpack_require__(516); + var _calendar_container = __webpack_require__(531); var _calendar_container2 = _interopRequireDefault(_calendar_container); - var _date_utils = __webpack_require__(532); + var _date_utils = __webpack_require__(545); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -28251,30 +35395,30 @@ exports.default = Calendar; /***/ }), -/* 523 */ +/* 536 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _year_dropdown_options = __webpack_require__(524); + var _year_dropdown_options = __webpack_require__(537); var _year_dropdown_options2 = _interopRequireDefault(_year_dropdown_options); - var _reactOnclickoutside = __webpack_require__(531); + var _reactOnclickoutside = __webpack_require__(544); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - var _date_utils = __webpack_require__(532); + var _date_utils = __webpack_require__(545); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -28465,30 +35609,30 @@ exports.default = YearDropdown; /***/ }), -/* 524 */ +/* 537 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(525); + var _classnames = __webpack_require__(538); var _classnames2 = _interopRequireDefault(_classnames); - var _focusTrapReact = __webpack_require__(526); + var _focusTrapReact = __webpack_require__(539); var _focusTrapReact2 = _interopRequireDefault(_focusTrapReact); - var _screen_reader_only = __webpack_require__(530); + var _screen_reader_only = __webpack_require__(543); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -28758,7 +35902,7 @@ exports.default = YearDropdownOptions; /***/ }), -/* 525 */ +/* 538 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @@ -28816,7 +35960,7 @@ /***/ }), -/* 526 */ +/* 539 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; @@ -28829,8 +35973,8 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - var React = __webpack_require__(327); - var createFocusTrap = __webpack_require__(527); + var React = __webpack_require__(333); + var createFocusTrap = __webpack_require__(540); var checkedProps = ['active', 'paused', 'tag', 'focusTrapOptions', '_createFocusTrap']; @@ -28937,11 +36081,11 @@ module.exports = FocusTrap; /***/ }), -/* 527 */ +/* 540 */ /***/ (function(module, exports, __webpack_require__) { - var tabbable = __webpack_require__(528); - var xtend = __webpack_require__(529); + var tabbable = __webpack_require__(541); + var xtend = __webpack_require__(542); var listeningFocusTrap = null; @@ -29222,7 +36366,7 @@ /***/ }), -/* 528 */ +/* 541 */ /***/ (function(module, exports) { var candidateSelectors = [ @@ -29394,7 +36538,7 @@ // getComputedStyle accurately reflects `visibility: hidden` of ancestors // but not `display: none`, so we need to recursively check parents. UntouchabilityChecker.prototype.hasDisplayNone = function hasDisplayNone(node, nodeComputedStyle) { - if (node === this.doc.documentElement) return false; + if (node.nodeType !== Node.ELEMENT_NODE) return false; // Search for a cached result. var cached = find(this.cache, function(item) { @@ -29428,7 +36572,7 @@ /***/ }), -/* 529 */ +/* 542 */ /***/ (function(module, exports) { module.exports = extend @@ -29453,7 +36597,7 @@ /***/ }), -/* 530 */ +/* 543 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -29463,13 +36607,13 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(525); + var _classnames = __webpack_require__(538); var _classnames2 = _interopRequireDefault(_classnames); @@ -29492,15 +36636,15 @@ }; /***/ }), -/* 531 */ +/* 544 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); - var react = __webpack_require__(327); - var reactDom = __webpack_require__(330); + var react = __webpack_require__(333); + var reactDom = __webpack_require__(336); function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); @@ -29849,7 +36993,7 @@ /***/ }), -/* 532 */ +/* 545 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -29929,7 +37073,7 @@ exports.getHightLightDaysMap = getHightLightDaysMap; exports.timesToInjectAfter = timesToInjectAfter; - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -30430,7 +37574,7 @@ } /***/ }), -/* 533 */ +/* 546 */ /***/ (function(module, exports, __webpack_require__) { var require;/* WEBPACK VAR INJECTION */(function(module) {//! moment.js @@ -31577,22 +38721,36 @@ 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); - + var date; // the date constructor remaps years 0-99 to 1900-1999 - if (y < 100 && y >= 0 && isFinite(date.getFullYear())) { - date.setFullYear(y); + if (y < 100 && y >= 0) { + // preserve leap years using a full 400 year cycle, then reset + date = new Date(y + 400, m, d, h, M, s, ms); + if (isFinite(date.getFullYear())) { + date.setFullYear(y); + } + } else { + date = new Date(y, m, d, h, M, s, ms); } + return date; } function createUTCDate (y) { - var date = new Date(Date.UTC.apply(null, arguments)); - + var date; // the Date.UTC function remaps years 0-99 to 1900-1999 - if (y < 100 && y >= 0 && isFinite(date.getUTCFullYear())) { - date.setUTCFullYear(y); + if (y < 100 && y >= 0) { + var args = Array.prototype.slice.call(arguments); + // preserve leap years using a full 400 year cycle, then reset + args[0] = y + 400; + date = new Date(Date.UTC.apply(null, args)); + if (isFinite(date.getUTCFullYear())) { + date.setUTCFullYear(y); + } + } else { + date = new Date(Date.UTC.apply(null, arguments)); } + return date; } @@ -31694,7 +38852,7 @@ 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. + doy : 6 // The week that contains Jan 6th is the first week of the year. }; function localeFirstDayOfWeek () { @@ -31803,25 +38961,28 @@ } // LOCALES + function shiftWeekdays (ws, n) { + return ws.slice(n, 7).concat(ws.slice(0, n)); + } var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'); function localeWeekdays (m, format) { - if (!m) { - return isArray(this._weekdays) ? this._weekdays : - this._weekdays['standalone']; - } - return isArray(this._weekdays) ? this._weekdays[m.day()] : - this._weekdays[this._weekdays.isFormat.test(format) ? 'format' : 'standalone'][m.day()]; + var weekdays = isArray(this._weekdays) ? this._weekdays : + this._weekdays[(m && m !== true && this._weekdays.isFormat.test(format)) ? 'format' : 'standalone']; + return (m === true) ? shiftWeekdays(weekdays, this._week.dow) + : (m) ? weekdays[m.day()] : weekdays; } var defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'); function localeWeekdaysShort (m) { - return (m) ? this._weekdaysShort[m.day()] : this._weekdaysShort; + return (m === true) ? shiftWeekdays(this._weekdaysShort, this._week.dow) + : (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; + return (m === true) ? shiftWeekdays(this._weekdaysMin, this._week.dow) + : (m) ? this._weekdaysMin[m.day()] : this._weekdaysMin; } function handleStrictParse$1(weekdayName, format, strict) { @@ -32268,7 +39429,7 @@ try { oldLocale = globalLocale._abbr; var aliasedRequire = require; - __webpack_require__(535)("./" + name); + __webpack_require__(548)("./" + name); getSetGlobalLocale(oldLocale); } catch (e) {} } @@ -32570,13 +39731,13 @@ weekdayOverflow = true; } } else if (w.e != null) { - // local weekday -- counting starts from begining of week + // local weekday -- counting starts from beginning of week weekday = w.e + dow; if (w.e < 0 || w.e > 6) { weekdayOverflow = true; } } else { - // default to begining of week + // default to beginning of week weekday = dow; } } @@ -33170,7 +40331,7 @@ years = normalizedInput.year || 0, quarters = normalizedInput.quarter || 0, months = normalizedInput.month || 0, - weeks = normalizedInput.week || 0, + weeks = normalizedInput.week || normalizedInput.isoWeek || 0, days = normalizedInput.day || 0, hours = normalizedInput.hour || 0, minutes = normalizedInput.minute || 0, @@ -33474,7 +40635,7 @@ 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; + sign = (match[1] === '-') ? -1 : 1; duration = { y : parseIso(match[2], sign), M : parseIso(match[3], sign), @@ -33516,7 +40677,7 @@ } function positiveMomentsDifference(base, other) { - var res = {milliseconds: 0, months: 0}; + var res = {}; res.months = other.month() - base.month() + (other.year() - base.year()) * 12; @@ -33625,7 +40786,7 @@ if (!(this.isValid() && localInput.isValid())) { return false; } - units = normalizeUnits(!isUndefined(units) ? units : 'millisecond'); + units = normalizeUnits(units) || 'millisecond'; if (units === 'millisecond') { return this.valueOf() > localInput.valueOf(); } else { @@ -33638,7 +40799,7 @@ if (!(this.isValid() && localInput.isValid())) { return false; } - units = normalizeUnits(!isUndefined(units) ? units : 'millisecond'); + units = normalizeUnits(units) || 'millisecond'; if (units === 'millisecond') { return this.valueOf() < localInput.valueOf(); } else { @@ -33647,9 +40808,14 @@ } function isBetween (from, to, units, inclusivity) { + var localFrom = isMoment(from) ? from : createLocal(from), + localTo = isMoment(to) ? to : createLocal(to); + if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) { + return false; + } inclusivity = inclusivity || '()'; - return (inclusivity[0] === '(' ? this.isAfter(from, units) : !this.isBefore(from, units)) && - (inclusivity[1] === ')' ? this.isBefore(to, units) : !this.isAfter(to, units)); + return (inclusivity[0] === '(' ? this.isAfter(localFrom, units) : !this.isBefore(localFrom, units)) && + (inclusivity[1] === ')' ? this.isBefore(localTo, units) : !this.isAfter(localTo, units)); } function isSame (input, units) { @@ -33658,7 +40824,7 @@ if (!(this.isValid() && localInput.isValid())) { return false; } - units = normalizeUnits(units || 'millisecond'); + units = normalizeUnits(units) || 'millisecond'; if (units === 'millisecond') { return this.valueOf() === localInput.valueOf(); } else { @@ -33668,11 +40834,11 @@ } function isSameOrAfter (input, units) { - return this.isSame(input, units) || this.isAfter(input,units); + return this.isSame(input, units) || this.isAfter(input, units); } function isSameOrBefore (input, units) { - return this.isSame(input, units) || this.isBefore(input,units); + return this.isSame(input, units) || this.isBefore(input, units); } function diff (input, units, asFloat) { @@ -33849,62 +41015,130 @@ return this._locale; } + var MS_PER_SECOND = 1000; + var MS_PER_MINUTE = 60 * MS_PER_SECOND; + var MS_PER_HOUR = 60 * MS_PER_MINUTE; + var MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR; + + // actual modulo - handles negative numbers (for dates before 1970): + function mod$1(dividend, divisor) { + return (dividend % divisor + divisor) % divisor; + } + + function localStartOfDate(y, m, d) { + // the date constructor remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + // preserve leap years using a full 400 year cycle, then reset + return new Date(y + 400, m, d) - MS_PER_400_YEARS; + } else { + return new Date(y, m, d).valueOf(); + } + } + + function utcStartOfDate(y, m, d) { + // Date.UTC remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0) { + // preserve leap years using a full 400 year cycle, then reset + return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS; + } else { + return Date.UTC(y, m, d); + } + } + function startOf (units) { + var time; units = normalizeUnits(units); - // the following switch intentionally omits break keywords - // to utilize falling through the cases. + if (units === undefined || units === 'millisecond' || !this.isValid()) { + return this; + } + + var startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate; + switch (units) { case 'year': - this.month(0); - /* falls through */ + time = startOfDate(this.year(), 0, 1); + break; case 'quarter': + time = startOfDate(this.year(), this.month() - this.month() % 3, 1); + break; case 'month': - this.date(1); - /* falls through */ + time = startOfDate(this.year(), this.month(), 1); + break; case 'week': + time = startOfDate(this.year(), this.month(), this.date() - this.weekday()); + break; case 'isoWeek': + time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1)); + break; case 'day': case 'date': - this.hours(0); - /* falls through */ + time = startOfDate(this.year(), this.month(), this.date()); + break; case 'hour': - this.minutes(0); - /* falls through */ + time = this._d.valueOf(); + time -= mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR); + break; case 'minute': - this.seconds(0); - /* falls through */ + time = this._d.valueOf(); + time -= mod$1(time, MS_PER_MINUTE); + break; 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); + time = this._d.valueOf(); + time -= mod$1(time, MS_PER_SECOND); + break; } + this._d.setTime(time); + hooks.updateOffset(this, true); return this; } function endOf (units) { + var time; units = normalizeUnits(units); - if (units === undefined || units === 'millisecond') { + if (units === undefined || units === 'millisecond' || !this.isValid()) { return this; } - // 'date' is an alias for 'day', so it should be considered as such. - if (units === 'date') { - units = 'day'; + var startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate; + + switch (units) { + case 'year': + time = startOfDate(this.year() + 1, 0, 1) - 1; + break; + case 'quarter': + time = startOfDate(this.year(), this.month() - this.month() % 3 + 3, 1) - 1; + break; + case 'month': + time = startOfDate(this.year(), this.month() + 1, 1) - 1; + break; + case 'week': + time = startOfDate(this.year(), this.month(), this.date() - this.weekday() + 7) - 1; + break; + case 'isoWeek': + time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1) + 7) - 1; + break; + case 'day': + case 'date': + time = startOfDate(this.year(), this.month(), this.date() + 1) - 1; + break; + case 'hour': + time = this._d.valueOf(); + time += MS_PER_HOUR - mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR) - 1; + break; + case 'minute': + time = this._d.valueOf(); + time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1; + break; + case 'second': + time = this._d.valueOf(); + time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1; + break; } - return this.startOf(units).add(1, (units === 'isoWeek' ? 'week' : units)).subtract(1, 'ms'); + this._d.setTime(time); + hooks.updateOffset(this, true); + return this; } function valueOf () { @@ -34610,10 +41844,14 @@ units = normalizeUnits(units); - if (units === 'month' || units === 'year') { - days = this._days + milliseconds / 864e5; + if (units === 'month' || units === 'quarter' || units === 'year') { + days = this._days + milliseconds / 864e5; months = this._months + daysToMonths(days); - return units === 'month' ? months : months / 12; + switch (units) { + case 'month': return months; + case 'quarter': return months / 3; + case 'year': return months / 12; + } } else { // handle milliseconds separately because of floating point math errors (issue #1867) days = this._days + Math.round(monthsToDays(this._months)); @@ -34656,6 +41894,7 @@ var asDays = makeAs('d'); var asWeeks = makeAs('w'); var asMonths = makeAs('M'); + var asQuarters = makeAs('Q'); var asYears = makeAs('y'); function clone$1 () { @@ -34847,6 +42086,7 @@ proto$2.asDays = asDays; proto$2.asWeeks = asWeeks; proto$2.asMonths = asMonths; + proto$2.asQuarters = asQuarters; proto$2.asYears = asYears; proto$2.valueOf = valueOf$1; proto$2._bubble = bubble; @@ -34891,7 +42131,7 @@ // Side effect imports - hooks.version = '2.22.2'; + hooks.version = '2.24.0'; setHookCallback(createLocal); @@ -34932,7 +42172,7 @@ TIME: 'HH:mm', // TIME_SECONDS: 'HH:mm:ss', // TIME_MS: 'HH:mm:ss.SSS', // - WEEK: 'YYYY-[W]WW', // + WEEK: 'GGGG-[W]WW', // MONTH: 'YYYY-MM' // }; @@ -34940,10 +42180,10 @@ }))); - /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(534)(module))) + /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(547)(module))) /***/ }), -/* 534 */ +/* 547 */ /***/ (function(module, exports) { module.exports = function(module) { @@ -34959,256 +42199,264 @@ /***/ }), -/* 535 */ +/* 548 */ /***/ (function(module, exports, __webpack_require__) { var map = { - "./af": 536, - "./af.js": 536, - "./ar": 537, - "./ar-dz": 538, - "./ar-dz.js": 538, - "./ar-kw": 539, - "./ar-kw.js": 539, - "./ar-ly": 540, - "./ar-ly.js": 540, - "./ar-ma": 541, - "./ar-ma.js": 541, - "./ar-sa": 542, - "./ar-sa.js": 542, - "./ar-tn": 543, - "./ar-tn.js": 543, - "./ar.js": 537, - "./az": 544, - "./az.js": 544, - "./be": 545, - "./be.js": 545, - "./bg": 546, - "./bg.js": 546, - "./bm": 547, - "./bm.js": 547, - "./bn": 548, - "./bn.js": 548, - "./bo": 549, - "./bo.js": 549, - "./br": 550, - "./br.js": 550, - "./bs": 551, - "./bs.js": 551, - "./ca": 552, - "./ca.js": 552, - "./cs": 553, - "./cs.js": 553, - "./cv": 554, - "./cv.js": 554, - "./cy": 555, - "./cy.js": 555, - "./da": 556, - "./da.js": 556, - "./de": 557, - "./de-at": 558, - "./de-at.js": 558, - "./de-ch": 559, - "./de-ch.js": 559, - "./de.js": 557, - "./dv": 560, - "./dv.js": 560, - "./el": 561, - "./el.js": 561, - "./en-au": 562, - "./en-au.js": 562, - "./en-ca": 563, - "./en-ca.js": 563, - "./en-gb": 564, - "./en-gb.js": 564, - "./en-ie": 565, - "./en-ie.js": 565, - "./en-il": 566, - "./en-il.js": 566, - "./en-nz": 567, - "./en-nz.js": 567, - "./eo": 568, - "./eo.js": 568, - "./es": 569, - "./es-do": 570, - "./es-do.js": 570, - "./es-us": 571, - "./es-us.js": 571, - "./es.js": 569, - "./et": 572, - "./et.js": 572, - "./eu": 573, - "./eu.js": 573, - "./fa": 574, - "./fa.js": 574, - "./fi": 575, - "./fi.js": 575, - "./fo": 576, - "./fo.js": 576, - "./fr": 577, - "./fr-ca": 578, - "./fr-ca.js": 578, - "./fr-ch": 579, - "./fr-ch.js": 579, - "./fr.js": 577, - "./fy": 580, - "./fy.js": 580, - "./gd": 581, - "./gd.js": 581, - "./gl": 582, - "./gl.js": 582, - "./gom-latn": 583, - "./gom-latn.js": 583, - "./gu": 584, - "./gu.js": 584, - "./he": 585, - "./he.js": 585, - "./hi": 586, - "./hi.js": 586, - "./hr": 587, - "./hr.js": 587, - "./hu": 588, - "./hu.js": 588, - "./hy-am": 589, - "./hy-am.js": 589, - "./id": 590, - "./id.js": 590, - "./is": 591, - "./is.js": 591, - "./it": 592, - "./it.js": 592, - "./ja": 593, - "./ja.js": 593, - "./jv": 594, - "./jv.js": 594, - "./ka": 595, - "./ka.js": 595, - "./kk": 596, - "./kk.js": 596, - "./km": 597, - "./km.js": 597, - "./kn": 598, - "./kn.js": 598, - "./ko": 599, - "./ko.js": 599, - "./ky": 600, - "./ky.js": 600, - "./lb": 601, - "./lb.js": 601, - "./lo": 602, - "./lo.js": 602, - "./lt": 603, - "./lt.js": 603, - "./lv": 604, - "./lv.js": 604, - "./me": 605, - "./me.js": 605, - "./mi": 606, - "./mi.js": 606, - "./mk": 607, - "./mk.js": 607, - "./ml": 608, - "./ml.js": 608, - "./mn": 609, - "./mn.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, - "./tg": 640, - "./tg.js": 640, - "./th": 641, - "./th.js": 641, - "./tl-ph": 642, - "./tl-ph.js": 642, - "./tlh": 643, - "./tlh.js": 643, - "./tr": 644, - "./tr.js": 644, - "./tzl": 645, - "./tzl.js": 645, - "./tzm": 646, - "./tzm-latn": 647, - "./tzm-latn.js": 647, - "./tzm.js": 646, - "./ug-cn": 648, - "./ug-cn.js": 648, - "./uk": 649, - "./uk.js": 649, - "./ur": 650, - "./ur.js": 650, - "./uz": 651, - "./uz-latn": 652, - "./uz-latn.js": 652, - "./uz.js": 651, - "./vi": 653, - "./vi.js": 653, - "./x-pseudo": 654, - "./x-pseudo.js": 654, - "./yo": 655, - "./yo.js": 655, - "./zh-cn": 656, - "./zh-cn.js": 656, - "./zh-hk": 657, - "./zh-hk.js": 657, - "./zh-tw": 658, - "./zh-tw.js": 658 + "./af": 549, + "./af.js": 549, + "./ar": 550, + "./ar-dz": 551, + "./ar-dz.js": 551, + "./ar-kw": 552, + "./ar-kw.js": 552, + "./ar-ly": 553, + "./ar-ly.js": 553, + "./ar-ma": 554, + "./ar-ma.js": 554, + "./ar-sa": 555, + "./ar-sa.js": 555, + "./ar-tn": 556, + "./ar-tn.js": 556, + "./ar.js": 550, + "./az": 557, + "./az.js": 557, + "./be": 558, + "./be.js": 558, + "./bg": 559, + "./bg.js": 559, + "./bm": 560, + "./bm.js": 560, + "./bn": 561, + "./bn.js": 561, + "./bo": 562, + "./bo.js": 562, + "./br": 563, + "./br.js": 563, + "./bs": 564, + "./bs.js": 564, + "./ca": 565, + "./ca.js": 565, + "./cs": 566, + "./cs.js": 566, + "./cv": 567, + "./cv.js": 567, + "./cy": 568, + "./cy.js": 568, + "./da": 569, + "./da.js": 569, + "./de": 570, + "./de-at": 571, + "./de-at.js": 571, + "./de-ch": 572, + "./de-ch.js": 572, + "./de.js": 570, + "./dv": 573, + "./dv.js": 573, + "./el": 574, + "./el.js": 574, + "./en-SG": 575, + "./en-SG.js": 575, + "./en-au": 576, + "./en-au.js": 576, + "./en-ca": 577, + "./en-ca.js": 577, + "./en-gb": 578, + "./en-gb.js": 578, + "./en-ie": 579, + "./en-ie.js": 579, + "./en-il": 580, + "./en-il.js": 580, + "./en-nz": 581, + "./en-nz.js": 581, + "./eo": 582, + "./eo.js": 582, + "./es": 583, + "./es-do": 584, + "./es-do.js": 584, + "./es-us": 585, + "./es-us.js": 585, + "./es.js": 583, + "./et": 586, + "./et.js": 586, + "./eu": 587, + "./eu.js": 587, + "./fa": 588, + "./fa.js": 588, + "./fi": 589, + "./fi.js": 589, + "./fo": 590, + "./fo.js": 590, + "./fr": 591, + "./fr-ca": 592, + "./fr-ca.js": 592, + "./fr-ch": 593, + "./fr-ch.js": 593, + "./fr.js": 591, + "./fy": 594, + "./fy.js": 594, + "./ga": 595, + "./ga.js": 595, + "./gd": 596, + "./gd.js": 596, + "./gl": 597, + "./gl.js": 597, + "./gom-latn": 598, + "./gom-latn.js": 598, + "./gu": 599, + "./gu.js": 599, + "./he": 600, + "./he.js": 600, + "./hi": 601, + "./hi.js": 601, + "./hr": 602, + "./hr.js": 602, + "./hu": 603, + "./hu.js": 603, + "./hy-am": 604, + "./hy-am.js": 604, + "./id": 605, + "./id.js": 605, + "./is": 606, + "./is.js": 606, + "./it": 607, + "./it-ch": 608, + "./it-ch.js": 608, + "./it.js": 607, + "./ja": 609, + "./ja.js": 609, + "./jv": 610, + "./jv.js": 610, + "./ka": 611, + "./ka.js": 611, + "./kk": 612, + "./kk.js": 612, + "./km": 613, + "./km.js": 613, + "./kn": 614, + "./kn.js": 614, + "./ko": 615, + "./ko.js": 615, + "./ku": 616, + "./ku.js": 616, + "./ky": 617, + "./ky.js": 617, + "./lb": 618, + "./lb.js": 618, + "./lo": 619, + "./lo.js": 619, + "./lt": 620, + "./lt.js": 620, + "./lv": 621, + "./lv.js": 621, + "./me": 622, + "./me.js": 622, + "./mi": 623, + "./mi.js": 623, + "./mk": 624, + "./mk.js": 624, + "./ml": 625, + "./ml.js": 625, + "./mn": 626, + "./mn.js": 626, + "./mr": 627, + "./mr.js": 627, + "./ms": 628, + "./ms-my": 629, + "./ms-my.js": 629, + "./ms.js": 628, + "./mt": 630, + "./mt.js": 630, + "./my": 631, + "./my.js": 631, + "./nb": 632, + "./nb.js": 632, + "./ne": 633, + "./ne.js": 633, + "./nl": 634, + "./nl-be": 635, + "./nl-be.js": 635, + "./nl.js": 634, + "./nn": 636, + "./nn.js": 636, + "./pa-in": 637, + "./pa-in.js": 637, + "./pl": 638, + "./pl.js": 638, + "./pt": 639, + "./pt-br": 640, + "./pt-br.js": 640, + "./pt.js": 639, + "./ro": 641, + "./ro.js": 641, + "./ru": 642, + "./ru.js": 642, + "./sd": 643, + "./sd.js": 643, + "./se": 644, + "./se.js": 644, + "./si": 645, + "./si.js": 645, + "./sk": 646, + "./sk.js": 646, + "./sl": 647, + "./sl.js": 647, + "./sq": 648, + "./sq.js": 648, + "./sr": 649, + "./sr-cyrl": 650, + "./sr-cyrl.js": 650, + "./sr.js": 649, + "./ss": 651, + "./ss.js": 651, + "./sv": 652, + "./sv.js": 652, + "./sw": 653, + "./sw.js": 653, + "./ta": 654, + "./ta.js": 654, + "./te": 655, + "./te.js": 655, + "./tet": 656, + "./tet.js": 656, + "./tg": 657, + "./tg.js": 657, + "./th": 658, + "./th.js": 658, + "./tl-ph": 659, + "./tl-ph.js": 659, + "./tlh": 660, + "./tlh.js": 660, + "./tr": 661, + "./tr.js": 661, + "./tzl": 662, + "./tzl.js": 662, + "./tzm": 663, + "./tzm-latn": 664, + "./tzm-latn.js": 664, + "./tzm.js": 663, + "./ug-cn": 665, + "./ug-cn.js": 665, + "./uk": 666, + "./uk.js": 666, + "./ur": 667, + "./ur.js": 667, + "./uz": 668, + "./uz-latn": 669, + "./uz-latn.js": 669, + "./uz.js": 668, + "./vi": 670, + "./vi.js": 670, + "./x-pseudo": 671, + "./x-pseudo.js": 671, + "./yo": 672, + "./yo.js": 672, + "./zh-cn": 673, + "./zh-cn.js": 673, + "./zh-hk": 674, + "./zh-hk.js": 674, + "./zh-tw": 675, + "./zh-tw.js": 675 }; function webpackContext(req) { return __webpack_require__(webpackContextResolve(req)); @@ -35221,17 +42469,17 @@ }; webpackContext.resolve = webpackContextResolve; module.exports = webpackContext; - webpackContext.id = 535; + webpackContext.id = 548; /***/ }), -/* 536 */ +/* 549 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -35302,13 +42550,13 @@ /***/ }), -/* 537 */ +/* 550 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -35431,7 +42679,7 @@ }, 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. + doy : 12 // The week that contains Jan 12th is the first week of the year. } }); @@ -35441,13 +42689,13 @@ /***/ }), -/* 538 */ +/* 551 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -35494,7 +42742,7 @@ }, 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. + doy : 4 // The week that contains Jan 4th is the first week of the year. } }); @@ -35504,13 +42752,13 @@ /***/ }), -/* 539 */ +/* 552 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -35557,7 +42805,7 @@ }, 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. + doy : 12 // The week that contains Jan 12th is the first week of the year. } }); @@ -35567,13 +42815,13 @@ /***/ }), -/* 540 */ +/* 553 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -35683,7 +42931,7 @@ }, 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. + doy : 12 // The week that contains Jan 12th is the first week of the year. } }); @@ -35693,13 +42941,13 @@ /***/ }), -/* 541 */ +/* 554 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -35746,7 +42994,7 @@ }, 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. + doy : 12 // The week that contains Jan 12th is the first week of the year. } }); @@ -35756,13 +43004,13 @@ /***/ }), -/* 542 */ +/* 555 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -35854,7 +43102,7 @@ }, 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. + doy : 6 // The week that contains Jan 6th is the first week of the year. } }); @@ -35864,13 +43112,13 @@ /***/ }), -/* 543 */ +/* 556 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -35927,13 +43175,13 @@ /***/ }), -/* 544 */ +/* 557 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -36026,7 +43274,7 @@ }, 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -36036,13 +43284,13 @@ /***/ }), -/* 545 */ +/* 558 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -36162,7 +43410,7 @@ }, 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -36172,13 +43420,13 @@ /***/ }), -/* 546 */ +/* 559 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -36256,7 +43504,7 @@ }, 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -36266,13 +43514,13 @@ /***/ }), -/* 547 */ +/* 560 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -36328,13 +43576,13 @@ /***/ }), -/* 548 */ +/* 561 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -36441,7 +43689,7 @@ }, 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. + doy : 6 // The week that contains Jan 6th is the first week of the year. } }); @@ -36451,13 +43699,13 @@ /***/ }), -/* 549 */ +/* 562 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -36564,7 +43812,7 @@ }, 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. + doy : 6 // The week that contains Jan 6th is the first week of the year. } }); @@ -36574,13 +43822,13 @@ /***/ }), -/* 550 */ +/* 563 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -36686,13 +43934,13 @@ /***/ }), -/* 551 */ +/* 564 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -36831,7 +44079,7 @@ 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -36841,13 +44089,13 @@ /***/ }), -/* 552 */ +/* 565 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -36933,13 +44181,13 @@ /***/ }), -/* 553 */ +/* 566 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -36947,6 +44195,12 @@ var months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'), monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'); + + var monthsParse = [/^led/i, /^úno/i, /^bře/i, /^dub/i, /^kvě/i, /^(čvn|červen$|června)/i, /^(čvc|červenec|července)/i, /^srp/i, /^zář/i, /^říj/i, /^lis/i, /^pro/i]; + // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched. + // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'. + var monthsRegex = /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i; + function plural(n) { return (n > 1) && (n < 5) && (~~(n / 10) !== 1); } @@ -37013,28 +44267,15 @@ 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)), + monthsRegex : monthsRegex, + monthsShortRegex : monthsRegex, + // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched. + // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'. + monthsStrictRegex : /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i, + monthsShortStrictRegex : /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i, + monthsParse : monthsParse, + longMonthsParse : monthsParse, + shortMonthsParse : monthsParse, 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('_'), @@ -37116,13 +44357,13 @@ /***/ }), -/* 554 */ +/* 567 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -37173,7 +44414,7 @@ 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -37183,13 +44424,13 @@ /***/ }), -/* 555 */ +/* 568 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -37267,13 +44508,13 @@ /***/ }), -/* 556 */ +/* 569 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -37331,13 +44572,13 @@ /***/ }), -/* 557 */ +/* 570 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -37411,13 +44652,13 @@ /***/ }), -/* 558 */ +/* 571 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -37491,13 +44732,13 @@ /***/ }), -/* 559 */ +/* 572 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -37571,13 +44812,13 @@ /***/ }), -/* 560 */ +/* 573 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -37664,7 +44905,7 @@ }, 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. + doy : 12 // The week that contains Jan 12th is the first week of the year. } }); @@ -37674,13 +44915,13 @@ /***/ }), -/* 561 */ +/* 574 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -37778,13 +45019,84 @@ /***/ }), -/* 562 */ +/* 575 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) + }(this, (function (moment) { 'use strict'; + + + var enSG = moment.defineLocale('en-SG', { + 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. + } + }); + + return enSG; + + }))); + + +/***/ }), +/* 576 */ +/***/ (function(module, exports, __webpack_require__) { + + //! moment.js locale configuration + + ;(function (global, factory) { + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -37849,13 +45161,13 @@ /***/ }), -/* 563 */ +/* 577 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -37916,13 +45228,13 @@ /***/ }), -/* 564 */ +/* 578 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -37987,13 +45299,13 @@ /***/ }), -/* 565 */ +/* 579 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -38008,7 +45320,7 @@ longDateFormat : { LT : 'HH:mm', LTS : 'HH:mm:ss', - L : 'DD-MM-YYYY', + L : 'DD/MM/YYYY', LL : 'D MMMM YYYY', LLL : 'D MMMM YYYY HH:mm', LLLL : 'dddd D MMMM YYYY HH:mm' @@ -38058,13 +45370,13 @@ /***/ }), -/* 566 */ +/* 580 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -38124,13 +45436,13 @@ /***/ }), -/* 567 */ +/* 581 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -38195,13 +45507,13 @@ /***/ }), -/* 568 */ +/* 582 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -38260,7 +45572,7 @@ 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -38270,13 +45582,13 @@ /***/ }), -/* 569 */ +/* 583 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -38366,13 +45678,13 @@ /***/ }), -/* 570 */ +/* 584 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -38462,13 +45774,13 @@ /***/ }), -/* 571 */ +/* 585 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -38477,6 +45789,9 @@ var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'), monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); + var 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 esUs = moment.defineLocale('es-us', { months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), monthsShort : function (m, format) { @@ -38488,7 +45803,13 @@ return monthsShortDot[m.month()]; } }, - monthsParseExact : true, + 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('_'), @@ -38497,9 +45818,9 @@ 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' + 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 () { @@ -38539,7 +45860,7 @@ 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. + doy : 6 // The week that contains Jan 6th is the first week of the year. } }); @@ -38549,13 +45870,13 @@ /***/ }), -/* 572 */ +/* 586 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -38633,13 +45954,13 @@ /***/ }), -/* 573 */ +/* 587 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -38693,7 +46014,7 @@ 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -38703,13 +46024,13 @@ /***/ }), -/* 574 */ +/* 588 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -38803,7 +46124,7 @@ 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. + doy : 12 // The week that contains Jan 12th is the first week of the year. } }); @@ -38813,13 +46134,13 @@ /***/ }), -/* 575 */ +/* 589 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -38926,13 +46247,13 @@ /***/ }), -/* 576 */ +/* 590 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -38965,13 +46286,13 @@ past : '%s síðani', s : 'fá sekund', ss : '%d sekundir', - m : 'ein minutt', + m : 'ein minuttur', mm : '%d minuttir', h : 'ein tími', hh : '%d tímar', d : 'ein dagur', dd : '%d dagar', - M : 'ein mánaði', + M : 'ein mánaður', MM : '%d mánaðir', y : 'eitt ár', yy : '%d ár' @@ -38990,13 +46311,13 @@ /***/ }), -/* 577 */ +/* 591 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -39077,13 +46398,13 @@ /***/ }), -/* 578 */ +/* 592 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -39155,13 +46476,13 @@ /***/ }), -/* 579 */ +/* 593 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -39237,13 +46558,13 @@ /***/ }), -/* 580 */ +/* 594 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -39316,13 +46637,94 @@ /***/ }), -/* 581 */ +/* 595 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) + }(this, (function (moment) { 'use strict'; + + + + var months = [ + 'Eanáir', 'Feabhra', 'Márta', 'Aibreán', 'Bealtaine', 'Méitheamh', 'Iúil', 'Lúnasa', 'Meán Fómhair', 'Deaireadh Fómhair', 'Samhain', 'Nollaig' + ]; + + var monthsShort = ['Eaná', 'Feab', 'Márt', 'Aibr', 'Beal', 'Méit', 'Iúil', 'Lúna', 'Meán', 'Deai', 'Samh', 'Noll']; + + var weekdays = ['Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', 'Dé Satharn']; + + var weekdaysShort = ['Dom', 'Lua', 'Mái', 'Céa', 'Déa', 'hAo', 'Sat']; + + var weekdaysMin = ['Do', 'Lu', 'Má', 'Ce', 'Dé', 'hA', 'Sa']; + + var ga = moment.defineLocale('ga', { + 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: '[Inniu ag] LT', + nextDay: '[Amárach ag] LT', + nextWeek: 'dddd [ag] LT', + lastDay: '[Inné aig] LT', + lastWeek: 'dddd [seo caite] [ag] LT', + sameElse: 'L' + }, + relativeTime: { + future: 'i %s', + past: '%s ó shin', + s: 'cúpla soicind', + ss: '%d soicind', + m: 'nóiméad', + mm: '%d nóiméad', + h: 'uair an chloig', + hh: '%d uair an chloig', + d: 'lá', + dd: '%d lá', + M: 'mí', + MM: '%d mí', + y: 'bliain', + yy: '%d bliain' + }, + dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/, + ordinal: function (number) { + var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; + return number + output; + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return ga; + + }))); + + +/***/ }), +/* 596 */ +/***/ (function(module, exports, __webpack_require__) { + + //! moment.js locale configuration + + ;(function (global, factory) { + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -39396,13 +46798,13 @@ /***/ }), -/* 582 */ +/* 597 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -39477,13 +46879,13 @@ /***/ }), -/* 583 */ +/* 598 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -39495,8 +46897,8 @@ 'ss': [number + ' secondanim', number + ' second'], 'm': ['eka mintan', 'ek minute'], 'mm': [number + ' mintanim', number + ' mintam'], - 'h': ['eka horan', 'ek hor'], - 'hh': [number + ' horanim', number + ' horam'], + 'h': ['eka voran', 'ek vor'], + 'hh': [number + ' voranim', number + ' voram'], 'd': ['eka disan', 'ek dis'], 'dd': [number + ' disanim', number + ' dis'], 'M': ['eka mhoinean', 'ek mhoino'], @@ -39604,13 +47006,13 @@ /***/ }), -/* 584 */ +/* 599 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -39722,7 +47124,7 @@ }, 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. + doy: 6 // The week that contains Jan 6th is the first week of the year. } }); @@ -39732,13 +47134,13 @@ /***/ }), -/* 585 */ +/* 600 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -39833,13 +47235,13 @@ /***/ }), -/* 586 */ +/* 601 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -39951,7 +47353,7 @@ }, 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. + doy : 6 // The week that contains Jan 6th is the first week of the year. } }); @@ -39961,13 +47363,13 @@ /***/ }), -/* 587 */ +/* 602 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -40109,7 +47511,7 @@ 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -40119,13 +47521,13 @@ /***/ }), -/* 588 */ +/* 603 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -40233,13 +47635,13 @@ /***/ }), -/* 589 */ +/* 604 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -40322,7 +47724,7 @@ }, 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -40332,13 +47734,13 @@ /***/ }), -/* 590 */ +/* 605 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -40408,7 +47810,7 @@ }, 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -40418,13 +47820,13 @@ /***/ }), -/* 591 */ +/* 606 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -40554,13 +47956,13 @@ /***/ }), -/* 592 */ +/* 607 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -40627,20 +48029,93 @@ /***/ }), -/* 593 */ +/* 608 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) + }(this, (function (moment) { 'use strict'; + + + var itCh = moment.defineLocale('it-ch', { + 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. + } + }); + + return itCh; + + }))); + + +/***/ }), +/* 609 */ +/***/ (function(module, exports, __webpack_require__) { + + //! moment.js locale configuration + + ;(function (global, factory) { + true ? factory(__webpack_require__(546)) : 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('_'), + months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), weekdays : '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'), weekdaysShort : '日_月_火_水_木_金_土'.split('_'), @@ -40723,13 +48198,13 @@ /***/ }), -/* 594 */ +/* 610 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -40799,7 +48274,7 @@ }, 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -40809,13 +48284,13 @@ /***/ }), -/* 595 */ +/* 611 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -40902,13 +48377,13 @@ /***/ }), -/* 596 */ +/* 612 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -40983,7 +48458,7 @@ }, 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -40993,13 +48468,13 @@ /***/ }), -/* 597 */ +/* 613 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -41107,13 +48582,13 @@ /***/ }), -/* 598 */ +/* 614 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -41227,7 +48702,7 @@ }, 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. + doy : 6 // The week that contains Jan 6th is the first week of the year. } }); @@ -41237,13 +48712,13 @@ /***/ }), -/* 599 */ +/* 615 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -41322,13 +48797,136 @@ /***/ }), -/* 600 */ +/* 616 */ +/***/ (function(module, exports, __webpack_require__) { + + //! moment.js locale configuration + + ;(function (global, factory) { + true ? factory(__webpack_require__(546)) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) + }(this, (function (moment) { 'use strict'; + + + var symbolMap = { + '1': '١', + '2': '٢', + '3': '٣', + '4': '٤', + '5': '٥', + '6': '٦', + '7': '٧', + '8': '٨', + '9': '٩', + '0': '٠' + }, numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0' + }, + months = [ + 'کانونی دووەم', + 'شوبات', + 'ئازار', + 'نیسان', + 'ئایار', + 'حوزەیران', + 'تەمموز', + 'ئاب', + 'ئەیلوول', + 'تشرینی یەكەم', + 'تشرینی دووەم', + 'كانونی یەکەم' + ]; + + + var ku = moment.defineLocale('ku', { + months : months, + monthsShort : months, + 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 /ئێواره‌/.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, '،'); + }, + week : { + dow : 6, // Saturday is the first day of the week. + doy : 12 // The week that contains Jan 12th is the first week of the year. + } + }); + + return ku; + + }))); + + +/***/ }), +/* 617 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -41375,8 +48973,8 @@ sameDay : '[Бүгүн саат] LT', nextDay : '[Эртең саат] LT', nextWeek : 'dddd [саат] LT', - lastDay : '[Кече саат] LT', - lastWeek : '[Өткен аптанын] dddd [күнү] [саат] LT', + lastDay : '[Кечээ саат] LT', + lastWeek : '[Өткөн аптанын] dddd [күнү] [саат] LT', sameElse : 'L' }, relativeTime : { @@ -41403,7 +49001,7 @@ }, 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -41413,13 +49011,13 @@ /***/ }), -/* 601 */ +/* 618 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -41553,13 +49151,13 @@ /***/ }), -/* 602 */ +/* 619 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -41627,13 +49225,13 @@ /***/ }), -/* 603 */ +/* 620 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -41749,13 +49347,13 @@ /***/ }), -/* 604 */ +/* 621 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -41850,13 +49448,13 @@ /***/ }), -/* 605 */ +/* 622 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -41956,7 +49554,7 @@ 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -41966,13 +49564,13 @@ /***/ }), -/* 606 */ +/* 623 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -42034,13 +49632,13 @@ /***/ }), -/* 607 */ +/* 624 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -42118,7 +49716,7 @@ }, 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -42128,13 +49726,13 @@ /***/ }), -/* 608 */ +/* 625 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -42213,13 +49811,13 @@ /***/ }), -/* 609 */ +/* 626 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -42321,13 +49919,13 @@ /***/ }), -/* 610 */ +/* 627 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -42475,7 +50073,7 @@ }, 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. + doy : 6 // The week that contains Jan 6th is the first week of the year. } }); @@ -42485,13 +50083,13 @@ /***/ }), -/* 611 */ +/* 628 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -42561,7 +50159,7 @@ }, 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -42571,13 +50169,13 @@ /***/ }), -/* 612 */ +/* 629 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -42647,7 +50245,7 @@ }, 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -42657,13 +50255,13 @@ /***/ }), -/* 613 */ +/* 630 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -42721,13 +50319,13 @@ /***/ }), -/* 614 */ +/* 631 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -42808,7 +50406,7 @@ }, 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. + doy: 4 // The week that contains Jan 4th is the first week of the year. } }); @@ -42818,13 +50416,13 @@ /***/ }), -/* 615 */ +/* 632 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -42884,13 +50482,13 @@ /***/ }), -/* 616 */ +/* 633 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -43001,7 +50599,7 @@ }, 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. + doy : 6 // The week that contains Jan 6th is the first week of the year. } }); @@ -43011,13 +50609,13 @@ /***/ }), -/* 617 */ +/* 634 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -43027,7 +50625,7 @@ monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'); var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]; - var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + var monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; var nl = moment.defineLocale('nl', { months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), @@ -43043,7 +50641,7 @@ monthsRegex: monthsRegex, monthsShortRegex: monthsRegex, - monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i, + monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, monthsParse : monthsParse, @@ -43102,13 +50700,13 @@ /***/ }), -/* 618 */ +/* 635 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -43118,7 +50716,7 @@ monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'); var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]; - var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + var monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; var nlBe = moment.defineLocale('nl-be', { months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), @@ -43134,7 +50732,7 @@ monthsRegex: monthsRegex, monthsShortRegex: monthsRegex, - monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i, + monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, monthsParse : monthsParse, @@ -43193,13 +50791,13 @@ /***/ }), -/* 619 */ +/* 636 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -43257,13 +50855,13 @@ /***/ }), -/* 620 */ +/* 637 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -43295,7 +50893,7 @@ }; var paIn = moment.defineLocale('pa-in', { - // There are months name as per Nanakshahi Calender but they are not used as rigidly in modern Punjabi. + // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi. months : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'), monthsShort : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'), weekdays : 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split('_'), @@ -43375,7 +50973,7 @@ }, 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. + doy : 6 // The week that contains Jan 6th is the first week of the year. } }); @@ -43385,13 +50983,13 @@ /***/ }), -/* 621 */ +/* 638 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -43515,21 +51113,21 @@ /***/ }), -/* 622 */ +/* 639 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : 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('_'), + 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('_'), @@ -43584,21 +51182,21 @@ /***/ }), -/* 623 */ +/* 640 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : 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('_'), + 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('_'), @@ -43649,13 +51247,13 @@ /***/ }), -/* 624 */ +/* 641 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -43718,7 +51316,7 @@ }, 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -43728,13 +51326,13 @@ /***/ }), -/* 625 */ +/* 642 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -43914,13 +51512,13 @@ /***/ }), -/* 626 */ +/* 643 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -44016,13 +51614,13 @@ /***/ }), -/* 627 */ +/* 644 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -44080,13 +51678,13 @@ /***/ }), -/* 628 */ +/* 645 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -44155,13 +51753,13 @@ /***/ }), -/* 629 */ +/* 646 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -44315,13 +51913,13 @@ /***/ }), -/* 630 */ +/* 647 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -44340,7 +51938,7 @@ } else if (number < 5) { result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah'; } else { - result += withoutSuffix || isFuture ? 'sekund' : 'sekund'; + result += 'sekund'; } return result; case 'm': @@ -44482,7 +52080,7 @@ 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -44492,13 +52090,13 @@ /***/ }), -/* 631 */ +/* 648 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -44564,13 +52162,13 @@ /***/ }), -/* 632 */ +/* 649 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -44669,7 +52267,7 @@ 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -44679,13 +52277,13 @@ /***/ }), -/* 633 */ +/* 650 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -44784,7 +52382,7 @@ 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -44794,13 +52392,13 @@ /***/ }), -/* 634 */ +/* 651 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -44886,13 +52484,13 @@ /***/ }), -/* 635 */ +/* 652 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -44959,13 +52557,13 @@ /***/ }), -/* 636 */ +/* 653 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -45012,7 +52610,7 @@ }, 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -45022,13 +52620,13 @@ /***/ }), -/* 637 */ +/* 654 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -45145,7 +52743,7 @@ }, 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. + doy : 6 // The week that contains Jan 6th is the first week of the year. } }); @@ -45155,21 +52753,21 @@ /***/ }), -/* 638 */ +/* 655 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : 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('_'), + months : 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'), + monthsShort : 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'), monthsParseExact : true, weekdays : 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'), weekdaysShort : 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'), @@ -45238,7 +52836,7 @@ }, 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. + doy : 6 // The week that contains Jan 6th is the first week of the year. } }); @@ -45248,13 +52846,13 @@ /***/ }), -/* 639 */ +/* 656 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -45319,13 +52917,13 @@ /***/ }), -/* 640 */ +/* 657 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -45439,13 +53037,13 @@ /***/ }), -/* 641 */ +/* 658 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -45510,13 +53108,13 @@ /***/ }), -/* 642 */ +/* 659 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -45576,13 +53174,13 @@ /***/ }), -/* 643 */ +/* 660 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -45702,12 +53300,12 @@ /***/ }), -/* 644 */ +/* 661 */ /***/ (function(module, exports, __webpack_require__) { ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -45790,7 +53388,7 @@ }, 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -45800,13 +53398,13 @@ /***/ }), -/* 645 */ +/* 662 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -45895,13 +53493,13 @@ /***/ }), -/* 646 */ +/* 663 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -45947,7 +53545,7 @@ }, 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. + doy : 12 // The week that contains Jan 12th is the first week of the year. } }); @@ -45957,13 +53555,13 @@ /***/ }), -/* 647 */ +/* 664 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -46009,7 +53607,7 @@ }, 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. + doy : 12 // The week that contains Jan 12th is the first week of the year. } }); @@ -46019,13 +53617,13 @@ /***/ }), -/* 648 */ +/* 665 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js language configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -46142,13 +53740,13 @@ /***/ }), -/* 649 */ +/* 666 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -46184,6 +53782,9 @@ 'genitive': 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split('_') }; + if (m === true) { + return weekdays['nominative'].slice(1, 7).concat(weekdays['nominative'].slice(0, 1)); + } if (!m) { return weekdays['nominative']; } @@ -46287,7 +53888,7 @@ }, 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -46297,13 +53898,13 @@ /***/ }), -/* 650 */ +/* 667 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -46399,13 +54000,13 @@ /***/ }), -/* 651 */ +/* 668 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -46461,13 +54062,13 @@ /***/ }), -/* 652 */ +/* 669 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -46513,7 +54114,7 @@ }, 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. + doy : 7 // The week that contains Jan 7th is the first week of the year. } }); @@ -46523,13 +54124,13 @@ /***/ }), -/* 653 */ +/* 670 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -46606,13 +54207,13 @@ /***/ }), -/* 654 */ +/* 671 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -46678,13 +54279,13 @@ /***/ }), -/* 655 */ +/* 672 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -46742,13 +54343,13 @@ /***/ }), -/* 656 */ +/* 673 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -46856,13 +54457,13 @@ /***/ }), -/* 657 */ +/* 674 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -46963,13 +54564,13 @@ /***/ }), -/* 658 */ +/* 675 */ /***/ (function(module, exports, __webpack_require__) { //! moment.js locale configuration ;(function (global, factory) { - true ? factory(__webpack_require__(533)) : + true ? factory(__webpack_require__(546)) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; @@ -47070,30 +54671,30 @@ /***/ }), -/* 659 */ +/* 676 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _month_dropdown_options = __webpack_require__(660); + var _month_dropdown_options = __webpack_require__(677); var _month_dropdown_options2 = _interopRequireDefault(_month_dropdown_options); - var _reactOnclickoutside = __webpack_require__(531); + var _reactOnclickoutside = __webpack_require__(544); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - var _date_utils = __webpack_require__(532); + var _date_utils = __webpack_require__(545); var utils = _interopRequireWildcard(_date_utils); @@ -47283,30 +54884,30 @@ exports.default = MonthDropdown; /***/ }), -/* 660 */ +/* 677 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _focusTrapReact = __webpack_require__(526); + var _focusTrapReact = __webpack_require__(539); var _focusTrapReact2 = _interopRequireDefault(_focusTrapReact); - var _classnames = __webpack_require__(525); + var _classnames = __webpack_require__(538); var _classnames2 = _interopRequireDefault(_classnames); - var _screen_reader_only = __webpack_require__(530); + var _screen_reader_only = __webpack_require__(543); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -47464,30 +55065,30 @@ exports.default = MonthDropdownOptions; /***/ }), -/* 661 */ +/* 678 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _month_year_dropdown_options = __webpack_require__(662); + var _month_year_dropdown_options = __webpack_require__(679); var _month_year_dropdown_options2 = _interopRequireDefault(_month_year_dropdown_options); - var _reactOnclickoutside = __webpack_require__(531); + var _reactOnclickoutside = __webpack_require__(544); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - var _date_utils = __webpack_require__(532); + var _date_utils = __webpack_require__(545); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -47673,32 +55274,32 @@ exports.default = MonthYearDropdown; /***/ }), -/* 662 */ +/* 679 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _focusTrapReact = __webpack_require__(526); + var _focusTrapReact = __webpack_require__(539); var _focusTrapReact2 = _interopRequireDefault(_focusTrapReact); - var _classnames = __webpack_require__(525); + var _classnames = __webpack_require__(538); var _classnames2 = _interopRequireDefault(_classnames); - var _screen_reader_only = __webpack_require__(530); + var _screen_reader_only = __webpack_require__(543); - var _date_utils = __webpack_require__(532); + var _date_utils = __webpack_require__(545); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -47909,34 +55510,34 @@ exports.default = MonthYearDropdownOptions; /***/ }), -/* 663 */ +/* 680 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(525); + var _classnames = __webpack_require__(538); var _classnames2 = _interopRequireDefault(_classnames); - var _week = __webpack_require__(664); + var _week = __webpack_require__(681); var _week2 = _interopRequireDefault(_week); - var _date_utils = __webpack_require__(532); + var _date_utils = __webpack_require__(545); var utils = _interopRequireWildcard(_date_utils); - var _screen_reader_only = __webpack_require__(530); + var _screen_reader_only = __webpack_require__(543); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } @@ -48184,7 +55785,7 @@ exports.default = Month; /***/ }), -/* 664 */ +/* 681 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48193,23 +55794,23 @@ 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__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _day = __webpack_require__(665); + var _day = __webpack_require__(682); var _day2 = _interopRequireDefault(_day); - var _week_number = __webpack_require__(666); + var _week_number = __webpack_require__(683); var _week_number2 = _interopRequireDefault(_week_number); - var _date_utils = __webpack_require__(532); + var _date_utils = __webpack_require__(545); var utils = _interopRequireWildcard(_date_utils); @@ -48348,26 +55949,26 @@ exports.default = Week; /***/ }), -/* 665 */ +/* 682 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(525); + var _classnames = __webpack_require__(538); var _classnames2 = _interopRequireDefault(_classnames); - var _date_utils = __webpack_require__(532); + var _date_utils = __webpack_require__(545); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -48566,22 +56167,22 @@ exports.default = Day; /***/ }), -/* 666 */ +/* 683 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(525); + var _classnames = __webpack_require__(538); var _classnames2 = _interopRequireDefault(_classnames); @@ -48638,7 +56239,7 @@ exports.default = WeekNumber; /***/ }), -/* 667 */ +/* 684 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48647,21 +56248,21 @@ 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__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(525); + var _classnames = __webpack_require__(538); var _classnames2 = _interopRequireDefault(_classnames); - var _screen_reader_only = __webpack_require__(530); + var _screen_reader_only = __webpack_require__(543); - var _date_utils = __webpack_require__(532); + var _date_utils = __webpack_require__(545); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -48976,7 +56577,7 @@ exports.default = Time; /***/ }), -/* 668 */ +/* 685 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -48988,19 +56589,19 @@ 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 _classnames = __webpack_require__(525); + var _classnames = __webpack_require__(538); var _classnames2 = _interopRequireDefault(_classnames); - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _reactPopper = __webpack_require__(669); + var _reactPopper = __webpack_require__(686); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -49116,84 +56717,125 @@ exports.default = PopperComponent; /***/ }), -/* 669 */ +/* 686 */ /***/ (function(module, exports, __webpack_require__) { - 'use strict'; + "use strict"; + + var _interopRequireDefault = __webpack_require__(687); + + var _interopRequireWildcard = __webpack_require__(688); Object.defineProperty(exports, "__esModule", { value: true }); - exports.Reference = exports.Manager = exports.placements = exports.Popper = undefined; + Object.defineProperty(exports, "Popper", { + enumerable: true, + get: function get() { + return _Popper.default; + } + }); + Object.defineProperty(exports, "placements", { + enumerable: true, + get: function get() { + return _Popper.placements; + } + }); + Object.defineProperty(exports, "Manager", { + enumerable: true, + get: function get() { + return _Manager.default; + } + }); + Object.defineProperty(exports, "Reference", { + enumerable: true, + get: function get() { + return _Reference.default; + } + }); - var _Popper = __webpack_require__(670); + var _Popper = _interopRequireWildcard(__webpack_require__(689)); - var _Popper2 = _interopRequireDefault(_Popper); + var _Manager = _interopRequireDefault(__webpack_require__(696)); - var _Manager = __webpack_require__(754); + var _Reference = _interopRequireDefault(__webpack_require__(703)); - var _Manager2 = _interopRequireDefault(_Manager); +/***/ }), +/* 687 */ +/***/ (function(module, exports) { - var _Reference = __webpack_require__(766); + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { + default: obj + }; + } - var _Reference2 = _interopRequireDefault(_Reference); + module.exports = _interopRequireDefault; - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +/***/ }), +/* 688 */ +/***/ (function(module, exports) { + + function _interopRequireWildcard(obj) { + if (obj && obj.__esModule) { + return obj; + } else { + var newObj = {}; - exports.Popper = _Popper2.default; - exports.placements = _Popper.placements; - exports.Manager = _Manager2.default; - exports.Reference = _Reference2.default; + if (obj != null) { + for (var key in obj) { + if (Object.prototype.hasOwnProperty.call(obj, key)) { + var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; - // Public types + if (desc.get || desc.set) { + Object.defineProperty(newObj, key, desc); + } else { + newObj[key] = obj[key]; + } + } + } + } + newObj.default = obj; + return newObj; + } + } - // Public components + module.exports = _interopRequireWildcard; /***/ }), -/* 670 */ +/* 689 */ /***/ (function(module, exports, __webpack_require__) { - 'use strict'; + "use strict"; + + var _interopRequireWildcard = __webpack_require__(688); + + var _interopRequireDefault = __webpack_require__(687); Object.defineProperty(exports, "__esModule", { value: true }); - exports.placements = exports.InnerPopper = undefined; - - var _extends2 = __webpack_require__(671); - - var _extends3 = _interopRequireDefault(_extends2); - - var _classCallCheck2 = __webpack_require__(709); - - var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); - - var _possibleConstructorReturn2 = __webpack_require__(710); - - var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2); - - var _inherits2 = __webpack_require__(745); - - var _inherits3 = _interopRequireDefault(_inherits2); - exports.default = Popper; + exports.placements = exports.InnerPopper = void 0; - var _react = __webpack_require__(327); + var _objectWithoutPropertiesLoose2 = _interopRequireDefault(__webpack_require__(690)); - var React = _interopRequireWildcard(_react); + var _extends2 = _interopRequireDefault(__webpack_require__(691)); - var _popper = __webpack_require__(753); + var _inheritsLoose2 = _interopRequireDefault(__webpack_require__(692)); - var _popper2 = _interopRequireDefault(_popper); + var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(693)); - var _Manager = __webpack_require__(754); + var _defineProperty2 = _interopRequireDefault(__webpack_require__(694)); - var _utils = __webpack_require__(765); + var React = _interopRequireWildcard(__webpack_require__(333)); - function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + var _popper = _interopRequireDefault(__webpack_require__(695)); - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + var _Manager = __webpack_require__(696); + + var _utils = __webpack_require__(702); var initialStyle = { position: 'absolute', @@ -49202,113 +56844,133 @@ opacity: 0, pointerEvents: 'none' }; - var initialArrowStyle = {}; - var InnerPopper = exports.InnerPopper = function (_React$Component) { - (0, _inherits3.default)(InnerPopper, _React$Component); + var InnerPopper = + /*#__PURE__*/ + function (_React$Component) { + (0, _inheritsLoose2.default)(InnerPopper, _React$Component); function InnerPopper() { - var _temp, _this, _ret; + var _this; - (0, _classCallCheck3.default)(this, InnerPopper); - - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } - return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = { + _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "state", { data: undefined, placement: undefined - }, _this.popperNode = null, _this.arrowNode = null, _this.setPopperNode = function (popperNode) { - if (_this.popperNode === popperNode) return; - + }); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "popperInstance", void 0); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "popperNode", null); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "arrowNode", null); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "setPopperNode", function (popperNode) { + if (!popperNode || _this.popperNode === popperNode) return; (0, _utils.safeInvoke)(_this.props.innerRef, popperNode); _this.popperNode = popperNode; - if (!_this.popperInstance) _this.updatePopperInstance(); - }, _this.setArrowNode = function (arrowNode) { - if (_this.arrowNode === arrowNode) return; + _this.updatePopperInstance(); + }); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "setArrowNode", function (arrowNode) { _this.arrowNode = arrowNode; - - if (!_this.popperInstance) _this.updatePopperInstance(); - }, _this.updateStateModifier = { + }); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "updateStateModifier", { enabled: true, order: 900, fn: function fn(data) { var placement = data.placement; - _this.setState({ data: data, placement: placement }, placement !== _this.state.placement ? _this.scheduleUpdate : undefined); + _this.setState({ + data: data, + placement: placement + }); + return data; } - }, _this.getOptions = function () { + }); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "getOptions", function () { return { placement: _this.props.placement, eventsEnabled: _this.props.eventsEnabled, positionFixed: _this.props.positionFixed, - modifiers: (0, _extends3.default)({}, _this.props.modifiers, { - arrow: { + modifiers: (0, _extends2.default)({}, _this.props.modifiers, { + arrow: (0, _extends2.default)({}, _this.props.modifiers && _this.props.modifiers.arrow, { enabled: !!_this.arrowNode, element: _this.arrowNode + }), + applyStyle: { + enabled: false }, - applyStyle: { enabled: false }, updateStateModifier: _this.updateStateModifier }) }; - }, _this.getPopperStyle = function () { - return !_this.popperNode || !_this.state.data ? initialStyle : (0, _extends3.default)({ + }); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "getPopperStyle", function () { + return !_this.popperNode || !_this.state.data ? initialStyle : (0, _extends2.default)({ position: _this.state.data.offsets.popper.position }, _this.state.data.styles); - }, _this.getPopperPlacement = function () { + }); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "getPopperPlacement", function () { return !_this.state.data ? undefined : _this.state.placement; - }, _this.getArrowStyle = function () { + }); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "getArrowStyle", function () { return !_this.arrowNode || !_this.state.data ? initialArrowStyle : _this.state.data.arrowStyles; - }, _this.getOutOfBoundariesState = function () { + }); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "getOutOfBoundariesState", function () { return _this.state.data ? _this.state.data.hide : undefined; - }, _this.destroyPopperInstance = function () { + }); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "destroyPopperInstance", function () { if (!_this.popperInstance) return; _this.popperInstance.destroy(); + _this.popperInstance = null; - }, _this.updatePopperInstance = function () { + }); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "updatePopperInstance", function () { _this.destroyPopperInstance(); - var _this2 = _this, - popperNode = _this2.popperNode; - var referenceElement = _this.props.referenceElement; - + var _assertThisInitialize = (0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), + popperNode = _assertThisInitialize.popperNode; + var referenceElement = _this.props.referenceElement; if (!referenceElement || !popperNode) return; - - _this.popperInstance = new _popper2.default(referenceElement, popperNode, _this.getOptions()); - }, _this.scheduleUpdate = function () { + _this.popperInstance = new _popper.default(referenceElement, popperNode, _this.getOptions()); + }); + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "scheduleUpdate", function () { if (_this.popperInstance) { _this.popperInstance.scheduleUpdate(); } - }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret); + }); + return _this; } - InnerPopper.prototype.componentDidUpdate = function componentDidUpdate(prevProps, prevState) { + var _proto = InnerPopper.prototype; + + _proto.componentDidUpdate = function componentDidUpdate(prevProps, prevState) { // If the Popper.js options have changed, update the instance (destroy + create) - if (this.props.placement !== prevProps.placement || this.props.eventsEnabled !== prevProps.eventsEnabled || this.props.referenceElement !== prevProps.referenceElement || this.props.positionFixed !== prevProps.positionFixed) { + if (this.props.placement !== prevProps.placement || this.props.referenceElement !== prevProps.referenceElement || this.props.positionFixed !== prevProps.positionFixed) { this.updatePopperInstance(); - return; - } - - // A placement difference in state means popper determined a new placement + } else if (this.props.eventsEnabled !== prevProps.eventsEnabled && this.popperInstance) { + this.props.eventsEnabled ? this.popperInstance.enableEventListeners() : this.popperInstance.disableEventListeners(); + } // A placement difference in state means popper determined a new placement // apart from the props value. By the time the popper element is rendered with // the new position Popper has already measured it, if the place change triggers // a size change it will result in a misaligned popper. So we schedule an update to be sure. + + if (prevState.placement !== this.state.placement) { this.scheduleUpdate(); } }; - InnerPopper.prototype.componentWillUnmount = function componentWillUnmount() { + _proto.componentWillUnmount = function componentWillUnmount() { + (0, _utils.safeInvoke)(this.props.innerRef, null); this.destroyPopperInstance(); }; - InnerPopper.prototype.render = function render() { + _proto.render = function render() { return (0, _utils.unwrapArray)(this.props.children)({ ref: this.setPopperNode, style: this.getPopperStyle(), @@ -49325,556 +56987,203 @@ return InnerPopper; }(React.Component); - InnerPopper.defaultProps = { + exports.InnerPopper = InnerPopper; + (0, _defineProperty2.default)(InnerPopper, "defaultProps", { placement: 'bottom', eventsEnabled: true, referenceElement: undefined, positionFixed: false - }; - - - var placements = _popper2.default.placements; + }); + var placements = _popper.default.placements; exports.placements = placements; - function Popper(props) { - return React.createElement( - _Manager.ManagerContext.Consumer, - null, - function (_ref) { - var referenceNode = _ref.referenceNode; - return React.createElement(InnerPopper, (0, _extends3.default)({ referenceElement: referenceNode }, props)); - } - ); + + function Popper(_ref) { + var referenceElement = _ref.referenceElement, + props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["referenceElement"]); + return React.createElement(_Manager.ManagerContext.Consumer, null, function (_ref2) { + var referenceNode = _ref2.referenceNode; + return React.createElement(InnerPopper, (0, _extends2.default)({ + referenceElement: referenceElement !== undefined ? referenceElement : referenceNode + }, props)); + }); } /***/ }), -/* 671 */ -/***/ (function(module, exports, __webpack_require__) { - - "use strict"; - - exports.__esModule = true; - - var _assign = __webpack_require__(672); - - var _assign2 = _interopRequireDefault(_assign); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +/* 690 */ +/***/ (function(module, exports) { - exports.default = _assign2.default || function (target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; + function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } - } + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; } return target; - }; - -/***/ }), -/* 672 */ -/***/ (function(module, exports, __webpack_require__) { + } - module.exports = { "default": __webpack_require__(673), __esModule: true }; + module.exports = _objectWithoutPropertiesLoose; /***/ }), -/* 673 */ -/***/ (function(module, exports, __webpack_require__) { - - __webpack_require__(674); - module.exports = __webpack_require__(677).Object.assign; +/* 691 */ +/***/ (function(module, exports) { + function _extends() { + module.exports = _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; -/***/ }), -/* 674 */ -[875, 675, 690], -/* 675 */ -/***/ (function(module, exports, __webpack_require__) { + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } - var global = __webpack_require__(676); - var core = __webpack_require__(677); - var ctx = __webpack_require__(678); - var hide = __webpack_require__(680); - var PROTOTYPE = 'prototype'; + return target; + }; - var $export = function (type, name, source) { - var IS_FORCED = type & $export.F; - var IS_GLOBAL = type & $export.G; - var IS_STATIC = type & $export.S; - var IS_PROTO = type & $export.P; - var IS_BIND = type & $export.B; - var IS_WRAP = type & $export.W; - var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); - var expProto = exports[PROTOTYPE]; - var target = IS_GLOBAL ? global : 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; - // export native or passed - out = own ? target[key] : source[key]; - // prevent global pollution for namespaces - exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] - // bind timers to global for call from export context - : IS_BIND && own ? ctx(out, global) - // wrap global constructors for prevent change them in library - : IS_WRAP && target[key] == out ? (function (C) { - var F = function (a, b, c) { - if (this instanceof C) { - switch (arguments.length) { - case 0: return new C(); - case 1: return new C(a); - case 2: return new C(a, b); - } return new C(a, b, c); - } return C.apply(this, arguments); - }; - F[PROTOTYPE] = C[PROTOTYPE]; - return F; - // make static versions for prototype methods - })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; - // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% - if (IS_PROTO) { - (exports.virtual || (exports.virtual = {}))[key] = out; - // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% - if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out); - } - } - }; - // type bitmap - $export.F = 1; // forced - $export.G = 2; // global - $export.S = 4; // static - $export.P = 8; // proto - $export.B = 16; // bind - $export.W = 32; // wrap - $export.U = 64; // safe - $export.R = 128; // real proto method for `library` - module.exports = $export; + return _extends.apply(this, arguments); + } + module.exports = _extends; /***/ }), -/* 676 */ -4, -/* 677 */ -9, -/* 678 */ -[849, 679], -/* 679 */ -21, -/* 680 */ -[843, 681, 689, 685], -/* 681 */ -[844, 682, 684, 688, 685], -/* 682 */ -[845, 683], -/* 683 */ -13, -/* 684 */ -[846, 685, 686, 687], -/* 685 */ -[842, 686], -/* 686 */ -7, -/* 687 */ -[847, 683, 676], -/* 688 */ -[848, 683], -/* 689 */ -17, -/* 690 */ -[876, 691, 706, 707, 708, 695, 686], -/* 691 */ -[857, 692, 705], /* 692 */ -[858, 693, 694, 698, 702], -/* 693 */ -5, -/* 694 */ -[859, 695, 697], -/* 695 */ -[860, 696], -/* 696 */ -34, -/* 697 */ -35, -/* 698 */ -[861, 694, 699, 701], -/* 699 */ -[862, 700], -/* 700 */ -38, -/* 701 */ -[863, 700], -/* 702 */ -[864, 703, 704], -/* 703 */ -[851, 676], -/* 704 */ -19, -/* 705 */ -41, -/* 706 */ -42, -/* 707 */ -43, -/* 708 */ -[873, 697], -/* 709 */ /***/ (function(module, exports) { - "use strict"; - - exports.__esModule = true; + function _inheritsLoose(subClass, superClass) { + subClass.prototype = Object.create(superClass.prototype); + subClass.prototype.constructor = subClass; + subClass.__proto__ = superClass; + } - exports.default = function (instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } - }; + module.exports = _inheritsLoose; /***/ }), -/* 710 */ -/***/ (function(module, exports, __webpack_require__) { - - "use strict"; - - exports.__esModule = true; - - var _typeof2 = __webpack_require__(711); - - var _typeof3 = _interopRequireDefault(_typeof2); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +/* 693 */ +/***/ (function(module, exports) { - exports.default = function (self, call) { - if (!self) { + function _assertThisInitialized(self) { + if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } - return call && ((typeof call === "undefined" ? "undefined" : (0, _typeof3.default)(call)) === "object" || typeof call === "function") ? call : self; - }; - -/***/ }), -/* 711 */ -/***/ (function(module, exports, __webpack_require__) { - - "use strict"; - - exports.__esModule = true; - - var _iterator = __webpack_require__(712); - - var _iterator2 = _interopRequireDefault(_iterator); - - var _symbol = __webpack_require__(732); - - var _symbol2 = _interopRequireDefault(_symbol); - - var _typeof = typeof _symbol2.default === "function" && typeof _iterator2.default === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj; }; - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - exports.default = typeof _symbol2.default === "function" && _typeof(_iterator2.default) === "symbol" ? function (obj) { - return typeof obj === "undefined" ? "undefined" : _typeof(obj); - } : function (obj) { - return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof(obj); - }; - -/***/ }), -/* 712 */ -/***/ (function(module, exports, __webpack_require__) { - - module.exports = { "default": __webpack_require__(713), __esModule: true }; - -/***/ }), -/* 713 */ -/***/ (function(module, exports, __webpack_require__) { - - __webpack_require__(714); - __webpack_require__(727); - module.exports = __webpack_require__(731).f('iterator'); + return self; + } + module.exports = _assertThisInitialized; /***/ }), -/* 714 */ -[879, 715, 716], -/* 715 */ -[880, 700, 697], -/* 716 */ -[881, 717, 675, 718, 680, 693, 719, 720, 724, 726, 725], -/* 717 */ +/* 694 */ /***/ (function(module, exports) { - module.exports = true; - - -/***/ }), -/* 718 */ -/***/ (function(module, exports, __webpack_require__) { + function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } - module.exports = __webpack_require__(680); + return obj; + } + module.exports = _defineProperty; /***/ }), -/* 719 */ -129, -/* 720 */ -[882, 721, 689, 724, 680, 725], -/* 721 */ -[866, 682, 722, 705, 702, 687, 723], -/* 722 */ -[867, 681, 682, 691, 685], -/* 723 */ -[868, 676], -/* 724 */ -[852, 681, 693, 725], -/* 725 */ -[853, 703, 704, 676], -/* 726 */ -[874, 693, 708, 702], -/* 727 */ +/* 695 */ /***/ (function(module, exports, __webpack_require__) { - __webpack_require__(728); - var global = __webpack_require__(676); - var hide = __webpack_require__(680); - var Iterators = __webpack_require__(719); - var TO_STRING_TAG = __webpack_require__(725)('toStringTag'); + /* WEBPACK VAR INJECTION */(function(global) {/**! + * @fileOverview Kickass library to create and place poppers near their reference elements. + * @version 1.14.7 + * @license + * Copyright (c) 2016 Federico Zivolo and contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + (function (global, factory) { + true ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global.Popper = factory()); + }(this, (function () { 'use strict'; - 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(','); + var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined'; - for (var i = 0; i < DOMIterables.length; i++) { - var NAME = DOMIterables[i]; - var Collection = global[NAME]; - var proto = Collection && Collection.prototype; - if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); - Iterators[NAME] = Iterators.Array; + var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox']; + var timeoutDuration = 0; + for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) { + if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) { + timeoutDuration = 1; + break; + } } + function microtaskDebounce(fn) { + var called = false; + return function () { + if (called) { + return; + } + called = true; + window.Promise.resolve().then(function () { + called = false; + fn(); + }); + }; + } -/***/ }), -/* 728 */ -[883, 729, 730, 719, 694, 716], -/* 729 */ -/***/ (function(module, exports) { + function taskDebounce(fn) { + var scheduled = false; + return function () { + if (!scheduled) { + scheduled = true; + setTimeout(function () { + scheduled = false; + fn(); + }, timeoutDuration); + } + }; + } - module.exports = function () { /* empty */ }; + var supportsMicroTasks = isBrowser && window.Promise; - -/***/ }), -/* 730 */ -195, -/* 731 */ -[854, 725], -/* 732 */ -/***/ (function(module, exports, __webpack_require__) { - - module.exports = { "default": __webpack_require__(733), __esModule: true }; - -/***/ }), -/* 733 */ -/***/ (function(module, exports, __webpack_require__) { - - __webpack_require__(734); - __webpack_require__(742); - __webpack_require__(743); - __webpack_require__(744); - module.exports = __webpack_require__(677).Symbol; - - -/***/ }), -/* 734 */ -[841, 676, 693, 685, 675, 718, 735, 686, 703, 724, 704, 725, 731, 736, 737, 738, 682, 694, 688, 689, 721, 739, 741, 681, 691, 740, 707, 706, 717, 680], -/* 735 */ -[850, 704, 683, 693, 681, 686], -/* 736 */ -[855, 676, 677, 717, 731, 681], -/* 737 */ -[856, 691, 706, 707], -/* 738 */ -[865, 696], -/* 739 */ -[869, 694, 740], -/* 740 */ -[870, 692, 705], -/* 741 */ -[871, 707, 689, 694, 688, 693, 684, 685], -/* 742 */ -/***/ (function(module, exports) { - - - -/***/ }), -/* 743 */ -[884, 736], -/* 744 */ -[885, 736], -/* 745 */ -/***/ (function(module, exports, __webpack_require__) { - - "use strict"; - - exports.__esModule = true; - - var _setPrototypeOf = __webpack_require__(746); - - var _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf); - - var _create = __webpack_require__(750); - - var _create2 = _interopRequireDefault(_create); - - var _typeof2 = __webpack_require__(711); - - var _typeof3 = _interopRequireDefault(_typeof2); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - exports.default = function (subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function, not " + (typeof superClass === "undefined" ? "undefined" : (0, _typeof3.default)(superClass))); - } - - subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, { - constructor: { - value: subClass, - enumerable: false, - writable: true, - configurable: true - } - }); - if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass; - }; - -/***/ }), -/* 746 */ -/***/ (function(module, exports, __webpack_require__) { - - module.exports = { "default": __webpack_require__(747), __esModule: true }; - -/***/ }), -/* 747 */ -/***/ (function(module, exports, __webpack_require__) { - - __webpack_require__(748); - module.exports = __webpack_require__(677).Object.setPrototypeOf; - - -/***/ }), -/* 748 */ -[877, 675, 749], -/* 749 */ -[878, 683, 682, 678, 741], -/* 750 */ -/***/ (function(module, exports, __webpack_require__) { - - module.exports = { "default": __webpack_require__(751), __esModule: true }; - -/***/ }), -/* 751 */ -/***/ (function(module, exports, __webpack_require__) { - - __webpack_require__(752); - var $Object = __webpack_require__(677).Object; - module.exports = function create(P, D) { - return $Object.create(P, D); - }; - - -/***/ }), -/* 752 */ -[872, 675, 721], -/* 753 */ -/***/ (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 - * @license - * Copyright (c) 2016 Federico Zivolo and contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - (function (global, factory) { - true ? module.exports = factory() : - typeof define === 'function' && define.amd ? define(factory) : - (global.Popper = factory()); - }(this, (function () { 'use strict'; - - var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined'; - var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox']; - var timeoutDuration = 0; - for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) { - if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) { - timeoutDuration = 1; - break; - } - } - - function microtaskDebounce(fn) { - var called = false; - return function () { - if (called) { - return; - } - called = true; - window.Promise.resolve().then(function () { - called = false; - fn(); - }); - }; - } - - function taskDebounce(fn) { - var scheduled = false; - return function () { - if (!scheduled) { - scheduled = true; - setTimeout(function () { - scheduled = false; - fn(); - }, timeoutDuration); - } - }; - } - - var supportsMicroTasks = isBrowser && window.Promise; - - /** - * Create a debounced version of a method, that's asynchronously deferred - * but called in the minimum time possible. - * - * @method - * @memberof Popper.Utils - * @argument {Function} fn - * @returns {Function} - */ - var debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce; + /** + * Create a debounced version of a method, that's asynchronously deferred + * but called in the minimum time possible. + * + * @method + * @memberof Popper.Utils + * @argument {Function} fn + * @returns {Function} + */ + var debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce; /** * Check if the given variable is a function @@ -49900,7 +57209,8 @@ return []; } // NOTE: 1 DOM access here - var css = getComputedStyle(element, null); + var window = element.ownerDocument.defaultView; + var css = window.getComputedStyle(element, null); return property ? css[property] : css; } @@ -49953,40 +57263,25 @@ 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 @@ -50003,7 +57298,7 @@ var noOffsetParent = isIE(10) ? document.body : null; // NOTE: 1 DOM access here - var offsetParent = element.offsetParent; + var offsetParent = element.offsetParent || null; // Skip hidden elements which don't have an offsetParent while (offsetParent === noOffsetParent && element.nextElementSibling) { offsetParent = (element = element.nextElementSibling).offsetParent; @@ -50015,9 +57310,9 @@ return element ? element.ownerDocument.documentElement : document.documentElement; } - // .offsetParent will return the closest TD or TABLE in case + // .offsetParent will return the closest TH, TD or TABLE in case // no offsetParent is present, I hate this job... - if (['TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') { + if (['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') { return getOffsetParent(offsetParent); } @@ -50155,10 +57450,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], isIE(10) ? html['offset' + axis] + computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')] + computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')] : 0); + return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? 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); @@ -50275,7 +57570,7 @@ }; // 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 = sizes.height || element.clientHeight || result.bottom - result.top; @@ -50310,7 +57605,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); } @@ -50385,7 +57680,11 @@ if (getStyleComputedProperty(element, 'position') === 'fixed') { return true; } - return isFixed(getParentNode(element)); + var parentNode = getParentNode(element); + if (!parentNode) { + return false; + } + return isFixed(parentNode); } /** @@ -50448,7 +57747,7 @@ // In case of HTML, we need a different computation if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) { - var _getWindowSizes = getWindowSizes(), + var _getWindowSizes = getWindowSizes(popper.ownerDocument), height = _getWindowSizes.height, width = _getWindowSizes.width; @@ -50463,10 +57762,12 @@ } // 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; } @@ -50563,9 +57864,10 @@ * @returns {Object} object containing width and height properties */ function getOuterSizes(element) { - var styles = getComputedStyle(element); - var x = parseFloat(styles.marginTop) + parseFloat(styles.marginBottom); - var y = parseFloat(styles.marginLeft) + parseFloat(styles.marginRight); + var window = element.ownerDocument.defaultView; + var styles = window.getComputedStyle(element); + var x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0); + var y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0); var result = { width: element.offsetWidth + y, height: element.offsetHeight + x @@ -50739,6 +58041,7 @@ // compute the popper offsets data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement); + data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute'; // run the modifiers @@ -50790,7 +58093,7 @@ } /** - * Destroy the popper + * Destroys the popper. * @method * @memberof Popper */ @@ -50897,7 +58200,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 @@ -51014,6 +58317,57 @@ return options; } + /** + * @function + * @memberof Popper.Utils + * @argument {Object} data - The data object generated by `update` method + * @argument {Boolean} shouldRound - If the offsets should be rounded at all + * @returns {Object} The popper's position offsets rounded + * + * The tale of pixel-perfect positioning. It's still not 100% perfect, but as + * good as it can be within reason. + * Discussion here: https://github.com/FezVrasta/popper.js/pull/715 + * + * Low DPI screens cause a popper to be blurry if not using full pixels (Safari + * as well on High DPI screens). + * + * Firefox prefers no rounding for positioning and does not have blurriness on + * high DPI screens. + * + * Only horizontal placement and left/right values need to be considered. + */ + function getRoundedOffsets(data, shouldRound) { + var _data$offsets = data.offsets, + popper = _data$offsets.popper, + reference = _data$offsets.reference; + var round = Math.round, + floor = Math.floor; + + var noRound = function noRound(v) { + return v; + }; + + var referenceWidth = round(reference.width); + var popperWidth = round(popper.width); + + var isVertical = ['left', 'right'].indexOf(data.placement) !== -1; + var isVariation = data.placement.indexOf('-') !== -1; + var sameWidthParity = referenceWidth % 2 === popperWidth % 2; + var bothOddWidth = referenceWidth % 2 === 1 && popperWidth % 2 === 1; + + var horizontalToInteger = !shouldRound ? noRound : isVertical || isVariation || sameWidthParity ? round : floor; + var verticalToInteger = !shouldRound ? noRound : round; + + return { + left: horizontalToInteger(bothOddWidth && !isVariation && shouldRound ? popper.left - 1 : popper.left), + top: verticalToInteger(popper.top), + bottom: verticalToInteger(popper.bottom), + right: horizontalToInteger(popper.right) + }; + } + + var isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent); + /** * @function * @memberof Modifiers @@ -51044,13 +58398,7 @@ position: popper.position }; - // floor sides to avoid blurry text - var offsets = { - left: Math.floor(popper.left), - top: Math.floor(popper.top), - bottom: Math.floor(popper.bottom), - right: Math.floor(popper.right) - }; + var offsets = getRoundedOffsets(data, window.devicePixelRatio < 2 || !isFirefox); var sideA = x === 'bottom' ? 'top' : 'bottom'; var sideB = y === 'right' ? 'left' : 'right'; @@ -51072,12 +58420,22 @@ var left = void 0, top = void 0; if (sideA === 'bottom') { - top = -offsetParentRect.height + offsets.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 (offsetParent.nodeName === 'HTML') { + left = -offsetParent.clientWidth + offsets.right; + } else { + left = -offsetParentRect.width + offsets.right; + } } else { left = offsets.left; } @@ -51186,7 +58544,7 @@ // // extends keepTogether behavior making sure the popper and its - // reference have enough pixels in conjuction + // reference have enough pixels in conjunction // // top/left side @@ -51256,7 +58614,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} @@ -51604,7 +58962,27 @@ 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, options.padding, 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; @@ -51778,7 +59156,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 @@ -51786,7 +59164,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.
@@ -51807,7 +59185,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 @@ -51828,7 +59206,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: * @@ -51858,23 +59236,23 @@ /** * @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' }, /** - * 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 @@ -51892,7 +59270,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 @@ -51931,7 +59309,7 @@ * @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', /** @@ -51941,9 +59319,9 @@ 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' }, @@ -52007,8 +59385,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, /** @@ -52035,7 +59413,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 @@ -52052,27 +59430,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 @@ -52080,9 +59458,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: { @@ -52096,7 +59474,7 @@ */ var Defaults = { /** - * Popper's placement + * Popper's placement. * @prop {Popper.placements} placement='bottom' */ placement: 'bottom', @@ -52108,7 +59486,7 @@ positionFixed: false, /** - * Whether events (resize, scroll) are initially enabled + * Whether events (resize, scroll) are initially enabled. * @prop {Boolean} eventsEnabled=true */ eventsEnabled: true, @@ -52122,17 +59500,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} */ @@ -52140,7 +59518,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 @@ -52160,10 +59538,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 */ @@ -52259,7 +59637,7 @@ } /** - * 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 */ @@ -52296,7 +59674,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. @@ -52319,78 +59697,76 @@ /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) /***/ }), -/* 754 */ +/* 696 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; + var _interopRequireWildcard = __webpack_require__(688); + + var _interopRequireDefault = __webpack_require__(687); + Object.defineProperty(exports, "__esModule", { value: true }); - exports.ManagerContext = undefined; - - var _extends2 = __webpack_require__(671); - - var _extends3 = _interopRequireDefault(_extends2); - - var _classCallCheck2 = __webpack_require__(709); - - var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); - - var _possibleConstructorReturn2 = __webpack_require__(710); - - var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2); - - var _inherits2 = __webpack_require__(745); + exports.default = exports.ManagerContext = void 0; - var _inherits3 = _interopRequireDefault(_inherits2); + var _extends2 = _interopRequireDefault(__webpack_require__(691)); - var _react = __webpack_require__(327); + var _inheritsLoose2 = _interopRequireDefault(__webpack_require__(692)); - var React = _interopRequireWildcard(_react); + var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(693)); - var _createReactContext = __webpack_require__(755); + var _defineProperty2 = _interopRequireDefault(__webpack_require__(694)); - var _createReactContext2 = _interopRequireDefault(_createReactContext); + var React = _interopRequireWildcard(__webpack_require__(333)); - function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + var _createReactContext = _interopRequireDefault(__webpack_require__(697)); - var ManagerContext = exports.ManagerContext = (0, _createReactContext2.default)({ getReferenceRef: undefined, referenceNode: undefined }); + var ManagerContext = (0, _createReactContext.default)({ + setReferenceNode: undefined, + referenceNode: undefined + }); + exports.ManagerContext = ManagerContext; - var Manager = function (_React$Component) { - (0, _inherits3.default)(Manager, _React$Component); + var Manager = + /*#__PURE__*/ + function (_React$Component) { + (0, _inheritsLoose2.default)(Manager, _React$Component); function Manager() { - (0, _classCallCheck3.default)(this, Manager); + var _this; - var _this = (0, _possibleConstructorReturn3.default)(this, _React$Component.call(this)); + _this = _React$Component.call(this) || this; + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "setReferenceNode", function (referenceNode) { + if (!referenceNode || _this.state.context.referenceNode === referenceNode) { + return; + } - _this.getReferenceRef = function (referenceNode) { - return _this.setState(function (_ref) { + _this.setState(function (_ref) { var context = _ref.context; return { - context: (0, _extends3.default)({}, context, { referenceNode: referenceNode }) + context: (0, _extends2.default)({}, context, { + referenceNode: referenceNode + }) }; }); - }; - + }); _this.state = { context: { - getReferenceRef: _this.getReferenceRef, + setReferenceNode: _this.setReferenceNode, referenceNode: undefined } }; return _this; } - Manager.prototype.render = function render() { - return React.createElement( - ManagerContext.Provider, - { value: this.state.context }, - this.props.children - ); + var _proto = Manager.prototype; + + _proto.render = function render() { + return React.createElement(ManagerContext.Provider, { + value: this.state.context + }, this.props.children); }; return Manager; @@ -52399,18 +59775,18 @@ exports.default = Manager; /***/ }), -/* 755 */ +/* 697 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _implementation = __webpack_require__(756); + var _implementation = __webpack_require__(698); var _implementation2 = _interopRequireDefault(_implementation); @@ -52420,26 +59796,26 @@ module.exports = exports['default']; /***/ }), -/* 756 */ +/* 698 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(757); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _gud = __webpack_require__(762); + var _gud = __webpack_require__(699); var _gud2 = _interopRequireDefault(_gud); - var _warning = __webpack_require__(763); + var _warning = __webpack_require__(700); var _warning2 = _interopRequireDefault(_warning); @@ -52621,17 +59997,7 @@ module.exports = exports['default']; /***/ }), -/* 757 */ -[886, 758], -/* 758 */ -[887, 759, 760, 761], -/* 759 */ -519, -/* 760 */ -520, -/* 761 */ -521, -/* 762 */ +/* 699 */ /***/ (function(module, exports) { /* WEBPACK VAR INJECTION */(function(global) {// @flow @@ -52646,7 +60012,7 @@ /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) /***/ }), -/* 763 */ +/* 700 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -52659,7 +60025,7 @@ 'use strict'; - var emptyFunction = __webpack_require__(764); + var emptyFunction = __webpack_require__(701); /** * Similar to invariant but only logs a warning if the condition is not met. @@ -52713,9 +60079,48 @@ module.exports = warning; /***/ }), -/* 764 */ -519, -/* 765 */ +/* 701 */ +/***/ (function(module, exports) { + + "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. + * + * + */ + + 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; + +/***/ }), +/* 702 */ /***/ (function(module, exports) { "use strict"; @@ -52723,122 +60128,116 @@ Object.defineProperty(exports, "__esModule", { value: true }); - + exports.safeInvoke = exports.unwrapArray = void 0; /** * Takes an argument and if it's an array, returns the first item in the array, * otherwise returns the argument. Used for Preact compatibility. */ - var unwrapArray = exports.unwrapArray = function unwrapArray(arg) { + var unwrapArray = function unwrapArray(arg) { return Array.isArray(arg) ? arg[0] : arg; }; - /** * Takes a maybe-undefined function and arbitrary args and invokes the function * only if it is defined. */ - var safeInvoke = exports.safeInvoke = function safeInvoke(fn) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } + + exports.unwrapArray = unwrapArray; + + var safeInvoke = function safeInvoke(fn) { if (typeof fn === "function") { - return fn.apply(undefined, args); + for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + + return fn.apply(void 0, args); } }; + exports.safeInvoke = safeInvoke; + /***/ }), -/* 766 */ +/* 703 */ /***/ (function(module, exports, __webpack_require__) { - 'use strict'; + "use strict"; + + var _interopRequireWildcard = __webpack_require__(688); + + var _interopRequireDefault = __webpack_require__(687); Object.defineProperty(exports, "__esModule", { value: true }); - - var _extends2 = __webpack_require__(671); - - var _extends3 = _interopRequireDefault(_extends2); - - var _classCallCheck2 = __webpack_require__(709); - - var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); - - var _possibleConstructorReturn2 = __webpack_require__(710); - - var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2); - - var _inherits2 = __webpack_require__(745); - - var _inherits3 = _interopRequireDefault(_inherits2); - exports.default = Reference; - var _react = __webpack_require__(327); + var _extends2 = _interopRequireDefault(__webpack_require__(691)); - var React = _interopRequireWildcard(_react); + var _inheritsLoose2 = _interopRequireDefault(__webpack_require__(692)); - var _warning = __webpack_require__(767); + var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(693)); - var _warning2 = _interopRequireDefault(_warning); + var _defineProperty2 = _interopRequireDefault(__webpack_require__(694)); - var _Manager = __webpack_require__(754); + var React = _interopRequireWildcard(__webpack_require__(333)); - var _utils = __webpack_require__(765); + var _warning = _interopRequireDefault(__webpack_require__(704)); - function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + var _Manager = __webpack_require__(696); - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + var _utils = __webpack_require__(702); - var InnerReference = function (_React$Component) { - (0, _inherits3.default)(InnerReference, _React$Component); + var InnerReference = + /*#__PURE__*/ + function (_React$Component) { + (0, _inheritsLoose2.default)(InnerReference, _React$Component); function InnerReference() { - var _temp, _this, _ret; - - (0, _classCallCheck3.default)(this, InnerReference); + var _this; - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } - return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.refHandler = function (node) { + _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; + (0, _defineProperty2.default)((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), "refHandler", function (node) { (0, _utils.safeInvoke)(_this.props.innerRef, node); - (0, _utils.safeInvoke)(_this.props.getReferenceRef, node); - }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret); + (0, _utils.safeInvoke)(_this.props.setReferenceNode, node); + }); + return _this; } - InnerReference.prototype.render = function render() { - (0, _warning2.default)(this.props.getReferenceRef, '`Reference` should not be used outside of a `Manager` component.'); - return (0, _utils.unwrapArray)(this.props.children)({ ref: this.refHandler }); + var _proto = InnerReference.prototype; + + _proto.render = function render() { + (0, _warning.default)(Boolean(this.props.setReferenceNode), '`Reference` should not be used outside of a `Manager` component.'); + return (0, _utils.unwrapArray)(this.props.children)({ + ref: this.refHandler + }); }; return InnerReference; }(React.Component); function Reference(props) { - return React.createElement( - _Manager.ManagerContext.Consumer, - null, - function (_ref) { - var getReferenceRef = _ref.getReferenceRef; - return React.createElement(InnerReference, (0, _extends3.default)({ getReferenceRef: getReferenceRef }, props)); - } - ); + return React.createElement(_Manager.ManagerContext.Consumer, null, function (_ref) { + var setReferenceNode = _ref.setReferenceNode; + return React.createElement(InnerReference, (0, _extends2.default)({ + setReferenceNode: setReferenceNode + }, props)); + }); } /***/ }), -/* 767 */ +/* 704 */ /***/ (function(module, exports, __webpack_require__) { /** - * Copyright 2014-2015, Facebook, Inc. - * All rights reserved. + * Copyright (c) 2014-present, Facebook, Inc. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ 'use strict'; @@ -52850,43 +60249,47 @@ * same logic and follow the same code paths. */ + var __DEV__ = ("production") !== 'production'; + var warning = function() {}; - if (false) { - warning = function(condition, format, args) { + if (__DEV__) { + var printWarning = function printWarning(format, args) { var len = arguments.length; args = new Array(len > 2 ? len - 2 : 0); for (var key = 2; key < len; key++) { args[key - 2] = arguments[key]; } - if (format === undefined) { - throw new Error( - '`warning(condition, format, ...args)` requires a warning ' + - 'message argument' - ); + var argIndex = 0; + var message = 'Warning: ' + + format.replace(/%s/g, function() { + return args[argIndex++]; + }); + if (typeof console !== 'undefined') { + console.error(message); } + try { + // --- Welcome to debugging React --- + // This error was thrown as a convenience so that you can use this stack + // to find the callsite that caused this warning to fire. + throw new Error(message); + } catch (x) {} + } - if (format.length < 10 || (/^[s\W]*$/).test(format)) { + warning = function(condition, format, args) { + var len = arguments.length; + args = new Array(len > 2 ? len - 2 : 0); + for (var key = 2; key < len; key++) { + args[key - 2] = arguments[key]; + } + if (format === undefined) { throw new Error( - 'The warning format should be able to uniquely identify this ' + - 'warning. Please, use a more descriptive format than: ' + format + '`warning(condition, format, ...args)` requires a warning ' + + 'message argument' ); } - if (!condition) { - var argIndex = 0; - var message = 'Warning: ' + - format.replace(/%s/g, function() { - return args[argIndex++]; - }); - if (typeof console !== 'undefined') { - console.error(message); - } - try { - // This error was thrown as a convenience so that you can use this stack - // to find the callsite that caused this warning to fire. - throw new Error(message); - } catch(x) {} + printWarning.apply(null, [format].concat(args)); } }; } @@ -52895,18 +60298,18 @@ /***/ }), -/* 768 */ +/* 705 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); @@ -52951,22 +60354,22 @@ exports.default = CodeExampleComponent; /***/ }), -/* 769 */ +/* 706 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -53038,22 +60441,22 @@ exports.default = CustomDateFormat; /***/ }), -/* 770 */ +/* 707 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -53115,22 +60518,22 @@ exports.default = CustomClassName; /***/ }), -/* 771 */ +/* 708 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -53192,22 +60595,22 @@ exports.default = CustomCalendarClassName; /***/ }), -/* 772 */ +/* 709 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -53271,7 +60674,7 @@ exports.default = CustomDayClassNames; /***/ }), -/* 773 */ +/* 710 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -53279,11 +60682,11 @@ exports.__esModule = true; exports.default = PlaceholderText; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -53311,22 +60714,22 @@ } /***/ }), -/* 774 */ +/* 711 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -53411,18 +60814,18 @@ exports.default = SpecificDateRange; /***/ }), -/* 775 */ +/* 712 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -53498,22 +60901,22 @@ exports.default = CustomStartDate; /***/ }), -/* 776 */ +/* 713 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -53589,22 +60992,22 @@ exports.default = ExcludeDates; /***/ }), -/* 777 */ +/* 714 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -53680,22 +61083,22 @@ exports.default = highlightDates; /***/ }), -/* 778 */ +/* 715 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -53814,22 +61217,22 @@ exports.default = highlightDatesRanges; /***/ }), -/* 779 */ +/* 716 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -53905,18 +61308,18 @@ exports.default = includeDates; /***/ }), -/* 780 */ +/* 717 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -53995,18 +61398,18 @@ exports.default = FilterDates; /***/ }), -/* 781 */ +/* 718 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -54082,22 +61485,22 @@ exports.default = Disabled; /***/ }), -/* 782 */ +/* 719 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -54172,22 +61575,22 @@ exports.default = DisabledKeyboardNavigation; /***/ }), -/* 783 */ +/* 720 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -54250,18 +61653,18 @@ exports.default = ClearInput; /***/ }), -/* 784 */ +/* 721 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -54352,22 +61755,22 @@ exports.default = Disabled; /***/ }), -/* 785 */ +/* 722 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -54441,22 +61844,22 @@ exports.default = ConfigurePopper; /***/ }), -/* 786 */ +/* 723 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -54543,22 +61946,22 @@ exports.default = DateRange; /***/ }), -/* 787 */ +/* 724 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -54623,22 +62026,22 @@ exports.default = DateRangeWithShowDisabledNavigation; /***/ }), -/* 788 */ +/* 725 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -54700,22 +62103,22 @@ exports.default = TabIndex; /***/ }), -/* 789 */ +/* 726 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -54780,22 +62183,22 @@ exports.default = YearDropdown; /***/ }), -/* 790 */ +/* 727 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -54857,22 +62260,22 @@ exports.default = MonthDropdown; /***/ }), -/* 791 */ +/* 728 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -54938,22 +62341,22 @@ exports.default = MonthYearDropdown; /***/ }), -/* 792 */ +/* 729 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -55016,22 +62419,22 @@ exports.default = MonthDropdownShort; /***/ }), -/* 793 */ +/* 730 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -55096,22 +62499,22 @@ exports.default = YearDropdown; /***/ }), -/* 794 */ +/* 731 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -55173,18 +62576,18 @@ exports.default = Today; /***/ }), -/* 795 */ +/* 732 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -55323,22 +62726,22 @@ exports.default = TimeZoneDate; /***/ }), -/* 796 */ +/* 733 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -55401,22 +62804,22 @@ exports.default = Inline; /***/ }), -/* 797 */ +/* 734 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -55479,18 +62882,18 @@ exports.default = OpenToDate; /***/ }), -/* 798 */ +/* 735 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -55559,22 +62962,22 @@ exports.default = FixedCalendar; /***/ }), -/* 799 */ +/* 736 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -55636,26 +63039,26 @@ exports.default = Default; /***/ }), -/* 800 */ +/* 737 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -55745,22 +63148,22 @@ exports.default = CustomInput; /***/ }), -/* 801 */ +/* 738 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -55822,22 +63225,22 @@ exports.default = MultiMonth; /***/ }), -/* 802 */ +/* 739 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -55900,22 +63303,22 @@ exports.default = MultiMonthDrp; /***/ }), -/* 803 */ +/* 740 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -55979,22 +63382,22 @@ exports.default = MultiMonthInline; /***/ }), -/* 804 */ +/* 741 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -56063,26 +63466,26 @@ exports.default = Children; /***/ }), -/* 805 */ +/* 742 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _propTypes = __webpack_require__(517); + var _propTypes = __webpack_require__(532); var _propTypes2 = _interopRequireDefault(_propTypes); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -56176,22 +63579,22 @@ }; /***/ }), -/* 806 */ +/* 743 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -56253,22 +63656,22 @@ exports.default = WithPortal; /***/ }), -/* 807 */ +/* 744 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -56343,22 +63746,22 @@ exports.default = InlinePortalVersion; /***/ }), -/* 808 */ +/* 745 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -56430,18 +63833,18 @@ exports.default = RawChanges; /***/ }), -/* 809 */ +/* 746 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -56518,22 +63921,22 @@ exports.default = ReadOnly; /***/ }), -/* 810 */ +/* 747 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -56605,22 +64008,22 @@ exports.default = ShowTime; /***/ }), -/* 811 */ +/* 748 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -56692,22 +64095,22 @@ exports.default = ShowTimeOnly; /***/ }), -/* 812 */ +/* 749 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -56792,22 +64195,22 @@ exports.default = ExcludeTimes; /***/ }), -/* 813 */ +/* 750 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -56891,22 +64294,22 @@ exports.default = ExcludeTimePeriod; /***/ }), -/* 814 */ +/* 751 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -56991,22 +64394,22 @@ exports.default = IncludeTimes; /***/ }), -/* 815 */ +/* 752 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -57079,22 +64482,22 @@ exports.default = InjectTimes; /***/ }), -/* 816 */ +/* 753 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -57156,26 +64559,26 @@ exports.default = DontCloseOnSelect; /***/ }), -/* 817 */ +/* 754 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); - var _range = __webpack_require__(818); + var _range = __webpack_require__(755); var _range2 = _interopRequireDefault(_range); @@ -57309,10 +64712,10 @@ exports.default = Default; /***/ }), -/* 818 */ +/* 755 */ /***/ (function(module, exports, __webpack_require__) { - var createRange = __webpack_require__(819); + var createRange = __webpack_require__(756); /** * Creates an array of numbers (positive and/or negative) progressing from @@ -57361,12 +64764,12 @@ /***/ }), -/* 819 */ +/* 756 */ /***/ (function(module, exports, __webpack_require__) { - var baseRange = __webpack_require__(820), - isIterateeCall = __webpack_require__(821), - toFinite = __webpack_require__(834); + var baseRange = __webpack_require__(757), + isIterateeCall = __webpack_require__(758), + toFinite = __webpack_require__(771); /** * Creates a `_.range` or `_.rangeRight` function. @@ -57397,7 +64800,7 @@ /***/ }), -/* 820 */ +/* 757 */ /***/ (function(module, exports) { /* Built-in method references for those with the same name as other `lodash` methods. */ @@ -57431,13 +64834,13 @@ /***/ }), -/* 821 */ +/* 758 */ /***/ (function(module, exports, __webpack_require__) { - var eq = __webpack_require__(822), - isArrayLike = __webpack_require__(823), - isIndex = __webpack_require__(833), - isObject = __webpack_require__(831); + var eq = __webpack_require__(759), + isArrayLike = __webpack_require__(760), + isIndex = __webpack_require__(770), + isObject = __webpack_require__(768); /** * Checks if the given arguments are from an iteratee call. @@ -57467,7 +64870,7 @@ /***/ }), -/* 822 */ +/* 759 */ /***/ (function(module, exports) { /** @@ -57510,11 +64913,11 @@ /***/ }), -/* 823 */ +/* 760 */ /***/ (function(module, exports, __webpack_require__) { - var isFunction = __webpack_require__(824), - isLength = __webpack_require__(832); + var isFunction = __webpack_require__(761), + isLength = __webpack_require__(769); /** * Checks if `value` is array-like. A value is considered array-like if it's @@ -57549,11 +64952,11 @@ /***/ }), -/* 824 */ +/* 761 */ /***/ (function(module, exports, __webpack_require__) { - var baseGetTag = __webpack_require__(825), - isObject = __webpack_require__(831); + var baseGetTag = __webpack_require__(762), + isObject = __webpack_require__(768); /** `Object#toString` result references. */ var asyncTag = '[object AsyncFunction]', @@ -57592,12 +64995,12 @@ /***/ }), -/* 825 */ +/* 762 */ /***/ (function(module, exports, __webpack_require__) { - var Symbol = __webpack_require__(826), - getRawTag = __webpack_require__(829), - objectToString = __webpack_require__(830); + var Symbol = __webpack_require__(763), + getRawTag = __webpack_require__(766), + objectToString = __webpack_require__(767); /** `Object#toString` result references. */ var nullTag = '[object Null]', @@ -57626,10 +65029,10 @@ /***/ }), -/* 826 */ +/* 763 */ /***/ (function(module, exports, __webpack_require__) { - var root = __webpack_require__(827); + var root = __webpack_require__(764); /** Built-in value references. */ var Symbol = root.Symbol; @@ -57638,10 +65041,10 @@ /***/ }), -/* 827 */ +/* 764 */ /***/ (function(module, exports, __webpack_require__) { - var freeGlobal = __webpack_require__(828); + var freeGlobal = __webpack_require__(765); /** Detect free variable `self`. */ var freeSelf = typeof self == 'object' && self && self.Object === Object && self; @@ -57653,7 +65056,7 @@ /***/ }), -/* 828 */ +/* 765 */ /***/ (function(module, exports) { /* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */ @@ -57664,10 +65067,10 @@ /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) /***/ }), -/* 829 */ +/* 766 */ /***/ (function(module, exports, __webpack_require__) { - var Symbol = __webpack_require__(826); + var Symbol = __webpack_require__(763); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -57716,7 +65119,7 @@ /***/ }), -/* 830 */ +/* 767 */ /***/ (function(module, exports) { /** Used for built-in method references. */ @@ -57744,7 +65147,7 @@ /***/ }), -/* 831 */ +/* 768 */ /***/ (function(module, exports) { /** @@ -57781,7 +65184,7 @@ /***/ }), -/* 832 */ +/* 769 */ /***/ (function(module, exports) { /** Used as references for various `Number` constants. */ @@ -57822,7 +65225,7 @@ /***/ }), -/* 833 */ +/* 770 */ /***/ (function(module, exports) { /** Used as references for various `Number` constants. */ @@ -57840,20 +65243,23 @@ * @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)) && - (value > -1 && value % 1 == 0 && value < length); + (type == 'number' || + (type != 'symbol' && reIsUint.test(value))) && + (value > -1 && value % 1 == 0 && value < length); } module.exports = isIndex; /***/ }), -/* 834 */ +/* 771 */ /***/ (function(module, exports, __webpack_require__) { - var toNumber = __webpack_require__(835); + var toNumber = __webpack_require__(772); /** Used as references for various `Number` constants. */ var INFINITY = 1 / 0, @@ -57898,11 +65304,11 @@ /***/ }), -/* 835 */ +/* 772 */ /***/ (function(module, exports, __webpack_require__) { - var isObject = __webpack_require__(831), - isSymbol = __webpack_require__(836); + var isObject = __webpack_require__(768), + isSymbol = __webpack_require__(773); /** Used as references for various `Number` constants. */ var NAN = 0 / 0; @@ -57970,11 +65376,11 @@ /***/ }), -/* 836 */ +/* 773 */ /***/ (function(module, exports, __webpack_require__) { - var baseGetTag = __webpack_require__(825), - isObjectLike = __webpack_require__(837); + var baseGetTag = __webpack_require__(762), + isObjectLike = __webpack_require__(774); /** `Object#toString` result references. */ var symbolTag = '[object Symbol]'; @@ -58005,7 +65411,7 @@ /***/ }), -/* 837 */ +/* 774 */ /***/ (function(module, exports) { /** @@ -58040,30 +65446,30 @@ /***/ }), -/* 838 */ +/* 775 */ /***/ (function(module, exports) { // removed by extract-text-webpack-plugin /***/ }), -/* 839 */ -838, -/* 840 */ +/* 776 */ +775, +/* 777 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; - var _react = __webpack_require__(327); + var _react = __webpack_require__(333); var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(515); + var _reactDatepicker = __webpack_require__(530); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(533); + var _moment = __webpack_require__(546); var _moment2 = _interopRequireDefault(_moment); @@ -58108,1204 +65514,5 @@ exports.default = HeroExample; -/***/ }), -/* 841 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__, __webpack_module_template_argument_3__, __webpack_module_template_argument_4__, __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_10__, __webpack_module_template_argument_11__, __webpack_module_template_argument_12__, __webpack_module_template_argument_13__, __webpack_module_template_argument_14__, __webpack_module_template_argument_15__, __webpack_module_template_argument_16__, __webpack_module_template_argument_17__, __webpack_module_template_argument_18__, __webpack_module_template_argument_19__, __webpack_module_template_argument_20__, __webpack_module_template_argument_21__, __webpack_module_template_argument_22__, __webpack_module_template_argument_23__, __webpack_module_template_argument_24__, __webpack_module_template_argument_25__, __webpack_module_template_argument_26__, __webpack_module_template_argument_27__, __webpack_module_template_argument_28__) { - - 'use strict'; - // ECMAScript 6 symbols shim - var global = __webpack_require__(__webpack_module_template_argument_0__); - var has = __webpack_require__(__webpack_module_template_argument_1__); - var DESCRIPTORS = __webpack_require__(__webpack_module_template_argument_2__); - var $export = __webpack_require__(__webpack_module_template_argument_3__); - var redefine = __webpack_require__(__webpack_module_template_argument_4__); - var META = __webpack_require__(__webpack_module_template_argument_5__).KEY; - var $fails = __webpack_require__(__webpack_module_template_argument_6__); - var shared = __webpack_require__(__webpack_module_template_argument_7__); - var setToStringTag = __webpack_require__(__webpack_module_template_argument_8__); - var uid = __webpack_require__(__webpack_module_template_argument_9__); - var wks = __webpack_require__(__webpack_module_template_argument_10__); - var wksExt = __webpack_require__(__webpack_module_template_argument_11__); - var wksDefine = __webpack_require__(__webpack_module_template_argument_12__); - var enumKeys = __webpack_require__(__webpack_module_template_argument_13__); - var isArray = __webpack_require__(__webpack_module_template_argument_14__); - var anObject = __webpack_require__(__webpack_module_template_argument_15__); - var toIObject = __webpack_require__(__webpack_module_template_argument_16__); - var toPrimitive = __webpack_require__(__webpack_module_template_argument_17__); - var createDesc = __webpack_require__(__webpack_module_template_argument_18__); - var _create = __webpack_require__(__webpack_module_template_argument_19__); - var gOPNExt = __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 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 isEnum = {}.propertyIsEnumerable; - 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 QObject = global.QObject; - // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 - var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; - - // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 - var setSymbolDesc = DESCRIPTORS && $fails(function () { - return _create(dP({}, 'a', { - get: function () { return dP(this, 'a', { value: 7 }).a; } - })).a != 7; - }) ? function (it, key, D) { - var protoDesc = gOPD(ObjectProto, key); - if (protoDesc) delete ObjectProto[key]; - dP(it, key, D); - if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); - } : dP; - - var wrap = function (tag) { - var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); - sym._k = tag; - return sym; - }; - - var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { - return typeof it == 'symbol'; - } : function (it) { - return it instanceof $Symbol; - }; - - var $defineProperty = function defineProperty(it, key, D) { - if (it === ObjectProto) $defineProperty(OPSymbols, key, D); - anObject(it); - key = toPrimitive(key, true); - anObject(D); - if (has(AllSymbols, key)) { - if (!D.enumerable) { - if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); - it[HIDDEN][key] = true; - } else { - if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; - D = _create(D, { enumerable: createDesc(0, false) }); - } return setSymbolDesc(it, key, D); - } return dP(it, key, D); - }; - var $defineProperties = function defineProperties(it, P) { - anObject(it); - var keys = enumKeys(P = toIObject(P)); - var i = 0; - var l = keys.length; - var key; - while (l > i) $defineProperty(it, key = keys[i++], P[key]); - return it; - }; - var $create = function create(it, P) { - return P === undefined ? _create(it) : $defineProperties(_create(it), P); - }; - var $propertyIsEnumerable = function propertyIsEnumerable(key) { - var E = isEnum.call(this, key = toPrimitive(key, true)); - if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; - return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; - }; - var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { - it = toIObject(it); - key = toPrimitive(key, true); - if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; - var D = gOPD(it, key); - if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; - return D; - }; - var $getOwnPropertyNames = function getOwnPropertyNames(it) { - var names = gOPN(toIObject(it)); - var result = []; - var i = 0; - var key; - while (names.length > i) { - if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); - } return result; - }; - var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { - var IS_OP = it === ObjectProto; - var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); - var result = []; - var i = 0; - var key; - while (names.length > i) { - if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); - } return result; - }; - - // 19.4.1.1 Symbol([description]) - if (!USE_NATIVE) { - $Symbol = function Symbol() { - if (this instanceof $Symbol) 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); - if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; - setSymbolDesc(this, tag, createDesc(1, value)); - }; - if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); - return wrap(tag); - }; - redefine($Symbol[PROTOTYPE], 'toString', function toString() { - return this._k; - }); - - $GOPD.f = $getOwnPropertyDescriptor; - $DP.f = $defineProperty; - __webpack_require__(__webpack_module_template_argument_24__).f = gOPNExt.f = $getOwnPropertyNames; - __webpack_require__(__webpack_module_template_argument_25__).f = $propertyIsEnumerable; - __webpack_require__(__webpack_module_template_argument_26__).f = $getOwnPropertySymbols; - - if (DESCRIPTORS && !__webpack_require__(__webpack_module_template_argument_27__)) { - redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); - } - - wksExt.f = function (name) { - return wrap(wks(name)); - }; - } - - $export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); - - 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(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); - - for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); - - $export($export.S + $export.F * !USE_NATIVE, 'Symbol', { - // 19.4.2.1 Symbol.for(key) - 'for': function (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!'); - for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; - }, - useSetter: function () { setter = true; }, - useSimple: function () { setter = false; } - }); - - $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) - defineProperty: $defineProperty, - // 19.1.2.3 Object.defineProperties(O, Properties) - defineProperties: $defineProperties, - // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) - getOwnPropertyDescriptor: $getOwnPropertyDescriptor, - // 19.1.2.7 Object.getOwnPropertyNames(O) - getOwnPropertyNames: $getOwnPropertyNames, - // 19.1.2.8 Object.getOwnPropertySymbols(O) - getOwnPropertySymbols: $getOwnPropertySymbols - }); - - // 24.3.2 JSON.stringify(value [, replacer [, space]]) - $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { - var S = $Symbol(); - // MS Edge converts symbol values to JSON as {} - // WebKit converts symbol values to JSON as null - // V8 throws on boxed symbols - return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; - })), '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 = function (key, value) { - if ($replacer) value = $replacer.call(this, key, value); - if (!isSymbol(value)) return value; - }; - args[1] = replacer; - return _stringify.apply($JSON, args); - } - }); - - // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) - $Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(__webpack_module_template_argument_28__)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); - // 19.4.3.5 Symbol.prototype[@@toStringTag] - setToStringTag($Symbol, 'Symbol'); - // 20.2.1.9 Math[@@toStringTag] - setToStringTag(Math, 'Math', true); - // 24.3.3 JSON[@@toStringTag] - setToStringTag(global.JSON, 'JSON', true); - - -/***/ }), -/* 842 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { - - // Thank's IE8 for his funny defineProperty - module.exports = !__webpack_require__(__webpack_module_template_argument_0__)(function () { - return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; - }); - - -/***/ }), -/* 843 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__) { - - var dP = __webpack_require__(__webpack_module_template_argument_0__); - var createDesc = __webpack_require__(__webpack_module_template_argument_1__); - module.exports = __webpack_require__(__webpack_module_template_argument_2__) ? function (object, key, value) { - return dP.f(object, key, createDesc(1, value)); - } : function (object, key, value) { - object[key] = value; - return object; - }; - - -/***/ }), -/* 844 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__, __webpack_module_template_argument_3__) { - - var anObject = __webpack_require__(__webpack_module_template_argument_0__); - var IE8_DOM_DEFINE = __webpack_require__(__webpack_module_template_argument_1__); - var toPrimitive = __webpack_require__(__webpack_module_template_argument_2__); - var dP = Object.defineProperty; - - exports.f = __webpack_require__(__webpack_module_template_argument_3__) ? Object.defineProperty : function defineProperty(O, P, Attributes) { - anObject(O); - P = toPrimitive(P, true); - anObject(Attributes); - if (IE8_DOM_DEFINE) try { - return dP(O, P, Attributes); - } catch (e) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); - if ('value' in Attributes) O[P] = Attributes.value; - return O; - }; - - -/***/ }), -/* 845 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { - - var isObject = __webpack_require__(__webpack_module_template_argument_0__); - module.exports = function (it) { - if (!isObject(it)) throw TypeError(it + ' is not an object!'); - return it; - }; - - -/***/ }), -/* 846 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__) { - - module.exports = !__webpack_require__(__webpack_module_template_argument_0__) && !__webpack_require__(__webpack_module_template_argument_1__)(function () { - return Object.defineProperty(__webpack_require__(__webpack_module_template_argument_2__)('div'), 'a', { get: function () { return 7; } }).a != 7; - }); - - -/***/ }), -/* 847 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { - - var isObject = __webpack_require__(__webpack_module_template_argument_0__); - var document = __webpack_require__(__webpack_module_template_argument_1__).document; - // typeof document.createElement is 'object' in old IE - var is = isObject(document) && isObject(document.createElement); - module.exports = function (it) { - return is ? document.createElement(it) : {}; - }; - - -/***/ }), -/* 848 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { - - // 7.1.1 ToPrimitive(input [, PreferredType]) - var isObject = __webpack_require__(__webpack_module_template_argument_0__); - // instead of the ES6 spec version, we didn't implement @@toPrimitive case - // and the second argument - flag - preferred type is a string - module.exports = function (it, S) { - if (!isObject(it)) return it; - var fn, val; - if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; - if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; - if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; - throw TypeError("Can't convert object to primitive value"); - }; - - -/***/ }), -/* 849 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { - - // optional / simple context binding - var aFunction = __webpack_require__(__webpack_module_template_argument_0__); - module.exports = function (fn, that, length) { - aFunction(fn); - if (that === undefined) return fn; - switch (length) { - case 1: return function (a) { - return fn.call(that, a); - }; - case 2: return function (a, b) { - return fn.call(that, a, b); - }; - case 3: return function (a, b, c) { - return fn.call(that, a, b, c); - }; - } - return function (/* ...args */) { - return fn.apply(that, arguments); - }; - }; - - -/***/ }), -/* 850 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__, __webpack_module_template_argument_3__, __webpack_module_template_argument_4__) { - - var META = __webpack_require__(__webpack_module_template_argument_0__)('meta'); - var isObject = __webpack_require__(__webpack_module_template_argument_1__); - var has = __webpack_require__(__webpack_module_template_argument_2__); - var setDesc = __webpack_require__(__webpack_module_template_argument_3__).f; - var id = 0; - var isExtensible = Object.isExtensible || function () { - return true; - }; - var FREEZE = !__webpack_require__(__webpack_module_template_argument_4__)(function () { - return isExtensible(Object.preventExtensions({})); - }); - var setMeta = function (it) { - setDesc(it, META, { value: { - i: 'O' + ++id, // object ID - w: {} // weak collections IDs - } }); - }; - var fastKey = function (it, create) { - // return primitive with prefix - if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; - if (!has(it, META)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return 'F'; - // not necessary to add metadata - if (!create) return 'E'; - // add missing metadata - setMeta(it); - // return object ID - } return it[META].i; - }; - var getWeak = function (it, create) { - if (!has(it, META)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return true; - // not necessary to add metadata - if (!create) return false; - // add missing metadata - setMeta(it); - // return hash weak collections IDs - } return it[META].w; - }; - // add metadata on freeze-family methods calling - var onFreeze = function (it) { - if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); - return it; - }; - var meta = module.exports = { - KEY: META, - NEED: false, - fastKey: fastKey, - getWeak: getWeak, - onFreeze: onFreeze - }; - - -/***/ }), -/* 851 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { - - var global = __webpack_require__(__webpack_module_template_argument_0__); - var SHARED = '__core-js_shared__'; - var store = global[SHARED] || (global[SHARED] = {}); - module.exports = function (key) { - return store[key] || (store[key] = {}); - }; - - -/***/ }), -/* 852 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__) { - - 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'); - - module.exports = function (it, tag, stat) { - if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); - }; - - -/***/ }), -/* 853 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__) { - - var store = __webpack_require__(__webpack_module_template_argument_0__)('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 $exports = module.exports = function (name) { - return store[name] || (store[name] = - USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); - }; - - $exports.store = store; - - -/***/ }), -/* 854 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { - - exports.f = __webpack_require__(__webpack_module_template_argument_0__); - - -/***/ }), -/* 855 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__, __webpack_module_template_argument_3__, __webpack_module_template_argument_4__) { - - var global = __webpack_require__(__webpack_module_template_argument_0__); - var core = __webpack_require__(__webpack_module_template_argument_1__); - var LIBRARY = __webpack_require__(__webpack_module_template_argument_2__); - var wksExt = __webpack_require__(__webpack_module_template_argument_3__); - var defineProperty = __webpack_require__(__webpack_module_template_argument_4__).f; - module.exports = function (name) { - var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); - if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); - }; - - -/***/ }), -/* 856 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__) { - - // all enumerable object keys, includes symbols - var getKeys = __webpack_require__(__webpack_module_template_argument_0__); - var gOPS = __webpack_require__(__webpack_module_template_argument_1__); - var pIE = __webpack_require__(__webpack_module_template_argument_2__); - module.exports = function (it) { - var result = getKeys(it); - var getSymbols = gOPS.f; - if (getSymbols) { - var symbols = getSymbols(it); - var isEnum = pIE.f; - var i = 0; - var key; - while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); - } return result; - }; - - -/***/ }), -/* 857 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { - - // 19.1.2.14 / 15.2.3.14 Object.keys(O) - var $keys = __webpack_require__(__webpack_module_template_argument_0__); - var enumBugKeys = __webpack_require__(__webpack_module_template_argument_1__); - - module.exports = Object.keys || function keys(O) { - return $keys(O, enumBugKeys); - }; - - -/***/ }), -/* 858 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__, __webpack_module_template_argument_3__) { - - var has = __webpack_require__(__webpack_module_template_argument_0__); - var toIObject = __webpack_require__(__webpack_module_template_argument_1__); - var arrayIndexOf = __webpack_require__(__webpack_module_template_argument_2__)(false); - var IE_PROTO = __webpack_require__(__webpack_module_template_argument_3__)('IE_PROTO'); - - module.exports = function (object, names) { - var O = toIObject(object); - var i = 0; - var result = []; - var key; - for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); - // Don't enum bug & hidden keys - while (names.length > i) if (has(O, key = names[i++])) { - ~arrayIndexOf(result, key) || result.push(key); - } - return result; - }; - - -/***/ }), -/* 859 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { - - // to indexed object, toObject with fallback for non-array-like ES3 strings - var IObject = __webpack_require__(__webpack_module_template_argument_0__); - var defined = __webpack_require__(__webpack_module_template_argument_1__); - module.exports = function (it) { - return IObject(defined(it)); - }; - - -/***/ }), -/* 860 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { - - // 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) ? Object : function (it) { - return cof(it) == 'String' ? it.split('') : Object(it); - }; - - -/***/ }), -/* 861 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__) { - - // false -> Array#indexOf - // true -> Array#includes - var toIObject = __webpack_require__(__webpack_module_template_argument_0__); - var toLength = __webpack_require__(__webpack_module_template_argument_1__); - var toAbsoluteIndex = __webpack_require__(__webpack_module_template_argument_2__); - module.exports = function (IS_INCLUDES) { - return function ($this, el, fromIndex) { - var O = toIObject($this); - var length = toLength(O.length); - var index = toAbsoluteIndex(fromIndex, length); - var value; - // Array#includes uses SameValueZero equality algorithm - // eslint-disable-next-line no-self-compare - if (IS_INCLUDES && el != el) while (length > index) { - value = O[index++]; - // eslint-disable-next-line no-self-compare - if (value != value) return true; - // Array#indexOf ignores holes, Array#includes - not - } else for (;length > index; index++) if (IS_INCLUDES || index in O) { - if (O[index] === el) return IS_INCLUDES || index || 0; - } return !IS_INCLUDES && -1; - }; - }; - - -/***/ }), -/* 862 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { - - // 7.1.15 ToLength - var toInteger = __webpack_require__(__webpack_module_template_argument_0__); - var min = Math.min; - module.exports = function (it) { - return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 - }; - - -/***/ }), -/* 863 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { - - var toInteger = __webpack_require__(__webpack_module_template_argument_0__); - var max = Math.max; - var min = Math.min; - module.exports = function (index, length) { - index = toInteger(index); - return index < 0 ? max(index + length, 0) : min(index, length); - }; - - -/***/ }), -/* 864 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { - - var shared = __webpack_require__(__webpack_module_template_argument_0__)('keys'); - var uid = __webpack_require__(__webpack_module_template_argument_1__); - module.exports = function (key) { - return shared[key] || (shared[key] = uid(key)); - }; - - -/***/ }), -/* 865 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { - - // 7.2.2 IsArray(argument) - var cof = __webpack_require__(__webpack_module_template_argument_0__); - module.exports = Array.isArray || function isArray(arg) { - return cof(arg) == 'Array'; - }; - - -/***/ }), -/* 866 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__, __webpack_module_template_argument_3__, __webpack_module_template_argument_4__, __webpack_module_template_argument_5__) { - - // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) - var anObject = __webpack_require__(__webpack_module_template_argument_0__); - var dPs = __webpack_require__(__webpack_module_template_argument_1__); - var enumBugKeys = __webpack_require__(__webpack_module_template_argument_2__); - var IE_PROTO = __webpack_require__(__webpack_module_template_argument_3__)('IE_PROTO'); - var Empty = function () { /* empty */ }; - 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'); - var i = enumBugKeys.length; - var lt = '<'; - var gt = '>'; - var iframeDocument; - iframe.style.display = 'none'; - __webpack_require__(__webpack_module_template_argument_5__).appendChild(iframe); - 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); - iframeDocument.close(); - createDict = iframeDocument.F; - while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; - return createDict(); - }; - - module.exports = Object.create || function create(O, Properties) { - var result; - if (O !== null) { - Empty[PROTOTYPE] = anObject(O); - result = new Empty(); - Empty[PROTOTYPE] = null; - // add "__proto__" for Object.getPrototypeOf polyfill - result[IE_PROTO] = O; - } else result = createDict(); - return Properties === undefined ? result : dPs(result, Properties); - }; - - -/***/ }), -/* 867 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__, __webpack_module_template_argument_3__) { - - var dP = __webpack_require__(__webpack_module_template_argument_0__); - var anObject = __webpack_require__(__webpack_module_template_argument_1__); - var getKeys = __webpack_require__(__webpack_module_template_argument_2__); - - module.exports = __webpack_require__(__webpack_module_template_argument_3__) ? Object.defineProperties : function defineProperties(O, Properties) { - anObject(O); - var keys = getKeys(Properties); - var length = keys.length; - var i = 0; - var P; - while (length > i) dP.f(O, P = keys[i++], Properties[P]); - return O; - }; - - -/***/ }), -/* 868 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { - - var document = __webpack_require__(__webpack_module_template_argument_0__).document; - module.exports = document && document.documentElement; - - -/***/ }), -/* 869 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { - - // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window - var toIObject = __webpack_require__(__webpack_module_template_argument_0__); - var gOPN = __webpack_require__(__webpack_module_template_argument_1__).f; - var toString = {}.toString; - - var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames - ? Object.getOwnPropertyNames(window) : []; - - var getWindowNames = function (it) { - try { - return gOPN(it); - } catch (e) { - return windowNames.slice(); - } - }; - - module.exports.f = function getOwnPropertyNames(it) { - return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); - }; - - -/***/ }), -/* 870 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { - - // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) - var $keys = __webpack_require__(__webpack_module_template_argument_0__); - var hiddenKeys = __webpack_require__(__webpack_module_template_argument_1__).concat('length', 'prototype'); - - exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { - return $keys(O, hiddenKeys); - }; - - -/***/ }), -/* 871 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__, __webpack_module_template_argument_3__, __webpack_module_template_argument_4__, __webpack_module_template_argument_5__, __webpack_module_template_argument_6__) { - - var pIE = __webpack_require__(__webpack_module_template_argument_0__); - var createDesc = __webpack_require__(__webpack_module_template_argument_1__); - var toIObject = __webpack_require__(__webpack_module_template_argument_2__); - var toPrimitive = __webpack_require__(__webpack_module_template_argument_3__); - var has = __webpack_require__(__webpack_module_template_argument_4__); - var IE8_DOM_DEFINE = __webpack_require__(__webpack_module_template_argument_5__); - var gOPD = Object.getOwnPropertyDescriptor; - - exports.f = __webpack_require__(__webpack_module_template_argument_6__) ? gOPD : function getOwnPropertyDescriptor(O, P) { - O = toIObject(O); - P = toPrimitive(P, true); - if (IE8_DOM_DEFINE) try { - return gOPD(O, P); - } catch (e) { /* empty */ } - if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); - }; - - -/***/ }), -/* 872 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { - - 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', { create: __webpack_require__(__webpack_module_template_argument_1__) }); - - -/***/ }), -/* 873 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { - - // 7.1.13 ToObject(argument) - var defined = __webpack_require__(__webpack_module_template_argument_0__); - module.exports = function (it) { - return Object(defined(it)); - }; - - -/***/ }), -/* 874 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__) { - - // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) - var has = __webpack_require__(__webpack_module_template_argument_0__); - var toObject = __webpack_require__(__webpack_module_template_argument_1__); - var IE_PROTO = __webpack_require__(__webpack_module_template_argument_2__)('IE_PROTO'); - var ObjectProto = Object.prototype; - - module.exports = Object.getPrototypeOf || function (O) { - O = toObject(O); - if (has(O, IE_PROTO)) return O[IE_PROTO]; - if (typeof O.constructor == 'function' && O instanceof O.constructor) { - return O.constructor.prototype; - } return O instanceof Object ? ObjectProto : null; - }; - - -/***/ }), -/* 875 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { - - // 19.1.3.1 Object.assign(target, source) - var $export = __webpack_require__(__webpack_module_template_argument_0__); - - $export($export.S + $export.F, 'Object', { assign: __webpack_require__(__webpack_module_template_argument_1__) }); - - -/***/ }), -/* 876 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__, __webpack_module_template_argument_3__, __webpack_module_template_argument_4__, __webpack_module_template_argument_5__) { - - '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__); - var pIE = __webpack_require__(__webpack_module_template_argument_2__); - var toObject = __webpack_require__(__webpack_module_template_argument_3__); - var IObject = __webpack_require__(__webpack_module_template_argument_4__); - var $assign = Object.assign; - - // should work with symbols and should have deterministic property order (V8 bug) - module.exports = !$assign || __webpack_require__(__webpack_module_template_argument_5__)(function () { - var A = {}; - var B = {}; - // eslint-disable-next-line no-undef - var S = Symbol(); - var K = 'abcdefghijklmnopqrst'; - A[S] = 7; - K.split('').forEach(function (k) { B[k] = k; }); - return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; - }) ? function assign(target, source) { // eslint-disable-line no-unused-vars - var T = toObject(target); - var aLen = arguments.length; - var index = 1; - var getSymbols = gOPS.f; - var isEnum = pIE.f; - while (aLen > index) { - var S = IObject(arguments[index++]); - var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); - var length = keys.length; - var j = 0; - var key; - while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key]; - } return T; - } : $assign; - - -/***/ }), -/* 877 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { - - // 19.1.3.19 Object.setPrototypeOf(O, proto) - var $export = __webpack_require__(__webpack_module_template_argument_0__); - $export($export.S, 'Object', { setPrototypeOf: __webpack_require__(__webpack_module_template_argument_1__).set }); - - -/***/ }), -/* 878 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__, __webpack_module_template_argument_3__) { - - // Works with __proto__ only. Old v8 can't work with null proto objects. - /* eslint-disable no-proto */ - var isObject = __webpack_require__(__webpack_module_template_argument_0__); - var anObject = __webpack_require__(__webpack_module_template_argument_1__); - var check = function (O, proto) { - anObject(O); - if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); - }; - module.exports = { - set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line - function (test, buggy, set) { - try { - set = __webpack_require__(__webpack_module_template_argument_2__)(Function.call, __webpack_require__(__webpack_module_template_argument_3__).f(Object.prototype, '__proto__').set, 2); - set(test, []); - buggy = !(test instanceof Array); - } catch (e) { buggy = true; } - return function setPrototypeOf(O, proto) { - check(O, proto); - if (buggy) O.__proto__ = proto; - else set(O, proto); - return O; - }; - }({}, false) : undefined), - check: check - }; - - -/***/ }), -/* 879 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { - - 'use strict'; - var $at = __webpack_require__(__webpack_module_template_argument_0__)(true); - - // 21.1.3.27 String.prototype[@@iterator]() - __webpack_require__(__webpack_module_template_argument_1__)(String, 'String', function (iterated) { - this._t = String(iterated); // target - this._i = 0; // next index - // 21.1.5.2.1 %StringIteratorPrototype%.next() - }, function () { - var O = this._t; - var index = this._i; - var point; - if (index >= O.length) return { value: undefined, done: true }; - point = $at(O, index); - this._i += point.length; - return { value: point, done: false }; - }); - - -/***/ }), -/* 880 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__) { - - var toInteger = __webpack_require__(__webpack_module_template_argument_0__); - var defined = __webpack_require__(__webpack_module_template_argument_1__); - // true -> String#at - // false -> String#codePointAt - module.exports = function (TO_STRING) { - return function (that, pos) { - var s = String(defined(that)); - var i = toInteger(pos); - var l = s.length; - var a, b; - 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.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; - }; - }; - - -/***/ }), -/* 881 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__, __webpack_module_template_argument_3__, __webpack_module_template_argument_4__, __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__) { - - '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__); - var $iterCreate = __webpack_require__(__webpack_module_template_argument_6__); - var setToStringTag = __webpack_require__(__webpack_module_template_argument_7__); - var getPrototypeOf = __webpack_require__(__webpack_module_template_argument_8__); - 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'; - - var returnThis = function () { return this; }; - - module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { - $iterCreate(Constructor, NAME, next); - var getMethod = function (kind) { - if (!BUGGY && kind in proto) return proto[kind]; - switch (kind) { - case KEYS: return function keys() { return new Constructor(this, kind); }; - case VALUES: return function values() { return new Constructor(this, kind); }; - } return function entries() { return new Constructor(this, kind); }; - }; - var TAG = NAME + ' Iterator'; - var DEF_VALUES = DEFAULT == VALUES; - var VALUES_BUG = false; - var proto = Base.prototype; - var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; - var $default = $native || getMethod(DEFAULT); - var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; - var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; - var methods, key, IteratorPrototype; - // Fix native - if ($anyNative) { - IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); - if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { - // Set @@toStringTag to native iterators - setToStringTag(IteratorPrototype, TAG, true); - // fix for some old engines - if (!LIBRARY && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis); - } - } - // fix Array#{values, @@iterator}.name in V8 / FF - if (DEF_VALUES && $native && $native.name !== VALUES) { - VALUES_BUG = true; - $default = function values() { return $native.call(this); }; - } - // Define iterator - if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { - hide(proto, ITERATOR, $default); - } - // Plug for library - Iterators[NAME] = $default; - Iterators[TAG] = returnThis; - if (DEFAULT) { - methods = { - values: DEF_VALUES ? $default : getMethod(VALUES), - keys: IS_SET ? $default : getMethod(KEYS), - entries: $entries - }; - if (FORCED) for (key in methods) { - if (!(key in proto)) redefine(proto, key, methods[key]); - } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); - } - return methods; - }; - - -/***/ }), -/* 882 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__, __webpack_module_template_argument_3__, __webpack_module_template_argument_4__) { - - 'use strict'; - var create = __webpack_require__(__webpack_module_template_argument_0__); - var descriptor = __webpack_require__(__webpack_module_template_argument_1__); - var setToStringTag = __webpack_require__(__webpack_module_template_argument_2__); - var IteratorPrototype = {}; - - // 25.1.2.1.1 %IteratorPrototype%[@@iterator]() - __webpack_require__(__webpack_module_template_argument_3__)(IteratorPrototype, __webpack_require__(__webpack_module_template_argument_4__)('iterator'), function () { return this; }); - - module.exports = function (Constructor, NAME, next) { - Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); - setToStringTag(Constructor, NAME + ' Iterator'); - }; - - -/***/ }), -/* 883 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__, __webpack_module_template_argument_1__, __webpack_module_template_argument_2__, __webpack_module_template_argument_3__, __webpack_module_template_argument_4__) { - - 'use strict'; - var addToUnscopables = __webpack_require__(__webpack_module_template_argument_0__); - var step = __webpack_require__(__webpack_module_template_argument_1__); - var Iterators = __webpack_require__(__webpack_module_template_argument_2__); - var toIObject = __webpack_require__(__webpack_module_template_argument_3__); - - // 22.1.3.4 Array.prototype.entries() - // 22.1.3.13 Array.prototype.keys() - // 22.1.3.29 Array.prototype.values() - // 22.1.3.30 Array.prototype[@@iterator]() - module.exports = __webpack_require__(__webpack_module_template_argument_4__)(Array, 'Array', function (iterated, kind) { - this._t = toIObject(iterated); // target - this._i = 0; // next index - this._k = kind; // kind - // 22.1.5.2.1 %ArrayIteratorPrototype%.next() - }, function () { - var O = this._t; - var kind = this._k; - var index = this._i++; - if (!O || index >= O.length) { - this._t = undefined; - return step(1); - } - if (kind == 'keys') return step(0, index); - if (kind == 'values') return step(0, O[index]); - return step(0, [index, O[index]]); - }, 'values'); - - // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) - Iterators.Arguments = Iterators.Array; - - addToUnscopables('keys'); - addToUnscopables('values'); - addToUnscopables('entries'); - - -/***/ }), -/* 884 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { - - __webpack_require__(__webpack_module_template_argument_0__)('asyncIterator'); - - -/***/ }), -/* 885 */ -/***/ (function(module, exports, __webpack_require__, __webpack_module_template_argument_0__) { - - __webpack_require__(__webpack_module_template_argument_0__)('observable'); - - -/***/ }), -/* 886 */ -/***/ (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__)(); - } - - -/***/ }), -/* 887 */ -/***/ (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; - }; - - /***/ }) /******/ ]))); \ No newline at end of file diff --git a/packages/react-datepicker/rollup.config.js b/packages/react-datepicker/rollup.config.js index d205a924baa..78c359fa52b 100644 --- a/packages/react-datepicker/rollup.config.js +++ b/packages/react-datepicker/rollup.config.js @@ -1,8 +1,8 @@ -import nodeResolve from "rollup-plugin-node-resolve"; -import babel from "rollup-plugin-babel"; -import commonjs from "rollup-plugin-commonjs"; -import { list as babelHelpersList } from "babel-helpers"; -import pkg from "./package.json"; +import nodeResolve from 'rollup-plugin-node-resolve'; +import babel from 'rollup-plugin-babel'; +import commonjs from 'rollup-plugin-commonjs'; +import { list as babelHelpersList } from 'babel-helpers'; +import pkg from './package.json'; const config = { output: { @@ -11,13 +11,13 @@ const config = { plugins: [ nodeResolve({ jsnext: true, - extensions: [".js", ".jsx"] + extensions: ['.js', '.jsx'] }), babel({ - exclude: "node_modules/**", - plugins: ["external-helpers"], + exclude: 'node_modules/**', + plugins: ['external-helpers'], externalHelpersWhitelist: babelHelpersList.filter( - helperName => helperName !== "asyncGenerator" + helperName => helperName !== 'asyncGenerator' ) }), commonjs({ @@ -29,8 +29,7 @@ const config = { 'react-dom', 'classnames', 'prop-types', - 'moment', - 'focus-trap-react' + 'moment' ] }; diff --git a/src-docs/src/routes.js b/src-docs/src/routes.js index 1b71f5ad114..b27b5a9c168 100644 --- a/src-docs/src/routes.js +++ b/src-docs/src/routes.js @@ -129,6 +129,9 @@ import { FlexExample } import { FlyoutExample } from './views/flyout/flyout_example'; +import { FocusTrapExample } + from './views/focus_trap/focus_trap_example'; + import { FormControlsExample } from './views/form_controls/form_controls_example'; @@ -434,6 +437,7 @@ const navigation = [{ UtilityClassesExample, DelayHideExample, ErrorBoundaryExample, + FocusTrapExample, HighlightExample, I18nExample, IsColorDarkExample, diff --git a/src-docs/src/views/flyout/flyout_complicated.js b/src-docs/src/views/flyout/flyout_complicated.js index 706d263e5f1..62a8c4e3281 100644 --- a/src-docs/src/views/flyout/flyout_complicated.js +++ b/src-docs/src/views/flyout/flyout_complicated.js @@ -12,6 +12,8 @@ import { EuiFlyoutBody, EuiFlyoutFooter, EuiFlyoutHeader, + EuiForm, + EuiFormRow, EuiPopover, EuiSpacer, EuiTab, @@ -20,6 +22,8 @@ import { EuiTitle, } from '../../../../src/components'; +import SuperSelectComplexExample from '../super_select/super_select_complex'; + export class FlyoutComplicated extends Component { constructor(props) { super(props); @@ -179,6 +183,12 @@ export class FlyoutComplicated extends Component { >

This is the popover content, notice how it can overflow the flyout!

+ + + + + + {flyoutContent} {htmlCode} diff --git a/src-docs/src/views/focus_trap/focus_trap.js b/src-docs/src/views/focus_trap/focus_trap.js new file mode 100644 index 00000000000..37b55a5af7a --- /dev/null +++ b/src-docs/src/views/focus_trap/focus_trap.js @@ -0,0 +1,65 @@ +import React, { + Component, +} from 'react'; + +import { + EuiBadge, + EuiButton, + EuiFocusTrap, + EuiPanel, + EuiSpacer, + EuiText +} from '../../../../src/components'; + +import FormExample from '../form_layouts/form_compressed'; + +export default class extends Component { + constructor(props) { + super(props); + + this.state = { + isDisabled: false, + }; + } + + toggleDisabled = () => { + this.setState(prevState => ({ + isDisabled: !prevState.isDisabled, + })); + } + + render() { + const { isDisabled } = this.state; + + return ( +
+ Trap is {isDisabled ? 'disabled' : 'enabled'} + + + + + + + + + {`${!isDisabled ? 'Disable' : 'Enable'} Focus Trap`} + + + + + + + + + The button below is not focusable by keyboard as long as the focus trap is enabled. + + + alert('External event triggered')}> + External Focusable Element + +
+ ); + } +} diff --git a/src-docs/src/views/focus_trap/focus_trap_example.js b/src-docs/src/views/focus_trap/focus_trap_example.js new file mode 100644 index 00000000000..dc6d48943b1 --- /dev/null +++ b/src-docs/src/views/focus_trap/focus_trap_example.js @@ -0,0 +1,47 @@ +import React from 'react'; + +import { renderToHtml } from '../../services'; + +import { + GuideSectionTypes, +} from '../../components'; + +import { + EuiCode, + EuiFocusTrap, +} from '../../../../src/components'; + +import FocusTrap from './focus_trap'; +const focusTrapSource = require('!!raw-loader!./focus_trap'); +const focusTrapHtml = renderToHtml(FocusTrap); + +export const FocusTrapExample = { + title: 'Focus Trap', + sections: [{ + source: [{ + type: GuideSectionTypes.JS, + code: focusTrapSource, + }, { + type: GuideSectionTypes.HTML, + code: focusTrapHtml, + }], + text: ( + +

+ Use EuiFocusTrap to prevent keyboard-initiated focus from leaving a defined area. + Temporary flows and UX escapes that occur in components such as + EuiModal and EuiFlyout are prime examples. +

+

+ For components that project content in a React portal, + EuiFocusTrap will maintain the tab order expected by users. +

+

+ Use clickOutsideDisables to disable the focus trap when the user clicks outside the trap. +

+
+ ), + props: { EuiFocusTrap }, + demo: , + }], +}; diff --git a/src-docs/src/views/modal/modal.js b/src-docs/src/views/modal/modal.js index 43c774ccd86..cd2dec62238 100644 --- a/src-docs/src/views/modal/modal.js +++ b/src-docs/src/views/modal/modal.js @@ -18,6 +18,8 @@ import { EuiSwitch, } from '../../../../src/components'; +import SuperSelectComplexExample from '../super_select/super_select_complex'; + import makeId from '../../../../src/components/form/form_row/make_id'; export class Modal extends Component { @@ -76,6 +78,12 @@ export class Modal extends Component { name="poprange" /> + + + + ); diff --git a/src-docs/src/views/super_select/super_select_complex.js b/src-docs/src/views/super_select/super_select_complex.js index df0bb811d81..8b951b348ee 100644 --- a/src-docs/src/views/super_select/super_select_complex.js +++ b/src-docs/src/views/super_select/super_select_complex.js @@ -56,7 +56,7 @@ export default class extends Component { ]; this.state = { - value: '', + value: 'option_one', }; } diff --git a/src/components/code/_code_block.js b/src/components/code/_code_block.js index 01e4ccec38a..8bedb7b2c66 100644 --- a/src/components/code/_code_block.js +++ b/src/components/code/_code_block.js @@ -3,7 +3,6 @@ import React, { } from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; -import FocusTrap from 'focus-trap-react'; import hljs from 'highlight.js'; import { @@ -18,6 +17,10 @@ import { EuiOverlayMask, } from '../overlay_mask'; +import { + EuiFocusTrap, +} from '../focus_trap'; + import { keyCodes } from '../../services'; import { EuiI18n } from '../i18n'; @@ -218,13 +221,8 @@ export class EuiCodeBlockImpl extends Component { ); fullScreenDisplay = ( - this.codeFullScreen, - }} - > - + +
                 
-          
-        
+          
+        
       );
     }
 
diff --git a/src/components/flyout/__snapshots__/flyout.test.js.snap b/src/components/flyout/__snapshots__/flyout.test.js.snap
index 04324b2c296..32fe3c79262 100644
--- a/src/components/flyout/__snapshots__/flyout.test.js.snap
+++ b/src/components/flyout/__snapshots__/flyout.test.js.snap
@@ -4,33 +4,52 @@ exports[`EuiFlyout is rendered 1`] = `