diff --git a/node_modules/.bin/loose-envify b/node_modules/.bin/loose-envify deleted file mode 100644 index bbdb1dff5aeab24843403343fcc83d52219d1a2b..0000000000000000000000000000000000000000 --- a/node_modules/.bin/loose-envify +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") - -case `uname` in - *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; -esac - -if [ -x "$basedir/node" ]; then - "$basedir/node" "$basedir/../loose-envify/cli.js" "$@" - ret=$? -else - node "$basedir/../loose-envify/cli.js" "$@" - ret=$? -fi -exit $ret diff --git a/node_modules/.bin/loose-envify.cmd b/node_modules/.bin/loose-envify.cmd deleted file mode 100644 index 2b2105699070bad1ebdffea0764d46ca4c7d8c29..0000000000000000000000000000000000000000 --- a/node_modules/.bin/loose-envify.cmd +++ /dev/null @@ -1,17 +0,0 @@ -@ECHO off -SETLOCAL -CALL :find_dp0 - -IF EXIST "%dp0%\node.exe" ( - SET "_prog=%dp0%\node.exe" -) ELSE ( - SET "_prog=node" - SET PATHEXT=%PATHEXT:;.JS;=;% -) - -"%_prog%" "%dp0%\..\loose-envify\cli.js" %* -ENDLOCAL -EXIT /b %errorlevel% -:find_dp0 -SET dp0=%~dp0 -EXIT /b diff --git a/node_modules/@babel/runtime/LICENSE b/node_modules/@babel/runtime/LICENSE deleted file mode 100644 index f31575ec773bb199aeb7c0d0f1612cfe1c7038f1..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other 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. diff --git a/node_modules/@babel/runtime/README.md b/node_modules/@babel/runtime/README.md deleted file mode 100644 index 119c99d95d2d12c7b9f9760172d81e1e57a364ab..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/runtime - -> babel's modular runtime helpers - -See our website [@babel/runtime](https://babeljs.io/docs/en/babel-runtime) for more information. - -## Install - -Using npm: - -```sh -npm install --save @babel/runtime -``` - -or using yarn: - -```sh -yarn add @babel/runtime -``` diff --git a/node_modules/@babel/runtime/helpers/AsyncGenerator.js b/node_modules/@babel/runtime/helpers/AsyncGenerator.js deleted file mode 100644 index 5e2373061a5cad53c5544564ba2779985f88bd96..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/AsyncGenerator.js +++ /dev/null @@ -1,100 +0,0 @@ -var AwaitValue = require("./AwaitValue"); - -function AsyncGenerator(gen) { - var front, back; - - function send(key, arg) { - return new Promise(function (resolve, reject) { - var request = { - key: key, - arg: arg, - resolve: resolve, - reject: reject, - next: null - }; - - if (back) { - back = back.next = request; - } else { - front = back = request; - resume(key, arg); - } - }); - } - - function resume(key, arg) { - try { - var result = gen[key](arg); - var value = result.value; - var wrappedAwait = value instanceof AwaitValue; - Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) { - if (wrappedAwait) { - resume(key === "return" ? "return" : "next", arg); - return; - } - - settle(result.done ? "return" : "normal", arg); - }, function (err) { - resume("throw", err); - }); - } catch (err) { - settle("throw", err); - } - } - - function settle(type, value) { - switch (type) { - case "return": - front.resolve({ - value: value, - done: true - }); - break; - - case "throw": - front.reject(value); - break; - - default: - front.resolve({ - value: value, - done: false - }); - break; - } - - front = front.next; - - if (front) { - resume(front.key, front.arg); - } else { - back = null; - } - } - - this._invoke = send; - - if (typeof gen["return"] !== "function") { - this["return"] = undefined; - } -} - -if (typeof Symbol === "function" && Symbol.asyncIterator) { - AsyncGenerator.prototype[Symbol.asyncIterator] = function () { - return this; - }; -} - -AsyncGenerator.prototype.next = function (arg) { - return this._invoke("next", arg); -}; - -AsyncGenerator.prototype["throw"] = function (arg) { - return this._invoke("throw", arg); -}; - -AsyncGenerator.prototype["return"] = function (arg) { - return this._invoke("return", arg); -}; - -module.exports = AsyncGenerator; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/AwaitValue.js b/node_modules/@babel/runtime/helpers/AwaitValue.js deleted file mode 100644 index f9f418419593577a72dbd44707136648f198849f..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/AwaitValue.js +++ /dev/null @@ -1,5 +0,0 @@ -function _AwaitValue(value) { - this.wrapped = value; -} - -module.exports = _AwaitValue; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js b/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js deleted file mode 100644 index b0b41ddd2f4610a3868e3f1a295eb39024055c69..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +++ /dev/null @@ -1,30 +0,0 @@ -function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { - var desc = {}; - Object.keys(descriptor).forEach(function (key) { - desc[key] = descriptor[key]; - }); - desc.enumerable = !!desc.enumerable; - desc.configurable = !!desc.configurable; - - if ('value' in desc || desc.initializer) { - desc.writable = true; - } - - desc = decorators.slice().reverse().reduce(function (desc, decorator) { - return decorator(target, property, desc) || desc; - }, desc); - - if (context && desc.initializer !== void 0) { - desc.value = desc.initializer ? desc.initializer.call(context) : void 0; - desc.initializer = undefined; - } - - if (desc.initializer === void 0) { - Object.defineProperty(target, property, desc); - desc = null; - } - - return desc; -} - -module.exports = _applyDecoratedDescriptor; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/arrayLikeToArray.js b/node_modules/@babel/runtime/helpers/arrayLikeToArray.js deleted file mode 100644 index d620194ea41eb3306b88b2076ba9817b259c5ef9..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +++ /dev/null @@ -1,11 +0,0 @@ -function _arrayLikeToArray(arr, len) { - if (len == null || len > arr.length) len = arr.length; - - for (var i = 0, arr2 = new Array(len); i < len; i++) { - arr2[i] = arr[i]; - } - - return arr2; -} - -module.exports = _arrayLikeToArray; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/arrayWithHoles.js b/node_modules/@babel/runtime/helpers/arrayWithHoles.js deleted file mode 100644 index 5a62a8ce4b132e3ea127b0655e8d0e73a9d98376..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/arrayWithHoles.js +++ /dev/null @@ -1,5 +0,0 @@ -function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; -} - -module.exports = _arrayWithHoles; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js b/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js deleted file mode 100644 index 694681cb48ecdd38de17c74c2415c7e10c2da91d..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +++ /dev/null @@ -1,7 +0,0 @@ -var arrayLikeToArray = require("./arrayLikeToArray"); - -function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) return arrayLikeToArray(arr); -} - -module.exports = _arrayWithoutHoles; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/assertThisInitialized.js b/node_modules/@babel/runtime/helpers/assertThisInitialized.js deleted file mode 100644 index 98d294983efb799457f0aae69b91b47751ed136e..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/assertThisInitialized.js +++ /dev/null @@ -1,9 +0,0 @@ -function _assertThisInitialized(self) { - if (self === void 0) { - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - } - - return self; -} - -module.exports = _assertThisInitialized; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js b/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js deleted file mode 100644 index c37ecf2c080889e39e3b47bc8c25600c94442252..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +++ /dev/null @@ -1,58 +0,0 @@ -function _asyncGeneratorDelegate(inner, awaitWrap) { - var iter = {}, - waiting = false; - - function pump(key, value) { - waiting = true; - value = new Promise(function (resolve) { - resolve(inner[key](value)); - }); - return { - done: false, - value: awaitWrap(value) - }; - } - - ; - - if (typeof Symbol === "function" && Symbol.iterator) { - iter[Symbol.iterator] = function () { - return this; - }; - } - - iter.next = function (value) { - if (waiting) { - waiting = false; - return value; - } - - return pump("next", value); - }; - - if (typeof inner["throw"] === "function") { - iter["throw"] = function (value) { - if (waiting) { - waiting = false; - throw value; - } - - return pump("throw", value); - }; - } - - if (typeof inner["return"] === "function") { - iter["return"] = function (value) { - if (waiting) { - waiting = false; - return value; - } - - return pump("return", value); - }; - } - - return iter; -} - -module.exports = _asyncGeneratorDelegate; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/asyncIterator.js b/node_modules/@babel/runtime/helpers/asyncIterator.js deleted file mode 100644 index ef5db274a2f1beef076b32b9f8b1226384db3aae..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/asyncIterator.js +++ /dev/null @@ -1,19 +0,0 @@ -function _asyncIterator(iterable) { - var method; - - if (typeof Symbol !== "undefined") { - if (Symbol.asyncIterator) { - method = iterable[Symbol.asyncIterator]; - if (method != null) return method.call(iterable); - } - - if (Symbol.iterator) { - method = iterable[Symbol.iterator]; - if (method != null) return method.call(iterable); - } - } - - throw new TypeError("Object is not async iterable"); -} - -module.exports = _asyncIterator; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/asyncToGenerator.js b/node_modules/@babel/runtime/helpers/asyncToGenerator.js deleted file mode 100644 index f5db93df306e3d8ee6a711e400a23dea0c91c9cb..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/asyncToGenerator.js +++ /dev/null @@ -1,37 +0,0 @@ -function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { - try { - var info = gen[key](arg); - var value = info.value; - } catch (error) { - reject(error); - return; - } - - if (info.done) { - resolve(value); - } else { - Promise.resolve(value).then(_next, _throw); - } -} - -function _asyncToGenerator(fn) { - return function () { - var self = this, - args = arguments; - return new Promise(function (resolve, reject) { - var gen = fn.apply(self, args); - - function _next(value) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); - } - - function _throw(err) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); - } - - _next(undefined); - }); - }; -} - -module.exports = _asyncToGenerator; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js b/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js deleted file mode 100644 index 59f797af74e2784699df394da2261cb74d1e6055..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +++ /dev/null @@ -1,7 +0,0 @@ -var AwaitValue = require("./AwaitValue"); - -function _awaitAsyncGenerator(value) { - return new AwaitValue(value); -} - -module.exports = _awaitAsyncGenerator; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classCallCheck.js b/node_modules/@babel/runtime/helpers/classCallCheck.js deleted file mode 100644 index f389f2e82b16d2b7717ba1fd804788c40ce8841a..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/classCallCheck.js +++ /dev/null @@ -1,7 +0,0 @@ -function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -} - -module.exports = _classCallCheck; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classNameTDZError.js b/node_modules/@babel/runtime/helpers/classNameTDZError.js deleted file mode 100644 index 8c1bdf5540017e20b5f2e73de28a3a3acc8fec7b..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/classNameTDZError.js +++ /dev/null @@ -1,5 +0,0 @@ -function _classNameTDZError(name) { - throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys."); -} - -module.exports = _classNameTDZError; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js b/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js deleted file mode 100644 index fab91057a3c9c393c080487ae828ead451f55472..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +++ /dev/null @@ -1,28 +0,0 @@ -function _classPrivateFieldDestructureSet(receiver, privateMap) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to set private field on non-instance"); - } - - var descriptor = privateMap.get(receiver); - - if (descriptor.set) { - if (!("__destrObj" in descriptor)) { - descriptor.__destrObj = { - set value(v) { - descriptor.set.call(receiver, v); - } - - }; - } - - return descriptor.__destrObj; - } else { - if (!descriptor.writable) { - throw new TypeError("attempted to set read only private field"); - } - - return descriptor; - } -} - -module.exports = _classPrivateFieldDestructureSet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js b/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js deleted file mode 100644 index 106c3cd90a5183f0dfa9b9cbbd04a631f6024a5d..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +++ /dev/null @@ -1,15 +0,0 @@ -function _classPrivateFieldGet(receiver, privateMap) { - var descriptor = privateMap.get(receiver); - - if (!descriptor) { - throw new TypeError("attempted to get private field on non-instance"); - } - - if (descriptor.get) { - return descriptor.get.call(receiver); - } - - return descriptor.value; -} - -module.exports = _classPrivateFieldGet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js b/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js deleted file mode 100644 index 64ed79df69de01b9b51e7850b7111a4016c222fe..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +++ /dev/null @@ -1,9 +0,0 @@ -function _classPrivateFieldBase(receiver, privateKey) { - if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { - throw new TypeError("attempted to use private field on non-instance"); - } - - return receiver; -} - -module.exports = _classPrivateFieldBase; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js b/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js deleted file mode 100644 index a1a6417a5ea38f85aa91a827fd7152ee52f82e36..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +++ /dev/null @@ -1,7 +0,0 @@ -var id = 0; - -function _classPrivateFieldKey(name) { - return "__private_" + id++ + "_" + name; -} - -module.exports = _classPrivateFieldKey; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js b/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js deleted file mode 100644 index c92f97a8e5070d325377a7b0121b8d8af3aad3fd..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +++ /dev/null @@ -1,21 +0,0 @@ -function _classPrivateFieldSet(receiver, privateMap, value) { - var descriptor = privateMap.get(receiver); - - if (!descriptor) { - throw new TypeError("attempted to set private field on non-instance"); - } - - if (descriptor.set) { - descriptor.set.call(receiver, value); - } else { - if (!descriptor.writable) { - throw new TypeError("attempted to set read only private field"); - } - - descriptor.value = value; - } - - return value; -} - -module.exports = _classPrivateFieldSet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js b/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js deleted file mode 100644 index a3432b9a864b4e1e02b6b53708892ed61a39f519..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +++ /dev/null @@ -1,9 +0,0 @@ -function _classPrivateMethodGet(receiver, privateSet, fn) { - if (!privateSet.has(receiver)) { - throw new TypeError("attempted to get private field on non-instance"); - } - - return fn; -} - -module.exports = _classPrivateMethodGet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js b/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js deleted file mode 100644 index 38472848c69b467a86fb8cebcd37782d61c301be..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +++ /dev/null @@ -1,5 +0,0 @@ -function _classPrivateMethodSet() { - throw new TypeError("attempted to reassign private method"); -} - -module.exports = _classPrivateMethodSet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js b/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js deleted file mode 100644 index c2b6766475a176b37c2eb62b7f2860f2a722234a..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +++ /dev/null @@ -1,13 +0,0 @@ -function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) { - if (receiver !== classConstructor) { - throw new TypeError("Private static access of wrong provenance"); - } - - if (descriptor.get) { - return descriptor.get.call(receiver); - } - - return descriptor.value; -} - -module.exports = _classStaticPrivateFieldSpecGet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js b/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js deleted file mode 100644 index 8799fbb3422dbc4fcc62ac02510051a7575f1814..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +++ /dev/null @@ -1,19 +0,0 @@ -function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) { - if (receiver !== classConstructor) { - throw new TypeError("Private static access of wrong provenance"); - } - - if (descriptor.set) { - descriptor.set.call(receiver, value); - } else { - if (!descriptor.writable) { - throw new TypeError("attempted to set read only private field"); - } - - descriptor.value = value; - } - - return value; -} - -module.exports = _classStaticPrivateFieldSpecSet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js b/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js deleted file mode 100644 index f9b0d0033dd88db37bf82d7a94032f73a69a82f9..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +++ /dev/null @@ -1,9 +0,0 @@ -function _classStaticPrivateMethodGet(receiver, classConstructor, method) { - if (receiver !== classConstructor) { - throw new TypeError("Private static access of wrong provenance"); - } - - return method; -} - -module.exports = _classStaticPrivateMethodGet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js b/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js deleted file mode 100644 index 89042da5d7248dc4cf8a11bad4a231438c4942d9..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +++ /dev/null @@ -1,5 +0,0 @@ -function _classStaticPrivateMethodSet() { - throw new TypeError("attempted to set read only static private field"); -} - -module.exports = _classStaticPrivateMethodSet; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/construct.js b/node_modules/@babel/runtime/helpers/construct.js deleted file mode 100644 index e6cccf077eb4f068f1aec26ceaa50094b5bc5fb7..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/construct.js +++ /dev/null @@ -1,22 +0,0 @@ -var setPrototypeOf = require("./setPrototypeOf"); - -var isNativeReflectConstruct = require("./isNativeReflectConstruct"); - -function _construct(Parent, args, Class) { - if (isNativeReflectConstruct()) { - module.exports = _construct = Reflect.construct; - } else { - module.exports = _construct = function _construct(Parent, args, Class) { - var a = [null]; - a.push.apply(a, args); - var Constructor = Function.bind.apply(Parent, a); - var instance = new Constructor(); - if (Class) setPrototypeOf(instance, Class.prototype); - return instance; - }; - } - - return _construct.apply(null, arguments); -} - -module.exports = _construct; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/createClass.js b/node_modules/@babel/runtime/helpers/createClass.js deleted file mode 100644 index f9d48410993699a5bb5bb6d558e4b850987fa9e8..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/createClass.js +++ /dev/null @@ -1,17 +0,0 @@ -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); - } -} - -function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - return Constructor; -} - -module.exports = _createClass; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js b/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js deleted file mode 100644 index fbb37435841a3b484e79bc6b1fa6df3ed566b20b..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +++ /dev/null @@ -1,60 +0,0 @@ -var unsupportedIterableToArray = require("./unsupportedIterableToArray"); - -function _createForOfIteratorHelper(o, allowArrayLike) { - var it; - - if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { - if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { - if (it) o = it; - var i = 0; - - var F = function F() {}; - - return { - s: F, - n: function n() { - if (i >= o.length) return { - done: true - }; - return { - done: false, - value: o[i++] - }; - }, - e: function e(_e) { - throw _e; - }, - f: F - }; - } - - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); - } - - var normalCompletion = true, - didErr = false, - err; - return { - s: function s() { - it = o[Symbol.iterator](); - }, - n: function n() { - var step = it.next(); - normalCompletion = step.done; - return step; - }, - e: function e(_e2) { - didErr = true; - err = _e2; - }, - f: function f() { - try { - if (!normalCompletion && it["return"] != null) it["return"](); - } finally { - if (didErr) throw err; - } - } - }; -} - -module.exports = _createForOfIteratorHelper; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js b/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js deleted file mode 100644 index 547d4b995b7e2c4b9471fbdf7425e3591b434b2b..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +++ /dev/null @@ -1,28 +0,0 @@ -var unsupportedIterableToArray = require("./unsupportedIterableToArray"); - -function _createForOfIteratorHelperLoose(o, allowArrayLike) { - var it; - - if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { - if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { - if (it) o = it; - var i = 0; - return function () { - if (i >= o.length) return { - done: true - }; - return { - done: false, - value: o[i++] - }; - }; - } - - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); - } - - it = o[Symbol.iterator](); - return it.next.bind(it); -} - -module.exports = _createForOfIteratorHelperLoose; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/createSuper.js b/node_modules/@babel/runtime/helpers/createSuper.js deleted file mode 100644 index fcf12837659488de2f36a282341e1c44efff25b2..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/createSuper.js +++ /dev/null @@ -1,24 +0,0 @@ -var getPrototypeOf = require("./getPrototypeOf"); - -var isNativeReflectConstruct = require("./isNativeReflectConstruct"); - -var possibleConstructorReturn = require("./possibleConstructorReturn"); - -function _createSuper(Derived) { - var hasNativeReflectConstruct = isNativeReflectConstruct(); - return function _createSuperInternal() { - var Super = getPrototypeOf(Derived), - result; - - if (hasNativeReflectConstruct) { - var NewTarget = getPrototypeOf(this).constructor; - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); - } - - return possibleConstructorReturn(this, result); - }; -} - -module.exports = _createSuper; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/decorate.js b/node_modules/@babel/runtime/helpers/decorate.js deleted file mode 100644 index 77c0b980857faa52073fa90df726fdec0ecdc2c5..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/decorate.js +++ /dev/null @@ -1,400 +0,0 @@ -var toArray = require("./toArray"); - -var toPropertyKey = require("./toPropertyKey"); - -function _decorate(decorators, factory, superClass, mixins) { - var api = _getDecoratorsApi(); - - if (mixins) { - for (var i = 0; i < mixins.length; i++) { - api = mixins[i](api); - } - } - - var r = factory(function initialize(O) { - api.initializeInstanceElements(O, decorated.elements); - }, superClass); - var decorated = api.decorateClass(_coalesceClassElements(r.d.map(_createElementDescriptor)), decorators); - api.initializeClassElements(r.F, decorated.elements); - return api.runClassFinishers(r.F, decorated.finishers); -} - -function _getDecoratorsApi() { - _getDecoratorsApi = function _getDecoratorsApi() { - return api; - }; - - var api = { - elementsDefinitionOrder: [["method"], ["field"]], - initializeInstanceElements: function initializeInstanceElements(O, elements) { - ["method", "field"].forEach(function (kind) { - elements.forEach(function (element) { - if (element.kind === kind && element.placement === "own") { - this.defineClassElement(O, element); - } - }, this); - }, this); - }, - initializeClassElements: function initializeClassElements(F, elements) { - var proto = F.prototype; - ["method", "field"].forEach(function (kind) { - elements.forEach(function (element) { - var placement = element.placement; - - if (element.kind === kind && (placement === "static" || placement === "prototype")) { - var receiver = placement === "static" ? F : proto; - this.defineClassElement(receiver, element); - } - }, this); - }, this); - }, - defineClassElement: function defineClassElement(receiver, element) { - var descriptor = element.descriptor; - - if (element.kind === "field") { - var initializer = element.initializer; - descriptor = { - enumerable: descriptor.enumerable, - writable: descriptor.writable, - configurable: descriptor.configurable, - value: initializer === void 0 ? void 0 : initializer.call(receiver) - }; - } - - Object.defineProperty(receiver, element.key, descriptor); - }, - decorateClass: function decorateClass(elements, decorators) { - var newElements = []; - var finishers = []; - var placements = { - "static": [], - prototype: [], - own: [] - }; - elements.forEach(function (element) { - this.addElementPlacement(element, placements); - }, this); - elements.forEach(function (element) { - if (!_hasDecorators(element)) return newElements.push(element); - var elementFinishersExtras = this.decorateElement(element, placements); - newElements.push(elementFinishersExtras.element); - newElements.push.apply(newElements, elementFinishersExtras.extras); - finishers.push.apply(finishers, elementFinishersExtras.finishers); - }, this); - - if (!decorators) { - return { - elements: newElements, - finishers: finishers - }; - } - - var result = this.decorateConstructor(newElements, decorators); - finishers.push.apply(finishers, result.finishers); - result.finishers = finishers; - return result; - }, - addElementPlacement: function addElementPlacement(element, placements, silent) { - var keys = placements[element.placement]; - - if (!silent && keys.indexOf(element.key) !== -1) { - throw new TypeError("Duplicated element (" + element.key + ")"); - } - - keys.push(element.key); - }, - decorateElement: function decorateElement(element, placements) { - var extras = []; - var finishers = []; - - for (var decorators = element.decorators, i = decorators.length - 1; i >= 0; i--) { - var keys = placements[element.placement]; - keys.splice(keys.indexOf(element.key), 1); - var elementObject = this.fromElementDescriptor(element); - var elementFinisherExtras = this.toElementFinisherExtras((0, decorators[i])(elementObject) || elementObject); - element = elementFinisherExtras.element; - this.addElementPlacement(element, placements); - - if (elementFinisherExtras.finisher) { - finishers.push(elementFinisherExtras.finisher); - } - - var newExtras = elementFinisherExtras.extras; - - if (newExtras) { - for (var j = 0; j < newExtras.length; j++) { - this.addElementPlacement(newExtras[j], placements); - } - - extras.push.apply(extras, newExtras); - } - } - - return { - element: element, - finishers: finishers, - extras: extras - }; - }, - decorateConstructor: function decorateConstructor(elements, decorators) { - var finishers = []; - - for (var i = decorators.length - 1; i >= 0; i--) { - var obj = this.fromClassDescriptor(elements); - var elementsAndFinisher = this.toClassDescriptor((0, decorators[i])(obj) || obj); - - if (elementsAndFinisher.finisher !== undefined) { - finishers.push(elementsAndFinisher.finisher); - } - - if (elementsAndFinisher.elements !== undefined) { - elements = elementsAndFinisher.elements; - - for (var j = 0; j < elements.length - 1; j++) { - for (var k = j + 1; k < elements.length; k++) { - if (elements[j].key === elements[k].key && elements[j].placement === elements[k].placement) { - throw new TypeError("Duplicated element (" + elements[j].key + ")"); - } - } - } - } - } - - return { - elements: elements, - finishers: finishers - }; - }, - fromElementDescriptor: function fromElementDescriptor(element) { - var obj = { - kind: element.kind, - key: element.key, - placement: element.placement, - descriptor: element.descriptor - }; - var desc = { - value: "Descriptor", - configurable: true - }; - Object.defineProperty(obj, Symbol.toStringTag, desc); - if (element.kind === "field") obj.initializer = element.initializer; - return obj; - }, - toElementDescriptors: function toElementDescriptors(elementObjects) { - if (elementObjects === undefined) return; - return toArray(elementObjects).map(function (elementObject) { - var element = this.toElementDescriptor(elementObject); - this.disallowProperty(elementObject, "finisher", "An element descriptor"); - this.disallowProperty(elementObject, "extras", "An element descriptor"); - return element; - }, this); - }, - toElementDescriptor: function toElementDescriptor(elementObject) { - var kind = String(elementObject.kind); - - if (kind !== "method" && kind !== "field") { - throw new TypeError('An element descriptor\'s .kind property must be either "method" or' + ' "field", but a decorator created an element descriptor with' + ' .kind "' + kind + '"'); - } - - var key = toPropertyKey(elementObject.key); - var placement = String(elementObject.placement); - - if (placement !== "static" && placement !== "prototype" && placement !== "own") { - throw new TypeError('An element descriptor\'s .placement property must be one of "static",' + ' "prototype" or "own", but a decorator created an element descriptor' + ' with .placement "' + placement + '"'); - } - - var descriptor = elementObject.descriptor; - this.disallowProperty(elementObject, "elements", "An element descriptor"); - var element = { - kind: kind, - key: key, - placement: placement, - descriptor: Object.assign({}, descriptor) - }; - - if (kind !== "field") { - this.disallowProperty(elementObject, "initializer", "A method descriptor"); - } else { - this.disallowProperty(descriptor, "get", "The property descriptor of a field descriptor"); - this.disallowProperty(descriptor, "set", "The property descriptor of a field descriptor"); - this.disallowProperty(descriptor, "value", "The property descriptor of a field descriptor"); - element.initializer = elementObject.initializer; - } - - return element; - }, - toElementFinisherExtras: function toElementFinisherExtras(elementObject) { - var element = this.toElementDescriptor(elementObject); - - var finisher = _optionalCallableProperty(elementObject, "finisher"); - - var extras = this.toElementDescriptors(elementObject.extras); - return { - element: element, - finisher: finisher, - extras: extras - }; - }, - fromClassDescriptor: function fromClassDescriptor(elements) { - var obj = { - kind: "class", - elements: elements.map(this.fromElementDescriptor, this) - }; - var desc = { - value: "Descriptor", - configurable: true - }; - Object.defineProperty(obj, Symbol.toStringTag, desc); - return obj; - }, - toClassDescriptor: function toClassDescriptor(obj) { - var kind = String(obj.kind); - - if (kind !== "class") { - throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator' + ' created a class descriptor with .kind "' + kind + '"'); - } - - this.disallowProperty(obj, "key", "A class descriptor"); - this.disallowProperty(obj, "placement", "A class descriptor"); - this.disallowProperty(obj, "descriptor", "A class descriptor"); - this.disallowProperty(obj, "initializer", "A class descriptor"); - this.disallowProperty(obj, "extras", "A class descriptor"); - - var finisher = _optionalCallableProperty(obj, "finisher"); - - var elements = this.toElementDescriptors(obj.elements); - return { - elements: elements, - finisher: finisher - }; - }, - runClassFinishers: function runClassFinishers(constructor, finishers) { - for (var i = 0; i < finishers.length; i++) { - var newConstructor = (0, finishers[i])(constructor); - - if (newConstructor !== undefined) { - if (typeof newConstructor !== "function") { - throw new TypeError("Finishers must return a constructor."); - } - - constructor = newConstructor; - } - } - - return constructor; - }, - disallowProperty: function disallowProperty(obj, name, objectType) { - if (obj[name] !== undefined) { - throw new TypeError(objectType + " can't have a ." + name + " property."); - } - } - }; - return api; -} - -function _createElementDescriptor(def) { - var key = toPropertyKey(def.key); - var descriptor; - - if (def.kind === "method") { - descriptor = { - value: def.value, - writable: true, - configurable: true, - enumerable: false - }; - } else if (def.kind === "get") { - descriptor = { - get: def.value, - configurable: true, - enumerable: false - }; - } else if (def.kind === "set") { - descriptor = { - set: def.value, - configurable: true, - enumerable: false - }; - } else if (def.kind === "field") { - descriptor = { - configurable: true, - writable: true, - enumerable: true - }; - } - - var element = { - kind: def.kind === "field" ? "field" : "method", - key: key, - placement: def["static"] ? "static" : def.kind === "field" ? "own" : "prototype", - descriptor: descriptor - }; - if (def.decorators) element.decorators = def.decorators; - if (def.kind === "field") element.initializer = def.value; - return element; -} - -function _coalesceGetterSetter(element, other) { - if (element.descriptor.get !== undefined) { - other.descriptor.get = element.descriptor.get; - } else { - other.descriptor.set = element.descriptor.set; - } -} - -function _coalesceClassElements(elements) { - var newElements = []; - - var isSameElement = function isSameElement(other) { - return other.kind === "method" && other.key === element.key && other.placement === element.placement; - }; - - for (var i = 0; i < elements.length; i++) { - var element = elements[i]; - var other; - - if (element.kind === "method" && (other = newElements.find(isSameElement))) { - if (_isDataDescriptor(element.descriptor) || _isDataDescriptor(other.descriptor)) { - if (_hasDecorators(element) || _hasDecorators(other)) { - throw new ReferenceError("Duplicated methods (" + element.key + ") can't be decorated."); - } - - other.descriptor = element.descriptor; - } else { - if (_hasDecorators(element)) { - if (_hasDecorators(other)) { - throw new ReferenceError("Decorators can't be placed on different accessors with for " + "the same property (" + element.key + ")."); - } - - other.decorators = element.decorators; - } - - _coalesceGetterSetter(element, other); - } - } else { - newElements.push(element); - } - } - - return newElements; -} - -function _hasDecorators(element) { - return element.decorators && element.decorators.length; -} - -function _isDataDescriptor(desc) { - return desc !== undefined && !(desc.value === undefined && desc.writable === undefined); -} - -function _optionalCallableProperty(obj, name) { - var value = obj[name]; - - if (value !== undefined && typeof value !== "function") { - throw new TypeError("Expected '" + name + "' to be a function"); - } - - return value; -} - -module.exports = _decorate; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/defaults.js b/node_modules/@babel/runtime/helpers/defaults.js deleted file mode 100644 index 55ba1febf2fe051f177703f8a59221e5793c0855..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/defaults.js +++ /dev/null @@ -1,16 +0,0 @@ -function _defaults(obj, defaults) { - var keys = Object.getOwnPropertyNames(defaults); - - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - var value = Object.getOwnPropertyDescriptor(defaults, key); - - if (value && value.configurable && obj[key] === undefined) { - Object.defineProperty(obj, key, value); - } - } - - return obj; -} - -module.exports = _defaults; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js b/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js deleted file mode 100644 index 5d80ea1e3744d392480d3e7ca1f823f7dcdc0a7a..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +++ /dev/null @@ -1,24 +0,0 @@ -function _defineEnumerableProperties(obj, descs) { - for (var key in descs) { - var desc = descs[key]; - desc.configurable = desc.enumerable = true; - if ("value" in desc) desc.writable = true; - Object.defineProperty(obj, key, desc); - } - - if (Object.getOwnPropertySymbols) { - var objectSymbols = Object.getOwnPropertySymbols(descs); - - for (var i = 0; i < objectSymbols.length; i++) { - var sym = objectSymbols[i]; - var desc = descs[sym]; - desc.configurable = desc.enumerable = true; - if ("value" in desc) desc.writable = true; - Object.defineProperty(obj, sym, desc); - } - } - - return obj; -} - -module.exports = _defineEnumerableProperties; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/defineProperty.js b/node_modules/@babel/runtime/helpers/defineProperty.js deleted file mode 100644 index 32a8d73f526590f87d1eadbf3316e7d994f92932..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/defineProperty.js +++ /dev/null @@ -1,16 +0,0 @@ -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; - } - - return obj; -} - -module.exports = _defineProperty; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js b/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js deleted file mode 100644 index 4e746cf88183c9355035714f83cf86b25ef450ee..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +++ /dev/null @@ -1,97 +0,0 @@ -import AwaitValue from "@babel/runtime/helpers/esm/AwaitValue"; -export default function AsyncGenerator(gen) { - var front, back; - - function send(key, arg) { - return new Promise(function (resolve, reject) { - var request = { - key: key, - arg: arg, - resolve: resolve, - reject: reject, - next: null - }; - - if (back) { - back = back.next = request; - } else { - front = back = request; - resume(key, arg); - } - }); - } - - function resume(key, arg) { - try { - var result = gen[key](arg); - var value = result.value; - var wrappedAwait = value instanceof AwaitValue; - Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) { - if (wrappedAwait) { - resume(key === "return" ? "return" : "next", arg); - return; - } - - settle(result.done ? "return" : "normal", arg); - }, function (err) { - resume("throw", err); - }); - } catch (err) { - settle("throw", err); - } - } - - function settle(type, value) { - switch (type) { - case "return": - front.resolve({ - value: value, - done: true - }); - break; - - case "throw": - front.reject(value); - break; - - default: - front.resolve({ - value: value, - done: false - }); - break; - } - - front = front.next; - - if (front) { - resume(front.key, front.arg); - } else { - back = null; - } - } - - this._invoke = send; - - if (typeof gen["return"] !== "function") { - this["return"] = undefined; - } -} - -if (typeof Symbol === "function" && Symbol.asyncIterator) { - AsyncGenerator.prototype[Symbol.asyncIterator] = function () { - return this; - }; -} - -AsyncGenerator.prototype.next = function (arg) { - return this._invoke("next", arg); -}; - -AsyncGenerator.prototype["throw"] = function (arg) { - return this._invoke("throw", arg); -}; - -AsyncGenerator.prototype["return"] = function (arg) { - return this._invoke("return", arg); -}; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/AwaitValue.js b/node_modules/@babel/runtime/helpers/esm/AwaitValue.js deleted file mode 100644 index 5237e18fdc8aa344a56444b5e423065befe2bcf0..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _AwaitValue(value) { - this.wrapped = value; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js b/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js deleted file mode 100644 index 84b59617c0764fae8a92d7ccf88adfc6e68a9fff..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +++ /dev/null @@ -1,28 +0,0 @@ -export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { - var desc = {}; - Object.keys(descriptor).forEach(function (key) { - desc[key] = descriptor[key]; - }); - desc.enumerable = !!desc.enumerable; - desc.configurable = !!desc.configurable; - - if ('value' in desc || desc.initializer) { - desc.writable = true; - } - - desc = decorators.slice().reverse().reduce(function (desc, decorator) { - return decorator(target, property, desc) || desc; - }, desc); - - if (context && desc.initializer !== void 0) { - desc.value = desc.initializer ? desc.initializer.call(context) : void 0; - desc.initializer = undefined; - } - - if (desc.initializer === void 0) { - Object.defineProperty(target, property, desc); - desc = null; - } - - return desc; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js b/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js deleted file mode 100644 index edbeb8ee38416977887fbf8801008a1b9f1d232b..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +++ /dev/null @@ -1,9 +0,0 @@ -export default function _arrayLikeToArray(arr, len) { - if (len == null || len > arr.length) len = arr.length; - - for (var i = 0, arr2 = new Array(len); i < len; i++) { - arr2[i] = arr[i]; - } - - return arr2; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js b/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js deleted file mode 100644 index be734fc38621e44fc547619a85ee1fba97d01fae..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js b/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js deleted file mode 100644 index 80d4b5b62ae5310ea8b1883efaf4e188cadd80d5..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +++ /dev/null @@ -1,4 +0,0 @@ -import arrayLikeToArray from "@babel/runtime/helpers/esm/arrayLikeToArray"; -export default function _arrayWithoutHoles(arr) { - if (Array.isArray(arr)) return arrayLikeToArray(arr); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js b/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js deleted file mode 100644 index bbf849ca50e66f60bb95da3091fbc944e73f1669..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +++ /dev/null @@ -1,7 +0,0 @@ -export default function _assertThisInitialized(self) { - if (self === void 0) { - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - } - - return self; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js b/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js deleted file mode 100644 index eb56fe59ab4a030f31bf4df23e4c88c2456f5c35..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +++ /dev/null @@ -1,56 +0,0 @@ -export default function _asyncGeneratorDelegate(inner, awaitWrap) { - var iter = {}, - waiting = false; - - function pump(key, value) { - waiting = true; - value = new Promise(function (resolve) { - resolve(inner[key](value)); - }); - return { - done: false, - value: awaitWrap(value) - }; - } - - ; - - if (typeof Symbol === "function" && Symbol.iterator) { - iter[Symbol.iterator] = function () { - return this; - }; - } - - iter.next = function (value) { - if (waiting) { - waiting = false; - return value; - } - - return pump("next", value); - }; - - if (typeof inner["throw"] === "function") { - iter["throw"] = function (value) { - if (waiting) { - waiting = false; - throw value; - } - - return pump("throw", value); - }; - } - - if (typeof inner["return"] === "function") { - iter["return"] = function (value) { - if (waiting) { - waiting = false; - return value; - } - - return pump("return", value); - }; - } - - return iter; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/asyncIterator.js b/node_modules/@babel/runtime/helpers/esm/asyncIterator.js deleted file mode 100644 index e03fa97820dcc1e228f65670b6a659163ea345f6..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +++ /dev/null @@ -1,17 +0,0 @@ -export default function _asyncIterator(iterable) { - var method; - - if (typeof Symbol !== "undefined") { - if (Symbol.asyncIterator) { - method = iterable[Symbol.asyncIterator]; - if (method != null) return method.call(iterable); - } - - if (Symbol.iterator) { - method = iterable[Symbol.iterator]; - if (method != null) return method.call(iterable); - } - } - - throw new TypeError("Object is not async iterable"); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js b/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js deleted file mode 100644 index 2a25f543bfedbe7d725387c64fb66b8155ace549..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +++ /dev/null @@ -1,35 +0,0 @@ -function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { - try { - var info = gen[key](arg); - var value = info.value; - } catch (error) { - reject(error); - return; - } - - if (info.done) { - resolve(value); - } else { - Promise.resolve(value).then(_next, _throw); - } -} - -export default function _asyncToGenerator(fn) { - return function () { - var self = this, - args = arguments; - return new Promise(function (resolve, reject) { - var gen = fn.apply(self, args); - - function _next(value) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); - } - - function _throw(err) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); - } - - _next(undefined); - }); - }; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js b/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js deleted file mode 100644 index 32db4963869ea9271e897e7efd6f5b5677c58aeb..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +++ /dev/null @@ -1,4 +0,0 @@ -import AwaitValue from "@babel/runtime/helpers/esm/AwaitValue"; -export default function _awaitAsyncGenerator(value) { - return new AwaitValue(value); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classCallCheck.js b/node_modules/@babel/runtime/helpers/esm/classCallCheck.js deleted file mode 100644 index 2f1738a3d6f611d10e63321e785bb07aa4dbf239..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +++ /dev/null @@ -1,5 +0,0 @@ -export default function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js b/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js deleted file mode 100644 index f7b6dd5787e9fd5ec7bea083e8644ee3e5714a68..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _classNameTDZError(name) { - throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys."); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js deleted file mode 100644 index 1f265bc8e171cdba0eb14f040388038005d61744..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +++ /dev/null @@ -1,26 +0,0 @@ -export default function _classPrivateFieldDestructureSet(receiver, privateMap) { - if (!privateMap.has(receiver)) { - throw new TypeError("attempted to set private field on non-instance"); - } - - var descriptor = privateMap.get(receiver); - - if (descriptor.set) { - if (!("__destrObj" in descriptor)) { - descriptor.__destrObj = { - set value(v) { - descriptor.set.call(receiver, v); - } - - }; - } - - return descriptor.__destrObj; - } else { - if (!descriptor.writable) { - throw new TypeError("attempted to set read only private field"); - } - - return descriptor; - } -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js deleted file mode 100644 index f8287f115987c5ca44175b2ac8973382098b7f38..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +++ /dev/null @@ -1,13 +0,0 @@ -export default function _classPrivateFieldGet(receiver, privateMap) { - var descriptor = privateMap.get(receiver); - - if (!descriptor) { - throw new TypeError("attempted to get private field on non-instance"); - } - - if (descriptor.get) { - return descriptor.get.call(receiver); - } - - return descriptor.value; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js deleted file mode 100644 index 5b10916f478af5c7a2372d8899cdfc0853ed38a9..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +++ /dev/null @@ -1,7 +0,0 @@ -export default function _classPrivateFieldBase(receiver, privateKey) { - if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { - throw new TypeError("attempted to use private field on non-instance"); - } - - return receiver; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js deleted file mode 100644 index 5b7e5ac020eef518463f1072b7d180b5f7d97691..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +++ /dev/null @@ -1,4 +0,0 @@ -var id = 0; -export default function _classPrivateFieldKey(name) { - return "__private_" + id++ + "_" + name; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js deleted file mode 100644 index fb4e5d2b28f212e359ce6c59607d4c332bbbe183..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +++ /dev/null @@ -1,19 +0,0 @@ -export default function _classPrivateFieldSet(receiver, privateMap, value) { - var descriptor = privateMap.get(receiver); - - if (!descriptor) { - throw new TypeError("attempted to set private field on non-instance"); - } - - if (descriptor.set) { - descriptor.set.call(receiver, value); - } else { - if (!descriptor.writable) { - throw new TypeError("attempted to set read only private field"); - } - - descriptor.value = value; - } - - return value; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js deleted file mode 100644 index 38b9d584dea1eacbee42b2812455d9b4c8633a47..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +++ /dev/null @@ -1,7 +0,0 @@ -export default function _classPrivateMethodGet(receiver, privateSet, fn) { - if (!privateSet.has(receiver)) { - throw new TypeError("attempted to get private field on non-instance"); - } - - return fn; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js b/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js deleted file mode 100644 index 2bbaf3a7a46949b610f8060ea2f3573054b7727e..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _classPrivateMethodSet() { - throw new TypeError("attempted to reassign private method"); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js deleted file mode 100644 index 75a9b7cea7445568172117c8d37d40863dcecd0a..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +++ /dev/null @@ -1,11 +0,0 @@ -export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) { - if (receiver !== classConstructor) { - throw new TypeError("Private static access of wrong provenance"); - } - - if (descriptor.get) { - return descriptor.get.call(receiver); - } - - return descriptor.value; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js deleted file mode 100644 index 163279f22abaa2204cf5354b7596351d3dc09bda..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +++ /dev/null @@ -1,17 +0,0 @@ -export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) { - if (receiver !== classConstructor) { - throw new TypeError("Private static access of wrong provenance"); - } - - if (descriptor.set) { - descriptor.set.call(receiver, value); - } else { - if (!descriptor.writable) { - throw new TypeError("attempted to set read only private field"); - } - - descriptor.value = value; - } - - return value; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js deleted file mode 100644 index da9b1e57eae2c02a00e37fc4898d53f4db618e0b..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +++ /dev/null @@ -1,7 +0,0 @@ -export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) { - if (receiver !== classConstructor) { - throw new TypeError("Private static access of wrong provenance"); - } - - return method; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js b/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js deleted file mode 100644 index d5ab60a970b8bc3bcf5af92f726477451053710c..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _classStaticPrivateMethodSet() { - throw new TypeError("attempted to set read only static private field"); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/construct.js b/node_modules/@babel/runtime/helpers/esm/construct.js deleted file mode 100644 index f9a94cd81711cbdcc10bcc95bd825f6b0b31e792..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/construct.js +++ /dev/null @@ -1,18 +0,0 @@ -import setPrototypeOf from "@babel/runtime/helpers/esm/setPrototypeOf"; -import isNativeReflectConstruct from "@babel/runtime/helpers/esm/isNativeReflectConstruct"; -export default function _construct(Parent, args, Class) { - if (isNativeReflectConstruct()) { - _construct = Reflect.construct; - } else { - _construct = function _construct(Parent, args, Class) { - var a = [null]; - a.push.apply(a, args); - var Constructor = Function.bind.apply(Parent, a); - var instance = new Constructor(); - if (Class) setPrototypeOf(instance, Class.prototype); - return instance; - }; - } - - return _construct.apply(null, arguments); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/createClass.js b/node_modules/@babel/runtime/helpers/esm/createClass.js deleted file mode 100644 index d6cf412203b6c3532971d90b8b2498bc956249e9..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/createClass.js +++ /dev/null @@ -1,15 +0,0 @@ -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); - } -} - -export default function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - return Constructor; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js b/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js deleted file mode 100644 index f929137ec9cb3ddf7e25808b20e9ee04ef899080..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +++ /dev/null @@ -1,57 +0,0 @@ -import unsupportedIterableToArray from "@babel/runtime/helpers/esm/unsupportedIterableToArray"; -export default function _createForOfIteratorHelper(o, allowArrayLike) { - var it; - - if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { - if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { - if (it) o = it; - var i = 0; - - var F = function F() {}; - - return { - s: F, - n: function n() { - if (i >= o.length) return { - done: true - }; - return { - done: false, - value: o[i++] - }; - }, - e: function e(_e) { - throw _e; - }, - f: F - }; - } - - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); - } - - var normalCompletion = true, - didErr = false, - err; - return { - s: function s() { - it = o[Symbol.iterator](); - }, - n: function n() { - var step = it.next(); - normalCompletion = step.done; - return step; - }, - e: function e(_e2) { - didErr = true; - err = _e2; - }, - f: function f() { - try { - if (!normalCompletion && it["return"] != null) it["return"](); - } finally { - if (didErr) throw err; - } - } - }; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js b/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js deleted file mode 100644 index 49b63899ff6255ee255dd8c20e5e888779cb00fe..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +++ /dev/null @@ -1,25 +0,0 @@ -import unsupportedIterableToArray from "@babel/runtime/helpers/esm/unsupportedIterableToArray"; -export default function _createForOfIteratorHelperLoose(o, allowArrayLike) { - var it; - - if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { - if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { - if (it) o = it; - var i = 0; - return function () { - if (i >= o.length) return { - done: true - }; - return { - done: false, - value: o[i++] - }; - }; - } - - throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); - } - - it = o[Symbol.iterator](); - return it.next.bind(it); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/createSuper.js b/node_modules/@babel/runtime/helpers/esm/createSuper.js deleted file mode 100644 index 456a95b346dc83b0c45b71c4cc2524bb385b5be9..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/createSuper.js +++ /dev/null @@ -1,19 +0,0 @@ -import getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf"; -import isNativeReflectConstruct from "@babel/runtime/helpers/esm/isNativeReflectConstruct"; -import possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn"; -export default function _createSuper(Derived) { - var hasNativeReflectConstruct = isNativeReflectConstruct(); - return function _createSuperInternal() { - var Super = getPrototypeOf(Derived), - result; - - if (hasNativeReflectConstruct) { - var NewTarget = getPrototypeOf(this).constructor; - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); - } - - return possibleConstructorReturn(this, result); - }; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/decorate.js b/node_modules/@babel/runtime/helpers/esm/decorate.js deleted file mode 100644 index 04871f09fead016eb52e2f2350f449fe226c9fe8..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/decorate.js +++ /dev/null @@ -1,396 +0,0 @@ -import toArray from "@babel/runtime/helpers/esm/toArray"; -import toPropertyKey from "@babel/runtime/helpers/esm/toPropertyKey"; -export default function _decorate(decorators, factory, superClass, mixins) { - var api = _getDecoratorsApi(); - - if (mixins) { - for (var i = 0; i < mixins.length; i++) { - api = mixins[i](api); - } - } - - var r = factory(function initialize(O) { - api.initializeInstanceElements(O, decorated.elements); - }, superClass); - var decorated = api.decorateClass(_coalesceClassElements(r.d.map(_createElementDescriptor)), decorators); - api.initializeClassElements(r.F, decorated.elements); - return api.runClassFinishers(r.F, decorated.finishers); -} - -function _getDecoratorsApi() { - _getDecoratorsApi = function _getDecoratorsApi() { - return api; - }; - - var api = { - elementsDefinitionOrder: [["method"], ["field"]], - initializeInstanceElements: function initializeInstanceElements(O, elements) { - ["method", "field"].forEach(function (kind) { - elements.forEach(function (element) { - if (element.kind === kind && element.placement === "own") { - this.defineClassElement(O, element); - } - }, this); - }, this); - }, - initializeClassElements: function initializeClassElements(F, elements) { - var proto = F.prototype; - ["method", "field"].forEach(function (kind) { - elements.forEach(function (element) { - var placement = element.placement; - - if (element.kind === kind && (placement === "static" || placement === "prototype")) { - var receiver = placement === "static" ? F : proto; - this.defineClassElement(receiver, element); - } - }, this); - }, this); - }, - defineClassElement: function defineClassElement(receiver, element) { - var descriptor = element.descriptor; - - if (element.kind === "field") { - var initializer = element.initializer; - descriptor = { - enumerable: descriptor.enumerable, - writable: descriptor.writable, - configurable: descriptor.configurable, - value: initializer === void 0 ? void 0 : initializer.call(receiver) - }; - } - - Object.defineProperty(receiver, element.key, descriptor); - }, - decorateClass: function decorateClass(elements, decorators) { - var newElements = []; - var finishers = []; - var placements = { - "static": [], - prototype: [], - own: [] - }; - elements.forEach(function (element) { - this.addElementPlacement(element, placements); - }, this); - elements.forEach(function (element) { - if (!_hasDecorators(element)) return newElements.push(element); - var elementFinishersExtras = this.decorateElement(element, placements); - newElements.push(elementFinishersExtras.element); - newElements.push.apply(newElements, elementFinishersExtras.extras); - finishers.push.apply(finishers, elementFinishersExtras.finishers); - }, this); - - if (!decorators) { - return { - elements: newElements, - finishers: finishers - }; - } - - var result = this.decorateConstructor(newElements, decorators); - finishers.push.apply(finishers, result.finishers); - result.finishers = finishers; - return result; - }, - addElementPlacement: function addElementPlacement(element, placements, silent) { - var keys = placements[element.placement]; - - if (!silent && keys.indexOf(element.key) !== -1) { - throw new TypeError("Duplicated element (" + element.key + ")"); - } - - keys.push(element.key); - }, - decorateElement: function decorateElement(element, placements) { - var extras = []; - var finishers = []; - - for (var decorators = element.decorators, i = decorators.length - 1; i >= 0; i--) { - var keys = placements[element.placement]; - keys.splice(keys.indexOf(element.key), 1); - var elementObject = this.fromElementDescriptor(element); - var elementFinisherExtras = this.toElementFinisherExtras((0, decorators[i])(elementObject) || elementObject); - element = elementFinisherExtras.element; - this.addElementPlacement(element, placements); - - if (elementFinisherExtras.finisher) { - finishers.push(elementFinisherExtras.finisher); - } - - var newExtras = elementFinisherExtras.extras; - - if (newExtras) { - for (var j = 0; j < newExtras.length; j++) { - this.addElementPlacement(newExtras[j], placements); - } - - extras.push.apply(extras, newExtras); - } - } - - return { - element: element, - finishers: finishers, - extras: extras - }; - }, - decorateConstructor: function decorateConstructor(elements, decorators) { - var finishers = []; - - for (var i = decorators.length - 1; i >= 0; i--) { - var obj = this.fromClassDescriptor(elements); - var elementsAndFinisher = this.toClassDescriptor((0, decorators[i])(obj) || obj); - - if (elementsAndFinisher.finisher !== undefined) { - finishers.push(elementsAndFinisher.finisher); - } - - if (elementsAndFinisher.elements !== undefined) { - elements = elementsAndFinisher.elements; - - for (var j = 0; j < elements.length - 1; j++) { - for (var k = j + 1; k < elements.length; k++) { - if (elements[j].key === elements[k].key && elements[j].placement === elements[k].placement) { - throw new TypeError("Duplicated element (" + elements[j].key + ")"); - } - } - } - } - } - - return { - elements: elements, - finishers: finishers - }; - }, - fromElementDescriptor: function fromElementDescriptor(element) { - var obj = { - kind: element.kind, - key: element.key, - placement: element.placement, - descriptor: element.descriptor - }; - var desc = { - value: "Descriptor", - configurable: true - }; - Object.defineProperty(obj, Symbol.toStringTag, desc); - if (element.kind === "field") obj.initializer = element.initializer; - return obj; - }, - toElementDescriptors: function toElementDescriptors(elementObjects) { - if (elementObjects === undefined) return; - return toArray(elementObjects).map(function (elementObject) { - var element = this.toElementDescriptor(elementObject); - this.disallowProperty(elementObject, "finisher", "An element descriptor"); - this.disallowProperty(elementObject, "extras", "An element descriptor"); - return element; - }, this); - }, - toElementDescriptor: function toElementDescriptor(elementObject) { - var kind = String(elementObject.kind); - - if (kind !== "method" && kind !== "field") { - throw new TypeError('An element descriptor\'s .kind property must be either "method" or' + ' "field", but a decorator created an element descriptor with' + ' .kind "' + kind + '"'); - } - - var key = toPropertyKey(elementObject.key); - var placement = String(elementObject.placement); - - if (placement !== "static" && placement !== "prototype" && placement !== "own") { - throw new TypeError('An element descriptor\'s .placement property must be one of "static",' + ' "prototype" or "own", but a decorator created an element descriptor' + ' with .placement "' + placement + '"'); - } - - var descriptor = elementObject.descriptor; - this.disallowProperty(elementObject, "elements", "An element descriptor"); - var element = { - kind: kind, - key: key, - placement: placement, - descriptor: Object.assign({}, descriptor) - }; - - if (kind !== "field") { - this.disallowProperty(elementObject, "initializer", "A method descriptor"); - } else { - this.disallowProperty(descriptor, "get", "The property descriptor of a field descriptor"); - this.disallowProperty(descriptor, "set", "The property descriptor of a field descriptor"); - this.disallowProperty(descriptor, "value", "The property descriptor of a field descriptor"); - element.initializer = elementObject.initializer; - } - - return element; - }, - toElementFinisherExtras: function toElementFinisherExtras(elementObject) { - var element = this.toElementDescriptor(elementObject); - - var finisher = _optionalCallableProperty(elementObject, "finisher"); - - var extras = this.toElementDescriptors(elementObject.extras); - return { - element: element, - finisher: finisher, - extras: extras - }; - }, - fromClassDescriptor: function fromClassDescriptor(elements) { - var obj = { - kind: "class", - elements: elements.map(this.fromElementDescriptor, this) - }; - var desc = { - value: "Descriptor", - configurable: true - }; - Object.defineProperty(obj, Symbol.toStringTag, desc); - return obj; - }, - toClassDescriptor: function toClassDescriptor(obj) { - var kind = String(obj.kind); - - if (kind !== "class") { - throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator' + ' created a class descriptor with .kind "' + kind + '"'); - } - - this.disallowProperty(obj, "key", "A class descriptor"); - this.disallowProperty(obj, "placement", "A class descriptor"); - this.disallowProperty(obj, "descriptor", "A class descriptor"); - this.disallowProperty(obj, "initializer", "A class descriptor"); - this.disallowProperty(obj, "extras", "A class descriptor"); - - var finisher = _optionalCallableProperty(obj, "finisher"); - - var elements = this.toElementDescriptors(obj.elements); - return { - elements: elements, - finisher: finisher - }; - }, - runClassFinishers: function runClassFinishers(constructor, finishers) { - for (var i = 0; i < finishers.length; i++) { - var newConstructor = (0, finishers[i])(constructor); - - if (newConstructor !== undefined) { - if (typeof newConstructor !== "function") { - throw new TypeError("Finishers must return a constructor."); - } - - constructor = newConstructor; - } - } - - return constructor; - }, - disallowProperty: function disallowProperty(obj, name, objectType) { - if (obj[name] !== undefined) { - throw new TypeError(objectType + " can't have a ." + name + " property."); - } - } - }; - return api; -} - -function _createElementDescriptor(def) { - var key = toPropertyKey(def.key); - var descriptor; - - if (def.kind === "method") { - descriptor = { - value: def.value, - writable: true, - configurable: true, - enumerable: false - }; - } else if (def.kind === "get") { - descriptor = { - get: def.value, - configurable: true, - enumerable: false - }; - } else if (def.kind === "set") { - descriptor = { - set: def.value, - configurable: true, - enumerable: false - }; - } else if (def.kind === "field") { - descriptor = { - configurable: true, - writable: true, - enumerable: true - }; - } - - var element = { - kind: def.kind === "field" ? "field" : "method", - key: key, - placement: def["static"] ? "static" : def.kind === "field" ? "own" : "prototype", - descriptor: descriptor - }; - if (def.decorators) element.decorators = def.decorators; - if (def.kind === "field") element.initializer = def.value; - return element; -} - -function _coalesceGetterSetter(element, other) { - if (element.descriptor.get !== undefined) { - other.descriptor.get = element.descriptor.get; - } else { - other.descriptor.set = element.descriptor.set; - } -} - -function _coalesceClassElements(elements) { - var newElements = []; - - var isSameElement = function isSameElement(other) { - return other.kind === "method" && other.key === element.key && other.placement === element.placement; - }; - - for (var i = 0; i < elements.length; i++) { - var element = elements[i]; - var other; - - if (element.kind === "method" && (other = newElements.find(isSameElement))) { - if (_isDataDescriptor(element.descriptor) || _isDataDescriptor(other.descriptor)) { - if (_hasDecorators(element) || _hasDecorators(other)) { - throw new ReferenceError("Duplicated methods (" + element.key + ") can't be decorated."); - } - - other.descriptor = element.descriptor; - } else { - if (_hasDecorators(element)) { - if (_hasDecorators(other)) { - throw new ReferenceError("Decorators can't be placed on different accessors with for " + "the same property (" + element.key + ")."); - } - - other.decorators = element.decorators; - } - - _coalesceGetterSetter(element, other); - } - } else { - newElements.push(element); - } - } - - return newElements; -} - -function _hasDecorators(element) { - return element.decorators && element.decorators.length; -} - -function _isDataDescriptor(desc) { - return desc !== undefined && !(desc.value === undefined && desc.writable === undefined); -} - -function _optionalCallableProperty(obj, name) { - var value = obj[name]; - - if (value !== undefined && typeof value !== "function") { - throw new TypeError("Expected '" + name + "' to be a function"); - } - - return value; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/defaults.js b/node_modules/@babel/runtime/helpers/esm/defaults.js deleted file mode 100644 index 3de1d8ecfeced34752d48cf629ac650021e5edda..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/defaults.js +++ /dev/null @@ -1,14 +0,0 @@ -export default function _defaults(obj, defaults) { - var keys = Object.getOwnPropertyNames(defaults); - - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - var value = Object.getOwnPropertyDescriptor(defaults, key); - - if (value && value.configurable && obj[key] === undefined) { - Object.defineProperty(obj, key, value); - } - } - - return obj; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js b/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js deleted file mode 100644 index 7981acd48ff5f44ee8f8cf68280ffbed87116f28..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +++ /dev/null @@ -1,22 +0,0 @@ -export default function _defineEnumerableProperties(obj, descs) { - for (var key in descs) { - var desc = descs[key]; - desc.configurable = desc.enumerable = true; - if ("value" in desc) desc.writable = true; - Object.defineProperty(obj, key, desc); - } - - if (Object.getOwnPropertySymbols) { - var objectSymbols = Object.getOwnPropertySymbols(descs); - - for (var i = 0; i < objectSymbols.length; i++) { - var sym = objectSymbols[i]; - var desc = descs[sym]; - desc.configurable = desc.enumerable = true; - if ("value" in desc) desc.writable = true; - Object.defineProperty(obj, sym, desc); - } - } - - return obj; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/defineProperty.js b/node_modules/@babel/runtime/helpers/esm/defineProperty.js deleted file mode 100644 index 7cf6e59fdf648766f66e7653c92ad173dec27b04..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/defineProperty.js +++ /dev/null @@ -1,14 +0,0 @@ -export default 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; - } - - return obj; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/extends.js b/node_modules/@babel/runtime/helpers/esm/extends.js deleted file mode 100644 index b9b138d82975866c9dd786562d98851c79a591d0..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/extends.js +++ /dev/null @@ -1,17 +0,0 @@ -export default function _extends() { - _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; - }; - - return _extends.apply(this, arguments); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/get.js b/node_modules/@babel/runtime/helpers/esm/get.js deleted file mode 100644 index c228da9dffd4e434e2efd3a5601c573d38699f20..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/get.js +++ /dev/null @@ -1,20 +0,0 @@ -import superPropBase from "@babel/runtime/helpers/esm/superPropBase"; -export default function _get(target, property, receiver) { - if (typeof Reflect !== "undefined" && Reflect.get) { - _get = Reflect.get; - } else { - _get = function _get(target, property, receiver) { - var base = superPropBase(target, property); - if (!base) return; - var desc = Object.getOwnPropertyDescriptor(base, property); - - if (desc.get) { - return desc.get.call(receiver); - } - - return desc.value; - }; - } - - return _get(target, property, receiver || target); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js b/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js deleted file mode 100644 index 5abafe381f4a42d0fc96cbf8ee92127d4c609d21..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +++ /dev/null @@ -1,6 +0,0 @@ -export default function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }; - return _getPrototypeOf(o); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/inherits.js b/node_modules/@babel/runtime/helpers/esm/inherits.js deleted file mode 100644 index 8e2a7d6bd64a0a77be7a9cc2b075c802c1bf94cc..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/inherits.js +++ /dev/null @@ -1,15 +0,0 @@ -import setPrototypeOf from "@babel/runtime/helpers/esm/setPrototypeOf"; -export default function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function"); - } - - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - writable: true, - configurable: true - } - }); - if (superClass) setPrototypeOf(subClass, superClass); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js b/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js deleted file mode 100644 index 32017e662db0fecdadb6222e54bede42c60c4fdf..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +++ /dev/null @@ -1,5 +0,0 @@ -export default function _inheritsLoose(subClass, superClass) { - subClass.prototype = Object.create(superClass.prototype); - subClass.prototype.constructor = subClass; - subClass.__proto__ = superClass; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js b/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js deleted file mode 100644 index 26fdea084dc5c11bb39cc51feebc391bd04a9e8e..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +++ /dev/null @@ -1,9 +0,0 @@ -export default function _initializerDefineProperty(target, property, descriptor, context) { - if (!descriptor) return; - Object.defineProperty(target, property, { - enumerable: descriptor.enumerable, - configurable: descriptor.configurable, - writable: descriptor.writable, - value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 - }); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js b/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js deleted file mode 100644 index 30d518cfd60c1335d2cf625188d93d81a12fe021..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _initializerWarningHelper(descriptor, context) { - throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/instanceof.js b/node_modules/@babel/runtime/helpers/esm/instanceof.js deleted file mode 100644 index 8c43b71787f5af926ae98cb50c9be3a0f5e8151c..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/instanceof.js +++ /dev/null @@ -1,7 +0,0 @@ -export default function _instanceof(left, right) { - if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { - return !!right[Symbol.hasInstance](left); - } else { - return left instanceof right; - } -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js b/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js deleted file mode 100644 index c2df7b64147f94e368f31fc8879e140ad1fc0fa4..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +++ /dev/null @@ -1,5 +0,0 @@ -export default function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { - "default": obj - }; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js b/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js deleted file mode 100644 index 2a2ab59cb489ee231fc182e0632f9986a5d892cb..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +++ /dev/null @@ -1,53 +0,0 @@ -import _typeof from "@babel/runtime/helpers/esm/typeof"; - -function _getRequireWildcardCache() { - if (typeof WeakMap !== "function") return null; - var cache = new WeakMap(); - - _getRequireWildcardCache = function _getRequireWildcardCache() { - return cache; - }; - - return cache; -} - -export default function _interopRequireWildcard(obj) { - if (obj && obj.__esModule) { - return obj; - } - - if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { - return { - "default": obj - }; - } - - var cache = _getRequireWildcardCache(); - - if (cache && cache.has(obj)) { - return cache.get(obj); - } - - var newObj = {}; - var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; - - for (var key in obj) { - if (Object.prototype.hasOwnProperty.call(obj, key)) { - var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; - - if (desc && (desc.get || desc.set)) { - Object.defineProperty(newObj, key, desc); - } else { - newObj[key] = obj[key]; - } - } - } - - newObj["default"] = obj; - - if (cache) { - cache.set(obj, newObj); - } - - return newObj; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js b/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js deleted file mode 100644 index 7b1bc821f760d145c90cc8c7c91f9303dea72646..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _isNativeFunction(fn) { - return Function.toString.call(fn).indexOf("[native code]") !== -1; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js b/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js deleted file mode 100644 index 9829e0fb7a7109dbec4f1e5ab9bf5afe8b68f09e..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +++ /dev/null @@ -1,12 +0,0 @@ -export default function _isNativeReflectConstruct() { - if (typeof Reflect === "undefined" || !Reflect.construct) return false; - if (Reflect.construct.sham) return false; - if (typeof Proxy === "function") return true; - - try { - Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); - return true; - } catch (e) { - return false; - } -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/iterableToArray.js b/node_modules/@babel/runtime/helpers/esm/iterableToArray.js deleted file mode 100644 index 6cd6ae353c374a33a6f17dc4694cf2ea92ae5bd5..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js b/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js deleted file mode 100644 index 6402595d3512a0b8a59672a0d5d7d5b56f8d0c4e..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +++ /dev/null @@ -1,26 +0,0 @@ -export default function _iterableToArrayLimit(arr, i) { - if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; - var _arr = []; - var _n = true; - var _d = false; - var _e = undefined; - - try { - for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { - _arr.push(_s.value); - - if (i && _arr.length === i) break; - } - } catch (err) { - _d = true; - _e = err; - } finally { - try { - if (!_n && _i["return"] != null) _i["return"](); - } finally { - if (_d) throw _e; - } - } - - return _arr; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js b/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js deleted file mode 100644 index 025c0ea5fb014e9ee25a8196f0839303a57792e4..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +++ /dev/null @@ -1,12 +0,0 @@ -export default function _iterableToArrayLimitLoose(arr, i) { - if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; - var _arr = []; - - for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) { - _arr.push(_step.value); - - if (i && _arr.length === i) break; - } - - return _arr; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/jsx.js b/node_modules/@babel/runtime/helpers/esm/jsx.js deleted file mode 100644 index 3a98cec8494a1bec63f046c86f1b074099658f10..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/jsx.js +++ /dev/null @@ -1,46 +0,0 @@ -var REACT_ELEMENT_TYPE; -export default function _createRawReactElement(type, props, key, children) { - if (!REACT_ELEMENT_TYPE) { - REACT_ELEMENT_TYPE = typeof Symbol === "function" && Symbol["for"] && Symbol["for"]("react.element") || 0xeac7; - } - - var defaultProps = type && type.defaultProps; - var childrenLength = arguments.length - 3; - - if (!props && childrenLength !== 0) { - props = { - children: void 0 - }; - } - - if (childrenLength === 1) { - props.children = children; - } else if (childrenLength > 1) { - var childArray = new Array(childrenLength); - - for (var i = 0; i < childrenLength; i++) { - childArray[i] = arguments[i + 3]; - } - - props.children = childArray; - } - - if (props && defaultProps) { - for (var propName in defaultProps) { - if (props[propName] === void 0) { - props[propName] = defaultProps[propName]; - } - } - } else if (!props) { - props = defaultProps || {}; - } - - return { - $$typeof: REACT_ELEMENT_TYPE, - type: type, - key: key === undefined ? null : '' + key, - ref: null, - props: props, - _owner: null - }; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js b/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js deleted file mode 100644 index bdea2188a1b7e5e7b663af4e3ca43eaa3d01d499..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +++ /dev/null @@ -1,9 +0,0 @@ -import arrayLikeToArray from "@babel/runtime/helpers/esm/arrayLikeToArray"; -export default function _maybeArrayLike(next, arr, i) { - if (arr && !Array.isArray(arr) && typeof arr.length === "number") { - var len = arr.length; - return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len); - } - - return next(arr, i); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js b/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js deleted file mode 100644 index d6cd8643775c1111581cfe3b9cc7cc0ac234fe1f..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +++ /dev/null @@ -1,5 +0,0 @@ -export default function _newArrowCheck(innerThis, boundThis) { - if (innerThis !== boundThis) { - throw new TypeError("Cannot instantiate an arrow function"); - } -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js b/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js deleted file mode 100644 index b349d006cd22422127fe12e4ae9f0501b7a3045b..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js b/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js deleted file mode 100644 index 82d829614248b566782e2b59f01bf2870de1d054..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _nonIterableSpread() { - throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js b/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js deleted file mode 100644 index 82b67d2cba7064db9a5b70548834989785c24962..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _objectDestructuringEmpty(obj) { - if (obj == null) throw new TypeError("Cannot destructure undefined"); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/objectSpread.js b/node_modules/@babel/runtime/helpers/esm/objectSpread.js deleted file mode 100644 index 88b2a014e345846d66d8a47a41c31f31bd1e9491..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/objectSpread.js +++ /dev/null @@ -1,19 +0,0 @@ -import defineProperty from "@babel/runtime/helpers/esm/defineProperty"; -export default function _objectSpread(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? Object(arguments[i]) : {}; - var ownKeys = Object.keys(source); - - if (typeof Object.getOwnPropertySymbols === 'function') { - ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { - return Object.getOwnPropertyDescriptor(source, sym).enumerable; - })); - } - - ownKeys.forEach(function (key) { - defineProperty(target, key, source[key]); - }); - } - - return target; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/objectSpread2.js b/node_modules/@babel/runtime/helpers/esm/objectSpread2.js deleted file mode 100644 index 5669da776ecd1d05af108b7f6c10cc848635638e..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +++ /dev/null @@ -1,35 +0,0 @@ -import defineProperty from "@babel/runtime/helpers/esm/defineProperty"; - -function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); - - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - if (enumerableOnly) symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - keys.push.apply(keys, symbols); - } - - return keys; -} - -export default function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - - if (i % 2) { - ownKeys(Object(source), true).forEach(function (key) { - defineProperty(target, key, source[key]); - }); - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); - } else { - ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } - } - - return target; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js b/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js deleted file mode 100644 index bff7ea9dc8a3091d46232169866c7d575ca73e7f..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +++ /dev/null @@ -1,19 +0,0 @@ -import objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; -export default function _objectWithoutProperties(source, excluded) { - if (source == null) return {}; - var target = objectWithoutPropertiesLoose(source, excluded); - var key, i; - - if (Object.getOwnPropertySymbols) { - var sourceSymbolKeys = Object.getOwnPropertySymbols(source); - - for (i = 0; i < sourceSymbolKeys.length; i++) { - key = sourceSymbolKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; - target[key] = source[key]; - } - } - - return target; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js b/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js deleted file mode 100644 index c36815cebe83598bcc83a16fe578925085e08094..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +++ /dev/null @@ -1,14 +0,0 @@ -export default 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; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/package.json b/node_modules/@babel/runtime/helpers/esm/package.json deleted file mode 100644 index aead43de364cd1cc107d5fc3a4ea6fea7d7bd01c..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "type": "module" -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js b/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js deleted file mode 100644 index 88a8ef2c9117475816e431a12d68e447fed6e2ed..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +++ /dev/null @@ -1,9 +0,0 @@ -import _typeof from "@babel/runtime/helpers/esm/typeof"; -import assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized"; -export default function _possibleConstructorReturn(self, call) { - if (call && (_typeof(call) === "object" || typeof call === "function")) { - return call; - } - - return assertThisInitialized(self); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/readOnlyError.js b/node_modules/@babel/runtime/helpers/esm/readOnlyError.js deleted file mode 100644 index 166e40e5e76ae3565fc3e75eb4f5c502febf61f3..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _readOnlyError(name) { - throw new TypeError("\"" + name + "\" is read-only"); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/set.js b/node_modules/@babel/runtime/helpers/esm/set.js deleted file mode 100644 index c07cc7e931bc26ab6193c5e759cfe3e40f8d43a4..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/set.js +++ /dev/null @@ -1,51 +0,0 @@ -import superPropBase from "@babel/runtime/helpers/esm/superPropBase"; -import defineProperty from "@babel/runtime/helpers/esm/defineProperty"; - -function set(target, property, value, receiver) { - if (typeof Reflect !== "undefined" && Reflect.set) { - set = Reflect.set; - } else { - set = function set(target, property, value, receiver) { - var base = superPropBase(target, property); - var desc; - - if (base) { - desc = Object.getOwnPropertyDescriptor(base, property); - - if (desc.set) { - desc.set.call(receiver, value); - return true; - } else if (!desc.writable) { - return false; - } - } - - desc = Object.getOwnPropertyDescriptor(receiver, property); - - if (desc) { - if (!desc.writable) { - return false; - } - - desc.value = value; - Object.defineProperty(receiver, property, desc); - } else { - defineProperty(receiver, property, value); - } - - return true; - }; - } - - return set(target, property, value, receiver); -} - -export default function _set(target, property, value, receiver, isStrict) { - var s = set(target, property, value, receiver || target); - - if (!s && isStrict) { - throw new Error('failed to set property'); - } - - return value; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js b/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js deleted file mode 100644 index e6ef03e5983d64d8a93c0f5eed6a57c7ab66d67a..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +++ /dev/null @@ -1,8 +0,0 @@ -export default function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; - }; - - return _setPrototypeOf(o, p); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js b/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js deleted file mode 100644 index cadd9bb5bf0c3d8c6da76f807866dd6bfee93f91..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +++ /dev/null @@ -1,7 +0,0 @@ -export default function _skipFirstGeneratorNext(fn) { - return function () { - var it = fn.apply(this, arguments); - it.next(); - return it; - }; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/slicedToArray.js b/node_modules/@babel/runtime/helpers/esm/slicedToArray.js deleted file mode 100644 index ee16a28237f64cbe6b12e14c7ef04d742e412286..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +++ /dev/null @@ -1,7 +0,0 @@ -import arrayWithHoles from "@babel/runtime/helpers/esm/arrayWithHoles"; -import iterableToArrayLimit from "@babel/runtime/helpers/esm/iterableToArrayLimit"; -import unsupportedIterableToArray from "@babel/runtime/helpers/esm/unsupportedIterableToArray"; -import nonIterableRest from "@babel/runtime/helpers/esm/nonIterableRest"; -export default function _slicedToArray(arr, i) { - return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js b/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js deleted file mode 100644 index a794b5d7e4a65ef5d6ddb139550742c0a72d3fda..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +++ /dev/null @@ -1,7 +0,0 @@ -import arrayWithHoles from "@babel/runtime/helpers/esm/arrayWithHoles"; -import iterableToArrayLimitLoose from "@babel/runtime/helpers/esm/iterableToArrayLimitLoose"; -import unsupportedIterableToArray from "@babel/runtime/helpers/esm/unsupportedIterableToArray"; -import nonIterableRest from "@babel/runtime/helpers/esm/nonIterableRest"; -export default function _slicedToArrayLoose(arr, i) { - return arrayWithHoles(arr) || iterableToArrayLimitLoose(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/superPropBase.js b/node_modules/@babel/runtime/helpers/esm/superPropBase.js deleted file mode 100644 index cff405fe5f5807e0ba482cdfdc54f50a3e196a61..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/superPropBase.js +++ /dev/null @@ -1,9 +0,0 @@ -import getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf"; -export default function _superPropBase(object, property) { - while (!Object.prototype.hasOwnProperty.call(object, property)) { - object = getPrototypeOf(object); - if (object === null) break; - } - - return object; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js b/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js deleted file mode 100644 index 421f18abde7330843c04af86a3a174e5e6bd215e..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +++ /dev/null @@ -1,11 +0,0 @@ -export default function _taggedTemplateLiteral(strings, raw) { - if (!raw) { - raw = strings.slice(0); - } - - return Object.freeze(Object.defineProperties(strings, { - raw: { - value: Object.freeze(raw) - } - })); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js b/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js deleted file mode 100644 index c8f081e9ee40a512e4e2d77d20ec7b489ce28acf..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +++ /dev/null @@ -1,8 +0,0 @@ -export default function _taggedTemplateLiteralLoose(strings, raw) { - if (!raw) { - raw = strings.slice(0); - } - - strings.raw = raw; - return strings; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/tdz.js b/node_modules/@babel/runtime/helpers/esm/tdz.js deleted file mode 100644 index d5d0adc8a613cefdf76706f94b805e6fa38076fe..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/tdz.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function _tdzError(name) { - throw new ReferenceError(name + " is not defined - temporal dead zone"); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/temporalRef.js b/node_modules/@babel/runtime/helpers/esm/temporalRef.js deleted file mode 100644 index 335b47aac98809cec47fe05b524481d966061e90..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/temporalRef.js +++ /dev/null @@ -1,5 +0,0 @@ -import undef from "@babel/runtime/helpers/esm/temporalUndefined"; -import err from "@babel/runtime/helpers/esm/tdz"; -export default function _temporalRef(val, name) { - return val === undef ? err(name) : val; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js b/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js deleted file mode 100644 index 1a3571734241ddfddf9d40b14d65a408f312563e..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +++ /dev/null @@ -1 +0,0 @@ -export default function _temporalUndefined() {} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/toArray.js b/node_modules/@babel/runtime/helpers/esm/toArray.js deleted file mode 100644 index 871eda8a3bcd5201596c845af26ba7cbc9cc12a8..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/toArray.js +++ /dev/null @@ -1,7 +0,0 @@ -import arrayWithHoles from "@babel/runtime/helpers/esm/arrayWithHoles"; -import iterableToArray from "@babel/runtime/helpers/esm/iterableToArray"; -import unsupportedIterableToArray from "@babel/runtime/helpers/esm/unsupportedIterableToArray"; -import nonIterableRest from "@babel/runtime/helpers/esm/nonIterableRest"; -export default function _toArray(arr) { - return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest(); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js b/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js deleted file mode 100644 index b5ef5c97d5f824ffbcffa721b592ce408547716e..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +++ /dev/null @@ -1,7 +0,0 @@ -import arrayWithoutHoles from "@babel/runtime/helpers/esm/arrayWithoutHoles"; -import iterableToArray from "@babel/runtime/helpers/esm/iterableToArray"; -import unsupportedIterableToArray from "@babel/runtime/helpers/esm/unsupportedIterableToArray"; -import nonIterableSpread from "@babel/runtime/helpers/esm/nonIterableSpread"; -export default function _toConsumableArray(arr) { - return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread(); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/toPrimitive.js b/node_modules/@babel/runtime/helpers/esm/toPrimitive.js deleted file mode 100644 index 7b37ab9b00109ad6544387546357d59f7340492c..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +++ /dev/null @@ -1,13 +0,0 @@ -import _typeof from "@babel/runtime/helpers/esm/typeof"; -export default function _toPrimitive(input, hint) { - if (_typeof(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (_typeof(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - - return (hint === "string" ? String : Number)(input); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js b/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js deleted file mode 100644 index c0ab594185210c71954be5f6e6955e2f9ca29c38..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +++ /dev/null @@ -1,6 +0,0 @@ -import _typeof from "@babel/runtime/helpers/esm/typeof"; -import toPrimitive from "@babel/runtime/helpers/esm/toPrimitive"; -export default function _toPropertyKey(arg) { - var key = toPrimitive(arg, "string"); - return _typeof(key) === "symbol" ? key : String(key); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/typeof.js b/node_modules/@babel/runtime/helpers/esm/typeof.js deleted file mode 100644 index eb444f73d8f5dbb10b21096ee64a2d4a96ed6837..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/typeof.js +++ /dev/null @@ -1,15 +0,0 @@ -export default function _typeof(obj) { - "@babel/helpers - typeof"; - - if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { - _typeof = function _typeof(obj) { - return typeof obj; - }; - } else { - _typeof = function _typeof(obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; - }; - } - - return _typeof(obj); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js b/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js deleted file mode 100644 index 2de9ecf90b12292b526d8b64bff83e4f2e69f14b..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +++ /dev/null @@ -1,9 +0,0 @@ -import arrayLikeToArray from "@babel/runtime/helpers/esm/arrayLikeToArray"; -export default function _unsupportedIterableToArray(o, minLen) { - if (!o) return; - if (typeof o === "string") return arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if (n === "Object" && o.constructor) n = o.constructor.name; - if (n === "Map" || n === "Set") return Array.from(o); - if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js b/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js deleted file mode 100644 index ece5d70f29fafecb87639d7b2e09ae84215af558..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +++ /dev/null @@ -1,6 +0,0 @@ -import AsyncGenerator from "@babel/runtime/helpers/esm/AsyncGenerator"; -export default function _wrapAsyncGenerator(fn) { - return function () { - return new AsyncGenerator(fn.apply(this, arguments)); - }; -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js b/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js deleted file mode 100644 index e982d4873692cd73b98c9dd3b1811776acfdf9c7..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +++ /dev/null @@ -1,37 +0,0 @@ -import getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf"; -import setPrototypeOf from "@babel/runtime/helpers/esm/setPrototypeOf"; -import isNativeFunction from "@babel/runtime/helpers/esm/isNativeFunction"; -import construct from "@babel/runtime/helpers/esm/construct"; -export default function _wrapNativeSuper(Class) { - var _cache = typeof Map === "function" ? new Map() : undefined; - - _wrapNativeSuper = function _wrapNativeSuper(Class) { - if (Class === null || !isNativeFunction(Class)) return Class; - - if (typeof Class !== "function") { - throw new TypeError("Super expression must either be null or a function"); - } - - if (typeof _cache !== "undefined") { - if (_cache.has(Class)) return _cache.get(Class); - - _cache.set(Class, Wrapper); - } - - function Wrapper() { - return construct(Class, arguments, getPrototypeOf(this).constructor); - } - - Wrapper.prototype = Object.create(Class.prototype, { - constructor: { - value: Wrapper, - enumerable: false, - writable: true, - configurable: true - } - }); - return setPrototypeOf(Wrapper, Class); - }; - - return _wrapNativeSuper(Class); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js b/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js deleted file mode 100644 index 6ad3604be7432e7d87ae6c3550928c7c1a180aa8..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +++ /dev/null @@ -1,69 +0,0 @@ -import _typeof from "@babel/runtime/helpers/esm/typeof"; -import wrapNativeSuper from "@babel/runtime/helpers/esm/wrapNativeSuper"; -import getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf"; -import possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn"; -import inherits from "@babel/runtime/helpers/esm/inherits"; -export default function _wrapRegExp(re, groups) { - _wrapRegExp = function _wrapRegExp(re, groups) { - return new BabelRegExp(re, undefined, groups); - }; - - var _RegExp = wrapNativeSuper(RegExp); - - var _super = RegExp.prototype; - - var _groups = new WeakMap(); - - function BabelRegExp(re, flags, groups) { - var _this = _RegExp.call(this, re, flags); - - _groups.set(_this, groups || _groups.get(re)); - - return _this; - } - - inherits(BabelRegExp, _RegExp); - - BabelRegExp.prototype.exec = function (str) { - var result = _super.exec.call(this, str); - - if (result) result.groups = buildGroups(result, this); - return result; - }; - - BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { - if (typeof substitution === "string") { - var groups = _groups.get(this); - - return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { - return "$" + groups[name]; - })); - } else if (typeof substitution === "function") { - var _this = this; - - return _super[Symbol.replace].call(this, str, function () { - var args = []; - args.push.apply(args, arguments); - - if (_typeof(args[args.length - 1]) !== "object") { - args.push(buildGroups(args, _this)); - } - - return substitution.apply(this, args); - }); - } else { - return _super[Symbol.replace].call(this, str, substitution); - } - }; - - function buildGroups(result, re) { - var g = _groups.get(re); - - return Object.keys(g).reduce(function (groups, name) { - groups[name] = result[g[name]]; - return groups; - }, Object.create(null)); - } - - return _wrapRegExp.apply(this, arguments); -} \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/extends.js b/node_modules/@babel/runtime/helpers/extends.js deleted file mode 100644 index 1816877e21a04232398a7c184c6e770188b7b7fb..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/extends.js +++ /dev/null @@ -1,19 +0,0 @@ -function _extends() { - module.exports = _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; - }; - - return _extends.apply(this, arguments); -} - -module.exports = _extends; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/get.js b/node_modules/@babel/runtime/helpers/get.js deleted file mode 100644 index 31ffc656cbd06b66548699fbe5960d288ca53263..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/get.js +++ /dev/null @@ -1,23 +0,0 @@ -var superPropBase = require("./superPropBase"); - -function _get(target, property, receiver) { - if (typeof Reflect !== "undefined" && Reflect.get) { - module.exports = _get = Reflect.get; - } else { - module.exports = _get = function _get(target, property, receiver) { - var base = superPropBase(target, property); - if (!base) return; - var desc = Object.getOwnPropertyDescriptor(base, property); - - if (desc.get) { - return desc.get.call(receiver); - } - - return desc.value; - }; - } - - return _get(target, property, receiver || target); -} - -module.exports = _get; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/getPrototypeOf.js b/node_modules/@babel/runtime/helpers/getPrototypeOf.js deleted file mode 100644 index 5fc9a169c8dfedba04d737679cadf51d47cd54b4..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/getPrototypeOf.js +++ /dev/null @@ -1,8 +0,0 @@ -function _getPrototypeOf(o) { - module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }; - return _getPrototypeOf(o); -} - -module.exports = _getPrototypeOf; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/inherits.js b/node_modules/@babel/runtime/helpers/inherits.js deleted file mode 100644 index 6b4f286d0f2320608ed251373ac1ba6db7647560..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/inherits.js +++ /dev/null @@ -1,18 +0,0 @@ -var setPrototypeOf = require("./setPrototypeOf"); - -function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function"); - } - - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - writable: true, - configurable: true - } - }); - if (superClass) setPrototypeOf(subClass, superClass); -} - -module.exports = _inherits; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/inheritsLoose.js b/node_modules/@babel/runtime/helpers/inheritsLoose.js deleted file mode 100644 index c3f7cdb4ad8724245df7cf213f196185bbb3ac49..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/inheritsLoose.js +++ /dev/null @@ -1,7 +0,0 @@ -function _inheritsLoose(subClass, superClass) { - subClass.prototype = Object.create(superClass.prototype); - subClass.prototype.constructor = subClass; - subClass.__proto__ = superClass; -} - -module.exports = _inheritsLoose; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/initializerDefineProperty.js b/node_modules/@babel/runtime/helpers/initializerDefineProperty.js deleted file mode 100644 index 4caa5ca605d339725405d2742f26a6ce087d5d8f..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +++ /dev/null @@ -1,11 +0,0 @@ -function _initializerDefineProperty(target, property, descriptor, context) { - if (!descriptor) return; - Object.defineProperty(target, property, { - enumerable: descriptor.enumerable, - configurable: descriptor.configurable, - writable: descriptor.writable, - value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 - }); -} - -module.exports = _initializerDefineProperty; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/initializerWarningHelper.js b/node_modules/@babel/runtime/helpers/initializerWarningHelper.js deleted file mode 100644 index 50ec82cd494a80162a93f7156872df502668a799..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +++ /dev/null @@ -1,5 +0,0 @@ -function _initializerWarningHelper(descriptor, context) { - throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); -} - -module.exports = _initializerWarningHelper; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/instanceof.js b/node_modules/@babel/runtime/helpers/instanceof.js deleted file mode 100644 index efe134c135f21cb924e0604a6ab486c3a915985b..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/instanceof.js +++ /dev/null @@ -1,9 +0,0 @@ -function _instanceof(left, right) { - if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { - return !!right[Symbol.hasInstance](left); - } else { - return left instanceof right; - } -} - -module.exports = _instanceof; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/interopRequireDefault.js b/node_modules/@babel/runtime/helpers/interopRequireDefault.js deleted file mode 100644 index f713d130bf54d56cad4d20873ed9041f6de8a808..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/interopRequireDefault.js +++ /dev/null @@ -1,7 +0,0 @@ -function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { - "default": obj - }; -} - -module.exports = _interopRequireDefault; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/interopRequireWildcard.js b/node_modules/@babel/runtime/helpers/interopRequireWildcard.js deleted file mode 100644 index 90209ad1eea38e35b09cb82319a2d9e0240ee274..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +++ /dev/null @@ -1,55 +0,0 @@ -var _typeof = require("@babel/runtime/helpers/typeof"); - -function _getRequireWildcardCache() { - if (typeof WeakMap !== "function") return null; - var cache = new WeakMap(); - - _getRequireWildcardCache = function _getRequireWildcardCache() { - return cache; - }; - - return cache; -} - -function _interopRequireWildcard(obj) { - if (obj && obj.__esModule) { - return obj; - } - - if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { - return { - "default": obj - }; - } - - var cache = _getRequireWildcardCache(); - - if (cache && cache.has(obj)) { - return cache.get(obj); - } - - var newObj = {}; - var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; - - for (var key in obj) { - if (Object.prototype.hasOwnProperty.call(obj, key)) { - var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; - - if (desc && (desc.get || desc.set)) { - Object.defineProperty(newObj, key, desc); - } else { - newObj[key] = obj[key]; - } - } - } - - newObj["default"] = obj; - - if (cache) { - cache.set(obj, newObj); - } - - return newObj; -} - -module.exports = _interopRequireWildcard; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/isNativeFunction.js b/node_modules/@babel/runtime/helpers/isNativeFunction.js deleted file mode 100644 index e2dc3ed7b4d494eb825ff2699e52b8da8bf1fad4..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/isNativeFunction.js +++ /dev/null @@ -1,5 +0,0 @@ -function _isNativeFunction(fn) { - return Function.toString.call(fn).indexOf("[native code]") !== -1; -} - -module.exports = _isNativeFunction; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js b/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js deleted file mode 100644 index 4dc5853ea8e9ff9db3fc33498e840e8221d97890..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +++ /dev/null @@ -1,14 +0,0 @@ -function _isNativeReflectConstruct() { - if (typeof Reflect === "undefined" || !Reflect.construct) return false; - if (Reflect.construct.sham) return false; - if (typeof Proxy === "function") return true; - - try { - Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); - return true; - } catch (e) { - return false; - } -} - -module.exports = _isNativeReflectConstruct; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/iterableToArray.js b/node_modules/@babel/runtime/helpers/iterableToArray.js deleted file mode 100644 index 954244b9fee4b9fbb8c5450566b6ed799c1ed2c7..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/iterableToArray.js +++ /dev/null @@ -1,5 +0,0 @@ -function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); -} - -module.exports = _iterableToArray; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js b/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js deleted file mode 100644 index 548e6393aac2c160762f55cb29c8f2240bebb0cf..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +++ /dev/null @@ -1,28 +0,0 @@ -function _iterableToArrayLimit(arr, i) { - if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; - var _arr = []; - var _n = true; - var _d = false; - var _e = undefined; - - try { - for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { - _arr.push(_s.value); - - if (i && _arr.length === i) break; - } - } catch (err) { - _d = true; - _e = err; - } finally { - try { - if (!_n && _i["return"] != null) _i["return"](); - } finally { - if (_d) throw _e; - } - } - - return _arr; -} - -module.exports = _iterableToArrayLimit; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js b/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js deleted file mode 100644 index e1a959f4c733b4b89fda9173beebf4a982c52f19..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +++ /dev/null @@ -1,14 +0,0 @@ -function _iterableToArrayLimitLoose(arr, i) { - if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; - var _arr = []; - - for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) { - _arr.push(_step.value); - - if (i && _arr.length === i) break; - } - - return _arr; -} - -module.exports = _iterableToArrayLimitLoose; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/jsx.js b/node_modules/@babel/runtime/helpers/jsx.js deleted file mode 100644 index 4b1ee5496dd99ade0303c92bc6fb863f40cbb012..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/jsx.js +++ /dev/null @@ -1,49 +0,0 @@ -var REACT_ELEMENT_TYPE; - -function _createRawReactElement(type, props, key, children) { - if (!REACT_ELEMENT_TYPE) { - REACT_ELEMENT_TYPE = typeof Symbol === "function" && Symbol["for"] && Symbol["for"]("react.element") || 0xeac7; - } - - var defaultProps = type && type.defaultProps; - var childrenLength = arguments.length - 3; - - if (!props && childrenLength !== 0) { - props = { - children: void 0 - }; - } - - if (childrenLength === 1) { - props.children = children; - } else if (childrenLength > 1) { - var childArray = new Array(childrenLength); - - for (var i = 0; i < childrenLength; i++) { - childArray[i] = arguments[i + 3]; - } - - props.children = childArray; - } - - if (props && defaultProps) { - for (var propName in defaultProps) { - if (props[propName] === void 0) { - props[propName] = defaultProps[propName]; - } - } - } else if (!props) { - props = defaultProps || {}; - } - - return { - $$typeof: REACT_ELEMENT_TYPE, - type: type, - key: key === undefined ? null : '' + key, - ref: null, - props: props, - _owner: null - }; -} - -module.exports = _createRawReactElement; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/maybeArrayLike.js b/node_modules/@babel/runtime/helpers/maybeArrayLike.js deleted file mode 100644 index 0a09c43506be343dc3cb3c33f7ee77d49e7138dc..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/maybeArrayLike.js +++ /dev/null @@ -1,12 +0,0 @@ -var arrayLikeToArray = require("./arrayLikeToArray"); - -function _maybeArrayLike(next, arr, i) { - if (arr && !Array.isArray(arr) && typeof arr.length === "number") { - var len = arr.length; - return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len); - } - - return next(arr, i); -} - -module.exports = _maybeArrayLike; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/newArrowCheck.js b/node_modules/@babel/runtime/helpers/newArrowCheck.js deleted file mode 100644 index 9b59f58c87f85f2f08224aec3dba9b2ffbdf648c..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/newArrowCheck.js +++ /dev/null @@ -1,7 +0,0 @@ -function _newArrowCheck(innerThis, boundThis) { - if (innerThis !== boundThis) { - throw new TypeError("Cannot instantiate an arrow function"); - } -} - -module.exports = _newArrowCheck; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/nonIterableRest.js b/node_modules/@babel/runtime/helpers/nonIterableRest.js deleted file mode 100644 index 5b3a52eeda65478dfb23e458b5fb27c0208492f0..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/nonIterableRest.js +++ /dev/null @@ -1,5 +0,0 @@ -function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); -} - -module.exports = _nonIterableRest; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/nonIterableSpread.js b/node_modules/@babel/runtime/helpers/nonIterableSpread.js deleted file mode 100644 index 65457a224b135dd8dd8573ffe9d2287771e2f052..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/nonIterableSpread.js +++ /dev/null @@ -1,5 +0,0 @@ -function _nonIterableSpread() { - throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); -} - -module.exports = _nonIterableSpread; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js b/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js deleted file mode 100644 index 1d5c04a7168514cb394cdbd4477879dc1b8d4b5b..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +++ /dev/null @@ -1,5 +0,0 @@ -function _objectDestructuringEmpty(obj) { - if (obj == null) throw new TypeError("Cannot destructure undefined"); -} - -module.exports = _objectDestructuringEmpty; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/objectSpread.js b/node_modules/@babel/runtime/helpers/objectSpread.js deleted file mode 100644 index ad8036e30ac90af2616fa5e7bc1dd9e9a9241850..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/objectSpread.js +++ /dev/null @@ -1,22 +0,0 @@ -var defineProperty = require("./defineProperty"); - -function _objectSpread(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? Object(arguments[i]) : {}; - var ownKeys = Object.keys(source); - - if (typeof Object.getOwnPropertySymbols === 'function') { - ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { - return Object.getOwnPropertyDescriptor(source, sym).enumerable; - })); - } - - ownKeys.forEach(function (key) { - defineProperty(target, key, source[key]); - }); - } - - return target; -} - -module.exports = _objectSpread; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/objectSpread2.js b/node_modules/@babel/runtime/helpers/objectSpread2.js deleted file mode 100644 index f067f3ec206df92dcb354ce59ccab4186f31ac08..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/objectSpread2.js +++ /dev/null @@ -1,37 +0,0 @@ -var defineProperty = require("./defineProperty"); - -function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); - - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - if (enumerableOnly) symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - }); - keys.push.apply(keys, symbols); - } - - return keys; -} - -function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? arguments[i] : {}; - - if (i % 2) { - ownKeys(Object(source), true).forEach(function (key) { - defineProperty(target, key, source[key]); - }); - } else if (Object.getOwnPropertyDescriptors) { - Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); - } else { - ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } - } - - return target; -} - -module.exports = _objectSpread2; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/objectWithoutProperties.js b/node_modules/@babel/runtime/helpers/objectWithoutProperties.js deleted file mode 100644 index 253d33c95b845e9fc88e889b6cad530c62cc5910..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +++ /dev/null @@ -1,22 +0,0 @@ -var objectWithoutPropertiesLoose = require("./objectWithoutPropertiesLoose"); - -function _objectWithoutProperties(source, excluded) { - if (source == null) return {}; - var target = objectWithoutPropertiesLoose(source, excluded); - var key, i; - - if (Object.getOwnPropertySymbols) { - var sourceSymbolKeys = Object.getOwnPropertySymbols(source); - - for (i = 0; i < sourceSymbolKeys.length; i++) { - key = sourceSymbolKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; - target[key] = source[key]; - } - } - - return target; -} - -module.exports = _objectWithoutProperties; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js b/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js deleted file mode 100644 index a58c56b002893bc153fd53bb0606084028ce14d8..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +++ /dev/null @@ -1,16 +0,0 @@ -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; -} - -module.exports = _objectWithoutPropertiesLoose; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js b/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js deleted file mode 100644 index 7262929ffb5e49a9a01e5bf28cbfa8c498a00b0f..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +++ /dev/null @@ -1,13 +0,0 @@ -var _typeof = require("@babel/runtime/helpers/typeof"); - -var assertThisInitialized = require("./assertThisInitialized"); - -function _possibleConstructorReturn(self, call) { - if (call && (_typeof(call) === "object" || typeof call === "function")) { - return call; - } - - return assertThisInitialized(self); -} - -module.exports = _possibleConstructorReturn; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/readOnlyError.js b/node_modules/@babel/runtime/helpers/readOnlyError.js deleted file mode 100644 index 9888f6dc63256fb74111793c30c728d868e43fdc..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/readOnlyError.js +++ /dev/null @@ -1,5 +0,0 @@ -function _readOnlyError(name) { - throw new TypeError("\"" + name + "\" is read-only"); -} - -module.exports = _readOnlyError; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/set.js b/node_modules/@babel/runtime/helpers/set.js deleted file mode 100644 index 97fa8c3575bb2b939be04eab84b97f393daf0f8c..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/set.js +++ /dev/null @@ -1,54 +0,0 @@ -var superPropBase = require("./superPropBase"); - -var defineProperty = require("./defineProperty"); - -function set(target, property, value, receiver) { - if (typeof Reflect !== "undefined" && Reflect.set) { - set = Reflect.set; - } else { - set = function set(target, property, value, receiver) { - var base = superPropBase(target, property); - var desc; - - if (base) { - desc = Object.getOwnPropertyDescriptor(base, property); - - if (desc.set) { - desc.set.call(receiver, value); - return true; - } else if (!desc.writable) { - return false; - } - } - - desc = Object.getOwnPropertyDescriptor(receiver, property); - - if (desc) { - if (!desc.writable) { - return false; - } - - desc.value = value; - Object.defineProperty(receiver, property, desc); - } else { - defineProperty(receiver, property, value); - } - - return true; - }; - } - - return set(target, property, value, receiver); -} - -function _set(target, property, value, receiver, isStrict) { - var s = set(target, property, value, receiver || target); - - if (!s && isStrict) { - throw new Error('failed to set property'); - } - - return value; -} - -module.exports = _set; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/setPrototypeOf.js b/node_modules/@babel/runtime/helpers/setPrototypeOf.js deleted file mode 100644 index d86e2fc3457e755e5f3e66d0f71597bc8074ae63..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/setPrototypeOf.js +++ /dev/null @@ -1,10 +0,0 @@ -function _setPrototypeOf(o, p) { - module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; - }; - - return _setPrototypeOf(o, p); -} - -module.exports = _setPrototypeOf; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js b/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js deleted file mode 100644 index e1d6c86bf029401fa44f8eb5bb69aca26198c22e..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +++ /dev/null @@ -1,9 +0,0 @@ -function _skipFirstGeneratorNext(fn) { - return function () { - var it = fn.apply(this, arguments); - it.next(); - return it; - }; -} - -module.exports = _skipFirstGeneratorNext; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/slicedToArray.js b/node_modules/@babel/runtime/helpers/slicedToArray.js deleted file mode 100644 index 4255ab98311bec09a18b3b107013cd7de8d2a9b8..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/slicedToArray.js +++ /dev/null @@ -1,13 +0,0 @@ -var arrayWithHoles = require("./arrayWithHoles"); - -var iterableToArrayLimit = require("./iterableToArrayLimit"); - -var unsupportedIterableToArray = require("./unsupportedIterableToArray"); - -var nonIterableRest = require("./nonIterableRest"); - -function _slicedToArray(arr, i) { - return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); -} - -module.exports = _slicedToArray; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js b/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js deleted file mode 100644 index 7304013354f45041311d8d6235e6e18471918124..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +++ /dev/null @@ -1,13 +0,0 @@ -var arrayWithHoles = require("./arrayWithHoles"); - -var iterableToArrayLimitLoose = require("./iterableToArrayLimitLoose"); - -var unsupportedIterableToArray = require("./unsupportedIterableToArray"); - -var nonIterableRest = require("./nonIterableRest"); - -function _slicedToArrayLoose(arr, i) { - return arrayWithHoles(arr) || iterableToArrayLimitLoose(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest(); -} - -module.exports = _slicedToArrayLoose; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/superPropBase.js b/node_modules/@babel/runtime/helpers/superPropBase.js deleted file mode 100644 index bbb34a2d11db40efc3470e7d347a07d87b639324..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/superPropBase.js +++ /dev/null @@ -1,12 +0,0 @@ -var getPrototypeOf = require("./getPrototypeOf"); - -function _superPropBase(object, property) { - while (!Object.prototype.hasOwnProperty.call(object, property)) { - object = getPrototypeOf(object); - if (object === null) break; - } - - return object; -} - -module.exports = _superPropBase; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js b/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js deleted file mode 100644 index bdcc1e9d65b847757b3abe64232624a85a80a286..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +++ /dev/null @@ -1,13 +0,0 @@ -function _taggedTemplateLiteral(strings, raw) { - if (!raw) { - raw = strings.slice(0); - } - - return Object.freeze(Object.defineProperties(strings, { - raw: { - value: Object.freeze(raw) - } - })); -} - -module.exports = _taggedTemplateLiteral; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js b/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js deleted file mode 100644 index beced5418504e581218fc1873dd28884d8f35896..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +++ /dev/null @@ -1,10 +0,0 @@ -function _taggedTemplateLiteralLoose(strings, raw) { - if (!raw) { - raw = strings.slice(0); - } - - strings.raw = raw; - return strings; -} - -module.exports = _taggedTemplateLiteralLoose; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/tdz.js b/node_modules/@babel/runtime/helpers/tdz.js deleted file mode 100644 index 6075e8d39c835b1b79dbf2b9d50d92af17ab9a0c..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/tdz.js +++ /dev/null @@ -1,5 +0,0 @@ -function _tdzError(name) { - throw new ReferenceError(name + " is not defined - temporal dead zone"); -} - -module.exports = _tdzError; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/temporalRef.js b/node_modules/@babel/runtime/helpers/temporalRef.js deleted file mode 100644 index 8aa5e5e58dcbdbfe1777c91b9ed5f2179efc7a9a..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/temporalRef.js +++ /dev/null @@ -1,9 +0,0 @@ -var temporalUndefined = require("./temporalUndefined"); - -var tdz = require("./tdz"); - -function _temporalRef(val, name) { - return val === temporalUndefined ? tdz(name) : val; -} - -module.exports = _temporalRef; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/temporalUndefined.js b/node_modules/@babel/runtime/helpers/temporalUndefined.js deleted file mode 100644 index 416d9b3a52edc7685ce8a61a9ebba50f4fd31c5f..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/temporalUndefined.js +++ /dev/null @@ -1,3 +0,0 @@ -function _temporalUndefined() {} - -module.exports = _temporalUndefined; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/toArray.js b/node_modules/@babel/runtime/helpers/toArray.js deleted file mode 100644 index f113822988decf025cace601625ec2b62abe80e5..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/toArray.js +++ /dev/null @@ -1,13 +0,0 @@ -var arrayWithHoles = require("./arrayWithHoles"); - -var iterableToArray = require("./iterableToArray"); - -var unsupportedIterableToArray = require("./unsupportedIterableToArray"); - -var nonIterableRest = require("./nonIterableRest"); - -function _toArray(arr) { - return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest(); -} - -module.exports = _toArray; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/toConsumableArray.js b/node_modules/@babel/runtime/helpers/toConsumableArray.js deleted file mode 100644 index ec51d2ec88c142d19b9fd8107c06f9ce6e7efa35..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/toConsumableArray.js +++ /dev/null @@ -1,13 +0,0 @@ -var arrayWithoutHoles = require("./arrayWithoutHoles"); - -var iterableToArray = require("./iterableToArray"); - -var unsupportedIterableToArray = require("./unsupportedIterableToArray"); - -var nonIterableSpread = require("./nonIterableSpread"); - -function _toConsumableArray(arr) { - return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread(); -} - -module.exports = _toConsumableArray; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/toPrimitive.js b/node_modules/@babel/runtime/helpers/toPrimitive.js deleted file mode 100644 index 436137d13bdb9a7d4a1ce887fc6de1b08e195eef..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/toPrimitive.js +++ /dev/null @@ -1,16 +0,0 @@ -var _typeof = require("@babel/runtime/helpers/typeof"); - -function _toPrimitive(input, hint) { - if (_typeof(input) !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (_typeof(res) !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - - return (hint === "string" ? String : Number)(input); -} - -module.exports = _toPrimitive; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/toPropertyKey.js b/node_modules/@babel/runtime/helpers/toPropertyKey.js deleted file mode 100644 index fe042a9544dc5c2b8158f8f0cb6e8e404f09530e..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/toPropertyKey.js +++ /dev/null @@ -1,10 +0,0 @@ -var _typeof = require("@babel/runtime/helpers/typeof"); - -var toPrimitive = require("./toPrimitive"); - -function _toPropertyKey(arg) { - var key = toPrimitive(arg, "string"); - return _typeof(key) === "symbol" ? key : String(key); -} - -module.exports = _toPropertyKey; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/typeof.js b/node_modules/@babel/runtime/helpers/typeof.js deleted file mode 100644 index cad12330ae0c2b94d2a453213373c9e97700bdba..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/typeof.js +++ /dev/null @@ -1,17 +0,0 @@ -function _typeof(obj) { - "@babel/helpers - typeof"; - - if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { - module.exports = _typeof = function _typeof(obj) { - return typeof obj; - }; - } else { - module.exports = _typeof = function _typeof(obj) { - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; - }; - } - - return _typeof(obj); -} - -module.exports = _typeof; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js b/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js deleted file mode 100644 index 3d3e12aab04ad681623946bfce1f76440d5a32d2..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +++ /dev/null @@ -1,12 +0,0 @@ -var arrayLikeToArray = require("./arrayLikeToArray"); - -function _unsupportedIterableToArray(o, minLen) { - if (!o) return; - if (typeof o === "string") return arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if (n === "Object" && o.constructor) n = o.constructor.name; - if (n === "Map" || n === "Set") return Array.from(o); - if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen); -} - -module.exports = _unsupportedIterableToArray; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js b/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js deleted file mode 100644 index 11554f3d02e2bca0b7dc738584fcc6e2a6a7929a..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +++ /dev/null @@ -1,9 +0,0 @@ -var AsyncGenerator = require("./AsyncGenerator"); - -function _wrapAsyncGenerator(fn) { - return function () { - return new AsyncGenerator(fn.apply(this, arguments)); - }; -} - -module.exports = _wrapAsyncGenerator; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/wrapNativeSuper.js b/node_modules/@babel/runtime/helpers/wrapNativeSuper.js deleted file mode 100644 index 3d4bd7a0a258a39c028e8ae5eb2b2eb5f54276f5..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +++ /dev/null @@ -1,43 +0,0 @@ -var getPrototypeOf = require("./getPrototypeOf"); - -var setPrototypeOf = require("./setPrototypeOf"); - -var isNativeFunction = require("./isNativeFunction"); - -var construct = require("./construct"); - -function _wrapNativeSuper(Class) { - var _cache = typeof Map === "function" ? new Map() : undefined; - - module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) { - if (Class === null || !isNativeFunction(Class)) return Class; - - if (typeof Class !== "function") { - throw new TypeError("Super expression must either be null or a function"); - } - - if (typeof _cache !== "undefined") { - if (_cache.has(Class)) return _cache.get(Class); - - _cache.set(Class, Wrapper); - } - - function Wrapper() { - return construct(Class, arguments, getPrototypeOf(this).constructor); - } - - Wrapper.prototype = Object.create(Class.prototype, { - constructor: { - value: Wrapper, - enumerable: false, - writable: true, - configurable: true - } - }); - return setPrototypeOf(Wrapper, Class); - }; - - return _wrapNativeSuper(Class); -} - -module.exports = _wrapNativeSuper; \ No newline at end of file diff --git a/node_modules/@babel/runtime/helpers/wrapRegExp.js b/node_modules/@babel/runtime/helpers/wrapRegExp.js deleted file mode 100644 index 75ed826a4573fe085392250a726ef684f9f1304b..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/helpers/wrapRegExp.js +++ /dev/null @@ -1,76 +0,0 @@ -var _typeof = require("@babel/runtime/helpers/typeof"); - -var wrapNativeSuper = require("./wrapNativeSuper"); - -var getPrototypeOf = require("./getPrototypeOf"); - -var possibleConstructorReturn = require("./possibleConstructorReturn"); - -var inherits = require("./inherits"); - -function _wrapRegExp(re, groups) { - module.exports = _wrapRegExp = function _wrapRegExp(re, groups) { - return new BabelRegExp(re, undefined, groups); - }; - - var _RegExp = wrapNativeSuper(RegExp); - - var _super = RegExp.prototype; - - var _groups = new WeakMap(); - - function BabelRegExp(re, flags, groups) { - var _this = _RegExp.call(this, re, flags); - - _groups.set(_this, groups || _groups.get(re)); - - return _this; - } - - inherits(BabelRegExp, _RegExp); - - BabelRegExp.prototype.exec = function (str) { - var result = _super.exec.call(this, str); - - if (result) result.groups = buildGroups(result, this); - return result; - }; - - BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { - if (typeof substitution === "string") { - var groups = _groups.get(this); - - return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { - return "$" + groups[name]; - })); - } else if (typeof substitution === "function") { - var _this = this; - - return _super[Symbol.replace].call(this, str, function () { - var args = []; - args.push.apply(args, arguments); - - if (_typeof(args[args.length - 1]) !== "object") { - args.push(buildGroups(args, _this)); - } - - return substitution.apply(this, args); - }); - } else { - return _super[Symbol.replace].call(this, str, substitution); - } - }; - - function buildGroups(result, re) { - var g = _groups.get(re); - - return Object.keys(g).reduce(function (groups, name) { - groups[name] = result[g[name]]; - return groups; - }, Object.create(null)); - } - - return _wrapRegExp.apply(this, arguments); -} - -module.exports = _wrapRegExp; \ No newline at end of file diff --git a/node_modules/@babel/runtime/package.json b/node_modules/@babel/runtime/package.json deleted file mode 100644 index b5a8caa94bfc1e0e668c94009d33fe17a5fd08ec..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/package.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "_args": [ - [ - "@babel/runtime@7.12.5", - "C:\\Users\\Korea\\Desktop\\2020winter\\search-page" - ] - ], - "_from": "@babel/runtime@7.12.5", - "_id": "@babel/runtime@7.12.5", - "_inBundle": false, - "_integrity": "sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg==", - "_location": "/@babel/runtime", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "@babel/runtime@7.12.5", - "name": "@babel/runtime", - "escapedName": "@babel%2fruntime", - "scope": "@babel", - "rawSpec": "7.12.5", - "saveSpec": null, - "fetchSpec": "7.12.5" - }, - "_requiredBy": [ - "/dom-helpers", - "/react-bootstrap", - "/react-overlays", - "/react-transition-group", - "/uncontrollable" - ], - "_resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.5.tgz", - "_spec": "7.12.5", - "_where": "C:\\Users\\Korea\\Desktop\\2020winter\\search-page", - "author": { - "name": "Sebastian McKenzie", - "email": "sebmck@gmail.com" - }, - "bugs": { - "url": "https://github.com/babel/babel/issues" - }, - "dependencies": { - "regenerator-runtime": "^0.13.4" - }, - "description": "babel's modular runtime helpers", - "exports": { - "./helpers/": "./helpers/", - "./helpers/typeof": "./helpers/typeof.js", - "./helpers/jsx": "./helpers/jsx.js", - "./helpers/asyncIterator": "./helpers/asyncIterator.js", - "./helpers/AwaitValue": "./helpers/AwaitValue.js", - "./helpers/AsyncGenerator": "./helpers/AsyncGenerator.js", - "./helpers/wrapAsyncGenerator": "./helpers/wrapAsyncGenerator.js", - "./helpers/awaitAsyncGenerator": "./helpers/awaitAsyncGenerator.js", - "./helpers/asyncGeneratorDelegate": "./helpers/asyncGeneratorDelegate.js", - "./helpers/asyncToGenerator": "./helpers/asyncToGenerator.js", - "./helpers/classCallCheck": "./helpers/classCallCheck.js", - "./helpers/createClass": "./helpers/createClass.js", - "./helpers/defineEnumerableProperties": "./helpers/defineEnumerableProperties.js", - "./helpers/defaults": "./helpers/defaults.js", - "./helpers/defineProperty": "./helpers/defineProperty.js", - "./helpers/extends": "./helpers/extends.js", - "./helpers/objectSpread": "./helpers/objectSpread.js", - "./helpers/objectSpread2": "./helpers/objectSpread2.js", - "./helpers/inherits": "./helpers/inherits.js", - "./helpers/inheritsLoose": "./helpers/inheritsLoose.js", - "./helpers/getPrototypeOf": "./helpers/getPrototypeOf.js", - "./helpers/setPrototypeOf": "./helpers/setPrototypeOf.js", - "./helpers/isNativeReflectConstruct": "./helpers/isNativeReflectConstruct.js", - "./helpers/construct": "./helpers/construct.js", - "./helpers/isNativeFunction": "./helpers/isNativeFunction.js", - "./helpers/wrapNativeSuper": "./helpers/wrapNativeSuper.js", - "./helpers/instanceof": "./helpers/instanceof.js", - "./helpers/interopRequireDefault": "./helpers/interopRequireDefault.js", - "./helpers/interopRequireWildcard": "./helpers/interopRequireWildcard.js", - "./helpers/newArrowCheck": "./helpers/newArrowCheck.js", - "./helpers/objectDestructuringEmpty": "./helpers/objectDestructuringEmpty.js", - "./helpers/objectWithoutPropertiesLoose": "./helpers/objectWithoutPropertiesLoose.js", - "./helpers/objectWithoutProperties": "./helpers/objectWithoutProperties.js", - "./helpers/assertThisInitialized": "./helpers/assertThisInitialized.js", - "./helpers/possibleConstructorReturn": "./helpers/possibleConstructorReturn.js", - "./helpers/createSuper": "./helpers/createSuper.js", - "./helpers/superPropBase": "./helpers/superPropBase.js", - "./helpers/get": "./helpers/get.js", - "./helpers/set": "./helpers/set.js", - "./helpers/taggedTemplateLiteral": "./helpers/taggedTemplateLiteral.js", - "./helpers/taggedTemplateLiteralLoose": "./helpers/taggedTemplateLiteralLoose.js", - "./helpers/readOnlyError": "./helpers/readOnlyError.js", - "./helpers/classNameTDZError": "./helpers/classNameTDZError.js", - "./helpers/temporalUndefined": "./helpers/temporalUndefined.js", - "./helpers/tdz": "./helpers/tdz.js", - "./helpers/temporalRef": "./helpers/temporalRef.js", - "./helpers/slicedToArray": "./helpers/slicedToArray.js", - "./helpers/slicedToArrayLoose": "./helpers/slicedToArrayLoose.js", - "./helpers/toArray": "./helpers/toArray.js", - "./helpers/toConsumableArray": "./helpers/toConsumableArray.js", - "./helpers/arrayWithoutHoles": "./helpers/arrayWithoutHoles.js", - "./helpers/arrayWithHoles": "./helpers/arrayWithHoles.js", - "./helpers/maybeArrayLike": "./helpers/maybeArrayLike.js", - "./helpers/iterableToArray": "./helpers/iterableToArray.js", - "./helpers/iterableToArrayLimit": "./helpers/iterableToArrayLimit.js", - "./helpers/iterableToArrayLimitLoose": "./helpers/iterableToArrayLimitLoose.js", - "./helpers/unsupportedIterableToArray": "./helpers/unsupportedIterableToArray.js", - "./helpers/arrayLikeToArray": "./helpers/arrayLikeToArray.js", - "./helpers/nonIterableSpread": "./helpers/nonIterableSpread.js", - "./helpers/nonIterableRest": "./helpers/nonIterableRest.js", - "./helpers/createForOfIteratorHelper": "./helpers/createForOfIteratorHelper.js", - "./helpers/createForOfIteratorHelperLoose": "./helpers/createForOfIteratorHelperLoose.js", - "./helpers/skipFirstGeneratorNext": "./helpers/skipFirstGeneratorNext.js", - "./helpers/toPrimitive": "./helpers/toPrimitive.js", - "./helpers/toPropertyKey": "./helpers/toPropertyKey.js", - "./helpers/initializerWarningHelper": "./helpers/initializerWarningHelper.js", - "./helpers/initializerDefineProperty": "./helpers/initializerDefineProperty.js", - "./helpers/applyDecoratedDescriptor": "./helpers/applyDecoratedDescriptor.js", - "./helpers/classPrivateFieldLooseKey": "./helpers/classPrivateFieldLooseKey.js", - "./helpers/classPrivateFieldLooseBase": "./helpers/classPrivateFieldLooseBase.js", - "./helpers/classPrivateFieldGet": "./helpers/classPrivateFieldGet.js", - "./helpers/classPrivateFieldSet": "./helpers/classPrivateFieldSet.js", - "./helpers/classPrivateFieldDestructureSet": "./helpers/classPrivateFieldDestructureSet.js", - "./helpers/classStaticPrivateFieldSpecGet": "./helpers/classStaticPrivateFieldSpecGet.js", - "./helpers/classStaticPrivateFieldSpecSet": "./helpers/classStaticPrivateFieldSpecSet.js", - "./helpers/classStaticPrivateMethodGet": "./helpers/classStaticPrivateMethodGet.js", - "./helpers/classStaticPrivateMethodSet": "./helpers/classStaticPrivateMethodSet.js", - "./helpers/decorate": "./helpers/decorate.js", - "./helpers/classPrivateMethodGet": "./helpers/classPrivateMethodGet.js", - "./helpers/classPrivateMethodSet": "./helpers/classPrivateMethodSet.js", - "./helpers/wrapRegExp": "./helpers/wrapRegExp.js", - "./helpers/esm/typeof": "./helpers/esm/typeof.js", - "./helpers/esm/jsx": "./helpers/esm/jsx.js", - "./helpers/esm/asyncIterator": "./helpers/esm/asyncIterator.js", - "./helpers/esm/AwaitValue": "./helpers/esm/AwaitValue.js", - "./helpers/esm/AsyncGenerator": "./helpers/esm/AsyncGenerator.js", - "./helpers/esm/wrapAsyncGenerator": "./helpers/esm/wrapAsyncGenerator.js", - "./helpers/esm/awaitAsyncGenerator": "./helpers/esm/awaitAsyncGenerator.js", - "./helpers/esm/asyncGeneratorDelegate": "./helpers/esm/asyncGeneratorDelegate.js", - "./helpers/esm/asyncToGenerator": "./helpers/esm/asyncToGenerator.js", - "./helpers/esm/classCallCheck": "./helpers/esm/classCallCheck.js", - "./helpers/esm/createClass": "./helpers/esm/createClass.js", - "./helpers/esm/defineEnumerableProperties": "./helpers/esm/defineEnumerableProperties.js", - "./helpers/esm/defaults": "./helpers/esm/defaults.js", - "./helpers/esm/defineProperty": "./helpers/esm/defineProperty.js", - "./helpers/esm/extends": "./helpers/esm/extends.js", - "./helpers/esm/objectSpread": "./helpers/esm/objectSpread.js", - "./helpers/esm/objectSpread2": "./helpers/esm/objectSpread2.js", - "./helpers/esm/inherits": "./helpers/esm/inherits.js", - "./helpers/esm/inheritsLoose": "./helpers/esm/inheritsLoose.js", - "./helpers/esm/getPrototypeOf": "./helpers/esm/getPrototypeOf.js", - "./helpers/esm/setPrototypeOf": "./helpers/esm/setPrototypeOf.js", - "./helpers/esm/isNativeReflectConstruct": "./helpers/esm/isNativeReflectConstruct.js", - "./helpers/esm/construct": "./helpers/esm/construct.js", - "./helpers/esm/isNativeFunction": "./helpers/esm/isNativeFunction.js", - "./helpers/esm/wrapNativeSuper": "./helpers/esm/wrapNativeSuper.js", - "./helpers/esm/instanceof": "./helpers/esm/instanceof.js", - "./helpers/esm/interopRequireDefault": "./helpers/esm/interopRequireDefault.js", - "./helpers/esm/interopRequireWildcard": "./helpers/esm/interopRequireWildcard.js", - "./helpers/esm/newArrowCheck": "./helpers/esm/newArrowCheck.js", - "./helpers/esm/objectDestructuringEmpty": "./helpers/esm/objectDestructuringEmpty.js", - "./helpers/esm/objectWithoutPropertiesLoose": "./helpers/esm/objectWithoutPropertiesLoose.js", - "./helpers/esm/objectWithoutProperties": "./helpers/esm/objectWithoutProperties.js", - "./helpers/esm/assertThisInitialized": "./helpers/esm/assertThisInitialized.js", - "./helpers/esm/possibleConstructorReturn": "./helpers/esm/possibleConstructorReturn.js", - "./helpers/esm/createSuper": "./helpers/esm/createSuper.js", - "./helpers/esm/superPropBase": "./helpers/esm/superPropBase.js", - "./helpers/esm/get": "./helpers/esm/get.js", - "./helpers/esm/set": "./helpers/esm/set.js", - "./helpers/esm/taggedTemplateLiteral": "./helpers/esm/taggedTemplateLiteral.js", - "./helpers/esm/taggedTemplateLiteralLoose": "./helpers/esm/taggedTemplateLiteralLoose.js", - "./helpers/esm/readOnlyError": "./helpers/esm/readOnlyError.js", - "./helpers/esm/classNameTDZError": "./helpers/esm/classNameTDZError.js", - "./helpers/esm/temporalUndefined": "./helpers/esm/temporalUndefined.js", - "./helpers/esm/tdz": "./helpers/esm/tdz.js", - "./helpers/esm/temporalRef": "./helpers/esm/temporalRef.js", - "./helpers/esm/slicedToArray": "./helpers/esm/slicedToArray.js", - "./helpers/esm/slicedToArrayLoose": "./helpers/esm/slicedToArrayLoose.js", - "./helpers/esm/toArray": "./helpers/esm/toArray.js", - "./helpers/esm/toConsumableArray": "./helpers/esm/toConsumableArray.js", - "./helpers/esm/arrayWithoutHoles": "./helpers/esm/arrayWithoutHoles.js", - "./helpers/esm/arrayWithHoles": "./helpers/esm/arrayWithHoles.js", - "./helpers/esm/maybeArrayLike": "./helpers/esm/maybeArrayLike.js", - "./helpers/esm/iterableToArray": "./helpers/esm/iterableToArray.js", - "./helpers/esm/iterableToArrayLimit": "./helpers/esm/iterableToArrayLimit.js", - "./helpers/esm/iterableToArrayLimitLoose": "./helpers/esm/iterableToArrayLimitLoose.js", - "./helpers/esm/unsupportedIterableToArray": "./helpers/esm/unsupportedIterableToArray.js", - "./helpers/esm/arrayLikeToArray": "./helpers/esm/arrayLikeToArray.js", - "./helpers/esm/nonIterableSpread": "./helpers/esm/nonIterableSpread.js", - "./helpers/esm/nonIterableRest": "./helpers/esm/nonIterableRest.js", - "./helpers/esm/createForOfIteratorHelper": "./helpers/esm/createForOfIteratorHelper.js", - "./helpers/esm/createForOfIteratorHelperLoose": "./helpers/esm/createForOfIteratorHelperLoose.js", - "./helpers/esm/skipFirstGeneratorNext": "./helpers/esm/skipFirstGeneratorNext.js", - "./helpers/esm/toPrimitive": "./helpers/esm/toPrimitive.js", - "./helpers/esm/toPropertyKey": "./helpers/esm/toPropertyKey.js", - "./helpers/esm/initializerWarningHelper": "./helpers/esm/initializerWarningHelper.js", - "./helpers/esm/initializerDefineProperty": "./helpers/esm/initializerDefineProperty.js", - "./helpers/esm/applyDecoratedDescriptor": "./helpers/esm/applyDecoratedDescriptor.js", - "./helpers/esm/classPrivateFieldLooseKey": "./helpers/esm/classPrivateFieldLooseKey.js", - "./helpers/esm/classPrivateFieldLooseBase": "./helpers/esm/classPrivateFieldLooseBase.js", - "./helpers/esm/classPrivateFieldGet": "./helpers/esm/classPrivateFieldGet.js", - "./helpers/esm/classPrivateFieldSet": "./helpers/esm/classPrivateFieldSet.js", - "./helpers/esm/classPrivateFieldDestructureSet": "./helpers/esm/classPrivateFieldDestructureSet.js", - "./helpers/esm/classStaticPrivateFieldSpecGet": "./helpers/esm/classStaticPrivateFieldSpecGet.js", - "./helpers/esm/classStaticPrivateFieldSpecSet": "./helpers/esm/classStaticPrivateFieldSpecSet.js", - "./helpers/esm/classStaticPrivateMethodGet": "./helpers/esm/classStaticPrivateMethodGet.js", - "./helpers/esm/classStaticPrivateMethodSet": "./helpers/esm/classStaticPrivateMethodSet.js", - "./helpers/esm/decorate": "./helpers/esm/decorate.js", - "./helpers/esm/classPrivateMethodGet": "./helpers/esm/classPrivateMethodGet.js", - "./helpers/esm/classPrivateMethodSet": "./helpers/esm/classPrivateMethodSet.js", - "./helpers/esm/wrapRegExp": "./helpers/esm/wrapRegExp.js", - "./package": "./package.json", - "./package.json": "./package.json", - "./regenerator": "./regenerator/index.js", - "./regenerator/": "./regenerator/" - }, - "homepage": "https://babeljs.io/", - "license": "MIT", - "name": "@babel/runtime", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/babel/babel.git", - "directory": "packages/babel-runtime" - }, - "version": "7.12.5" -} diff --git a/node_modules/@babel/runtime/regenerator/index.js b/node_modules/@babel/runtime/regenerator/index.js deleted file mode 100644 index 9fd4158a6d8517f613e4ef2df4e1587d7e7b6b19..0000000000000000000000000000000000000000 --- a/node_modules/@babel/runtime/regenerator/index.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require("regenerator-runtime"); diff --git a/node_modules/@popperjs/core/LICENSE.md b/node_modules/@popperjs/core/LICENSE.md deleted file mode 100644 index 0370c4581eb5d70cbffe2ac4ea8722cb13fd9b0b..0000000000000000000000000000000000000000 --- a/node_modules/@popperjs/core/LICENSE.md +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2019 Federico Zivolo - -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. diff --git a/node_modules/@popperjs/core/README.md b/node_modules/@popperjs/core/README.md deleted file mode 100644 index 69b47917bcae14ea2519b009ce662fd8fbbfe6f4..0000000000000000000000000000000000000000 --- a/node_modules/@popperjs/core/README.md +++ /dev/null @@ -1,362 +0,0 @@ - -

- Popper -

- -
-

Tooltip & Popover Positioning Engine

-
- -

- - npm version - - - npm downloads per month (popper.js + @popperjs/core) - - - Rolling Versions - -

- -
- - -**Positioning tooltips and popovers is difficult. Popper is here to help!** - -Given an element, such as a button, and a tooltip element describing it, Popper -will automatically put the tooltip in the right place near the button. - -It will position _any_ UI element that "pops out" from the flow of your document -and floats near a target element. The most common example is a tooltip, but it -also includes popovers, drop-downs, and more. All of these can be generically -described as a "popper" element. - -## Demo - -[![Popper visualized](https://i.imgur.com/F7qWsmV.jpg)](https://popper.js.org) - -## Docs - -- [v2.x (latest)](https://popper.js.org/docs/v2/) -- [v1.x](https://popper.js.org/docs/v1/) - -We've created a -[Migration Guide](https://popper.js.org/docs/v2/migration-guide/) to help you -migrate from Popper 1 to Popper 2. - -To contribute to the Popper website and documentation, please visit the [dedicated repository](https://github.com/popperjs/website). - -## Why not use pure CSS? - -CSS tooltips have accessibility and usability problems: - -- **Clipping and overflow issues**: CSS tooltips will not be prevented from - overflowing clipping boundaries, such as the viewport. The tooltip gets - partially cut off or overflows if it's near the edge since there is no dynamic - positioning logic. When using Popper, your tooltip will always be positioned - in the right place. -- **No flipping**: CSS tooltips will not flip to a different placement to fit - better in view if necessary. Popper automatically flips the tooltip to make it - fit in view as best as possible for the user. -- **Using HTML**: Popovers containing interactive HTML are difficult or not - possible to create without UX issues using pure CSS. Popper positions any HTML - element – no pseudo-elements are used. -- **No virtual positioning**: CSS tooltips cannot follow the mouse cursor or be - used as a context menu. Popper allows you to position your tooltip relative to - any coordinates you desire. -- **Lack of extensibility**: CSS tooltips cannot be easily extended to fit any - arbitrary use case you may need to adjust for. Popper is built with - extensibility in mind. - -## Why Popper? - -With the CSS drawbacks out of the way, we now move on to Popper in the -JavaScript space itself. - -Naive JavaScript tooltip implementations usually have the following problems: - -- **Scrolling containers**: They don't ensure the tooltip stays with the - reference element while scrolling when inside any number of scrolling - containers. -- **DOM context**: They often require the tooltip move outside of its original - DOM context because they don't handle `offsetParent` contexts. -- **Configurability**: They often lack advanced configurability to suit any - possible use case. -- **Size**: They are usually relatively large in size, or require an ancient - jQuery dependency. -- **Performance**: They often have runtime performance issues and update the - tooltip position too slowly. - -**Popper solves all of these key problems in an elegant, performant manner.** It -is a lightweight ~3 kB library that aims to provide a reliable and extensible -positioning engine you can use to ensure all your popper elements are positioned -in the right place. - -When you start writing your own popper implementation, you'll quickly run into -all of the problems mentioned above. These widgets are incredibly common in our -UIs; we've done the hard work figuring this out so you don't need to spend hours -fixing and handling numerous edge cases that we already ran into while building -the library! - -Popper is used in popular libraries like Bootstrap, Foundation, Material UI, and -more. It's likely you've already used popper elements on the web positioned by -Popper at some point in the past few years. - -Since we write UIs using powerful abstraction libraries such as React or Angular -nowadays, you'll also be glad to know Popper can fully integrate with them and -be a good citizen together with your other components. Check out `react-popper` -for the official Popper wrapper for React. - -## Installation - -### 1. Package Manager - -```bash -# With npm -npm i @popperjs/core - -# With Yarn -yarn add @popperjs/core -``` - -### 2. CDN - -```html - - - - - -``` - -### 3. Direct Download? - -Managing dependencies by "directly downloading" them and placing them into your -source code is not recommended for a variety of reasons, including missing out -on feat/fix updates easily. Please use a versioning management system like a CDN -or npm/Yarn. - -## Usage - -The most straightforward way to get started is to import Popper from the `unpkg` -CDN, which includes all of its features. You can call the `Popper.createPopper` -constructor to create new popper instances. - -Here is a complete example: - -```html - -Popper example - - - - - - - - -``` - -Visit the [tutorial](https://popper.js.org/docs/v2/tutorial/) for an example of -how to build your own tooltip from scratch using Popper. - -### Module bundlers - -You can import the `createPopper` constructor from the fully-featured file: - -```js -import { createPopper } from '@popperjs/core'; - -const button = document.querySelector('#button'); -const tooltip = document.querySelector('#tooltip'); - -// Pass the button, the tooltip, and some options, and Popper will do the -// magic positioning for you: -createPopper(button, tooltip, { - placement: 'right', -}); -``` - -All the modifiers listed in the docs menu will be enabled and "just work", so -you don't need to think about setting Popper up. The size of Popper including -all of its features is about 5 kB minzipped, but it may grow a bit in the -future. - -#### Popper Lite (tree-shaking) - -If bundle size is important, you'll want to take advantage of tree-shaking. The -library is built in a modular way to allow to import only the parts you really -need. - -```js -import { createPopperLite as createPopper } from "@popperjs/core"; -``` - -The Lite version includes the most necessary modifiers that will compute the -offsets of the popper, compute and add the positioning styles, and add event -listeners. This is close in bundle size to pure CSS tooltip libraries, and -behaves somewhat similarly. - -However, this does not include the features that makes Popper truly useful. - -The two most useful modifiers not included in Lite are `preventOverflow` and -`flip`: - -```js -import { createPopperLite as createPopper, preventOverflow, flip } from "@popperjs/core"; - -const button = document.querySelector('#button'); -const tooltip = document.querySelector('#tooltip'); - -createPopper(button, tooltip, { - modifiers: [preventOverflow, flip], -}); -``` - -As you make more poppers, you may be finding yourself needing other modifiers -provided by the library. - -See [tree-shaking](https://popper.js.org/docs/v2/tree-shaking/) for more -information. - -## Distribution targets - -Popper is distributed in 3 different versions, in 3 different file formats. - -The 3 file formats are: - -- `esm` (works with `import` syntax — **recommended**) -- `umd` (works with ` - - - -``` - -* [**cdnjs**](https://cdnjs.com/libraries/prop-types) -```html - - - - - -``` - -To load a specific version of `prop-types` replace `15.6.0` with the version number. - -## Usage - -PropTypes was originally exposed as part of the React core module, and is -commonly used with React components. -Here is an example of using PropTypes with a React component, which also -documents the different validators provided: - -```js -import React from 'react'; -import PropTypes from 'prop-types'; - -class MyComponent extends React.Component { - render() { - // ... do things with the props - } -} - -MyComponent.propTypes = { - // You can declare that a prop is a specific JS primitive. By default, these - // are all optional. - optionalArray: PropTypes.array, - optionalBool: PropTypes.bool, - optionalFunc: PropTypes.func, - optionalNumber: PropTypes.number, - optionalObject: PropTypes.object, - optionalString: PropTypes.string, - optionalSymbol: PropTypes.symbol, - - // Anything that can be rendered: numbers, strings, elements or an array - // (or fragment) containing these types. - optionalNode: PropTypes.node, - - // A React element (ie. ). - optionalElement: PropTypes.element, - - // A React element type (ie. MyComponent). - optionalElementType: PropTypes.elementType, - - // You can also declare that a prop is an instance of a class. This uses - // JS's instanceof operator. - optionalMessage: PropTypes.instanceOf(Message), - - // You can ensure that your prop is limited to specific values by treating - // it as an enum. - optionalEnum: PropTypes.oneOf(['News', 'Photos']), - - // An object that could be one of many types - optionalUnion: PropTypes.oneOfType([ - PropTypes.string, - PropTypes.number, - PropTypes.instanceOf(Message) - ]), - - // An array of a certain type - optionalArrayOf: PropTypes.arrayOf(PropTypes.number), - - // An object with property values of a certain type - optionalObjectOf: PropTypes.objectOf(PropTypes.number), - - // You can chain any of the above with `isRequired` to make sure a warning - // is shown if the prop isn't provided. - - // An object taking on a particular shape - optionalObjectWithShape: PropTypes.shape({ - optionalProperty: PropTypes.string, - requiredProperty: PropTypes.number.isRequired - }), - - // An object with warnings on extra properties - optionalObjectWithStrictShape: PropTypes.exact({ - optionalProperty: PropTypes.string, - requiredProperty: PropTypes.number.isRequired - }), - - requiredFunc: PropTypes.func.isRequired, - - // A value of any data type - requiredAny: PropTypes.any.isRequired, - - // You can also specify a custom validator. It should return an Error - // object if the validation fails. Don't `console.warn` or throw, as this - // won't work inside `oneOfType`. - customProp: function(props, propName, componentName) { - if (!/matchme/.test(props[propName])) { - return new Error( - 'Invalid prop `' + propName + '` supplied to' + - ' `' + componentName + '`. Validation failed.' - ); - } - }, - - // You can also supply a custom validator to `arrayOf` and `objectOf`. - // It should return an Error object if the validation fails. The validator - // will be called for each key in the array or object. The first two - // arguments of the validator are the array or object itself, and the - // current item's key. - customArrayProp: PropTypes.arrayOf(function(propValue, key, componentName, location, propFullName) { - if (!/matchme/.test(propValue[key])) { - return new Error( - 'Invalid prop `' + propFullName + '` supplied to' + - ' `' + componentName + '`. Validation failed.' - ); - } - }) -}; -``` - -Refer to the [React documentation](https://facebook.github.io/react/docs/typechecking-with-proptypes.html) for more information. - -## Migrating from React.PropTypes - -Check out [Migrating from React.PropTypes](https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes) for details on how to migrate to `prop-types` from `React.PropTypes`. - -Note that this blog posts **mentions a codemod script that performs the conversion automatically**. - -There are also important notes below. - -## How to Depend on This Package? - -For apps, we recommend putting it in `dependencies` with a caret range. -For example: - -```js - "dependencies": { - "prop-types": "^15.5.7" - } -``` - -For libraries, we *also* recommend leaving it in `dependencies`: - -```js - "dependencies": { - "prop-types": "^15.5.7" - }, - "peerDependencies": { - "react": "^15.5.0" - } -``` - -**Note:** there are known issues in versions before 15.5.7 so we recommend using it as the minimal version. - -Make sure that the version range uses a caret (`^`) and thus is broad enough for npm to efficiently deduplicate packages. - -For UMD bundles of your components, make sure you **don’t** include `PropTypes` in the build. Usually this is done by marking it as an external (the specifics depend on your bundler), just like you do with React. - -## Compatibility - -### React 0.14 - -This package is compatible with **React 0.14.9**. Compared to 0.14.8 (which was released in March of 2016), there are no other changes in 0.14.9, so it should be a painless upgrade. - -```shell -# ATTENTION: Only run this if you still use React 0.14! -npm install --save react@^0.14.9 react-dom@^0.14.9 -``` - -### React 15+ - -This package is compatible with **React 15.3.0** and higher. - -``` -npm install --save react@^15.3.0 react-dom@^15.3.0 -``` - -### What happens on other React versions? - -It outputs warnings with the message below even though the developer doesn’t do anything wrong. Unfortunately there is no solution for this other than updating React to either 15.3.0 or higher, or 0.14.9 if you’re using React 0.14. - -## Difference from `React.PropTypes`: Don’t Call Validator Functions - -First of all, **which version of React are you using**? You might be seeing this message because a component library has updated to use `prop-types` package, but your version of React is incompatible with it. See the [above section](#compatibility) for more details. - -Are you using either React 0.14.9 or a version higher than React 15.3.0? Read on. - -When you migrate components to use the standalone `prop-types`, **all validator functions will start throwing an error if you call them directly**. This makes sure that nobody relies on them in production code, and it is safe to strip their implementations to optimize the bundle size. - -Code like this is still fine: - -```js -MyComponent.propTypes = { - myProp: PropTypes.bool -}; -``` - -However, code like this will not work with the `prop-types` package: - -```js -// Will not work with `prop-types` package! -var errorOrNull = PropTypes.bool(42, 'myProp', 'MyComponent', 'prop'); -``` - -It will throw an error: - -``` -Calling PropTypes validators directly is not supported by the `prop-types` package. -Use PropTypes.checkPropTypes() to call them. -``` - -(If you see **a warning** rather than an error with this message, please check the [above section about compatibility](#compatibility).) - -This is new behavior, and you will only encounter it when you migrate from `React.PropTypes` to the `prop-types` package. For the vast majority of components, this doesn’t matter, and if you didn’t see [this warning](https://facebook.github.io/react/warnings/dont-call-proptypes.html) in your components, your code is safe to migrate. This is not a breaking change in React because you are only opting into this change for a component by explicitly changing your imports to use `prop-types`. If you temporarily need the old behavior, you can keep using `React.PropTypes` until React 16. - -**If you absolutely need to trigger the validation manually**, call `PropTypes.checkPropTypes()`. Unlike the validators themselves, this function is safe to call in production, as it will be replaced by an empty function: - -```js -// Works with standalone PropTypes -PropTypes.checkPropTypes(MyComponent.propTypes, props, 'prop', 'MyComponent'); -``` -See below for more info. - -**You might also see this error** if you’re calling a `PropTypes` validator from your own custom `PropTypes` validator. In this case, the fix is to make sure that you are passing *all* of the arguments to the inner function. There is a more in-depth explanation of how to fix it [on this page](https://facebook.github.io/react/warnings/dont-call-proptypes.html#fixing-the-false-positive-in-third-party-proptypes). Alternatively, you can temporarily keep using `React.PropTypes` until React 16, as it would still only warn in this case. - -If you use a bundler like Browserify or Webpack, don’t forget to [follow these instructions](https://reactjs.org/docs/optimizing-performance.html#use-the-production-build) to correctly bundle your application in development or production mode. Otherwise you’ll ship unnecessary code to your users. - -## PropTypes.checkPropTypes - -React will automatically check the propTypes you set on the component, but if -you are using PropTypes without React then you may want to manually call -`PropTypes.checkPropTypes`, like so: - -```js -const myPropTypes = { - name: PropTypes.string, - age: PropTypes.number, - // ... define your prop validations -}; - -const props = { - name: 'hello', // is valid - age: 'world', // not valid -}; - -// Let's say your component is called 'MyComponent' - -// Works with standalone PropTypes -PropTypes.checkPropTypes(myPropTypes, props, 'age', 'MyComponent'); -// This will warn as follows: -// Warning: Failed prop type: Invalid prop `age` of type `string` supplied to -// `MyComponent`, expected `number`. -``` - -## PropTypes.resetWarningCache() - -`PropTypes.checkPropTypes(...)` only `console.error.log(...)`s a given message once. To reset the cache while testing call `PropTypes.resetWarningCache()` - -### License - -prop-types is [MIT licensed](./LICENSE). diff --git a/node_modules/prop-types/checkPropTypes.js b/node_modules/prop-types/checkPropTypes.js deleted file mode 100644 index 49111df95ded37f50bb2772bde2529546975a88c..0000000000000000000000000000000000000000 --- a/node_modules/prop-types/checkPropTypes.js +++ /dev/null @@ -1,102 +0,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. - */ - -'use strict'; - -var printWarning = function() {}; - -if (process.env.NODE_ENV !== 'production') { - var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret'); - var loggedTypeFailures = {}; - var has = Function.call.bind(Object.prototype.hasOwnProperty); - - printWarning = function(text) { - var message = 'Warning: ' + text; - if (typeof console !== 'undefined') { - console.error(message); - } - try { - // --- Welcome to debugging React --- - // This error was thrown as a convenience so that you can use this stack - // to find the callsite that caused this warning to fire. - throw new Error(message); - } catch (x) {} - }; -} - -/** - * Assert that the values match with the type specs. - * Error messages are memorized and will only be shown once. - * - * @param {object} typeSpecs Map of name to a ReactPropType - * @param {object} values Runtime values that need to be type-checked - * @param {string} location e.g. "prop", "context", "child context" - * @param {string} componentName Name of the component for error messages. - * @param {?Function} getStack Returns the component stack. - * @private - */ -function checkPropTypes(typeSpecs, values, location, componentName, getStack) { - if (process.env.NODE_ENV !== 'production') { - for (var typeSpecName in typeSpecs) { - if (has(typeSpecs, typeSpecName)) { - var error; - // Prop type validation may throw. In case they do, we don't want to - // fail the render phase where it didn't fail before. So we log it. - // After these have been cleaned up, we'll let them throw. - try { - // This is intentionally an invariant that gets caught. It's the same - // behavior as without this statement except with a better message. - if (typeof typeSpecs[typeSpecName] !== 'function') { - var err = Error( - (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + - 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' - ); - err.name = 'Invariant Violation'; - throw err; - } - error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret); - } catch (ex) { - error = ex; - } - if (error && !(error instanceof Error)) { - printWarning( - (componentName || 'React class') + ': type specification of ' + - location + ' `' + typeSpecName + '` is invalid; the type checker ' + - 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' + - 'You may have forgotten to pass an argument to the type checker ' + - 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + - 'shape all require an argument).' - ); - } - if (error instanceof Error && !(error.message in loggedTypeFailures)) { - // Only monitor this failure once because there tends to be a lot of the - // same error. - loggedTypeFailures[error.message] = true; - - var stack = getStack ? getStack() : ''; - - printWarning( - 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '') - ); - } - } - } - } -} - -/** - * Resets warning cache when testing. - * - * @private - */ -checkPropTypes.resetWarningCache = function() { - if (process.env.NODE_ENV !== 'production') { - loggedTypeFailures = {}; - } -} - -module.exports = checkPropTypes; diff --git a/node_modules/prop-types/factory.js b/node_modules/prop-types/factory.js deleted file mode 100644 index abdf8e6dc7f88a6e5c55fdbb4e67b0f58e3f8c4b..0000000000000000000000000000000000000000 --- a/node_modules/prop-types/factory.js +++ /dev/null @@ -1,19 +0,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. - */ - -'use strict'; - -// React 15.5 references this module, and assumes PropTypes are still callable in production. -// Therefore we re-export development-only version with all the PropTypes checks here. -// However if one is migrating to the `prop-types` npm library, they will go through the -// `index.js` entry point, and it will branch depending on the environment. -var factory = require('./factoryWithTypeCheckers'); -module.exports = function(isValidElement) { - // It is still allowed in 15.5. - var throwOnDirectAccess = false; - return factory(isValidElement, throwOnDirectAccess); -}; diff --git a/node_modules/prop-types/factoryWithThrowingShims.js b/node_modules/prop-types/factoryWithThrowingShims.js deleted file mode 100644 index e5b2f9ce0f3ddd031af553acc909af2b164b7a65..0000000000000000000000000000000000000000 --- a/node_modules/prop-types/factoryWithThrowingShims.js +++ /dev/null @@ -1,64 +0,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. - */ - -'use strict'; - -var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret'); - -function emptyFunction() {} -function emptyFunctionWithReset() {} -emptyFunctionWithReset.resetWarningCache = emptyFunction; - -module.exports = function() { - function shim(props, propName, componentName, location, propFullName, secret) { - if (secret === ReactPropTypesSecret) { - // It is still safe when called from React. - return; - } - var err = new Error( - 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' + - 'Use PropTypes.checkPropTypes() to call them. ' + - 'Read more at http://fb.me/use-check-prop-types' - ); - err.name = 'Invariant Violation'; - throw err; - }; - shim.isRequired = shim; - function getShim() { - return shim; - }; - // Important! - // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`. - var ReactPropTypes = { - array: shim, - bool: shim, - func: shim, - number: shim, - object: shim, - string: shim, - symbol: shim, - - any: shim, - arrayOf: getShim, - element: shim, - elementType: shim, - instanceOf: getShim, - node: shim, - objectOf: getShim, - oneOf: getShim, - oneOfType: getShim, - shape: getShim, - exact: getShim, - - checkPropTypes: emptyFunctionWithReset, - resetWarningCache: emptyFunction - }; - - ReactPropTypes.PropTypes = ReactPropTypes; - - return ReactPropTypes; -}; diff --git a/node_modules/prop-types/factoryWithTypeCheckers.js b/node_modules/prop-types/factoryWithTypeCheckers.js deleted file mode 100644 index 3711f0b6ee705790195788d80d85b32dbe7fd28e..0000000000000000000000000000000000000000 --- a/node_modules/prop-types/factoryWithTypeCheckers.js +++ /dev/null @@ -1,591 +0,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. - */ - -'use strict'; - -var ReactIs = require('react-is'); -var assign = require('object-assign'); - -var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret'); -var checkPropTypes = require('./checkPropTypes'); - -var has = Function.call.bind(Object.prototype.hasOwnProperty); -var printWarning = function() {}; - -if (process.env.NODE_ENV !== 'production') { - printWarning = function(text) { - var message = 'Warning: ' + text; - if (typeof console !== 'undefined') { - console.error(message); - } - try { - // --- Welcome to debugging React --- - // This error was thrown as a convenience so that you can use this stack - // to find the callsite that caused this warning to fire. - throw new Error(message); - } catch (x) {} - }; -} - -function emptyFunctionThatReturnsNull() { - return null; -} - -module.exports = function(isValidElement, throwOnDirectAccess) { - /* global Symbol */ - var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator; - var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec. - - /** - * Returns the iterator method function contained on the iterable object. - * - * Be sure to invoke the function with the iterable as context: - * - * var iteratorFn = getIteratorFn(myIterable); - * if (iteratorFn) { - * var iterator = iteratorFn.call(myIterable); - * ... - * } - * - * @param {?object} maybeIterable - * @return {?function} - */ - function getIteratorFn(maybeIterable) { - var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]); - if (typeof iteratorFn === 'function') { - return iteratorFn; - } - } - - /** - * Collection of methods that allow declaration and validation of props that are - * supplied to React components. Example usage: - * - * var Props = require('ReactPropTypes'); - * var MyArticle = React.createClass({ - * propTypes: { - * // An optional string prop named "description". - * description: Props.string, - * - * // A required enum prop named "category". - * category: Props.oneOf(['News','Photos']).isRequired, - * - * // A prop named "dialog" that requires an instance of Dialog. - * dialog: Props.instanceOf(Dialog).isRequired - * }, - * render: function() { ... } - * }); - * - * A more formal specification of how these methods are used: - * - * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...) - * decl := ReactPropTypes.{type}(.isRequired)? - * - * Each and every declaration produces a function with the same signature. This - * allows the creation of custom validation functions. For example: - * - * var MyLink = React.createClass({ - * propTypes: { - * // An optional string or URI prop named "href". - * href: function(props, propName, componentName) { - * var propValue = props[propName]; - * if (propValue != null && typeof propValue !== 'string' && - * !(propValue instanceof URI)) { - * return new Error( - * 'Expected a string or an URI for ' + propName + ' in ' + - * componentName - * ); - * } - * } - * }, - * render: function() {...} - * }); - * - * @internal - */ - - var ANONYMOUS = '<>'; - - // Important! - // Keep this list in sync with production version in `./factoryWithThrowingShims.js`. - var ReactPropTypes = { - array: createPrimitiveTypeChecker('array'), - bool: createPrimitiveTypeChecker('boolean'), - func: createPrimitiveTypeChecker('function'), - number: createPrimitiveTypeChecker('number'), - object: createPrimitiveTypeChecker('object'), - string: createPrimitiveTypeChecker('string'), - symbol: createPrimitiveTypeChecker('symbol'), - - any: createAnyTypeChecker(), - arrayOf: createArrayOfTypeChecker, - element: createElementTypeChecker(), - elementType: createElementTypeTypeChecker(), - instanceOf: createInstanceTypeChecker, - node: createNodeChecker(), - objectOf: createObjectOfTypeChecker, - oneOf: createEnumTypeChecker, - oneOfType: createUnionTypeChecker, - shape: createShapeTypeChecker, - exact: createStrictShapeTypeChecker, - }; - - /** - * inlined Object.is polyfill to avoid requiring consumers ship their own - * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is - */ - /*eslint-disable no-self-compare*/ - function is(x, y) { - // SameValue algorithm - if (x === y) { - // Steps 1-5, 7-10 - // Steps 6.b-6.e: +0 != -0 - return x !== 0 || 1 / x === 1 / y; - } else { - // Step 6.a: NaN == NaN - return x !== x && y !== y; - } - } - /*eslint-enable no-self-compare*/ - - /** - * We use an Error-like object for backward compatibility as people may call - * PropTypes directly and inspect their output. However, we don't use real - * Errors anymore. We don't inspect their stack anyway, and creating them - * is prohibitively expensive if they are created too often, such as what - * happens in oneOfType() for any type before the one that matched. - */ - function PropTypeError(message) { - this.message = message; - this.stack = ''; - } - // Make `instanceof Error` still work for returned errors. - PropTypeError.prototype = Error.prototype; - - function createChainableTypeChecker(validate) { - if (process.env.NODE_ENV !== 'production') { - var manualPropTypeCallCache = {}; - var manualPropTypeWarningCount = 0; - } - function checkType(isRequired, props, propName, componentName, location, propFullName, secret) { - componentName = componentName || ANONYMOUS; - propFullName = propFullName || propName; - - if (secret !== ReactPropTypesSecret) { - if (throwOnDirectAccess) { - // New behavior only for users of `prop-types` package - var err = new Error( - 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' + - 'Use `PropTypes.checkPropTypes()` to call them. ' + - 'Read more at http://fb.me/use-check-prop-types' - ); - err.name = 'Invariant Violation'; - throw err; - } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') { - // Old behavior for people using React.PropTypes - var cacheKey = componentName + ':' + propName; - if ( - !manualPropTypeCallCache[cacheKey] && - // Avoid spamming the console because they are often not actionable except for lib authors - manualPropTypeWarningCount < 3 - ) { - printWarning( - 'You are manually calling a React.PropTypes validation ' + - 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' + - 'and will throw in the standalone `prop-types` package. ' + - 'You may be seeing this warning due to a third-party PropTypes ' + - 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.' - ); - manualPropTypeCallCache[cacheKey] = true; - manualPropTypeWarningCount++; - } - } - } - if (props[propName] == null) { - if (isRequired) { - if (props[propName] === null) { - return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.')); - } - return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.')); - } - return null; - } else { - return validate(props, propName, componentName, location, propFullName); - } - } - - var chainedCheckType = checkType.bind(null, false); - chainedCheckType.isRequired = checkType.bind(null, true); - - return chainedCheckType; - } - - function createPrimitiveTypeChecker(expectedType) { - function validate(props, propName, componentName, location, propFullName, secret) { - var propValue = props[propName]; - var propType = getPropType(propValue); - if (propType !== expectedType) { - // `propValue` being instance of, say, date/regexp, pass the 'object' - // check, but we can offer a more precise error message here rather than - // 'of type `object`'. - var preciseType = getPreciseType(propValue); - - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.')); - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createAnyTypeChecker() { - return createChainableTypeChecker(emptyFunctionThatReturnsNull); - } - - function createArrayOfTypeChecker(typeChecker) { - function validate(props, propName, componentName, location, propFullName) { - if (typeof typeChecker !== 'function') { - return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.'); - } - var propValue = props[propName]; - if (!Array.isArray(propValue)) { - var propType = getPropType(propValue); - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.')); - } - for (var i = 0; i < propValue.length; i++) { - var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret); - if (error instanceof Error) { - return error; - } - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createElementTypeChecker() { - function validate(props, propName, componentName, location, propFullName) { - var propValue = props[propName]; - if (!isValidElement(propValue)) { - var propType = getPropType(propValue); - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.')); - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createElementTypeTypeChecker() { - function validate(props, propName, componentName, location, propFullName) { - var propValue = props[propName]; - if (!ReactIs.isValidElementType(propValue)) { - var propType = getPropType(propValue); - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.')); - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createInstanceTypeChecker(expectedClass) { - function validate(props, propName, componentName, location, propFullName) { - if (!(props[propName] instanceof expectedClass)) { - var expectedClassName = expectedClass.name || ANONYMOUS; - var actualClassName = getClassName(props[propName]); - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.')); - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createEnumTypeChecker(expectedValues) { - if (!Array.isArray(expectedValues)) { - if (process.env.NODE_ENV !== 'production') { - if (arguments.length > 1) { - printWarning( - 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' + - 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).' - ); - } else { - printWarning('Invalid argument supplied to oneOf, expected an array.'); - } - } - return emptyFunctionThatReturnsNull; - } - - function validate(props, propName, componentName, location, propFullName) { - var propValue = props[propName]; - for (var i = 0; i < expectedValues.length; i++) { - if (is(propValue, expectedValues[i])) { - return null; - } - } - - var valuesString = JSON.stringify(expectedValues, function replacer(key, value) { - var type = getPreciseType(value); - if (type === 'symbol') { - return String(value); - } - return value; - }); - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.')); - } - return createChainableTypeChecker(validate); - } - - function createObjectOfTypeChecker(typeChecker) { - function validate(props, propName, componentName, location, propFullName) { - if (typeof typeChecker !== 'function') { - return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.'); - } - var propValue = props[propName]; - var propType = getPropType(propValue); - if (propType !== 'object') { - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.')); - } - for (var key in propValue) { - if (has(propValue, key)) { - var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); - if (error instanceof Error) { - return error; - } - } - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createUnionTypeChecker(arrayOfTypeCheckers) { - if (!Array.isArray(arrayOfTypeCheckers)) { - process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0; - return emptyFunctionThatReturnsNull; - } - - for (var i = 0; i < arrayOfTypeCheckers.length; i++) { - var checker = arrayOfTypeCheckers[i]; - if (typeof checker !== 'function') { - printWarning( - 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' + - 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.' - ); - return emptyFunctionThatReturnsNull; - } - } - - function validate(props, propName, componentName, location, propFullName) { - for (var i = 0; i < arrayOfTypeCheckers.length; i++) { - var checker = arrayOfTypeCheckers[i]; - if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) { - return null; - } - } - - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.')); - } - return createChainableTypeChecker(validate); - } - - function createNodeChecker() { - function validate(props, propName, componentName, location, propFullName) { - if (!isNode(props[propName])) { - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.')); - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createShapeTypeChecker(shapeTypes) { - function validate(props, propName, componentName, location, propFullName) { - var propValue = props[propName]; - var propType = getPropType(propValue); - if (propType !== 'object') { - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.')); - } - for (var key in shapeTypes) { - var checker = shapeTypes[key]; - if (!checker) { - continue; - } - var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); - if (error) { - return error; - } - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createStrictShapeTypeChecker(shapeTypes) { - function validate(props, propName, componentName, location, propFullName) { - var propValue = props[propName]; - var propType = getPropType(propValue); - if (propType !== 'object') { - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.')); - } - // We need to check all keys in case some are required but missing from - // props. - var allKeys = assign({}, props[propName], shapeTypes); - for (var key in allKeys) { - var checker = shapeTypes[key]; - if (!checker) { - return new PropTypeError( - 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' + - '\nBad object: ' + JSON.stringify(props[propName], null, ' ') + - '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ') - ); - } - var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); - if (error) { - return error; - } - } - return null; - } - - return createChainableTypeChecker(validate); - } - - function isNode(propValue) { - switch (typeof propValue) { - case 'number': - case 'string': - case 'undefined': - return true; - case 'boolean': - return !propValue; - case 'object': - if (Array.isArray(propValue)) { - return propValue.every(isNode); - } - if (propValue === null || isValidElement(propValue)) { - return true; - } - - var iteratorFn = getIteratorFn(propValue); - if (iteratorFn) { - var iterator = iteratorFn.call(propValue); - var step; - if (iteratorFn !== propValue.entries) { - while (!(step = iterator.next()).done) { - if (!isNode(step.value)) { - return false; - } - } - } else { - // Iterator will provide entry [k,v] tuples rather than values. - while (!(step = iterator.next()).done) { - var entry = step.value; - if (entry) { - if (!isNode(entry[1])) { - return false; - } - } - } - } - } else { - return false; - } - - return true; - default: - return false; - } - } - - function isSymbol(propType, propValue) { - // Native Symbol. - if (propType === 'symbol') { - return true; - } - - // falsy value can't be a Symbol - if (!propValue) { - return false; - } - - // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol' - if (propValue['@@toStringTag'] === 'Symbol') { - return true; - } - - // Fallback for non-spec compliant Symbols which are polyfilled. - if (typeof Symbol === 'function' && propValue instanceof Symbol) { - return true; - } - - return false; - } - - // Equivalent of `typeof` but with special handling for array and regexp. - function getPropType(propValue) { - var propType = typeof propValue; - if (Array.isArray(propValue)) { - return 'array'; - } - if (propValue instanceof RegExp) { - // Old webkits (at least until Android 4.0) return 'function' rather than - // 'object' for typeof a RegExp. We'll normalize this here so that /bla/ - // passes PropTypes.object. - return 'object'; - } - if (isSymbol(propType, propValue)) { - return 'symbol'; - } - return propType; - } - - // This handles more types than `getPropType`. Only used for error messages. - // See `createPrimitiveTypeChecker`. - function getPreciseType(propValue) { - if (typeof propValue === 'undefined' || propValue === null) { - return '' + propValue; - } - var propType = getPropType(propValue); - if (propType === 'object') { - if (propValue instanceof Date) { - return 'date'; - } else if (propValue instanceof RegExp) { - return 'regexp'; - } - } - return propType; - } - - // Returns a string that is postfixed to a warning about an invalid type. - // For example, "undefined" or "of type array" - function getPostfixForTypeWarning(value) { - var type = getPreciseType(value); - switch (type) { - case 'array': - case 'object': - return 'an ' + type; - case 'boolean': - case 'date': - case 'regexp': - return 'a ' + type; - default: - return type; - } - } - - // Returns class name of the object, if any. - function getClassName(propValue) { - if (!propValue.constructor || !propValue.constructor.name) { - return ANONYMOUS; - } - return propValue.constructor.name; - } - - ReactPropTypes.checkPropTypes = checkPropTypes; - ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache; - ReactPropTypes.PropTypes = ReactPropTypes; - - return ReactPropTypes; -}; diff --git a/node_modules/prop-types/index.js b/node_modules/prop-types/index.js deleted file mode 100644 index e9ef51d6f39a3a26da5023d5470d73882139727a..0000000000000000000000000000000000000000 --- a/node_modules/prop-types/index.js +++ /dev/null @@ -1,19 +0,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 (process.env.NODE_ENV !== 'production') { - var ReactIs = require('react-is'); - - // 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')(ReactIs.isElement, throwOnDirectAccess); -} else { - // By explicitly using `prop-types` you are opting into new production behavior. - // http://fb.me/prop-types-in-prod - module.exports = require('./factoryWithThrowingShims')(); -} diff --git a/node_modules/prop-types/lib/ReactPropTypesSecret.js b/node_modules/prop-types/lib/ReactPropTypesSecret.js deleted file mode 100644 index f54525e7f12a47338a6fb8cb4527b30c6affbe6e..0000000000000000000000000000000000000000 --- a/node_modules/prop-types/lib/ReactPropTypesSecret.js +++ /dev/null @@ -1,12 +0,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. - */ - -'use strict'; - -var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; - -module.exports = ReactPropTypesSecret; diff --git a/node_modules/prop-types/package.json b/node_modules/prop-types/package.json deleted file mode 100644 index b7e02dc862d7576655216005e78e20465db4eca5..0000000000000000000000000000000000000000 --- a/node_modules/prop-types/package.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "_args": [ - [ - "prop-types@15.7.2", - "C:\\Users\\Korea\\Desktop\\2020winter\\search-page" - ] - ], - "_from": "prop-types@15.7.2", - "_id": "prop-types@15.7.2", - "_inBundle": false, - "_integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==", - "_location": "/prop-types", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "prop-types@15.7.2", - "name": "prop-types", - "escapedName": "prop-types", - "rawSpec": "15.7.2", - "saveSpec": null, - "fetchSpec": "15.7.2" - }, - "_requiredBy": [ - "/react-bootstrap", - "/react-overlays", - "/react-transition-group" - ], - "_resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz", - "_spec": "15.7.2", - "_where": "C:\\Users\\Korea\\Desktop\\2020winter\\search-page", - "browserify": { - "transform": [ - "loose-envify" - ] - }, - "bugs": { - "url": "https://github.com/facebook/prop-types/issues" - }, - "dependencies": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.8.1" - }, - "description": "Runtime type checking for React props and similar objects.", - "devDependencies": { - "babel-jest": "^19.0.0", - "babel-preset-react": "^6.24.1", - "browserify": "^16.2.3", - "bundle-collapser": "^1.2.1", - "eslint": "^5.13.0", - "jest": "^19.0.2", - "react": "^15.5.1", - "uglifyify": "^3.0.4", - "uglifyjs": "^2.4.10" - }, - "files": [ - "LICENSE", - "README.md", - "checkPropTypes.js", - "factory.js", - "factoryWithThrowingShims.js", - "factoryWithTypeCheckers.js", - "index.js", - "prop-types.js", - "prop-types.min.js", - "lib" - ], - "homepage": "https://facebook.github.io/react/", - "keywords": [ - "react" - ], - "license": "MIT", - "main": "index.js", - "name": "prop-types", - "repository": { - "type": "git", - "url": "git+https://github.com/facebook/prop-types.git" - }, - "scripts": { - "build": "yarn umd && yarn umd-min", - "lint": "eslint .", - "prepublish": "yarn build", - "pretest": "npm run lint", - "test": "npm run tests-only", - "tests-only": "jest", - "umd": "NODE_ENV=development browserify index.js -t loose-envify --standalone PropTypes -o prop-types.js", - "umd-min": "NODE_ENV=production browserify index.js -t loose-envify -t uglifyify --standalone PropTypes -p bundle-collapser/plugin -o | uglifyjs --compress unused,dead_code -o prop-types.min.js" - }, - "version": "15.7.2" -} diff --git a/node_modules/prop-types/prop-types.js b/node_modules/prop-types/prop-types.js deleted file mode 100644 index 867d6993c62756cd51821bac1578e740991945b3..0000000000000000000000000000000000000000 --- a/node_modules/prop-types/prop-types.js +++ /dev/null @@ -1,1337 +0,0 @@ -(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.PropTypes = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o 1) { - printWarning( - 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' + - 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).' - ); - } else { - printWarning('Invalid argument supplied to oneOf, expected an array.'); - } - } - return emptyFunctionThatReturnsNull; - } - - function validate(props, propName, componentName, location, propFullName) { - var propValue = props[propName]; - for (var i = 0; i < expectedValues.length; i++) { - if (is(propValue, expectedValues[i])) { - return null; - } - } - - var valuesString = JSON.stringify(expectedValues, function replacer(key, value) { - var type = getPreciseType(value); - if (type === 'symbol') { - return String(value); - } - return value; - }); - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.')); - } - return createChainableTypeChecker(validate); - } - - function createObjectOfTypeChecker(typeChecker) { - function validate(props, propName, componentName, location, propFullName) { - if (typeof typeChecker !== 'function') { - return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.'); - } - var propValue = props[propName]; - var propType = getPropType(propValue); - if (propType !== 'object') { - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.')); - } - for (var key in propValue) { - if (has(propValue, key)) { - var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); - if (error instanceof Error) { - return error; - } - } - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createUnionTypeChecker(arrayOfTypeCheckers) { - if (!Array.isArray(arrayOfTypeCheckers)) { - "development" !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0; - return emptyFunctionThatReturnsNull; - } - - for (var i = 0; i < arrayOfTypeCheckers.length; i++) { - var checker = arrayOfTypeCheckers[i]; - if (typeof checker !== 'function') { - printWarning( - 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' + - 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.' - ); - return emptyFunctionThatReturnsNull; - } - } - - function validate(props, propName, componentName, location, propFullName) { - for (var i = 0; i < arrayOfTypeCheckers.length; i++) { - var checker = arrayOfTypeCheckers[i]; - if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) { - return null; - } - } - - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.')); - } - return createChainableTypeChecker(validate); - } - - function createNodeChecker() { - function validate(props, propName, componentName, location, propFullName) { - if (!isNode(props[propName])) { - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.')); - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createShapeTypeChecker(shapeTypes) { - function validate(props, propName, componentName, location, propFullName) { - var propValue = props[propName]; - var propType = getPropType(propValue); - if (propType !== 'object') { - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.')); - } - for (var key in shapeTypes) { - var checker = shapeTypes[key]; - if (!checker) { - continue; - } - var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); - if (error) { - return error; - } - } - return null; - } - return createChainableTypeChecker(validate); - } - - function createStrictShapeTypeChecker(shapeTypes) { - function validate(props, propName, componentName, location, propFullName) { - var propValue = props[propName]; - var propType = getPropType(propValue); - if (propType !== 'object') { - return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.')); - } - // We need to check all keys in case some are required but missing from - // props. - var allKeys = assign({}, props[propName], shapeTypes); - for (var key in allKeys) { - var checker = shapeTypes[key]; - if (!checker) { - return new PropTypeError( - 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' + - '\nBad object: ' + JSON.stringify(props[propName], null, ' ') + - '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ') - ); - } - var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); - if (error) { - return error; - } - } - return null; - } - - return createChainableTypeChecker(validate); - } - - function isNode(propValue) { - switch (typeof propValue) { - case 'number': - case 'string': - case 'undefined': - return true; - case 'boolean': - return !propValue; - case 'object': - if (Array.isArray(propValue)) { - return propValue.every(isNode); - } - if (propValue === null || isValidElement(propValue)) { - return true; - } - - var iteratorFn = getIteratorFn(propValue); - if (iteratorFn) { - var iterator = iteratorFn.call(propValue); - var step; - if (iteratorFn !== propValue.entries) { - while (!(step = iterator.next()).done) { - if (!isNode(step.value)) { - return false; - } - } - } else { - // Iterator will provide entry [k,v] tuples rather than values. - while (!(step = iterator.next()).done) { - var entry = step.value; - if (entry) { - if (!isNode(entry[1])) { - return false; - } - } - } - } - } else { - return false; - } - - return true; - default: - return false; - } - } - - function isSymbol(propType, propValue) { - // Native Symbol. - if (propType === 'symbol') { - return true; - } - - // falsy value can't be a Symbol - if (!propValue) { - return false; - } - - // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol' - if (propValue['@@toStringTag'] === 'Symbol') { - return true; - } - - // Fallback for non-spec compliant Symbols which are polyfilled. - if (typeof Symbol === 'function' && propValue instanceof Symbol) { - return true; - } - - return false; - } - - // Equivalent of `typeof` but with special handling for array and regexp. - function getPropType(propValue) { - var propType = typeof propValue; - if (Array.isArray(propValue)) { - return 'array'; - } - if (propValue instanceof RegExp) { - // Old webkits (at least until Android 4.0) return 'function' rather than - // 'object' for typeof a RegExp. We'll normalize this here so that /bla/ - // passes PropTypes.object. - return 'object'; - } - if (isSymbol(propType, propValue)) { - return 'symbol'; - } - return propType; - } - - // This handles more types than `getPropType`. Only used for error messages. - // See `createPrimitiveTypeChecker`. - function getPreciseType(propValue) { - if (typeof propValue === 'undefined' || propValue === null) { - return '' + propValue; - } - var propType = getPropType(propValue); - if (propType === 'object') { - if (propValue instanceof Date) { - return 'date'; - } else if (propValue instanceof RegExp) { - return 'regexp'; - } - } - return propType; - } - - // Returns a string that is postfixed to a warning about an invalid type. - // For example, "undefined" or "of type array" - function getPostfixForTypeWarning(value) { - var type = getPreciseType(value); - switch (type) { - case 'array': - case 'object': - return 'an ' + type; - case 'boolean': - case 'date': - case 'regexp': - return 'a ' + type; - default: - return type; - } - } - - // Returns class name of the object, if any. - function getClassName(propValue) { - if (!propValue.constructor || !propValue.constructor.name) { - return ANONYMOUS; - } - return propValue.constructor.name; - } - - ReactPropTypes.checkPropTypes = checkPropTypes; - ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache; - ReactPropTypes.PropTypes = ReactPropTypes; - - return ReactPropTypes; -}; - -},{"./checkPropTypes":1,"./lib/ReactPropTypesSecret":5,"object-assign":6,"react-is":10}],4:[function(require,module,exports){ -/** - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -if ("development" !== 'production') { - var ReactIs = require('react-is'); - - // 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')(ReactIs.isElement, throwOnDirectAccess); -} else { - // By explicitly using `prop-types` you are opting into new production behavior. - // http://fb.me/prop-types-in-prod - module.exports = require('./factoryWithThrowingShims')(); -} - -},{"./factoryWithThrowingShims":2,"./factoryWithTypeCheckers":3,"react-is":10}],5:[function(require,module,exports){ -/** - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -'use strict'; - -var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; - -module.exports = ReactPropTypesSecret; - -},{}],6:[function(require,module,exports){ -/* -object-assign -(c) Sindre Sorhus -@license MIT -*/ - -'use strict'; -/* eslint-disable no-unused-vars */ -var getOwnPropertySymbols = Object.getOwnPropertySymbols; -var hasOwnProperty = Object.prototype.hasOwnProperty; -var propIsEnumerable = Object.prototype.propertyIsEnumerable; - -function toObject(val) { - if (val === null || val === undefined) { - throw new TypeError('Object.assign cannot be called with null or undefined'); - } - - return Object(val); -} - -function shouldUseNative() { - try { - if (!Object.assign) { - return false; - } - - // Detect buggy property enumeration order in older V8 versions. - - // https://bugs.chromium.org/p/v8/issues/detail?id=4118 - var test1 = new String('abc'); // eslint-disable-line no-new-wrappers - test1[5] = 'de'; - if (Object.getOwnPropertyNames(test1)[0] === '5') { - return false; - } - - // https://bugs.chromium.org/p/v8/issues/detail?id=3056 - var test2 = {}; - for (var i = 0; i < 10; i++) { - test2['_' + String.fromCharCode(i)] = i; - } - var order2 = Object.getOwnPropertyNames(test2).map(function (n) { - return test2[n]; - }); - if (order2.join('') !== '0123456789') { - return false; - } - - // https://bugs.chromium.org/p/v8/issues/detail?id=3056 - var test3 = {}; - 'abcdefghijklmnopqrst'.split('').forEach(function (letter) { - test3[letter] = letter; - }); - if (Object.keys(Object.assign({}, test3)).join('') !== - 'abcdefghijklmnopqrst') { - return false; - } - - return true; - } catch (err) { - // We don't expect any of the above to throw, but better to be safe. - return false; - } -} - -module.exports = shouldUseNative() ? Object.assign : function (target, source) { - var from; - var to = toObject(target); - var symbols; - - for (var s = 1; s < arguments.length; s++) { - from = Object(arguments[s]); - - for (var key in from) { - if (hasOwnProperty.call(from, key)) { - to[key] = from[key]; - } - } - - if (getOwnPropertySymbols) { - symbols = getOwnPropertySymbols(from); - for (var i = 0; i < symbols.length; i++) { - if (propIsEnumerable.call(from, symbols[i])) { - to[symbols[i]] = from[symbols[i]]; - } - } - } - } - - return to; -}; - -},{}],7:[function(require,module,exports){ -// shim for using process in browser -var process = module.exports = {}; - -// cached from whatever global is present so that test runners that stub it -// don't break things. But we need to wrap it in a try catch in case it is -// wrapped in strict mode code which doesn't define any globals. It's inside a -// function because try/catches deoptimize in certain engines. - -var cachedSetTimeout; -var cachedClearTimeout; - -function defaultSetTimout() { - throw new Error('setTimeout has not been defined'); -} -function defaultClearTimeout () { - throw new Error('clearTimeout has not been defined'); -} -(function () { - try { - if (typeof setTimeout === 'function') { - cachedSetTimeout = setTimeout; - } else { - cachedSetTimeout = defaultSetTimout; - } - } catch (e) { - cachedSetTimeout = defaultSetTimout; - } - try { - if (typeof clearTimeout === 'function') { - cachedClearTimeout = clearTimeout; - } else { - cachedClearTimeout = defaultClearTimeout; - } - } catch (e) { - cachedClearTimeout = defaultClearTimeout; - } -} ()) -function runTimeout(fun) { - if (cachedSetTimeout === setTimeout) { - //normal enviroments in sane situations - return setTimeout(fun, 0); - } - // if setTimeout wasn't available but was latter defined - if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { - cachedSetTimeout = setTimeout; - return setTimeout(fun, 0); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedSetTimeout(fun, 0); - } catch(e){ - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedSetTimeout.call(null, fun, 0); - } catch(e){ - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error - return cachedSetTimeout.call(this, fun, 0); - } - } - - -} -function runClearTimeout(marker) { - if (cachedClearTimeout === clearTimeout) { - //normal enviroments in sane situations - return clearTimeout(marker); - } - // if clearTimeout wasn't available but was latter defined - if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { - cachedClearTimeout = clearTimeout; - return clearTimeout(marker); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedClearTimeout(marker); - } catch (e){ - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedClearTimeout.call(null, marker); - } catch (e){ - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. - // Some versions of I.E. have different rules for clearTimeout vs setTimeout - return cachedClearTimeout.call(this, marker); - } - } - - - -} -var queue = []; -var draining = false; -var currentQueue; -var queueIndex = -1; - -function cleanUpNextTick() { - if (!draining || !currentQueue) { - return; - } - draining = false; - if (currentQueue.length) { - queue = currentQueue.concat(queue); - } else { - queueIndex = -1; - } - if (queue.length) { - drainQueue(); - } -} - -function drainQueue() { - if (draining) { - return; - } - var timeout = runTimeout(cleanUpNextTick); - draining = true; - - var len = queue.length; - while(len) { - currentQueue = queue; - queue = []; - while (++queueIndex < len) { - if (currentQueue) { - currentQueue[queueIndex].run(); - } - } - queueIndex = -1; - len = queue.length; - } - currentQueue = null; - draining = false; - runClearTimeout(timeout); -} - -process.nextTick = function (fun) { - var args = new Array(arguments.length - 1); - if (arguments.length > 1) { - for (var i = 1; i < arguments.length; i++) { - args[i - 1] = arguments[i]; - } - } - queue.push(new Item(fun, args)); - if (queue.length === 1 && !draining) { - runTimeout(drainQueue); - } -}; - -// v8 likes predictible objects -function Item(fun, array) { - this.fun = fun; - this.array = array; -} -Item.prototype.run = function () { - this.fun.apply(null, this.array); -}; -process.title = 'browser'; -process.browser = true; -process.env = {}; -process.argv = []; -process.version = ''; // empty string to avoid regexp issues -process.versions = {}; - -function noop() {} - -process.on = noop; -process.addListener = noop; -process.once = noop; -process.off = noop; -process.removeListener = noop; -process.removeAllListeners = noop; -process.emit = noop; -process.prependListener = noop; -process.prependOnceListener = noop; - -process.listeners = function (name) { return [] } - -process.binding = function (name) { - throw new Error('process.binding is not supported'); -}; - -process.cwd = function () { return '/' }; -process.chdir = function (dir) { - throw new Error('process.chdir is not supported'); -}; -process.umask = function() { return 0; }; - -},{}],8:[function(require,module,exports){ -(function (process){ -/** @license React v16.8.1 - * react-is.development.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -'use strict'; - - - -if (process.env.NODE_ENV !== "production") { - (function() { -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -// The Symbol used to tag the ReactElement-like types. If there is no native Symbol -// nor polyfill, then a plain number is used for performance. -var hasSymbol = typeof Symbol === 'function' && Symbol.for; - -var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7; -var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca; -var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb; -var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc; -var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2; -var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd; -var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; -var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf; -var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf; -var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0; -var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1; -var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3; -var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4; - -function isValidElementType(type) { - return typeof type === 'string' || typeof type === 'function' || - // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. - type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE); -} - -/** - * Forked from fbjs/warning: - * https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js - * - * Only change is we use console.warn instead of console.error, - * and do nothing when 'console' is not supported. - * This really simplifies the code. - * --- - * Similar to invariant but only logs a warning if the condition is not met. - * This can be used to log issues in development environments in critical - * paths. Removing the logging code for production environments will keep the - * same logic and follow the same code paths. - */ - -var lowPriorityWarning = function () {}; - -{ - var printWarning = function (format) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - var argIndex = 0; - var message = 'Warning: ' + format.replace(/%s/g, function () { - return args[argIndex++]; - }); - if (typeof console !== 'undefined') { - console.warn(message); - } - try { - // --- Welcome to debugging React --- - // This error was thrown as a convenience so that you can use this stack - // to find the callsite that caused this warning to fire. - throw new Error(message); - } catch (x) {} - }; - - lowPriorityWarning = function (condition, format) { - if (format === undefined) { - throw new Error('`lowPriorityWarning(condition, format, ...args)` requires a warning ' + 'message argument'); - } - if (!condition) { - for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { - args[_key2 - 2] = arguments[_key2]; - } - - printWarning.apply(undefined, [format].concat(args)); - } - }; -} - -var lowPriorityWarning$1 = lowPriorityWarning; - -function typeOf(object) { - if (typeof object === 'object' && object !== null) { - var $$typeof = object.$$typeof; - switch ($$typeof) { - case REACT_ELEMENT_TYPE: - var type = object.type; - - switch (type) { - case REACT_ASYNC_MODE_TYPE: - case REACT_CONCURRENT_MODE_TYPE: - case REACT_FRAGMENT_TYPE: - case REACT_PROFILER_TYPE: - case REACT_STRICT_MODE_TYPE: - case REACT_SUSPENSE_TYPE: - return type; - default: - var $$typeofType = type && type.$$typeof; - - switch ($$typeofType) { - case REACT_CONTEXT_TYPE: - case REACT_FORWARD_REF_TYPE: - case REACT_PROVIDER_TYPE: - return $$typeofType; - default: - return $$typeof; - } - } - case REACT_LAZY_TYPE: - case REACT_MEMO_TYPE: - case REACT_PORTAL_TYPE: - return $$typeof; - } - } - - return undefined; -} - -// AsyncMode is deprecated along with isAsyncMode -var AsyncMode = REACT_ASYNC_MODE_TYPE; -var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE; -var ContextConsumer = REACT_CONTEXT_TYPE; -var ContextProvider = REACT_PROVIDER_TYPE; -var Element = REACT_ELEMENT_TYPE; -var ForwardRef = REACT_FORWARD_REF_TYPE; -var Fragment = REACT_FRAGMENT_TYPE; -var Lazy = REACT_LAZY_TYPE; -var Memo = REACT_MEMO_TYPE; -var Portal = REACT_PORTAL_TYPE; -var Profiler = REACT_PROFILER_TYPE; -var StrictMode = REACT_STRICT_MODE_TYPE; -var Suspense = REACT_SUSPENSE_TYPE; - -var hasWarnedAboutDeprecatedIsAsyncMode = false; - -// AsyncMode should be deprecated -function isAsyncMode(object) { - { - if (!hasWarnedAboutDeprecatedIsAsyncMode) { - hasWarnedAboutDeprecatedIsAsyncMode = true; - lowPriorityWarning$1(false, 'The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.'); - } - } - return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE; -} -function isConcurrentMode(object) { - return typeOf(object) === REACT_CONCURRENT_MODE_TYPE; -} -function isContextConsumer(object) { - return typeOf(object) === REACT_CONTEXT_TYPE; -} -function isContextProvider(object) { - return typeOf(object) === REACT_PROVIDER_TYPE; -} -function isElement(object) { - return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; -} -function isForwardRef(object) { - return typeOf(object) === REACT_FORWARD_REF_TYPE; -} -function isFragment(object) { - return typeOf(object) === REACT_FRAGMENT_TYPE; -} -function isLazy(object) { - return typeOf(object) === REACT_LAZY_TYPE; -} -function isMemo(object) { - return typeOf(object) === REACT_MEMO_TYPE; -} -function isPortal(object) { - return typeOf(object) === REACT_PORTAL_TYPE; -} -function isProfiler(object) { - return typeOf(object) === REACT_PROFILER_TYPE; -} -function isStrictMode(object) { - return typeOf(object) === REACT_STRICT_MODE_TYPE; -} -function isSuspense(object) { - return typeOf(object) === REACT_SUSPENSE_TYPE; -} - -exports.typeOf = typeOf; -exports.AsyncMode = AsyncMode; -exports.ConcurrentMode = ConcurrentMode; -exports.ContextConsumer = ContextConsumer; -exports.ContextProvider = ContextProvider; -exports.Element = Element; -exports.ForwardRef = ForwardRef; -exports.Fragment = Fragment; -exports.Lazy = Lazy; -exports.Memo = Memo; -exports.Portal = Portal; -exports.Profiler = Profiler; -exports.StrictMode = StrictMode; -exports.Suspense = Suspense; -exports.isValidElementType = isValidElementType; -exports.isAsyncMode = isAsyncMode; -exports.isConcurrentMode = isConcurrentMode; -exports.isContextConsumer = isContextConsumer; -exports.isContextProvider = isContextProvider; -exports.isElement = isElement; -exports.isForwardRef = isForwardRef; -exports.isFragment = isFragment; -exports.isLazy = isLazy; -exports.isMemo = isMemo; -exports.isPortal = isPortal; -exports.isProfiler = isProfiler; -exports.isStrictMode = isStrictMode; -exports.isSuspense = isSuspense; - })(); -} - -}).call(this,require('_process')) -},{"_process":7}],9:[function(require,module,exports){ -/** @license React v16.8.1 - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -'use strict';Object.defineProperty(exports,"__esModule",{value:!0}); -var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?Symbol.for("react.memo"): -60115,r=b?Symbol.for("react.lazy"):60116;function t(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case h:return a;default:return u}}case r:case q:case d:return u}}}function v(a){return t(a)===m}exports.typeOf=t;exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n; -exports.Fragment=e;exports.Lazy=r;exports.Memo=q;exports.Portal=d;exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||"object"===typeof a&&null!==a&&(a.$$typeof===r||a.$$typeof===q||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n)};exports.isAsyncMode=function(a){return v(a)||t(a)===l};exports.isConcurrentMode=v;exports.isContextConsumer=function(a){return t(a)===k}; -exports.isContextProvider=function(a){return t(a)===h};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return t(a)===n};exports.isFragment=function(a){return t(a)===e};exports.isLazy=function(a){return t(a)===r};exports.isMemo=function(a){return t(a)===q};exports.isPortal=function(a){return t(a)===d};exports.isProfiler=function(a){return t(a)===g};exports.isStrictMode=function(a){return t(a)===f}; -exports.isSuspense=function(a){return t(a)===p}; - -},{}],10:[function(require,module,exports){ -(function (process){ -'use strict'; - -if (process.env.NODE_ENV === 'production') { - module.exports = require('./cjs/react-is.production.min.js'); -} else { - module.exports = require('./cjs/react-is.development.js'); -} - -}).call(this,require('_process')) -},{"./cjs/react-is.development.js":8,"./cjs/react-is.production.min.js":9,"_process":7}]},{},[4])(4) -}); \ No newline at end of file diff --git a/node_modules/prop-types/prop-types.min.js b/node_modules/prop-types/prop-types.min.js deleted file mode 100644 index c9024331583826c9693d6928a2656f582a23689d..0000000000000000000000000000000000000000 --- a/node_modules/prop-types/prop-types.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{var g;g="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,g.PropTypes=f()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o [Bootstrap 4][bootstrap] components built with [React][react]. - -[![GitHub Actions CI status][gh-actions-badge]][gh-actions] -[![Travis CI Build status][travis-badge]][travis] -[![npm][npm-badge]][npm] -[![Codecov][codecov-badge]][codecov] -[![Discord][discord-badge]][discord] -[![Netlify][netlify-badge]][netlify] - -## Docs - -See the [documentation][documentation] with live editable examples and API documentation. - -To find the documentation for the latest Bootstrap 3 compatible release, [go here](https://react-bootstrap-v3.netlify.com). - -### Migrating from Bootstrap 3 to Bootstrap 4 - -If you would like to update React-Bootstrap within an existing project to use Bootstrap 4, please read our docs for **[migrating to React-Bootstrap V1](https://react-bootstrap.github.io/migrating/)**. - -## Related modules - -- [react-router-bootstrap][react-router-bootstrap] – Integration with [React Router][react-router] -- [Awesome React Bootstrap Components][awesome-react-bootstrap-components] - Additional components like off-canvas navbar, switch and sliders. - -## Local setup - -Yarn is our package manager of choice here. Check out setup -instructions [here](https://yarnpkg.com/en/docs/install) if you don't have it installed already. -After that you can run `yarn run bootstrap` to install all the needed dependencies. - -From there you can: - -- Run the tests once with `yarn test` (Or run them in watch mode with `yarn run tdd`). -- Start a local copy of the docs site with `yarn start` -- Or build a local copy of the library with `yarn run build` - -## CodeSandbox Examples - -[Click here](https://github.com/react-bootstrap/code-sandbox-examples) to explore some React-Bootstrap [CodeSandbox](https://codesandbox.io/) examples. - -[Click here](https://codesandbox.io/s/github/react-bootstrap/code-sandbox-examples/tree/master/basic) to automatically open [CodeSandbox](https://codesandbox.io/) with the React-Bootstrap [CodeSandbox Examples GitHub Repository](https://github.com/react-bootstrap/code-sandbox-examples) as a workspace. - -## Contributions - -Yes please! See the [contributing guidelines][contributing] for details. - -[bootstrap]: https://getbootstrap.com/ -[react]: https://reactjs.org/ -[documentation]: https://react-bootstrap.github.io/ -[contributing]: CONTRIBUTING.md -[travis-badge]: https://travis-ci.org/react-bootstrap/react-bootstrap.svg?branch=master -[travis]: https://travis-ci.org/react-bootstrap/react-bootstrap -[npm-badge]: https://badge.fury.io/js/react-bootstrap.svg -[npm]: http://badge.fury.io/js/react-bootstrap -[react-router-bootstrap]: https://github.com/react-bootstrap/react-router-bootstrap -[react-router]: https://github.com/reactjs/react-router -[react-bootstrap-extended]: https://github.com/rbalicki2/react-bootstrap-extended -[awesome-react-bootstrap-components]: https://github.com/Hermanya/awesome-react-bootstrap-components -[codecov-badge]: https://img.shields.io/codecov/c/github/react-bootstrap/react-bootstrap/master.svg -[codecov]: https://codecov.io/gh/react-bootstrap/react-bootstrap -[discord-badge]: https://img.shields.io/badge/Discord-Join%20chat%20%E2%86%92-738bd7.svg -[discord]: https://discord.gg/0ZcbPKXt5bXLs9XK -[netlify-badge]: https://api.netlify.com/api/v1/badges/91501718-8820-4d69-b7fe-1616eff5914e/deploy-status -[netlify]: https://app.netlify.com/sites/react-bootstrap/deploys -[gh-actions-badge]: https://github.com/react-bootstrap/react-bootstrap/workflows/CI/badge.svg -[gh-actions]: https://github.com/react-bootstrap/react-bootstrap/actions diff --git a/node_modules/react-bootstrap/ResponsiveEmbed/package.json b/node_modules/react-bootstrap/ResponsiveEmbed/package.json deleted file mode 100644 index 5ded868530008aadc86292744015f4ee167f9e99..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/ResponsiveEmbed/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/ResponsiveEmbed", - "private": true, - "main": "../cjs/ResponsiveEmbed.js", - "module": "../esm/ResponsiveEmbed.js", - "types": "../esm/ResponsiveEmbed.d.ts" -} diff --git a/node_modules/react-bootstrap/Row/package.json b/node_modules/react-bootstrap/Row/package.json deleted file mode 100644 index 358c4d930bdadd6e8322adcb3238c25e2ba61cd0..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/Row/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/Row", - "private": true, - "main": "../cjs/Row.js", - "module": "../esm/Row.js", - "types": "../esm/Row.d.ts" -} diff --git a/node_modules/react-bootstrap/SafeAnchor/package.json b/node_modules/react-bootstrap/SafeAnchor/package.json deleted file mode 100644 index 75766c19f1861415bcd689aece4e1197c04b9d42..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/SafeAnchor/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/SafeAnchor", - "private": true, - "main": "../cjs/SafeAnchor.js", - "module": "../esm/SafeAnchor.js", - "types": "../esm/SafeAnchor.d.ts" -} diff --git a/node_modules/react-bootstrap/SelectableContext/package.json b/node_modules/react-bootstrap/SelectableContext/package.json deleted file mode 100644 index dad70e3801917db11eb63bbf57ff585249b6dd65..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/SelectableContext/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/SelectableContext", - "private": true, - "main": "../cjs/SelectableContext.js", - "module": "../esm/SelectableContext.js", - "types": "../esm/SelectableContext.d.ts" -} diff --git a/node_modules/react-bootstrap/Spinner/package.json b/node_modules/react-bootstrap/Spinner/package.json deleted file mode 100644 index 8ea7e381d79bb348559fc01115da4b42175dde72..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/Spinner/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/Spinner", - "private": true, - "main": "../cjs/Spinner.js", - "module": "../esm/Spinner.js", - "types": "../esm/Spinner.d.ts" -} diff --git a/node_modules/react-bootstrap/SplitButton/package.json b/node_modules/react-bootstrap/SplitButton/package.json deleted file mode 100644 index b8b3ab4b496cc2e996bfe4ccc292f71080ddc5e3..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/SplitButton/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/SplitButton", - "private": true, - "main": "../cjs/SplitButton.js", - "module": "../esm/SplitButton.js", - "types": "../esm/SplitButton.d.ts" -} diff --git a/node_modules/react-bootstrap/Switch/package.json b/node_modules/react-bootstrap/Switch/package.json deleted file mode 100644 index e6009572800a03acccee5fed356d94ba4b8c89bc..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/Switch/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/Switch", - "private": true, - "main": "../cjs/Switch.js", - "module": "../esm/Switch.js", - "types": "../esm/Switch.d.ts" -} diff --git a/node_modules/react-bootstrap/Tab/package.json b/node_modules/react-bootstrap/Tab/package.json deleted file mode 100644 index e470926f5a2a23fdcc55e844cab53061792b17b8..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/Tab/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/Tab", - "private": true, - "main": "../cjs/Tab.js", - "module": "../esm/Tab.js", - "types": "../esm/Tab.d.ts" -} diff --git a/node_modules/react-bootstrap/TabContainer/package.json b/node_modules/react-bootstrap/TabContainer/package.json deleted file mode 100644 index 7eb06a173b56d1a93acbaed50f7001fcc99e3d16..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/TabContainer/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/TabContainer", - "private": true, - "main": "../cjs/TabContainer.js", - "module": "../esm/TabContainer.js", - "types": "../esm/TabContainer.d.ts" -} diff --git a/node_modules/react-bootstrap/TabContent/package.json b/node_modules/react-bootstrap/TabContent/package.json deleted file mode 100644 index f30e4b0251507bbe2e8a43832381bd0c9af42a4d..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/TabContent/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/TabContent", - "private": true, - "main": "../cjs/TabContent.js", - "module": "../esm/TabContent.js", - "types": "../esm/TabContent.d.ts" -} diff --git a/node_modules/react-bootstrap/TabContext/package.json b/node_modules/react-bootstrap/TabContext/package.json deleted file mode 100644 index 82d116e1165a80e39b1697881439b037d78b8729..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/TabContext/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/TabContext", - "private": true, - "main": "../cjs/TabContext.js", - "module": "../esm/TabContext.js", - "types": "../esm/TabContext.d.ts" -} diff --git a/node_modules/react-bootstrap/TabPane/package.json b/node_modules/react-bootstrap/TabPane/package.json deleted file mode 100644 index 02900af6efbb4cc855a09536115344de336e083c..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/TabPane/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/TabPane", - "private": true, - "main": "../cjs/TabPane.js", - "module": "../esm/TabPane.js", - "types": "../esm/TabPane.d.ts" -} diff --git a/node_modules/react-bootstrap/Table/package.json b/node_modules/react-bootstrap/Table/package.json deleted file mode 100644 index 29edc0c1992c4e5b98c2b5a8700250b19c8e1742..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/Table/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/Table", - "private": true, - "main": "../cjs/Table.js", - "module": "../esm/Table.js", - "types": "../esm/Table.d.ts" -} diff --git a/node_modules/react-bootstrap/Tabs/package.json b/node_modules/react-bootstrap/Tabs/package.json deleted file mode 100644 index d6df28e8de9ce9dbcff06e572d3d094be7fd700c..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/Tabs/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/Tabs", - "private": true, - "main": "../cjs/Tabs.js", - "module": "../esm/Tabs.js", - "types": "../esm/Tabs.d.ts" -} diff --git a/node_modules/react-bootstrap/ThemeProvider/package.json b/node_modules/react-bootstrap/ThemeProvider/package.json deleted file mode 100644 index a27521e6c220d397ac77532a808e1d097738b59b..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/ThemeProvider/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/ThemeProvider", - "private": true, - "main": "../cjs/ThemeProvider.js", - "module": "../esm/ThemeProvider.js", - "types": "../esm/ThemeProvider.d.ts" -} diff --git a/node_modules/react-bootstrap/Toast/package.json b/node_modules/react-bootstrap/Toast/package.json deleted file mode 100644 index ddc9ccdee0b86500f5d2bfbb4ff1406de7fe7334..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/Toast/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/Toast", - "private": true, - "main": "../cjs/Toast.js", - "module": "../esm/Toast.js", - "types": "../esm/Toast.d.ts" -} diff --git a/node_modules/react-bootstrap/ToastBody/package.json b/node_modules/react-bootstrap/ToastBody/package.json deleted file mode 100644 index f69f6122743265123e7cca54af8d756b9005b4dd..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/ToastBody/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/ToastBody", - "private": true, - "main": "../cjs/ToastBody.js", - "module": "../esm/ToastBody.js", - "types": "../esm/ToastBody.d.ts" -} diff --git a/node_modules/react-bootstrap/ToastContext/package.json b/node_modules/react-bootstrap/ToastContext/package.json deleted file mode 100644 index e8f3a2d3216d288fe571b23e676bb6cdd8566f0b..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/ToastContext/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/ToastContext", - "private": true, - "main": "../cjs/ToastContext.js", - "module": "../esm/ToastContext.js", - "types": "../esm/ToastContext.d.ts" -} diff --git a/node_modules/react-bootstrap/ToastHeader/package.json b/node_modules/react-bootstrap/ToastHeader/package.json deleted file mode 100644 index 2df53bbdbbe1aded6e3ca88f59a9ecf34ae80556..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/ToastHeader/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/ToastHeader", - "private": true, - "main": "../cjs/ToastHeader.js", - "module": "../esm/ToastHeader.js", - "types": "../esm/ToastHeader.d.ts" -} diff --git a/node_modules/react-bootstrap/ToggleButton/package.json b/node_modules/react-bootstrap/ToggleButton/package.json deleted file mode 100644 index a493efd892003b275a24ec7b1d06c2335239be82..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/ToggleButton/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/ToggleButton", - "private": true, - "main": "../cjs/ToggleButton.js", - "module": "../esm/ToggleButton.js", - "types": "../esm/ToggleButton.d.ts" -} diff --git a/node_modules/react-bootstrap/ToggleButtonGroup/package.json b/node_modules/react-bootstrap/ToggleButtonGroup/package.json deleted file mode 100644 index 9a15c1079dc2aac070f429881754f93d40708ab2..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/ToggleButtonGroup/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/ToggleButtonGroup", - "private": true, - "main": "../cjs/ToggleButtonGroup.js", - "module": "../esm/ToggleButtonGroup.js", - "types": "../esm/ToggleButtonGroup.d.ts" -} diff --git a/node_modules/react-bootstrap/Tooltip/package.json b/node_modules/react-bootstrap/Tooltip/package.json deleted file mode 100644 index 8c2463bfd71559fd63d7edfdfab9b54cf0a251e2..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/Tooltip/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "react-bootstrap/Tooltip", - "private": true, - "main": "../cjs/Tooltip.js", - "module": "../esm/Tooltip.js", - "types": "../esm/Tooltip.d.ts" -} diff --git a/node_modules/react-bootstrap/cjs/AbstractNav.d.ts b/node_modules/react-bootstrap/cjs/AbstractNav.d.ts deleted file mode 100644 index 9b7bb711829523be2f688cbb24f65e3b609fccc0..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/AbstractNav.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import React from 'react'; -import { BsPrefixRefForwardingComponent } from './helpers'; -interface AbstractNavProps { - activeKey?: any; - as?: React.ElementType; - getControlledId?: any; - getControllerId?: any; - onKeyDown?: any; - onSelect?: any; - parentOnSelect?: any; - role?: string; -} -declare type AbstractNav = BsPrefixRefForwardingComponent<'ul', AbstractNavProps>; -declare const AbstractNav: AbstractNav; -export default AbstractNav; diff --git a/node_modules/react-bootstrap/cjs/AbstractNav.js b/node_modules/react-bootstrap/cjs/AbstractNav.js deleted file mode 100644 index 249d9399ef13816cc87aca7ddd93e6be62f9fbce..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/AbstractNav.js +++ /dev/null @@ -1,130 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _querySelectorAll = _interopRequireDefault(require("dom-helpers/querySelectorAll")); - -var _react = _interopRequireWildcard(require("react")); - -var _useForceUpdate = _interopRequireDefault(require("@restart/hooks/useForceUpdate")); - -var _useMergedRefs = _interopRequireDefault(require("@restart/hooks/useMergedRefs")); - -var _NavContext = _interopRequireDefault(require("./NavContext")); - -var _SelectableContext = _interopRequireWildcard(require("./SelectableContext")); - -var _TabContext = _interopRequireDefault(require("./TabContext")); - -// eslint-disable-next-line @typescript-eslint/no-empty-function -var noop = function noop() {}; - -var AbstractNav = _react.default.forwardRef(function (_ref, ref) { - var _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'ul' : _ref$as, - onSelect = _ref.onSelect, - activeKey = _ref.activeKey, - role = _ref.role, - onKeyDown = _ref.onKeyDown, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["as", "onSelect", "activeKey", "role", "onKeyDown"]); - // A ref and forceUpdate for refocus, b/c we only want to trigger when needed - // and don't want to reset the set in the effect - var forceUpdate = (0, _useForceUpdate.default)(); - var needsRefocusRef = (0, _react.useRef)(false); - var parentOnSelect = (0, _react.useContext)(_SelectableContext.default); - var tabContext = (0, _react.useContext)(_TabContext.default); - var getControlledId, getControllerId; - - if (tabContext) { - role = role || 'tablist'; - activeKey = tabContext.activeKey; - getControlledId = tabContext.getControlledId; - getControllerId = tabContext.getControllerId; - } - - var listNode = (0, _react.useRef)(null); - - var getNextActiveChild = function getNextActiveChild(offset) { - var currentListNode = listNode.current; - if (!currentListNode) return null; - var items = (0, _querySelectorAll.default)(currentListNode, '[data-rb-event-key]:not(.disabled)'); - var activeChild = currentListNode.querySelector('.active'); - if (!activeChild) return null; - var index = items.indexOf(activeChild); - if (index === -1) return null; - var nextIndex = index + offset; - if (nextIndex >= items.length) nextIndex = 0; - if (nextIndex < 0) nextIndex = items.length - 1; - return items[nextIndex]; - }; - - var handleSelect = function handleSelect(key, event) { - if (key == null) return; - if (onSelect) onSelect(key, event); - if (parentOnSelect) parentOnSelect(key, event); - }; - - var handleKeyDown = function handleKeyDown(event) { - if (onKeyDown) onKeyDown(event); - var nextActiveChild; - - switch (event.key) { - case 'ArrowLeft': - case 'ArrowUp': - nextActiveChild = getNextActiveChild(-1); - break; - - case 'ArrowRight': - case 'ArrowDown': - nextActiveChild = getNextActiveChild(1); - break; - - default: - return; - } - - if (!nextActiveChild) return; - event.preventDefault(); - handleSelect(nextActiveChild.dataset.rbEventKey, event); - needsRefocusRef.current = true; - forceUpdate(); - }; - - (0, _react.useEffect)(function () { - if (listNode.current && needsRefocusRef.current) { - var activeChild = listNode.current.querySelector('[data-rb-event-key].active'); - if (activeChild) activeChild.focus(); - } - - needsRefocusRef.current = false; - }); - var mergedRef = (0, _useMergedRefs.default)(ref, listNode); - return /*#__PURE__*/_react.default.createElement(_SelectableContext.default.Provider, { - value: handleSelect - }, /*#__PURE__*/_react.default.createElement(_NavContext.default.Provider, { - value: { - role: role, - // used by NavLink to determine it's role - activeKey: (0, _SelectableContext.makeEventKey)(activeKey), - getControlledId: getControlledId || noop, - getControllerId: getControllerId || noop - } - }, /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, props, { - onKeyDown: handleKeyDown, - ref: mergedRef, - role: role - })))); -}); - -var _default = AbstractNav; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/AbstractNavItem.d.ts b/node_modules/react-bootstrap/cjs/AbstractNavItem.d.ts deleted file mode 100644 index cabbce1168dbff3cbce9864c9bc4c06614bb4df7..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/AbstractNavItem.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import React from 'react'; -import { BsPrefixRefForwardingComponent } from './helpers'; -interface AbstractNavItemProps { - active?: boolean; - as: React.ElementType; - className?: string; - disabled?: boolean; - eventKey?: any; - href?: string; - role?: string; - id?: string; - tabIndex?: number; - onClick?: (e: any) => void; - onSelect?: (navKey: string, e: any) => void; -} -declare type AbstractNavItem = BsPrefixRefForwardingComponent<'div', AbstractNavItemProps>; -declare const AbstractNavItem: AbstractNavItem; -export default AbstractNavItem; diff --git a/node_modules/react-bootstrap/cjs/AbstractNavItem.js b/node_modules/react-bootstrap/cjs/AbstractNavItem.js deleted file mode 100644 index f838baf7ce77bd90b51a8d22de4c145577631a77..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/AbstractNavItem.js +++ /dev/null @@ -1,76 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireWildcard(require("react")); - -var _useEventCallback = _interopRequireDefault(require("@restart/hooks/useEventCallback")); - -var _warning = _interopRequireDefault(require("warning")); - -var _NavContext = _interopRequireDefault(require("./NavContext")); - -var _SelectableContext = _interopRequireWildcard(require("./SelectableContext")); - -var defaultProps = { - disabled: false -}; - -var AbstractNavItem = _react.default.forwardRef(function (_ref, ref) { - var active = _ref.active, - className = _ref.className, - eventKey = _ref.eventKey, - onSelect = _ref.onSelect, - onClick = _ref.onClick, - Component = _ref.as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["active", "className", "eventKey", "onSelect", "onClick", "as"]); - var navKey = (0, _SelectableContext.makeEventKey)(eventKey, props.href); - var parentOnSelect = (0, _react.useContext)(_SelectableContext.default); - var navContext = (0, _react.useContext)(_NavContext.default); - var isActive = active; - - if (navContext) { - if (!props.role && navContext.role === 'tablist') props.role = 'tab'; - var contextControllerId = navContext.getControllerId(navKey); - var contextControlledId = navContext.getControlledId(navKey); - process.env.NODE_ENV !== "production" ? (0, _warning.default)(!contextControllerId || !props.id, "[react-bootstrap] The provided id '" + props.id + "' was overwritten by the current navContext with '" + contextControllerId + "'.") : void 0; - process.env.NODE_ENV !== "production" ? (0, _warning.default)(!contextControlledId || !props['aria-controls'], "[react-bootstrap] The provided aria-controls value '" + props['aria-controls'] + "' was overwritten by the current navContext with '" + contextControlledId + "'.") : void 0; - props['data-rb-event-key'] = navKey; - props.id = contextControllerId || props.id; - props['aria-controls'] = contextControlledId || props['aria-controls']; - isActive = active == null && navKey != null ? navContext.activeKey === navKey : active; - } - - if (props.role === 'tab') { - props.tabIndex = isActive ? props.tabIndex : -1; - props['aria-selected'] = isActive; - } - - var handleOnclick = (0, _useEventCallback.default)(function (e) { - if (onClick) onClick(e); - if (navKey == null) return; - if (onSelect) onSelect(navKey, e); - if (parentOnSelect) parentOnSelect(navKey, e); - }); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, props, { - ref: ref, - onClick: handleOnclick, - className: (0, _classnames.default)(className, isActive && 'active') - })); -}); - -AbstractNavItem.defaultProps = defaultProps; -var _default = AbstractNavItem; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Accordion.d.ts b/node_modules/react-bootstrap/cjs/Accordion.d.ts deleted file mode 100644 index 71139f1b469ba424dd2e96b1c94c25027737ef67..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Accordion.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import React from 'react'; -import AccordionToggle from './AccordionToggle'; -import AccordionCollapse from './AccordionCollapse'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent, SelectCallback } from './helpers'; -export interface AccordionProps extends Omit, 'onSelect'>, BsPrefixPropsWithChildren { - activeKey?: string; - defaultActiveKey?: string; - onSelect?: SelectCallback; -} -declare type Accordion = BsPrefixRefForwardingComponent<'div', AccordionProps> & { - Toggle: typeof AccordionToggle; - Collapse: typeof AccordionCollapse; -}; -declare const Accordion: Accordion; -export default Accordion; diff --git a/node_modules/react-bootstrap/cjs/Accordion.js b/node_modules/react-bootstrap/cjs/Accordion.js deleted file mode 100644 index 11e57cba25ef0c8c6a9523c97403e15faf196f08..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Accordion.js +++ /dev/null @@ -1,58 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _uncontrollable = require("uncontrollable"); - -var _ThemeProvider = require("./ThemeProvider"); - -var _AccordionToggle = _interopRequireDefault(require("./AccordionToggle")); - -var _SelectableContext = _interopRequireDefault(require("./SelectableContext")); - -var _AccordionCollapse = _interopRequireDefault(require("./AccordionCollapse")); - -var _AccordionContext = _interopRequireDefault(require("./AccordionContext")); - -var Accordion = _react.default.forwardRef(function (props, ref) { - var _useUncontrolled = (0, _uncontrollable.useUncontrolled)(props, { - activeKey: 'onSelect' - }), - _useUncontrolled$as = _useUncontrolled.as, - Component = _useUncontrolled$as === void 0 ? 'div' : _useUncontrolled$as, - activeKey = _useUncontrolled.activeKey, - bsPrefix = _useUncontrolled.bsPrefix, - children = _useUncontrolled.children, - className = _useUncontrolled.className, - onSelect = _useUncontrolled.onSelect, - controlledProps = (0, _objectWithoutPropertiesLoose2.default)(_useUncontrolled, ["as", "activeKey", "bsPrefix", "children", "className", "onSelect"]); - - var finalClassName = (0, _classnames.default)(className, (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'accordion')); - return /*#__PURE__*/_react.default.createElement(_AccordionContext.default.Provider, { - value: activeKey || null - }, /*#__PURE__*/_react.default.createElement(_SelectableContext.default.Provider, { - value: onSelect || null - }, /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: ref - }, controlledProps, { - className: finalClassName - }), children))); -}); - -Accordion.displayName = 'Accordion'; -Accordion.Toggle = _AccordionToggle.default; -Accordion.Collapse = _AccordionCollapse.default; -var _default = Accordion; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/AccordionCollapse.d.ts b/node_modules/react-bootstrap/cjs/AccordionCollapse.d.ts deleted file mode 100644 index 5da87a1471ca387a65da8aa13828819127bc905a..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/AccordionCollapse.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import React from 'react'; -import { CollapseProps } from './Collapse'; -import { BsPrefixRefForwardingComponent } from './helpers'; -export interface AccordionCollapseProps extends React.PropsWithChildren { - eventKey: string; -} -declare type AccordionCollapse = BsPrefixRefForwardingComponent<'div', AccordionCollapseProps>; -declare const AccordionCollapse: AccordionCollapse; -export default AccordionCollapse; diff --git a/node_modules/react-bootstrap/cjs/AccordionCollapse.js b/node_modules/react-bootstrap/cjs/AccordionCollapse.js deleted file mode 100644 index 266ac777fc52dd5426349942dcb6cfe4a7e80a13..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/AccordionCollapse.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _react = _interopRequireWildcard(require("react")); - -var _Collapse = _interopRequireDefault(require("./Collapse")); - -var _AccordionContext = _interopRequireDefault(require("./AccordionContext")); - -var _SelectableContext = _interopRequireDefault(require("./SelectableContext")); - -var AccordionCollapse = _react.default.forwardRef(function (_ref, ref) { - var children = _ref.children, - eventKey = _ref.eventKey, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["children", "eventKey"]); - var contextEventKey = (0, _react.useContext)(_AccordionContext.default); // Empty SelectableContext is to prevent elements in the collapse - // from collapsing the accordion when clicked. - - return /*#__PURE__*/_react.default.createElement(_SelectableContext.default.Provider, { - value: null - }, /*#__PURE__*/_react.default.createElement(_Collapse.default, (0, _extends2.default)({ - ref: ref, - in: contextEventKey === eventKey - }, props), /*#__PURE__*/_react.default.createElement("div", null, _react.default.Children.only(children)))); -}); - -AccordionCollapse.displayName = 'AccordionCollapse'; -var _default = AccordionCollapse; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/AccordionContext.d.ts b/node_modules/react-bootstrap/cjs/AccordionContext.d.ts deleted file mode 100644 index db9c28a15ee74e840fc36446651213df13126314..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/AccordionContext.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import React from 'react'; -declare const context: React.Context; -export default context; diff --git a/node_modules/react-bootstrap/cjs/AccordionContext.js b/node_modules/react-bootstrap/cjs/AccordionContext.js deleted file mode 100644 index 00dfe458938ab3b7d1739f8aa4da35f123216d15..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/AccordionContext.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _react = _interopRequireDefault(require("react")); - -var context = _react.default.createContext(null); - -context.displayName = 'AccordionContext'; -var _default = context; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/AccordionToggle.d.ts b/node_modules/react-bootstrap/cjs/AccordionToggle.d.ts deleted file mode 100644 index 7f2bbb4f15033294c1c64670bc2a0b6bebe1c0ba..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/AccordionToggle.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -declare type EventHandler = React.EventHandler; -export interface AccordionToggleProps extends BsPrefixPropsWithChildren { - eventKey: string; - onClick?: EventHandler; -} -declare type AccordionToggle = BsPrefixRefForwardingComponent<'div', AccordionToggleProps>; -export declare function useAccordionToggle(eventKey: string, onClick?: EventHandler): EventHandler; -declare const AccordionToggle: AccordionToggle; -export default AccordionToggle; diff --git a/node_modules/react-bootstrap/cjs/AccordionToggle.js b/node_modules/react-bootstrap/cjs/AccordionToggle.js deleted file mode 100644 index e7b7739c0b6e30e5cf59781a79d7d389b744a086..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/AccordionToggle.js +++ /dev/null @@ -1,55 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.useAccordionToggle = useAccordionToggle; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _react = _interopRequireWildcard(require("react")); - -var _SelectableContext = _interopRequireDefault(require("./SelectableContext")); - -var _AccordionContext = _interopRequireDefault(require("./AccordionContext")); - -function useAccordionToggle(eventKey, onClick) { - var contextEventKey = (0, _react.useContext)(_AccordionContext.default); - var onSelect = (0, _react.useContext)(_SelectableContext.default); - return function (e) { - /* - Compare the event key in context with the given event key. - If they are the same, then collapse the component. - */ - var eventKeyPassed = eventKey === contextEventKey ? null : eventKey; - if (onSelect) onSelect(eventKeyPassed, e); - if (onClick) onClick(e); - }; -} - -var AccordionToggle = _react.default.forwardRef(function (_ref, ref) { - var _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'button' : _ref$as, - children = _ref.children, - eventKey = _ref.eventKey, - onClick = _ref.onClick, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["as", "children", "eventKey", "onClick"]); - var accordionOnClick = useAccordionToggle(eventKey, onClick); - - if (Component === 'button') { - props.type = 'button'; - } - - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: ref, - onClick: accordionOnClick - }, props), children); -}); - -var _default = AccordionToggle; -exports.default = _default; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Alert.d.ts b/node_modules/react-bootstrap/cjs/Alert.d.ts deleted file mode 100644 index 7f0e8e325092ffc7e29ca9629eed7757c503aff3..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Alert.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import React from 'react'; -import { Variant } from './types'; -import SafeAnchor from './SafeAnchor'; -import { TransitionType } from './helpers'; -export interface AlertProps extends React.HTMLProps { - bsPrefix?: string; - variant?: Variant; - dismissible?: boolean; - show?: boolean; - onClose?: (a: any, b: any) => void; - closeLabel?: string; - transition?: TransitionType; -} -declare const AlertHeading: import("./helpers").BsPrefixRefForwardingComponent, HTMLDivElement>, "slot" | "style" | "title" | "className" | "key" | "onKeyDown" | "onSelect" | "role" | "color" | "id" | "lang" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is"> & React.RefAttributes>, unknown>; -declare const AlertLink: import("./helpers").BsPrefixRefForwardingComponent; -declare type Alert = React.ForwardRefExoticComponent & { - Link: typeof AlertLink; - Heading: typeof AlertHeading; -}; -declare const Alert: Alert; -export default Alert; diff --git a/node_modules/react-bootstrap/cjs/Alert.js b/node_modules/react-bootstrap/cjs/Alert.js deleted file mode 100644 index 76c957e698163fef5c2a3ba5f7cb587d55b8efb3..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Alert.js +++ /dev/null @@ -1,94 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _uncontrollable = require("uncontrollable"); - -var _useEventCallback = _interopRequireDefault(require("@restart/hooks/useEventCallback")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _Fade = _interopRequireDefault(require("./Fade")); - -var _CloseButton = _interopRequireDefault(require("./CloseButton")); - -var _divWithClassName = _interopRequireDefault(require("./divWithClassName")); - -var _createWithBsPrefix = _interopRequireDefault(require("./createWithBsPrefix")); - -var _SafeAnchor = _interopRequireDefault(require("./SafeAnchor")); - -var DivStyledAsH4 = (0, _divWithClassName.default)('h4'); -DivStyledAsH4.displayName = 'DivStyledAsH4'; -var AlertHeading = (0, _createWithBsPrefix.default)('alert-heading', { - Component: DivStyledAsH4 -}); -var AlertLink = (0, _createWithBsPrefix.default)('alert-link', { - Component: _SafeAnchor.default -}); -var defaultProps = { - show: true, - transition: _Fade.default, - closeLabel: 'Close alert' -}; - -var Alert = _react.default.forwardRef(function (uncontrolledProps, ref) { - var _useUncontrolled = (0, _uncontrollable.useUncontrolled)(uncontrolledProps, { - show: 'onClose' - }), - bsPrefix = _useUncontrolled.bsPrefix, - show = _useUncontrolled.show, - closeLabel = _useUncontrolled.closeLabel, - className = _useUncontrolled.className, - children = _useUncontrolled.children, - variant = _useUncontrolled.variant, - onClose = _useUncontrolled.onClose, - dismissible = _useUncontrolled.dismissible, - transition = _useUncontrolled.transition, - props = (0, _objectWithoutPropertiesLoose2.default)(_useUncontrolled, ["bsPrefix", "show", "closeLabel", "className", "children", "variant", "onClose", "dismissible", "transition"]); - - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'alert'); - var handleClose = (0, _useEventCallback.default)(function (e) { - if (onClose) { - onClose(false, e); - } - }); - var Transition = transition === true ? _Fade.default : transition; - - var alert = /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({ - role: "alert" - }, Transition ? props : undefined, { - ref: ref, - className: (0, _classnames.default)(className, prefix, variant && prefix + "-" + variant, dismissible && prefix + "-dismissible") - }), dismissible && /*#__PURE__*/_react.default.createElement(_CloseButton.default, { - onClick: handleClose, - label: closeLabel - }), children); - - if (!Transition) return show ? alert : null; - return /*#__PURE__*/_react.default.createElement(Transition, (0, _extends2.default)({ - unmountOnExit: true - }, props, { - ref: undefined, - in: show - }), alert); -}); - -Alert.displayName = 'Alert'; -Alert.defaultProps = defaultProps; -Alert.Link = AlertLink; -Alert.Heading = AlertHeading; -var _default = Alert; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Badge.d.ts b/node_modules/react-bootstrap/cjs/Badge.d.ts deleted file mode 100644 index cc3c508d4768c9468326a00205b646898780bd37..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Badge.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers'; -import { Variant } from './types'; -export interface BadgeProps extends BsPrefixProps { - variant?: Variant; - pill?: boolean; -} -declare type Badge = BsPrefixRefForwardingComponent<'span', BadgeProps>; -declare const Badge: Badge; -export default Badge; diff --git a/node_modules/react-bootstrap/cjs/Badge.js b/node_modules/react-bootstrap/cjs/Badge.js deleted file mode 100644 index 7872fa52774f01650e13d61ce4296c5f0ac5e35d..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Badge.js +++ /dev/null @@ -1,42 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var defaultProps = { - pill: false -}; - -var Badge = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - variant = _ref.variant, - pill = _ref.pill, - className = _ref.className, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'span' : _ref$as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "variant", "pill", "className", "as"]); - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'badge'); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: ref - }, props, { - className: (0, _classnames.default)(className, prefix, pill && prefix + "-pill", variant && prefix + "-" + variant) - })); -}); - -Badge.displayName = 'Badge'; -Badge.defaultProps = defaultProps; -var _default = Badge; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/BootstrapModalManager.d.ts b/node_modules/react-bootstrap/cjs/BootstrapModalManager.d.ts deleted file mode 100644 index 00dcc9c33bb339e399f2c660201cb165ec060d80..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/BootstrapModalManager.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import ModalManager from 'react-overlays/ModalManager'; -export default class BootstrapModalManager extends ModalManager { - private adjustAndStore; - private restore; - setContainerStyle(containerState: any, container: any): void; - removeContainerStyle(containerState: any, container: any): void; -} diff --git a/node_modules/react-bootstrap/cjs/BootstrapModalManager.js b/node_modules/react-bootstrap/cjs/BootstrapModalManager.js deleted file mode 100644 index d6c10a2b0b03303c02a05bdf0794b7e19cf2a7e5..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/BootstrapModalManager.js +++ /dev/null @@ -1,92 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose")); - -var _css3 = _interopRequireDefault(require("dom-helpers/css")); - -var _querySelectorAll = _interopRequireDefault(require("dom-helpers/querySelectorAll")); - -var _scrollbarSize = _interopRequireDefault(require("dom-helpers/scrollbarSize")); - -var _ModalManager2 = _interopRequireDefault(require("react-overlays/ModalManager")); - -var Selector = { - FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top', - STICKY_CONTENT: '.sticky-top', - NAVBAR_TOGGLER: '.navbar-toggler' -}; - -var BootstrapModalManager = /*#__PURE__*/function (_ModalManager) { - (0, _inheritsLoose2.default)(BootstrapModalManager, _ModalManager); - - function BootstrapModalManager() { - return _ModalManager.apply(this, arguments) || this; - } - - var _proto = BootstrapModalManager.prototype; - - _proto.adjustAndStore = function adjustAndStore(prop, element, adjust) { - var _css; - - var actual = element.style[prop]; // TODO: DOMStringMap and CSSStyleDeclaration aren't strictly compatible - // @ts-ignore - - element.dataset[prop] = actual; - (0, _css3.default)(element, (_css = {}, _css[prop] = parseFloat((0, _css3.default)(element, prop)) + adjust + "px", _css)); - }; - - _proto.restore = function restore(prop, element) { - var value = element.dataset[prop]; - - if (value !== undefined) { - var _css2; - - delete element.dataset[prop]; - (0, _css3.default)(element, (_css2 = {}, _css2[prop] = value, _css2)); - } - }; - - _proto.setContainerStyle = function setContainerStyle(containerState, container) { - var _this = this; - - _ModalManager.prototype.setContainerStyle.call(this, containerState, container); - - if (!containerState.overflowing) return; - var size = (0, _scrollbarSize.default)(); - (0, _querySelectorAll.default)(container, Selector.FIXED_CONTENT).forEach(function (el) { - return _this.adjustAndStore('paddingRight', el, size); - }); - (0, _querySelectorAll.default)(container, Selector.STICKY_CONTENT).forEach(function (el) { - return _this.adjustAndStore('marginRight', el, -size); - }); - (0, _querySelectorAll.default)(container, Selector.NAVBAR_TOGGLER).forEach(function (el) { - return _this.adjustAndStore('marginRight', el, size); - }); - }; - - _proto.removeContainerStyle = function removeContainerStyle(containerState, container) { - var _this2 = this; - - _ModalManager.prototype.removeContainerStyle.call(this, containerState, container); - - (0, _querySelectorAll.default)(container, Selector.FIXED_CONTENT).forEach(function (el) { - return _this2.restore('paddingRight', el); - }); - (0, _querySelectorAll.default)(container, Selector.STICKY_CONTENT).forEach(function (el) { - return _this2.restore('marginRight', el); - }); - (0, _querySelectorAll.default)(container, Selector.NAVBAR_TOGGLER).forEach(function (el) { - return _this2.restore('marginRight', el); - }); - }; - - return BootstrapModalManager; -}(_ModalManager2.default); - -exports.default = BootstrapModalManager; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Breadcrumb.d.ts b/node_modules/react-bootstrap/cjs/Breadcrumb.d.ts deleted file mode 100644 index 8c8b35ad02e4a248d7b1fcb815be2832070c8c6f..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Breadcrumb.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import React from 'react'; -import BreadcrumbItem from './BreadcrumbItem'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export interface BreadcrumbProps extends BsPrefixPropsWithChildren { - className?: string; - label?: string; - listProps?: React.OlHTMLAttributes; -} -declare type Breadcrumb = BsPrefixRefForwardingComponent<'nav', BreadcrumbProps> & { - Item: typeof BreadcrumbItem; -}; -declare const Breadcrumb: Breadcrumb; -export default Breadcrumb; diff --git a/node_modules/react-bootstrap/cjs/Breadcrumb.js b/node_modules/react-bootstrap/cjs/Breadcrumb.js deleted file mode 100644 index ddd7df295e847ccfc24f244782b46f3bd9805d78..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Breadcrumb.js +++ /dev/null @@ -1,49 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _BreadcrumbItem = _interopRequireDefault(require("./BreadcrumbItem")); - -var defaultProps = { - label: 'breadcrumb', - listProps: {} -}; - -var Breadcrumb = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - listProps = _ref.listProps, - children = _ref.children, - label = _ref.label, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'nav' : _ref$as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "listProps", "children", "label", "as"]); - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'breadcrumb'); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - "aria-label": label, - className: className, - ref: ref - }, props), /*#__PURE__*/_react.default.createElement("ol", (0, _extends2.default)({}, listProps, { - className: (0, _classnames.default)(prefix, listProps == null ? void 0 : listProps.className) - }), children)); -}); - -Breadcrumb.displayName = 'Breadcrumb'; -Breadcrumb.defaultProps = defaultProps; -Breadcrumb.Item = _BreadcrumbItem.default; -var _default = Breadcrumb; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/BreadcrumbItem.d.ts b/node_modules/react-bootstrap/cjs/BreadcrumbItem.d.ts deleted file mode 100644 index aacef1747ec276f23b81d427cbfd2a32175e52d6..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/BreadcrumbItem.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import React from 'react'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export interface BreadcrumbItemProps extends BsPrefixPropsWithChildren { - active?: boolean; - href?: string; - linkAs?: React.ElementType; - target?: string; - title?: React.ReactNode; - linkProps?: Record; -} -declare type BreadcrumbItem = BsPrefixRefForwardingComponent<'li', BreadcrumbItemProps>; -declare const BreadcrumbItem: BreadcrumbItem; -export default BreadcrumbItem; diff --git a/node_modules/react-bootstrap/cjs/BreadcrumbItem.js b/node_modules/react-bootstrap/cjs/BreadcrumbItem.js deleted file mode 100644 index 27d81e3119ea6248140941cc72b7023cca46f5ce..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/BreadcrumbItem.js +++ /dev/null @@ -1,58 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _SafeAnchor = _interopRequireDefault(require("./SafeAnchor")); - -var _ThemeProvider = require("./ThemeProvider"); - -var defaultProps = { - active: false, - linkProps: {} -}; - -var BreadcrumbItem = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - active = _ref.active, - children = _ref.children, - className = _ref.className, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'li' : _ref$as, - _ref$linkAs = _ref.linkAs, - LinkComponent = _ref$linkAs === void 0 ? _SafeAnchor.default : _ref$linkAs, - linkProps = _ref.linkProps, - href = _ref.href, - title = _ref.title, - target = _ref.target, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "active", "children", "className", "as", "linkAs", "linkProps", "href", "title", "target"]); - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'breadcrumb-item'); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: ref - }, props, { - className: (0, _classnames.default)(prefix, className, { - active: active - }), - "aria-current": active ? 'page' : undefined - }), active ? children : /*#__PURE__*/_react.default.createElement(LinkComponent, (0, _extends2.default)({}, linkProps, { - href: href, - title: title, - target: target - }), children)); -}); - -BreadcrumbItem.displayName = 'BreadcrumbItem'; -BreadcrumbItem.defaultProps = defaultProps; -var _default = BreadcrumbItem; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Button.d.ts b/node_modules/react-bootstrap/cjs/Button.d.ts deleted file mode 100644 index 49e65b998757a66237cd88f76122c4e01428e59d..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Button.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import React from 'react'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -import { ButtonVariant } from './types'; -export declare type ButtonType = 'button' | 'reset' | 'submit' | string; -export interface ButtonProps extends React.HTMLAttributes, BsPrefixPropsWithChildren { - active?: boolean; - block?: boolean; - variant?: ButtonVariant; - size?: 'sm' | 'lg'; - type?: ButtonType; - href?: string; - disabled?: boolean; - target?: any; -} -declare type Button = BsPrefixRefForwardingComponent<'button', ButtonProps>; -export declare type CommonButtonProps = 'href' | 'size' | 'variant' | 'disabled'; -declare const Button: Button; -export default Button; diff --git a/node_modules/react-bootstrap/cjs/Button.js b/node_modules/react-bootstrap/cjs/Button.js deleted file mode 100644 index c081db8be5ff24cb855024de96aa70d8e6064e59..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Button.js +++ /dev/null @@ -1,67 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _SafeAnchor = _interopRequireDefault(require("./SafeAnchor")); - -var defaultProps = { - variant: 'primary', - active: false, - disabled: false -}; - -var Button = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - variant = _ref.variant, - size = _ref.size, - active = _ref.active, - className = _ref.className, - block = _ref.block, - type = _ref.type, - as = _ref.as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "variant", "size", "active", "className", "block", "type", "as"]); - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'btn'); - var classes = (0, _classnames.default)(className, prefix, active && 'active', variant && prefix + "-" + variant, block && prefix + "-block", size && prefix + "-" + size); - - if (props.href) { - return /*#__PURE__*/_react.default.createElement(_SafeAnchor.default, (0, _extends2.default)({}, props, { - as: as, - ref: ref, - className: (0, _classnames.default)(classes, props.disabled && 'disabled') - })); - } - - if (ref) { - props.ref = ref; - } - - if (type) { - props.type = type; - } else if (!as) { - props.type = 'button'; - } - - var Component = as || 'button'; - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, props, { - className: classes - })); -}); - -Button.displayName = 'Button'; -Button.defaultProps = defaultProps; -var _default = Button; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/ButtonGroup.d.ts b/node_modules/react-bootstrap/cjs/ButtonGroup.d.ts deleted file mode 100644 index b091564c7dd5a0cee4095bf9f3926bc2734eb479..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ButtonGroup.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export interface ButtonGroupProps extends BsPrefixPropsWithChildren { - role?: string; - size?: 'sm' | 'lg'; - toggle?: boolean; - vertical?: boolean; -} -declare type ButtonGroup = BsPrefixRefForwardingComponent<'div', ButtonGroupProps>; -declare const ButtonGroup: ButtonGroup; -export default ButtonGroup; diff --git a/node_modules/react-bootstrap/cjs/ButtonGroup.js b/node_modules/react-bootstrap/cjs/ButtonGroup.js deleted file mode 100644 index c9a27de94e24b6b8dde9fbcb502867c4d95b006a..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ButtonGroup.js +++ /dev/null @@ -1,46 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var defaultProps = { - vertical: false, - toggle: false, - role: 'group' -}; - -var ButtonGroup = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - size = _ref.size, - toggle = _ref.toggle, - vertical = _ref.vertical, - className = _ref.className, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - rest = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "size", "toggle", "vertical", "className", "as"]); - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'btn-group'); - var baseClass = prefix; - if (vertical) baseClass = prefix + "-vertical"; - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, rest, { - ref: ref, - className: (0, _classnames.default)(className, baseClass, size && prefix + "-" + size, toggle && prefix + "-toggle") - })); -}); - -ButtonGroup.displayName = 'ButtonGroup'; -ButtonGroup.defaultProps = defaultProps; -var _default = ButtonGroup; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/ButtonToolbar.d.ts b/node_modules/react-bootstrap/cjs/ButtonToolbar.d.ts deleted file mode 100644 index 2dcd9e284ddd1da8b4fbf7689d5116398a9aa60c..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ButtonToolbar.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export interface ButtonToolbarProps extends BsPrefixPropsWithChildren { - role?: string; -} -declare type ButtonToolbar = BsPrefixRefForwardingComponent<'div', ButtonToolbarProps>; -declare const ButtonToolbar: ButtonToolbar; -export default ButtonToolbar; diff --git a/node_modules/react-bootstrap/cjs/ButtonToolbar.js b/node_modules/react-bootstrap/cjs/ButtonToolbar.js deleted file mode 100644 index b6009ded94b8e9e90f83bc7086474d1438a05f11..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ButtonToolbar.js +++ /dev/null @@ -1,37 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var defaultProps = { - role: 'toolbar' -}; - -var ButtonToolbar = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className"]); - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'btn-toolbar'); - return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({}, props, { - ref: ref, - className: (0, _classnames.default)(className, prefix) - })); -}); - -ButtonToolbar.displayName = 'ButtonToolbar'; -ButtonToolbar.defaultProps = defaultProps; -var _default = ButtonToolbar; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Card.d.ts b/node_modules/react-bootstrap/cjs/Card.d.ts deleted file mode 100644 index 9b4b97ec643832d7f1e9fe4d2a8e67e1cee185f7..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Card.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import React from 'react'; -import CardImg from './CardImg'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -import { Color, Variant } from './types'; -declare const CardBody: BsPrefixRefForwardingComponent<"div", unknown>; -declare const CardTitle: BsPrefixRefForwardingComponent, HTMLDivElement>, "slot" | "style" | "title" | "className" | "key" | "onKeyDown" | "onSelect" | "role" | "color" | "id" | "lang" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is"> & React.RefAttributes>, unknown>; -declare const CardSubtitle: BsPrefixRefForwardingComponent, HTMLDivElement>, "slot" | "style" | "title" | "className" | "key" | "onKeyDown" | "onSelect" | "role" | "color" | "id" | "lang" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is"> & React.RefAttributes>, unknown>; -declare const CardLink: BsPrefixRefForwardingComponent<"a", unknown>; -declare const CardText: BsPrefixRefForwardingComponent<"p", unknown>; -declare const CardHeader: BsPrefixRefForwardingComponent<"div", unknown>; -declare const CardFooter: BsPrefixRefForwardingComponent<"div", unknown>; -declare const CardImgOverlay: BsPrefixRefForwardingComponent<"div", unknown>; -export interface CardProps extends BsPrefixPropsWithChildren { - bg?: Variant; - text?: Color; - border?: Variant; - body?: boolean; -} -declare type Card = BsPrefixRefForwardingComponent<'div', CardProps> & { - Img: typeof CardImg; - Title: typeof CardTitle; - Subtitle: typeof CardSubtitle; - Body: typeof CardBody; - Link: typeof CardLink; - Text: typeof CardText; - Header: typeof CardHeader; - Footer: typeof CardFooter; - ImgOverlay: typeof CardImgOverlay; -}; -declare const Card: Card; -export default Card; diff --git a/node_modules/react-bootstrap/cjs/Card.js b/node_modules/react-bootstrap/cjs/Card.js deleted file mode 100644 index 928565ce8e744ed0b96761a904df3b0c74fec04f..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Card.js +++ /dev/null @@ -1,92 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireWildcard(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _createWithBsPrefix = _interopRequireDefault(require("./createWithBsPrefix")); - -var _divWithClassName = _interopRequireDefault(require("./divWithClassName")); - -var _CardContext = _interopRequireDefault(require("./CardContext")); - -var _CardImg = _interopRequireDefault(require("./CardImg")); - -var DivStyledAsH5 = (0, _divWithClassName.default)('h5'); -var DivStyledAsH6 = (0, _divWithClassName.default)('h6'); -var CardBody = (0, _createWithBsPrefix.default)('card-body'); -var CardTitle = (0, _createWithBsPrefix.default)('card-title', { - Component: DivStyledAsH5 -}); -var CardSubtitle = (0, _createWithBsPrefix.default)('card-subtitle', { - Component: DivStyledAsH6 -}); -var CardLink = (0, _createWithBsPrefix.default)('card-link', { - Component: 'a' -}); -var CardText = (0, _createWithBsPrefix.default)('card-text', { - Component: 'p' -}); -var CardHeader = (0, _createWithBsPrefix.default)('card-header'); -var CardFooter = (0, _createWithBsPrefix.default)('card-footer'); -var CardImgOverlay = (0, _createWithBsPrefix.default)('card-img-overlay'); -var defaultProps = { - body: false -}; - -var Card = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - bg = _ref.bg, - text = _ref.text, - border = _ref.border, - body = _ref.body, - children = _ref.children, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "bg", "text", "border", "body", "children", "as"]); - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'card'); - var cardContext = (0, _react.useMemo)(function () { - return { - cardHeaderBsPrefix: prefix + "-header" - }; - }, [prefix]); - return /*#__PURE__*/_react.default.createElement(_CardContext.default.Provider, { - value: cardContext - }, /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: ref - }, props, { - className: (0, _classnames.default)(className, prefix, bg && "bg-" + bg, text && "text-" + text, border && "border-" + border) - }), body ? - /*#__PURE__*/ - // @ts-ignore - _react.default.createElement(CardBody, null, children) : children)); -}); - -Card.displayName = 'Card'; -Card.defaultProps = defaultProps; -Card.Img = _CardImg.default; -Card.Title = CardTitle; -Card.Subtitle = CardSubtitle; -Card.Body = CardBody; -Card.Link = CardLink; -Card.Text = CardText; -Card.Header = CardHeader; -Card.Footer = CardFooter; -Card.ImgOverlay = CardImgOverlay; -var _default = Card; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/CardColumns.d.ts b/node_modules/react-bootstrap/cjs/CardColumns.d.ts deleted file mode 100644 index 3b128ce8f1efd015f2e0520ff4eced950ddcae7e..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/CardColumns.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("./helpers").BsPrefixRefForwardingComponent<"div", unknown>; -export default _default; diff --git a/node_modules/react-bootstrap/cjs/CardColumns.js b/node_modules/react-bootstrap/cjs/CardColumns.js deleted file mode 100644 index a82c90837ba1e285ac7b2ad5822939b6fa82f9d2..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/CardColumns.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _createWithBsPrefix = _interopRequireDefault(require("./createWithBsPrefix")); - -var _default = (0, _createWithBsPrefix.default)('card-columns'); - -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/CardContext.d.ts b/node_modules/react-bootstrap/cjs/CardContext.d.ts deleted file mode 100644 index 0dc0c85f1e1814b0848a20694e0622b9f9683e32..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/CardContext.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import React from 'react'; -interface CardContextType { - cardHeaderBsPrefix: string; -} -declare const context: React.Context; -export default context; diff --git a/node_modules/react-bootstrap/cjs/CardContext.js b/node_modules/react-bootstrap/cjs/CardContext.js deleted file mode 100644 index 6b5dacdd3080e156e1ad168ceef5e4e1e52b3192..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/CardContext.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _react = _interopRequireDefault(require("react")); - -var context = _react.default.createContext(null); - -context.displayName = 'CardContext'; -var _default = context; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/CardDeck.d.ts b/node_modules/react-bootstrap/cjs/CardDeck.d.ts deleted file mode 100644 index 3b128ce8f1efd015f2e0520ff4eced950ddcae7e..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/CardDeck.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("./helpers").BsPrefixRefForwardingComponent<"div", unknown>; -export default _default; diff --git a/node_modules/react-bootstrap/cjs/CardDeck.js b/node_modules/react-bootstrap/cjs/CardDeck.js deleted file mode 100644 index 228a70102dee7a01a033398594cb99bf36d822c7..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/CardDeck.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _createWithBsPrefix = _interopRequireDefault(require("./createWithBsPrefix")); - -var _default = (0, _createWithBsPrefix.default)('card-deck'); - -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/CardGroup.d.ts b/node_modules/react-bootstrap/cjs/CardGroup.d.ts deleted file mode 100644 index 3b128ce8f1efd015f2e0520ff4eced950ddcae7e..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/CardGroup.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("./helpers").BsPrefixRefForwardingComponent<"div", unknown>; -export default _default; diff --git a/node_modules/react-bootstrap/cjs/CardGroup.js b/node_modules/react-bootstrap/cjs/CardGroup.js deleted file mode 100644 index 0f19d05e60557351c5bfe84c0c112149912d9434..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/CardGroup.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _createWithBsPrefix = _interopRequireDefault(require("./createWithBsPrefix")); - -var _default = (0, _createWithBsPrefix.default)('card-group'); - -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/CardImg.d.ts b/node_modules/react-bootstrap/cjs/CardImg.d.ts deleted file mode 100644 index 510b4c87dc68935bff294ed3df4562353bfa81b9..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/CardImg.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers'; -export interface CardImgProps extends BsPrefixProps { - variant?: 'top' | 'bottom' | null; -} -declare type CardImg = BsPrefixRefForwardingComponent<'img', CardImgProps>; -declare const CardImg: CardImg; -export default CardImg; diff --git a/node_modules/react-bootstrap/cjs/CardImg.js b/node_modules/react-bootstrap/cjs/CardImg.js deleted file mode 100644 index 3691bb07020062136b4bc8fc7ba790c4cff14890..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/CardImg.js +++ /dev/null @@ -1,41 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var defaultProps = { - variant: null -}; - -var CardImg = _react.default.forwardRef( // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595 -function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - variant = _ref.variant, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'img' : _ref$as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "variant", "as"]); - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'card-img'); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: ref, - className: (0, _classnames.default)(variant ? prefix + "-" + variant : prefix, className) - }, props)); -}); - -CardImg.displayName = 'CardImg'; -CardImg.defaultProps = defaultProps; -var _default = CardImg; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Carousel.d.ts b/node_modules/react-bootstrap/cjs/Carousel.d.ts deleted file mode 100644 index c3c02ff3c18c1516b585e4626171d09ff5b7fee1..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Carousel.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import React from 'react'; -import CarouselCaption from './CarouselCaption'; -import CarouselItem from './CarouselItem'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export interface CarouselProps extends BsPrefixPropsWithChildren, Pick, 'onKeyDown' | 'onMouseOver' | 'onMouseOut' | 'onTouchStart' | 'onTouchMove' | 'onTouchEnd'> { - slide?: boolean; - fade?: boolean; - controls?: boolean; - indicators?: boolean; - activeIndex?: number; - onSelect?: (eventKey: number, event: Record | null) => void; - defaultActiveIndex?: number; - onSlide?: (eventKey: number, direction: 'left' | 'right') => void; - onSlid?: (eventKey: number, direction: 'left' | 'right') => void; - interval?: number | null; - keyboard?: boolean; - pause?: 'hover' | false; - wrap?: boolean; - touch?: boolean; - prevIcon?: React.ReactNode; - prevLabel?: React.ReactNode; - nextIcon?: React.ReactNode; - nextLabel?: React.ReactNode; -} -declare type Carousel = BsPrefixRefForwardingComponent<'div', CarouselProps> & { - Caption: typeof CarouselCaption; - Item: typeof CarouselItem; -}; -declare const Carousel: Carousel; -export default Carousel; diff --git a/node_modules/react-bootstrap/cjs/Carousel.js b/node_modules/react-bootstrap/cjs/Carousel.js deleted file mode 100644 index 74c82dbcaf25797cd67dad83e5ccced99b4b6d64..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Carousel.js +++ /dev/null @@ -1,528 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _useEventCallback = _interopRequireDefault(require("@restart/hooks/useEventCallback")); - -var _useUpdateEffect = _interopRequireDefault(require("@restart/hooks/useUpdateEffect")); - -var _useCommittedRef = _interopRequireDefault(require("@restart/hooks/useCommittedRef")); - -var _useTimeout = _interopRequireDefault(require("@restart/hooks/useTimeout")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _transitionEnd = _interopRequireDefault(require("dom-helpers/transitionEnd")); - -var _Transition = _interopRequireDefault(require("react-transition-group/Transition")); - -var _propTypes = _interopRequireDefault(require("prop-types")); - -var _react = _interopRequireWildcard(require("react")); - -var _uncontrollable = require("uncontrollable"); - -var _CarouselCaption = _interopRequireDefault(require("./CarouselCaption")); - -var _CarouselItem = _interopRequireDefault(require("./CarouselItem")); - -var _ElementChildren = require("./ElementChildren"); - -var _SafeAnchor = _interopRequireDefault(require("./SafeAnchor")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _triggerBrowserReflow = _interopRequireDefault(require("./triggerBrowserReflow")); - -var SWIPE_THRESHOLD = 40; -var propTypes = { - /** - * @default 'carousel' - */ - bsPrefix: _propTypes.default.string, - as: _propTypes.default.elementType, - - /** - * Enables animation on the Carousel as it transitions between slides. - */ - slide: _propTypes.default.bool, - - /** Cross fade slides instead of the default slide animation */ - fade: _propTypes.default.bool, - - /** - * Show the Carousel previous and next arrows for changing the current slide - */ - controls: _propTypes.default.bool, - - /** - * Show a set of slide position indicators - */ - indicators: _propTypes.default.bool, - - /** - * Controls the current visible slide - * - * @controllable onSelect - */ - activeIndex: _propTypes.default.number, - - /** - * Callback fired when the active item changes. - * - * ```js - * (eventKey: number, event: Object | null) => void - * ``` - * - * @controllable activeIndex - */ - onSelect: _propTypes.default.func, - - /** - * Callback fired when a slide transition starts. - * - * ```js - * (eventKey: number, direction: 'left' | 'right') => void - */ - onSlide: _propTypes.default.func, - - /** - * Callback fired when a slide transition ends. - * - * ```js - * (eventKey: number, direction: 'left' | 'right') => void - */ - onSlid: _propTypes.default.func, - - /** - * The amount of time to delay between automatically cycling an item. If `null`, carousel will not automatically cycle. - */ - interval: _propTypes.default.number, - - /** Whether the carousel should react to keyboard events. */ - keyboard: _propTypes.default.bool, - - /** - * If set to `"hover"`, pauses the cycling of the carousel on `mouseenter` and resumes the cycling of the carousel on `mouseleave`. If set to `false`, hovering over the carousel won't pause it. - * - * On touch-enabled devices, when set to `"hover"`, cycling will pause on `touchend` (once the user finished interacting with the carousel) for two intervals, before automatically resuming. Note that this is in addition to the above mouse behavior. - */ - pause: _propTypes.default.oneOf(['hover', false]), - - /** Whether the carousel should cycle continuously or have hard stops. */ - wrap: _propTypes.default.bool, - - /** - * Whether the carousel should support left/right swipe interactions on touchscreen devices. - */ - touch: _propTypes.default.bool, - - /** Override the default button icon for the "previous" control */ - prevIcon: _propTypes.default.node, - - /** - * Label shown to screen readers only, can be used to show the previous element - * in the carousel. - * Set to null to deactivate. - */ - prevLabel: _propTypes.default.string, - - /** Override the default button icon for the "next" control */ - nextIcon: _propTypes.default.node, - - /** - * Label shown to screen readers only, can be used to show the next element - * in the carousel. - * Set to null to deactivate. - */ - nextLabel: _propTypes.default.string -}; -var defaultProps = { - slide: true, - fade: false, - controls: true, - indicators: true, - defaultActiveIndex: 0, - interval: 5000, - keyboard: true, - pause: 'hover', - wrap: true, - touch: true, - prevIcon: /*#__PURE__*/_react.default.createElement("span", { - "aria-hidden": "true", - className: "carousel-control-prev-icon" - }), - prevLabel: 'Previous', - nextIcon: /*#__PURE__*/_react.default.createElement("span", { - "aria-hidden": "true", - className: "carousel-control-next-icon" - }), - nextLabel: 'Next' -}; - -function isVisible(element) { - if (!element || !element.style || !element.parentNode || !element.parentNode.style) { - return false; - } - - var elementStyle = getComputedStyle(element); - return elementStyle.display !== 'none' && elementStyle.visibility !== 'hidden' && getComputedStyle(element.parentNode).display !== 'none'; -} - -function CarouselFunc(uncontrolledProps, ref) { - var _useUncontrolled = (0, _uncontrollable.useUncontrolled)(uncontrolledProps, { - activeIndex: 'onSelect' - }), - _useUncontrolled$as = _useUncontrolled.as, - Component = _useUncontrolled$as === void 0 ? 'div' : _useUncontrolled$as, - bsPrefix = _useUncontrolled.bsPrefix, - slide = _useUncontrolled.slide, - fade = _useUncontrolled.fade, - controls = _useUncontrolled.controls, - indicators = _useUncontrolled.indicators, - activeIndex = _useUncontrolled.activeIndex, - onSelect = _useUncontrolled.onSelect, - onSlide = _useUncontrolled.onSlide, - onSlid = _useUncontrolled.onSlid, - interval = _useUncontrolled.interval, - keyboard = _useUncontrolled.keyboard, - onKeyDown = _useUncontrolled.onKeyDown, - pause = _useUncontrolled.pause, - onMouseOver = _useUncontrolled.onMouseOver, - onMouseOut = _useUncontrolled.onMouseOut, - wrap = _useUncontrolled.wrap, - touch = _useUncontrolled.touch, - onTouchStart = _useUncontrolled.onTouchStart, - onTouchMove = _useUncontrolled.onTouchMove, - onTouchEnd = _useUncontrolled.onTouchEnd, - prevIcon = _useUncontrolled.prevIcon, - prevLabel = _useUncontrolled.prevLabel, - nextIcon = _useUncontrolled.nextIcon, - nextLabel = _useUncontrolled.nextLabel, - className = _useUncontrolled.className, - children = _useUncontrolled.children, - props = (0, _objectWithoutPropertiesLoose2.default)(_useUncontrolled, ["as", "bsPrefix", "slide", "fade", "controls", "indicators", "activeIndex", "onSelect", "onSlide", "onSlid", "interval", "keyboard", "onKeyDown", "pause", "onMouseOver", "onMouseOut", "wrap", "touch", "onTouchStart", "onTouchMove", "onTouchEnd", "prevIcon", "prevLabel", "nextIcon", "nextLabel", "className", "children"]); - - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'carousel'); - var nextDirectionRef = (0, _react.useRef)(null); - - var _useState = (0, _react.useState)('next'), - direction = _useState[0], - setDirection = _useState[1]; - - var _useState2 = (0, _react.useState)(false), - isSliding = _useState2[0], - setIsSliding = _useState2[1]; - - var _useState3 = (0, _react.useState)(activeIndex || 0), - renderedActiveIndex = _useState3[0], - setRenderedActiveIndex = _useState3[1]; - - if (!isSliding && activeIndex !== renderedActiveIndex) { - if (nextDirectionRef.current) { - setDirection(nextDirectionRef.current); - } else { - setDirection((activeIndex || 0) > renderedActiveIndex ? 'next' : 'prev'); - } - - if (slide) { - setIsSliding(true); - } - - setRenderedActiveIndex(activeIndex || 0); - } - - (0, _react.useEffect)(function () { - if (nextDirectionRef.current) { - nextDirectionRef.current = null; - } - }); - var numChildren = 0; - var activeChildInterval; // Iterate to grab all of the children's interval values - // (and count them, too) - - (0, _ElementChildren.forEach)(children, function (child, index) { - ++numChildren; - - if (index === activeIndex) { - activeChildInterval = child.props.interval; - } - }); - var activeChildIntervalRef = (0, _useCommittedRef.default)(activeChildInterval); - var prev = (0, _react.useCallback)(function (event) { - if (isSliding) { - return; - } - - var nextActiveIndex = renderedActiveIndex - 1; - - if (nextActiveIndex < 0) { - if (!wrap) { - return; - } - - nextActiveIndex = numChildren - 1; - } - - nextDirectionRef.current = 'prev'; - - if (onSelect) { - onSelect(nextActiveIndex, event); - } - }, [isSliding, renderedActiveIndex, onSelect, wrap, numChildren]); // This is used in the setInterval, so it should not invalidate. - - var next = (0, _useEventCallback.default)(function (event) { - if (isSliding) { - return; - } - - var nextActiveIndex = renderedActiveIndex + 1; - - if (nextActiveIndex >= numChildren) { - if (!wrap) { - return; - } - - nextActiveIndex = 0; - } - - nextDirectionRef.current = 'next'; - - if (onSelect) { - onSelect(nextActiveIndex, event); - } - }); - var elementRef = (0, _react.useRef)(); - (0, _react.useImperativeHandle)(ref, function () { - return { - element: elementRef.current, - prev: prev, - next: next - }; - }); // This is used in the setInterval, so it should not invalidate. - - var nextWhenVisible = (0, _useEventCallback.default)(function () { - if (!document.hidden && isVisible(elementRef.current)) { - next(); - } - }); - var slideDirection = direction === 'next' ? 'left' : 'right'; - (0, _useUpdateEffect.default)(function () { - if (slide) { - // These callbacks will be handled by the callbacks. - return; - } - - if (onSlide) { - onSlide(renderedActiveIndex, slideDirection); - } - - if (onSlid) { - onSlid(renderedActiveIndex, slideDirection); - } - }, [renderedActiveIndex]); - var orderClassName = prefix + "-item-" + direction; - var directionalClassName = prefix + "-item-" + slideDirection; - var handleEnter = (0, _react.useCallback)(function (node) { - (0, _triggerBrowserReflow.default)(node); - - if (onSlide) { - onSlide(renderedActiveIndex, slideDirection); - } - }, [onSlide, renderedActiveIndex, slideDirection]); - var handleEntered = (0, _react.useCallback)(function () { - setIsSliding(false); - - if (onSlid) { - onSlid(renderedActiveIndex, slideDirection); - } - }, [onSlid, renderedActiveIndex, slideDirection]); - var handleKeyDown = (0, _react.useCallback)(function (event) { - if (keyboard && !/input|textarea/i.test(event.target.tagName)) { - switch (event.key) { - case 'ArrowLeft': - event.preventDefault(); - prev(event); - return; - - case 'ArrowRight': - event.preventDefault(); - next(event); - return; - - default: - } - } - - if (onKeyDown) { - onKeyDown(event); - } - }, [keyboard, onKeyDown, prev, next]); - - var _useState4 = (0, _react.useState)(false), - pausedOnHover = _useState4[0], - setPausedOnHover = _useState4[1]; - - var handleMouseOver = (0, _react.useCallback)(function (event) { - if (pause === 'hover') { - setPausedOnHover(true); - } - - if (onMouseOver) { - onMouseOver(event); - } - }, [pause, onMouseOver]); - var handleMouseOut = (0, _react.useCallback)(function (event) { - setPausedOnHover(false); - - if (onMouseOut) { - onMouseOut(event); - } - }, [onMouseOut]); - var touchStartXRef = (0, _react.useRef)(0); - var touchDeltaXRef = (0, _react.useRef)(0); - - var _useState5 = (0, _react.useState)(false), - pausedOnTouch = _useState5[0], - setPausedOnTouch = _useState5[1]; - - var touchUnpauseTimeout = (0, _useTimeout.default)(); - var handleTouchStart = (0, _react.useCallback)(function (event) { - touchStartXRef.current = event.touches[0].clientX; - touchDeltaXRef.current = 0; - - if (touch) { - setPausedOnTouch(true); - } - - if (onTouchStart) { - onTouchStart(event); - } - }, [touch, onTouchStart]); - var handleTouchMove = (0, _react.useCallback)(function (event) { - if (event.touches && event.touches.length > 1) { - touchDeltaXRef.current = 0; - } else { - touchDeltaXRef.current = event.touches[0].clientX - touchStartXRef.current; - } - - if (onTouchMove) { - onTouchMove(event); - } - }, [onTouchMove]); - var handleTouchEnd = (0, _react.useCallback)(function (event) { - if (touch) { - var touchDeltaX = touchDeltaXRef.current; - - if (Math.abs(touchDeltaX) <= SWIPE_THRESHOLD) { - return; - } - - if (touchDeltaX > 0) { - prev(event); - } else { - next(event); - } - } - - touchUnpauseTimeout.set(function () { - setPausedOnTouch(false); - }, interval || undefined); - - if (onTouchEnd) { - onTouchEnd(event); - } - }, [touch, prev, next, touchUnpauseTimeout, interval, onTouchEnd]); - var shouldPlay = interval != null && !pausedOnHover && !pausedOnTouch && !isSliding; - var intervalHandleRef = (0, _react.useRef)(); - (0, _react.useEffect)(function () { - var _ref, _activeChildIntervalR; - - if (!shouldPlay) { - return undefined; - } - - intervalHandleRef.current = window.setInterval(document.visibilityState ? nextWhenVisible : next, (_ref = (_activeChildIntervalR = activeChildIntervalRef.current) != null ? _activeChildIntervalR : interval) != null ? _ref : undefined); - return function () { - if (intervalHandleRef.current !== null) { - clearInterval(intervalHandleRef.current); - } - }; - }, [shouldPlay, next, activeChildIntervalRef, interval, nextWhenVisible]); - var indicatorOnClicks = (0, _react.useMemo)(function () { - return indicators && Array.from({ - length: numChildren - }, function (_, index) { - return function (event) { - if (onSelect) { - onSelect(index, event); - } - }; - }); - }, [indicators, numChildren, onSelect]); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: elementRef - }, props, { - onKeyDown: handleKeyDown, - onMouseOver: handleMouseOver, - onMouseOut: handleMouseOut, - onTouchStart: handleTouchStart, - onTouchMove: handleTouchMove, - onTouchEnd: handleTouchEnd, - className: (0, _classnames.default)(className, prefix, slide && 'slide', fade && prefix + "-fade") - }), indicators && /*#__PURE__*/_react.default.createElement("ol", { - className: prefix + "-indicators" - }, (0, _ElementChildren.map)(children, function (_child, index) { - return /*#__PURE__*/_react.default.createElement("li", { - key: index, - className: index === renderedActiveIndex ? 'active' : undefined, - onClick: indicatorOnClicks ? indicatorOnClicks[index] : undefined - }); - })), /*#__PURE__*/_react.default.createElement("div", { - className: prefix + "-inner" - }, (0, _ElementChildren.map)(children, function (child, index) { - var isActive = index === renderedActiveIndex; - return slide ? /*#__PURE__*/_react.default.createElement(_Transition.default, { - in: isActive, - onEnter: isActive ? handleEnter : undefined, - onEntered: isActive ? handleEntered : undefined, - addEndListener: _transitionEnd.default - }, function (status) { - return _react.default.cloneElement(child, { - className: (0, _classnames.default)(child.props.className, isActive && status !== 'entered' && orderClassName, (status === 'entered' || status === 'exiting') && 'active', (status === 'entering' || status === 'exiting') && directionalClassName) - }); - }) : _react.default.cloneElement(child, { - className: (0, _classnames.default)(child.props.className, isActive && 'active') - }); - })), controls && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (wrap || activeIndex !== 0) && /*#__PURE__*/_react.default.createElement(_SafeAnchor.default, { - className: prefix + "-control-prev", - onClick: prev - }, prevIcon, prevLabel && /*#__PURE__*/_react.default.createElement("span", { - className: "sr-only" - }, prevLabel)), (wrap || activeIndex !== numChildren - 1) && /*#__PURE__*/_react.default.createElement(_SafeAnchor.default, { - className: prefix + "-control-next", - onClick: next - }, nextIcon, nextLabel && /*#__PURE__*/_react.default.createElement("span", { - className: "sr-only" - }, nextLabel)))); -} - -var Carousel = _react.default.forwardRef(CarouselFunc); - -Carousel.displayName = 'Carousel'; -Carousel.propTypes = propTypes; -Carousel.defaultProps = defaultProps; -Carousel.Caption = _CarouselCaption.default; -Carousel.Item = _CarouselItem.default; -var _default = Carousel; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/CarouselCaption.d.ts b/node_modules/react-bootstrap/cjs/CarouselCaption.d.ts deleted file mode 100644 index 3b128ce8f1efd015f2e0520ff4eced950ddcae7e..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/CarouselCaption.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("./helpers").BsPrefixRefForwardingComponent<"div", unknown>; -export default _default; diff --git a/node_modules/react-bootstrap/cjs/CarouselCaption.js b/node_modules/react-bootstrap/cjs/CarouselCaption.js deleted file mode 100644 index d5383ee3fe4fe80eb95fc1597f938566cda9ec68..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/CarouselCaption.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _createWithBsPrefix = _interopRequireDefault(require("./createWithBsPrefix")); - -var _default = (0, _createWithBsPrefix.default)('carousel-caption'); - -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/CarouselItem.d.ts b/node_modules/react-bootstrap/cjs/CarouselItem.d.ts deleted file mode 100644 index 7f8ecc0152796fb9c8280e057873d52007c3b0f0..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/CarouselItem.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export interface CarouselItemProps extends BsPrefixPropsWithChildren { - interval?: number; -} -declare type CarouselItem = BsPrefixRefForwardingComponent<'div', CarouselItemProps>; -declare const CarouselItem: CarouselItem; -export default CarouselItem; diff --git a/node_modules/react-bootstrap/cjs/CarouselItem.js b/node_modules/react-bootstrap/cjs/CarouselItem.js deleted file mode 100644 index 5ca23f00745062beb80c7edb4a376a60607e527c..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/CarouselItem.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var CarouselItem = _react.default.forwardRef(function (_ref, ref) { - var _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - bsPrefix = _ref.bsPrefix, - children = _ref.children, - className = _ref.className, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["as", "bsPrefix", "children", "className"]); - var finalClassName = (0, _classnames.default)(className, (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'carousel-item')); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: ref - }, props, { - className: finalClassName - }), children); -}); - -CarouselItem.displayName = 'CarouselItem'; -var _default = CarouselItem; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/CloseButton.d.ts b/node_modules/react-bootstrap/cjs/CloseButton.d.ts deleted file mode 100644 index a25191f05a0585d171188110705c2c0b881b0217..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/CloseButton.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import React from 'react'; -export interface CloseButtonProps extends React.ButtonHTMLAttributes { - label?: string; -} -declare const CloseButton: React.ForwardRefExoticComponent>; -export default CloseButton; diff --git a/node_modules/react-bootstrap/cjs/CloseButton.js b/node_modules/react-bootstrap/cjs/CloseButton.js deleted file mode 100644 index 862c697dc65280b533cfcd155e0954d59520f4e0..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/CloseButton.js +++ /dev/null @@ -1,48 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _propTypes = _interopRequireDefault(require("prop-types")); - -var _react = _interopRequireDefault(require("react")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var propTypes = { - label: _propTypes.default.string.isRequired, - onClick: _propTypes.default.func -}; -var defaultProps = { - label: 'Close' -}; - -var CloseButton = _react.default.forwardRef(function (_ref, ref) { - var label = _ref.label, - onClick = _ref.onClick, - className = _ref.className, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["label", "onClick", "className"]); - return /*#__PURE__*/_react.default.createElement("button", (0, _extends2.default)({ - ref: ref, - type: "button", - className: (0, _classnames.default)('close', className), - onClick: onClick - }, props), /*#__PURE__*/_react.default.createElement("span", { - "aria-hidden": "true" - }, "\xD7"), /*#__PURE__*/_react.default.createElement("span", { - className: "sr-only" - }, label)); -}); - -CloseButton.displayName = 'CloseButton'; -CloseButton.propTypes = propTypes; -CloseButton.defaultProps = defaultProps; -var _default = CloseButton; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Col.d.ts b/node_modules/react-bootstrap/cjs/Col.d.ts deleted file mode 100644 index b1eb0acd06bc538377f38d19981473868c27fa32..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Col.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -declare type NumberAttr = number | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12'; -declare type ColOrder = 'first' | 'last' | NumberAttr; -declare type ColSize = boolean | 'auto' | NumberAttr; -declare type ColSpec = ColSize | { - span?: ColSize; - offset?: NumberAttr; - order?: ColOrder; -}; -export interface ColProps extends BsPrefixPropsWithChildren { - xs?: ColSpec; - sm?: ColSpec; - md?: ColSpec; - lg?: ColSpec; - xl?: ColSpec; -} -declare const Col: BsPrefixRefForwardingComponent<'div', ColProps>; -export default Col; diff --git a/node_modules/react-bootstrap/cjs/Col.js b/node_modules/react-bootstrap/cjs/Col.js deleted file mode 100644 index f99818d362158936e89e8dd03bae75d39987e72d..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Col.js +++ /dev/null @@ -1,65 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var DEVICE_SIZES = ['xl', 'lg', 'md', 'sm', 'xs']; - -var Col = _react.default.forwardRef( // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595 -function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "as"]); - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'col'); - var spans = []; - var classes = []; - DEVICE_SIZES.forEach(function (brkPoint) { - var propValue = props[brkPoint]; - delete props[brkPoint]; - var span; - var offset; - var order; - - if (typeof propValue === 'object' && propValue != null) { - var _propValue$span = propValue.span; - span = _propValue$span === void 0 ? true : _propValue$span; - offset = propValue.offset; - order = propValue.order; - } else { - span = propValue; - } - - var infix = brkPoint !== 'xs' ? "-" + brkPoint : ''; - if (span) spans.push(span === true ? "" + prefix + infix : "" + prefix + infix + "-" + span); - if (order != null) classes.push("order" + infix + "-" + order); - if (offset != null) classes.push("offset" + infix + "-" + offset); - }); - - if (!spans.length) { - spans.push(prefix); // plain 'col' - } - - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, props, { - ref: ref, - className: _classnames.default.apply(void 0, [className].concat(spans, classes)) - })); -}); - -Col.displayName = 'Col'; -var _default = Col; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Collapse.d.ts b/node_modules/react-bootstrap/cjs/Collapse.d.ts deleted file mode 100644 index 25f398dc9498b5a8ecdaafa3bdc982d73b1509e2..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Collapse.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import React from 'react'; -import { TransitionCallbacks } from './helpers'; -declare type Dimension = 'height' | 'width'; -export interface CollapseProps extends TransitionCallbacks { - className?: string; - in?: boolean; - mountOnEnter?: boolean; - unmountOnExit?: boolean; - appear?: boolean; - timeout?: number; - dimension?: Dimension | (() => Dimension); - getDimensionValue?: (dimension: Dimension, element: HTMLElement) => number; - children: React.ReactElement; - role?: string; -} -declare const Collapse: React.ForwardRefExoticComponent>; -export default Collapse; diff --git a/node_modules/react-bootstrap/cjs/Collapse.js b/node_modules/react-bootstrap/cjs/Collapse.js deleted file mode 100644 index beac7d48f3db3b123bfea8a916555d332d15a621..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Collapse.js +++ /dev/null @@ -1,124 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _css = _interopRequireDefault(require("dom-helpers/css")); - -var _transitionEnd = _interopRequireDefault(require("dom-helpers/transitionEnd")); - -var _react = _interopRequireWildcard(require("react")); - -var _Transition = _interopRequireWildcard(require("react-transition-group/Transition")); - -var _createChainedFunction = _interopRequireDefault(require("./createChainedFunction")); - -var _triggerBrowserReflow = _interopRequireDefault(require("./triggerBrowserReflow")); - -var _collapseStyles; - -var MARGINS = { - height: ['marginTop', 'marginBottom'], - width: ['marginLeft', 'marginRight'] -}; - -function getDefaultDimensionValue(dimension, elem) { - var offset = "offset" + dimension[0].toUpperCase() + dimension.slice(1); - var value = elem[offset]; - var margins = MARGINS[dimension]; - return value + // @ts-ignore - parseInt((0, _css.default)(elem, margins[0]), 10) + // @ts-ignore - parseInt((0, _css.default)(elem, margins[1]), 10); -} - -var collapseStyles = (_collapseStyles = {}, _collapseStyles[_Transition.EXITED] = 'collapse', _collapseStyles[_Transition.EXITING] = 'collapsing', _collapseStyles[_Transition.ENTERING] = 'collapsing', _collapseStyles[_Transition.ENTERED] = 'collapse show', _collapseStyles); -var defaultProps = { - in: false, - timeout: 300, - mountOnEnter: false, - unmountOnExit: false, - appear: false, - getDimensionValue: getDefaultDimensionValue -}; - -var Collapse = _react.default.forwardRef(function (_ref, ref) { - var onEnter = _ref.onEnter, - onEntering = _ref.onEntering, - onEntered = _ref.onEntered, - onExit = _ref.onExit, - onExiting = _ref.onExiting, - className = _ref.className, - children = _ref.children, - _ref$dimension = _ref.dimension, - dimension = _ref$dimension === void 0 ? 'height' : _ref$dimension, - _ref$getDimensionValu = _ref.getDimensionValue, - getDimensionValue = _ref$getDimensionValu === void 0 ? getDefaultDimensionValue : _ref$getDimensionValu, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["onEnter", "onEntering", "onEntered", "onExit", "onExiting", "className", "children", "dimension", "getDimensionValue"]); - - /* Compute dimension */ - var computedDimension = typeof dimension === 'function' ? dimension() : dimension; - /* -- Expanding -- */ - - var handleEnter = (0, _react.useMemo)(function () { - return (0, _createChainedFunction.default)(function (elem) { - elem.style[computedDimension] = '0'; - }, onEnter); - }, [computedDimension, onEnter]); - var handleEntering = (0, _react.useMemo)(function () { - return (0, _createChainedFunction.default)(function (elem) { - var scroll = "scroll" + computedDimension[0].toUpperCase() + computedDimension.slice(1); - elem.style[computedDimension] = elem[scroll] + "px"; - }, onEntering); - }, [computedDimension, onEntering]); - var handleEntered = (0, _react.useMemo)(function () { - return (0, _createChainedFunction.default)(function (elem) { - elem.style[computedDimension] = null; - }, onEntered); - }, [computedDimension, onEntered]); - /* -- Collapsing -- */ - - var handleExit = (0, _react.useMemo)(function () { - return (0, _createChainedFunction.default)(function (elem) { - elem.style[computedDimension] = getDimensionValue(computedDimension, elem) + "px"; - (0, _triggerBrowserReflow.default)(elem); - }, onExit); - }, [onExit, getDimensionValue, computedDimension]); - var handleExiting = (0, _react.useMemo)(function () { - return (0, _createChainedFunction.default)(function (elem) { - elem.style[computedDimension] = null; - }, onExiting); - }, [computedDimension, onExiting]); - return /*#__PURE__*/_react.default.createElement(_Transition.default // @ts-ignore - , (0, _extends2.default)({ - ref: ref, - addEndListener: _transitionEnd.default - }, props, { - "aria-expanded": props.role ? props.in : null, - onEnter: handleEnter, - onEntering: handleEntering, - onEntered: handleEntered, - onExit: handleExit, - onExiting: handleExiting - }), function (state, innerProps) { - return _react.default.cloneElement(children, (0, _extends2.default)({}, innerProps, { - className: (0, _classnames.default)(className, children.props.className, collapseStyles[state], computedDimension === 'width' && 'width') - })); - }); -}); // @ts-ignore - - -// @ts-ignore -Collapse.defaultProps = defaultProps; -var _default = Collapse; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Container.d.ts b/node_modules/react-bootstrap/cjs/Container.d.ts deleted file mode 100644 index bc438632cd6deef05bf84b02442053f4161166d3..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Container.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export interface ContainerProps extends BsPrefixPropsWithChildren { - fluid?: boolean | 'sm' | 'md' | 'lg' | 'xl'; -} -declare type Container = BsPrefixRefForwardingComponent<'div', ContainerProps>; -declare const Container: Container; -export default Container; diff --git a/node_modules/react-bootstrap/cjs/Container.js b/node_modules/react-bootstrap/cjs/Container.js deleted file mode 100644 index 09d0913b9996e7d7a98138738b0bfbc380e69700..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Container.js +++ /dev/null @@ -1,42 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var defaultProps = { - fluid: false -}; - -var Container = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - fluid = _ref.fluid, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - className = _ref.className, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "fluid", "as", "className"]); - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'container'); - var suffix = typeof fluid === 'string' ? "-" + fluid : '-fluid'; - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: ref - }, props, { - className: (0, _classnames.default)(className, fluid ? "" + prefix + suffix : prefix) - })); -}); - -Container.displayName = 'Container'; -Container.defaultProps = defaultProps; -var _default = Container; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Dropdown.d.ts b/node_modules/react-bootstrap/cjs/Dropdown.d.ts deleted file mode 100644 index 80daeb41742d96da3f2081bd8be0b64af153bd62..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Dropdown.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import React from 'react'; -import DropdownItem from './DropdownItem'; -import DropdownMenu from './DropdownMenu'; -import DropdownToggle from './DropdownToggle'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent, SelectCallback } from './helpers'; -declare const DropdownHeader: BsPrefixRefForwardingComponent<"div", unknown>; -declare const DropdownDivider: BsPrefixRefForwardingComponent<"div", unknown>; -declare const DropdownItemText: BsPrefixRefForwardingComponent<"span", unknown>; -export interface DropdownProps extends BsPrefixPropsWithChildren { - drop?: 'up' | 'left' | 'right' | 'down'; - alignRight?: boolean; - show?: boolean; - flip?: boolean; - onToggle?: (isOpen: boolean, event: React.SyntheticEvent, metadata: { - source: 'select' | 'click' | 'rootClose' | 'keydown'; - }) => void; - focusFirstItemOnShow?: boolean | 'keyboard'; - onSelect?: SelectCallback; - navbar?: boolean; -} -declare type Dropdown = BsPrefixRefForwardingComponent<'div', DropdownProps> & { - Toggle: typeof DropdownToggle; - Menu: typeof DropdownMenu; - Item: typeof DropdownItem; - ItemText: typeof DropdownItemText; - Divider: typeof DropdownDivider; - Header: typeof DropdownHeader; -}; -declare const Dropdown: Dropdown; -export default Dropdown; diff --git a/node_modules/react-bootstrap/cjs/Dropdown.js b/node_modules/react-bootstrap/cjs/Dropdown.js deleted file mode 100644 index 5ae45cddc1a9daa5bfa319c803ef9a1e9dadb347..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Dropdown.js +++ /dev/null @@ -1,118 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireWildcard(require("react")); - -var _Dropdown = _interopRequireDefault(require("react-overlays/Dropdown")); - -var _uncontrollable = require("uncontrollable"); - -var _useEventCallback = _interopRequireDefault(require("@restart/hooks/useEventCallback")); - -var _DropdownItem = _interopRequireDefault(require("./DropdownItem")); - -var _DropdownMenu = _interopRequireDefault(require("./DropdownMenu")); - -var _DropdownToggle = _interopRequireDefault(require("./DropdownToggle")); - -var _SelectableContext = _interopRequireDefault(require("./SelectableContext")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _createWithBsPrefix = _interopRequireDefault(require("./createWithBsPrefix")); - -var DropdownHeader = (0, _createWithBsPrefix.default)('dropdown-header', { - defaultProps: { - role: 'heading' - } -}); -var DropdownDivider = (0, _createWithBsPrefix.default)('dropdown-divider', { - defaultProps: { - role: 'separator' - } -}); -var DropdownItemText = (0, _createWithBsPrefix.default)('dropdown-item-text', { - Component: 'span' -}); -var defaultProps = { - navbar: false -}; - -var Dropdown = _react.default.forwardRef(function (pProps, ref) { - var _useUncontrolled = (0, _uncontrollable.useUncontrolled)(pProps, { - show: 'onToggle' - }), - bsPrefix = _useUncontrolled.bsPrefix, - drop = _useUncontrolled.drop, - show = _useUncontrolled.show, - className = _useUncontrolled.className, - alignRight = _useUncontrolled.alignRight, - onSelect = _useUncontrolled.onSelect, - onToggle = _useUncontrolled.onToggle, - focusFirstItemOnShow = _useUncontrolled.focusFirstItemOnShow, - _useUncontrolled$as = _useUncontrolled.as, - Component = _useUncontrolled$as === void 0 ? 'div' : _useUncontrolled$as, - _4 = _useUncontrolled.navbar, - props = (0, _objectWithoutPropertiesLoose2.default)(_useUncontrolled, ["bsPrefix", "drop", "show", "className", "alignRight", "onSelect", "onToggle", "focusFirstItemOnShow", "as", "navbar"]); - - var onSelectCtx = (0, _react.useContext)(_SelectableContext.default); - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'dropdown'); - var handleToggle = (0, _useEventCallback.default)(function (nextShow, event, source) { - if (source === void 0) { - source = event.type; - } - - if (event.currentTarget === document) source = 'rootClose'; - - if (onToggle) { - onToggle(nextShow, event, { - source: source - }); - } - }); - var handleSelect = (0, _useEventCallback.default)(function (key, event) { - if (onSelectCtx) onSelectCtx(key, event); - if (onSelect) onSelect(key, event); - handleToggle(false, event, 'select'); - }); - return /*#__PURE__*/_react.default.createElement(_SelectableContext.default.Provider, { - value: handleSelect - }, /*#__PURE__*/_react.default.createElement(_Dropdown.default, { - drop: drop, - show: show, - alignEnd: alignRight, - onToggle: handleToggle, - focusFirstItemOnShow: focusFirstItemOnShow, - itemSelector: "." + prefix + "-item:not(.disabled):not(:disabled)" - }, function (_ref) { - var dropdownProps = _ref.props; - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, props, dropdownProps, { - ref: ref, - className: (0, _classnames.default)(className, show && 'show', (!drop || drop === 'down') && prefix, drop === 'up' && 'dropup', drop === 'right' && 'dropright', drop === 'left' && 'dropleft') - })); - })); -}); - -Dropdown.displayName = 'Dropdown'; -Dropdown.defaultProps = defaultProps; -Dropdown.Divider = DropdownDivider; -Dropdown.Header = DropdownHeader; -Dropdown.Item = _DropdownItem.default; -Dropdown.ItemText = DropdownItemText; -Dropdown.Menu = _DropdownMenu.default; -Dropdown.Toggle = _DropdownToggle.default; -var _default = Dropdown; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/DropdownButton.d.ts b/node_modules/react-bootstrap/cjs/DropdownButton.d.ts deleted file mode 100644 index 9389479003861ee46a5ca1d962c8394b7336a783..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/DropdownButton.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import React from 'react'; -import { DropdownProps } from './Dropdown'; -import { PropsFromToggle } from './DropdownToggle'; -import { AlignType } from './DropdownMenu'; -export interface DropdownButtonProps extends DropdownProps, Omit, 'onSelect' | 'title'>, React.PropsWithChildren { - title: React.ReactNode; - menuAlign?: AlignType; - menuRole?: string; - renderMenuOnMount?: boolean; - rootCloseEvent?: 'click' | 'mousedown'; - bsPrefix?: string; -} -/** - * A convenience component for simple or general use dropdowns. Renders a `Button` toggle and all `children` - * are passed directly to the default `Dropdown.Menu`. - * - * _All unknown props are passed through to the `Dropdown` component._ Only - * the Button `variant`, `size` and `bsPrefix` props are passed to the toggle, - * along with menu related props are passed to the `Dropdown.Menu` - */ -declare const DropdownButton: React.ForwardRefExoticComponent>; -export default DropdownButton; diff --git a/node_modules/react-bootstrap/cjs/DropdownButton.js b/node_modules/react-bootstrap/cjs/DropdownButton.js deleted file mode 100644 index 59275b3a83c896049d5ad46551dc56ba84d47148..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/DropdownButton.js +++ /dev/null @@ -1,119 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _react = _interopRequireDefault(require("react")); - -var _propTypes = _interopRequireDefault(require("prop-types")); - -var _Dropdown = _interopRequireDefault(require("./Dropdown")); - -var _DropdownToggle = _interopRequireDefault(require("./DropdownToggle")); - -var _DropdownMenu = _interopRequireWildcard(require("./DropdownMenu")); - -var propTypes = { - /** - * An html id attribute for the Toggle button, necessary for assistive technologies, such as screen readers. - * @type {string|number} - * @required - */ - id: _propTypes.default.any, - - /** An `href` passed to the Toggle component */ - href: _propTypes.default.string, - - /** An `onClick` handler passed to the Toggle component */ - onClick: _propTypes.default.func, - - /** The content of the non-toggle Button. */ - title: _propTypes.default.node.isRequired, - - /** Disables both Buttons */ - disabled: _propTypes.default.bool, - - /** - * Aligns the dropdown menu responsively. - * - * _see [DropdownMenu](#dropdown-menu-props) for more details_ - * - * @type {"left"|"right"|{ sm: "left"|"right" }|{ md: "left"|"right" }|{ lg: "left"|"right" }|{ xl: "left"|"right"} } - */ - menuAlign: _DropdownMenu.alignPropType, - - /** An ARIA accessible role applied to the Menu component. When set to 'menu', The dropdown */ - menuRole: _propTypes.default.string, - - /** Whether to render the dropdown menu in the DOM before the first time it is shown */ - renderMenuOnMount: _propTypes.default.bool, - - /** - * Which event when fired outside the component will cause it to be closed. - * - * _see [DropdownMenu](#dropdown-menu-props) for more details_ - */ - rootCloseEvent: _propTypes.default.string, - - /** @ignore */ - bsPrefix: _propTypes.default.string, - - /** @ignore */ - variant: _propTypes.default.string, - - /** @ignore */ - size: _propTypes.default.string -}; -/** - * A convenience component for simple or general use dropdowns. Renders a `Button` toggle and all `children` - * are passed directly to the default `Dropdown.Menu`. - * - * _All unknown props are passed through to the `Dropdown` component._ Only - * the Button `variant`, `size` and `bsPrefix` props are passed to the toggle, - * along with menu related props are passed to the `Dropdown.Menu` - */ - -var DropdownButton = _react.default.forwardRef(function (_ref, ref) { - var title = _ref.title, - children = _ref.children, - bsPrefix = _ref.bsPrefix, - rootCloseEvent = _ref.rootCloseEvent, - variant = _ref.variant, - size = _ref.size, - menuAlign = _ref.menuAlign, - menuRole = _ref.menuRole, - renderMenuOnMount = _ref.renderMenuOnMount, - disabled = _ref.disabled, - href = _ref.href, - id = _ref.id, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["title", "children", "bsPrefix", "rootCloseEvent", "variant", "size", "menuAlign", "menuRole", "renderMenuOnMount", "disabled", "href", "id"]); - return /*#__PURE__*/_react.default.createElement(_Dropdown.default, (0, _extends2.default)({ - ref: ref - }, props), /*#__PURE__*/_react.default.createElement(_DropdownToggle.default, { - id: id, - href: href, - size: size, - variant: variant, - disabled: disabled, - childBsPrefix: bsPrefix - }, title), /*#__PURE__*/_react.default.createElement(_DropdownMenu.default, { - align: menuAlign, - role: menuRole, - renderOnMount: renderMenuOnMount, - rootCloseEvent: rootCloseEvent - }, children)); -}); - -DropdownButton.displayName = 'DropdownButton'; -DropdownButton.propTypes = propTypes; -var _default = DropdownButton; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/DropdownItem.d.ts b/node_modules/react-bootstrap/cjs/DropdownItem.d.ts deleted file mode 100644 index 5c4d8b42d42cb97f175d9ba7a6fbfcfe9ef31de9..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/DropdownItem.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import React from 'react'; -import SafeAnchor from './SafeAnchor'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent, SelectCallback } from './helpers'; -export interface DropdownItemProps extends BsPrefixPropsWithChildren { - active?: boolean; - disabled?: boolean; - eventKey?: string; - href?: string; - onClick?: React.MouseEventHandler; - onSelect?: SelectCallback; -} -declare type DropdownItem = BsPrefixRefForwardingComponent; -declare const DropdownItem: DropdownItem; -export default DropdownItem; diff --git a/node_modules/react-bootstrap/cjs/DropdownItem.js b/node_modules/react-bootstrap/cjs/DropdownItem.js deleted file mode 100644 index e0b078dc762265917e2d290b2e23f84c607f38bb..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/DropdownItem.js +++ /dev/null @@ -1,81 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireWildcard(require("react")); - -var _useEventCallback = _interopRequireDefault(require("@restart/hooks/useEventCallback")); - -var _SelectableContext = _interopRequireWildcard(require("./SelectableContext")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _NavContext = _interopRequireDefault(require("./NavContext")); - -var _SafeAnchor = _interopRequireDefault(require("./SafeAnchor")); - -var defaultProps = { - as: _SafeAnchor.default, - disabled: false -}; - -var DropdownItem = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - children = _ref.children, - eventKey = _ref.eventKey, - disabled = _ref.disabled, - href = _ref.href, - onClick = _ref.onClick, - onSelect = _ref.onSelect, - propActive = _ref.active, - Component = _ref.as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "children", "eventKey", "disabled", "href", "onClick", "onSelect", "active", "as"]); - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'dropdown-item'); - var onSelectCtx = (0, _react.useContext)(_SelectableContext.default); - var navContext = (0, _react.useContext)(_NavContext.default); - - var _ref2 = navContext || {}, - activeKey = _ref2.activeKey; // TODO: Restrict eventKey to string in v5? - - - var key = (0, _SelectableContext.makeEventKey)(eventKey, href); - var active = propActive == null && key != null ? (0, _SelectableContext.makeEventKey)(activeKey) === key : propActive; - var handleClick = (0, _useEventCallback.default)(function (event) { - // SafeAnchor handles the disabled case, but we handle it here - // for other components - if (disabled) return; - if (onClick) onClick(event); - if (onSelectCtx) onSelectCtx(key, event); - if (onSelect) onSelect(key, event); - }); - return ( - /*#__PURE__*/ - // "TS2604: JSX element type 'Component' does not have any construct or call signatures." - // @ts-ignore - _react.default.createElement(Component, (0, _extends2.default)({}, props, { - ref: ref, - href: href, - disabled: disabled, - className: (0, _classnames.default)(className, prefix, active && 'active', disabled && 'disabled'), - onClick: handleClick - }), children) - ); -}); - -DropdownItem.displayName = 'DropdownItem'; -DropdownItem.defaultProps = defaultProps; -var _default = DropdownItem; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/DropdownMenu.d.ts b/node_modules/react-bootstrap/cjs/DropdownMenu.d.ts deleted file mode 100644 index 0f11dcb99fb2b229481ee4bfff365fc9db925e4d..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/DropdownMenu.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import PropTypes from 'prop-types'; -import { UseDropdownMenuOptions } from 'react-overlays/DropdownMenu'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent, SelectCallback } from './helpers'; -export declare type AlignDirection = 'left' | 'right'; -export declare type ResponsiveAlignProp = { - sm: AlignDirection; -} | { - md: AlignDirection; -} | { - lg: AlignDirection; -} | { - xl: AlignDirection; -}; -export declare type AlignType = AlignDirection | ResponsiveAlignProp; -export interface DropdownMenuProps extends BsPrefixPropsWithChildren { - show?: boolean; - renderOnMount?: boolean; - flip?: boolean; - align?: AlignType; - alignRight?: boolean; - onSelect?: SelectCallback; - rootCloseEvent?: 'click' | 'mousedown'; - popperConfig?: UseDropdownMenuOptions['popperConfig']; -} -declare type DropdownMenu = BsPrefixRefForwardingComponent<'div', DropdownMenuProps>; -export declare const alignPropType: PropTypes.Requireable; -}> | PropTypes.InferProps<{ - md: PropTypes.Requireable; -}> | PropTypes.InferProps<{ - lg: PropTypes.Requireable; -}> | PropTypes.InferProps<{ - xl: PropTypes.Requireable; -}>>; -declare const DropdownMenu: DropdownMenu; -export default DropdownMenu; diff --git a/node_modules/react-bootstrap/cjs/DropdownMenu.js b/node_modules/react-bootstrap/cjs/DropdownMenu.js deleted file mode 100644 index dde839523967813691f352c338e24a87919706de..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/DropdownMenu.js +++ /dev/null @@ -1,135 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = exports.alignPropType = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _propTypes = _interopRequireDefault(require("prop-types")); - -var _react = _interopRequireWildcard(require("react")); - -var _DropdownMenu = require("react-overlays/DropdownMenu"); - -var _useMergedRefs = _interopRequireDefault(require("@restart/hooks/useMergedRefs")); - -var _warning = _interopRequireDefault(require("warning")); - -var _NavbarContext = _interopRequireDefault(require("./NavbarContext")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _useWrappedRefWithWarning = _interopRequireDefault(require("./useWrappedRefWithWarning")); - -var _usePopperMarginModifiers = _interopRequireDefault(require("./usePopperMarginModifiers")); - -var alignDirection = _propTypes.default.oneOf(['left', 'right']); - -var alignPropType = _propTypes.default.oneOfType([alignDirection, _propTypes.default.shape({ - sm: alignDirection -}), _propTypes.default.shape({ - md: alignDirection -}), _propTypes.default.shape({ - lg: alignDirection -}), _propTypes.default.shape({ - xl: alignDirection -})]); - -exports.alignPropType = alignPropType; -var defaultProps = { - align: 'left', - alignRight: false, - flip: true -}; // TODO: remove this hack - -var DropdownMenu = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - align = _ref.align, - alignRight = _ref.alignRight, - rootCloseEvent = _ref.rootCloseEvent, - flip = _ref.flip, - showProps = _ref.show, - renderOnMount = _ref.renderOnMount, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - popperConfig = _ref.popperConfig, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "align", "alignRight", "rootCloseEvent", "flip", "show", "renderOnMount", "as", "popperConfig"]); - var isNavbar = (0, _react.useContext)(_NavbarContext.default); - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'dropdown-menu'); - - var _usePopperMarginModif = (0, _usePopperMarginModifiers.default)(), - popperRef = _usePopperMarginModif[0], - marginModifiers = _usePopperMarginModif[1]; - - var alignClasses = []; - - if (align) { - if (typeof align === 'object') { - var keys = Object.keys(align); - process.env.NODE_ENV !== "production" ? (0, _warning.default)(keys.length === 1, 'There should only be 1 breakpoint when passing an object to `align`') : void 0; - - if (keys.length) { - var brkPoint = keys[0]; - var direction = align[brkPoint]; // .dropdown-menu-right is required for responsively aligning - // left in addition to align left classes. - // Reuse alignRight to toggle the class below. - - alignRight = direction === 'left'; - alignClasses.push(prefix + "-" + brkPoint + "-" + direction); - } - } else if (align === 'right') { - alignRight = true; - } - } - - var _ref2 = (0, _DropdownMenu.useDropdownMenu)({ - flip: flip, - rootCloseEvent: rootCloseEvent, - show: showProps, - alignEnd: alignRight, - usePopper: !isNavbar && alignClasses.length === 0, - popperConfig: (0, _extends2.default)({}, popperConfig, { - modifiers: marginModifiers.concat((popperConfig == null ? void 0 : popperConfig.modifiers) || []) - }) - }), - hasShown = _ref2.hasShown, - placement = _ref2.placement, - show = _ref2.show, - alignEnd = _ref2.alignEnd, - close = _ref2.close, - menuProps = _ref2.props; - - menuProps.ref = (0, _useMergedRefs.default)(popperRef, (0, _useMergedRefs.default)((0, _useWrappedRefWithWarning.default)(ref, 'DropdownMenu'), menuProps.ref)); - if (!hasShown && !renderOnMount) return null; // For custom components provide additional, non-DOM, props; - - if (typeof Component !== 'string') { - menuProps.show = show; - menuProps.close = close; - menuProps.alignRight = alignEnd; - } - - if (placement) { - // we don't need the default popper style, - // menus are display: none when not shown. - props.style = (0, _extends2.default)({}, props.style, {}, menuProps.style); - props['x-placement'] = placement; - } - - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, props, menuProps, { - className: _classnames.default.apply(void 0, [className, prefix, show && 'show', alignEnd && prefix + "-right"].concat(alignClasses)) - })); -}); - -DropdownMenu.displayName = 'DropdownMenu'; -DropdownMenu.defaultProps = defaultProps; -var _default = DropdownMenu; -exports.default = _default; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/DropdownToggle.d.ts b/node_modules/react-bootstrap/cjs/DropdownToggle.d.ts deleted file mode 100644 index 3823168bfed392f5e4a979ff7b36283e3fbaf26c..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/DropdownToggle.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import React from 'react'; -import { ButtonProps, CommonButtonProps } from './Button'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export interface DropdownToggleProps extends BsPrefixPropsWithChildren, ButtonProps { - split?: boolean; - childBsPrefix?: string; - eventKey?: any; -} -declare type DropdownToggle = BsPrefixRefForwardingComponent<'button', DropdownToggleProps>; -export declare type PropsFromToggle = Partial, CommonButtonProps>>; -declare const DropdownToggle: DropdownToggle; -export default DropdownToggle; diff --git a/node_modules/react-bootstrap/cjs/DropdownToggle.js b/node_modules/react-bootstrap/cjs/DropdownToggle.js deleted file mode 100644 index 5fa81117348701118e61352bbd128be005b25e39..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/DropdownToggle.js +++ /dev/null @@ -1,58 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _isRequiredForA11y = _interopRequireDefault(require("prop-types-extra/lib/isRequiredForA11y")); - -var _react = _interopRequireDefault(require("react")); - -var _DropdownToggle = require("react-overlays/DropdownToggle"); - -var _useMergedRefs = _interopRequireDefault(require("@restart/hooks/useMergedRefs")); - -var _Button = _interopRequireDefault(require("./Button")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _useWrappedRefWithWarning = _interopRequireDefault(require("./useWrappedRefWithWarning")); - -var DropdownToggle = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - split = _ref.split, - className = _ref.className, - childBsPrefix = _ref.childBsPrefix, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? _Button.default : _ref$as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "split", "className", "childBsPrefix", "as"]); - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'dropdown-toggle'); - - if (childBsPrefix !== undefined) { - props.bsPrefix = childBsPrefix; - } - - var _useDropdownToggle = (0, _DropdownToggle.useDropdownToggle)(), - toggleProps = _useDropdownToggle[0], - toggle = _useDropdownToggle[1].toggle; - - toggleProps.ref = (0, _useMergedRefs.default)(toggleProps.ref, (0, _useWrappedRefWithWarning.default)(ref, 'DropdownToggle')); // This intentionally forwards size and variant (if set) to the - // underlying component, to allow it to render size and style variants. - - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - onClick: toggle, - className: (0, _classnames.default)(className, prefix, split && prefix + "-split") - }, toggleProps, props)); -}); - -DropdownToggle.displayName = 'DropdownToggle'; -var _default = DropdownToggle; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/ElementChildren.d.ts b/node_modules/react-bootstrap/cjs/ElementChildren.d.ts deleted file mode 100644 index f889e2760fbfdb577f47ea9ff8cee655ae841144..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ElementChildren.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import React from 'react'; -/** - * Iterates through children that are typically specified as `props.children`, - * but only maps over children that are "valid elements". - * - * The mapFunction provided index will be normalised to the components mapped, - * so an invalid component would not increase the index. - * - */ -declare function map

(children: any, func: (el: React.ReactElement

, index: number) => any): any; -/** - * Iterates through children that are "valid elements". - * - * The provided forEachFunc(child, index) will be called for each - * leaf child with the index reflecting the position relative to "valid components". - */ -declare function forEach

(children: any, func: (el: React.ReactElement

, index: number) => void): void; -export { map, forEach }; diff --git a/node_modules/react-bootstrap/cjs/ElementChildren.js b/node_modules/react-bootstrap/cjs/ElementChildren.js deleted file mode 100644 index 4b1a3eadc6cc1908c215d3d451174189a10b7e72..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ElementChildren.js +++ /dev/null @@ -1,39 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.map = map; -exports.forEach = forEach; - -var _react = _interopRequireDefault(require("react")); - -/** - * Iterates through children that are typically specified as `props.children`, - * but only maps over children that are "valid elements". - * - * The mapFunction provided index will be normalised to the components mapped, - * so an invalid component would not increase the index. - * - */ -function map(children, func) { - var index = 0; - return _react.default.Children.map(children, function (child) { - return _react.default.isValidElement(child) ? func(child, index++) : child; - }); -} -/** - * Iterates through children that are "valid elements". - * - * The provided forEachFunc(child, index) will be called for each - * leaf child with the index reflecting the position relative to "valid components". - */ - - -function forEach(children, func) { - var index = 0; - - _react.default.Children.forEach(children, function (child) { - if (_react.default.isValidElement(child)) func(child, index++); - }); -} \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Fade.d.ts b/node_modules/react-bootstrap/cjs/Fade.d.ts deleted file mode 100644 index 826f1c33dacafd31315d6e72ad8b7be0e399bdd6..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Fade.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import React from 'react'; -import Transition from 'react-transition-group/Transition'; -import { TransitionCallbacks } from './helpers'; -export interface FadeProps extends TransitionCallbacks { - className?: string; - in?: boolean; - mountOnEnter?: boolean; - unmountOnExit?: boolean; - appear?: boolean; - timeout?: number; - children: React.ReactElement; -} -declare const Fade: React.ForwardRefExoticComponent>>; -export default Fade; diff --git a/node_modules/react-bootstrap/cjs/Fade.js b/node_modules/react-bootstrap/cjs/Fade.js deleted file mode 100644 index b9d044804408619a669d599e46de48f1452b0acb..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Fade.js +++ /dev/null @@ -1,59 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _transitionEnd = _interopRequireDefault(require("dom-helpers/transitionEnd")); - -var _react = _interopRequireWildcard(require("react")); - -var _Transition = _interopRequireWildcard(require("react-transition-group/Transition")); - -var _triggerBrowserReflow = _interopRequireDefault(require("./triggerBrowserReflow")); - -var _fadeStyles; - -var defaultProps = { - in: false, - timeout: 300, - mountOnEnter: false, - unmountOnExit: false, - appear: false -}; -var fadeStyles = (_fadeStyles = {}, _fadeStyles[_Transition.ENTERING] = 'show', _fadeStyles[_Transition.ENTERED] = 'show', _fadeStyles); - -var Fade = _react.default.forwardRef(function (_ref, ref) { - var className = _ref.className, - children = _ref.children, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["className", "children"]); - var handleEnter = (0, _react.useCallback)(function (node) { - (0, _triggerBrowserReflow.default)(node); - if (props.onEnter) props.onEnter(node); - }, [props]); - return /*#__PURE__*/_react.default.createElement(_Transition.default, (0, _extends2.default)({ - ref: ref, - addEndListener: _transitionEnd.default - }, props, { - onEnter: handleEnter - }), function (status, innerProps) { - return _react.default.cloneElement(children, (0, _extends2.default)({}, innerProps, { - className: (0, _classnames.default)('fade', className, children.props.className, fadeStyles[status]) - })); - }); -}); - -Fade.defaultProps = defaultProps; -Fade.displayName = 'Fade'; -var _default = Fade; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Feedback.d.ts b/node_modules/react-bootstrap/cjs/Feedback.d.ts deleted file mode 100644 index 0f77dcb42572aa50b3d64086a452ca6222633e1a..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Feedback.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers'; -export interface FeedbackProps extends BsPrefixProps { - className?: string; - bsPrefix?: never; - type?: 'valid' | 'invalid'; - tooltip?: boolean; -} -declare type Feedback = BsPrefixRefForwardingComponent<'div', FeedbackProps>; -declare const Feedback: Feedback; -export default Feedback; diff --git a/node_modules/react-bootstrap/cjs/Feedback.js b/node_modules/react-bootstrap/cjs/Feedback.js deleted file mode 100644 index 8cbe43f0855e035b9b6d66d91c08b0969c0e136f..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Feedback.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _propTypes = _interopRequireDefault(require("prop-types")); - -var propTypes = { - /** - * Specify whether the feedback is for valid or invalid fields - * - * @type {('valid'|'invalid')} - */ - type: _propTypes.default.string, - - /** Display feedback as a tooltip. */ - tooltip: _propTypes.default.bool, - as: _propTypes.default.elementType -}; - -var Feedback = _react.default.forwardRef( // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595 -function (_ref, ref) { - var _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - className = _ref.className, - _ref$type = _ref.type, - type = _ref$type === void 0 ? 'valid' : _ref$type, - _ref$tooltip = _ref.tooltip, - tooltip = _ref$tooltip === void 0 ? false : _ref$tooltip, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["as", "className", "type", "tooltip"]); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, props, { - ref: ref, - className: (0, _classnames.default)(className, type + "-" + (tooltip ? 'tooltip' : 'feedback')) - })); -}); - -Feedback.displayName = 'Feedback'; -Feedback.propTypes = propTypes; -var _default = Feedback; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Figure.d.ts b/node_modules/react-bootstrap/cjs/Figure.d.ts deleted file mode 100644 index 94be1e6c31ef95f442971afe12c5b55054833250..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Figure.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { BsPrefixRefForwardingComponent } from './helpers'; -import FigureImage from './FigureImage'; -import FigureCaption from './FigureCaption'; -declare type Figure = BsPrefixRefForwardingComponent<'figure'> & { - Image: typeof FigureImage; - Caption: typeof FigureCaption; -}; -declare const Figure: Figure; -export default Figure; diff --git a/node_modules/react-bootstrap/cjs/Figure.js b/node_modules/react-bootstrap/cjs/Figure.js deleted file mode 100644 index df54d00b7e79550314cad9ae357819ec86e70f04..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Figure.js +++ /dev/null @@ -1,21 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _createWithBsPrefix = _interopRequireDefault(require("./createWithBsPrefix")); - -var _FigureImage = _interopRequireDefault(require("./FigureImage")); - -var _FigureCaption = _interopRequireDefault(require("./FigureCaption")); - -var Figure = (0, _createWithBsPrefix.default)('figure', { - Component: 'figure' -}); -Figure.Image = _FigureImage.default; -Figure.Caption = _FigureCaption.default; -var _default = Figure; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/FigureCaption.d.ts b/node_modules/react-bootstrap/cjs/FigureCaption.d.ts deleted file mode 100644 index a505b1506f8f916ce86a4816663b5698fa4db5b1..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FigureCaption.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const FigureCaption: import("./helpers").BsPrefixRefForwardingComponent<"figcaption", unknown>; -export default FigureCaption; diff --git a/node_modules/react-bootstrap/cjs/FigureCaption.js b/node_modules/react-bootstrap/cjs/FigureCaption.js deleted file mode 100644 index 82e48e038c5d0e76e80d03c08170c71d36ca2a6b..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FigureCaption.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _createWithBsPrefix = _interopRequireDefault(require("./createWithBsPrefix")); - -var FigureCaption = (0, _createWithBsPrefix.default)('figure-caption', { - Component: 'figcaption' -}); -var _default = FigureCaption; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/FigureImage.d.ts b/node_modules/react-bootstrap/cjs/FigureImage.d.ts deleted file mode 100644 index 4b36eb41d936497df6f108e1f57797676f2ecb08..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FigureImage.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import React from 'react'; -import { ImageProps } from './Image'; -declare const FigureImage: React.ForwardRefExoticComponent>; -export default FigureImage; diff --git a/node_modules/react-bootstrap/cjs/FigureImage.js b/node_modules/react-bootstrap/cjs/FigureImage.js deleted file mode 100644 index df04f30b353b027a0fcc3328c3ba73cc9d3cd864..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FigureImage.js +++ /dev/null @@ -1,39 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _Image = _interopRequireWildcard(require("./Image")); - -var defaultProps = { - fluid: true -}; - -var FigureImage = _react.default.forwardRef(function (_ref, ref) { - var className = _ref.className, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["className"]); - return /*#__PURE__*/_react.default.createElement(_Image.default, (0, _extends2.default)({ - ref: ref - }, props, { - className: (0, _classnames.default)(className, 'figure-img') - })); -}); - -FigureImage.displayName = 'FigureImage'; -FigureImage.propTypes = _Image.propTypes; -FigureImage.defaultProps = defaultProps; -var _default = FigureImage; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Form.d.ts b/node_modules/react-bootstrap/cjs/Form.d.ts deleted file mode 100644 index a90380f607106b411571566da0222db5ceb2ba54..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Form.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import React from 'react'; -import FormCheck from './FormCheck'; -import FormFile from './FormFile'; -import FormControl from './FormControl'; -import FormGroup from './FormGroup'; -import FormLabel from './FormLabel'; -import FormText from './FormText'; -import Switch from './Switch'; -import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers'; -declare const FormRow: BsPrefixRefForwardingComponent<"div", unknown>; -export interface FormProps extends React.HTMLAttributes, BsPrefixProps { - inline?: boolean; - validated?: boolean; -} -declare type Form = BsPrefixRefForwardingComponent<'form', FormProps> & { - Row: typeof FormRow; - Group: typeof FormGroup; - Control: typeof FormControl; - Check: typeof FormCheck; - File: typeof FormFile; - Switch: typeof Switch; - Label: typeof FormLabel; - Text: typeof FormText; -}; -declare const FormImpl: Form; -export default FormImpl; diff --git a/node_modules/react-bootstrap/cjs/Form.js b/node_modules/react-bootstrap/cjs/Form.js deleted file mode 100644 index 88c193e32ca167d915352a1e9119dd5635571ec2..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Form.js +++ /dev/null @@ -1,66 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _FormCheck = _interopRequireDefault(require("./FormCheck")); - -var _FormFile = _interopRequireDefault(require("./FormFile")); - -var _FormControl = _interopRequireDefault(require("./FormControl")); - -var _FormGroup = _interopRequireDefault(require("./FormGroup")); - -var _FormLabel = _interopRequireDefault(require("./FormLabel")); - -var _FormText = _interopRequireDefault(require("./FormText")); - -var _Switch = _interopRequireDefault(require("./Switch")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _createWithBsPrefix = _interopRequireDefault(require("./createWithBsPrefix")); - -var FormRow = (0, _createWithBsPrefix.default)('form-row'); -var defaultProps = { - inline: false -}; - -var FormImpl = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - inline = _ref.inline, - className = _ref.className, - validated = _ref.validated, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'form' : _ref$as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "inline", "className", "validated", "as"]); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'form'); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, props, { - ref: ref, - className: (0, _classnames.default)(className, validated && 'was-validated', inline && bsPrefix + "-inline") - })); -}); - -FormImpl.displayName = 'Form'; -FormImpl.defaultProps = defaultProps; -FormImpl.Row = FormRow; -FormImpl.Group = _FormGroup.default; -FormImpl.Control = _FormControl.default; -FormImpl.Check = _FormCheck.default; -FormImpl.File = _FormFile.default; -FormImpl.Switch = _Switch.default; -FormImpl.Label = _FormLabel.default; -FormImpl.Text = _FormText.default; -var _default = FormImpl; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/FormCheck.d.ts b/node_modules/react-bootstrap/cjs/FormCheck.d.ts deleted file mode 100644 index e8450d8eae8b042a1a34cf965bcec5b0d3341bea..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormCheck.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import React from 'react'; -import FormCheckInput from './FormCheckInput'; -import FormCheckLabel from './FormCheckLabel'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export declare type FormCheckType = 'checkbox' | 'radio' | 'switch'; -export interface FormCheckProps extends BsPrefixPropsWithChildren, React.HTMLAttributes { - bsCustomPrefix?: string; - inline?: boolean; - disabled?: boolean; - label?: React.ReactNode; - custom?: boolean; - type?: FormCheckType; - isValid?: boolean; - isInvalid?: boolean; - feedbackTooltip?: boolean; - feedback?: React.ReactNode; -} -declare type FormCheck = BsPrefixRefForwardingComponent<'input', FormCheckProps> & { - Input: typeof FormCheckInput; - Label: typeof FormCheckLabel; -}; -declare const FormCheck: FormCheck; -export default FormCheck; diff --git a/node_modules/react-bootstrap/cjs/FormCheck.js b/node_modules/react-bootstrap/cjs/FormCheck.js deleted file mode 100644 index 353c7244ba9919998cc2e54d3a73a286edb2fcec..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormCheck.js +++ /dev/null @@ -1,104 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _all = _interopRequireDefault(require("prop-types-extra/lib/all")); - -var _react = _interopRequireWildcard(require("react")); - -var _Feedback = _interopRequireDefault(require("./Feedback")); - -var _FormCheckInput = _interopRequireDefault(require("./FormCheckInput")); - -var _FormCheckLabel = _interopRequireDefault(require("./FormCheckLabel")); - -var _FormContext = _interopRequireDefault(require("./FormContext")); - -var _ThemeProvider = require("./ThemeProvider"); - -var FormCheck = _react.default.forwardRef(function (_ref, ref) { - var id = _ref.id, - bsPrefix = _ref.bsPrefix, - bsCustomPrefix = _ref.bsCustomPrefix, - _ref$inline = _ref.inline, - inline = _ref$inline === void 0 ? false : _ref$inline, - _ref$disabled = _ref.disabled, - disabled = _ref$disabled === void 0 ? false : _ref$disabled, - _ref$isValid = _ref.isValid, - isValid = _ref$isValid === void 0 ? false : _ref$isValid, - _ref$isInvalid = _ref.isInvalid, - isInvalid = _ref$isInvalid === void 0 ? false : _ref$isInvalid, - _ref$feedbackTooltip = _ref.feedbackTooltip, - feedbackTooltip = _ref$feedbackTooltip === void 0 ? false : _ref$feedbackTooltip, - feedback = _ref.feedback, - className = _ref.className, - style = _ref.style, - _ref$title = _ref.title, - title = _ref$title === void 0 ? '' : _ref$title, - _ref$type = _ref.type, - type = _ref$type === void 0 ? 'checkbox' : _ref$type, - label = _ref.label, - children = _ref.children, - propCustom = _ref.custom, - _ref$as = _ref.as, - as = _ref$as === void 0 ? 'input' : _ref$as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["id", "bsPrefix", "bsCustomPrefix", "inline", "disabled", "isValid", "isInvalid", "feedbackTooltip", "feedback", "className", "style", "title", "type", "label", "children", "custom", "as"]); - var custom = type === 'switch' ? true : propCustom; - - var _ref2 = custom ? [bsCustomPrefix, 'custom-control'] : [bsPrefix, 'form-check'], - prefix = _ref2[0], - defaultPrefix = _ref2[1]; - - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(prefix, defaultPrefix); - - var _useContext = (0, _react.useContext)(_FormContext.default), - controlId = _useContext.controlId; - - var innerFormContext = (0, _react.useMemo)(function () { - return { - controlId: id || controlId, - custom: custom - }; - }, [controlId, custom, id]); - var hasLabel = custom || label != null && label !== false && !children; - - var input = /*#__PURE__*/_react.default.createElement(_FormCheckInput.default, (0, _extends2.default)({}, props, { - type: type === 'switch' ? 'checkbox' : type, - ref: ref, - isValid: isValid, - isInvalid: isInvalid, - isStatic: !hasLabel, - disabled: disabled, - as: as - })); - - return /*#__PURE__*/_react.default.createElement(_FormContext.default.Provider, { - value: innerFormContext - }, /*#__PURE__*/_react.default.createElement("div", { - style: style, - className: (0, _classnames.default)(className, bsPrefix, custom && "custom-" + type, inline && bsPrefix + "-inline") - }, children || /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, input, hasLabel && /*#__PURE__*/_react.default.createElement(_FormCheckLabel.default, { - title: title - }, label), (isValid || isInvalid) && /*#__PURE__*/_react.default.createElement(_Feedback.default, { - type: isValid ? 'valid' : 'invalid', - tooltip: feedbackTooltip - }, feedback)))); -}); - -FormCheck.displayName = 'FormCheck'; -FormCheck.Input = _FormCheckInput.default; -FormCheck.Label = _FormCheckLabel.default; -var _default = FormCheck; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/FormCheckInput.d.ts b/node_modules/react-bootstrap/cjs/FormCheckInput.d.ts deleted file mode 100644 index 3ca08ce5499457cf1e187034ebaac5c19b40f970..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormCheckInput.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers'; -declare type FormCheckInputType = 'checkbox' | 'radio'; -export interface FormCheckInputProps extends BsPrefixProps { - id?: string; - bsCustomPrefix?: string; - type?: FormCheckInputType; - isStatic?: boolean; - isValid?: boolean; - isInvalid?: boolean; -} -declare type FormCheckInput = BsPrefixRefForwardingComponent<'input', FormCheckInputProps>; -declare const FormCheckInput: FormCheckInput; -export default FormCheckInput; diff --git a/node_modules/react-bootstrap/cjs/FormCheckInput.js b/node_modules/react-bootstrap/cjs/FormCheckInput.js deleted file mode 100644 index 4558acd2f4542c86d65136860e020d06d89d84d2..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormCheckInput.js +++ /dev/null @@ -1,58 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireWildcard(require("react")); - -var _FormContext = _interopRequireDefault(require("./FormContext")); - -var _ThemeProvider = require("./ThemeProvider"); - -var FormCheckInput = _react.default.forwardRef(function (_ref, ref) { - var id = _ref.id, - bsPrefix = _ref.bsPrefix, - bsCustomPrefix = _ref.bsCustomPrefix, - className = _ref.className, - _ref$type = _ref.type, - type = _ref$type === void 0 ? 'checkbox' : _ref$type, - _ref$isValid = _ref.isValid, - isValid = _ref$isValid === void 0 ? false : _ref$isValid, - _ref$isInvalid = _ref.isInvalid, - isInvalid = _ref$isInvalid === void 0 ? false : _ref$isInvalid, - isStatic = _ref.isStatic, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'input' : _ref$as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["id", "bsPrefix", "bsCustomPrefix", "className", "type", "isValid", "isInvalid", "isStatic", "as"]); - - var _useContext = (0, _react.useContext)(_FormContext.default), - controlId = _useContext.controlId, - custom = _useContext.custom; - - var _ref2 = custom ? [bsCustomPrefix, 'custom-control-input'] : [bsPrefix, 'form-check-input'], - prefix = _ref2[0], - defaultPrefix = _ref2[1]; - - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(prefix, defaultPrefix); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, props, { - ref: ref, - type: type, - id: id || controlId, - className: (0, _classnames.default)(className, bsPrefix, isValid && 'is-valid', isInvalid && 'is-invalid', isStatic && 'position-static') - })); -}); - -FormCheckInput.displayName = 'FormCheckInput'; -var _default = FormCheckInput; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/FormCheckLabel.d.ts b/node_modules/react-bootstrap/cjs/FormCheckLabel.d.ts deleted file mode 100644 index 1cab390e62dc95264793267dada3da1879bd71e2..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormCheckLabel.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import React from 'react'; -import { BsPrefixProps } from './helpers'; -export interface FormCheckLabelProps extends React.LabelHTMLAttributes, BsPrefixProps { - bsCustomPrefix?: string; -} -declare const FormCheckLabel: React.ForwardRefExoticComponent>; -export default FormCheckLabel; diff --git a/node_modules/react-bootstrap/cjs/FormCheckLabel.js b/node_modules/react-bootstrap/cjs/FormCheckLabel.js deleted file mode 100644 index f989eebd92484e8d69595d1599edcbc23c492038..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormCheckLabel.js +++ /dev/null @@ -1,48 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireWildcard(require("react")); - -var _FormContext = _interopRequireDefault(require("./FormContext")); - -var _ThemeProvider = require("./ThemeProvider"); - -var FormCheckLabel = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - bsCustomPrefix = _ref.bsCustomPrefix, - className = _ref.className, - htmlFor = _ref.htmlFor, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "bsCustomPrefix", "className", "htmlFor"]); - - var _useContext = (0, _react.useContext)(_FormContext.default), - controlId = _useContext.controlId, - custom = _useContext.custom; - - var _ref2 = custom ? [bsCustomPrefix, 'custom-control-label'] : [bsPrefix, 'form-check-label'], - prefix = _ref2[0], - defaultPrefix = _ref2[1]; - - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(prefix, defaultPrefix); - return /*#__PURE__*/_react.default.createElement("label", (0, _extends2.default)({}, props, { - ref: ref, - htmlFor: htmlFor || controlId, - className: (0, _classnames.default)(className, bsPrefix) - })); -}); - -FormCheckLabel.displayName = 'FormCheckLabel'; -var _default = FormCheckLabel; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/FormContext.d.ts b/node_modules/react-bootstrap/cjs/FormContext.d.ts deleted file mode 100644 index 01c51ab73891caa621bbab491e4df048db9b3120..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormContext.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import React from 'react'; -interface FormContextType { - controlId: any; - custom?: boolean; -} -declare const FormContext: React.Context; -export default FormContext; diff --git a/node_modules/react-bootstrap/cjs/FormContext.js b/node_modules/react-bootstrap/cjs/FormContext.js deleted file mode 100644 index f2a2b86196f6bd0490faceda8932f5bedd32b677..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormContext.js +++ /dev/null @@ -1,16 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _react = _interopRequireDefault(require("react")); - -var FormContext = _react.default.createContext({ - controlId: undefined -}); - -var _default = FormContext; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/FormControl.d.ts b/node_modules/react-bootstrap/cjs/FormControl.d.ts deleted file mode 100644 index 32914b54b25e873e20d6ce83c00180935cecb65f..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormControl.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import React from 'react'; -import Feedback from './Feedback'; -import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers'; -declare type FormControlElement = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement; -export interface FormControlProps extends BsPrefixProps { - bsCustomPrefix?: string; - htmlSize?: number; - size?: 'sm' | 'lg'; - plaintext?: boolean; - readOnly?: boolean; - disabled?: boolean; - value?: string | string[] | number; - onChange?: React.ChangeEventHandler; - custom?: boolean; - type?: string; - id?: string; - isValid?: boolean; - isInvalid?: boolean; -} -declare const _default: BsPrefixRefForwardingComponent<"input", FormControlProps> & { - Feedback: Feedback; -}; -export default _default; diff --git a/node_modules/react-bootstrap/cjs/FormControl.js b/node_modules/react-bootstrap/cjs/FormControl.js deleted file mode 100644 index 42c5bea277d7c35e94564f888ed11b4b457a12a5..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormControl.js +++ /dev/null @@ -1,97 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _all = _interopRequireDefault(require("prop-types-extra/lib/all")); - -var _react = _interopRequireWildcard(require("react")); - -var _warning = _interopRequireDefault(require("warning")); - -var _Feedback = _interopRequireDefault(require("./Feedback")); - -var _FormContext = _interopRequireDefault(require("./FormContext")); - -var _ThemeProvider = require("./ThemeProvider"); - -var FormControl = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - bsCustomPrefix = _ref.bsCustomPrefix, - type = _ref.type, - size = _ref.size, - htmlSize = _ref.htmlSize, - id = _ref.id, - className = _ref.className, - _ref$isValid = _ref.isValid, - isValid = _ref$isValid === void 0 ? false : _ref$isValid, - _ref$isInvalid = _ref.isInvalid, - isInvalid = _ref$isInvalid === void 0 ? false : _ref$isInvalid, - plaintext = _ref.plaintext, - readOnly = _ref.readOnly, - custom = _ref.custom, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'input' : _ref$as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "bsCustomPrefix", "type", "size", "htmlSize", "id", "className", "isValid", "isInvalid", "plaintext", "readOnly", "custom", "as"]); - - var _useContext = (0, _react.useContext)(_FormContext.default), - controlId = _useContext.controlId; - - var _ref2 = custom ? [bsCustomPrefix, 'custom'] : [bsPrefix, 'form-control'], - prefix = _ref2[0], - defaultPrefix = _ref2[1]; - - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(prefix, defaultPrefix); - var classes; - - if (plaintext) { - var _classes; - - classes = (_classes = {}, _classes[bsPrefix + "-plaintext"] = true, _classes); - } else if (type === 'file') { - var _classes2; - - classes = (_classes2 = {}, _classes2[bsPrefix + "-file"] = true, _classes2); - } else if (type === 'range') { - var _classes3; - - classes = (_classes3 = {}, _classes3[bsPrefix + "-range"] = true, _classes3); - } else if (Component === 'select' && custom) { - var _classes4; - - classes = (_classes4 = {}, _classes4[bsPrefix + "-select"] = true, _classes4[bsPrefix + "-select-" + size] = size, _classes4); - } else { - var _classes5; - - classes = (_classes5 = {}, _classes5[bsPrefix] = true, _classes5[bsPrefix + "-" + size] = size, _classes5); - } - - process.env.NODE_ENV !== "production" ? (0, _warning.default)(controlId == null || !id, '`controlId` is ignored on `` when `id` is specified.') : void 0; - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, props, { - type: type, - size: htmlSize, - ref: ref, - readOnly: readOnly, - id: id || controlId, - className: (0, _classnames.default)(className, classes, isValid && "is-valid", isInvalid && "is-invalid") - })); -}); - -FormControl.displayName = 'FormControl'; - -var _default = Object.assign(FormControl, { - Feedback: _Feedback.default -}); - -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/FormFile.d.ts b/node_modules/react-bootstrap/cjs/FormFile.d.ts deleted file mode 100644 index 0e4c00660cf9de7dede23e083bb1704a0f48ebd5..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormFile.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import React from 'react'; -import FormFileInput from './FormFileInput'; -import FormFileLabel from './FormFileLabel'; -import { BsCustomPrefixProps, BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export interface FormFileProps extends BsPrefixPropsWithChildren, BsCustomPrefixProps, Pick, 'style'> { - inputAs?: React.ElementType; - id?: string; - disabled?: boolean; - label?: React.ReactNode; - custom?: boolean; - isValid?: boolean; - isInvalid?: boolean; - feedback?: React.ReactNode; - feedbackTooltip?: boolean; - lang?: string; - 'data-browse'?: any; -} -declare type FormFile = BsPrefixRefForwardingComponent<'input', FormFileProps> & { - Input: typeof FormFileInput; - Label: typeof FormFileLabel; -}; -declare const FormFile: FormFile; -export default FormFile; diff --git a/node_modules/react-bootstrap/cjs/FormFile.js b/node_modules/react-bootstrap/cjs/FormFile.js deleted file mode 100644 index 68890b3723d741e66acfcdbc90cdd1772b11daaa..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormFile.js +++ /dev/null @@ -1,101 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireWildcard(require("react")); - -var _all = _interopRequireDefault(require("prop-types-extra/lib/all")); - -var _Feedback = _interopRequireDefault(require("./Feedback")); - -var _FormFileInput = _interopRequireDefault(require("./FormFileInput")); - -var _FormFileLabel = _interopRequireDefault(require("./FormFileLabel")); - -var _FormContext = _interopRequireDefault(require("./FormContext")); - -var _ThemeProvider = require("./ThemeProvider"); - -var FormFile = _react.default.forwardRef(function (_ref, ref) { - var id = _ref.id, - bsPrefix = _ref.bsPrefix, - bsCustomPrefix = _ref.bsCustomPrefix, - _ref$disabled = _ref.disabled, - disabled = _ref$disabled === void 0 ? false : _ref$disabled, - _ref$isValid = _ref.isValid, - isValid = _ref$isValid === void 0 ? false : _ref$isValid, - _ref$isInvalid = _ref.isInvalid, - isInvalid = _ref$isInvalid === void 0 ? false : _ref$isInvalid, - _ref$feedbackTooltip = _ref.feedbackTooltip, - feedbackTooltip = _ref$feedbackTooltip === void 0 ? false : _ref$feedbackTooltip, - feedback = _ref.feedback, - className = _ref.className, - style = _ref.style, - label = _ref.label, - children = _ref.children, - custom = _ref.custom, - lang = _ref.lang, - dataBrowse = _ref['data-browse'], - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - _ref$inputAs = _ref.inputAs, - inputAs = _ref$inputAs === void 0 ? 'input' : _ref$inputAs, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["id", "bsPrefix", "bsCustomPrefix", "disabled", "isValid", "isInvalid", "feedbackTooltip", "feedback", "className", "style", "label", "children", "custom", "lang", "data-browse", "as", "inputAs"]); - - var _ref2 = custom ? [bsCustomPrefix, 'custom'] : [bsPrefix, 'form-file'], - prefix = _ref2[0], - defaultPrefix = _ref2[1]; - - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(prefix, defaultPrefix); - var type = 'file'; - - var _useContext = (0, _react.useContext)(_FormContext.default), - controlId = _useContext.controlId; - - var innerFormContext = (0, _react.useMemo)(function () { - return { - controlId: id || controlId, - custom: custom - }; - }, [controlId, custom, id]); - var hasLabel = label != null && label !== false && !children; - - var input = /*#__PURE__*/_react.default.createElement(_FormFileInput.default, (0, _extends2.default)({}, props, { - ref: ref, - isValid: isValid, - isInvalid: isInvalid, - disabled: disabled, - as: inputAs, - lang: lang - })); - - return /*#__PURE__*/_react.default.createElement(_FormContext.default.Provider, { - value: innerFormContext - }, /*#__PURE__*/_react.default.createElement(Component, { - style: style, - className: (0, _classnames.default)(className, bsPrefix, custom && "custom-" + type) - }, children || /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, custom ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, input, hasLabel && /*#__PURE__*/_react.default.createElement(_FormFileLabel.default, { - "data-browse": dataBrowse - }, label)) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, hasLabel && /*#__PURE__*/_react.default.createElement(_FormFileLabel.default, null, label), input), (isValid || isInvalid) && /*#__PURE__*/_react.default.createElement(_Feedback.default, { - type: isValid ? 'valid' : 'invalid', - tooltip: feedbackTooltip - }, feedback)))); -}); - -FormFile.displayName = 'FormFile'; -FormFile.Input = _FormFileInput.default; -FormFile.Label = _FormFileLabel.default; -var _default = FormFile; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/FormFileInput.d.ts b/node_modules/react-bootstrap/cjs/FormFileInput.d.ts deleted file mode 100644 index 37f991df0bc925d94427b2a13b415e1446cd2eaf..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormFileInput.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { BsCustomPrefixProps, BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers'; -export interface FormFileInputProps extends BsPrefixProps, BsCustomPrefixProps { - id?: string; - isValid?: boolean; - isInvalid?: boolean; - lang?: string; -} -declare type FormFileInput = BsPrefixRefForwardingComponent<'input', FormFileInputProps>; -declare const FormFileInput: FormFileInput; -export default FormFileInput; diff --git a/node_modules/react-bootstrap/cjs/FormFileInput.js b/node_modules/react-bootstrap/cjs/FormFileInput.js deleted file mode 100644 index d8630fb1cb84eeedaf99fd24dac8cd942296709d..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormFileInput.js +++ /dev/null @@ -1,57 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireWildcard(require("react")); - -var _FormContext = _interopRequireDefault(require("./FormContext")); - -var _ThemeProvider = require("./ThemeProvider"); - -var FormFileInput = _react.default.forwardRef(function (_ref, ref) { - var id = _ref.id, - bsPrefix = _ref.bsPrefix, - bsCustomPrefix = _ref.bsCustomPrefix, - className = _ref.className, - isValid = _ref.isValid, - isInvalid = _ref.isInvalid, - lang = _ref.lang, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'input' : _ref$as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["id", "bsPrefix", "bsCustomPrefix", "className", "isValid", "isInvalid", "lang", "as"]); - - var _useContext = (0, _react.useContext)(_FormContext.default), - controlId = _useContext.controlId, - custom = _useContext.custom; - - var type = 'file'; - - var _ref2 = custom ? [bsCustomPrefix, 'custom-file-input'] : [bsPrefix, 'form-control-file'], - prefix = _ref2[0], - defaultPrefix = _ref2[1]; - - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(prefix, defaultPrefix); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, props, { - ref: ref, - id: id || controlId, - type: type, - lang: lang, - className: (0, _classnames.default)(className, bsPrefix, isValid && 'is-valid', isInvalid && 'is-invalid') - })); -}); - -FormFileInput.displayName = 'FormFileInput'; -var _default = FormFileInput; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/FormFileLabel.d.ts b/node_modules/react-bootstrap/cjs/FormFileLabel.d.ts deleted file mode 100644 index 749cd930bd56469e0390bbbef783d15062636cdf..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormFileLabel.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { BsCustomPrefixProps, BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers'; -export interface FormFileLabelProps extends BsPrefixProps, BsCustomPrefixProps { - htmlFor?: string; -} -declare type FormFileLabel = BsPrefixRefForwardingComponent<'label', FormFileLabelProps>; -declare const FormFileLabel: FormFileLabel; -export default FormFileLabel; diff --git a/node_modules/react-bootstrap/cjs/FormFileLabel.js b/node_modules/react-bootstrap/cjs/FormFileLabel.js deleted file mode 100644 index f33b134d6ccfef7597f77f4661d717d5449607b8..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormFileLabel.js +++ /dev/null @@ -1,49 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireWildcard(require("react")); - -var _FormContext = _interopRequireDefault(require("./FormContext")); - -var _ThemeProvider = require("./ThemeProvider"); - -var FormFileLabel = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - bsCustomPrefix = _ref.bsCustomPrefix, - className = _ref.className, - htmlFor = _ref.htmlFor, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "bsCustomPrefix", "className", "htmlFor"]); - - var _useContext = (0, _react.useContext)(_FormContext.default), - controlId = _useContext.controlId, - custom = _useContext.custom; - - var _ref2 = custom ? [bsCustomPrefix, 'custom-file-label'] : [bsPrefix, 'form-file-label'], - prefix = _ref2[0], - defaultPrefix = _ref2[1]; - - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(prefix, defaultPrefix); - return /*#__PURE__*/_react.default.createElement("label", (0, _extends2.default)({}, props, { - ref: ref, - htmlFor: htmlFor || controlId, - className: (0, _classnames.default)(className, bsPrefix), - "data-browse": props['data-browse'] - })); -}); - -FormFileLabel.displayName = 'FormFileLabel'; -var _default = FormFileLabel; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/FormGroup.d.ts b/node_modules/react-bootstrap/cjs/FormGroup.d.ts deleted file mode 100644 index cb07ace1fcde7742501b18f5052a89b16f8bcb00..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormGroup.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export interface FormGroupProps extends BsPrefixPropsWithChildren { - controlId?: string; -} -declare type FormGroup = BsPrefixRefForwardingComponent<'div', FormGroupProps>; -declare const FormGroup: FormGroup; -export default FormGroup; diff --git a/node_modules/react-bootstrap/cjs/FormGroup.js b/node_modules/react-bootstrap/cjs/FormGroup.js deleted file mode 100644 index ea284acbdb57b2993598b5b13b4b2f00b1cfc9e1..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormGroup.js +++ /dev/null @@ -1,47 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireWildcard(require("react")); - -var _FormContext = _interopRequireDefault(require("./FormContext")); - -var _ThemeProvider = require("./ThemeProvider"); - -var FormGroup = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - children = _ref.children, - controlId = _ref.controlId, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "children", "controlId", "as"]); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'form-group'); - var context = (0, _react.useMemo)(function () { - return { - controlId: controlId - }; - }, [controlId]); - return /*#__PURE__*/_react.default.createElement(_FormContext.default.Provider, { - value: context - }, /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, props, { - ref: ref, - className: (0, _classnames.default)(className, bsPrefix) - }), children)); -}); - -FormGroup.displayName = 'FormGroup'; -var _default = FormGroup; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/FormLabel.d.ts b/node_modules/react-bootstrap/cjs/FormLabel.d.ts deleted file mode 100644 index 2cad8e463a5b92d8bf61741310f46c6a3b3a0915..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormLabel.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { ColProps } from './Col'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -interface FormLabelBaseProps extends BsPrefixPropsWithChildren { - htmlFor?: string; - srOnly?: boolean; -} -export interface FormLabelOwnProps extends FormLabelBaseProps { - column?: false; -} -export interface FormLabelWithColProps extends FormLabelBaseProps, ColProps { - column: true | 'sm' | 'lg'; -} -export declare type FormLabelProps = FormLabelWithColProps | FormLabelOwnProps; -declare type FormLabel = BsPrefixRefForwardingComponent<'label', FormLabelProps>; -declare const FormLabel: FormLabel; -export default FormLabel; diff --git a/node_modules/react-bootstrap/cjs/FormLabel.js b/node_modules/react-bootstrap/cjs/FormLabel.js deleted file mode 100644 index 5becfd262be120b6bdeffb33700e89c0b9d77ced..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormLabel.js +++ /dev/null @@ -1,70 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireWildcard(require("react")); - -var _warning = _interopRequireDefault(require("warning")); - -var _Col = _interopRequireDefault(require("./Col")); - -var _FormContext = _interopRequireDefault(require("./FormContext")); - -var _ThemeProvider = require("./ThemeProvider"); - -var defaultProps = { - column: false, - srOnly: false -}; - -var FormLabel = _react.default.forwardRef(function (_ref, ref) { - var _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'label' : _ref$as, - bsPrefix = _ref.bsPrefix, - column = _ref.column, - srOnly = _ref.srOnly, - className = _ref.className, - htmlFor = _ref.htmlFor, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["as", "bsPrefix", "column", "srOnly", "className", "htmlFor"]); - - var _useContext = (0, _react.useContext)(_FormContext.default), - controlId = _useContext.controlId; - - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'form-label'); - var columnClass = 'col-form-label'; - if (typeof column === 'string') columnClass = columnClass + " " + columnClass + "-" + column; - var classes = (0, _classnames.default)(className, bsPrefix, srOnly && 'sr-only', column && columnClass); - process.env.NODE_ENV !== "production" ? (0, _warning.default)(controlId == null || !htmlFor, '`controlId` is ignored on `` when `htmlFor` is specified.') : void 0; - htmlFor = htmlFor || controlId; - if (column) return /*#__PURE__*/_react.default.createElement(_Col.default, (0, _extends2.default)({ - as: "label", - className: classes, - htmlFor: htmlFor - }, props)); - return ( - /*#__PURE__*/ - // eslint-disable-next-line jsx-a11y/label-has-for, jsx-a11y/label-has-associated-control - _react.default.createElement(Component, (0, _extends2.default)({ - ref: ref, - className: classes, - htmlFor: htmlFor - }, props)) - ); -}); - -FormLabel.displayName = 'FormLabel'; -FormLabel.defaultProps = defaultProps; -var _default = FormLabel; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/FormText.d.ts b/node_modules/react-bootstrap/cjs/FormText.d.ts deleted file mode 100644 index f43a7c8a7e17ffa13f9ce0674df5a3af85d09334..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormText.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers'; -export interface FormTextProps extends BsPrefixProps { - muted?: boolean; -} -declare type FormText = BsPrefixRefForwardingComponent<'small', FormTextProps>; -declare const FormText: FormText; -export default FormText; diff --git a/node_modules/react-bootstrap/cjs/FormText.js b/node_modules/react-bootstrap/cjs/FormText.js deleted file mode 100644 index 37d083b5a8a8fd8b53811f141b5d0ee99d185b00..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/FormText.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var FormText = _react.default.forwardRef( // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595 -function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'small' : _ref$as, - muted = _ref.muted, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "as", "muted"]); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'form-text'); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, props, { - ref: ref, - className: (0, _classnames.default)(className, bsPrefix, muted && 'text-muted') - })); -}); - -FormText.displayName = 'FormText'; -var _default = FormText; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Image.d.ts b/node_modules/react-bootstrap/cjs/Image.d.ts deleted file mode 100644 index 3213c0c7c8b42a8dc39a2aec4ec61a0a0c871f83..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Image.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import React from 'react'; -import PropTypes from 'prop-types'; -import { BsPrefixAndClassNameOnlyProps } from './helpers'; -export interface ImageProps extends BsPrefixAndClassNameOnlyProps, React.ImgHTMLAttributes { - fluid?: boolean; - rounded?: boolean; - roundedCircle?: boolean; - thumbnail?: boolean; -} -export declare const propTypes: { - /** - * @default 'img' - */ - bsPrefix: PropTypes.Requireable; - /** - * Sets image as fluid image. - */ - fluid: PropTypes.Requireable; - /** - * Sets image shape as rounded. - */ - rounded: PropTypes.Requireable; - /** - * Sets image shape as circle. - */ - roundedCircle: PropTypes.Requireable; - /** - * Sets image shape as thumbnail. - */ - thumbnail: PropTypes.Requireable; -}; -declare const Image: React.ForwardRefExoticComponent>; -export default Image; diff --git a/node_modules/react-bootstrap/cjs/Image.js b/node_modules/react-bootstrap/cjs/Image.js deleted file mode 100644 index 48ad9e7a7b9b7df7b9db3d4fe8404650f85cb0ef..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Image.js +++ /dev/null @@ -1,75 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = exports.propTypes = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _propTypes = _interopRequireDefault(require("prop-types")); - -var _ThemeProvider = require("./ThemeProvider"); - -var propTypes = { - /** - * @default 'img' - */ - bsPrefix: _propTypes.default.string, - - /** - * Sets image as fluid image. - */ - fluid: _propTypes.default.bool, - - /** - * Sets image shape as rounded. - */ - rounded: _propTypes.default.bool, - - /** - * Sets image shape as circle. - */ - roundedCircle: _propTypes.default.bool, - - /** - * Sets image shape as thumbnail. - */ - thumbnail: _propTypes.default.bool -}; -exports.propTypes = propTypes; -var defaultProps = { - fluid: false, - rounded: false, - roundedCircle: false, - thumbnail: false -}; - -var Image = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - fluid = _ref.fluid, - rounded = _ref.rounded, - roundedCircle = _ref.roundedCircle, - thumbnail = _ref.thumbnail, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "fluid", "rounded", "roundedCircle", "thumbnail"]); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'img'); - var classes = (0, _classnames.default)(fluid && bsPrefix + "-fluid", rounded && "rounded", roundedCircle && "rounded-circle", thumbnail && bsPrefix + "-thumbnail"); - return /*#__PURE__*/_react.default.createElement("img", (0, _extends2.default)({ - // eslint-disable-line jsx-a11y/alt-text - ref: ref - }, props, { - className: (0, _classnames.default)(className, classes) - })); -}); - -Image.displayName = 'Image'; -Image.defaultProps = defaultProps; -var _default = Image; -exports.default = _default; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/InputGroup.d.ts b/node_modules/react-bootstrap/cjs/InputGroup.d.ts deleted file mode 100644 index 98dd4419857fdf75c6efca4dba532b3f89c19707..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/InputGroup.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -/// -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -declare const InputGroupAppend: BsPrefixRefForwardingComponent<"div", unknown>; -declare const InputGroupPrepend: BsPrefixRefForwardingComponent<"div", unknown>; -declare const InputGroupText: BsPrefixRefForwardingComponent<"span", unknown>; -declare const InputGroupCheckbox: (props: any) => JSX.Element; -declare const InputGroupRadio: (props: any) => JSX.Element; -export interface InputGroupProps extends BsPrefixPropsWithChildren { - size?: 'sm' | 'lg'; -} -declare type InputGroupExtras = { - Append: typeof InputGroupAppend; - Prepend: typeof InputGroupPrepend; - Text: typeof InputGroupText; - Checkbox: typeof InputGroupCheckbox; - Radio: typeof InputGroupRadio; -}; -declare type InputGroup = BsPrefixRefForwardingComponent<'div', InputGroupProps>; -/** - * - * @property {InputGroupAppend} Append - * @property {InputGroupPrepend} Prepend - * @property {InputGroupText} Text - * @property {InputGroupRadio} Radio - * @property {InputGroupCheckbox} Checkbox - */ -declare const InputGroup: InputGroup; -declare const InputGroupWithExtras: InputGroup & InputGroupExtras; -export default InputGroupWithExtras; diff --git a/node_modules/react-bootstrap/cjs/InputGroup.js b/node_modules/react-bootstrap/cjs/InputGroup.js deleted file mode 100644 index 6a0261626c6233aacdd3ed1051b0f8d7dbb00a99..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/InputGroup.js +++ /dev/null @@ -1,71 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _createWithBsPrefix = _interopRequireDefault(require("./createWithBsPrefix")); - -var _ThemeProvider = require("./ThemeProvider"); - -var InputGroupAppend = (0, _createWithBsPrefix.default)('input-group-append'); -var InputGroupPrepend = (0, _createWithBsPrefix.default)('input-group-prepend'); -var InputGroupText = (0, _createWithBsPrefix.default)('input-group-text', { - Component: 'span' -}); - -var InputGroupCheckbox = function InputGroupCheckbox(props) { - return /*#__PURE__*/_react.default.createElement(InputGroupText, null, /*#__PURE__*/_react.default.createElement("input", (0, _extends2.default)({ - type: "checkbox" - }, props))); -}; - -var InputGroupRadio = function InputGroupRadio(props) { - return /*#__PURE__*/_react.default.createElement(InputGroupText, null, /*#__PURE__*/_react.default.createElement("input", (0, _extends2.default)({ - type: "radio" - }, props))); -}; - -/** - * - * @property {InputGroupAppend} Append - * @property {InputGroupPrepend} Prepend - * @property {InputGroupText} Text - * @property {InputGroupRadio} Radio - * @property {InputGroupCheckbox} Checkbox - */ -var InputGroup = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - size = _ref.size, - className = _ref.className, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "size", "className", "as"]); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'input-group'); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: ref - }, props, { - className: (0, _classnames.default)(className, bsPrefix, size && bsPrefix + "-" + size) - })); -}); - -InputGroup.displayName = 'InputGroup'; -var InputGroupWithExtras = (0, _extends2.default)({}, InputGroup, { - Text: InputGroupText, - Radio: InputGroupRadio, - Checkbox: InputGroupCheckbox, - Append: InputGroupAppend, - Prepend: InputGroupPrepend -}); -var _default = InputGroupWithExtras; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Jumbotron.d.ts b/node_modules/react-bootstrap/cjs/Jumbotron.d.ts deleted file mode 100644 index e9a51b009c404648cbecd75dd63ab71c0e08ab4a..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Jumbotron.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers'; -export interface JumbotronProps extends BsPrefixProps { - fluid?: boolean; -} -declare type Jumbotron = BsPrefixRefForwardingComponent<'div', JumbotronProps>; -declare const Jumbotron: Jumbotron; -export default Jumbotron; diff --git a/node_modules/react-bootstrap/cjs/Jumbotron.js b/node_modules/react-bootstrap/cjs/Jumbotron.js deleted file mode 100644 index 316f37b710ae26ec9f60d16a5d252d7bec49166b..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Jumbotron.js +++ /dev/null @@ -1,44 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _react = _interopRequireDefault(require("react")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _ThemeProvider = require("./ThemeProvider"); - -var defaultProps = { - fluid: false -}; - -var Jumbotron = _react.default.forwardRef(function (_ref, ref) { - var _classes; - - var _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - className = _ref.className, - fluid = _ref.fluid, - bsPrefix = _ref.bsPrefix, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["as", "className", "fluid", "bsPrefix"]); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'jumbotron'); - var classes = (_classes = {}, _classes[bsPrefix] = true, _classes[bsPrefix + "-fluid"] = fluid, _classes); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: ref - }, props, { - className: (0, _classnames.default)(className, classes) - })); -}); - -Jumbotron.defaultProps = defaultProps; -Jumbotron.displayName = 'Jumbotron'; -var _default = Jumbotron; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/ListGroup.d.ts b/node_modules/react-bootstrap/cjs/ListGroup.d.ts deleted file mode 100644 index 11dfae1a6094a8f918d250d19607b9a9324eafd8..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ListGroup.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import ListGroupItem from './ListGroupItem'; -import { BsPrefixProps, BsPrefixRefForwardingComponent, SelectCallback } from './helpers'; -export interface ListGroupProps extends BsPrefixProps { - variant?: 'flush'; - horizontal?: boolean | 'sm' | 'md' | 'lg' | 'xl'; - activeKey?: unknown; - defaultActiveKey?: unknown; - onSelect?: SelectCallback; -} -declare type ListGroup = BsPrefixRefForwardingComponent<'div', ListGroupProps> & { - Item: typeof ListGroupItem; -}; -declare const ListGroup: ListGroup; -export default ListGroup; diff --git a/node_modules/react-bootstrap/cjs/ListGroup.js b/node_modules/react-bootstrap/cjs/ListGroup.js deleted file mode 100644 index 5244742ba5740d13d831c0412685b1b992aa5dfb..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ListGroup.js +++ /dev/null @@ -1,66 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _warning = _interopRequireDefault(require("warning")); - -var _uncontrollable = require("uncontrollable"); - -var _ThemeProvider = require("./ThemeProvider"); - -var _AbstractNav = _interopRequireDefault(require("./AbstractNav")); - -var _ListGroupItem = _interopRequireDefault(require("./ListGroupItem")); - -var defaultProps = { - variant: undefined, - horizontal: undefined -}; - -var ListGroup = _react.default.forwardRef(function (props, ref) { - var _useUncontrolled = (0, _uncontrollable.useUncontrolled)(props, { - activeKey: 'onSelect' - }), - className = _useUncontrolled.className, - initialBsPrefix = _useUncontrolled.bsPrefix, - variant = _useUncontrolled.variant, - horizontal = _useUncontrolled.horizontal, - _useUncontrolled$as = _useUncontrolled.as, - as = _useUncontrolled$as === void 0 ? 'div' : _useUncontrolled$as, - controlledProps = (0, _objectWithoutPropertiesLoose2.default)(_useUncontrolled, ["className", "bsPrefix", "variant", "horizontal", "as"]); - - var bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(initialBsPrefix, 'list-group'); - var horizontalVariant; - - if (horizontal) { - horizontalVariant = horizontal === true ? 'horizontal' : "horizontal-" + horizontal; - } else { - horizontalVariant = null; - } - - process.env.NODE_ENV !== "production" ? (0, _warning.default)(!(horizontal && variant === 'flush'), '`variant="flush"` and `horizontal` should not be used together.') : void 0; - return /*#__PURE__*/_react.default.createElement(_AbstractNav.default, (0, _extends2.default)({ - ref: ref - }, controlledProps, { - as: as, - className: (0, _classnames.default)(className, bsPrefix, variant && bsPrefix + "-" + variant, horizontalVariant && bsPrefix + "-" + horizontalVariant) - })); -}); - -ListGroup.defaultProps = defaultProps; -ListGroup.displayName = 'ListGroup'; -ListGroup.Item = _ListGroupItem.default; -var _default = ListGroup; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/ListGroupItem.d.ts b/node_modules/react-bootstrap/cjs/ListGroupItem.d.ts deleted file mode 100644 index d0df04482b5eccaa429be383ae1567624500c67b..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ListGroupItem.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import React from 'react'; -import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers'; -import { Variant } from './types'; -export interface ListGroupItemProps extends BsPrefixProps { - action?: boolean; - active?: boolean; - disabled?: boolean; - eventKey?: string; - href?: string; - onClick?: React.MouseEventHandler; - variant?: Variant; -} -declare type ListGroupItem = BsPrefixRefForwardingComponent<'a', ListGroupItemProps>; -declare const ListGroupItem: ListGroupItem; -export default ListGroupItem; diff --git a/node_modules/react-bootstrap/cjs/ListGroupItem.js b/node_modules/react-bootstrap/cjs/ListGroupItem.js deleted file mode 100644 index d62444d6cf3f8a0281078a94a1554fb4963a1d14..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ListGroupItem.js +++ /dev/null @@ -1,67 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireWildcard(require("react")); - -var _AbstractNavItem = _interopRequireDefault(require("./AbstractNavItem")); - -var _SelectableContext = require("./SelectableContext"); - -var _ThemeProvider = require("./ThemeProvider"); - -var defaultProps = { - variant: undefined, - active: false, - disabled: false -}; - -var ListGroupItem = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - active = _ref.active, - disabled = _ref.disabled, - className = _ref.className, - variant = _ref.variant, - action = _ref.action, - as = _ref.as, - eventKey = _ref.eventKey, - onClick = _ref.onClick, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "active", "disabled", "className", "variant", "action", "as", "eventKey", "onClick"]); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'list-group-item'); - var handleClick = (0, _react.useCallback)(function (event) { - if (disabled) { - event.preventDefault(); - event.stopPropagation(); - return; - } - - if (onClick) onClick(event); - }, [disabled, onClick]); - return /*#__PURE__*/_react.default.createElement(_AbstractNavItem.default, (0, _extends2.default)({ - ref: ref - }, props, { - // TODO: Restrict eventKey to string in v5? - eventKey: (0, _SelectableContext.makeEventKey)(eventKey, props.href) // eslint-disable-next-line no-nested-ternary - , - as: as || (action ? props.href ? 'a' : 'button' : 'div'), - onClick: handleClick, - className: (0, _classnames.default)(className, bsPrefix, active && 'active', disabled && 'disabled', variant && bsPrefix + "-" + variant, action && bsPrefix + "-action") - })); -}); - -ListGroupItem.defaultProps = defaultProps; -ListGroupItem.displayName = 'ListGroupItem'; -var _default = ListGroupItem; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Media.d.ts b/node_modules/react-bootstrap/cjs/Media.d.ts deleted file mode 100644 index 3bec40b867955e4220e7196f4a56a26236fcbd2a..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Media.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers'; -declare const MediaBody: BsPrefixRefForwardingComponent<"div", unknown>; -declare type MediaProps = BsPrefixProps; -declare type Media = BsPrefixRefForwardingComponent<'div', MediaProps> & { - Body: typeof MediaBody; -}; -declare const Media: Media; -export default Media; diff --git a/node_modules/react-bootstrap/cjs/Media.js b/node_modules/react-bootstrap/cjs/Media.js deleted file mode 100644 index 2e6393bdb96d0b32dcf0a0e2eaa1dc619625f449..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Media.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _createWithBsPrefix = _interopRequireDefault(require("./createWithBsPrefix")); - -var _ThemeProvider = require("./ThemeProvider"); - -var MediaBody = (0, _createWithBsPrefix.default)('media-body'); - -var Media = _react.default.forwardRef( // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595 -function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "as"]); - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'media'); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, props, { - ref: ref, - className: (0, _classnames.default)(className, prefix) - })); -}); - -Media.displayName = 'Media'; -Media.Body = MediaBody; -var _default = Media; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Modal.d.ts b/node_modules/react-bootstrap/cjs/Modal.d.ts deleted file mode 100644 index b18072de11c1fe409801958b4a8016ae7bfafba8..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Modal.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import React from 'react'; -import { ModalProps as BaseModalProps } from 'react-overlays/Modal'; -import ModalBody from './ModalBody'; -import ModalDialog from './ModalDialog'; -import ModalFooter from './ModalFooter'; -import ModalHeader from './ModalHeader'; -import ModalTitle from './ModalTitle'; -import { BsPrefixRefForwardingComponent } from './helpers'; -export interface ModalProps extends Omit { - size?: 'sm' | 'lg' | 'xl'; - bsPrefix?: string; - centered?: boolean; - backdropClassName?: string; - animation?: boolean; - dialogClassName?: string; - contentClassName?: string; - dialogAs?: React.ElementType; - scrollable?: boolean; -} -declare type Modal = BsPrefixRefForwardingComponent<'div', ModalProps> & { - Body: typeof ModalBody; - Header: typeof ModalHeader; - Title: typeof ModalTitle; - Footer: typeof ModalFooter; - Dialog: typeof ModalDialog; - TRANSITION_DURATION: number; - BACKDROP_TRANSITION_DURATION: number; -}; -declare const Modal: Modal; -export default Modal; diff --git a/node_modules/react-bootstrap/cjs/Modal.js b/node_modules/react-bootstrap/cjs/Modal.js deleted file mode 100644 index 6d8bcf2cafba7e063031d81fdbaea8d5f7216130..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Modal.js +++ /dev/null @@ -1,345 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _addEventListener = _interopRequireDefault(require("dom-helpers/addEventListener")); - -var _canUseDOM = _interopRequireDefault(require("dom-helpers/canUseDOM")); - -var _ownerDocument = _interopRequireDefault(require("dom-helpers/ownerDocument")); - -var _removeEventListener = _interopRequireDefault(require("dom-helpers/removeEventListener")); - -var _scrollbarSize = _interopRequireDefault(require("dom-helpers/scrollbarSize")); - -var _useCallbackRef2 = _interopRequireDefault(require("@restart/hooks/useCallbackRef")); - -var _useEventCallback = _interopRequireDefault(require("@restart/hooks/useEventCallback")); - -var _useWillUnmount = _interopRequireDefault(require("@restart/hooks/useWillUnmount")); - -var _transitionEnd = _interopRequireDefault(require("dom-helpers/transitionEnd")); - -var _react = _interopRequireWildcard(require("react")); - -var _Modal = _interopRequireDefault(require("react-overlays/Modal")); - -var _warning = _interopRequireDefault(require("warning")); - -var _BootstrapModalManager = _interopRequireDefault(require("./BootstrapModalManager")); - -var _Fade = _interopRequireDefault(require("./Fade")); - -var _ModalBody = _interopRequireDefault(require("./ModalBody")); - -var _ModalContext = _interopRequireDefault(require("./ModalContext")); - -var _ModalDialog = _interopRequireDefault(require("./ModalDialog")); - -var _ModalFooter = _interopRequireDefault(require("./ModalFooter")); - -var _ModalHeader = _interopRequireDefault(require("./ModalHeader")); - -var _ModalTitle = _interopRequireDefault(require("./ModalTitle")); - -var _ThemeProvider = require("./ThemeProvider"); - -var manager; -var defaultProps = { - show: false, - backdrop: true, - keyboard: true, - autoFocus: true, - enforceFocus: true, - restoreFocus: true, - animation: true, - dialogAs: _ModalDialog.default -}; -/* eslint-disable no-use-before-define, react/no-multi-comp */ - -function DialogTransition(props) { - return /*#__PURE__*/_react.default.createElement(_Fade.default, props); -} - -function BackdropTransition(props) { - return /*#__PURE__*/_react.default.createElement(_Fade.default, props); -} -/* eslint-enable no-use-before-define */ - - -var Modal = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - style = _ref.style, - dialogClassName = _ref.dialogClassName, - contentClassName = _ref.contentClassName, - children = _ref.children, - Dialog = _ref.dialogAs, - ariaLabelledby = _ref['aria-labelledby'], - show = _ref.show, - animation = _ref.animation, - backdrop = _ref.backdrop, - keyboard = _ref.keyboard, - onEscapeKeyDown = _ref.onEscapeKeyDown, - onShow = _ref.onShow, - onHide = _ref.onHide, - container = _ref.container, - autoFocus = _ref.autoFocus, - enforceFocus = _ref.enforceFocus, - restoreFocus = _ref.restoreFocus, - restoreFocusOptions = _ref.restoreFocusOptions, - onEntered = _ref.onEntered, - onExit = _ref.onExit, - onExiting = _ref.onExiting, - onEnter = _ref.onEnter, - onEntering = _ref.onEntering, - onExited = _ref.onExited, - backdropClassName = _ref.backdropClassName, - propsManager = _ref.manager, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "style", "dialogClassName", "contentClassName", "children", "dialogAs", "aria-labelledby", "show", "animation", "backdrop", "keyboard", "onEscapeKeyDown", "onShow", "onHide", "container", "autoFocus", "enforceFocus", "restoreFocus", "restoreFocusOptions", "onEntered", "onExit", "onExiting", "onEnter", "onEntering", "onExited", "backdropClassName", "manager"]); - - var _useState = (0, _react.useState)({}), - modalStyle = _useState[0], - setStyle = _useState[1]; - - var _useState2 = (0, _react.useState)(false), - animateStaticModal = _useState2[0], - setAnimateStaticModal = _useState2[1]; - - var waitingForMouseUpRef = (0, _react.useRef)(false); - var ignoreBackdropClickRef = (0, _react.useRef)(false); - var removeStaticModalAnimationRef = (0, _react.useRef)(null); // TODO: what's this type - - var _useCallbackRef = (0, _useCallbackRef2.default)(), - modal = _useCallbackRef[0], - setModalRef = _useCallbackRef[1]; - - var handleHide = (0, _useEventCallback.default)(onHide); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'modal'); - (0, _react.useImperativeHandle)(ref, function () { - return { - get _modal() { - process.env.NODE_ENV !== "production" ? (0, _warning.default)(false, 'Accessing `_modal` is not supported and will be removed in a future release') : void 0; - return modal; - } - - }; - }, [modal]); - var modalContext = (0, _react.useMemo)(function () { - return { - onHide: handleHide - }; - }, [handleHide]); - - function getModalManager() { - if (propsManager) return propsManager; - if (!manager) manager = new _BootstrapModalManager.default(); - return manager; - } - - function updateDialogStyle(node) { - if (!_canUseDOM.default) return; - var containerIsOverflowing = getModalManager().isContainerOverflowing(modal); - var modalIsOverflowing = node.scrollHeight > (0, _ownerDocument.default)(node).documentElement.clientHeight; - setStyle({ - paddingRight: containerIsOverflowing && !modalIsOverflowing ? (0, _scrollbarSize.default)() : undefined, - paddingLeft: !containerIsOverflowing && modalIsOverflowing ? (0, _scrollbarSize.default)() : undefined - }); - } - - var handleWindowResize = (0, _useEventCallback.default)(function () { - if (modal) { - updateDialogStyle(modal.dialog); - } - }); - (0, _useWillUnmount.default)(function () { - (0, _removeEventListener.default)(window, 'resize', handleWindowResize); - - if (removeStaticModalAnimationRef.current) { - removeStaticModalAnimationRef.current(); - } - }); // We prevent the modal from closing during a drag by detecting where the - // the click originates from. If it starts in the modal and then ends outside - // don't close. - - var handleDialogMouseDown = function handleDialogMouseDown() { - waitingForMouseUpRef.current = true; - }; - - var handleMouseUp = function handleMouseUp(e) { - if (waitingForMouseUpRef.current && modal && e.target === modal.dialog) { - ignoreBackdropClickRef.current = true; - } - - waitingForMouseUpRef.current = false; - }; - - var handleStaticModalAnimation = function handleStaticModalAnimation() { - setAnimateStaticModal(true); - removeStaticModalAnimationRef.current = (0, _transitionEnd.default)(modal.dialog, function () { - setAnimateStaticModal(false); - }); - }; - - var handleStaticBackdropClick = function handleStaticBackdropClick(e) { - if (e.target !== e.currentTarget) { - return; - } - - handleStaticModalAnimation(); - }; - - var handleClick = function handleClick(e) { - if (backdrop === 'static') { - handleStaticBackdropClick(e); - return; - } - - if (ignoreBackdropClickRef.current || e.target !== e.currentTarget) { - ignoreBackdropClickRef.current = false; - return; - } - - onHide(); - }; - - var handleEscapeKeyDown = function handleEscapeKeyDown(e) { - if (!keyboard && backdrop === 'static') { - // Call preventDefault to stop modal from closing in react-overlays, - // then play our animation. - e.preventDefault(); - handleStaticModalAnimation(); - } else if (keyboard && onEscapeKeyDown) { - onEscapeKeyDown(e); - } - }; - - var handleEnter = function handleEnter(node) { - if (node) { - node.style.display = 'block'; - updateDialogStyle(node); - } - - for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - if (onEnter) onEnter.apply(void 0, [node].concat(args)); - }; - - var handleExit = function handleExit(node) { - if (removeStaticModalAnimationRef.current) { - removeStaticModalAnimationRef.current(); - } - - for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { - args[_key2 - 1] = arguments[_key2]; - } - - if (onExit) onExit.apply(void 0, [node].concat(args)); - }; - - var handleEntering = function handleEntering(node) { - for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) { - args[_key3 - 1] = arguments[_key3]; - } - - if (onEntering) onEntering.apply(void 0, [node].concat(args)); // FIXME: This should work even when animation is disabled. - - (0, _addEventListener.default)(window, 'resize', handleWindowResize); - }; - - var handleExited = function handleExited(node) { - if (node) node.style.display = ''; // RHL removes it sometimes - - for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) { - args[_key4 - 1] = arguments[_key4]; - } - - if (onExited) onExited.apply(void 0, args); // FIXME: This should work even when animation is disabled. - - (0, _removeEventListener.default)(window, 'resize', handleWindowResize); - }; - - var renderBackdrop = (0, _react.useCallback)(function (backdropProps) { - return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({}, backdropProps, { - className: (0, _classnames.default)(bsPrefix + "-backdrop", backdropClassName, !animation && 'show') - })); - }, [animation, backdropClassName, bsPrefix]); - var baseModalStyle = (0, _extends2.default)({}, style, {}, modalStyle); // Sets `display` always block when `animation` is false - - if (!animation) { - baseModalStyle.display = 'block'; - } - - var renderDialog = function renderDialog(dialogProps) { - return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({ - role: "dialog" - }, dialogProps, { - style: baseModalStyle, - className: (0, _classnames.default)(className, bsPrefix, animateStaticModal && bsPrefix + "-static"), - onClick: backdrop ? handleClick : undefined, - onMouseUp: handleMouseUp, - "aria-labelledby": ariaLabelledby - }), /*#__PURE__*/_react.default.createElement(Dialog, (0, _extends2.default)({}, props, { - role: "document", - onMouseDown: handleDialogMouseDown, - className: dialogClassName, - contentClassName: contentClassName - }), children)); - }; - - return /*#__PURE__*/_react.default.createElement(_ModalContext.default.Provider, { - value: modalContext - }, /*#__PURE__*/_react.default.createElement(_Modal.default, { - show: show, - ref: setModalRef, - backdrop: backdrop, - container: container, - keyboard: true // Always set true - see handleEscapeKeyDown - , - autoFocus: autoFocus, - enforceFocus: enforceFocus, - restoreFocus: restoreFocus, - restoreFocusOptions: restoreFocusOptions, - onEscapeKeyDown: handleEscapeKeyDown, - onShow: onShow, - onHide: onHide, - onEnter: handleEnter, - onEntering: handleEntering, - onEntered: onEntered, - onExit: handleExit, - onExiting: onExiting, - onExited: handleExited, - manager: getModalManager(), - containerClassName: bsPrefix + "-open", - transition: animation ? DialogTransition : undefined, - backdropTransition: animation ? BackdropTransition : undefined, - renderBackdrop: renderBackdrop, - renderDialog: renderDialog - })); -}); - -Modal.displayName = 'Modal'; -Modal.defaultProps = defaultProps; -Modal.Body = _ModalBody.default; -Modal.Header = _ModalHeader.default; -Modal.Title = _ModalTitle.default; -Modal.Footer = _ModalFooter.default; -Modal.Dialog = _ModalDialog.default; -Modal.TRANSITION_DURATION = 300; -Modal.BACKDROP_TRANSITION_DURATION = 150; -var _default = Modal; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/ModalBody.d.ts b/node_modules/react-bootstrap/cjs/ModalBody.d.ts deleted file mode 100644 index 3b128ce8f1efd015f2e0520ff4eced950ddcae7e..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ModalBody.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("./helpers").BsPrefixRefForwardingComponent<"div", unknown>; -export default _default; diff --git a/node_modules/react-bootstrap/cjs/ModalBody.js b/node_modules/react-bootstrap/cjs/ModalBody.js deleted file mode 100644 index aa0825ecdbc3e3b1c1dcfc9838290e39d0a0124a..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ModalBody.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _createWithBsPrefix = _interopRequireDefault(require("./createWithBsPrefix")); - -var _default = (0, _createWithBsPrefix.default)('modal-body'); - -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/ModalContext.d.ts b/node_modules/react-bootstrap/cjs/ModalContext.d.ts deleted file mode 100644 index 895cd5fb1aad8536faebc4ba209c6a6347289b91..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ModalContext.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import React from 'react'; -interface ModalContextType { - onHide: () => void; -} -declare const ModalContext: React.Context; -export default ModalContext; diff --git a/node_modules/react-bootstrap/cjs/ModalContext.js b/node_modules/react-bootstrap/cjs/ModalContext.js deleted file mode 100644 index bc8773a575960e471b7424225ef520b783096d3e..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ModalContext.js +++ /dev/null @@ -1,17 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _react = _interopRequireDefault(require("react")); - -var ModalContext = _react.default.createContext({ - // eslint-disable-next-line @typescript-eslint/no-empty-function - onHide: function onHide() {} -}); - -var _default = ModalContext; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/ModalDialog.d.ts b/node_modules/react-bootstrap/cjs/ModalDialog.d.ts deleted file mode 100644 index 684302be0ecb8330e5ffa1c43c3cbe2742322e36..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ModalDialog.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import React from 'react'; -import { BsPrefixPropsWithChildren } from './helpers'; -export interface ModalDialogProps extends React.HTMLAttributes, BsPrefixPropsWithChildren { - size?: 'sm' | 'lg' | 'xl'; - centered?: boolean; - scrollable?: boolean; - contentClassName?: string; -} -declare const ModalDialog: React.ForwardRefExoticComponent>; -export default ModalDialog; diff --git a/node_modules/react-bootstrap/cjs/ModalDialog.js b/node_modules/react-bootstrap/cjs/ModalDialog.js deleted file mode 100644 index 50d3842a867fbc65c6d32f8f634a01a19443e836..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ModalDialog.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var ModalDialog = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - contentClassName = _ref.contentClassName, - centered = _ref.centered, - size = _ref.size, - children = _ref.children, - scrollable = _ref.scrollable, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "contentClassName", "centered", "size", "children", "scrollable"]); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'modal'); - var dialogClass = bsPrefix + "-dialog"; - return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({}, props, { - ref: ref, - className: (0, _classnames.default)(dialogClass, className, size && bsPrefix + "-" + size, centered && dialogClass + "-centered", scrollable && dialogClass + "-scrollable") - }), /*#__PURE__*/_react.default.createElement("div", { - className: (0, _classnames.default)(bsPrefix + "-content", contentClassName) - }, children)); -}); - -ModalDialog.displayName = 'ModalDialog'; -var _default = ModalDialog; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/ModalFooter.d.ts b/node_modules/react-bootstrap/cjs/ModalFooter.d.ts deleted file mode 100644 index 3b128ce8f1efd015f2e0520ff4eced950ddcae7e..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ModalFooter.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare const _default: import("./helpers").BsPrefixRefForwardingComponent<"div", unknown>; -export default _default; diff --git a/node_modules/react-bootstrap/cjs/ModalFooter.js b/node_modules/react-bootstrap/cjs/ModalFooter.js deleted file mode 100644 index 6ffed2489a80ed7ed735069133920e451203b5f3..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ModalFooter.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _createWithBsPrefix = _interopRequireDefault(require("./createWithBsPrefix")); - -var _default = (0, _createWithBsPrefix.default)('modal-footer'); - -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/ModalHeader.d.ts b/node_modules/react-bootstrap/cjs/ModalHeader.d.ts deleted file mode 100644 index bf12b9959a8e9395aff915ffc43bde525354b7d0..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ModalHeader.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import React from 'react'; -import { BsPrefixAndClassNameOnlyProps } from './helpers'; -export interface ModalHeaderProps extends React.PropsWithChildren, React.ComponentProps<'div'> { - closeLabel?: string; - closeButton?: boolean; - onHide?: () => void; -} -declare const ModalHeader: React.ForwardRefExoticComponent & React.RefAttributes>; -export default ModalHeader; diff --git a/node_modules/react-bootstrap/cjs/ModalHeader.js b/node_modules/react-bootstrap/cjs/ModalHeader.js deleted file mode 100644 index ee18a25154170115361db1c542df3189c419cdf0..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ModalHeader.js +++ /dev/null @@ -1,59 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireWildcard(require("react")); - -var _useEventCallback = _interopRequireDefault(require("@restart/hooks/useEventCallback")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _CloseButton = _interopRequireDefault(require("./CloseButton")); - -var _ModalContext = _interopRequireDefault(require("./ModalContext")); - -var defaultProps = { - closeLabel: 'Close', - closeButton: false -}; - -var ModalHeader = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - closeLabel = _ref.closeLabel, - closeButton = _ref.closeButton, - onHide = _ref.onHide, - className = _ref.className, - children = _ref.children, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "closeLabel", "closeButton", "onHide", "className", "children"]); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'modal-header'); - var context = (0, _react.useContext)(_ModalContext.default); - var handleClick = (0, _useEventCallback.default)(function () { - if (context) context.onHide(); - if (onHide) onHide(); - }); - return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({ - ref: ref - }, props, { - className: (0, _classnames.default)(className, bsPrefix) - }), children, closeButton && /*#__PURE__*/_react.default.createElement(_CloseButton.default, { - label: closeLabel, - onClick: handleClick - })); -}); - -ModalHeader.displayName = 'ModalHeader'; -ModalHeader.defaultProps = defaultProps; -var _default = ModalHeader; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/ModalTitle.d.ts b/node_modules/react-bootstrap/cjs/ModalTitle.d.ts deleted file mode 100644 index 15005b4eb0ca0ea3f6a26111bb773f4facb7a9df..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ModalTitle.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -/// -declare const _default: import("./helpers").BsPrefixRefForwardingComponent, HTMLDivElement>, "slot" | "style" | "title" | "className" | "key" | "onKeyDown" | "onSelect" | "role" | "color" | "id" | "lang" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is"> & import("react").RefAttributes>, unknown>; -export default _default; diff --git a/node_modules/react-bootstrap/cjs/ModalTitle.js b/node_modules/react-bootstrap/cjs/ModalTitle.js deleted file mode 100644 index 7ec430eb5f900f00701a7adb665a5e8889bbd1b7..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ModalTitle.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _createWithBsPrefix = _interopRequireDefault(require("./createWithBsPrefix")); - -var _divWithClassName = _interopRequireDefault(require("./divWithClassName")); - -var DivStyledAsH4 = (0, _divWithClassName.default)('h4'); - -var _default = (0, _createWithBsPrefix.default)('modal-title', { - Component: DivStyledAsH4 -}); - -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Nav.d.ts b/node_modules/react-bootstrap/cjs/Nav.d.ts deleted file mode 100644 index 2a90fad7dbc1e325c489cc83d8c9af46947c23fe..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Nav.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import React from 'react'; -import NavItem from './NavItem'; -import NavLink from './NavLink'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent, SelectCallback } from './helpers'; -export interface NavProps extends BsPrefixPropsWithChildren { - navbarBsPrefix?: string; - cardHeaderBsPrefix?: string; - variant?: 'tabs' | 'pills'; - activeKey?: unknown; - defaultActiveKey?: unknown; - fill?: boolean; - justify?: boolean; - onSelect?: SelectCallback; - role?: string; - navbar?: boolean; - onKeyDown?: React.KeyboardEventHandler; -} -declare type Nav = BsPrefixRefForwardingComponent<'div', NavProps> & { - Item: typeof NavItem; - Link: typeof NavLink; -}; -declare const Nav: Nav; -export default Nav; diff --git a/node_modules/react-bootstrap/cjs/Nav.js b/node_modules/react-bootstrap/cjs/Nav.js deleted file mode 100644 index 34ad2b34402c41b4e28686eb0ebd153136eafe3b..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Nav.js +++ /dev/null @@ -1,85 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _all = _interopRequireDefault(require("prop-types-extra/lib/all")); - -var _react = _interopRequireWildcard(require("react")); - -var _uncontrollable = require("uncontrollable"); - -var _ThemeProvider = require("./ThemeProvider"); - -var _NavbarContext = _interopRequireDefault(require("./NavbarContext")); - -var _CardContext = _interopRequireDefault(require("./CardContext")); - -var _AbstractNav = _interopRequireDefault(require("./AbstractNav")); - -var _NavItem = _interopRequireDefault(require("./NavItem")); - -var _NavLink = _interopRequireDefault(require("./NavLink")); - -var defaultProps = { - justify: false, - fill: false -}; - -var Nav = _react.default.forwardRef(function (uncontrolledProps, ref) { - var _classNames; - - var _useUncontrolled = (0, _uncontrollable.useUncontrolled)(uncontrolledProps, { - activeKey: 'onSelect' - }), - _useUncontrolled$as = _useUncontrolled.as, - as = _useUncontrolled$as === void 0 ? 'div' : _useUncontrolled$as, - initialBsPrefix = _useUncontrolled.bsPrefix, - variant = _useUncontrolled.variant, - fill = _useUncontrolled.fill, - justify = _useUncontrolled.justify, - navbar = _useUncontrolled.navbar, - className = _useUncontrolled.className, - children = _useUncontrolled.children, - activeKey = _useUncontrolled.activeKey, - props = (0, _objectWithoutPropertiesLoose2.default)(_useUncontrolled, ["as", "bsPrefix", "variant", "fill", "justify", "navbar", "className", "children", "activeKey"]); - - var bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(initialBsPrefix, 'nav'); - var navbarBsPrefix; - var cardHeaderBsPrefix; - var isNavbar = false; - var navbarContext = (0, _react.useContext)(_NavbarContext.default); - var cardContext = (0, _react.useContext)(_CardContext.default); - - if (navbarContext) { - navbarBsPrefix = navbarContext.bsPrefix; - isNavbar = navbar == null ? true : navbar; - } else if (cardContext) { - cardHeaderBsPrefix = cardContext.cardHeaderBsPrefix; - } - - return /*#__PURE__*/_react.default.createElement(_AbstractNav.default, (0, _extends2.default)({ - as: as, - ref: ref, - activeKey: activeKey, - className: (0, _classnames.default)(className, (_classNames = {}, _classNames[bsPrefix] = !isNavbar, _classNames[navbarBsPrefix + "-nav"] = isNavbar, _classNames[cardHeaderBsPrefix + "-" + variant] = !!cardHeaderBsPrefix, _classNames[bsPrefix + "-" + variant] = !!variant, _classNames[bsPrefix + "-fill"] = fill, _classNames[bsPrefix + "-justified"] = justify, _classNames)) - }, props), children); -}); - -Nav.displayName = 'Nav'; -Nav.defaultProps = defaultProps; -Nav.Item = _NavItem.default; -Nav.Link = _NavLink.default; -var _default = Nav; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/NavContext.d.ts b/node_modules/react-bootstrap/cjs/NavContext.d.ts deleted file mode 100644 index 7f145c7f5461c353d698e63923081a458a78de58..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/NavContext.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import React from 'react'; -interface NavContextType { - role?: string; - activeKey: any; - getControlledId: (key: any) => any; - getControllerId: (key: any) => any; -} -declare const NavContext: React.Context; -export default NavContext; diff --git a/node_modules/react-bootstrap/cjs/NavContext.js b/node_modules/react-bootstrap/cjs/NavContext.js deleted file mode 100644 index 427572eef4b7389014fed19f34ebe795d2559d07..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/NavContext.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _react = _interopRequireDefault(require("react")); - -var NavContext = _react.default.createContext(null); - -NavContext.displayName = 'NavContext'; -var _default = NavContext; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/NavDropdown.d.ts b/node_modules/react-bootstrap/cjs/NavDropdown.d.ts deleted file mode 100644 index bafe57491ee39b6089361ef56f9a8130bf267879..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/NavDropdown.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import React from 'react'; -import Dropdown, { DropdownProps } from './Dropdown'; -import { BsPrefixRefForwardingComponent } from './helpers'; -export interface NavDropdownProps extends DropdownProps, Omit, 'onSelect' | 'title'> { - id: string; - title: React.ReactNode; - disabled?: boolean; - active?: boolean; - menuRole?: string; - renderMenuOnMount?: boolean; - rootCloseEvent?: 'click' | 'mousedown'; -} -declare type NavDropdown = BsPrefixRefForwardingComponent<'div', NavDropdownProps> & { - Item: typeof Dropdown.Item; - ItemText: typeof Dropdown.ItemText; - Divider: typeof Dropdown.Divider; - Header: typeof Dropdown.Header; -}; -declare const NavDropdown: NavDropdown; -export default NavDropdown; diff --git a/node_modules/react-bootstrap/cjs/NavDropdown.js b/node_modules/react-bootstrap/cjs/NavDropdown.js deleted file mode 100644 index cd9aec9dae1f11086f40e15453ea0cb394738452..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/NavDropdown.js +++ /dev/null @@ -1,96 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _react = _interopRequireDefault(require("react")); - -var _propTypes = _interopRequireDefault(require("prop-types")); - -var _Dropdown = _interopRequireDefault(require("./Dropdown")); - -var _NavItem = _interopRequireDefault(require("./NavItem")); - -var _NavLink = _interopRequireDefault(require("./NavLink")); - -var propTypes = { - /** - * An html id attribute for the Toggle button, necessary for assistive technologies, such as screen readers. - * @type {string|number} - * @required - */ - id: _propTypes.default.any, - - /** An `onClick` handler passed to the Toggle component */ - onClick: _propTypes.default.func, - - /** The content of the non-toggle Button. */ - title: _propTypes.default.node.isRequired, - - /** Disables the toggle NavLink */ - disabled: _propTypes.default.bool, - - /** Style the toggle NavLink as active */ - active: _propTypes.default.bool, - - /** An ARIA accessible role applied to the Menu component. When set to 'menu', The dropdown */ - menuRole: _propTypes.default.string, - - /** Whether to render the dropdown menu in the DOM before the first time it is shown */ - renderMenuOnMount: _propTypes.default.bool, - - /** - * Which event when fired outside the component will cause it to be closed. - * - * _see [DropdownMenu](#menu-props) for more details_ - */ - rootCloseEvent: _propTypes.default.string, - - /** @ignore */ - bsPrefix: _propTypes.default.string -}; - -var NavDropdown = _react.default.forwardRef(function (_ref, ref) { - var id = _ref.id, - title = _ref.title, - children = _ref.children, - bsPrefix = _ref.bsPrefix, - rootCloseEvent = _ref.rootCloseEvent, - menuRole = _ref.menuRole, - disabled = _ref.disabled, - active = _ref.active, - renderMenuOnMount = _ref.renderMenuOnMount, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["id", "title", "children", "bsPrefix", "rootCloseEvent", "menuRole", "disabled", "active", "renderMenuOnMount"]); - return /*#__PURE__*/_react.default.createElement(_Dropdown.default, (0, _extends2.default)({ - ref: ref - }, props, { - as: _NavItem.default - }), /*#__PURE__*/_react.default.createElement(_Dropdown.default.Toggle, { - id: id, - eventKey: null, - active: active, - disabled: disabled, - childBsPrefix: bsPrefix, - as: _NavLink.default - }, title), /*#__PURE__*/_react.default.createElement(_Dropdown.default.Menu, { - role: menuRole, - renderOnMount: renderMenuOnMount, - rootCloseEvent: rootCloseEvent - }, children)); -}); - -NavDropdown.displayName = 'NavDropdown'; -NavDropdown.propTypes = propTypes; -NavDropdown.Item = _Dropdown.default.Item; -NavDropdown.ItemText = _Dropdown.default.ItemText; -NavDropdown.Divider = _Dropdown.default.Divider; -NavDropdown.Header = _Dropdown.default.Header; -var _default = NavDropdown; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/NavItem.d.ts b/node_modules/react-bootstrap/cjs/NavItem.d.ts deleted file mode 100644 index 8aada13e0edc6e7a6939afa9d59cfbca6dffbec0..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/NavItem.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export interface NavItemProps extends BsPrefixPropsWithChildren { - role?: string; -} -declare type NavItem = BsPrefixRefForwardingComponent<'div', NavItemProps>; -declare const NavItem: NavItem; -export default NavItem; diff --git a/node_modules/react-bootstrap/cjs/NavItem.js b/node_modules/react-bootstrap/cjs/NavItem.js deleted file mode 100644 index 1c522176d7ebd02c0358c542d4441cb1a3b5c149..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/NavItem.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var NavItem = _react.default.forwardRef( // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595 -function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - children = _ref.children, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "children", "as"]); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'nav-item'); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, props, { - ref: ref, - className: (0, _classnames.default)(className, bsPrefix) - }), children); -}); - -NavItem.displayName = 'NavItem'; -var _default = NavItem; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/NavLink.d.ts b/node_modules/react-bootstrap/cjs/NavLink.d.ts deleted file mode 100644 index 35395e1c9aacf87ae4beabec4b202d9ae710d98c..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/NavLink.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent, SelectCallback } from './helpers'; -export interface NavLinkProps extends BsPrefixPropsWithChildren { - active?: boolean; - disabled?: boolean; - role?: string; - href?: string; - onSelect?: SelectCallback; - eventKey?: unknown; -} -declare type NavLink = BsPrefixRefForwardingComponent<'a', NavLinkProps>; -declare const NavLink: NavLink; -export default NavLink; diff --git a/node_modules/react-bootstrap/cjs/NavLink.js b/node_modules/react-bootstrap/cjs/NavLink.js deleted file mode 100644 index 7d9e56c9651eeafd52a5639fcba6ae927e60ee24..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/NavLink.js +++ /dev/null @@ -1,52 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _SafeAnchor = _interopRequireDefault(require("./SafeAnchor")); - -var _AbstractNavItem = _interopRequireDefault(require("./AbstractNavItem")); - -var _ThemeProvider = require("./ThemeProvider"); - -var defaultProps = { - disabled: false, - as: _SafeAnchor.default -}; - -var NavLink = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - disabled = _ref.disabled, - className = _ref.className, - href = _ref.href, - eventKey = _ref.eventKey, - onSelect = _ref.onSelect, - as = _ref.as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "disabled", "className", "href", "eventKey", "onSelect", "as"]); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'nav-link'); - return /*#__PURE__*/_react.default.createElement(_AbstractNavItem.default, (0, _extends2.default)({}, props, { - href: href, - ref: ref, - eventKey: eventKey, - as: as, - disabled: disabled, - onSelect: onSelect, - className: (0, _classnames.default)(className, bsPrefix, disabled && 'disabled') - })); -}); - -NavLink.displayName = 'NavLink'; -NavLink.defaultProps = defaultProps; -var _default = NavLink; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Navbar.d.ts b/node_modules/react-bootstrap/cjs/Navbar.d.ts deleted file mode 100644 index bb11c5ddd05cc9cbf739361d9ded17764b91d603..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Navbar.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import NavbarBrand from './NavbarBrand'; -import NavbarCollapse from './NavbarCollapse'; -import NavbarToggle from './NavbarToggle'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent, SelectCallback } from './helpers'; -declare const NavbarText: BsPrefixRefForwardingComponent<"span", unknown>; -export interface NavbarProps extends BsPrefixPropsWithChildren { - variant?: 'light' | 'dark'; - expand?: boolean | 'sm' | 'md' | 'lg' | 'xl'; - bg?: string; - fixed?: 'top' | 'bottom'; - sticky?: 'top' | 'bottom'; - onToggle?: (expanded: boolean) => void; - onSelect?: SelectCallback; - collapseOnSelect?: boolean; - expanded?: boolean; - role?: string; -} -declare type Navbar = BsPrefixRefForwardingComponent<'nav', NavbarProps> & { - Brand: typeof NavbarBrand; - Collapse: typeof NavbarCollapse; - Text: typeof NavbarText; - Toggle: typeof NavbarToggle; -}; -declare const Navbar: Navbar; -export default Navbar; diff --git a/node_modules/react-bootstrap/cjs/Navbar.js b/node_modules/react-bootstrap/cjs/Navbar.js deleted file mode 100644 index 9ddb8048b6ea6c7e81d43369a99ae9af03a06e33..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Navbar.js +++ /dev/null @@ -1,110 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireWildcard(require("react")); - -var _uncontrollable = require("uncontrollable"); - -var _createWithBsPrefix = _interopRequireDefault(require("./createWithBsPrefix")); - -var _NavbarBrand = _interopRequireDefault(require("./NavbarBrand")); - -var _NavbarCollapse = _interopRequireDefault(require("./NavbarCollapse")); - -var _NavbarToggle = _interopRequireDefault(require("./NavbarToggle")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _NavbarContext = _interopRequireDefault(require("./NavbarContext")); - -var _SelectableContext = _interopRequireDefault(require("./SelectableContext")); - -var NavbarText = (0, _createWithBsPrefix.default)('navbar-text', { - Component: 'span' -}); -var defaultProps = { - expand: true, - variant: 'light', - collapseOnSelect: false -}; - -var Navbar = _react.default.forwardRef(function (props, ref) { - var _useUncontrolled = (0, _uncontrollable.useUncontrolled)(props, { - expanded: 'onToggle' - }), - initialBsPrefix = _useUncontrolled.bsPrefix, - expand = _useUncontrolled.expand, - variant = _useUncontrolled.variant, - bg = _useUncontrolled.bg, - fixed = _useUncontrolled.fixed, - sticky = _useUncontrolled.sticky, - className = _useUncontrolled.className, - children = _useUncontrolled.children, - _useUncontrolled$as = _useUncontrolled.as, - Component = _useUncontrolled$as === void 0 ? 'nav' : _useUncontrolled$as, - expanded = _useUncontrolled.expanded, - _onToggle = _useUncontrolled.onToggle, - onSelect = _useUncontrolled.onSelect, - collapseOnSelect = _useUncontrolled.collapseOnSelect, - controlledProps = (0, _objectWithoutPropertiesLoose2.default)(_useUncontrolled, ["bsPrefix", "expand", "variant", "bg", "fixed", "sticky", "className", "children", "as", "expanded", "onToggle", "onSelect", "collapseOnSelect"]); - - var bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(initialBsPrefix, 'navbar'); - var handleCollapse = (0, _react.useCallback)(function () { - if (onSelect) onSelect.apply(void 0, arguments); - - if (collapseOnSelect && expanded) { - if (_onToggle) { - _onToggle(false); - } - } - }, [onSelect, collapseOnSelect, expanded, _onToggle]); // will result in some false positives but that seems better - // than false negatives. strict `undefined` check allows explicit - // "nulling" of the role if the user really doesn't want one - - if (controlledProps.role === undefined && Component !== 'nav') { - controlledProps.role = 'navigation'; - } - - var expandClass = bsPrefix + "-expand"; - if (typeof expand === 'string') expandClass = expandClass + "-" + expand; - var navbarContext = (0, _react.useMemo)(function () { - return { - onToggle: function onToggle() { - return _onToggle && _onToggle(!expanded); - }, - bsPrefix: bsPrefix, - expanded: !!expanded - }; - }, [bsPrefix, expanded, _onToggle]); - return /*#__PURE__*/_react.default.createElement(_NavbarContext.default.Provider, { - value: navbarContext - }, /*#__PURE__*/_react.default.createElement(_SelectableContext.default.Provider, { - value: handleCollapse - }, /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: ref - }, controlledProps, { - className: (0, _classnames.default)(className, bsPrefix, expand && expandClass, variant && bsPrefix + "-" + variant, bg && "bg-" + bg, sticky && "sticky-" + sticky, fixed && "fixed-" + fixed) - }), children))); -}); - -Navbar.defaultProps = defaultProps; -Navbar.displayName = 'Navbar'; -Navbar.Brand = _NavbarBrand.default; -Navbar.Toggle = _NavbarToggle.default; -Navbar.Collapse = _NavbarCollapse.default; -Navbar.Text = NavbarText; -var _default = Navbar; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/NavbarBrand.d.ts b/node_modules/react-bootstrap/cjs/NavbarBrand.d.ts deleted file mode 100644 index 3cb687f429cbdd332d78b6e88c75998b72d5dc4e..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/NavbarBrand.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers'; -export interface NavbarBrandProps extends BsPrefixProps { - href?: string; -} -declare type NavbarBrand = BsPrefixRefForwardingComponent<'a', NavbarBrandProps>; -declare const NavbarBrand: NavbarBrand; -export default NavbarBrand; diff --git a/node_modules/react-bootstrap/cjs/NavbarBrand.js b/node_modules/react-bootstrap/cjs/NavbarBrand.js deleted file mode 100644 index 86b76a8111d2f08399b784c73d0a7925173e1e9a..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/NavbarBrand.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var NavbarBrand = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - as = _ref.as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "as"]); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'navbar-brand'); - var Component = as || (props.href ? 'a' : 'span'); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, props, { - ref: ref, - className: (0, _classnames.default)(className, bsPrefix) - })); -}); - -NavbarBrand.displayName = 'NavbarBrand'; -var _default = NavbarBrand; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/NavbarCollapse.d.ts b/node_modules/react-bootstrap/cjs/NavbarCollapse.d.ts deleted file mode 100644 index c8934b5b8a1be6f7479def40d27575d58981b313..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/NavbarCollapse.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import React from 'react'; -import { CollapseProps } from './Collapse'; -import { BsPrefixProps } from './helpers'; -export interface NavbarCollapseProps extends Omit, React.HTMLAttributes, BsPrefixProps { -} -declare const NavbarCollapse: React.ForwardRefExoticComponent>; -export default NavbarCollapse; diff --git a/node_modules/react-bootstrap/cjs/NavbarCollapse.js b/node_modules/react-bootstrap/cjs/NavbarCollapse.js deleted file mode 100644 index 4d24332549473d3278f8556ab804dd54198b8d16..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/NavbarCollapse.js +++ /dev/null @@ -1,38 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _react = _interopRequireDefault(require("react")); - -var _Collapse = _interopRequireDefault(require("./Collapse")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _NavbarContext = _interopRequireDefault(require("./NavbarContext")); - -var NavbarCollapse = _react.default.forwardRef(function (_ref, ref) { - var children = _ref.children, - bsPrefix = _ref.bsPrefix, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["children", "bsPrefix"]); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'navbar-collapse'); - return /*#__PURE__*/_react.default.createElement(_NavbarContext.default.Consumer, null, function (context) { - return /*#__PURE__*/_react.default.createElement(_Collapse.default, (0, _extends2.default)({ - in: !!(context && context.expanded) - }, props), /*#__PURE__*/_react.default.createElement("div", { - ref: ref, - className: bsPrefix - }, children)); - }); -}); - -NavbarCollapse.displayName = 'NavbarCollapse'; -var _default = NavbarCollapse; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/NavbarContext.d.ts b/node_modules/react-bootstrap/cjs/NavbarContext.d.ts deleted file mode 100644 index 6e55d6d6ea53878f1de22f96c213f9b671cea387..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/NavbarContext.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import React from 'react'; -export interface NavbarContextType { - onToggle: () => void; - bsPrefix?: string; - expanded: boolean; -} -declare const context: React.Context; -export default context; diff --git a/node_modules/react-bootstrap/cjs/NavbarContext.js b/node_modules/react-bootstrap/cjs/NavbarContext.js deleted file mode 100644 index 798a85871f5cba4f401e6fd70ac94283e6de76ae..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/NavbarContext.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _react = _interopRequireDefault(require("react")); - -var context = _react.default.createContext(null); - -context.displayName = 'NavbarContext'; -var _default = context; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/NavbarToggle.d.ts b/node_modules/react-bootstrap/cjs/NavbarToggle.d.ts deleted file mode 100644 index cc53072962bc67078157c7e0529422ee0aa6c6ab..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/NavbarToggle.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import React from 'react'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export interface NavbarToggleProps extends BsPrefixPropsWithChildren { - label?: string; - onClick?: React.MouseEventHandler; -} -declare type NavbarToggle = BsPrefixRefForwardingComponent<'button', NavbarToggleProps>; -declare const NavbarToggle: NavbarToggle; -export default NavbarToggle; diff --git a/node_modules/react-bootstrap/cjs/NavbarToggle.js b/node_modules/react-bootstrap/cjs/NavbarToggle.js deleted file mode 100644 index 7fbfae8780f82cb29571b3fde640be06c3107d76..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/NavbarToggle.js +++ /dev/null @@ -1,66 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireWildcard(require("react")); - -var _useEventCallback = _interopRequireDefault(require("@restart/hooks/useEventCallback")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _NavbarContext = _interopRequireDefault(require("./NavbarContext")); - -var defaultProps = { - label: 'Toggle navigation' -}; - -var NavbarToggle = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - children = _ref.children, - label = _ref.label, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'button' : _ref$as, - onClick = _ref.onClick, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "children", "label", "as", "onClick"]); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'navbar-toggler'); - - var _ref2 = (0, _react.useContext)(_NavbarContext.default) || {}, - onToggle = _ref2.onToggle, - expanded = _ref2.expanded; - - var handleClick = (0, _useEventCallback.default)(function (e) { - if (onClick) onClick(e); - if (onToggle) onToggle(); - }); - - if (Component === 'button') { - props.type = 'button'; - } - - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, props, { - ref: ref, - onClick: handleClick, - "aria-label": label, - className: (0, _classnames.default)(className, bsPrefix, !expanded && 'collapsed') - }), children || /*#__PURE__*/_react.default.createElement("span", { - className: bsPrefix + "-icon" - })); -}); - -NavbarToggle.displayName = 'NavbarToggle'; -NavbarToggle.defaultProps = defaultProps; -var _default = NavbarToggle; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Overlay.d.ts b/node_modules/react-bootstrap/cjs/Overlay.d.ts deleted file mode 100644 index f47ad90a4866670f2e60e5216fe925143ee8fa73..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Overlay.d.ts +++ /dev/null @@ -1,106 +0,0 @@ -import React from 'react'; -import PropTypes from 'prop-types'; -import { OverlayProps as BaseOverlayProps } from 'react-overlays/Overlay'; -import { TransitionType } from './helpers'; -export declare type Placement = import('react-overlays/usePopper').Placement; -export declare type ArrowProps = { - ref: React.RefCallback; - style: React.CSSProperties; -}; -export interface OverlayInjectedProps { - ref: React.RefCallback; - style: React.CSSProperties; - 'aria-labelledby'?: string; - arrowProps: ArrowProps; - show: boolean; - placement: Placement; - popper: { - state: any; - outOfBoundaries: boolean; - placement: Placement; - scheduleUpdate: () => void; - }; - [prop: string]: any; -} -export declare type OverlayChildren = React.ReactElement | ((injected: OverlayInjectedProps) => React.ReactNode); -export interface OverlayProps extends Omit { - children: OverlayChildren; - transition?: TransitionType; - placement?: Placement; -} -declare function Overlay({ children: overlay, transition, popperConfig, ...outerProps }: OverlayProps): JSX.Element; -declare namespace Overlay { - var propTypes: { - /** - * A component instance, DOM node, or function that returns either. - * The `container` element will have the Overlay appended to it via a React portal. - */ - container: PropTypes.Requireable; - /** - * A component instance, DOM node, or function that returns either. - * The overlay will be positioned in relation to the `target` - */ - target: PropTypes.Requireable; - /** - * Set the visibility of the Overlay - */ - show: PropTypes.Requireable; - /** - * A set of popper options and props passed directly to Popper. - */ - popperConfig: PropTypes.Requireable; - /** - * Specify whether the overlay should trigger onHide when the user clicks outside the overlay - */ - rootClose: PropTypes.Requireable; - /** - * Specify event for triggering a "root close" toggle. - */ - rootCloseEvent: PropTypes.Requireable; - /** - * A callback invoked by the overlay when it wishes to be hidden. Required if - * `rootClose` is specified. - */ - onHide: PropTypes.Requireable<(...args: any[]) => any>; - /** - * Animate the entering and exiting of the Overlay. `true` will use the `` transition, - * or a custom react-transition-group `` component can be provided. - */ - transition: PropTypes.Requireable; - /** - * Callback fired before the Overlay transitions in - */ - onEnter: PropTypes.Requireable<(...args: any[]) => any>; - /** - * Callback fired as the Overlay begins to transition in - */ - onEntering: PropTypes.Requireable<(...args: any[]) => any>; - /** - * Callback fired after the Overlay finishes transitioning in - */ - onEntered: PropTypes.Requireable<(...args: any[]) => any>; - /** - * Callback fired right before the Overlay transitions out - */ - onExit: PropTypes.Requireable<(...args: any[]) => any>; - /** - * Callback fired as the Overlay begins to transition out - */ - onExiting: PropTypes.Requireable<(...args: any[]) => any>; - /** - * Callback fired after the Overlay finishes transitioning out - */ - onExited: PropTypes.Requireable<(...args: any[]) => any>; - /** - * The placement of the Overlay in relation to it's `target`. - */ - placement: PropTypes.Requireable; - }; - var defaultProps: { - transition: React.ForwardRefExoticComponent>>; - rootClose: boolean; - show: boolean; - placement: string; - }; -} -export default Overlay; diff --git a/node_modules/react-bootstrap/cjs/Overlay.js b/node_modules/react-bootstrap/cjs/Overlay.js deleted file mode 100644 index 9f3299ad85dbc1ceb693ef7b580ee36df8a6b9f1..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Overlay.js +++ /dev/null @@ -1,102 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _react = _interopRequireWildcard(require("react")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _Overlay = _interopRequireDefault(require("react-overlays/Overlay")); - -var _safeFindDOMNode = _interopRequireDefault(require("react-overlays/safeFindDOMNode")); - -var _usePopperMarginModifiers = _interopRequireDefault(require("./usePopperMarginModifiers")); - -var _Fade = _interopRequireDefault(require("./Fade")); - -var defaultProps = { - transition: _Fade.default, - rootClose: false, - show: false, - placement: 'top' -}; - -function wrapRefs(props, arrowProps) { - var ref = props.ref; - var aRef = arrowProps.ref; - - props.ref = ref.__wrapped || (ref.__wrapped = function (r) { - return ref((0, _safeFindDOMNode.default)(r)); - }); - - arrowProps.ref = aRef.__wrapped || (aRef.__wrapped = function (r) { - return aRef((0, _safeFindDOMNode.default)(r)); - }); -} - -function Overlay(_ref) { - var overlay = _ref.children, - transition = _ref.transition, - _ref$popperConfig = _ref.popperConfig, - popperConfig = _ref$popperConfig === void 0 ? {} : _ref$popperConfig, - outerProps = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["children", "transition", "popperConfig"]); - var popperRef = (0, _react.useRef)({}); - - var _usePopperMarginModif = (0, _usePopperMarginModifiers.default)(), - ref = _usePopperMarginModif[0], - marginModifiers = _usePopperMarginModif[1]; - - var actualTransition = transition === true ? _Fade.default : transition || null; - return /*#__PURE__*/_react.default.createElement(_Overlay.default, (0, _extends2.default)({}, outerProps, { - ref: ref, - popperConfig: (0, _extends2.default)({}, popperConfig, { - modifiers: marginModifiers.concat(popperConfig.modifiers || []) - }), - transition: actualTransition - }), function (_ref2) { - var _state$modifiersData$; - - var overlayProps = _ref2.props, - arrowProps = _ref2.arrowProps, - show = _ref2.show, - update = _ref2.update, - _ = _ref2.forceUpdate, - placement = _ref2.placement, - state = _ref2.state, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref2, ["props", "arrowProps", "show", "update", "forceUpdate", "placement", "state"]); - wrapRefs(overlayProps, arrowProps); - var popper = Object.assign(popperRef.current, { - state: state, - scheduleUpdate: update, - placement: placement, - outOfBoundaries: (state == null ? void 0 : (_state$modifiersData$ = state.modifiersData.hide) == null ? void 0 : _state$modifiersData$.isReferenceHidden) || false - }); - if (typeof overlay === 'function') return overlay((0, _extends2.default)({}, props, {}, overlayProps, { - placement: placement, - show: show, - popper: popper, - arrowProps: arrowProps - })); - return _react.default.cloneElement(overlay, (0, _extends2.default)({}, props, {}, overlayProps, { - placement: placement, - arrowProps: arrowProps, - popper: popper, - className: (0, _classnames.default)(overlay.props.className, !transition && show && 'show'), - style: (0, _extends2.default)({}, overlay.props.style, {}, overlayProps.style) - })); - }); -} - -Overlay.defaultProps = defaultProps; -var _default = Overlay; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/OverlayTrigger.d.ts b/node_modules/react-bootstrap/cjs/OverlayTrigger.d.ts deleted file mode 100644 index 95868c6178fece27668836245617f302a5554783..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/OverlayTrigger.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import PropTypes from 'prop-types'; -import React from 'react'; -import { OverlayChildren, OverlayProps } from './Overlay'; -export declare type OverlayTriggerType = 'hover' | 'click' | 'focus'; -export declare type OverlayDelay = number | { - show: number; - hide: number; -}; -export declare type OverlayInjectedProps = { - onFocus?: (...args: any[]) => any; -}; -export declare type OverlayTriggerRenderProps = OverlayInjectedProps & { - ref: React.Ref; -}; -export interface OverlayTriggerProps extends Omit { - children: React.ReactElement | ((props: OverlayTriggerRenderProps) => React.ReactNode); - trigger?: OverlayTriggerType | OverlayTriggerType[]; - delay?: OverlayDelay; - show?: boolean; - defaultShow?: boolean; - onToggle?: (nextShow: boolean) => void; - flip?: boolean; - overlay: OverlayChildren; - target?: never; - onHide?: never; -} -declare function OverlayTrigger({ trigger, overlay, children, popperConfig, show: propsShow, defaultShow, onToggle, delay: propsDelay, placement, flip, ...props }: OverlayTriggerProps): JSX.Element; -declare namespace OverlayTrigger { - var propTypes: { - children: PropTypes.Validator<((...args: any[]) => any) | PropTypes.ReactElementLike>; - /** - * Specify which action or actions trigger Overlay visibility - * - * @type {'hover' | 'click' |'focus' | Array<'hover' | 'click' |'focus'>} - */ - trigger: PropTypes.Requireable; - /** - * A millisecond delay amount to show and hide the Overlay once triggered - */ - delay: PropTypes.Requireable; - hide: PropTypes.Requireable; - }>>; - /** - * The visibility of the Overlay. `show` is a _controlled_ prop so should be paired - * with `onToggle` to avoid breaking user interactions. - * - * Manually toggling `show` does **not** wait for `delay` to change the visibility. - * - * @controllable onToggle - */ - show: PropTypes.Requireable; - /** - * The initial visibility state of the Overlay. - */ - defaultShow: PropTypes.Requireable; - /** - * A callback that fires when the user triggers a change in tooltip visibility. - * - * `onToggle` is called with the desired next `show`, and generally should be passed - * back to the `show` prop. `onToggle` fires _after_ the configured `delay` - * - * @controllable `show` - */ - onToggle: PropTypes.Requireable<(...args: any[]) => any>; - /** - The initial flip state of the Overlay. - */ - flip: PropTypes.Requireable; - /** - * An element or text to overlay next to the target. - */ - overlay: PropTypes.Requireable<((...args: any[]) => any) | PropTypes.ReactElementLike>; - /** - * A Popper.js config object passed to the the underlying popper instance. - */ - popperConfig: PropTypes.Requireable; - /** - * @private - */ - target: PropTypes.Requireable; - /** - * @private - */ - onHide: PropTypes.Requireable; - /** - * The placement of the Overlay in relation to it's `target`. - */ - placement: PropTypes.Requireable; - }; - var defaultProps: { - defaultShow: boolean; - trigger: string[]; - }; -} -export default OverlayTrigger; diff --git a/node_modules/react-bootstrap/cjs/OverlayTrigger.js b/node_modules/react-bootstrap/cjs/OverlayTrigger.js deleted file mode 100644 index 097bf5ae7fe6c269eeb37aeb1a145d646e5a8714..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/OverlayTrigger.js +++ /dev/null @@ -1,202 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose")); - -var _contains = _interopRequireDefault(require("dom-helpers/contains")); - -var _react = _interopRequireWildcard(require("react")); - -var _useTimeout = _interopRequireDefault(require("@restart/hooks/useTimeout")); - -var _safeFindDOMNode = _interopRequireDefault(require("react-overlays/safeFindDOMNode")); - -var _warning = _interopRequireDefault(require("warning")); - -var _uncontrollable = require("uncontrollable"); - -var _Overlay = _interopRequireDefault(require("./Overlay")); - -var RefHolder = /*#__PURE__*/function (_React$Component) { - (0, _inheritsLoose2.default)(RefHolder, _React$Component); - - function RefHolder() { - return _React$Component.apply(this, arguments) || this; - } - - var _proto = RefHolder.prototype; - - _proto.render = function render() { - return this.props.children; - }; - - return RefHolder; -}(_react.default.Component); - -function normalizeDelay(delay) { - return delay && typeof delay === 'object' ? delay : { - show: delay, - hide: delay - }; -} // Simple implementation of mouseEnter and mouseLeave. -// React's built version is broken: https://github.com/facebook/react/issues/4251 -// for cases when the trigger is disabled and mouseOut/Over can cause flicker -// moving from one child element to another. - - -function handleMouseOverOut(handler, args, relatedNative) { - var e = args[0]; - var target = e.currentTarget; - var related = e.relatedTarget || e.nativeEvent[relatedNative]; - - if ((!related || related !== target) && !(0, _contains.default)(target, related)) { - handler.apply(void 0, args); - } -} - -var defaultProps = { - defaultShow: false, - trigger: ['hover', 'focus'] -}; - -function OverlayTrigger(_ref) { - var trigger = _ref.trigger, - overlay = _ref.overlay, - children = _ref.children, - _ref$popperConfig = _ref.popperConfig, - popperConfig = _ref$popperConfig === void 0 ? {} : _ref$popperConfig, - propsShow = _ref.show, - _ref$defaultShow = _ref.defaultShow, - defaultShow = _ref$defaultShow === void 0 ? false : _ref$defaultShow, - onToggle = _ref.onToggle, - propsDelay = _ref.delay, - placement = _ref.placement, - _ref$flip = _ref.flip, - flip = _ref$flip === void 0 ? placement && placement.indexOf('auto') !== -1 : _ref$flip, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["trigger", "overlay", "children", "popperConfig", "show", "defaultShow", "onToggle", "delay", "placement", "flip"]); - var triggerNodeRef = (0, _react.useRef)(null); - var timeout = (0, _useTimeout.default)(); - var hoverStateRef = (0, _react.useRef)(''); - - var _useUncontrolledProp = (0, _uncontrollable.useUncontrolledProp)(propsShow, defaultShow, onToggle), - show = _useUncontrolledProp[0], - setShow = _useUncontrolledProp[1]; - - var delay = normalizeDelay(propsDelay); - - var _ref2 = typeof children !== 'function' ? _react.default.Children.only(children).props : {}, - onFocus = _ref2.onFocus, - onBlur = _ref2.onBlur, - onClick = _ref2.onClick; - - var getTarget = (0, _react.useCallback)(function () { - return (0, _safeFindDOMNode.default)(triggerNodeRef.current); - }, []); - var handleShow = (0, _react.useCallback)(function () { - timeout.clear(); - hoverStateRef.current = 'show'; - - if (!delay.show) { - setShow(true); - return; - } - - timeout.set(function () { - if (hoverStateRef.current === 'show') setShow(true); - }, delay.show); - }, [delay.show, setShow, timeout]); - var handleHide = (0, _react.useCallback)(function () { - timeout.clear(); - hoverStateRef.current = 'hide'; - - if (!delay.hide) { - setShow(false); - return; - } - - timeout.set(function () { - if (hoverStateRef.current === 'hide') setShow(false); - }, delay.hide); - }, [delay.hide, setShow, timeout]); - var handleFocus = (0, _react.useCallback)(function () { - handleShow(); - - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - onFocus == null ? void 0 : onFocus.apply(void 0, args); - }, [handleShow, onFocus]); - var handleBlur = (0, _react.useCallback)(function () { - handleHide(); - - for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { - args[_key2] = arguments[_key2]; - } - - onBlur == null ? void 0 : onBlur.apply(void 0, args); - }, [handleHide, onBlur]); - var handleClick = (0, _react.useCallback)(function () { - setShow(!show); - if (onClick) onClick.apply(void 0, arguments); - }, [onClick, setShow, show]); - var handleMouseOver = (0, _react.useCallback)(function () { - for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { - args[_key3] = arguments[_key3]; - } - - handleMouseOverOut(handleShow, args, 'fromElement'); - }, [handleShow]); - var handleMouseOut = (0, _react.useCallback)(function () { - for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) { - args[_key4] = arguments[_key4]; - } - - handleMouseOverOut(handleHide, args, 'toElement'); - }, [handleHide]); - var triggers = trigger == null ? [] : [].concat(trigger); - var triggerProps = {}; - - if (triggers.indexOf('click') !== -1) { - triggerProps.onClick = handleClick; - } - - if (triggers.indexOf('focus') !== -1) { - triggerProps.onFocus = handleFocus; - triggerProps.onBlur = handleBlur; - } - - if (triggers.indexOf('hover') !== -1) { - process.env.NODE_ENV !== "production" ? (0, _warning.default)(triggers.length > 1, '[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.') : void 0; - triggerProps.onMouseOver = handleMouseOver; - triggerProps.onMouseOut = handleMouseOut; - } - - return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, typeof children === 'function' ? children((0, _extends2.default)({}, triggerProps, { - ref: triggerNodeRef - })) : /*#__PURE__*/_react.default.createElement(RefHolder, { - ref: triggerNodeRef - }, (0, _react.cloneElement)(children, triggerProps)), /*#__PURE__*/_react.default.createElement(_Overlay.default, (0, _extends2.default)({}, props, { - show: show, - onHide: handleHide, - flip: flip, - placement: placement, - popperConfig: popperConfig, - target: getTarget - }), overlay)); -} - -OverlayTrigger.defaultProps = defaultProps; -var _default = OverlayTrigger; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/PageItem.d.ts b/node_modules/react-bootstrap/cjs/PageItem.d.ts deleted file mode 100644 index 4efdf0be27dc5453bf67df2fa4813efbb8b378ba..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/PageItem.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import React from 'react'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export interface PageItemProps extends React.HTMLAttributes, BsPrefixPropsWithChildren { - disabled?: boolean; - active?: boolean; - activeLabel?: string; - href?: string; -} -declare type PageItem = BsPrefixRefForwardingComponent<'li', PageItemProps>; -declare const PageItem: PageItem; -export default PageItem; -export declare const First: { - ({ children, ...props }: PageItemProps): JSX.Element; - displayName: string; -}; -export declare const Prev: { - ({ children, ...props }: PageItemProps): JSX.Element; - displayName: string; -}; -export declare const Ellipsis: { - ({ children, ...props }: PageItemProps): JSX.Element; - displayName: string; -}; -export declare const Next: { - ({ children, ...props }: PageItemProps): JSX.Element; - displayName: string; -}; -export declare const Last: { - ({ children, ...props }: PageItemProps): JSX.Element; - displayName: string; -}; diff --git a/node_modules/react-bootstrap/cjs/PageItem.js b/node_modules/react-bootstrap/cjs/PageItem.js deleted file mode 100644 index e53cffd5a198f647a93866fd05a345237a401e7c..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/PageItem.js +++ /dev/null @@ -1,82 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.Last = exports.Next = exports.Ellipsis = exports.Prev = exports.First = exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _SafeAnchor = _interopRequireDefault(require("./SafeAnchor")); - -/* eslint-disable react/no-multi-comp */ -var defaultProps = { - active: false, - disabled: false, - activeLabel: '(current)' -}; - -var PageItem = _react.default.forwardRef(function (_ref, ref) { - var active = _ref.active, - disabled = _ref.disabled, - className = _ref.className, - style = _ref.style, - activeLabel = _ref.activeLabel, - children = _ref.children, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["active", "disabled", "className", "style", "activeLabel", "children"]); - var Component = active || disabled ? 'span' : _SafeAnchor.default; - return /*#__PURE__*/_react.default.createElement("li", { - ref: ref, - style: style, - className: (0, _classnames.default)(className, 'page-item', { - active: active, - disabled: disabled - }) - }, /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - className: "page-link", - disabled: disabled - }, props), children, active && activeLabel && /*#__PURE__*/_react.default.createElement("span", { - className: "sr-only" - }, activeLabel))); -}); - -PageItem.defaultProps = defaultProps; -PageItem.displayName = 'PageItem'; -var _default = PageItem; -exports.default = _default; - -function createButton(name, defaultValue, label) { - if (label === void 0) { - label = name; - } - - function Button(_ref2) { - var children = _ref2.children, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref2, ["children"]); - return /*#__PURE__*/_react.default.createElement(PageItem, props, /*#__PURE__*/_react.default.createElement("span", { - "aria-hidden": "true" - }, children || defaultValue), /*#__PURE__*/_react.default.createElement("span", { - className: "sr-only" - }, label)); - } - - Button.displayName = name; - return Button; -} - -var First = createButton('First', '«'); -exports.First = First; -var Prev = createButton('Prev', '‹', 'Previous'); -exports.Prev = Prev; -var Ellipsis = createButton('Ellipsis', '…', 'More'); -exports.Ellipsis = Ellipsis; -var Next = createButton('Next', '›'); -exports.Next = Next; -var Last = createButton('Last', '»'); -exports.Last = Last; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Pagination.d.ts b/node_modules/react-bootstrap/cjs/Pagination.d.ts deleted file mode 100644 index b3cbbd23c40b1d003ae01f86d103fb0b9f3d4171..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Pagination.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import PageItem, { Ellipsis, First, Last, Next, Prev } from './PageItem'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export interface PaginationProps extends BsPrefixPropsWithChildren { - size?: 'sm' | 'lg'; -} -declare type Pagination = BsPrefixRefForwardingComponent<'ul', PaginationProps> & { - First: typeof First; - Prev: typeof Prev; - Ellipsis: typeof Ellipsis; - Item: typeof PageItem; - Next: typeof Next; - Last: typeof Last; -}; -/** - * @property {PageItem} Item - * @property {PageItem} First - * @property {PageItem} Prev - * @property {PageItem} Ellipsis - * @property {PageItem} Next - * @property {PageItem} Last - */ -declare const Pagination: Pagination; -export default Pagination; diff --git a/node_modules/react-bootstrap/cjs/Pagination.js b/node_modules/react-bootstrap/cjs/Pagination.js deleted file mode 100644 index cabd915624a58441485a11e5520696367e8e6035..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Pagination.js +++ /dev/null @@ -1,52 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _PageItem = _interopRequireWildcard(require("./PageItem")); - -/** - * @property {PageItem} Item - * @property {PageItem} First - * @property {PageItem} Prev - * @property {PageItem} Ellipsis - * @property {PageItem} Next - * @property {PageItem} Last - */ -var Pagination = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - children = _ref.children, - size = _ref.size, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "children", "size"]); - var decoratedBsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'pagination'); - return /*#__PURE__*/_react.default.createElement("ul", (0, _extends2.default)({ - ref: ref - }, props, { - className: (0, _classnames.default)(className, decoratedBsPrefix, size && decoratedBsPrefix + "-" + size) - }), children); -}); - -Pagination.First = _PageItem.First; -Pagination.Prev = _PageItem.Prev; -Pagination.Ellipsis = _PageItem.Ellipsis; -Pagination.Item = _PageItem.default; -Pagination.Next = _PageItem.Next; -Pagination.Last = _PageItem.Last; -var _default = Pagination; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Popover.d.ts b/node_modules/react-bootstrap/cjs/Popover.d.ts deleted file mode 100644 index 2e858d5240d5262fade511eaa6e8d78cbb19c0db..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Popover.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import React from 'react'; -import PopoverTitle from './PopoverTitle'; -import PopoverContent from './PopoverContent'; -import { ArrowProps, Placement } from './Overlay'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export interface PopoverProps extends React.ComponentPropsWithoutRef<'div'>, BsPrefixPropsWithChildren { - id: string; - placement?: Placement; - title?: string; - arrowProps?: ArrowProps; - content?: boolean; - popper?: any; - show?: boolean; -} -declare type Popover = BsPrefixRefForwardingComponent<'div', PopoverProps> & { - Title: typeof PopoverTitle; - Content: typeof PopoverContent; -}; -declare const Popover: Popover; -export default Popover; diff --git a/node_modules/react-bootstrap/cjs/Popover.js b/node_modules/react-bootstrap/cjs/Popover.js deleted file mode 100644 index 39651d3c0f882c29cb5a62aafb0d773c399c268d..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Popover.js +++ /dev/null @@ -1,60 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _isRequiredForA11y = _interopRequireDefault(require("prop-types-extra/lib/isRequiredForA11y")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _PopoverTitle = _interopRequireDefault(require("./PopoverTitle")); - -var _PopoverContent = _interopRequireDefault(require("./PopoverContent")); - -var defaultProps = { - placement: 'right' -}; - -var Popover = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - placement = _ref.placement, - className = _ref.className, - style = _ref.style, - children = _ref.children, - content = _ref.content, - arrowProps = _ref.arrowProps, - _ = _ref.popper, - _1 = _ref.show, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "placement", "className", "style", "children", "content", "arrowProps", "popper", "show"]); - var decoratedBsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'popover'); - - var _ref2 = (placement == null ? void 0 : placement.split('-')) || [], - primaryPlacement = _ref2[0]; - - return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({ - ref: ref, - role: "tooltip", - style: style, - "x-placement": primaryPlacement, - className: (0, _classnames.default)(className, decoratedBsPrefix, primaryPlacement && "bs-popover-" + primaryPlacement) - }, props), /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({ - className: "arrow" - }, arrowProps)), content ? /*#__PURE__*/_react.default.createElement(_PopoverContent.default, null, children) : children); -}); - -Popover.defaultProps = defaultProps; -Popover.Title = _PopoverTitle.default; -Popover.Content = _PopoverContent.default; -var _default = Popover; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/PopoverContent.d.ts b/node_modules/react-bootstrap/cjs/PopoverContent.d.ts deleted file mode 100644 index 3b65962e321108bf1de4b2d7f9f9e18745c5818d..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/PopoverContent.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -declare type PopoverContentProps = BsPrefixPropsWithChildren; -declare type PopoverContent = BsPrefixRefForwardingComponent<'div', PopoverContentProps>; -declare const PopoverContent: PopoverContent; -export default PopoverContent; diff --git a/node_modules/react-bootstrap/cjs/PopoverContent.js b/node_modules/react-bootstrap/cjs/PopoverContent.js deleted file mode 100644 index 7d7ed946bd42b10862d5f2b24038c0f03f3e1ff3..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/PopoverContent.js +++ /dev/null @@ -1,35 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var PopoverContent = _react.default.forwardRef(function (_ref, ref) { - var _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - bsPrefix = _ref.bsPrefix, - className = _ref.className, - children = _ref.children, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["as", "bsPrefix", "className", "children"]); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'popover-body'); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: ref - }, props, { - className: (0, _classnames.default)(className, bsPrefix) - }), children); -}); - -var _default = PopoverContent; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/PopoverTitle.d.ts b/node_modules/react-bootstrap/cjs/PopoverTitle.d.ts deleted file mode 100644 index 15aa77c703175a9ca4514e354aa759733a262f3e..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/PopoverTitle.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -declare type PopoverTitleProps = BsPrefixPropsWithChildren; -declare type PopoverTitle = BsPrefixRefForwardingComponent<'div', PopoverTitleProps>; -declare const PopoverTitle: PopoverTitle; -export default PopoverTitle; diff --git a/node_modules/react-bootstrap/cjs/PopoverTitle.js b/node_modules/react-bootstrap/cjs/PopoverTitle.js deleted file mode 100644 index 9aff88d8167eaa2e422bbe4b30407b9ec03f8a1c..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/PopoverTitle.js +++ /dev/null @@ -1,35 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var PopoverTitle = _react.default.forwardRef(function (_ref, ref) { - var _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - bsPrefix = _ref.bsPrefix, - className = _ref.className, - children = _ref.children, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["as", "bsPrefix", "className", "children"]); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'popover-header'); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: ref - }, props, { - className: (0, _classnames.default)(bsPrefix, className) - }), children); -}); - -var _default = PopoverTitle; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/ProgressBar.d.ts b/node_modules/react-bootstrap/cjs/ProgressBar.d.ts deleted file mode 100644 index da57703e5357604404d896cd4e2af1e8f7db005a..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ProgressBar.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import React from 'react'; -import { BsPrefixPropsWithChildren } from './helpers'; -export interface ProgressBarProps extends React.HTMLAttributes, BsPrefixPropsWithChildren { - min?: number; - now?: number; - max?: number; - label?: React.ReactNode; - srOnly?: boolean; - striped?: boolean; - animated?: boolean; - variant?: 'success' | 'danger' | 'warning' | 'info' | string; - isChild?: boolean; -} -declare const ProgressBar: React.ForwardRefExoticComponent>; -export default ProgressBar; diff --git a/node_modules/react-bootstrap/cjs/ProgressBar.js b/node_modules/react-bootstrap/cjs/ProgressBar.js deleted file mode 100644 index 26c4bd6c2d68967efce16a860a141b1791f7e211..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ProgressBar.js +++ /dev/null @@ -1,150 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireWildcard(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _ElementChildren = require("./ElementChildren"); - -var ROUND_PRECISION = 1000; -/** - * Validate that children, if any, are instances of ``. - */ - -function onlyProgressBar(props, propName, componentName) { - var children = props[propName]; - - if (!children) { - return null; - } - - var error = null; - - _react.default.Children.forEach(children, function (child) { - if (error) { - return; - } - /** - * Compare types in a way that works with libraries that patch and proxy - * components like react-hot-loader. - * - * see https://github.com/gaearon/react-hot-loader#checking-element-types - */ - - - var element = /*#__PURE__*/_react.default.createElement(ProgressBar, null); - - if (child.type === element.type) return; - var childType = child.type; - var childIdentifier = _react.default.isValidElement(child) ? childType.displayName || childType.name || childType : child; - error = new Error("Children of " + componentName + " can contain only ProgressBar " + ("components. Found " + childIdentifier + ".")); - }); - - return error; -} - -var defaultProps = { - min: 0, - max: 100, - animated: false, - isChild: false, - srOnly: false, - striped: false -}; - -function getPercentage(now, min, max) { - var percentage = (now - min) / (max - min) * 100; - return Math.round(percentage * ROUND_PRECISION) / ROUND_PRECISION; -} - -function renderProgressBar(_ref, ref) { - var _classNames; - - var min = _ref.min, - now = _ref.now, - max = _ref.max, - label = _ref.label, - srOnly = _ref.srOnly, - striped = _ref.striped, - animated = _ref.animated, - className = _ref.className, - style = _ref.style, - variant = _ref.variant, - bsPrefix = _ref.bsPrefix, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["min", "now", "max", "label", "srOnly", "striped", "animated", "className", "style", "variant", "bsPrefix"]); - return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({ - ref: ref - }, props, { - role: "progressbar", - className: (0, _classnames.default)(className, bsPrefix + "-bar", (_classNames = {}, _classNames["bg-" + variant] = variant, _classNames[bsPrefix + "-bar-animated"] = animated, _classNames[bsPrefix + "-bar-striped"] = animated || striped, _classNames)), - style: (0, _extends2.default)({ - width: getPercentage(now, min, max) + "%" - }, style), - "aria-valuenow": now, - "aria-valuemin": min, - "aria-valuemax": max - }), srOnly ? /*#__PURE__*/_react.default.createElement("span", { - className: "sr-only" - }, label) : label); -} - -var ProgressBar = _react.default.forwardRef(function (_ref2, ref) { - var isChild = _ref2.isChild, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref2, ["isChild"]); - props.bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(props.bsPrefix, 'progress'); - - if (isChild) { - return renderProgressBar(props, ref); - } - - var min = props.min, - now = props.now, - max = props.max, - label = props.label, - srOnly = props.srOnly, - striped = props.striped, - animated = props.animated, - bsPrefix = props.bsPrefix, - variant = props.variant, - className = props.className, - children = props.children, - wrapperProps = (0, _objectWithoutPropertiesLoose2.default)(props, ["min", "now", "max", "label", "srOnly", "striped", "animated", "bsPrefix", "variant", "className", "children"]); - return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({ - ref: ref - }, wrapperProps, { - className: (0, _classnames.default)(className, bsPrefix) - }), children ? (0, _ElementChildren.map)(children, function (child) { - return (0, _react.cloneElement)(child, { - isChild: true - }); - }) : renderProgressBar({ - min: min, - now: now, - max: max, - label: label, - srOnly: srOnly, - striped: striped, - animated: animated, - bsPrefix: bsPrefix, - variant: variant - }, ref)); -}); - -ProgressBar.displayName = 'ProgressBar'; -ProgressBar.defaultProps = defaultProps; -var _default = ProgressBar; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/ResponsiveEmbed.d.ts b/node_modules/react-bootstrap/cjs/ResponsiveEmbed.d.ts deleted file mode 100644 index 07328d7718a85b67a3f32ead78da53680561b2dc..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ResponsiveEmbed.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import React from 'react'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export interface ResponsiveEmbedProps extends BsPrefixPropsWithChildren { - children: React.ReactChild; - aspectRatio?: '21by9' | '16by9' | '4by3' | '1by1'; -} -declare type ResponsiveEmbed = BsPrefixRefForwardingComponent<'div', ResponsiveEmbedProps>; -declare const ResponsiveEmbed: ResponsiveEmbed; -export default ResponsiveEmbed; diff --git a/node_modules/react-bootstrap/cjs/ResponsiveEmbed.js b/node_modules/react-bootstrap/cjs/ResponsiveEmbed.js deleted file mode 100644 index 56b9cb35402c2cff6c420950d997dc43287c7ce9..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/ResponsiveEmbed.js +++ /dev/null @@ -1,44 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var defaultProps = { - aspectRatio: '1by1' -}; - -var ResponsiveEmbed = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - children = _ref.children, - aspectRatio = _ref.aspectRatio, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "children", "aspectRatio"]); - var decoratedBsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'embed-responsive'); - - var child = _react.default.Children.only(children); - - return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({ - ref: ref - }, props, { - className: (0, _classnames.default)(decoratedBsPrefix, className, aspectRatio && decoratedBsPrefix + "-" + aspectRatio) - }), _react.default.cloneElement(child, { - className: (0, _classnames.default)(child.props.className, decoratedBsPrefix + "-item") - })); -}); - -ResponsiveEmbed.defaultProps = defaultProps; -var _default = ResponsiveEmbed; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Row.d.ts b/node_modules/react-bootstrap/cjs/Row.d.ts deleted file mode 100644 index aba3be154aff127c0f09634003a45292652b59a0..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Row.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -declare type RowColWidth = number | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12'; -declare type RowColumns = RowColWidth | { - cols?: RowColWidth; -}; -export interface RowProps extends BsPrefixPropsWithChildren { - noGutters?: boolean; - xs?: RowColumns; - sm?: RowColumns; - md?: RowColumns; - lg?: RowColumns; - xl?: RowColumns; -} -declare type Row = BsPrefixRefForwardingComponent<'div', RowProps>; -declare const Row: Row; -export default Row; diff --git a/node_modules/react-bootstrap/cjs/Row.js b/node_modules/react-bootstrap/cjs/Row.js deleted file mode 100644 index 6cf57226692fe94cfdccdd7e94a95de38381492f..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Row.js +++ /dev/null @@ -1,58 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var DEVICE_SIZES = ['xl', 'lg', 'md', 'sm', 'xs']; -var defaultProps = { - noGutters: false -}; - -var Row = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - className = _ref.className, - noGutters = _ref.noGutters, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "className", "noGutters", "as"]); - var decoratedBsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'row'); - var sizePrefix = decoratedBsPrefix + "-cols"; - var classes = []; - DEVICE_SIZES.forEach(function (brkPoint) { - var propValue = props[brkPoint]; - delete props[brkPoint]; - var cols; - - if (propValue != null && typeof propValue === 'object') { - cols = propValue.cols; - } else { - cols = propValue; - } - - var infix = brkPoint !== 'xs' ? "-" + brkPoint : ''; - if (cols != null) classes.push("" + sizePrefix + infix + "-" + cols); - }); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: ref - }, props, { - className: _classnames.default.apply(void 0, [className, decoratedBsPrefix, noGutters && 'no-gutters'].concat(classes)) - })); -}); - -Row.displayName = 'Row'; -Row.defaultProps = defaultProps; -var _default = Row; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/SafeAnchor.d.ts b/node_modules/react-bootstrap/cjs/SafeAnchor.d.ts deleted file mode 100644 index e798223e8d44206b66a2f50eabf58871c1b03f55..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/SafeAnchor.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import React from 'react'; -import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers'; -export interface SafeAnchorProps extends React.HTMLAttributes, BsPrefixProps { - href?: string; - disabled?: boolean; - role?: string; - tabIndex?: number; -} -declare type SafeAnchor = BsPrefixRefForwardingComponent<'a', SafeAnchorProps>; -/** - * There are situations due to browser quirks or Bootstrap CSS where - * an anchor tag is needed, when semantically a button tag is the - * better choice. SafeAnchor ensures that when an anchor is used like a - * button its accessible. It also emulates input `disabled` behavior for - * links, which is usually desirable for Buttons, NavItems, DropdownItems, etc. - */ -declare const SafeAnchor: SafeAnchor; -export default SafeAnchor; diff --git a/node_modules/react-bootstrap/cjs/SafeAnchor.js b/node_modules/react-bootstrap/cjs/SafeAnchor.js deleted file mode 100644 index c175693d87ace187b2e339a0ad2bd19c934d0588..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/SafeAnchor.js +++ /dev/null @@ -1,83 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _react = _interopRequireDefault(require("react")); - -var _createChainedFunction = _interopRequireDefault(require("./createChainedFunction")); - -function isTrivialHref(href) { - return !href || href.trim() === '#'; -} -/** - * There are situations due to browser quirks or Bootstrap CSS where - * an anchor tag is needed, when semantically a button tag is the - * better choice. SafeAnchor ensures that when an anchor is used like a - * button its accessible. It also emulates input `disabled` behavior for - * links, which is usually desirable for Buttons, NavItems, DropdownItems, etc. - */ - - -var SafeAnchor = _react.default.forwardRef(function (_ref, ref) { - var _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'a' : _ref$as, - disabled = _ref.disabled, - onKeyDown = _ref.onKeyDown, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["as", "disabled", "onKeyDown"]); - - var handleClick = function handleClick(event) { - var href = props.href, - onClick = props.onClick; - - if (disabled || isTrivialHref(href)) { - event.preventDefault(); - } - - if (disabled) { - event.stopPropagation(); - return; - } - - if (onClick) { - onClick(event); - } - }; - - var handleKeyDown = function handleKeyDown(event) { - if (event.key === ' ') { - event.preventDefault(); - handleClick(event); - } - }; - - if (isTrivialHref(props.href)) { - props.role = props.role || 'button'; // we want to make sure there is a href attribute on the node - // otherwise, the cursor incorrectly styled (except with role='button') - - props.href = props.href || '#'; - } - - if (disabled) { - props.tabIndex = -1; - props['aria-disabled'] = true; - } - - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: ref - }, props, { - onClick: handleClick, - onKeyDown: (0, _createChainedFunction.default)(handleKeyDown, onKeyDown) - })); -}); - -SafeAnchor.displayName = 'SafeAnchor'; -var _default = SafeAnchor; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/SelectableContext.d.ts b/node_modules/react-bootstrap/cjs/SelectableContext.d.ts deleted file mode 100644 index 64bcc938983a029aad0b6345f59deb22615cab46..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/SelectableContext.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import React from 'react'; -declare type SelectableContextType = (key: string | null, event: any) => void; -declare const SelectableContext: React.Context; -export declare const makeEventKey: (eventKey: string | null, href?: string | null) => string | null; -export default SelectableContext; diff --git a/node_modules/react-bootstrap/cjs/SelectableContext.js b/node_modules/react-bootstrap/cjs/SelectableContext.js deleted file mode 100644 index 8c251eccb5d78f820f0a69149e1e54def95eafc9..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/SelectableContext.js +++ /dev/null @@ -1,23 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = exports.makeEventKey = void 0; - -var _react = _interopRequireDefault(require("react")); - -var SelectableContext = _react.default.createContext(null); - -var makeEventKey = function makeEventKey(eventKey, href) { - if (href === void 0) { - href = null; - } - - if (eventKey != null) return String(eventKey); - return href || null; -}; - -exports.makeEventKey = makeEventKey; -var _default = SelectableContext; -exports.default = _default; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Spinner.d.ts b/node_modules/react-bootstrap/cjs/Spinner.d.ts deleted file mode 100644 index cecd93cb23ff536ea4eee3c1ea429fb848c269ca..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Spinner.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react'; -import { BsPrefixPropsWithChildren } from './helpers'; -import { Variant } from './types'; -export interface SpinnerProps extends React.HTMLAttributes, BsPrefixPropsWithChildren { - animation: 'border' | 'grow'; - role?: string; - size?: 'sm'; - variant?: Variant; -} -declare const Spinner: React.ForwardRefExoticComponent>; -export default Spinner; diff --git a/node_modules/react-bootstrap/cjs/Spinner.js b/node_modules/react-bootstrap/cjs/Spinner.js deleted file mode 100644 index e33576fa75445969b1f99ec27c1946a10752493a..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Spinner.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var Spinner = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - variant = _ref.variant, - animation = _ref.animation, - size = _ref.size, - children = _ref.children, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - className = _ref.className, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "variant", "animation", "size", "children", "as", "className"]); - bsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'spinner'); - var bsSpinnerPrefix = bsPrefix + "-" + animation; - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: ref - }, props, { - className: (0, _classnames.default)(className, bsSpinnerPrefix, size && bsSpinnerPrefix + "-" + size, variant && "text-" + variant) - }), children); -}); - -Spinner.displayName = 'Spinner'; -var _default = Spinner; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/SplitButton.d.ts b/node_modules/react-bootstrap/cjs/SplitButton.d.ts deleted file mode 100644 index 3ef2a5dc5518448d8ecd07c68601f7ebb76bcbb8..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/SplitButton.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import React from 'react'; -import { ButtonType } from './Button'; -import { AlignType } from './DropdownMenu'; -import { PropsFromToggle } from './DropdownToggle'; -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -export interface SplitButtonProps extends PropsFromToggle, BsPrefixPropsWithChildren { - id: string | number; - menuAlign?: AlignType; - menuRole?: string; - onClick?: React.MouseEventHandler; - renderMenuOnMount?: boolean; - rootCloseEvent?: 'click' | 'mousedown'; - target?: string; - title: React.ReactNode; - toggleLabel?: string; - type?: ButtonType; -} -declare type SplitButton = BsPrefixRefForwardingComponent<'div', SplitButtonProps>; -declare const SplitButton: SplitButton; -export default SplitButton; diff --git a/node_modules/react-bootstrap/cjs/SplitButton.js b/node_modules/react-bootstrap/cjs/SplitButton.js deleted file mode 100644 index c98c28b2a2a466c655227c4d933995d33d173f1e..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/SplitButton.js +++ /dev/null @@ -1,143 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _react = _interopRequireDefault(require("react")); - -var _propTypes = _interopRequireDefault(require("prop-types")); - -var _Button = _interopRequireDefault(require("./Button")); - -var _ButtonGroup = _interopRequireDefault(require("./ButtonGroup")); - -var _Dropdown = _interopRequireDefault(require("./Dropdown")); - -var _DropdownMenu = require("./DropdownMenu"); - -var propTypes = { - /** - * An html id attribute for the Toggle button, necessary for assistive technologies, such as screen readers. - * @type {string|number} - * @required - */ - id: _propTypes.default.any, - - /** - * Accessible label for the toggle; the value of `title` if not specified. - */ - toggleLabel: _propTypes.default.string, - - /** An `href` passed to the non-toggle Button */ - href: _propTypes.default.string, - - /** An anchor `target` passed to the non-toggle Button */ - target: _propTypes.default.string, - - /** An `onClick` handler passed to the non-toggle Button */ - onClick: _propTypes.default.func, - - /** The content of the non-toggle Button. */ - title: _propTypes.default.node.isRequired, - - /** A `type` passed to the non-toggle Button */ - type: _propTypes.default.string, - - /** Disables both Buttons */ - disabled: _propTypes.default.bool, - - /** - * Aligns the dropdown menu responsively. - * - * _see [DropdownMenu](#dropdown-menu-props) for more details_ - * - * @type {"left"|"right"|{ sm: "left"|"right" }|{ md: "left"|"right" }|{ lg: "left"|"right" }|{ xl: "left"|"right"} } - */ - menuAlign: _DropdownMenu.alignPropType, - - /** An ARIA accessible role applied to the Menu component. When set to 'menu', The dropdown */ - menuRole: _propTypes.default.string, - - /** Whether to render the dropdown menu in the DOM before the first time it is shown */ - renderMenuOnMount: _propTypes.default.bool, - - /** - * Which event when fired outside the component will cause it to be closed. - * - * _see [DropdownMenu](#dropdown-menu-props) for more details_ - */ - rootCloseEvent: _propTypes.default.string, - - /** @ignore */ - bsPrefix: _propTypes.default.string, - - /** @ignore */ - variant: _propTypes.default.string, - - /** @ignore */ - size: _propTypes.default.string -}; -var defaultProps = { - toggleLabel: 'Toggle dropdown', - type: 'button' -}; - -var SplitButton = _react.default.forwardRef(function (_ref, ref) { - var id = _ref.id, - bsPrefix = _ref.bsPrefix, - size = _ref.size, - variant = _ref.variant, - title = _ref.title, - type = _ref.type, - toggleLabel = _ref.toggleLabel, - children = _ref.children, - onClick = _ref.onClick, - href = _ref.href, - target = _ref.target, - menuAlign = _ref.menuAlign, - menuRole = _ref.menuRole, - renderMenuOnMount = _ref.renderMenuOnMount, - rootCloseEvent = _ref.rootCloseEvent, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["id", "bsPrefix", "size", "variant", "title", "type", "toggleLabel", "children", "onClick", "href", "target", "menuAlign", "menuRole", "renderMenuOnMount", "rootCloseEvent"]); - return /*#__PURE__*/_react.default.createElement(_Dropdown.default, (0, _extends2.default)({ - ref: ref - }, props, { - as: _ButtonGroup.default - }), /*#__PURE__*/_react.default.createElement(_Button.default, { - size: size, - variant: variant, - disabled: props.disabled, - bsPrefix: bsPrefix, - href: href, - target: target, - onClick: onClick, - type: type - }, title), /*#__PURE__*/_react.default.createElement(_Dropdown.default.Toggle, { - split: true, - id: id ? id.toString() : undefined, - size: size, - variant: variant, - disabled: props.disabled, - childBsPrefix: bsPrefix - }, /*#__PURE__*/_react.default.createElement("span", { - className: "sr-only" - }, toggleLabel)), /*#__PURE__*/_react.default.createElement(_Dropdown.default.Menu, { - align: menuAlign, - role: menuRole, - renderOnMount: renderMenuOnMount, - rootCloseEvent: rootCloseEvent - }, children)); -}); - -SplitButton.propTypes = propTypes; -SplitButton.defaultProps = defaultProps; -SplitButton.displayName = 'SplitButton'; -var _default = SplitButton; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Switch.d.ts b/node_modules/react-bootstrap/cjs/Switch.d.ts deleted file mode 100644 index 7ccf725f1b44fb1a562688ed244170c8574b59a4..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Switch.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import FormCheck, { FormCheckProps } from './FormCheck'; -import { BsPrefixRefForwardingComponent } from './helpers'; -declare type SwitchProps = Omit; -declare type Switch = BsPrefixRefForwardingComponent & { - Input: typeof FormCheck.Input; - Label: typeof FormCheck.Label; -}; -declare const Switch: Switch; -export default Switch; diff --git a/node_modules/react-bootstrap/cjs/Switch.js b/node_modules/react-bootstrap/cjs/Switch.js deleted file mode 100644 index cbd4ac24b444102d55dbc1256ac3dc98dc7c287e..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Switch.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _react = _interopRequireDefault(require("react")); - -var _FormCheck = _interopRequireDefault(require("./FormCheck")); - -var Switch = _react.default.forwardRef(function (props, ref) { - return /*#__PURE__*/_react.default.createElement(_FormCheck.default, (0, _extends2.default)({}, props, { - ref: ref, - type: "switch" - })); -}); - -Switch.displayName = 'Switch'; -Switch.Input = _FormCheck.default.Input; -Switch.Label = _FormCheck.default.Label; -var _default = Switch; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/Tab.d.ts b/node_modules/react-bootstrap/cjs/Tab.d.ts deleted file mode 100644 index 7772eec256d94094cee2ab2c50c3ea41a768aee6..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Tab.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import PropTypes from 'prop-types'; -import React from 'react'; -import TabContent from './TabContent'; -import TabPane from './TabPane'; -export interface TabProps extends React.ComponentPropsWithRef { - eventKey?: string; - title: React.ReactNode; - disabled?: boolean; - tabClassName?: string; -} -declare class Tab extends React.Component { - static propTypes: { - title: PropTypes.Validator; - }; - static Container: { - (props: import("./TabContainer").TabContainerProps): JSX.Element; - propTypes: { - id: PropTypes.Validator; - transition: PropTypes.Requireable any) | (new (props: any, context?: any) => any)>; - mountOnEnter: PropTypes.Requireable; - unmountOnExit: PropTypes.Requireable; - generateChildId: PropTypes.Requireable<(...args: any[]) => any>; - onSelect: PropTypes.Requireable<(...args: any[]) => any>; - activeKey: PropTypes.Requireable; - }; - }; - static Content: TabContent; - static Pane: TabPane; - render(): null; -} -export default Tab; diff --git a/node_modules/react-bootstrap/cjs/Tab.js b/node_modules/react-bootstrap/cjs/Tab.js deleted file mode 100644 index 6e4f95ff8610c6f5747748e8e736701fbfb8106c..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/Tab.js +++ /dev/null @@ -1,41 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose")); - -var _react = _interopRequireDefault(require("react")); - -var _TabContainer = _interopRequireDefault(require("./TabContainer")); - -var _TabContent = _interopRequireDefault(require("./TabContent")); - -var _TabPane = _interopRequireDefault(require("./TabPane")); - -/* eslint-disable react/require-render-return, react/no-unused-prop-types */ -var Tab = /*#__PURE__*/function (_React$Component) { - (0, _inheritsLoose2.default)(Tab, _React$Component); - - function Tab() { - return _React$Component.apply(this, arguments) || this; - } - - var _proto = Tab.prototype; - - _proto.render = function render() { - throw new Error('ReactBootstrap: The `Tab` component is not meant to be rendered! ' + "It's an abstract component that is only valid as a direct Child of the `Tabs` Component. " + 'For custom tabs components use TabPane and TabsContainer directly'); - return null; - }; - - return Tab; -}(_react.default.Component); - -Tab.Container = _TabContainer.default; -Tab.Content = _TabContent.default; -Tab.Pane = _TabPane.default; -var _default = Tab; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/TabContainer.d.ts b/node_modules/react-bootstrap/cjs/TabContainer.d.ts deleted file mode 100644 index 389f01b21b2f72102cfc4a58c4ee98caf34f1fc6..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/TabContainer.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -import React from 'react'; -import PropTypes from 'prop-types'; -import { SelectCallback, TransitionType } from './helpers'; -export interface TabContainerProps extends React.PropsWithChildren { - id?: string; - transition?: TransitionType; - mountOnEnter?: boolean; - unmountOnExit?: boolean; - generateChildId?: (eventKey: unknown, type: 'tab' | 'pane') => string; - onSelect?: SelectCallback; - activeKey?: unknown; - defaultActiveKey?: unknown; -} -declare const TabContainer: { - (props: TabContainerProps): JSX.Element; - propTypes: { - /** - * HTML id attribute, required if no `generateChildId` prop - * is specified. - * - * @type {string} - */ - id: PropTypes.Validator; - /** - * Sets a default animation strategy for all children ``s. - * Defaults to `` animation; else, use `false` to disable, or a - * custom react-transition-group `` component. - * - * @type {{Transition | false}} - * @default {Fade} - */ - transition: PropTypes.Requireable any) | (new (props: any, context?: any) => any)>; - /** - * Wait until the first "enter" transition to mount tabs (add them to the DOM) - */ - mountOnEnter: PropTypes.Requireable; - /** - * Unmount tabs (remove it from the DOM) when they are no longer visible - */ - unmountOnExit: PropTypes.Requireable; - /** - * A function that takes an `eventKey` and `type` and returns a unique id for - * child tab ``s and ``s. The function _must_ be a pure - * function, meaning it should always return the _same_ id for the same set - * of inputs. The default value requires that an `id` to be set for the - * ``. - * - * The `type` argument will either be `"tab"` or `"pane"`. - * - * @defaultValue (eventKey, type) => `${props.id}-${type}-${eventKey}` - */ - generateChildId: PropTypes.Requireable<(...args: any[]) => any>; - /** - * A callback fired when a tab is selected. - * - * @controllable activeKey - */ - onSelect: PropTypes.Requireable<(...args: any[]) => any>; - /** - * The `eventKey` of the currently active tab. - * - * @controllable onSelect - */ - activeKey: PropTypes.Requireable; - }; -}; -export default TabContainer; diff --git a/node_modules/react-bootstrap/cjs/TabContainer.js b/node_modules/react-bootstrap/cjs/TabContainer.js deleted file mode 100644 index 1bcb681094932cdb81a15a7d0dc96f30ac76e476..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/TabContainer.js +++ /dev/null @@ -1,60 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -exports.__esModule = true; -exports.default = void 0; - -var _react = _interopRequireWildcard(require("react")); - -var _uncontrollable = require("uncontrollable"); - -var _TabContext = _interopRequireDefault(require("./TabContext")); - -var _SelectableContext = _interopRequireDefault(require("./SelectableContext")); - -var TabContainer = function TabContainer(props) { - var _useUncontrolled = (0, _uncontrollable.useUncontrolled)(props, { - activeKey: 'onSelect' - }), - id = _useUncontrolled.id, - generateCustomChildId = _useUncontrolled.generateChildId, - onSelect = _useUncontrolled.onSelect, - activeKey = _useUncontrolled.activeKey, - transition = _useUncontrolled.transition, - mountOnEnter = _useUncontrolled.mountOnEnter, - unmountOnExit = _useUncontrolled.unmountOnExit, - children = _useUncontrolled.children; - - var generateChildId = (0, _react.useMemo)(function () { - return generateCustomChildId || function (key, type) { - return id ? id + "-" + type + "-" + key : null; - }; - }, [id, generateCustomChildId]); - var tabContext = (0, _react.useMemo)(function () { - return { - onSelect: onSelect, - activeKey: activeKey, - transition: transition, - mountOnEnter: mountOnEnter || false, - unmountOnExit: unmountOnExit || false, - getControlledId: function getControlledId(key) { - return generateChildId(key, 'tabpane'); - }, - getControllerId: function getControllerId(key) { - return generateChildId(key, 'tab'); - } - }; - }, [onSelect, activeKey, transition, mountOnEnter, unmountOnExit, generateChildId]); - return /*#__PURE__*/_react.default.createElement(_TabContext.default.Provider, { - value: tabContext - }, /*#__PURE__*/_react.default.createElement(_SelectableContext.default.Provider, { - value: onSelect || null - }, children)); -}; - -var _default = TabContainer; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/TabContent.d.ts b/node_modules/react-bootstrap/cjs/TabContent.d.ts deleted file mode 100644 index 3e8be8d3ef04d4356989704e53b1e0182eace43e..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/TabContent.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; -declare type TabContentProps = BsPrefixPropsWithChildren; -declare type TabContent = BsPrefixRefForwardingComponent<'div', TabContentProps>; -declare const TabContent: TabContent; -export default TabContent; diff --git a/node_modules/react-bootstrap/cjs/TabContent.js b/node_modules/react-bootstrap/cjs/TabContent.js deleted file mode 100644 index db5b765fdb8de3932ce0ab8934a13c95ee9f7800..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/TabContent.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireDefault(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var TabContent = _react.default.forwardRef(function (_ref, ref) { - var bsPrefix = _ref.bsPrefix, - _ref$as = _ref.as, - Component = _ref$as === void 0 ? 'div' : _ref$as, - className = _ref.className, - props = (0, _objectWithoutPropertiesLoose2.default)(_ref, ["bsPrefix", "as", "className"]); - var decoratedBsPrefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'tab-content'); - return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({ - ref: ref - }, props, { - className: (0, _classnames.default)(className, decoratedBsPrefix) - })); -}); - -var _default = TabContent; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/TabContext.d.ts b/node_modules/react-bootstrap/cjs/TabContext.d.ts deleted file mode 100644 index 7cdbfe36ac97d57536357162a82f47ad128269c3..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/TabContext.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import React from 'react'; -export interface TabContextType { - onSelect: any; - activeKey: any; - transition: any; - mountOnEnter: boolean; - unmountOnExit: boolean; - getControlledId: (key: any) => any; - getControllerId: (key: any) => any; -} -declare const TabContext: React.Context; -export default TabContext; diff --git a/node_modules/react-bootstrap/cjs/TabContext.js b/node_modules/react-bootstrap/cjs/TabContext.js deleted file mode 100644 index e7a50f9099f7e275e33ad8f55dc6da5ed793864d..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/TabContext.js +++ /dev/null @@ -1,14 +0,0 @@ -"use strict"; - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _react = _interopRequireDefault(require("react")); - -var TabContext = _react.default.createContext(null); - -var _default = TabContext; -exports.default = _default; -module.exports = exports["default"]; \ No newline at end of file diff --git a/node_modules/react-bootstrap/cjs/TabPane.d.ts b/node_modules/react-bootstrap/cjs/TabPane.d.ts deleted file mode 100644 index 3a8b1a13c6b44ac33004cb63fd8c95dcd167adb3..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/TabPane.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { BsPrefixProps, BsPrefixRefForwardingComponent, TransitionCallbacks, TransitionType } from './helpers'; -export interface TabPaneProps extends TransitionCallbacks, BsPrefixProps { - eventKey?: any; - active?: boolean; - transition?: TransitionType; - mountOnEnter?: boolean; - unmountOnExit?: boolean; -} -declare type TabPane = BsPrefixRefForwardingComponent<'div', TabPaneProps>; -declare const TabPane: TabPane; -export default TabPane; diff --git a/node_modules/react-bootstrap/cjs/TabPane.js b/node_modules/react-bootstrap/cjs/TabPane.js deleted file mode 100644 index 26cc4db4ec6ded8966a9bfd19f0872e66adfad12..0000000000000000000000000000000000000000 --- a/node_modules/react-bootstrap/cjs/TabPane.js +++ /dev/null @@ -1,99 +0,0 @@ -"use strict"; - -var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); - -var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); - -exports.__esModule = true; -exports.default = void 0; - -var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); - -var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); - -var _classnames = _interopRequireDefault(require("classnames")); - -var _react = _interopRequireWildcard(require("react")); - -var _ThemeProvider = require("./ThemeProvider"); - -var _TabContext = _interopRequireDefault(require("./TabContext")); - -var _SelectableContext = _interopRequireWildcard(require("./SelectableContext")); - -var _Fade = _interopRequireDefault(require("./Fade")); - -function useTabContext(props) { - var context = (0, _react.useContext)(_TabContext.default); - if (!context) return props; - var activeKey = context.activeKey, - getControlledId = context.getControlledId, - getControllerId = context.getControllerId, - rest = (0, _objectWithoutPropertiesLoose2.default)(context, ["activeKey", "getControlledId", "getControllerId"]); - var shouldTransition = props.transition !== false && rest.transition !== false; - var key = (0, _SelectableContext.makeEventKey)(props.eventKey); - return (0, _extends2.default)({}, props, { - active: props.active == null && key != null ? (0, _SelectableContext.makeEventKey)(activeKey) === key : props.active, - id: getControlledId(props.eventKey), - 'aria-labelledby': getControllerId(props.eventKey), - transition: shouldTransition && (props.transition || rest.transition || _Fade.default), - mountOnEnter: props.mountOnEnter != null ? props.mountOnEnter : rest.mountOnEnter, - unmountOnExit: props.unmountOnExit != null ? props.unmountOnExit : rest.unmountOnExit - }); -} - -var TabPane = _react.default.forwardRef(function (props, ref) { - var _useTabContext = useTabContext(props), - bsPrefix = _useTabContext.bsPrefix, - className = _useTabContext.className, - active = _useTabContext.active, - onEnter = _useTabContext.onEnter, - onEntering = _useTabContext.onEntering, - onEntered = _useTabContext.onEntered, - onExit = _useTabContext.onExit, - onExiting = _useTabContext.onExiting, - onExited = _useTabContext.onExited, - mountOnEnter = _useTabContext.mountOnEnter, - unmountOnExit = _useTabContext.unmountOnExit, - Transition = _useTabContext.transition, - _useTabContext$as = _useTabContext.as, - Component = _useTabContext$as === void 0 ? 'div' : _useTabContext$as, - _ = _useTabContext.eventKey, - rest = (0, _objectWithoutPropertiesLoose2.default)(_useTabContext, ["bsPrefix", "className", "active", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "mountOnEnter", "unmountOnExit", "transition", "as", "eventKey"]); - - var prefix = (0, _ThemeProvider.useBootstrapPrefix)(bsPrefix, 'tab-pane'); - if (!active && !Transition && unmountOnExit) return null; - - var pane = /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({}, rest, { - ref: ref, - role: "tabpanel", - "aria-hidden": !active, - className: (0, _classnames.default)(className, prefix, { - active: active - }) - })); - - if (Transition) pane = /*#__PURE__*/_react.default.createElement(Transition, { - in: active, - onEnter: onEnter, - onEntering: onEntering, - onEntered: onEntered, - onExit: onExit, - onExiting: onExiting, - onExited: onExited, - mountOnEnter: mountOnEnter, - unmountOnExit: unmountOnExit - }, pane); // We provide an empty the TabContext so `