diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..e262a776c --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,23 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Launch NPM", + "type": "node", + "request": "launch", + "cwd": "${workspaceRoot}", + "runtimeExecutable": "npm", + "runtimeArgs": ["run-script", "start"] + }, + { + "type": "chrome", + "request": "launch", + "name": "Launch Chrome against localhost", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}" + } + ] +} diff --git a/node_modules/.cache/babel-loader/01b0134e6d674fafa09dd527abcd5062.json b/node_modules/.cache/babel-loader/01b0134e6d674fafa09dd527abcd5062.json new file mode 100644 index 000000000..0df76e458 --- /dev/null +++ b/node_modules/.cache/babel-loader/01b0134e6d674fafa09dd527abcd5062.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _extends from '@babel/runtime/helpers/esm/extends';\nimport resolvePathname from 'resolve-pathname';\nimport valueEqual from 'value-equal';\nimport warning from 'tiny-warning';\nimport invariant from 'tiny-invariant';\n\nfunction addLeadingSlash(path) {\n return path.charAt(0) === '/' ? path : '/' + path;\n}\n\nfunction stripLeadingSlash(path) {\n return path.charAt(0) === '/' ? path.substr(1) : path;\n}\n\nfunction hasBasename(path, prefix) {\n return path.toLowerCase().indexOf(prefix.toLowerCase()) === 0 && '/?#'.indexOf(path.charAt(prefix.length)) !== -1;\n}\n\nfunction stripBasename(path, prefix) {\n return hasBasename(path, prefix) ? path.substr(prefix.length) : path;\n}\n\nfunction stripTrailingSlash(path) {\n return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path;\n}\n\nfunction parsePath(path) {\n var pathname = path || '/';\n var search = '';\n var hash = '';\n var hashIndex = pathname.indexOf('#');\n\n if (hashIndex !== -1) {\n hash = pathname.substr(hashIndex);\n pathname = pathname.substr(0, hashIndex);\n }\n\n var searchIndex = pathname.indexOf('?');\n\n if (searchIndex !== -1) {\n search = pathname.substr(searchIndex);\n pathname = pathname.substr(0, searchIndex);\n }\n\n return {\n pathname: pathname,\n search: search === '?' ? '' : search,\n hash: hash === '#' ? '' : hash\n };\n}\n\nfunction createPath(location) {\n var pathname = location.pathname,\n search = location.search,\n hash = location.hash;\n var path = pathname || '/';\n if (search && search !== '?') path += search.charAt(0) === '?' ? search : \"?\" + search;\n if (hash && hash !== '#') path += hash.charAt(0) === '#' ? hash : \"#\" + hash;\n return path;\n}\n\nfunction createLocation(path, state, key, currentLocation) {\n var location;\n\n if (typeof path === 'string') {\n // Two-arg form: push(path, state)\n location = parsePath(path);\n location.state = state;\n } else {\n // One-arg form: push(location)\n location = _extends({}, path);\n if (location.pathname === undefined) location.pathname = '';\n\n if (location.search) {\n if (location.search.charAt(0) !== '?') location.search = '?' + location.search;\n } else {\n location.search = '';\n }\n\n if (location.hash) {\n if (location.hash.charAt(0) !== '#') location.hash = '#' + location.hash;\n } else {\n location.hash = '';\n }\n\n if (state !== undefined && location.state === undefined) location.state = state;\n }\n\n try {\n location.pathname = decodeURI(location.pathname);\n } catch (e) {\n if (e instanceof URIError) {\n throw new URIError('Pathname \"' + location.pathname + '\" could not be decoded. ' + 'This is likely caused by an invalid percent-encoding.');\n } else {\n throw e;\n }\n }\n\n if (key) location.key = key;\n\n if (currentLocation) {\n // Resolve incomplete/relative pathname relative to current location.\n if (!location.pathname) {\n location.pathname = currentLocation.pathname;\n } else if (location.pathname.charAt(0) !== '/') {\n location.pathname = resolvePathname(location.pathname, currentLocation.pathname);\n }\n } else {\n // When there is no prior location and pathname is empty, set it to /\n if (!location.pathname) {\n location.pathname = '/';\n }\n }\n\n return location;\n}\n\nfunction locationsAreEqual(a, b) {\n return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash && a.key === b.key && valueEqual(a.state, b.state);\n}\n\nfunction createTransitionManager() {\n var prompt = null;\n\n function setPrompt(nextPrompt) {\n process.env.NODE_ENV !== \"production\" ? warning(prompt == null, 'A history supports only one prompt at a time') : void 0;\n prompt = nextPrompt;\n return function () {\n if (prompt === nextPrompt) prompt = null;\n };\n }\n\n function confirmTransitionTo(location, action, getUserConfirmation, callback) {\n // TODO: If another transition starts while we're still confirming\n // the previous one, we may end up in a weird state. Figure out the\n // best way to handle this.\n if (prompt != null) {\n var result = typeof prompt === 'function' ? prompt(location, action) : prompt;\n\n if (typeof result === 'string') {\n if (typeof getUserConfirmation === 'function') {\n getUserConfirmation(result, callback);\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'A history needs a getUserConfirmation function in order to use a prompt message') : void 0;\n callback(true);\n }\n } else {\n // Return false from a transition hook to cancel the transition.\n callback(result !== false);\n }\n } else {\n callback(true);\n }\n }\n\n var listeners = [];\n\n function appendListener(fn) {\n var isActive = true;\n\n function listener() {\n if (isActive) fn.apply(void 0, arguments);\n }\n\n listeners.push(listener);\n return function () {\n isActive = false;\n listeners = listeners.filter(function (item) {\n return item !== listener;\n });\n };\n }\n\n function notifyListeners() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n listeners.forEach(function (listener) {\n return listener.apply(void 0, args);\n });\n }\n\n return {\n setPrompt: setPrompt,\n confirmTransitionTo: confirmTransitionTo,\n appendListener: appendListener,\n notifyListeners: notifyListeners\n };\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\nfunction getConfirmation(message, callback) {\n callback(window.confirm(message)); // eslint-disable-line no-alert\n}\n/**\n * Returns true if the HTML5 history API is supported. Taken from Modernizr.\n *\n * https://github.com/Modernizr/Modernizr/blob/master/LICENSE\n * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js\n * changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586\n */\n\n\nfunction supportsHistory() {\n var ua = window.navigator.userAgent;\n if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) return false;\n return window.history && 'pushState' in window.history;\n}\n/**\n * Returns true if browser fires popstate on hash change.\n * IE10 and IE11 do not.\n */\n\n\nfunction supportsPopStateOnHashChange() {\n return window.navigator.userAgent.indexOf('Trident') === -1;\n}\n/**\n * Returns false if using go(n) with hash history causes a full page reload.\n */\n\n\nfunction supportsGoWithoutReloadUsingHash() {\n return window.navigator.userAgent.indexOf('Firefox') === -1;\n}\n/**\n * Returns true if a given popstate event is an extraneous WebKit event.\n * Accounts for the fact that Chrome on iOS fires real popstate events\n * containing undefined state when pressing the back button.\n */\n\n\nfunction isExtraneousPopstateEvent(event) {\n return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1;\n}\n\nvar PopStateEvent = 'popstate';\nvar HashChangeEvent = 'hashchange';\n\nfunction getHistoryState() {\n try {\n return window.history.state || {};\n } catch (e) {\n // IE 11 sometimes throws when accessing window.history.state\n // See https://github.com/ReactTraining/history/pull/289\n return {};\n }\n}\n/**\n * Creates a history object that uses the HTML5 history API including\n * pushState, replaceState, and the popstate event.\n */\n\n\nfunction createBrowserHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n !canUseDOM ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Browser history needs a DOM') : invariant(false) : void 0;\n var globalHistory = window.history;\n var canUseHistory = supportsHistory();\n var needsHashChangeListener = !supportsPopStateOnHashChange();\n var _props = props,\n _props$forceRefresh = _props.forceRefresh,\n forceRefresh = _props$forceRefresh === void 0 ? false : _props$forceRefresh,\n _props$getUserConfirm = _props.getUserConfirmation,\n getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,\n _props$keyLength = _props.keyLength,\n keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;\n var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';\n\n function getDOMLocation(historyState) {\n var _ref = historyState || {},\n key = _ref.key,\n state = _ref.state;\n\n var _window$location = window.location,\n pathname = _window$location.pathname,\n search = _window$location.search,\n hash = _window$location.hash;\n var path = pathname + search + hash;\n process.env.NODE_ENV !== \"production\" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path \"' + path + '\" to begin with \"' + basename + '\".') : void 0;\n if (basename) path = stripBasename(path, basename);\n return createLocation(path, state, key);\n }\n\n function createKey() {\n return Math.random().toString(36).substr(2, keyLength);\n }\n\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = globalHistory.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n function handlePopState(event) {\n // Ignore extraneous popstate events in WebKit.\n if (isExtraneousPopstateEvent(event)) return;\n handlePop(getDOMLocation(event.state));\n }\n\n function handleHashChange() {\n handlePop(getDOMLocation(getHistoryState()));\n }\n\n var forceNextPop = false;\n\n function handlePop(location) {\n if (forceNextPop) {\n forceNextPop = false;\n setState();\n } else {\n var action = 'POP';\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location\n });\n } else {\n revertPop(location);\n }\n });\n }\n }\n\n function revertPop(fromLocation) {\n var toLocation = history.location; // TODO: We could probably make this more reliable by\n // keeping a list of keys we've seen in sessionStorage.\n // Instead, we just default to 0 for keys we don't know.\n\n var toIndex = allKeys.indexOf(toLocation.key);\n if (toIndex === -1) toIndex = 0;\n var fromIndex = allKeys.indexOf(fromLocation.key);\n if (fromIndex === -1) fromIndex = 0;\n var delta = toIndex - fromIndex;\n\n if (delta) {\n forceNextPop = true;\n go(delta);\n }\n }\n\n var initialLocation = getDOMLocation(getHistoryState());\n var allKeys = [initialLocation.key]; // Public interface\n\n function createHref(location) {\n return basename + createPath(location);\n }\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var href = createHref(location);\n var key = location.key,\n state = location.state;\n\n if (canUseHistory) {\n globalHistory.pushState({\n key: key,\n state: state\n }, null, href);\n\n if (forceRefresh) {\n window.location.href = href;\n } else {\n var prevIndex = allKeys.indexOf(history.location.key);\n var nextKeys = allKeys.slice(0, prevIndex + 1);\n nextKeys.push(location.key);\n allKeys = nextKeys;\n setState({\n action: action,\n location: location\n });\n }\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Browser history cannot push state in browsers that do not support HTML5 history') : void 0;\n window.location.href = href;\n }\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var href = createHref(location);\n var key = location.key,\n state = location.state;\n\n if (canUseHistory) {\n globalHistory.replaceState({\n key: key,\n state: state\n }, null, href);\n\n if (forceRefresh) {\n window.location.replace(href);\n } else {\n var prevIndex = allKeys.indexOf(history.location.key);\n if (prevIndex !== -1) allKeys[prevIndex] = location.key;\n setState({\n action: action,\n location: location\n });\n }\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Browser history cannot replace state in browsers that do not support HTML5 history') : void 0;\n window.location.replace(href);\n }\n });\n }\n\n function go(n) {\n globalHistory.go(n);\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n var listenerCount = 0;\n\n function checkDOMListeners(delta) {\n listenerCount += delta;\n\n if (listenerCount === 1 && delta === 1) {\n window.addEventListener(PopStateEvent, handlePopState);\n if (needsHashChangeListener) window.addEventListener(HashChangeEvent, handleHashChange);\n } else if (listenerCount === 0) {\n window.removeEventListener(PopStateEvent, handlePopState);\n if (needsHashChangeListener) window.removeEventListener(HashChangeEvent, handleHashChange);\n }\n }\n\n var isBlocked = false;\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n var unblock = transitionManager.setPrompt(prompt);\n\n if (!isBlocked) {\n checkDOMListeners(1);\n isBlocked = true;\n }\n\n return function () {\n if (isBlocked) {\n isBlocked = false;\n checkDOMListeners(-1);\n }\n\n return unblock();\n };\n }\n\n function listen(listener) {\n var unlisten = transitionManager.appendListener(listener);\n checkDOMListeners(1);\n return function () {\n checkDOMListeners(-1);\n unlisten();\n };\n }\n\n var history = {\n length: globalHistory.length,\n action: 'POP',\n location: initialLocation,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n block: block,\n listen: listen\n };\n return history;\n}\n\nvar HashChangeEvent$1 = 'hashchange';\nvar HashPathCoders = {\n hashbang: {\n encodePath: function encodePath(path) {\n return path.charAt(0) === '!' ? path : '!/' + stripLeadingSlash(path);\n },\n decodePath: function decodePath(path) {\n return path.charAt(0) === '!' ? path.substr(1) : path;\n }\n },\n noslash: {\n encodePath: stripLeadingSlash,\n decodePath: addLeadingSlash\n },\n slash: {\n encodePath: addLeadingSlash,\n decodePath: addLeadingSlash\n }\n};\n\nfunction stripHash(url) {\n var hashIndex = url.indexOf('#');\n return hashIndex === -1 ? url : url.slice(0, hashIndex);\n}\n\nfunction getHashPath() {\n // We can't use window.location.hash here because it's not\n // consistent across browsers - Firefox will pre-decode it!\n var href = window.location.href;\n var hashIndex = href.indexOf('#');\n return hashIndex === -1 ? '' : href.substring(hashIndex + 1);\n}\n\nfunction pushHashPath(path) {\n window.location.hash = path;\n}\n\nfunction replaceHashPath(path) {\n window.location.replace(stripHash(window.location.href) + '#' + path);\n}\n\nfunction createHashHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n !canUseDOM ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Hash history needs a DOM') : invariant(false) : void 0;\n var globalHistory = window.history;\n var canGoWithoutReload = supportsGoWithoutReloadUsingHash();\n var _props = props,\n _props$getUserConfirm = _props.getUserConfirmation,\n getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,\n _props$hashType = _props.hashType,\n hashType = _props$hashType === void 0 ? 'slash' : _props$hashType;\n var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';\n var _HashPathCoders$hashT = HashPathCoders[hashType],\n encodePath = _HashPathCoders$hashT.encodePath,\n decodePath = _HashPathCoders$hashT.decodePath;\n\n function getDOMLocation() {\n var path = decodePath(getHashPath());\n process.env.NODE_ENV !== \"production\" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path \"' + path + '\" to begin with \"' + basename + '\".') : void 0;\n if (basename) path = stripBasename(path, basename);\n return createLocation(path);\n }\n\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = globalHistory.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n var forceNextPop = false;\n var ignorePath = null;\n\n function locationsAreEqual$$1(a, b) {\n return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash;\n }\n\n function handleHashChange() {\n var path = getHashPath();\n var encodedPath = encodePath(path);\n\n if (path !== encodedPath) {\n // Ensure we always have a properly-encoded hash.\n replaceHashPath(encodedPath);\n } else {\n var location = getDOMLocation();\n var prevLocation = history.location;\n if (!forceNextPop && locationsAreEqual$$1(prevLocation, location)) return; // A hashchange doesn't always == location change.\n\n if (ignorePath === createPath(location)) return; // Ignore this change; we already setState in push/replace.\n\n ignorePath = null;\n handlePop(location);\n }\n }\n\n function handlePop(location) {\n if (forceNextPop) {\n forceNextPop = false;\n setState();\n } else {\n var action = 'POP';\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location\n });\n } else {\n revertPop(location);\n }\n });\n }\n }\n\n function revertPop(fromLocation) {\n var toLocation = history.location; // TODO: We could probably make this more reliable by\n // keeping a list of paths we've seen in sessionStorage.\n // Instead, we just default to 0 for paths we don't know.\n\n var toIndex = allPaths.lastIndexOf(createPath(toLocation));\n if (toIndex === -1) toIndex = 0;\n var fromIndex = allPaths.lastIndexOf(createPath(fromLocation));\n if (fromIndex === -1) fromIndex = 0;\n var delta = toIndex - fromIndex;\n\n if (delta) {\n forceNextPop = true;\n go(delta);\n }\n } // Ensure the hash is encoded properly before doing anything else.\n\n\n var path = getHashPath();\n var encodedPath = encodePath(path);\n if (path !== encodedPath) replaceHashPath(encodedPath);\n var initialLocation = getDOMLocation();\n var allPaths = [createPath(initialLocation)]; // Public interface\n\n function createHref(location) {\n var baseTag = document.querySelector('base');\n var href = '';\n\n if (baseTag && baseTag.getAttribute('href')) {\n href = stripHash(window.location.href);\n }\n\n return href + '#' + encodePath(basename + createPath(location));\n }\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Hash history cannot push state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, undefined, undefined, history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var path = createPath(location);\n var encodedPath = encodePath(basename + path);\n var hashChanged = getHashPath() !== encodedPath;\n\n if (hashChanged) {\n // We cannot tell if a hashchange was caused by a PUSH, so we'd\n // rather setState here and ignore the hashchange. The caveat here\n // is that other hash histories in the page will consider it a POP.\n ignorePath = path;\n pushHashPath(encodedPath);\n var prevIndex = allPaths.lastIndexOf(createPath(history.location));\n var nextPaths = allPaths.slice(0, prevIndex + 1);\n nextPaths.push(path);\n allPaths = nextPaths;\n setState({\n action: action,\n location: location\n });\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'Hash history cannot PUSH the same path; a new entry will not be added to the history stack') : void 0;\n setState();\n }\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Hash history cannot replace state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, undefined, undefined, history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var path = createPath(location);\n var encodedPath = encodePath(basename + path);\n var hashChanged = getHashPath() !== encodedPath;\n\n if (hashChanged) {\n // We cannot tell if a hashchange was caused by a REPLACE, so we'd\n // rather setState here and ignore the hashchange. The caveat here\n // is that other hash histories in the page will consider it a POP.\n ignorePath = path;\n replaceHashPath(encodedPath);\n }\n\n var prevIndex = allPaths.indexOf(createPath(history.location));\n if (prevIndex !== -1) allPaths[prevIndex] = path;\n setState({\n action: action,\n location: location\n });\n });\n }\n\n function go(n) {\n process.env.NODE_ENV !== \"production\" ? warning(canGoWithoutReload, 'Hash history go(n) causes a full page reload in this browser') : void 0;\n globalHistory.go(n);\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n var listenerCount = 0;\n\n function checkDOMListeners(delta) {\n listenerCount += delta;\n\n if (listenerCount === 1 && delta === 1) {\n window.addEventListener(HashChangeEvent$1, handleHashChange);\n } else if (listenerCount === 0) {\n window.removeEventListener(HashChangeEvent$1, handleHashChange);\n }\n }\n\n var isBlocked = false;\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n var unblock = transitionManager.setPrompt(prompt);\n\n if (!isBlocked) {\n checkDOMListeners(1);\n isBlocked = true;\n }\n\n return function () {\n if (isBlocked) {\n isBlocked = false;\n checkDOMListeners(-1);\n }\n\n return unblock();\n };\n }\n\n function listen(listener) {\n var unlisten = transitionManager.appendListener(listener);\n checkDOMListeners(1);\n return function () {\n checkDOMListeners(-1);\n unlisten();\n };\n }\n\n var history = {\n length: globalHistory.length,\n action: 'POP',\n location: initialLocation,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n block: block,\n listen: listen\n };\n return history;\n}\n\nfunction clamp(n, lowerBound, upperBound) {\n return Math.min(Math.max(n, lowerBound), upperBound);\n}\n/**\n * Creates a history object that stores locations in memory.\n */\n\n\nfunction createMemoryHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n var _props = props,\n getUserConfirmation = _props.getUserConfirmation,\n _props$initialEntries = _props.initialEntries,\n initialEntries = _props$initialEntries === void 0 ? ['/'] : _props$initialEntries,\n _props$initialIndex = _props.initialIndex,\n initialIndex = _props$initialIndex === void 0 ? 0 : _props$initialIndex,\n _props$keyLength = _props.keyLength,\n keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = history.entries.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n function createKey() {\n return Math.random().toString(36).substr(2, keyLength);\n }\n\n var index = clamp(initialIndex, 0, initialEntries.length - 1);\n var entries = initialEntries.map(function (entry) {\n return typeof entry === 'string' ? createLocation(entry, undefined, createKey()) : createLocation(entry, undefined, entry.key || createKey());\n }); // Public interface\n\n var createHref = createPath;\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var prevIndex = history.index;\n var nextIndex = prevIndex + 1;\n var nextEntries = history.entries.slice(0);\n\n if (nextEntries.length > nextIndex) {\n nextEntries.splice(nextIndex, nextEntries.length - nextIndex, location);\n } else {\n nextEntries.push(location);\n }\n\n setState({\n action: action,\n location: location,\n index: nextIndex,\n entries: nextEntries\n });\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n history.entries[history.index] = location;\n setState({\n action: action,\n location: location\n });\n });\n }\n\n function go(n) {\n var nextIndex = clamp(history.index + n, 0, history.entries.length - 1);\n var action = 'POP';\n var location = history.entries[nextIndex];\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location,\n index: nextIndex\n });\n } else {\n // Mimic the behavior of DOM histories by\n // causing a render after a cancelled POP.\n setState();\n }\n });\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n function canGo(n) {\n var nextIndex = history.index + n;\n return nextIndex >= 0 && nextIndex < history.entries.length;\n }\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n return transitionManager.setPrompt(prompt);\n }\n\n function listen(listener) {\n return transitionManager.appendListener(listener);\n }\n\n var history = {\n length: entries.length,\n action: 'POP',\n location: entries[index],\n index: index,\n entries: entries,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n canGo: canGo,\n block: block,\n listen: listen\n };\n return history;\n}\n\nexport { createBrowserHistory, createHashHistory, createMemoryHistory, createLocation, locationsAreEqual, parsePath, createPath };","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/node_modules/.cache/babel-loader/01b693609feaad608a34c9d7b8968e35.json b/node_modules/.cache/babel-loader/01b693609feaad608a34c9d7b8968e35.json new file mode 100644 index 000000000..fd1c75ccb --- /dev/null +++ b/node_modules/.cache/babel-loader/01b693609feaad608a34c9d7b8968e35.json @@ -0,0 +1 @@ +{"ast":null,"code":"'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nvar _toCss = require('../utils/toCss');\n\nvar _toCss2 = _interopRequireDefault(_toCss);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n 'default': obj\n };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nvar ViewportRule = function () {\n function ViewportRule(key, style, options) {\n _classCallCheck(this, ViewportRule);\n\n this.type = 'viewport';\n this.isProcessed = false;\n this.key = key;\n this.style = style;\n this.options = options;\n }\n /**\n * Generates a CSS string.\n */\n\n\n _createClass(ViewportRule, [{\n key: 'toString',\n value: function toString(options) {\n return (0, _toCss2['default'])(this.key, this.style, options);\n }\n }]);\n\n return ViewportRule;\n}();\n\nexports['default'] = ViewportRule;","map":null,"metadata":{},"sourceType":"script"} \ No newline at end of file diff --git a/node_modules/.cache/babel-loader/029af770b6bb056553a49d07c0387613.json b/node_modules/.cache/babel-loader/029af770b6bb056553a49d07c0387613.json new file mode 100644 index 000000000..b5d364be8 --- /dev/null +++ b/node_modules/.cache/babel-loader/029af770b6bb056553a49d07c0387613.json @@ -0,0 +1 @@ +{"ast":null,"code":"import freeGlobal from './_freeGlobal.js';\n/** Detect free variable `self`. */\n\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n/** Used as a reference to the global object. */\n\nvar root = freeGlobal || freeSelf || Function('return this')();\nexport default root;","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/node_modules/.cache/babel-loader/03844079c516eac960e9a92c68f41e05.json b/node_modules/.cache/babel-loader/03844079c516eac960e9a92c68f41e05.json new file mode 100644 index 000000000..346ba7820 --- /dev/null +++ b/node_modules/.cache/babel-loader/03844079c516eac960e9a92c68f41e05.json @@ -0,0 +1 @@ +{"ast":null,"code":"function valueOf(obj) {\n return obj.valueOf ? obj.valueOf() : Object.prototype.valueOf.call(obj);\n}\n\nfunction valueEqual(a, b) {\n // Test for strict equality first.\n if (a === b) return true; // Otherwise, if either of them == null they are not equal.\n\n if (a == null || b == null) return false;\n\n if (Array.isArray(a)) {\n return Array.isArray(b) && a.length === b.length && a.every(function (item, index) {\n return valueEqual(item, b[index]);\n });\n }\n\n if (typeof a === 'object' || typeof b === 'object') {\n var aValue = valueOf(a);\n var bValue = valueOf(b);\n if (aValue !== a || bValue !== b) return valueEqual(aValue, bValue);\n return Object.keys(Object.assign({}, a, b)).every(function (key) {\n return valueEqual(a[key], b[key]);\n });\n }\n\n return false;\n}\n\nexport default valueEqual;","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/node_modules/.cache/babel-loader/03d6cf44b54be85ebe7e4f6127849fb2.json b/node_modules/.cache/babel-loader/03d6cf44b54be85ebe7e4f6127849fb2.json new file mode 100644 index 000000000..ede951bf9 --- /dev/null +++ b/node_modules/.cache/babel-loader/03d6cf44b54be85ebe7e4f6127849fb2.json @@ -0,0 +1 @@ +{"ast":null,"code":"var eventListenerOptions;\nvar eventMap = new WeakMap();\n\nfunction getOptions() {\n if (eventListenerOptions !== undefined) {\n return eventListenerOptions;\n }\n\n var supportPassiveEvent = false;\n\n try {\n var noop = function noop() {};\n\n var options = Object.defineProperty({}, 'passive', {\n get: function get() {\n supportPassiveEvent = true;\n }\n });\n window.addEventListener('testPassive', noop, options);\n window.removeEventListener('testPassive', noop, options);\n } catch (e) {}\n\n eventListenerOptions = supportPassiveEvent ? {\n passive: false\n } : false;\n return eventListenerOptions;\n}\n\nexport function eventScope(scrollbar) {\n var configs = eventMap.get(scrollbar) || [];\n eventMap.set(scrollbar, configs);\n return function addEvent(elem, events, fn) {\n function handler(event) {\n // ignore default prevented events\n if (event.defaultPrevented) {\n return;\n }\n\n fn(event);\n }\n\n events.split(/\\s+/g).forEach(function (eventName) {\n configs.push({\n elem: elem,\n eventName: eventName,\n handler: handler\n });\n elem.addEventListener(eventName, handler, getOptions());\n });\n };\n}\nexport function clearEventsOn(scrollbar) {\n var configs = eventMap.get(scrollbar);\n\n if (!configs) {\n return;\n }\n\n configs.forEach(function (_a) {\n var elem = _a.elem,\n eventName = _a.eventName,\n handler = _a.handler;\n elem.removeEventListener(eventName, handler, getOptions());\n });\n eventMap.delete(scrollbar);\n}","map":null,"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/node_modules/.cache/babel-loader/03dd985b53ace396878ea04b364ee83b.json b/node_modules/.cache/babel-loader/03dd985b53ace396878ea04b364ee83b.json new file mode 100644 index 000000000..d569d273e --- /dev/null +++ b/node_modules/.cache/babel-loader/03dd985b53ace396878ea04b364ee83b.json @@ -0,0 +1 @@ +{"ast":null,"code":"import _objectSpread from \"/Users/michielcarman/Projects/React Access/React_Client_App_Access/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectSpread\";\nimport _regeneratorRuntime from \"/Users/michielcarman/Projects/React Access/React_Client_App_Access/node_modules/babel-preset-react-app/node_modules/@babel/runtime/regenerator\";\nimport _asyncToGenerator from \"/Users/michielcarman/Projects/React Access/React_Client_App_Access/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/asyncToGenerator\";\nimport _classCallCheck from \"/Users/michielcarman/Projects/React Access/React_Client_App_Access/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"/Users/michielcarman/Projects/React Access/React_Client_App_Access/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createClass\";\nimport _possibleConstructorReturn from \"/Users/michielcarman/Projects/React Access/React_Client_App_Access/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn\";\nimport _getPrototypeOf from \"/Users/michielcarman/Projects/React Access/React_Client_App_Access/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/getPrototypeOf\";\nimport _inherits from \"/Users/michielcarman/Projects/React Access/React_Client_App_Access/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/inherits\";\nvar _jsxFileName = \"/Users/michielcarman/Projects/React Access/React_Client_App_Access/src/containers/Manage/Documents/DocumentsList.tsx\";\nimport React from 'react';\nimport { Container, Card, CardBody, Col, Row } from 'reactstrap';\nimport RPMTable from '../../../shared/components/rpm-table/RpmTable';\nimport axios from 'axios';\nimport { DocumentsHeaderObject } from '../../../shared/components/TableHeaderObjects'; //MockData\n\nvar DocumentsList = /*#__PURE__*/function (_React$Component) {\n _inherits(DocumentsList, _React$Component);\n\n function DocumentsList(props) {\n var _this;\n\n _classCallCheck(this, DocumentsList);\n\n _this = _possibleConstructorReturn(this, _getPrototypeOf(DocumentsList).call(this, props));\n _this.makeCopyForEdit = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {\n var _this$state, designSpecId, partNumber1, revisionLevel, data;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _this$state = _this.state, designSpecId = _this$state.designSpecId, partNumber1 = _this$state.partNumber1, revisionLevel = _this$state.revisionLevel; // XHR to a \"new\" route.\n // xhr should return the new dspec/pn/rev\n\n _context.next = 3;\n return axios.post(\"/api/document/document/cloneforedit/\".concat(designSpecId, \"/\").concat(partNumber1, \"/\").concat(revisionLevel)).then(function (res) {\n data = res.data;\n var newDsId = data.designSpecId;\n var newPn = data.partNumber;\n var newRev = data.revisionLevel;\n return location.href = \"/manage/documents/\".concat(newDsId, \"/\").concat(newPn, \"/\").concat(newRev);\n }).catch(function (err) {\n return console.error(err);\n });\n\n case 3:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n _this.state = {\n isLoading: true,\n tableData: {\n heads: DocumentsHeaderObject,\n rows: []\n },\n pagination: {\n size: 1000,\n i: 0\n }\n };\n return _this;\n }\n\n _createClass(DocumentsList, [{\n key: \"componentDidMount\",\n value: function () {\n var _componentDidMount = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {\n var _this$state$paginatio, i, size, DocumentList;\n\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _this$state$paginatio = this.state.pagination, i = _this$state$paginatio.i, size = _this$state$paginatio.size;\n _context2.next = 3;\n return axios.get(\"/api/document/documentlist?size=\".concat(size, \"&i=\").concat(i)).then(function (res) {\n return DocumentList = res.data.items.records;\n }).catch(function (err) {\n return console.error(err);\n });\n\n case 3:\n this.setState(_objectSpread({}, this.state, {\n isLoading: false,\n tableData: {\n heads: DocumentsHeaderObject,\n rows: DocumentList\n }\n }));\n\n case 4:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, this);\n }));\n\n function componentDidMount() {\n return _componentDidMount.apply(this, arguments);\n }\n\n return componentDidMount;\n }()\n }, {\n key: \"render\",\n value: function render() {\n return /*#__PURE__*/React.createElement(Container, {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 62,\n columnNumber: 13\n }\n }, /*#__PURE__*/React.createElement(Row, {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 63,\n columnNumber: 17\n }\n }, /*#__PURE__*/React.createElement(Col, {\n md: 12,\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 64,\n columnNumber: 21\n }\n }, /*#__PURE__*/React.createElement(\"h3\", {\n className: \"page-title\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 65,\n columnNumber: 25\n }\n }, \"Document \", /*#__PURE__*/React.createElement(\"span\", {\n className: \"lnr lnr-chevron-right\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 65,\n columnNumber: 61\n }\n }), \" All\"))), /*#__PURE__*/React.createElement(Row, {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 68,\n columnNumber: 17\n }\n }, /*#__PURE__*/React.createElement(Col, {\n md: 12,\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 69,\n columnNumber: 21\n }\n }, /*#__PURE__*/React.createElement(Card, {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 70,\n columnNumber: 25\n }\n }, /*#__PURE__*/React.createElement(CardBody, {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 71,\n columnNumber: 29\n }\n }, /*#__PURE__*/React.createElement(RPMTable, {\n heads: this.state.tableData.heads,\n rows: this.state.tableData.rows,\n tableType: \"documents\",\n isLoading: this.state.isLoading,\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 72,\n columnNumber: 33\n }\n }))))));\n }\n }]);\n\n return DocumentsList;\n}(React.Component);\n\nexport default DocumentsList;","map":{"version":3,"sources":["/Users/michielcarman/Projects/React Access/React_Client_App_Access/src/containers/Manage/Documents/DocumentsList.tsx"],"names":["React","Container","Card","CardBody","Col","Row","RPMTable","axios","DocumentsHeaderObject","DocumentsList","props","makeCopyForEdit","state","designSpecId","partNumber1","revisionLevel","post","then","res","data","newDsId","newPn","partNumber","newRev","location","href","catch","err","console","error","isLoading","tableData","heads","rows","pagination","size","i","get","DocumentList","items","records","setState","Component"],"mappings":";;;;;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAASC,SAAT,EAAoBC,IAApB,EAAsCC,QAAtC,EAAgDC,GAAhD,EAAqDC,GAArD,QAAgE,YAAhE;AACA,OAAOC,QAAP,MAAqB,+CAArB;AACA,OAAOC,KAAP,MAAkB,OAAlB;AACA,SAASC,qBAAT,QAAsC,+CAAtC,C,CAEA;;IAGMC,a;;;AACF,yBAAYC,KAAZ,EAAwB;AAAA;;AAAA;;AACpB,uFAAMA,KAAN;AADoB,UAgCxBC,eAhCwB,yEAgCN;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA,4BACuC,MAAKC,KAD5C,EACNC,YADM,eACNA,YADM,EACQC,WADR,eACQA,WADR,EACqBC,aADrB,eACqBA,aADrB,EAEd;AACA;;AAHc;AAAA,qBAKRR,KAAK,CAACS,IAAN,+CAAkDH,YAAlD,cAAkEC,WAAlE,cAAiFC,aAAjF,GACHE,IADG,CACE,UAAAC,GAAG,EAAI;AACXC,gBAAAA,IAAI,GAAGD,GAAG,CAACC,IAAX;AACA,oBAAIC,OAAO,GAAGD,IAAI,CAACN,YAAnB;AACA,oBAAIQ,KAAK,GAAGF,IAAI,CAACG,UAAjB;AACA,oBAAIC,MAAM,GAAGJ,IAAI,CAACJ,aAAlB;AACA,uBAAQS,QAAQ,CAACC,IAAT,+BAAqCL,OAArC,cAAgDC,KAAhD,cAAyDE,MAAzD,CAAR;AACD,eAPG,EAQHG,KARG,CAQG,UAAAC,GAAG;AAAA,uBAAIC,OAAO,CAACC,KAAR,CAAcF,GAAd,CAAJ;AAAA,eARN,CALQ;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KAhCM;AAEpB,UAAKf,KAAL,GAAa;AACTkB,MAAAA,SAAS,EAAE,IADF;AAETC,MAAAA,SAAS,EAAE;AACPC,QAAAA,KAAK,EAAExB,qBADA;AAEPyB,QAAAA,IAAI,EAAE;AAFC,OAFF;AAMTC,MAAAA,UAAU,EAAE;AACRC,QAAAA,IAAI,EAAE,IADE;AAERC,QAAAA,CAAC,EAAE;AAFK;AANH,KAAb;AAFoB;AAavB;;;;;;;;;;;;wCAIqB,KAAKxB,KAAL,CAAWsB,U,EAAvBE,C,yBAAAA,C,EAAGD,I,yBAAAA,I;;uBAEH5B,KAAK,CAAC8B,GAAN,2CAA6CF,IAA7C,gBAAuDC,CAAvD,GACDnB,IADC,CACI,UAAAC,GAAG;AAAA,yBAAIoB,YAAY,GAAGpB,GAAG,CAACC,IAAJ,CAASoB,KAAT,CAAeC,OAAlC;AAAA,iBADP,EAEDd,KAFC,CAEK,UAAAC,GAAG;AAAA,yBAAIC,OAAO,CAACC,KAAR,CAAcF,GAAd,CAAJ;AAAA,iBAFR,C;;;AAGN,qBAAKc,QAAL,mBACO,KAAK7B,KADZ;AAEIkB,kBAAAA,SAAS,EAAE,KAFf;AAGIC,kBAAAA,SAAS,EAAE;AACPC,oBAAAA,KAAK,EAAExB,qBADA;AAEPyB,oBAAAA,IAAI,EAAEK;AAFC;AAHf;;;;;;;;;;;;;;;;;;6BA2BK;AACL,0BACI,oBAAC,SAAD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBACI,oBAAC,GAAD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBACI,oBAAC,GAAD;AAAK,QAAA,EAAE,EAAE,EAAT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBACI;AAAI,QAAA,SAAS,EAAC,YAAd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mCAAoC;AAAM,QAAA,SAAS,EAAC,uBAAhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAApC,SADJ,CADJ,CADJ,eAMI,oBAAC,GAAD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBACI,oBAAC,GAAD;AAAK,QAAA,EAAE,EAAE,EAAT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBACI,oBAAC,IAAD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBACI,oBAAC,QAAD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBACI,oBAAC,QAAD;AACI,QAAA,KAAK,EAAE,KAAK1B,KAAL,CAAWmB,SAAX,CAAqBC,KADhC;AAEI,QAAA,IAAI,EAAE,KAAKpB,KAAL,CAAWmB,SAAX,CAAqBE,IAF/B;AAGI,QAAA,SAAS,EAAC,WAHd;AAII,QAAA,SAAS,EAAE,KAAKrB,KAAL,CAAWkB,SAJ1B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QADJ,CADJ,CADJ,CADJ,CANJ,CADJ;AAuBH;;;;EA1EuB9B,KAAK,CAAC0C,S;;AA6ElC,eAAejC,aAAf","sourcesContent":["import React from 'react'\nimport { Container, Card, CardHeader, CardBody, Col, Row } from 'reactstrap'\nimport RPMTable from '../../../shared/components/rpm-table/RpmTable'\nimport axios from 'axios'\nimport { DocumentsHeaderObject } from '../../../shared/components/TableHeaderObjects'\n\n//MockData\nimport { DocumentsMockData } from '../../../shared/components/mockdata/DocumentsMockData'\n\nclass DocumentsList extends React.Component {\n constructor(props: any) {\n super(props)\n this.state = {\n isLoading: true,\n tableData: {\n heads: DocumentsHeaderObject,\n rows: []\n },\n pagination: {\n size: 1000,\n i: 0,\n }\n }\n }\n\n\n async componentDidMount() {\n let { i, size } = this.state.pagination;\n let DocumentList;\n await axios.get(`/api/document/documentlist?size=${size}&i=${i}`)\n .then(res => DocumentList = res.data.items.records)\n .catch(err => console.error(err))\n this.setState({\n ...this.state,\n isLoading: false,\n tableData: {\n heads: DocumentsHeaderObject,\n rows: DocumentList\n }\n })\n }\n\n makeCopyForEdit = async () => {\n const { designSpecId, partNumber1, revisionLevel } = this.state\n // XHR to a \"new\" route.\n // xhr should return the new dspec/pn/rev\n let data: any;\n await axios.post(`/api/document/document/cloneforedit/${designSpecId}/${partNumber1}/${revisionLevel}`)\n .then(res => {\n data = res.data;\n let newDsId = data.designSpecId;\n let newPn = data.partNumber;\n let newRev = data.revisionLevel;\n return (location.href = `/manage/documents/${newDsId}/${newPn}/${newRev}`);\n })\n .catch(err => console.error(err))\n }\n\n\n render() {\n return (\n \n \n \n

Document All

\n \n
\n \n \n \n \n \n \n \n \n \n
\n )\n }\n}\n\nexport default DocumentsList;"]},"metadata":{},"sourceType":"module"} \ No newline at end of file diff --git a/node_modules/.cache/babel-loader/04e87313f1405ac24d628bb8d9421328.json b/node_modules/.cache/babel-loader/04e87313f1405ac24d628bb8d9421328.json new file mode 100644 index 000000000..a058d75dc --- /dev/null +++ b/node_modules/.cache/babel-loader/04e87313f1405ac24d628bb8d9421328.json @@ -0,0 +1 @@ +{"ast":null,"code":"!function (e, t) {\n \"object\" == typeof exports && \"object\" == typeof module ? module.exports = t() : \"function\" == typeof define && define.amd ? define([], t) : \"object\" == typeof exports ? exports.ReactErrorOverlay = t() : e.ReactErrorOverlay = t();\n}(window, function () {\n return function (e) {\n var t = {};\n\n function n(r) {\n if (t[r]) return t[r].exports;\n var u = t[r] = {\n i: r,\n l: !1,\n exports: {}\n };\n return e[r].call(u.exports, u, u.exports, n), u.l = !0, u.exports;\n }\n\n return n.m = e, n.c = t, n.d = function (e, t, r) {\n n.o(e, t) || Object.defineProperty(e, t, {\n enumerable: !0,\n get: r\n });\n }, n.r = function (e) {\n \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {\n value: \"Module\"\n }), Object.defineProperty(e, \"__esModule\", {\n value: !0\n });\n }, n.t = function (e, t) {\n if (1 & t && (e = n(e)), 8 & t) return e;\n if (4 & t && \"object\" == typeof e && e && e.__esModule) return e;\n var r = Object.create(null);\n if (n.r(r), Object.defineProperty(r, \"default\", {\n enumerable: !0,\n value: e\n }), 2 & t && \"string\" != typeof e) for (var u in e) {\n n.d(r, u, function (t) {\n return e[t];\n }.bind(null, u));\n }\n return r;\n }, n.n = function (e) {\n var t = e && e.__esModule ? function () {\n return e.default;\n } : function () {\n return e;\n };\n return n.d(t, \"a\", t), t;\n }, n.o = function (e, t) {\n return Object.prototype.hasOwnProperty.call(e, t);\n }, n.p = \"\", n(n.s = 16);\n }([function (e, t, n) {\n e.exports = n(9);\n }, function (e, t) {\n t.getArg = function (e, t, n) {\n if (t in e) return e[t];\n if (3 === arguments.length) return n;\n throw new Error('\"' + t + '\" is a required argument.');\n };\n\n var n = /^(?:([\\w+\\-.]+):)?\\/\\/(?:(\\w+:\\w+)@)?([\\w.]*)(?::(\\d+))?(\\S*)$/,\n r = /^data:.+\\,.+$/;\n\n function u(e) {\n var t = e.match(n);\n return t ? {\n scheme: t[1],\n auth: t[2],\n host: t[3],\n port: t[4],\n path: t[5]\n } : null;\n }\n\n function o(e) {\n var t = \"\";\n return e.scheme && (t += e.scheme + \":\"), t += \"//\", e.auth && (t += e.auth + \"@\"), e.host && (t += e.host), e.port && (t += \":\" + e.port), e.path && (t += e.path), t;\n }\n\n function i(e) {\n var n = e,\n r = u(e);\n\n if (r) {\n if (!r.path) return e;\n n = r.path;\n }\n\n for (var i, a = t.isAbsolute(n), l = n.split(/\\/+/), s = 0, c = l.length - 1; c >= 0; c--) {\n \".\" === (i = l[c]) ? l.splice(c, 1) : \"..\" === i ? s++ : s > 0 && (\"\" === i ? (l.splice(c + 1, s), s = 0) : (l.splice(c, 2), s--));\n }\n\n return \"\" === (n = l.join(\"/\")) && (n = a ? \"/\" : \".\"), r ? (r.path = n, o(r)) : n;\n }\n\n t.urlParse = u, t.urlGenerate = o, t.normalize = i, t.join = function (e, t) {\n \"\" === e && (e = \".\"), \"\" === t && (t = \".\");\n var n = u(t),\n a = u(e);\n if (a && (e = a.path || \"/\"), n && !n.scheme) return a && (n.scheme = a.scheme), o(n);\n if (n || t.match(r)) return t;\n if (a && !a.host && !a.path) return a.host = t, o(a);\n var l = \"/\" === t.charAt(0) ? t : i(e.replace(/\\/+$/, \"\") + \"/\" + t);\n return a ? (a.path = l, o(a)) : l;\n }, t.isAbsolute = function (e) {\n return \"/\" === e.charAt(0) || !!e.match(n);\n }, t.relative = function (e, t) {\n \"\" === e && (e = \".\"), e = e.replace(/\\/$/, \"\");\n\n for (var n = 0; 0 !== t.indexOf(e + \"/\");) {\n var r = e.lastIndexOf(\"/\");\n if (r < 0) return t;\n if ((e = e.slice(0, r)).match(/^([^\\/]+:\\/)?\\/*$/)) return t;\n ++n;\n }\n\n return Array(n + 1).join(\"../\") + t.substr(e.length + 1);\n };\n var a = !(\"__proto__\" in Object.create(null));\n\n function l(e) {\n return e;\n }\n\n function s(e) {\n if (!e) return !1;\n var t = e.length;\n if (t < 9) return !1;\n if (95 !== e.charCodeAt(t - 1) || 95 !== e.charCodeAt(t - 2) || 111 !== e.charCodeAt(t - 3) || 116 !== e.charCodeAt(t - 4) || 111 !== e.charCodeAt(t - 5) || 114 !== e.charCodeAt(t - 6) || 112 !== e.charCodeAt(t - 7) || 95 !== e.charCodeAt(t - 8) || 95 !== e.charCodeAt(t - 9)) return !1;\n\n for (var n = t - 10; n >= 0; n--) {\n if (36 !== e.charCodeAt(n)) return !1;\n }\n\n return !0;\n }\n\n function c(e, t) {\n return e === t ? 0 : e > t ? 1 : -1;\n }\n\n t.toSetString = a ? l : function (e) {\n return s(e) ? \"$\" + e : e;\n }, t.fromSetString = a ? l : function (e) {\n return s(e) ? e.slice(1) : e;\n }, t.compareByOriginalPositions = function (e, t, n) {\n var r = e.source - t.source;\n return 0 !== r ? r : 0 != (r = e.originalLine - t.originalLine) ? r : 0 != (r = e.originalColumn - t.originalColumn) || n ? r : 0 != (r = e.generatedColumn - t.generatedColumn) ? r : 0 != (r = e.generatedLine - t.generatedLine) ? r : e.name - t.name;\n }, t.compareByGeneratedPositionsDeflated = function (e, t, n) {\n var r = e.generatedLine - t.generatedLine;\n return 0 !== r ? r : 0 != (r = e.generatedColumn - t.generatedColumn) || n ? r : 0 != (r = e.source - t.source) ? r : 0 != (r = e.originalLine - t.originalLine) ? r : 0 != (r = e.originalColumn - t.originalColumn) ? r : e.name - t.name;\n }, t.compareByGeneratedPositionsInflated = function (e, t) {\n var n = e.generatedLine - t.generatedLine;\n return 0 !== n ? n : 0 != (n = e.generatedColumn - t.generatedColumn) ? n : 0 !== (n = c(e.source, t.source)) ? n : 0 != (n = e.originalLine - t.originalLine) ? n : 0 != (n = e.originalColumn - t.originalColumn) ? n : c(e.name, t.name);\n };\n }, function (e, t) {\n function n(e, t) {\n for (var n = 0, r = e.length - 1; r >= 0; r--) {\n var u = e[r];\n \".\" === u ? e.splice(r, 1) : \"..\" === u ? (e.splice(r, 1), n++) : n && (e.splice(r, 1), n--);\n }\n\n if (t) for (; n--; n) {\n e.unshift(\"..\");\n }\n return e;\n }\n\n var r = /^(\\/?|)([\\s\\S]*?)((?:\\.{1,2}|[^\\/]+?|)(\\.[^.\\/]*|))(?:[\\/]*)$/,\n u = function u(e) {\n return r.exec(e).slice(1);\n };\n\n function o(e, t) {\n if (e.filter) return e.filter(t);\n\n for (var n = [], r = 0; r < e.length; r++) {\n t(e[r], r, e) && n.push(e[r]);\n }\n\n return n;\n }\n\n t.resolve = function () {\n for (var e = \"\", t = !1, r = arguments.length - 1; r >= -1 && !t; r--) {\n var u = r >= 0 ? arguments[r] : process.cwd();\n if (\"string\" != typeof u) throw new TypeError(\"Arguments to path.resolve must be strings\");\n u && (e = u + \"/\" + e, t = \"/\" === u.charAt(0));\n }\n\n return (t ? \"/\" : \"\") + (e = n(o(e.split(\"/\"), function (e) {\n return !!e;\n }), !t).join(\"/\")) || \".\";\n }, t.normalize = function (e) {\n var r = t.isAbsolute(e),\n u = \"/\" === i(e, -1);\n return (e = n(o(e.split(\"/\"), function (e) {\n return !!e;\n }), !r).join(\"/\")) || r || (e = \".\"), e && u && (e += \"/\"), (r ? \"/\" : \"\") + e;\n }, t.isAbsolute = function (e) {\n return \"/\" === e.charAt(0);\n }, t.join = function () {\n var e = Array.prototype.slice.call(arguments, 0);\n return t.normalize(o(e, function (e, t) {\n if (\"string\" != typeof e) throw new TypeError(\"Arguments to path.join must be strings\");\n return e;\n }).join(\"/\"));\n }, t.relative = function (e, n) {\n function r(e) {\n for (var t = 0; t < e.length && \"\" === e[t]; t++) {\n ;\n }\n\n for (var n = e.length - 1; n >= 0 && \"\" === e[n]; n--) {\n ;\n }\n\n return t > n ? [] : e.slice(t, n - t + 1);\n }\n\n e = t.resolve(e).substr(1), n = t.resolve(n).substr(1);\n\n for (var u = r(e.split(\"/\")), o = r(n.split(\"/\")), i = Math.min(u.length, o.length), a = i, l = 0; l < i; l++) {\n if (u[l] !== o[l]) {\n a = l;\n break;\n }\n }\n\n var s = [];\n\n for (l = a; l < u.length; l++) {\n s.push(\"..\");\n }\n\n return (s = s.concat(o.slice(a))).join(\"/\");\n }, t.sep = \"/\", t.delimiter = \":\", t.dirname = function (e) {\n var t = u(e),\n n = t[0],\n r = t[1];\n return n || r ? (r && (r = r.substr(0, r.length - 1)), n + r) : \".\";\n }, t.basename = function (e, t) {\n var n = u(e)[2];\n return t && n.substr(-1 * t.length) === t && (n = n.substr(0, n.length - t.length)), n;\n }, t.extname = function (e) {\n return u(e)[3];\n };\n var i = \"b\" === \"ab\".substr(-1) ? function (e, t, n) {\n return e.substr(t, n);\n } : function (e, t, n) {\n return t < 0 && (t = e.length + t), e.substr(t, n);\n };\n }, function (e, t, n) {\n t.SourceMapGenerator = n(4).SourceMapGenerator, t.SourceMapConsumer = n(12).SourceMapConsumer, t.SourceNode = n(15).SourceNode;\n }, function (e, t, n) {\n var r = n(5),\n u = n(1),\n o = n(6).ArraySet,\n i = n(11).MappingList;\n\n function a(e) {\n e || (e = {}), this._file = u.getArg(e, \"file\", null), this._sourceRoot = u.getArg(e, \"sourceRoot\", null), this._skipValidation = u.getArg(e, \"skipValidation\", !1), this._sources = new o(), this._names = new o(), this._mappings = new i(), this._sourcesContents = null;\n }\n\n a.prototype._version = 3, a.fromSourceMap = function (e) {\n var t = e.sourceRoot,\n n = new a({\n file: e.file,\n sourceRoot: t\n });\n return e.eachMapping(function (e) {\n var r = {\n generated: {\n line: e.generatedLine,\n column: e.generatedColumn\n }\n };\n null != e.source && (r.source = e.source, null != t && (r.source = u.relative(t, r.source)), r.original = {\n line: e.originalLine,\n column: e.originalColumn\n }, null != e.name && (r.name = e.name)), n.addMapping(r);\n }), e.sources.forEach(function (t) {\n var r = e.sourceContentFor(t);\n null != r && n.setSourceContent(t, r);\n }), n;\n }, a.prototype.addMapping = function (e) {\n var t = u.getArg(e, \"generated\"),\n n = u.getArg(e, \"original\", null),\n r = u.getArg(e, \"source\", null),\n o = u.getArg(e, \"name\", null);\n this._skipValidation || this._validateMapping(t, n, r, o), null != r && (r = String(r), this._sources.has(r) || this._sources.add(r)), null != o && (o = String(o), this._names.has(o) || this._names.add(o)), this._mappings.add({\n generatedLine: t.line,\n generatedColumn: t.column,\n originalLine: null != n && n.line,\n originalColumn: null != n && n.column,\n source: r,\n name: o\n });\n }, a.prototype.setSourceContent = function (e, t) {\n var n = e;\n null != this._sourceRoot && (n = u.relative(this._sourceRoot, n)), null != t ? (this._sourcesContents || (this._sourcesContents = Object.create(null)), this._sourcesContents[u.toSetString(n)] = t) : this._sourcesContents && (delete this._sourcesContents[u.toSetString(n)], 0 === Object.keys(this._sourcesContents).length && (this._sourcesContents = null));\n }, a.prototype.applySourceMap = function (e, t, n) {\n var r = t;\n\n if (null == t) {\n if (null == e.file) throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\\'s \"file\" property. Both were omitted.');\n r = e.file;\n }\n\n var i = this._sourceRoot;\n null != i && (r = u.relative(i, r));\n var a = new o(),\n l = new o();\n this._mappings.unsortedForEach(function (t) {\n if (t.source === r && null != t.originalLine) {\n var o = e.originalPositionFor({\n line: t.originalLine,\n column: t.originalColumn\n });\n null != o.source && (t.source = o.source, null != n && (t.source = u.join(n, t.source)), null != i && (t.source = u.relative(i, t.source)), t.originalLine = o.line, t.originalColumn = o.column, null != o.name && (t.name = o.name));\n }\n\n var s = t.source;\n null == s || a.has(s) || a.add(s);\n var c = t.name;\n null == c || l.has(c) || l.add(c);\n }, this), this._sources = a, this._names = l, e.sources.forEach(function (t) {\n var r = e.sourceContentFor(t);\n null != r && (null != n && (t = u.join(n, t)), null != i && (t = u.relative(i, t)), this.setSourceContent(t, r));\n }, this);\n }, a.prototype._validateMapping = function (e, t, n, r) {\n if ((!(e && \"line\" in e && \"column\" in e && e.line > 0 && e.column >= 0) || t || n || r) && !(e && \"line\" in e && \"column\" in e && t && \"line\" in t && \"column\" in t && e.line > 0 && e.column >= 0 && t.line > 0 && t.column >= 0 && n)) throw new Error(\"Invalid mapping: \" + JSON.stringify({\n generated: e,\n source: n,\n original: t,\n name: r\n }));\n }, a.prototype._serializeMappings = function () {\n for (var e, t, n, o, i = 0, a = 1, l = 0, s = 0, c = 0, f = 0, p = \"\", d = this._mappings.toArray(), h = 0, m = d.length; h < m; h++) {\n if (e = \"\", (t = d[h]).generatedLine !== a) for (i = 0; t.generatedLine !== a;) {\n e += \";\", a++;\n } else if (h > 0) {\n if (!u.compareByGeneratedPositionsInflated(t, d[h - 1])) continue;\n e += \",\";\n }\n e += r.encode(t.generatedColumn - i), i = t.generatedColumn, null != t.source && (o = this._sources.indexOf(t.source), e += r.encode(o - f), f = o, e += r.encode(t.originalLine - 1 - s), s = t.originalLine - 1, e += r.encode(t.originalColumn - l), l = t.originalColumn, null != t.name && (n = this._names.indexOf(t.name), e += r.encode(n - c), c = n)), p += e;\n }\n\n return p;\n }, a.prototype._generateSourcesContent = function (e, t) {\n return e.map(function (e) {\n if (!this._sourcesContents) return null;\n null != t && (e = u.relative(t, e));\n var n = u.toSetString(e);\n return Object.prototype.hasOwnProperty.call(this._sourcesContents, n) ? this._sourcesContents[n] : null;\n }, this);\n }, a.prototype.toJSON = function () {\n var e = {\n version: this._version,\n sources: this._sources.toArray(),\n names: this._names.toArray(),\n mappings: this._serializeMappings()\n };\n return null != this._file && (e.file = this._file), null != this._sourceRoot && (e.sourceRoot = this._sourceRoot), this._sourcesContents && (e.sourcesContent = this._generateSourcesContent(e.sources, e.sourceRoot)), e;\n }, a.prototype.toString = function () {\n return JSON.stringify(this.toJSON());\n }, t.SourceMapGenerator = a;\n }, function (e, t, n) {\n var r = n(10);\n t.encode = function (e) {\n var t,\n n = \"\",\n u = function (e) {\n return e < 0 ? 1 + (-e << 1) : 0 + (e << 1);\n }(e);\n\n do {\n t = 31 & u, (u >>>= 5) > 0 && (t |= 32), n += r.encode(t);\n } while (u > 0);\n\n return n;\n }, t.decode = function (e, t, n) {\n var u,\n o,\n i,\n a,\n l = e.length,\n s = 0,\n c = 0;\n\n do {\n if (t >= l) throw new Error(\"Expected more digits in base 64 VLQ value.\");\n if (-1 === (o = r.decode(e.charCodeAt(t++)))) throw new Error(\"Invalid base64 digit: \" + e.charAt(t - 1));\n u = !!(32 & o), s += (o &= 31) << c, c += 5;\n } while (u);\n\n n.value = (a = (i = s) >> 1, 1 == (1 & i) ? -a : a), n.rest = t;\n };\n }, function (e, t, n) {\n var r = n(1),\n u = Object.prototype.hasOwnProperty;\n\n function o() {\n this._array = [], this._set = Object.create(null);\n }\n\n o.fromArray = function (e, t) {\n for (var n = new o(), r = 0, u = e.length; r < u; r++) {\n n.add(e[r], t);\n }\n\n return n;\n }, o.prototype.size = function () {\n return Object.getOwnPropertyNames(this._set).length;\n }, o.prototype.add = function (e, t) {\n var n = r.toSetString(e),\n o = u.call(this._set, n),\n i = this._array.length;\n o && !t || this._array.push(e), o || (this._set[n] = i);\n }, o.prototype.has = function (e) {\n var t = r.toSetString(e);\n return u.call(this._set, t);\n }, o.prototype.indexOf = function (e) {\n var t = r.toSetString(e);\n if (u.call(this._set, t)) return this._set[t];\n throw new Error('\"' + e + '\" is not in the set.');\n }, o.prototype.at = function (e) {\n if (e >= 0 && e < this._array.length) return this._array[e];\n throw new Error(\"No element indexed by \" + e);\n }, o.prototype.toArray = function () {\n return this._array.slice();\n }, t.ArraySet = o;\n }, function (e, t, n) {\n \"use strict\";\n\n function r(e) {\n return Array.isArray(e) || (e = [e]), Promise.all(e.map(function (e) {\n return e.then(function (e) {\n return {\n isFulfilled: !0,\n isRejected: !1,\n value: e\n };\n }).catch(function (e) {\n return {\n isFulfilled: !1,\n isRejected: !0,\n reason: e\n };\n });\n }));\n }\n\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n }), t.settle = r, t.default = r;\n }, function (e, t) {\n e.exports = \"!function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){\\\"undefined\\\"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\\"Module\\\"}),Object.defineProperty(e,\\\"__esModule\\\",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&\\\"object\\\"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,\\\"default\\\",{enumerable:!0,value:e}),2&t&&\\\"string\\\"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,\\\"a\\\",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p=\\\"\\\",n(n.s=202)}([function(e,t,n){\\\"use strict\\\";e.exports=n(178)},function(e,t,n){var r=n(5),u=n(34).f,o=n(17),i=n(21),a=n(38),l=n(58),c=n(54);e.exports=function(e,t){var n,s,f,d,p,h=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[h]||a(h,{}):(r[h]||{}).prototype)for(s in t){if(d=t[s],f=e.noTargetGet?(p=u(n,s))&&p.value:n[s],!c(m?s:h+(g?\\\".\\\":\\\"#\\\")+s,e.forced)&&void 0!==f){if(typeof d===typeof f)continue;l(d,f)}(e.sham||f&&f.sham)&&o(d,\\\"sham\\\",!0),i(n,s,d,e)}}},function(e,t,n){var r=n(10);e.exports=function(e){if(!r(e))throw TypeError(String(e)+\\\" is not an object\\\");return e}},function(e,t){e.exports=!1},function(e,t){e.exports=function(e){if(\\\"function\\\"!=typeof e)throw TypeError(String(e)+\\\" is not a function\\\");return e}},function(e,t){e.exports=\\\"object\\\"==typeof window&&window&&window.Math==Math?window:\\\"object\\\"==typeof self&&self&&self.Math==Math?self:Function(\\\"return this\\\")()},function(e,t,n){var r=n(24)(\\\"wks\\\"),u=n(30),o=n(5).Symbol,i=n(62);e.exports=function(e){return r[e]||(r[e]=i&&o[e]||(i?o:u)(\\\"Symbol.\\\"+e))}},function(e,t,n){var r=n(4);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,u){return e.call(t,n,r,u)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(71),u=n(11),o=n(77),i=n(13).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});u(t,e)||i(t,e,{value:o.f(e)})}},function(e,t,n){var r=n(2),u=n(61),o=n(31),i=n(7),a=n(43),l=n(64),c={};(e.exports=function(e,t,n,s,f){var d,p,h,m,g,v=i(t,n,s?2:1);if(f)d=e;else{if(\\\"function\\\"!=typeof(p=a(e)))throw TypeError(\\\"Target is not iterable\\\");if(u(p)){for(h=0,m=o(e.length);m>h;h++)if((s?v(r(g=e[h])[0],g[1]):v(e[h]))===c)return c;return}d=p.call(e)}for(;!(g=d.next()).done;)if(l(d,v,g.value,s)===c)return c}).BREAK=c},function(e,t){e.exports=function(e){return\\\"object\\\"===typeof e?null!==e:\\\"function\\\"===typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(16),u=n(55),o=n(2),i=n(28),a=Object.defineProperty;t.f=r?a:function(e,t,n){if(o(e),t=i(t,!0),o(n),u)try{return a(e,t,n)}catch(e){}if(\\\"get\\\"in n||\\\"set\\\"in n)throw TypeError(\\\"Accessors not supported\\\");return\\\"value\\\"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(71),u=n(5),o=function(e){return\\\"function\\\"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(u[e]):r[e]&&r[e][t]||u[e]&&u[e][t]}},function(e,t,n){var r=n(3),u=n(47);e.exports=r?u:function(e){return Map.prototype.entries.call(e)}},function(e,t,n){e.exports=!n(12)(function(){return 7!=Object.defineProperty({},\\\"a\\\",{get:function(){return 7}}).a})},function(e,t,n){var r=n(13),u=n(23);e.exports=n(16)?function(e,t,n){return r.f(e,t,u(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(2),u=n(4),o=n(6)(\\\"species\\\");e.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||void 0==(n=r(i)[o])?t:u(n)}},function(e,t,n){var r=n(3),u=n(47);e.exports=r?u:function(e){return Set.prototype.values.call(e)}},function(e,t,n){var r=n(87),u=n(37);e.exports=function(e){return r(u(e))}},function(e,t,n){var r=n(5),u=n(17),o=n(11),i=n(38),a=n(57),l=n(25),c=l.get,s=l.enforce,f=String(a).split(\\\"toString\\\");n(24)(\\\"inspectSource\\\",function(e){return a.call(e)}),(e.exports=function(e,t,n,a){var l=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet;\\\"function\\\"==typeof n&&(\\\"string\\\"!=typeof t||o(n,\\\"name\\\")||u(n,\\\"name\\\",t),s(n).source=f.join(\\\"string\\\"==typeof t?t:\\\"\\\")),e!==r?(l?!d&&e[t]&&(c=!0):delete e[t],c?e[t]=n:u(e,t,n)):c?e[t]=n:i(t,n)})(Function.prototype,\\\"toString\\\",function(){return\\\"function\\\"==typeof this&&c(this).source||a.call(this)})},function(e,t,n){var r=n(13).f,u=n(11),o=n(6)(\\\"toStringTag\\\");e.exports=function(e,t,n){e&&!u(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(5),u=n(38),o=r[\\\"__core-js_shared__\\\"]||u(\\\"__core-js_shared__\\\",{});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})(\\\"versions\\\",[]).push({version:\\\"3.0.1\\\",mode:n(3)?\\\"pure\\\":\\\"global\\\",copyright:\\\"\\xA9 2019 Denis Pushkarev (zloirock.ru)\\\"})},function(e,t,n){var r,u,o,i=n(88),a=n(10),l=n(17),c=n(11),s=n(29),f=n(26),d=n(5).WeakMap;if(i){var p=new d,h=p.get,m=p.has,g=p.set;r=function(e,t){return g.call(p,e,t),t},u=function(e){return h.call(p,e)||{}},o=function(e){return m.call(p,e)}}else{var v=s(\\\"state\\\");f[v]=!0,r=function(e,t){return l(e,v,t),t},u=function(e){return c(e,v)?e[v]:{}},o=function(e){return c(e,v)}}e.exports={set:r,get:u,has:o,enforce:function(e){return o(e)?u(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!a(t)||(n=u(t)).type!==e)throw TypeError(\\\"Incompatible receiver, \\\"+e+\\\" required\\\");return n}}}},function(e,t){e.exports={}},function(e,t){e.exports={}},function(e,t,n){var r=n(10);e.exports=function(e,t){if(!r(e))return e;var n,u;if(t&&\\\"function\\\"==typeof(n=e.toString)&&!r(u=n.call(e)))return u;if(\\\"function\\\"==typeof(n=e.valueOf)&&!r(u=n.call(e)))return u;if(!t&&\\\"function\\\"==typeof(n=e.toString)&&!r(u=n.call(e)))return u;throw TypeError(\\\"Can't convert object to primitive value\\\")}},function(e,t,n){var r=n(24)(\\\"keys\\\"),u=n(30);e.exports=function(e){return r[e]||(r[e]=u(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return\\\"Symbol(\\\".concat(void 0===e?\\\"\\\":e,\\\")_\\\",(++n+r).toString(36))}},function(e,t,n){var r=n(40),u=Math.min;e.exports=function(e){return e>0?u(r(e),9007199254740991):0}},function(e,t,n){var r=n(2),u=n(95),o=n(41),i=n(96),a=n(56),l=n(29)(\\\"IE_PROTO\\\"),c=function(){},s=function(){var e,t=a(\\\"iframe\\\"),n=o.length;for(t.style.display=\\\"none\\\",i.appendChild(t),t.src=String(\\\"javascript:\\\"),(e=t.contentWindow.document).open(),e.write(\\\"